/* ================================================================
   Organic Heritage – Responsive CSS
   responsive.css
   ================================================================ */

/* ─── 1440px ────────────────────────────────────────────────────── */
@media (max-width: 1440px) {
  .nav__links { gap: 0; }
  .nav__link { padding: 0.5rem 0.6rem; font-size: 0.8rem; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── 1280px ────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .ingredient-story__inner { grid-template-columns: 1fr 360px 1fr; }
  .ingredient-story__img-wrap { width: 360px; height: 360px; }
  .footer__main { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer__main > *:last-child { grid-column: 1 / -1; }
}

/* ─── 1100px – Show hamburger, hide desktop nav ─────────────────── */
@media (max-width: 1100px) {
  .nav__links,
  .nav__shop-btn { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mega-wrap { display: none; }

  .nav__inner { grid-template-columns: auto auto; justify-content: space-between; }
  .nav__actions { gap: 0.4rem; }

  .two-worlds { grid-template-columns: 1fr; min-height: auto; }
  .two-worlds__side { min-height: 400px; }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .cat-card:nth-child(1) { grid-row: auto; grid-column: 1 / -1; min-height: 320px; }
  .cat-card:nth-child(2),
  .cat-card:nth-child(3) { grid-row: auto; grid-column: auto; }
  .cat-card:nth-child(4) { grid-row: auto; grid-column: 1 / -1; min-height: 300px; }

  .why-us__track { grid-template-columns: repeat(2, 1fr); border-radius: var(--radius-lg); }
  .why-card:nth-child(3), .why-card:nth-child(4) { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

  .footer__main { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ─── 900px – Tablet ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ingredient-story__inner { grid-template-columns: 1fr; }
  .ingredient-story__left,
  .ingredient-story__right { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; padding-top: 0; }
  .ingredient-story__img-wrap { width: 280px; height: 280px; }
  .ingredient-story__center { order: -1; }

  .our-story__inner { grid-template-columns: 1fr; }
  .our-story__media { max-width: 500px; margin: 0 auto; }
  .our-story__img-sub { display: none; }

  .sustainability__inner { grid-template-columns: 1fr; }
  .sustainability__img-col { display: none; }
  .sustainability__pillars { grid-template-columns: 1fr 1fr; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }

  .our-story__stats { grid-template-columns: repeat(3, 1fr); }

  .comparison-table { font-size: 0.82rem; }

  .product-detail__grid { grid-template-columns: 1fr; }

  .cart-page__grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }

  .popup { grid-template-columns: 1fr; }
  .popup__img-side { height: 200px; }

  .quickview { grid-template-columns: 1fr; }
  .quickview__img-side { height: 280px; }

  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  .our-story__img-main { height: 380px; }

  .gallery-masonry { columns: 3; }
}

/* ─── 768px – Tablet portrait ───────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --announce-height: 36px;
  }

  .hero { height: 100svh; min-height: 680px; max-height: 900px; }

  .hero-slide__content {
    padding-top: calc(var(--nav-height) + var(--announce-height) + 2.5rem);
  }

  .hero-slide__title { font-size: clamp(2.8rem, 9vw, 4rem); }
  .hero-slide__desc { margin-bottom: 2rem; }

  .hero-slide--light .hero-slide__title { font-size: 3.4rem; }

  .hero-slide--grain-story .hero-slide__bg {
    background-size: cover;
    background-position: center bottom;
  }

  .hero-slide--grain-story .hero-slide__content,
  .hero-slide--collection-story .hero-slide__content {
    padding-bottom: 5rem;
  }

  .hero-grain-copy {
    width: min(620px, 40vw);
  }

  .hero-slide--grain-story .hero-slide__title {
    font-size: clamp(2.1rem, 3.2vw, 2.75rem);
  }

  .hero-grain-desc {
    font-size: 1.12rem;
  }

  .hero-collection-copy {
    width: min(480px, 44vw);
  }

  .hero-slide--collection-story .hero-slide__title {
    font-size: clamp(2.65rem, 5vw, 3.75rem);
  }

  .hero-feature {
    padding: 0 0.55rem;
    font-size: 0.86rem;
  }

  .hero__controls {
    right: auto;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
  }

  .nav__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .nav__logo { gap: 0.6rem; margin-right: 0.75rem; }
  .nav__logo-text { display: none; }
  .nav__actions { gap: 0.35rem; }

  .category-grid { grid-template-columns: 1fr 1fr; }
  .cat-card:nth-child(1) { min-height: 300px; }

  .testimonial-card { min-width: 300px; }

  .gallery-masonry { columns: 2; }

  .footer__main { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .product-tabs { width: 100%; overflow-x: auto; }

  .page-banner { min-height: 260px; padding-top: calc(var(--nav-height) + var(--announce-height) + 2rem); }

  .filter-bar { padding: 0.75rem 1rem; gap: 0.5rem; }

  .hero__scroll { display: none; }

  .comparison-table { display: block; overflow-x: auto; }

  .product-tab-list { overflow-x: auto; }

  .product-detail__cta { flex-direction: column; }
  .sticky-buy-bar { display: flex; }

  .newsletter__form { flex-direction: column; border-radius: var(--radius-lg); }
  .newsletter__input { width: 100%; }
  .newsletter__btn { width: 100%; border-radius: var(--radius-md); }

  .cart-page-item { grid-template-columns: 80px 1fr; }
  .cart-page-item > *:last-child { grid-column: 2; }
}

/* ─── 600px – Mobile hero ───────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { min-height: 760px; }

  .hero-slide--artwork .hero-slide__bg {
    background-size: cover;
    background-position: 52% center;
  }

  .hero-slide--grain-story .hero-slide__bg {
    background-size: cover;
    background-position: 72% center;
  }

  .hero-slide--grain-story .hero-slide__content {
    justify-content: center;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .hero-slide--collection-story .hero-slide__bg {
    background-size: cover;
    background-position: 67% center;
  }

  .hero-slide--collection-story .hero-slide__content {
    justify-content: center;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .hero-grain-copy {
    width: min(100%, 380px);
    margin: 0 auto;
  }

  .hero-collection-copy {
    width: min(100%, 380px);
    margin: 0 auto;
  }

  .hero-slide--grain-story .hero-slide__title {
    font-size: 2.35rem;
    line-height: 1.05;
  }

  .hero-slide--collection-story .hero-slide__title {
    font-size: 2.65rem;
    line-height: 1;
  }

  .hero-grain-desc {
    font-size: 1.08rem;
  }

  .hero-collection-desc {
    max-width: 320px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }

  .hero-grain-btns,
  .hero-collection-btns {
    width: min(100%, 330px);
    margin-right: auto;
    margin-left: auto;
  }

  .hero-slide--grain-story .hero-slide__btns .btn--primary,
  .hero-slide--collection-story .hero-slide__btns .btn--primary {
    min-width: 0;
    width: 100%;
  }

  .hero-grain-features,
  .hero-collection-features {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    width: min(100%, 260px);
    margin-right: auto;
    margin-left: auto;
  }

  .hero-slide--grain-story .hero-feature,
  .hero-slide--collection-story .hero-feature {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    padding: 0;
    border-right: 0;
    text-align: left;
  }

  .hero-slide--grain-story .hero-feature__icon,
  .hero-slide--collection-story .hero-feature__icon {
    width: 34px;
    height: 34px;
    margin: 0;
  }

  .hero-slide__content {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .hero-slide--light .hero-slide__bg { background-position: 72% center; }
  .hero-slide--light .hero-slide__overlay {
    background: linear-gradient(90deg, rgba(255,249,237,0.78) 0%, rgba(255,249,237,0.58) 56%, rgba(255,249,237,0.18) 100%);
  }

  .hero-slide__eyebrow {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr);
    width: 100%;
    max-width: 360px;
    line-height: 1.35;
  }

  .hero-slide__eyebrow span { min-width: 0; }
  .hero-slide__title { font-size: 2.35rem; }
  .hero-slide--light .hero-slide__title { font-size: 2.8rem; }
  .hero-slide__desc { max-width: 100%; }

  .hero-slide--light .hero-slide__tagline {
    margin-bottom: 1rem;
    font-size: 1.05rem;
  }

  .hero-slide__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 0;
    margin-bottom: 1rem;
  }

  .hero-feature:nth-child(2) { border-right: 0; }
  .hero-feature:nth-child(3) { padding-left: 0; }
  .hero-feature__icon { width: 34px; height: 34px; margin-bottom: 0.3rem; }
  .hero-feature__icon svg { width: 19px; height: 19px; }

  .hero-slide__btns {
    flex-direction: column;
    width: min(100%, 330px);
  }

  .hero-slide__btns .btn {
    width: 100%;
    min-width: 0;
  }
}

/* ─── 430px – Mobile large ──────────────────────────────────────── */
@media (max-width: 430px) {
  .hero { height: 100svh; min-height: 700px; max-height: 900px; }

  .hero-slide__title { font-size: 2.15rem; }
  .hero-slide--light .hero-slide__title { font-size: 2.45rem; }

  .hero-slide__content {
    padding: calc(var(--nav-height) + var(--announce-height) + 2.25rem) 1.25rem 4.75rem;
  }

  .hero-slide__eyebrow {
    width: auto;
    max-width: 100%;
    margin-bottom: 1.4rem;
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .hero-slide__desc { font-size: 0.95rem; }

  .hero-slide--grain-story .hero-slide__title { font-size: 2.05rem; }
  .hero-grain-desc { font-size: 1rem; }
  .hero-slide--collection-story .hero-slide__title { font-size: 2.25rem; }
  .hero-collection-desc { font-size: 1rem; }

  .category-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .cat-card:nth-child(1),
  .cat-card:nth-child(2),
  .cat-card:nth-child(3),
  .cat-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .two-worlds__side { min-height: 320px; }
  .two-worlds__title { font-size: 2rem; }

  .why-us__track { grid-template-columns: 1fr; }
  .why-card:nth-child(3), .why-card:nth-child(4) { border-radius: 0; }
  .why-card:nth-child(4) { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .product-card__body { padding: 0.75rem; }
  .product-card__actions { flex-direction: column; gap: 0.4rem; }

  .our-story__stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
  .stat-number { font-size: 2rem; }

  .testimonial-card { min-width: calc(100vw - 2rem); }

  .gallery-masonry { columns: 2; }

  .footer__main { grid-template-columns: 1fr; }

  .popup { width: calc(100vw - 2rem); }
  .popup__title { font-size: 1.7rem; }
  .popup__title span { font-size: 2.2rem; }

  .trust-strip__grid { grid-template-columns: 1fr 1fr; }

  .hero-slide__btns { flex-direction: column; }
  .hero-slide__btns .btn { width: 100%; justify-content: center; }

  .ingredient-story__img-wrap { width: 240px; height: 240px; }

  .nav__logo-text { display: none; }

  .fab-group { bottom: 5rem; }
}

/* ─── 375px – Mobile small ──────────────────────────────────────── */
@media (max-width: 375px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-slide__title { font-size: 2rem; }
  .popup__content-side { padding: 1.5rem; }
}

/* ─── Accessibility / Motion ─────────────────────────────────────── */
@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;
  }

  .hero-slide__bg { transform: none !important; }
  .botanical { animation: none !important; }
  .hero__scroll { animation: none !important; }
  .announce-bar__track { animation: none !important; }
  .marquee-track { animation: none !important; }
}

/* ─── High contrast support ──────────────────────────────────────── */
@media (prefers-contrast: high) {
  :focus-visible { outline: 4px solid #000; }
}

/* ─── Print ──────────────────────────────────────────────────────── */
@media print {
  .nav, .announce-bar, .fab-group, .popup-overlay,
  .cart-drawer, .mobile-nav, .sticky-buy-bar { display: none !important; }
  body { background: white; color: black; }
}

/* Mobile polish for narrow phones */
@media (max-width: 600px) {
  :root {
    --nav-height: 58px;
    --announce-height: 0px;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .announce-bar {
    display: none;
  }

  .nav {
    top: 0;
    height: var(--nav-height);
  }

  .home-page .nav--transparent:not(.nav--solid) {
    background: linear-gradient(90deg, rgba(18,61,50,0.78), rgba(18,61,50,0.28));
    border-color: rgba(255,255,255,0.14);
  }

  .nav__inner {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    gap: 0.35rem;
  }

  .nav__logo-mark {
    width: 38px;
    height: 38px;
  }

  .nav__actions {
    gap: 0.2rem;
  }

  .nav__action-btn,
  .nav__hamburger {
    width: 34px;
    height: 34px;
  }

  .nav__badge {
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    font-size: 0.55rem;
  }

  .hero,
  .hero-slide {
    height: 100svh;
    min-height: 640px;
    max-height: none;
  }

  .hero-slide {
    align-items: stretch;
  }

  .hero-slide__content {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-height) + 1rem) 1rem 5.25rem;
  }

  .hero-slide--light .hero-slide__bg {
    background-size: auto 100%;
    background-position: 70% center;
  }

  .hero-slide--light .hero-slide__overlay {
    background:
      linear-gradient(90deg, rgba(255,249,237,0.84) 0%, rgba(255,249,237,0.62) 52%, rgba(255,249,237,0.2) 100%),
      linear-gradient(180deg, rgba(255,249,237,0.48), rgba(255,249,237,0.12));
  }

  .hero-slide--light .hero-slide__title {
    max-width: 300px;
    margin-bottom: 0.85rem;
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 0.92;
  }

  .hero-slide--light .hero-slide__tagline {
    max-width: 295px;
    margin-bottom: 1rem;
    padding: 0.48rem 0;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .hero-slide--light .hero-slide__features {
    width: min(100%, 275px);
    margin-bottom: 1rem;
  }

  .hero-slide--light .hero-feature {
    padding: 0 0.45rem;
    font-size: 0.72rem;
  }

  .hero-slide--light .hero-feature__icon {
    width: 35px;
    height: 35px;
    margin-bottom: 0.25rem;
  }

  .hero-slide--light .hero-slide__btns {
    width: min(100%, 285px);
  }

  .hero-slide--light .hero-slide__btns .btn--primary {
    min-width: 0;
    min-height: 46px;
    width: 100%;
    font-size: 0.76rem;
  }

  .hero-slide--grain-story .hero-slide__bg {
    background-size: auto 100%;
    background-position: 38% center;
  }

  .hero-slide--grain-story .hero-slide__bg::after {
    background:
      linear-gradient(90deg, rgba(9,31,24,0.84) 0%, rgba(9,31,24,0.72) 64%, rgba(9,31,24,0.42) 100%),
      radial-gradient(circle at 15% 82%, rgba(239,196,119,0.12), transparent 30%);
      opacity: 1;
  }

  .hero-slide--grain-story .hero-slide__content {
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 1.2rem) 1rem 5.25rem;
    text-align: center;
  }

  .hero-grain-copy {
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .hero-slide--grain-story .hero-slide__title {
    max-width: 320px;
    margin: 0 auto 0.7rem;
    font-size: clamp(1.62rem, 7.2vw, 2rem);
    line-height: 0.98;
    text-align: center;
    white-space: normal;
  }

  .hero-slide--grain-story .hero-title-line {
    white-space: normal;
  }

  .hero-grain-desc {
    max-width: 290px;
    margin: 0 auto 1.05rem;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .hero-grain-rule {
    width: 72%;
    margin-bottom: 1rem;
  }

  .hero-grain-btns {
    width: min(100%, 286px);
    margin: 0 auto 1rem;
  }

  .hero-slide--grain-story .hero-slide__btns .btn--primary {
    min-width: 0;
    min-height: 46px;
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .hero-grain-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 250px);
    gap: 0.55rem 0.75rem;
    margin: 0 auto;
  }

  .hero-slide--grain-story .hero-feature {
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 0.35rem;
    align-items: center;
    padding: 0;
    border-right: 0;
    text-align: left;
    font-size: 0.72rem;
    line-height: 1.12;
  }

  .hero-slide--grain-story .hero-feature__icon {
    width: 27px;
    height: 27px;
    margin: 0;
  }

  .hero-slide--collection-story .hero-slide__bg {
    background-size: auto 100%;
    background-position: 58% center;
  }

  .hero-slide--collection-story .hero-slide__bg::after {
    background:
      linear-gradient(180deg, rgba(255,249,237,0.42) 0%, rgba(255,249,237,0.26) 34%, rgba(255,249,237,0.08) 68%, transparent 100%),
      linear-gradient(90deg, rgba(255,249,237,0.52) 0%, rgba(255,249,237,0.24) 58%, transparent 100%);
  }

  .hero-slide--collection-story .hero-slide__content {
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--nav-height) + 1rem) 0.9rem 5.25rem;
  }

  .hero-collection-copy {
    width: min(100%, 300px);
    margin: 0;
  }

  .hero-slide--collection-story .hero-slide__title {
    max-width: 300px;
    margin-bottom: 0.65rem;
    font-size: clamp(1.95rem, 10vw, 2.45rem);
    line-height: 0.98;
  }

  .hero-slide--collection-story .hero-title-line {
    white-space: normal;
  }

  .hero-slide--collection-story .hero-collection-desc {
    max-width: 270px;
    margin-bottom: 0.95rem;
    font-size: 0.96rem;
    line-height: 1.24;
    color: #713017;
    text-shadow: 0 1px 0 rgba(255,249,237,0.92);
  }

  .hero-slide--collection-story .hero-collection-btns {
    width: min(100%, 260px);
    margin: 0 0 0.95rem;
  }

  .hero-slide--collection-story .hero-slide__btns .btn--primary {
    min-height: 44px;
    padding: 0.6rem 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .hero-collection-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 300px);
    gap: 0;
    margin: 0;
  }

  .hero-slide--collection-story .hero-feature {
    display: block;
    padding: 0 0.35rem;
    border-right: 1px solid rgba(81,51,31,0.22);
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .hero-slide--collection-story .hero-feature:last-child {
    border-right: 0;
  }

  .hero-slide--collection-story .hero-feature__icon {
    width: 34px;
    height: 34px;
    margin: 0 auto 0.25rem;
  }

  .hero__controls {
    bottom: 1rem;
  }

  .offer-tab {
    top: auto;
    bottom: 8.75rem;
    min-width: 32px;
    min-height: 84px;
    padding: 0.45rem 0.25rem;
    font-size: 0.56rem;
  }

  .fab-group {
    right: 0.75rem;
    bottom: 1rem;
    gap: 0.55rem;
  }

  .fab {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 375px) {
  .hero-slide--collection-story .hero-slide__content {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .hero-slide--collection-story .hero-slide__title {
    font-size: 1.85rem;
  }

  .hero-slide--collection-story .hero-collection-desc {
    max-width: 245px;
    font-size: 0.88rem;
  }

  .hero-slide--collection-story .hero-collection-btns {
    width: min(100%, 240px);
  }
}

/* Responsive audit consolidated overrides */
.nav__mobile-actions {
  display: none;
}

@media (max-width: 1280px) {
  .nav__inner,
  .container {
    max-width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .nav {
    overflow: hidden;
  }

  .nav__inner {
    display: flex;
    grid-template-columns: none;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .nav__actions {
    display: none;
  }

  .nav__mobile-actions {
    display: grid;
    grid-template-columns: repeat(4, 44px);
    align-items: center;
    justify-content: end;
    gap: 0.1rem;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .nav__mobile-action,
  .nav__mobile-hamburger {
    position: relative;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-main);
  }

  .home-page .nav--transparent:not(.nav--solid) .nav__mobile-action,
  .home-page .nav--transparent:not(.nav--solid) .nav__mobile-hamburger {
    color: rgba(255,255,255,0.94);
  }

  .nav__mobile-action svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }

  .nav__mobile-hamburger {
    flex-direction: column;
    gap: 5px;
  }

  .nav__mobile-hamburger span {
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .nav__links {
    gap: clamp(0.55rem, 1.2vw, 1rem);
  }

  .nav__link {
    font-size: 0.86rem;
  }

  .nav__action-btn,
  .nav__hamburger,
  .mobile-nav__close,
  .cart-drawer__close,
  .quickview__close,
  .popup__close {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .cat-card,
  .cat-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .two-worlds {
    grid-template-columns: 1fr;
  }

  .two-worlds__side {
    min-height: 480px;
  }

  .ingredient-story__inner,
  .product-detail__grid,
  .cart-page__grid,
  .our-story__inner,
  .sustainability__inner,
  .contact-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ingredient-story__left,
  .ingredient-story__right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-top: 0;
  }

  .ingredient-story__img-wrap {
    width: min(60vw, 380px);
    height: min(60vw, 380px);
    margin-inline: auto;
  }

  .gallery-masonry {
    columns: 2;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-pad,
  .ingredient-story,
  .comparison,
  .gallery-section {
    padding: 3rem 0;
  }

  .section-title,
  .page-banner__title {
    font-size: clamp(1.95rem, 8vw, 2.8rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .section-sub,
  .page-banner__desc {
    font-size: clamp(0.92rem, 3vw, 1rem);
    line-height: 1.55;
  }

  .page-banner {
    min-height: clamp(220px, 34svh, 320px) !important;
    padding-top: calc(var(--nav-height) + var(--announce-height) + 2rem) !important;
    padding-bottom: 2.5rem !important;
  }

  .mobile-nav__panel {
    width: min(88vw, 370px);
    max-width: 100%;
  }

  .mobile-nav__links a,
  .mobile-nav__cat,
  .footer__links a {
    min-height: 44px;
  }

  .product-card__img-wrap {
    aspect-ratio: 4 / 3;
    padding-top: 0;
  }

  .product-card__img {
    height: 100%;
  }

  .product-card__wishlist,
  .product-card__quickview {
    opacity: 1;
  }

  .product-card__quickview {
    transform: translateX(-50%) translateY(0);
  }

  .product-card__badges {
    max-width: calc(100% - 64px);
  }

  .filter-bar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem;
  }

  .filter-bar > *,
  .filter-bar input,
  .filter-bar select,
  .sort-select {
    width: 100%;
    min-width: 0;
  }

  .filter-btn {
    min-height: 42px;
  }

  .product-tabs,
  .product-tab-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
  }

  .product-tabs > *,
  .product-tab-list > * {
    flex: 0 0 auto;
  }

  .form-input,
  .form-select,
  .form-textarea,
  .popup__input,
  .newsletter__input,
  .coupon-input,
  .search-bar-input,
  .delivery-input input,
  input,
  select,
  textarea {
    max-width: 100%;
    font-size: 16px;
  }

  .newsletter__form,
  .footer__newsletter-form,
  .search-bar-wrap,
  .delivery-input,
  .coupon-row {
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
  }

  .newsletter__btn,
  .search-bar-btn,
  .delivery-input button,
  .coupon-row .btn,
  .footer__newsletter-form button {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
  }

  .cart-page {
    padding-top: 1.5rem;
    padding-bottom: 7rem;
  }

  .cart-page-item {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .cart-page-item .details {
    min-width: 0;
  }

  .cart-page-item .details h3 {
    font-size: 1rem;
    line-height: 1.25;
  }

  .cart-page-item .qty-controls {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.2rem;
  }

  .cart-page-item .qty-btn,
  .cart-page-item .qty-controls input {
    width: 34px;
    height: 34px;
  }

  .cart-page-item .total {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.15rem;
  }

  .cart-page-item .remove-btn {
    grid-column: 2;
    justify-self: start;
  }

  .cart-page-item img,
  .cart-page__img {
    width: 76px;
    height: 76px;
    object-fit: cover;
  }

  .cart-summary {
    position: static;
    border-radius: 14px;
    padding: 1rem;
  }

  .cart-drawer {
    width: min(100vw, 430px);
  }

  .cart-drawer__header,
  .cart-drawer__items,
  .cart-drawer__footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .cart-item__img {
    width: 64px;
    height: 64px;
  }

  .cart-item__remove {
    grid-column: 2;
    justify-self: start;
  }

  .popup-overlay,
  .quickview-overlay,
  .cart-drawer-overlay {
    padding: 1rem;
  }

  .popup,
  .quickview {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    max-height: calc(100svh - 2rem);
    overflow: auto;
    border-radius: 16px;
  }

  .popup {
    grid-template-columns: 1fr;
  }

  .popup__img-side {
    min-height: 160px;
  }

  .popup__content-side,
  .quickview__content {
    padding: 1.25rem;
  }

  .popup__title {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
    line-height: 1.05;
  }

  .popup__title span {
    font-size: 1.18em;
  }

  .popup__form form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .popup__input,
  .popup__submit,
  .popup__skip {
    width: 100%;
  }

  .popup__submit {
    min-height: 46px;
    white-space: normal;
    line-height: 1.2;
  }

  .quickview {
    grid-template-columns: 1fr;
  }

  .quickview__img-side {
    min-height: 230px;
  }

  .comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table {
    min-width: 640px;
  }

  .gallery-masonry {
    columns: 1;
  }

  .gallery-item img {
    width: 100%;
  }

  .ingredient-story__inner {
    grid-template-columns: 1fr;
  }

  .ingredient-story__left,
  .ingredient-story__right {
    flex-direction: column;
    align-items: stretch;
  }

  .ingredient-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .ingredient-story__img-wrap {
    width: min(76vw, 300px);
    height: min(76vw, 300px);
  }

  .two-worlds__side {
    min-height: 420px;
    padding: 2rem 1rem;
  }

  .two-worlds__content {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    gap: 0.12rem;
  }

  .nav__logo-text,
  .nav__shop-btn {
    display: none;
  }

  .nav__logo-mark {
    width: 42px;
    height: 42px;
  }

  .nav__logo {
    position: static;
    transform: none;
    margin-right: 0;
    padding: 0;
  }

  .nav__mobile-actions {
    grid-template-columns: repeat(4, 40px);
    gap: 0;
  }

  .nav__mobile-action,
  .nav__mobile-hamburger {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .nav__badge {
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: grid !important;
    place-items: center;
    line-height: 1;
    font-size: 0.58rem;
  }

  .hero,
  .hero-slide {
    height: 100svh;
    min-height: 640px;
    max-height: none;
  }

  .hero-slide__content {
    padding-bottom: 5.5rem;
  }

  .hero-slide--light .hero-slide__bg {
    background-size: cover;
    background-position: 72% center !important;
  }

  .hero-slide--light .hero-slide__content {
    align-items: flex-start;
    justify-content: center;
    padding-top: calc(var(--nav-height) + 0.75rem);
  }

  .hero-slide--light .hero-slide__title {
    max-width: 310px;
    font-size: clamp(2.1rem, 10vw, 2.85rem);
  }

  .hero-slide--light .hero-slide__tagline {
    color: #5e3520;
    text-shadow: 0 1px 0 rgba(255,249,237,0.85);
  }

  .hero-slide--light .hero-slide__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 285px;
    gap: 0;
  }

  .hero-slide--light .hero-feature {
    min-height: 72px;
    display: grid;
    place-items: center;
  }

  .hero-slide--grain-story .hero-slide__bg {
    background-size: cover;
    background-position: 78% center !important;
  }

  .hero-slide--grain-story .hero-slide__content {
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--nav-height) + 1rem);
  }

  .hero-grain-copy {
    width: min(100%, 325px);
  }

  .hero-slide--grain-story .hero-slide__title {
    max-width: 325px;
    font-size: clamp(1.65rem, 7.4vw, 2.05rem);
  }

  .hero-slide--collection-story .hero-slide__bg {
    background-size: cover;
    background-position: 68% center !important;
  }

  .hero-slide--collection-story .hero-slide__content {
    justify-content: flex-start;
    padding-top: calc(var(--nav-height) + 1rem);
  }

  .hero-slide--collection-story .hero-collection-desc {
    color: #6d2f19 !important;
    text-shadow: 0 1px 0 rgba(255,249,237,0.95);
  }

  .hero__controls {
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .offer-tab {
    top: auto;
    bottom: calc(6rem + env(safe-area-inset-bottom));
    left: 0;
  }

  .fab-group {
    right: max(0.8rem, env(safe-area-inset-right));
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .toast-container {
    width: calc(100% - 2rem);
    left: 1rem;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    transform: none;
  }

  .toast {
    width: 100%;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-card {
    border-radius: 14px;
  }

  .product-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 0.5rem;
  }

  .product-card .btn--add-to-cart,
  .product-card .btn--detail {
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
  }

  .mobile-nav__panel {
    width: min(92vw, 360px);
  }
}

@media (max-width: 390px) {
  .hero,
  .hero-slide {
    min-height: 620px;
  }

  .hero-slide--light .hero-slide__title {
    font-size: clamp(1.95rem, 9.5vw, 2.45rem);
  }

  .hero-slide--grain-story .hero-slide__title {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }

  .hero-grain-features {
    width: min(100%, 240px);
  }

  .hero-slide--collection-story .hero-slide__title {
    font-size: clamp(1.85rem, 9.2vw, 2.3rem);
  }
}

@media (max-width: 360px) {
  .nav__inner {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }

  .nav__mobile-actions {
    grid-template-columns: repeat(4, 39px);
    gap: 0;
  }

  .nav__mobile-action,
  .nav__mobile-hamburger {
    width: 39px;
    height: 39px;
    min-width: 39px;
    min-height: 39px;
  }

  .hero,
  .hero-slide {
    min-height: 600px;
  }

  .hero-slide--light .hero-slide__features,
  .hero-collection-features {
    width: min(100%, 260px);
  }

  .product-card__actions {
    grid-template-columns: 1fr;
  }

  .product-card .btn--detail {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .nav {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden;
  }

  .nav__inner {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding-left: 0.75rem !important;
    padding-right: 0.45rem !important;
    gap: 0 !important;
  }

  .nav__actions {
    display: none !important;
  }

  .nav__logo {
    grid-column: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav__mobile-actions {
    grid-column: 3 !important;
    display: grid !important;
    position: fixed !important;
    top: calc((var(--nav-height) - 40px) / 2) !important;
    right: 0.45rem !important;
    width: 160px !important;
    grid-template-columns: repeat(4, 40px) !important;
    z-index: 210 !important;
  }
}

/* Final mobile-only correction: banner + menu button */
@media (max-width: 768px) {
  .nav__actions {
    display: none !important;
  }

  .nav__mobile-actions {
    position: fixed !important;
    top: 8px !important;
    right: 10px !important;
    z-index: 10020 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    margin: 0 !important;
    transform: none !important;
  }

  .nav__mobile-action {
    display: none !important;
  }

  .nav__mobile-hamburger {
    display: flex !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    border-radius: 50% !important;
    background: rgba(255, 249, 237, 0.32) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(18, 61, 50, 0.18) !important;
  }

  .nav.nav--solid .nav__mobile-hamburger,
  body:not(.home-page) .nav__mobile-hamburger {
    background: rgba(18, 61, 50, 0.1) !important;
    color: var(--green-deep) !important;
  }

  .hero,
  .hero-slide {
    height: 100svh !important;
    min-height: 640px !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  .hero-slide__content {
    min-height: 100% !important;
    padding: calc(var(--nav-height) + 0.85rem) 1rem 5.25rem !important;
  }

  .hero-slide--light .hero-slide__content {
    align-items: flex-start !important;
    justify-content: center !important;
  }

  .hero-slide--light .hero-slide__bg {
    background-size: cover !important;
    background-position: 72% center !important;
  }

  .hero-slide--light .hero-slide__title {
    max-width: 305px !important;
    margin-bottom: 0.75rem !important;
    font-size: clamp(2rem, 9vw, 2.6rem) !important;
    line-height: 0.94 !important;
  }

  .hero-slide--light .hero-slide__tagline {
    max-width: 300px !important;
    margin-bottom: 0.95rem !important;
    color: #5d331d !important;
    line-height: 1.35 !important;
  }

  .hero-slide--light .hero-slide__features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(100%, 285px) !important;
    margin-bottom: 1rem !important;
  }

  .hero-slide--grain-story .hero-slide__content {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-slide--grain-story .hero-slide__bg {
    background-size: cover !important;
    background-position: 78% center !important;
  }

  .hero-grain-copy {
    width: min(100%, 320px) !important;
    margin: 0 auto !important;
  }

  .hero-slide--grain-story .hero-slide__title {
    max-width: 320px !important;
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    line-height: 1 !important;
  }

  .hero-slide--collection-story .hero-slide__content {
    align-items: flex-start !important;
    justify-content: center !important;
  }

  .hero-slide--collection-story .hero-slide__bg {
    background-size: cover !important;
    background-position: 70% center !important;
  }

  .hero-collection-copy {
    width: min(100%, 305px) !important;
  }

  .hero-slide--collection-story .hero-slide__title {
    font-size: clamp(1.9rem, 9vw, 2.45rem) !important;
    line-height: 0.98 !important;
  }
}

/* Hard guard: keep the mobile menu button visible above every banner */
.nav__mobile-actions {
  position: fixed !important;
  top: 8px !important;
  left: clamp(118px, calc(100vw - 194px), 190px) !important;
  right: auto !important;
  z-index: 100000 !important;
  display: grid !important;
  grid-template-columns: repeat(4, 46px) !important;
  align-items: center !important;
  justify-content: end !important;
  width: 184px !important;
  height: 48px !important;
  max-width: calc(100vw - 126px) !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  pointer-events: auto !important;
}

@media (min-width: 769px) and (max-width: 1100px) {
  .nav__mobile-actions {
    left: auto !important;
    right: 16px !important;
  }
}

.nav__mobile-actions .nav__mobile-action {
  display: flex !important;
  position: relative !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  border-radius: 50% !important;
  color: #fff !important;
}

.nav__mobile-action svg {
  width: 20px !important;
  height: 20px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}

.nav__mobile-hamburger {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  border-radius: 50% !important;
  background: rgba(255, 249, 237, 0.34) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(18, 61, 50, 0.22) !important;
}

.nav__mobile-hamburger span {
  display: block !important;
  width: 24px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: currentColor !important;
}

@media (min-width: 1101px) {
  .nav__mobile-actions {
    display: none !important;
  }
}

/* Clean mobile drawer and banner crop */
@media (max-width: 768px) {
  body.menu-open .nav__mobile-actions {
    display: none !important;
  }

  .mobile-nav {
    z-index: 100050 !important;
  }

  .mobile-nav__overlay {
    display: none !important;
  }

  .mobile-nav__panel {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100svh !important;
    padding: 1rem 1.15rem 1.5rem !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    background: #0d3f32 !important;
  }

  .mobile-nav__header {
    margin-bottom: 1.25rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
  }

  .mobile-nav__logo-mark {
    width: 42px !important;
    height: 42px !important;
  }

  .mobile-nav__logo-text {
    font-size: 1.25rem !important;
    line-height: 1.05 !important;
  }

  .mobile-nav__close {
    width: 44px !important;
    height: 44px !important;
    color: #fff !important;
    background: rgba(255,255,255,0.12) !important;
  }

  .mobile-nav__link {
    min-height: 44px !important;
    padding: 0.78rem 0 !important;
    font-size: 1.05rem !important;
  }

  .mobile-nav__cats {
    gap: 0.55rem !important;
    margin: 1rem 0 !important;
  }

  .mobile-nav__cat {
    min-height: 38px !important;
    padding: 0.65rem 0.5rem !important;
    font-size: 0.68rem !important;
    text-align: center !important;
  }

  .mobile-nav__footer {
    margin-top: 1rem !important;
    padding-top: 1rem !important;
  }

  .hero-slide--collection-story .hero-slide__bg {
    background-position: 62% center !important;
  }

  .hero-slide--collection-story .hero-slide__bg::after {
    background:
      linear-gradient(90deg, rgba(255,249,237,0.94) 0%, rgba(255,249,237,0.74) 46%, rgba(255,249,237,0.28) 72%, rgba(255,249,237,0.08) 100%),
      linear-gradient(180deg, rgba(255,249,237,0.45), rgba(255,249,237,0.08)) !important;
  }

  .hero-slide--collection-story .hero-slide__content {
    justify-content: center !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .hero-collection-copy {
    width: min(100%, 292px) !important;
    margin: 0 !important;
  }

  .hero-slide--collection-story .hero-collection-desc {
    max-width: 255px !important;
    color: #6b2e18 !important;
    text-shadow: 0 1px 0 rgba(255,249,237,0.95) !important;
  }

  .hero-slide--collection-story .hero-collection-btns {
    width: min(100%, 250px) !important;
  }

  .hero__controls {
    bottom: 2.2rem !important;
    z-index: 50 !important;
  }

  .hero__prev,
  .hero__next {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    background: rgba(18, 61, 50, 0.96) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(18, 61, 50, 0.28) !important;
  }

  .hero__dots {
    min-height: 46px !important;
    align-items: center !important;
  }

  .testimonials {
    overflow: hidden !important;
  }

  .testimonial-carousel {
    width: 100% !important;
    overflow: hidden !important;
  }

  .testimonial-track {
    align-items: stretch !important;
  }

  .testimonial-card {
    min-width: calc(100vw - 2rem) !important;
    width: calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
    margin: 0.5rem 0 !important;
    padding: 1.25rem !important;
    box-sizing: border-box !important;
  }

  .testimonial-quote,
  .testimonial-product,
  .testimonial-name,
  .testimonial-verified {
    overflow-wrap: anywhere !important;
  }

  .footer {
    text-align: center !important;
  }

  .footer__main {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    justify-items: center !important;
    align-items: start !important;
    padding-bottom: 2rem !important;
  }

  .footer__brand,
  .footer__col,
  .footer address {
    width: 100% !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .footer__brand .nav__logo {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .footer__tagline {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .footer__socials,
  .footer__links,
  .footer__bottom,
  .footer__bottom-links,
  .footer__payment {
    align-items: center !important;
    justify-content: center !important;
  }

  .footer__links {
    gap: 0.35rem !important;
  }

  .footer__links a {
    width: 100% !important;
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.25rem 0 !important;
  }

  .footer__newsletter-form {
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .footer__newsletter-form input {
    width: 100% !important;
    text-align: center !important;
    border-right: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 10px !important;
  }

  .footer__contact-item {
    justify-content: center !important;
    text-align: center !important;
  }

  .footer__contact-icon {
    display: none !important;
  }

  .footer__bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
  }

  .comparison.section-pad {
    padding: 3.25rem 0 2.5rem !important;
  }

  .comparison .text-center {
    margin-bottom: 1.25rem !important;
  }

  .comparison .section-title {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 0.45rem !important;
  }

  .comparison .section-sub {
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
  }

  .comparison-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: table !important;
    table-layout: fixed !important;
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  .comparison .reveal {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-radius: 24px !important;
  }

  .comparison-table thead th,
  .comparison-table tbody td,
  .comparison-table tbody th {
    padding: 0.9rem 0.8rem !important;
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .comparison-table thead th {
    min-height: 78px !important;
    vertical-align: middle !important;
  }

  .comparison-table thead th:first-child,
  .comparison-table tbody th {
    width: 46% !important;
    text-align: left !important;
    font-size: 0.68rem !important;
  }

  .comparison-table thead th:nth-child(2),
  .comparison-table tbody td:nth-child(2) {
    width: 54% !important;
    font-size: 0.7rem !important;
  }

  .comparison-table thead th:nth-child(3),
  .comparison-table tbody td:nth-child(3) {
    display: none !important;
  }
}

/* Keep mobile header icons visible on light page headers. */
body:not(.home-page) .nav__mobile-actions .nav__mobile-action,
body:not(.home-page) .nav__mobile-actions .nav__mobile-hamburger,
.nav.nav--solid .nav__mobile-actions .nav__mobile-action,
.nav.nav--solid .nav__mobile-actions .nav__mobile-hamburger {
  background: rgba(18, 61, 50, 0.08) !important;
  color: var(--green-deep) !important;
  box-shadow: 0 8px 24px rgba(18, 61, 50, 0.12) !important;
}

body:not(.home-page) .nav__mobile-actions .nav__mobile-action svg,
.nav.nav--solid .nav__mobile-actions .nav__mobile-action svg {
  stroke: currentColor !important;
}
