:root {
    --bb-green: #00a950;
    --bb-orange: #ff9d2d;
    --bb-ink: #121d32;
    --bb-muted: #6d7685;
    --bb-line: #e5e9ee;
    --bb-soft: #f5f7f9;
}

.babybites-theme {
    margin: 0;
    color: var(--bb-ink);
    background: #fff;
    font-family: "Nunito Sans", sans-serif;
    padding-bottom: 0;
}

.babybites-theme #phpdebugbar,
.babybites-theme .phpdebugbar { display: none !important; }

.babybites-theme:lang(bn) {
    font-family: "Hind Siliguri", "Nunito Sans", sans-serif;
}

.babybites-theme :where(a) { color: inherit; text-decoration: none; }
.bb-container { width: min(1210px, calc(100% - 40px)); margin: 0 auto; }

.bb-topbar {
    height: 39px;
    background: #f3f5f7;
    font-size: 13px;
}

.bb-topbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bb-topbar-inner div { display: flex; gap: 34px; }
.bb-topbar a:hover { color: var(--bb-green); }

.bb-header { background: #fff; }
.bb-main-head {
    min-height: 108px;
    display: grid;
    grid-template-columns: 190px minmax(260px, 1fr) auto auto auto;
    gap: 30px;
    align-items: center;
    position: relative;
}

.bb-logo img { width: 185px; height: 72px; object-fit: contain; object-position: left center; }

.bb-search {
    height: 47px;
    display: flex;
    border: 1px solid #d9dee5;
    border-radius: 5px;
    position: relative;
    background: #fafbfc;
}

.bb-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 16px;
    color: var(--bb-ink);
}

.bb-search button {
    width: 50px;
    border: 0;
    border-left: 1px solid #d9dee5;
    background: transparent;
    font-size: 19px;
    color: var(--bb-ink);
}

.bb-head-info {
    display: flex;
    gap: 13px;
    align-items: center;
    min-width: 155px;
}

.bb-head-info > i { color: var(--bb-orange); font-size: 25px; }
.bb-head-info:nth-of-type(3) > i { color: var(--bb-green); }
.bb-head-info span { display: flex; flex-direction: column; color: #617083; font-size: 14px; line-height: 1.35; }
.bb-head-info strong { color: var(--bb-ink); font-size: 15px; }

.bb-cart-button {
    min-width: 102px;
    height: 49px;
    border: 0;
    border-radius: 6px;
    background: var(--bb-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 14px;
}

.bb-cart-button > i { font-size: 23px; }
.bb-cart-button span { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; font-size: 15px; line-height: 1; }
.bb-cart-button strong { border-radius: 50%; background: #69be28; width: 19px; height: 19px; display: grid; place-items: center; font-size: 11px; }
.bb-cart-button small { grid-column: 1 / -1; margin-top: 5px; }

.bb-language {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 18px;
    margin-left: 4px;
    border-left: 1px solid #d7dbe1;
    color: inherit;
}

.bb-language img { width: 16px; }

.bb-nav { border-top: 1px solid #f1f2f4; border-bottom: 1px solid #eceff1; }
.bb-nav .bb-container { height: 49px; display: flex; }
.bb-nav a {
    min-width: 185px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    border-left: 1px solid var(--bb-line);
}
.bb-nav a:last-child { border-right: 1px solid var(--bb-line); }
.bb-nav a:hover { color: var(--bb-green); }
.bb-nav a.active { color: #ff9e36; }

.bb-nav-dropdown { position: relative; }
.bb-nav-trigger { min-width: 185px; }
.bb-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 120;
    display: none;
    min-width: 560px;
    background: #fff;
    border: 1px solid var(--bb-line);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 18px 36px rgba(18,29,50,.14);
}
.bb-nav-dropdown:hover .bb-mega-menu,
.bb-nav-dropdown.is-open .bb-mega-menu { display: block; }
.bb-mega-menu-inner { display: flex; gap: 36px; padding: 28px 32px; }
.bb-mega-column { min-width: 160px; }
.bb-mega-column h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bb-orange);
    margin-bottom: 12px;
    font-weight: 800;
}
.bb-mega-column a { display: block; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--bb-ink); border: 0; min-width: 0; justify-content: flex-start; }
.bb-mega-column a:hover { color: var(--bb-green); }
.bb-mega-featured {
    width: 180px;
    border-left: 1px solid var(--bb-line);
    padding-left: 28px;
}
.bb-mega-featured > span {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bb-green);
    margin-bottom: 10px;
}
.bb-mega-featured img { width: 100%; height: 110px; object-fit: contain; background: var(--bb-soft); border-radius: 6px; }
.bb-mega-featured h5 { font-size: 14px; font-weight: 700; color: var(--bb-ink); margin: 10px 0 4px; }
.bb-mega-featured strong { color: var(--bb-orange); font-size: 15px; }

.bb-mobile-head { display: none; }

.bb-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(82%, 320px);
    background: #fff;
    z-index: 250;
    transform: translateX(-100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,.18);
}
.bb-mobile-nav.open { transform: translateX(0); }
.bb-mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--bb-line);
}
.bb-mobile-nav-head img { width: 130px; height: 40px; object-fit: contain; }
.bb-mobile-nav-close { border: 0; background: transparent; font-size: 20px; color: var(--bb-ink); padding: 4px; }
.bb-mobile-nav-links { display: flex; flex-direction: column; padding: 8px 0; overflow-y: auto; }
.bb-mobile-nav-links a { padding: 14px 20px; font-weight: 700; font-size: 16px; border-bottom: 1px solid var(--bb-line); }
.bb-mobile-nav-group { border-bottom: 1px solid var(--bb-line); }
.bb-mobile-nav-group summary { padding: 14px 20px; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; }
.bb-mobile-nav-group summary::-webkit-details-marker { display: none; }
.bb-mobile-nav-group summary::after { content: '\f107'; font-family: FontAwesome; float: right; }
.bb-mobile-nav-group[open] summary::after { content: '\f106'; }
.bb-mobile-nav-group a { padding: 10px 20px 10px 32px; font-weight: 600; font-size: 14px; border-bottom: 0; }
.bb-mobile-nav-foot { margin-top: auto; padding: 16px 20px; border-top: 1px solid var(--bb-line); display: flex; flex-direction: column; gap: 12px; }
.bb-mobile-nav-foot a { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--bb-muted); }
.bb-mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15,23,32,.45);
    z-index: 240;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
}
.bb-mobile-nav-backdrop.open { opacity: 1; visibility: visible; }

.bb-hero {
    position: relative;
    overflow: hidden;
    min-height: 690px;
    background-color: #bce891;
}

.bb-hero::before,
.bb-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    animation: bbHeroSlide 10s infinite;
}

.bb-hero::before {
    background-image: url("../../../images/storefront/babyfood/babybites-cover.png");
}

.bb-hero::after {
    background-image: url("../../../images/storefront/babyfood/hero-alt-banner.jpg");
    opacity: 0;
    animation-delay: -5s;
}

.bb-hero-content { position: relative; z-index: 1; min-height: 690px; display: flex; align-items: center; }
.bb-hero-copy { width: 46%; padding-left: 12px; }
.bb-hero h1 {
    margin: 0 0 15px;
    max-width: 620px;
    color: #162039;
    font-family: "Hind Siliguri", "Nunito Sans", sans-serif;
    font-size: clamp(42px, 4vw, 66px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.035em;
}
.bb-hero p { max-width: 590px; margin: 0 0 20px; font-size: 20px; line-height: 1.5; }
.bb-hero a,
.bb-homemade a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 27px;
    border-radius: 4px;
    background: var(--bb-green);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

@keyframes bbHeroSlide {
    0%, 42% { opacity: 1; }
    50%, 92% { opacity: 0; }
    100% { opacity: 1; }
}

.bb-age-section,
.bb-products-section,
.bb-better,
.bb-reviews { padding: 72px 0; }
.bb-products-section, .bb-reviews { background: #fbfcfd; }
.bb-section-title { text-align: center; margin-bottom: 44px; }
.bb-section-title h2 { margin: 0 0 8px; font-size: 34px; font-weight: 600; color: #111c32; }
.bb-section-title p { margin: 0; color: #718097; font-size: 16px; }

.bb-age-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.bb-age-card { text-align: center; padding: 18px 20px 8px; border-right: 1px solid var(--bb-line); }
.bb-age-card:first-child { border-left: 1px solid var(--bb-line); }
.bb-age-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; transition: transform .25s ease; }
.bb-age-card:hover img { transform: translateY(-5px); }
.bb-age-card h3 { margin: 17px 0 3px; font-size: 21px; font-weight: 700; }
.bb-age-card span { color: #68778b; }

.bb-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bb-category-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: -18px 0 34px;
    padding-bottom: 4px;
    overflow-x: auto;
}
.bb-category-tabs button {
    flex: 0 0 auto;
    border: 1px solid #dce3e8;
    border-radius: 999px;
    background: #fff;
    color: #526173;
    padding: 10px 20px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.bb-category-tabs button:hover,
.bb-category-tabs button.active { border-color: var(--bb-green); background: var(--bb-green); color: #fff; }
.bb-category-panel { display: none; }
.bb-category-panel.active { display: block; }
.bb-centered { text-align: center; margin-top: 34px; }
.bb-outline-button { display: inline-flex; padding: 12px 24px; border: 1px solid var(--bb-green); border-radius: 4px; color: var(--bb-green) !important; font-weight: 700; }

.babybites-theme .ecom-babyfood-product-card {
    border: 1px solid #e4e8ec;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(20,35,50,.05);
}
.babybites-theme .ecom-babyfood-card-media { height: 250px; background: #fff; }
.babybites-theme .ecom-babyfood-card-media img { object-fit: contain; padding: 12px; }
.babybites-theme .ecom-babyfood-card-name { min-height: 47px; font-size: 16px; }
.babybites-theme .ecom-babyfood-card-add { background: var(--bb-green); }
.babybites-theme .ecom-babyfood-card-select,
.babybites-theme .ecom-select-options {
    min-height: 42px;
    border-radius: 5px;
    background: var(--bb-green);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-weight: 800;
    text-align: center;
}

.babybites-theme .bb-variant-picker {
    grid-column: 1 / -1;
    border: 0;
    margin: 22px 0 8px;
    padding: 0;
}
.babybites-theme .bb-variant-picker legend {
    margin-bottom: 10px;
    color: #172033;
    font-size: 15px;
    font-weight: 800;
}
.babybites-theme .bb-variant-options { display: flex; flex-wrap: wrap; gap: 10px; }
.babybites-theme .bb-variant-option { position: relative; cursor: pointer; }
.babybites-theme .bb-variant-option input { position: absolute; opacity: 0; pointer-events: none; }
.babybites-theme .bb-variant-option span {
    min-width: 112px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 15px;
    border: 1.5px solid #dce3e8;
    border-radius: 7px;
    background: #fff;
    transition: .18s ease;
}
.babybites-theme .bb-variant-option small { color: #6d7886; font-size: 12px; }
.babybites-theme .bb-variant-option input:checked + span {
    border-color: var(--bb-green);
    box-shadow: 0 0 0 3px rgba(75, 174, 48, .13);
    color: var(--bb-green);
}
.babybites-theme .bb-variant-option.is-disabled { cursor: not-allowed; opacity: .45; }
.babybites-theme .bb-product-description-section { background: #f7faf5; border-top: 1px solid #e5ebdf; border-bottom: 1px solid #e5ebdf; }
.babybites-theme .bb-product-description {
    display: grid;
    grid-template-columns: minmax(190px, .32fr) minmax(0, 1fr);
    gap: 48px 70px;
    align-items: start;
}
.babybites-theme .bb-description-heading { position: sticky; top: 25px; }
.babybites-theme .bb-description-heading span {
    color: var(--bb-green);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.babybites-theme .bb-description-heading h2 { margin: 8px 0 0; font-size: 28px; line-height: 1.2; }
.babybites-theme .bb-description-copy { color: #465467; font-size: 16px; line-height: 1.8; }
.babybites-theme .bb-description-copy h2,
.babybites-theme .bb-description-copy h3 { color: #172033; margin: 22px 0 8px; }
.babybites-theme .bb-description-copy > :first-child { margin-top: 0; }
.babybites-theme .bb-specification {
    grid-column: 2;
    border-top: 1px solid #dce5d8;
    padding-top: 22px;
}

.bb-better-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.bb-better article { overflow: hidden; border: 1px solid var(--bb-line); border-radius: 8px; background: #fff; text-align: center; padding-bottom: 22px; }
.bb-better article img { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.bb-better article h3 { margin: 20px 15px 8px; font-size: 19px; }
.bb-better article p { margin: 0 20px; color: var(--bb-muted); font-size: 14px; line-height: 1.6; }

.bb-homemade { padding: 70px 0; background: #fff5e8; }
.bb-homemade-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.bb-homemade img { width: 100%; border-radius: 8px; }
.bb-homemade h2 { margin: 0 0 14px; font-size: 42px; line-height: 1.08; }
.bb-homemade p { color: var(--bb-muted); font-size: 17px; line-height: 1.7; margin-bottom: 24px; }

.bb-testimonial-carousel { position: relative; padding: 0 38px 34px; }
.bb-testimonial-viewport {
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.bb-testimonial-viewport::-webkit-scrollbar { display: none; }
.bb-testimonial-track {
    display: flex;
    gap: 24px;
}
.bb-testimonial-card {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    min-height: 300px;
    flex-direction: column;
    justify-content: flex-end;
    scroll-snap-align: start;
    padding: 20px 24px 24px;
    border: 1px solid rgba(145, 158, 171, .24);
    border-radius: 16px;
    background: #fff;
    box-shadow: 1px 3px 12px rgba(0, 0, 0, .1);
}
.bb-testimonial-rating {
    height: 24px;
    color: #ffc107;
    font-size: 19px;
    line-height: 1;
    letter-spacing: 1px;
}
.bb-testimonial-card p {
    margin: 9px 0 0;
    color: #384456;
    font-size: 14px;
    line-height: 22px;
    overflow-wrap: anywhere;
}
.bb-testimonial-card header { margin-bottom: 12px; text-align: left; }
.bb-testimonial-card strong {
    display: block;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}
.bb-testimonial-card time { display: block; color: #7a8797; font-size: 13px; }
.bb-testimonial-arrow {
    position: absolute;
    top: calc(50% - 32px);
    z-index: 2;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid #dce3e8;
    border-radius: 50%;
    background: #fff;
    color: #172033;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
    cursor: pointer;
}
.bb-testimonial-arrow:hover { border-color: var(--bb-green); color: var(--bb-green); }
.bb-testimonial-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.bb-testimonial-prev { left: -5px; }
.bb-testimonial-next { right: -5px; }
.bb-testimonial-dots {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
}
.bb-testimonial-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c8d0d8;
    cursor: pointer;
}
.bb-testimonial-dots button.active { background: var(--bb-green); }

.bb-reviews-page-head {
    padding: 49px 0 43px;
    background: #f3f4f5;
    text-align: center;
}
.bb-reviews-page-head h1 {
    margin: 0;
    color: #111c32;
    font-size: 30px;
    font-weight: 700;
}
.bb-reviews-page { padding: 50px 0 72px; background: #f3f4f5; }
.bb-reviews-page-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 22px;
    align-items: start;
}
.bb-reviews-page .bb-container,
.bb-reviews-page-grid,
.bb-reviews-page .bb-testimonial-card,
.bb-reviews-page .bb-testimonial-card p {
    max-width: 100%;
}
.bb-reviews-page .bb-testimonial-card {
    min-height: 313px;
    padding: 28px 24px;
}

.bb-footer { background: #172033; color: #c7ced8; padding-top: 55px; }
.bb-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; }
.bb-footer-logo { width: 180px; height: 70px; object-fit: contain; filter: brightness(0) invert(1); }
.bb-footer h4 { color: #fff; margin: 8px 0 18px; font-size: 17px; }
.bb-footer p { line-height: 1.7; margin: 0 0 9px; }
.bb-footer a { display: block; margin: 0 0 10px; }
.bb-footer a:hover { color: var(--bb-green); }
.bb-footer-bottom { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.12); min-height: 80px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.bb-footer-payments { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-footer-payments span {
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 5px;
    background: rgba(255,255,255,.06);
    color: #c7ced8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}
.bb-mobile-bottom { display: none; }

@media (max-width: 1100px) {
    .bb-main-head { grid-template-columns: 150px 1fr auto auto; gap: 18px; }
    .bb-logo img { width: 145px; }
    .bb-head-info:first-of-type { display: none; }
    .bb-nav a { min-width: 150px; }
    .bb-testimonial-card { flex-basis: calc((100% - 24px) / 2); }
    .bb-reviews-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .babybites-theme { padding-bottom: 58px; overflow-x: hidden; }
    .bb-container { width: calc(100% - 40px); }
    .bb-topbar, .bb-main-head, .bb-nav, .bb-footer { display: none; }
    .bb-header { height: 50px; position: relative; z-index: 10; box-shadow: 0 1px 6px rgba(0,0,0,.12); }
    .bb-mobile-head { height: 50px; display: grid; grid-template-columns: 45px 1fr 45px; align-items: center; position: relative; }
    .bb-mobile-menu { border: 0; background: transparent; font-size: 25px; text-align: left; padding: 0; }
    .bb-mobile-logo { text-align: center; }
    .bb-mobile-logo img { width: 145px; height: 45px; object-fit: contain; }
    .bb-mobile-lang { display: grid; place-items: center; padding: 8px 4px; font-size: 11px; font-weight: 700; line-height: 1.1; text-align: center; color: var(--bb-green) !important; }

    .bb-hero { min-height: 162px; }
    .bb-hero::before,
    .bb-hero::after { background-size: auto 162px; background-position: center; }
    .bb-hero-content { min-height: 162px; align-items: flex-start; }
    .bb-hero-copy { width: 62%; padding: 23px 0 0; }
    .bb-hero h1 { font-size: 18px; line-height: 1.05; margin-bottom: 8px; letter-spacing: 0; }
    .bb-hero p { font-size: 10px; line-height: 1.35; margin-bottom: 10px; }
    .bb-hero a { min-height: 37px; padding: 0 24px; font-size: 11px; }

    .bb-age-section, .bb-products-section, .bb-better, .bb-reviews { padding: 33px 0; }
    .bb-section-title { margin-bottom: 29px; }
    .bb-section-title h2 { font-size: 25px; }
    .bb-section-title p { font-size: 16px; }
    .bb-age-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .bb-age-card { padding: 0 0 8px; border: 0 !important; }
    .bb-age-card img { border-radius: 13px; }
    .bb-age-card h3 { font-size: 17px; margin-top: 13px; }

    .bb-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .bb-category-tabs { justify-content: flex-start; margin-top: -12px; }
    .babybites-theme .ecom-babyfood-card-media { height: 160px; }
    .babybites-theme .ecom-babyfood-card-body { padding: 12px; }
    .babybites-theme .ecom-babyfood-card-stepper { display: none; }
    .babybites-theme .ecom-babyfood-card-add { width: 100%; }

    .bb-better-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .bb-better article h3 { font-size: 15px; }
    .bb-better article p { display: none; }
    .bb-homemade { padding: 35px 0; }
    .bb-homemade-inner { grid-template-columns: 1fr; gap: 25px; }
    .bb-homemade h2 { font-size: 29px; }
    .bb-testimonial-carousel { padding: 0 0 32px; }
    .bb-testimonial-track { gap: 14px; }
    .bb-testimonial-card { flex-basis: 100%; min-height: 300px; padding: 20px 22px 24px; }
    .bb-testimonial-arrow { display: none; }
    .bb-reviews-page-head { padding: 34px 0 26px; }
    .bb-reviews-page { padding: 24px 0 45px; }
    .bb-reviews-page .bb-container { overflow: hidden; }
    .bb-reviews-page-grid { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .bb-reviews-page .bb-testimonial-card { min-height: 0; }
    .babybites-theme .bb-product-description { grid-template-columns: 1fr; gap: 24px; }
    .babybites-theme .bb-description-heading { position: static; }
    .babybites-theme .bb-specification { grid-column: 1; }

    .bb-mobile-bottom {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        height: 58px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-top: 1px solid #dfe3e8;
        background: #fff;
    }
    .bb-mobile-bottom a,
    .bb-mobile-bottom button {
        border: 0;
        background: transparent;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: #111c32;
        font-size: 11px;
        position: relative;
    }
    .bb-mobile-bottom i { font-size: 20px; }
    .bb-mobile-bottom .active { color: var(--bb-orange); }
    .bb-mobile-bottom b { position: absolute; top: 4px; left: calc(50% + 5px); width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: #4eb82d; color: #fff; font-size: 10px; }
}

/* BabyBites reference homepage completion */
.bb-age-section,
.bb-products-section,
.bb-choice,
.bb-better,
.bb-comparison,
.bb-homemade,
.bb-faq {
    background: #fff;
}

.bb-age-card:nth-child(n + 5) { display: none; }
.bb-age-more { margin-top: 38px; text-align: center; }
.bb-age-more a { color: #f5a137; font-size: 14px; font-weight: 600; }
.bb-age-more span { font-size: 20px; vertical-align: -1px; }

.bb-products-section {
    position: relative;
    overflow: hidden;
    padding-top: 76px;
    background-color: #fff;
    background-image: url("../../../images/storefront/babyfood/menu-bg-all.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.bb-products-section > .bb-container { position: relative; z-index: 1; }
.bb-category-tabs {
    gap: 0;
    margin-top: -8px;
    margin-bottom: 38px;
    border-bottom: 1px solid #e5e9ee;
}
.bb-category-tabs button {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 10px 14px 9px;
    background: transparent;
    color: #4c5667;
    font-size: 13px;
}
.bb-category-tabs button:hover,
.bb-category-tabs button.active {
    border-color: #f7a43b;
    background: transparent;
    color: #f7a43b;
}
.babybites-theme .ecom-babyfood-product-card { box-shadow: none; }
.babybites-theme .ecom-babyfood-card-select,
.babybites-theme .ecom-select-options,
.babybites-theme .ecom-babyfood-card-add { background: #ffb13e; }
.babybites-theme .ecom-babyfood-card-price strong { color: #ef2424; }

.bb-choice { padding: 82px 0 104px; }
.bb-choice-heading { max-width: 620px; margin: 0 auto 62px; text-align: center; }
.bb-choice-heading > span {
    display: block;
    margin-bottom: 18px;
    color: #f3a13c;
    font-size: 14px;
    font-weight: 600;
}
.bb-choice-heading h2 {
    margin: 0;
    color: #18243a;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.22;
}
.bb-choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; }
.bb-choice-grid article {
    min-height: 210px;
    padding: 30px 22px;
    border-radius: 9px;
    background: #e6f5d3;
}
.bb-choice-grid article:nth-child(even) { margin-top: 15px; background: #ffe5bd; }
.bb-choice-grid i { color: #05af62; font-size: 30px; }
.bb-choice-grid h3 { margin: 24px 0 8px; color: #19263a; font-size: 21px; font-weight: 600; }
.bb-choice-grid p { margin: 0; color: #5d6876; font-size: 14px; line-height: 1.65; }

.bb-better { padding: 70px 0 100px; }
.bb-better .bb-section-title { margin-bottom: 54px; }
.bb-better-grid { gap: 28px; }
.bb-better article {
    display: grid;
    grid-template-rows: 205px minmax(160px, auto);
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #e9f7d7;
}
.bb-better article:nth-child(even) { background: #ffe5bd; }
.bb-better article img { width: 100%; height: 205px; aspect-ratio: auto; object-fit: cover; }
.bb-better article > div { display: flex; flex-direction: column; justify-content: center; padding: 24px 20px; }
.bb-better article h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; }
.bb-better article p { margin: 0; color: #596574; font-size: 14px; line-height: 1.6; }

.bb-reviews {
    position: relative;
    overflow: hidden;
    padding: 88px 0 94px;
    background-color: #e5f5cf;
    background-image: url("../../../images/storefront/babyfood/countup-bg.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.bb-reviews::before,
.bb-reviews::after,
.bb-blog::before,
.bb-blog::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    z-index: 2;
    height: 9px;
    background:
        linear-gradient(135deg, transparent 5px, #fff 0) 0 0 / 10px 10px repeat-x,
        linear-gradient(45deg, transparent 5px, #fff 0) 0 0 / 10px 10px repeat-x;
    pointer-events: none;
}
.bb-reviews::before,
.bb-blog::before { top: 0; transform: rotate(180deg); }
.bb-reviews::after,
.bb-blog::after { bottom: 0; }
.bb-reviews .bb-section-title { margin-bottom: 45px; }
.bb-reviews .bb-section-title h2 { font-size: 37px; font-weight: 500; }
.bb-reviews .bb-testimonial-card {
    min-height: 285px;
    justify-content: flex-start;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(48, 69, 45, .15);
}
.bb-reviews .bb-testimonial-card header { order: -2; }
.bb-reviews .bb-testimonial-rating { order: -1; margin-bottom: 4px; }
.bb-reviews .bb-testimonial-card::after {
    content: "♧";
    position: absolute;
    right: 5%;
    bottom: 4%;
    color: rgba(255,255,255,.75);
    font-size: 80px;
}

.bb-artwork-strip {
    min-height: 120px;
    background-color: #fff;
    background-image: url("../../../images/storefront/babyfood/home-artwork-layer.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.bb-comparison { padding: 92px 0 105px; }
.bb-comparison-frame {
    position: relative;
    max-width: 970px;
    margin: 0 auto;
    padding: 72px 58px 68px;
    background-image: url("../../../images/storefront/babyfood/menu-border.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.bb-comparison-frame > h2 {
    margin: 0 0 55px;
    text-align: center;
    color: #17233a;
    font-size: 38px;
    font-weight: 500;
}
.bb-comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.bb-comparison-vs {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 108px;
    height: auto;
    transform: translate(-50%, -24%);
}
.bb-comparison-grid article {
    min-height: 420px;
    overflow: hidden;
    border-radius: 28px;
    background: #ecffd9;
    text-align: center;
}
.bb-comparison-grid img { width: 100%; height: 250px; object-fit: contain; padding: 25px; }
.bb-comparison-grid h3 { margin: 20px 0 15px; font-size: 25px; font-weight: 500; }
.bb-comparison-grid p { margin: 0 24px 28px; font-size: 16px; line-height: 1.35; }
.bb-homemade {
    padding: 95px 0;
    background-color: #fff;
    background-image: url("../../../images/storefront/babyfood/homemade-doodle.png");
    background-position: bottom right;
    background-repeat: no-repeat;
}
.bb-homemade-inner { gap: 80px; }
.bb-homemade img { border-radius: 0; }
.bb-homemade h2 { font-size: 43px; font-weight: 500; }
.bb-homemade a { border-radius: 0; background: #ffad39; }

.bb-blog {
    position: relative;
    overflow: hidden;
    padding: 90px 0 105px;
    background-color: #ffe2b3;
    background-image: url("../../../images/storefront/babyfood/countup-bg.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.bb-blog .bb-section-title h2 { font-size: 37px; font-weight: 500; }
.bb-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bb-blog-grid article { overflow: hidden; background: #fff; }
.bb-blog-grid img { width: 100%; height: 235px; object-fit: cover; }
.bb-blog-placeholder { display: grid; height: 235px; place-items: center; background: #f7f8f9; color: #a7afb8; font-size: 52px; }
.bb-blog-empty { grid-column: 1 / -1; padding: 55px 20px; text-align: center; color: #66717e; }
.bb-blog-empty i { display: block; margin-bottom: 12px; color: #f2a33f; font-size: 42px; }
.bb-blog-grid article > div { padding: 22px 22px 28px; }
.bb-blog-grid h3 { min-height: 52px; margin: 0 0 12px; font-size: 17px; line-height: 1.35; }
.bb-blog-grid small { color: #8b939c; }
.bb-blog-grid p { min-height: 64px; margin: 15px 0; color: #5d6876; font-size: 14px; line-height: 1.55; }
.bb-blog-grid a { color: #f5a137; font-size: 13px; font-weight: 800; }

.bb-faq { padding: 88px 0 95px; }
.bb-faq .bb-section-title { margin-bottom: 34px; }
.bb-faq .bb-section-title h2 { font-family: "Nunito Sans", sans-serif; font-size: 34px; font-weight: 700; }
.bb-faq-list { max-width: 1180px; margin: 0 auto; }
.bb-faq-list details { border-bottom: 1px solid #d9dfe3; }
.bb-faq-list summary {
    position: relative;
    padding: 13px 36px 13px 0;
    color: #05a95b;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.bb-faq-list summary::-webkit-details-marker { display: none; }
.bb-faq-list summary::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 12px;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border: 1px solid #05a95b;
    border-radius: 50%;
    font-size: 13px;
    line-height: 1;
}
.bb-faq-list details[open] summary::after { content: "−"; }
.bb-faq-list p { margin: 0; padding: 0 36px 18px 0; color: #606b78; line-height: 1.7; }

.bb-footer {
    padding: 75px 0 42px;
    background: #fff;
    color: #5c6674;
}
.bb-footer-grid { grid-template-columns: 1.2fr .8fr 1fr 1.25fr; gap: 62px; }
.bb-footer h4 { margin: 0 0 25px; color: #202b3e; font-size: 15px; font-weight: 800; }
.bb-footer p { color: #747e8a; font-size: 13px; line-height: 1.75; }
.bb-footer a { color: #697483; font-size: 13px; }
.bb-footer-contact p { display: flex; gap: 11px; align-items: flex-start; }
.bb-footer-contact i { width: 15px; padding-top: 5px; color: #243247; text-align: center; }
.bb-subscribe {
    padding: 18px;
    border-radius: 9px;
    background: #f3f4f5;
}
.bb-subscribe form { display: flex; }
.bb-subscribe input {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #e3e6e9;
    border-radius: 5px 0 0 5px;
    background: #fff;
    font: inherit;
    font-size: 12px;
}
.bb-subscribe button {
    border: 0;
    border-radius: 0 5px 5px 0;
    background: #ffb23d;
    color: #fff;
    padding: 0 17px;
    font-size: 12px;
    font-weight: 800;
}
.bb-subscribe p { margin: 15px 0 0; }
.bb-footer-bottom {
    min-height: 95px;
    margin-top: 25px;
    border: 0;
    color: #76808c;
    font-size: 12px;
}
.bb-footer-logo { width: 145px; height: 55px; filter: none; }
.bb-footer-social { display: flex; gap: 24px; }
.bb-footer-social a { color: #162238; }

@media (max-width: 1100px) {
    .bb-choice-grid,
    .bb-better-grid { gap: 16px; }
    .bb-choice-grid h3,
    .bb-better article h3 { font-size: 17px; }
    .bb-blog-grid img { height: 190px; }
}

@media (max-width: 767px) {
    .bb-age-card:nth-child(n + 5) { display: block; }
    .bb-age-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .bb-age-grid::-webkit-scrollbar { display: none; }
    .bb-age-card { flex: 0 0 calc(50% - 7px); scroll-snap-align: start; }
    .bb-age-more { margin-top: 20px; }

    .bb-choice,
    .bb-better,
    .bb-comparison,
    .bb-homemade,
    .bb-blog,
    .bb-faq { padding: 48px 0; }
    .bb-choice-heading { margin-bottom: 30px; }
    .bb-choice-heading h2,
    .bb-comparison-frame > h2,
    .bb-reviews .bb-section-title h2,
    .bb-blog .bb-section-title h2 { font-size: 27px; }
    .bb-choice-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .bb-choice-grid article,
    .bb-choice-grid article:nth-child(even) { min-height: 190px; margin: 0; padding: 20px 16px; }
    .bb-choice-grid i { font-size: 24px; }
    .bb-choice-grid h3 { margin-top: 16px; font-size: 16px; }
    .bb-choice-grid p { font-size: 12px; }

    .bb-better-grid { grid-template-columns: 1fr 1fr; }
    .bb-better article { grid-template-rows: 135px minmax(130px, auto); }
    .bb-better article img { height: 135px; }
    .bb-better article > div { padding: 16px 12px; }
    .bb-better article h3 { font-size: 14px; }
    .bb-better article p { display: block; font-size: 11px; }

    .bb-reviews { padding: 58px 0 64px; }
    .bb-artwork-strip { min-height: 54px; background-size: auto 54px; }
    .bb-comparison-frame { padding: 42px 18px 34px; background-size: 100% 100%; }
    .bb-comparison-frame > h2 { margin-bottom: 30px; }
    .bb-comparison-grid { gap: 12px; }
    .bb-comparison-grid article { min-height: 260px; border-radius: 17px; }
    .bb-comparison-grid img { height: 145px; padding: 12px; }
    .bb-comparison-grid h3 { margin: 12px 0 8px; font-size: 17px; }
    .bb-comparison-grid p { margin: 0 10px 18px; font-size: 11px; }
    .bb-comparison-vs { width: 64px; transform: translate(-50%, -18%); }

    .bb-homemade-inner { gap: 26px; }
    .bb-homemade h2 { font-size: 28px; }
    .bb-homemade { background-size: 160px auto; }
    .bb-blog-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .bb-blog-grid article { flex: 0 0 86%; scroll-snap-align: start; }
    .bb-blog-grid img { height: 185px; }
    .bb-faq .bb-section-title h2 { font-size: 26px; }
    .bb-faq-list summary { font-size: 16px; }

    .bb-mobile-bottom { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .bb-mobile-bottom a,
    .bb-mobile-bottom button { min-width: 0; overflow: hidden; }
    .bb-mobile-bottom span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
