/* =====================================================
   responsive.css
   All @media / responsive rules for the whole site live here.
   default.css, menu.css and style.css contain base (mobile) styles only.
   ===================================================== */


/*-===== Desktop-first container & typography overrides (default.css) =====-*/

@media screen and (max-width: 1400px) {
    .main { max-width: 1140px; }
}
@media screen and (max-width: 1199px) {
    .main { max-width: 960px; }
}
@media screen and (max-width: 991px) {
    .main { max-width: 720px; }
}
@media screen and (max-width: 767px) {
    .main { max-width: 540px; }
}
@media screen and (max-width: 540px) {
    .main { max-width: 100%; }
}


/*-===== xl/desktop breakpoint — max-width: 1499px
   (covers the old "md+lg" range, 768–1499, uniformly wherever
   that range shared one value; component tiers that had a
   genuinely distinct 992–1499-only value live in the
   max-width: 991px block below instead) =====-*/

@media (max-width: 1499px) {
    /* Text sizing reduced ~20% from desktop base at this tier */
    h1 { font-size: 45px; line-height: 54px; }
    h2 { font-size: 30px; line-height: 42px; }
    h3 { font-size: 19px; line-height: 27px; }
    p { font-size: 16px; }
    .kangaroo-intro-body ul { font-size: 16px; line-height: var(--lh-28); }
    .hero-banner-content h1 { font-size: 51px; line-height: 61px; }

    .primary-nav > ul > li > a {
        font-size: var(--fontsize-12);
        line-height: var(--lh-18);
    }
    /* Kangaroo Intro */
    .kangaroo-intro { padding: 110px 0; }
    .kangaroo-intro-img { height: 420px; }
    .kangaroo-intro-row { margin: 0 calc(var(--bs-gutter-x) * -.8); }
    .kangaroo-intro-col { padding: 0 calc(var(--bs-gutter-x) * .8); }

    /* Choose Paroo */  
    .choose-paroo { padding: 110px 0; }
    .choose-paroo-card__img { height: 260px; }

    /* Recipe Showcase */
    .recipe-showcase { padding: 110px 0; }
    .recipe-showcase--listing {
        padding: 48px 0px 120px;
    }
    .recipe-featured__content {
        padding-left: 15px;
    }
    .recipe-showcase-row { margin: 0 0 40px; }
    .recipe-showcase-row [class*="col-"] { padding: 0 calc(var(--bs-gutter-x) * .5); }

    .recipe-card__img
    {
        height: 350px;
    }

    /* Testimonials */
    .testimonials { padding: 110px 0; }

    /* Shop CTA */
    .shop-cta { padding: 110px 0 60px; }

    /* Inner-page shared */
    .page-hero { height: 340px; }
    .page-header { padding: 56px 0; }
    body.page-faq .page-header {
        padding: 56px 0 70px;
    }
    body.page-faq .page-header h1 {
        margin-bottom: 70px;
    }

    /* About page */
    .paroo-brand { padding: 56px 0; }
    .taste-intro { padding: 56px 0; }

    /* Health page */
    .health-intro { padding: 56px 0; }
    .health-intro__img { max-height: 560px; }
    .open-range { padding: 56px 0; }
    .open-range__img { min-height: 280px; }
    .nutrition-compare { padding: 56px 0; }
    .nutrition-compare-row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    .nutrition-compare-row > [class*="col-"] {
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        padding-right: calc(var(--bs-gutter-x) * 0.5);
    }
    .nutrition-compare-row > [class*="col-"] .nutrition-card {
        border-right: none;
    }
    .nutrition-compare {
        --nutrition-fs-cal: clamp(24px, 4.5vw + 14px, 32px);
        --nutrition-fs-title: clamp(12px, 0.5vw + 10px, 13px);
    }
    .nutrients-detail { padding: 56px 0; }
    .nutrients-detail {
        --nutrients-fs-term: clamp(16px, 0.8vw + 13px, 22px);
        --nutrients-fs-desc: clamp(14px, 0.6vw + 12px, 18px);
    }
    .faq-section {
        --nutrients-fs-term: clamp(16px, 0.8vw + 13px, 22px);
        --nutrients-fs-desc: clamp(14px, 0.6vw + 12px, 18px);
    }
    .nutrients-list__item dt { flex: 0 0 88px; }
    .performance-callout { padding: 56px 0; }

    /* Safety page */
    .safety-features { padding: 56px 0; }
    .safety-certifications { padding: 56px 0 64px; }
    .cert-logos-col img { max-height: 250px; }

    /* FAQ page */
    body.page-faq .page-header {
        padding-bottom: 70px;
    }
    .faq-accordion-item__row {
        margin-top: 0;
        margin: 0;
    }
    body.page-faq .page-header h1 {
        margin-bottom: 70px;
    }
    .faq-section { padding: 70px 0 64px; }
    .faq-category { padding-bottom: 70px; }
    .faq-category-col:first-child h2 { margin-bottom: 20px; }

    /* How to Cook page */
    .cook-intro__img { height: 340px; }
    .cooking-points { padding: 56px 0; }
    .product-lineup { padding: 56px 0 64px; }
    .product-lineup .recipe-card__img { height: 280px; }
    .thawing-method { padding: 56px 0 64px; }
    .cook-video-banner__img { height: 340px; }

    /* Recipe Detail page */
    .recipe-detail__img { height: 400px; }
    .recipe-detail-ingredients,
    .recipe-detail-steps { padding: 56px 0; }
    .recipe-detail-gallery { padding: 64px 0 80px; }
    .recipe-detail-gallery__grid {
        grid-template-rows: repeat(4, minmax(100px, 1fr));
        gap: 16px;
    }

    /* Our Story / Trade Partners pages */
    .faq-section--our-story-awards .nutrients-list__item,
    .faq-section--trade-partners .nutrients-list__item {
        flex-direction: column;
        gap: 12px;
    }

    /* Contact page */
    .contact-form-section { padding: 56px 0 96px; }
    .contact-form-panel {
        padding: 40px 32px;
    }

    /* Legal pages */
    .legal-page { padding: 72px 0 96px; }
    .legal-page h1 {
        font-size: var(--fontsize-32);
        line-height: var(--lh-52);
        margin-bottom: 32px;
    }
    .legal-page h2 { margin-top: 32px; }

    /* 404 page */
    .error-404 { padding: 72px 0 96px; }
    .error-404__code { margin-bottom: 20px; }
}


/*-===== tablet breakpoint — max-width: 991px
   (the old "md" tier, 768–991: only the handful of properties
   whose 768–991 value genuinely differs from the 992+ base) =====-*/

@media (max-width: 991px) {
    .primary-nav > ul > li > a {
        font-size: var(--fontsize-14);
        line-height: var(--lh-20);
    }

    .hero-banner-slide,
    .hero-banner-slider.slick-initialized { height: 640px; }
    .hero-banner-content { padding-bottom: 64px; }
    .hero-banner-content h1 { font-size: 44px; line-height: 54px; }
    .testimonials-nav { gap: 12px; }

    .faq-accordion-item__question { padding-right: 0; }
    .faq-accordion-item__answer { padding-left: 0; }
    .recipe-card__img
    {
        margin-bottom: 25px;
        height: 350px;
    }
    .shop-cta br
    {
        display: none;
    }
}


@media screen and (max-width: 991px) {
    h1 { font-size: 44px; line-height: 56px; }
    h2 { font-size: 30px; line-height: 42px; }

    .faq-accordion-item {
        padding-right: 48px;
    }
    .faq-accordion-item:has(.accordion-title:not(.active)) {
        padding-right: 48px;
    }
    .faq-accordion-item__question {
        padding-right: 0;
    }
    .faq-accordion-item__toggle-col {
        display: flex;
        position: absolute;
        top: 42px;
        right: 0;
        width: auto;
        padding: 0;
        justify-content: flex-end;
    }
    .faq-accordion-item__answer {
        margin-top: 12px;
    }
    .faq-category-col h2 {
        margin-bottom: 8px;
    }
}
@media screen and (max-width: 767px) {
    .faq-category-row {
        margin-bottom: 10px;
    }
    .faq-category-col:first-child h2 {
        margin-bottom: 20px;
    }
    h1 { font-size: 34px; line-height: 44px; }
    h2 { font-size: 22px; line-height: 36px; }
    h3 { font-size: 20px; line-height: 30px; }
    .shop-cta p
    {
       font-size: 18px;
    }
 
    /* Homepage hero */
    .hero-banner-slide,
    .hero-banner-slider.slick-initialized {
        height: 580px;
        min-height: 580px;
    }
    .hero-banner-slide__inner {
        min-height: 580px;
        align-items: center;
        padding-top: 24px;
        padding-bottom: 100px;
    }
    .hero-banner-content {
        padding-bottom: 0;
    }
    .hero-banner-content h1 {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 38px;
    }
    .hero-banner-content p {
        font-size: 16px;
        line-height: 26px;
    }
    .hero-banner-content .btn {
        margin-top: 24px;
    }
    .hero-banner-nav {
        bottom: 20px;
        gap: 16px;
    }

    /* Homepage sections */
    .kangaroo-intro-body {
        margin-bottom: 32px;
    }
    .kangaroo-intro-img {
        height: 260px;
        margin-top: 24px;
    }
    .choose-paroo .section-intro {
        margin-bottom: 40px;
    }
    .recipe-showcase__more {
        margin-top: 48px;
    }
    .section-underline {
        margin-bottom: 28px;
        margin-top: 16px;
    }

    .testimonials-slide h3 {
        margin-bottom: 24px;
    }
    .testimonials-nav {
        margin-top: 32px;
    }
    .recipe-card__img
    {
        margin-bottom: 25px;
    }
    .nutrients-detail-row
    {
        margin-bottom: 20px;
    }
    .site-footer {
        padding: 50px 0 26px;
    }
    .paroo-brand-content {
        column-count: 1;
        column-gap: 32px;
    }

    .safety-feature h3
    {
        font-size: 18px;
    }
    .safety-feature h3 + p {
        font-size: 16px;
    }
    .cert-logos-col figcaption {
        font-size: 16px;
    }
    .recipe-showcase--listing .recipe-showcase-row {
        row-gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .animated { opacity: 1 !important; transform: none !important; }
}


/*-===== Header & navigation (menu.css) =====-*/

@media screen and (max-width: 991px) {
    .header-inner {
        padding: 14px 0;
    }
    .site-logo img {
        width: 100px;
    }

    .site-header__social {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-close {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: var(--color-white);
        padding: 90px 24px 24px;
        overflow-y: auto;
        transform: translateX(100%);
        -webkit-transition: transform 0.35s ease-in-out;
        -ms-transition: transform 0.35s ease-in-out;
        -o-transition: transform 0.35s ease-in-out;
        -moz-transition: transform 0.35s ease-in-out;
        transition: transform 0.35s ease-in-out;
        z-index: 60;
    }
    body.body-menu-open .primary-nav {
        transform: translateX(0);
    }
    .primary-nav > ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    .primary-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }
    .primary-nav > ul > li > a {
        display: block;
        padding: 14px 0;
    }
    .primary-nav > ul > li.has-dropdown > a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        display: none;
        transition: none;
        padding-left: 12px;
    }
    .primary-nav > ul > li.has-dropdown.open .nav-dropdown {
        display: block;
    }
    .primary-nav > ul > li.has-dropdown:hover .nav-dropdown {
        display: none;
    }
    .primary-nav > ul > li.has-dropdown.open:hover .nav-dropdown {
        display: block;
    }

    body.body-menu-open {
        overflow: hidden;
    }
    body.body-menu-open::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 50;
    }
    .faq-accordion-item__question {
        padding-right: 0;
        margin-bottom: 14px;
    }
    .faq-category-col h2
    {
        font-size: 30px;
    }
}


/*-===== mobile breakpoint — max-width: 767px
   (the original mobile-first base values, restored here now
   that style.css's unconditioned rules are desktop-sized) =====-*/

@media (max-width: 767px) {
    p {
        font-size: 16px;
    }
    .kangaroo-intro-body ul {
        font-size: 16px;
        line-height: var(--lh-28);
    }
    .nutrients-list__item  hr {
        width: 1060px;
        margin-left: 0;
        max-width: 100%;
    }
    /* Footer */
    .site-footer__bottom {
        flex-direction: column;
        gap: 16px;
    }

    /* Choose Paroo */
    .choose-paroo { padding: 56px 0; }
    .choose-paroo-slider {
        flex-direction: column;
        gap: 40px;
    }
    .choose-paroo-slider .choose-paroo-card {
        flex: initial;
        padding: 0 ;
    }
    .choose-paroo-card__img { height: 260px; }

    /* Kangaroo Intro */
    .kangaroo-intro { padding: 56px 0; }
    .kangaroo-intro-row { margin: 0; }
    .kangaroo-intro-col { padding: 0; }

    /* Recipe Showcase */
    .recipe-showcase { padding: 56px 0; }
    .recipe-featured { padding: 56px 0 32px; }
    .recipe-showcase--listing { padding: 32px 0 80px; }
    .recipe-showcase-row { margin-bottom: 40px; }
    .choose-paroo-slider .slick-track
    {
        margin: 0;
    }
    /* Outback Banner */
    .outback-banner { height: 240px; }

    /* Testimonials */
    .testimonials { padding: 56px 0; }

    /* Shop CTA */
    .shop-cta { padding: 56px 0; }

    /* Inner-page shared */
    .page-header { padding: 40px 0; }
    body.page-faq .page-header {
        padding: 40px 0 70px;
    }
    body.page-faq .page-header h1 {
        margin-bottom: 70px;
    }

    /* About page */
    .paroo-brand { padding: 40px 0; }
    .taste-intro { padding: 40px 0; }
    .taste-intro__img { height: 320px; }

    /* Health page */
    .health-intro { padding: 40px 0; }
    .health-intro__img { max-height: 480px; }
    .open-range { padding: 40px 0; }
    .open-range__img { min-height: auto; }
    .nutrition-compare { padding: 40px 0; }
    .nutrition-compare {
        --nutrition-fs-cal: clamp(28px, 8vw, 34px);
        --nutrition-fs-data: clamp(9px, 2.2vw, 10px);
        --nutrition-fs-section: clamp(10px, 2.4vw, 11px);
    }
    .nutrients-detail { padding: 40px 0; }
    .nutrients-detail {
        --nutrients-fs-term: clamp(16px, 4.2vw, 20px);
        --nutrients-fs-desc: clamp(14px, 3.6vw, 17px);
        --nutrients-lh-desc: 1.55;
    }
    .faq-section {
        --nutrients-fs-term: clamp(16px, 4.2vw, 20px);
        --nutrients-fs-desc: clamp(14px, 3.6vw, 17px);
        --nutrients-lh-desc: 1.55;
    }
    .nutrients-list__item {
        flex-direction: column;
        align-items: normal;
        gap: 8px;
    }
    .nutrients-list__item dt { flex: initial; }
    .nutrients-list__item dd { flex: initial; }
    .performance-callout { padding: 40px 0; }

    /* Safety page */
    .safety-features { padding: 40px 0 48px; }
    .safety-certifications { padding: 48px 0 56px; }
    .cert-logos-col img {
        max-height: max-content;
    }

    /* FAQ page */
    .faq-section { padding: 70px 0 56px; }
    .faq-category { padding-bottom: 48px; }
    /* .faq-category-col:first-child h2 { margin-bottom: 70px; } */

    /* How to Cook page */
    .cook-intro__img { height: 220px; }
    .cooking-points { padding: 48px 0; }
    .product-lineup { padding: 48px 0 56px; }
    .product-lineup .recipe-card__img { height: 260px; }
    .thawing-method { padding: 48px 0 56px; }
    .cook-video-banner__img { height: 220px; }

    /* Recipe Detail page */
    .recipe-detail__img { height: 260px; }
    body.page-recipe-detail .page-header--centered {
        padding-top: 48px;
        padding-bottom: 32px;
    }
    .recipe-detail-ingredients,
    .recipe-detail-steps { padding: 40px 0; }
    .recipe-detail-ingredients .kangaroo-intro-row,
    .recipe-detail-steps .kangaroo-intro-row {
        margin: 0;
    }
    .recipe-detail-ingredients .kangaroo-intro-col,
    .recipe-detail-steps .kangaroo-intro-col {
        padding: 0;
    }
    .recipe-detail-gallery { padding: 48px 0 64px; }
    .recipe-detail-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 12px;
    }
    .recipe-detail-gallery__item--1,
    .recipe-detail-gallery__item--2,
    .recipe-detail-gallery__item--3,
    .recipe-detail-gallery__item--4,
    .recipe-detail-gallery__item--5,
    .recipe-detail-gallery__item--6,
    .recipe-detail-gallery__item--7,
    .recipe-detail-gallery__item--8 {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 1 / 1;
    }

    /* Our Story page */
    .founder-quote { padding: 40px 0; }
    .founder-quote__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Contact page */
    .contact-form-section { padding: 40px 0 72px; }
    .contact-form-panel {
        padding: 32px 20px;
    }
    .contact-form__submit {
        text-align: center;
    }

    /* Legal pages */
    .legal-page { padding: 48px 0 72px; }
    .legal-page__inner {
        max-width: none;
    }
    .legal-page h1 {
        font-size: var(--fontsize-28);
        line-height: var(--lh-34);
        margin-bottom: 28px;
    }

    /* 404 page */
    .error-404 { padding: 48px 0 72px; }
    .error-404 .content-block { margin-bottom: 32px; }
}
