:root {
  --paper: #fffdf8;
  --cream: #fbf7ef;
  --cream-strong: #f3eadc;
  --sage: #e8efe2;
  --sage-strong: #cdddbf;
  --green: #416b3f;
  --green-dark: #284b2b;
  --olive: #73845d;
  --gold: #c4a15d;
  --brown: #4c3829;
  --brown-soft: #7b644f;
  --line: #ded3c2;
  --shadow: 0 14px 34px rgba(75, 54, 38, 0.09);
  --shadow-soft: 0 8px 20px rgba(75, 54, 38, 0.07);
  --radius: 8px;
  --max: 1180px;
  --header-scroll-offset: 130px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-scroll-offset);
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--cream);
  font-family: "Inter", "Lato", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.cart-is-open,
body.nav-is-open,
body.checkout-is-open,
body.search-is-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(196, 161, 93, 0.6);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--green-dark);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 220;
  padding: 16px 0 10px;
  background: linear-gradient(180deg, rgba(251, 247, 239, 0.98), rgba(251, 247, 239, 0));
  border: 0;
  box-shadow: none;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
  padding-inline: 18px;
  background: rgba(255, 253, 248, 0.99);
  border: 1px solid rgba(196, 161, 93, 0.34);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(75, 54, 38, 0.105);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
  color: var(--green-dark);
}

.brand img {
  width: 48px;
  height: 48px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  background: transparent;
}

.brand span {
  white-space: nowrap;
  font-size: 17px;
  line-height: 1.1;
}

.nav-toggle,
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--green-dark);
  background: var(--sage);
  border: 1px solid var(--sage-strong);
  border-radius: var(--radius);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  position: relative;
  background: currentColor;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.site-nav {
  position: fixed;
  inset: calc(var(--header-scroll-offset) - 4px) 16px auto 16px;
  z-index: 210;
  display: grid;
  gap: 6px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.99);
  border: 1px solid rgba(196, 161, 93, 0.3);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(75, 54, 38, 0.105);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-is-open .site-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav a {
  padding: 12px 10px;
  color: var(--brown-soft);
  border-radius: var(--radius);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--green-dark);
  background: var(--sage);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-button {
  position: relative;
}

.search-button svg,
.cart-button svg,
.floating-cart svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-button svg {
  fill: none;
}

.cart-count,
.floating-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  padding-inline: 5px;
  color: #fff;
  background: var(--gold);
  border: 2px solid var(--paper);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.cart-count[hidden] {
  display: none;
}

.btn.desktop-order {
  display: none;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: grid;
  place-items: start center;
  padding: max(110px, var(--header-scroll-offset)) 16px 24px;
  background: rgba(76, 56, 41, 0.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 190ms ease, visibility 190ms ease;
}

.search-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-panel {
  position: relative;
  width: min(100%, 680px);
  padding: 24px;
  color: var(--brown);
  background: rgba(255, 253, 248, 0.99);
  border: 1px solid rgba(196, 161, 93, 0.36);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(75, 54, 38, 0.16);
  transform: translateY(-8px);
  transition: transform 190ms ease;
}

.search-overlay[aria-hidden="false"] .search-panel {
  transform: translateY(0);
}

.search-panel .eyebrow {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
}

.search-panel h2 {
  margin: 0 0 16px;
  color: var(--brown);
  font-size: clamp(27px, 4vw, 36px);
  line-height: 1.12;
}

.search-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: var(--green-dark);
  background: var(--sage);
  border: 1px solid var(--sage-strong);
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.search-close:hover {
  transform: translateY(-1px);
  background: #f1f5ec;
  box-shadow: var(--shadow-soft);
}

.search-form {
  display: grid;
  gap: 10px;
}

.search-form input {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  color: var(--brown);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.search-form input:focus {
  background: var(--paper);
  border-color: var(--sage-strong);
  box-shadow: 0 0 0 4px rgba(205, 221, 191, 0.42);
}

.search-empty-message {
  margin: 22px 0 0;
  padding: 18px;
  color: var(--brown-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
}

.search-empty-message[hidden] {
  display: none;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(75, 54, 38, 0.1);
}

.btn-primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 14px 28px rgba(65, 107, 63, 0.18);
}

.btn-secondary {
  color: var(--green-dark);
  background: var(--paper);
  border-color: var(--sage-strong);
}

.btn-soft {
  color: var(--green-dark);
  background: var(--sage);
  border-color: var(--sage-strong);
}

.btn-secondary:hover,
.btn-soft:hover {
  color: var(--green-dark);
  background: #fffdf8;
  border-color: rgba(65, 107, 63, 0.28);
}

.btn-cta-outline {
  color: #fff;
  background: rgba(255, 253, 248, 0.1);
  border-color: rgba(255, 253, 248, 0.6);
}

.btn-cta-outline:hover {
  background: rgba(255, 253, 248, 0.18);
  border-color: rgba(255, 253, 248, 0.78);
}

.btn-link {
  color: var(--green-dark);
  background: transparent;
  border-color: transparent;
}

.btn-link:hover {
  color: var(--green-dark);
  background: rgba(232, 239, 226, 0.62);
  box-shadow: none;
}

.btn-small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
}

.launch-offer-banner {
  padding: 22px 0 0;
  background: var(--cream);
}

.launch-offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--brown);
  background:
    radial-gradient(circle at 12% 18%, rgba(196, 161, 93, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(232, 239, 226, 0.76));
  border: 1px solid rgba(196, 161, 93, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(75, 54, 38, 0.08);
}

.launch-offer-copy {
  display: grid;
  gap: 4px;
  position: relative;
  z-index: 1;
  transform-origin: left center;
  animation: sundia-launch-copy-breathe 9.6s ease-in-out infinite;
}

.launch-offer-copy p,
.launch-offer-copy span {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.launch-offer-copy p {
  color: var(--olive);
  font-size: clamp(15px, 1.45vw, 18px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-offer-kicker {
  width: fit-content;
  position: relative;
  isolation: isolate;
  opacity: 0;
  transform: translateY(8px);
  background-image: linear-gradient(90deg, var(--olive) 0%, var(--olive) 36%, var(--gold) 50%, var(--olive) 64%, var(--olive) 100%);
  background-size: 240% 100%;
  background-position: 0% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 0 rgba(196, 161, 93, 0);
  -webkit-text-fill-color: transparent;
  animation:
    sundia-launch-kicker-sequence 9.6s ease-in-out infinite,
    sundia-launch-kicker-shimmer 9.6s ease-in-out infinite;
}

.launch-offer-kicker::after {
  content: "";
  position: absolute;
  inset: -5px -9px;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(196, 161, 93, 0.16), transparent);
  opacity: 0;
  transform: translateX(-8%);
  pointer-events: none;
  animation: sundia-launch-kicker-halo 9.6s ease-in-out infinite;
}

.launch-offer-leaf {
  display: inline-block;
  margin-left: 4px;
}

.launch-offer-copy strong {
  color: var(--green-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2.6vw, 31px);
  line-height: 1.12;
}

.launch-offer-copy span {
  color: var(--brown-soft);
}

.launch-offer-title,
.launch-offer-date {
  opacity: 0;
  transform: translateY(8px);
  animation-duration: 9.6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.launch-offer-title {
  animation-name: sundia-launch-title-sequence;
}

.launch-offer-date {
  animation-name: sundia-launch-date-sequence;
}

.launch-offer-card > .btn {
  position: relative;
  z-index: 1;
}

@keyframes sundia-launch-copy-breathe {
  0%,
  40%,
  64%,
  100% {
    transform: scale(1);
  }

  48% {
    transform: scale(1.008);
  }

  56% {
    transform: scale(1.003);
  }
}

@keyframes sundia-launch-kicker-sequence {
  0% {
    opacity: 0;
    transform: translateY(8px);
    text-shadow: 0 0 0 rgba(196, 161, 93, 0);
  }

  9%,
  78% {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 13px rgba(196, 161, 93, 0.22);
  }

  92%,
  100% {
    opacity: 0;
    transform: translateY(-3px);
    text-shadow: 0 0 0 rgba(196, 161, 93, 0);
  }
}

@keyframes sundia-launch-kicker-shimmer {
  0%,
  42% {
    background-position: 0% 50%;
  }

  68%,
  100% {
    background-position: 140% 50%;
  }
}

@keyframes sundia-launch-kicker-halo {
  0%,
  18%,
  100% {
    opacity: 0;
    transform: translateX(-8%);
  }

  48% {
    opacity: 0.48;
    transform: translateX(4%);
  }

  72% {
    opacity: 0;
    transform: translateX(8%);
  }
}

@keyframes sundia-launch-title-sequence {
  0%,
  10% {
    opacity: 0;
    transform: translateY(8px);
  }

  21%,
  78% {
    opacity: 1;
    transform: translateY(0);
  }

  92%,
  100% {
    opacity: 0;
    transform: translateY(-3px);
  }
}

@keyframes sundia-launch-date-sequence {
  0%,
  21% {
    opacity: 0;
    transform: translateY(8px);
  }

  32%,
  78% {
    opacity: 1;
    transform: translateY(0);
  }

  92%,
  100% {
    opacity: 0;
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-offer-copy,
  .launch-offer-kicker,
  .launch-offer-kicker::after,
  .launch-offer-title,
  .launch-offer-date {
    animation: none;
  }

  .launch-offer-copy {
    transform: none;
  }

  .launch-offer-kicker {
    color: var(--olive);
    opacity: 1;
    transform: none;
    background-image: none;
    -webkit-text-fill-color: currentColor;
  }

  .launch-offer-title,
  .launch-offer-date {
    opacity: 1;
    transform: none;
  }
}

.hero-home {
  min-height: 72svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(251, 247, 239, 0.98) 0%, rgba(251, 247, 239, 0.92) 43%, rgba(251, 247, 239, 0.28) 74%),
    url("../images/lifestyle/hero-sundia.jpg");
  background-size: cover;
  background-position: 64% center;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  max-width: 610px;
  padding: 72px 0 84px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 8px;
  color: var(--olive);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brown);
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  font-size: 42px;
}

h2 {
  font-size: 31px;
}

h3 {
  font-size: 23px;
}

.hero-content p,
.page-hero p,
.section-heading p,
.cta-band p {
  max-width: 640px;
  color: var(--brown-soft);
  font-size: 17px;
}

.hero-actions,
.section-actions,
.card-actions,
.contact-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 28px;
}

.page-hero {
  padding: 70px 0 48px;
  background:
    linear-gradient(135deg, rgba(232, 239, 226, 0.92), rgba(251, 247, 239, 0.9)),
    url("../images/lifestyle/routine-products.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.page-hero.is-packs {
  background-image:
    linear-gradient(135deg, rgba(251, 247, 239, 0.93), rgba(232, 239, 226, 0.82)),
    url("../images/packs-final/pack-pure-elegance.png");
}

.page-hero.is-testimonials {
  background-image:
    linear-gradient(135deg, rgba(251, 247, 239, 0.94), rgba(232, 239, 226, 0.86)),
    url("../images/lifestyle/result-serum.jpg");
}

.packs-hero .container,
.packs-selection-heading,
.testimonials-hero .container,
.testimonials-heading,
.ingredients-hero .container,
.contact-hero .container {
  display: grid;
  gap: 10px;
}

.packs-hero .packs-kicker,
.packs-selection-heading .packs-section-kicker,
.testimonials-hero .testimonials-kicker,
.testimonials-heading .testimonials-section-kicker,
.ingredients-hero .ingredients-kicker,
.contact-hero .contact-kicker {
  width: fit-content;
  margin: 0;
  color: rgba(115, 132, 93, 0.92);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.055em;
}

.packs-hero .packs-kicker,
.packs-selection-heading .packs-section-kicker,
.testimonials-hero .testimonials-kicker,
.testimonials-heading .testimonials-section-kicker,
.ingredients-hero .ingredients-kicker,
.contact-hero .contact-kicker {
  text-transform: uppercase;
}

.packs-hero-title,
.testimonials-hero-title {
  max-width: 660px;
  font-size: clamp(32px, 4.05vw, 52px);
  line-height: 1.14;
}

.testimonials-hero-title {
  max-width: 760px;
  font-size: clamp(30px, 3.35vw, 44px);
}

.ingredients-hero-title {
  max-width: 760px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.14;
}

.contact-hero-title {
  max-width: 760px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.14;
}

.packs-section-title,
.testimonials-section-title {
  font-size: clamp(27px, 2.75vw, 34px);
  line-height: 1.16;
}

.testimonials-section-title {
  font-size: clamp(25px, 2.45vw, 31px);
}

.packs-hero .packs-hero-copy,
.packs-selection-heading .packs-section-copy,
.testimonials-hero .testimonials-hero-copy,
.testimonials-heading .testimonials-section-copy,
.ingredients-hero .ingredients-hero-copy,
.contact-hero .contact-hero-copy {
  margin: 0;
  font-family: "Inter", "Lato", Arial, sans-serif;
  font-size: clamp(16px, 1.3vw, 17px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0;
}

.packs-hero .packs-hero-copy,
.testimonials-hero .testimonials-hero-copy,
.ingredients-hero .ingredients-hero-copy,
.contact-hero .contact-hero-copy {
  max-width: 620px;
}

.packs-selection-heading .packs-section-copy,
.testimonials-heading .testimonials-section-copy {
  max-width: 560px;
}

.testimonials-heading .testimonials-section-copy {
  max-width: 720px;
}

.section {
  padding: 58px 0;
}

.section-cta-home {
  padding-top: 30px;
  padding-bottom: 48px;
}

.section-cta-home .container {
  width: min(100% - 32px, 1080px);
}

.section-muted {
  background: var(--paper);
}

.section-sage {
  background: var(--sage);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-heading.with-action {
  grid-template-columns: 1fr;
  align-items: end;
}

.section-heading .comparison-intro {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.45;
  text-transform: none;
}

.featured-products-heading .eyebrow,
.featured-packs-heading .eyebrow {
  margin-bottom: 7px;
  color: rgba(115, 132, 93, 0.88);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.featured-products-heading > div,
.featured-packs-heading > div {
  display: grid;
  gap: 7px;
}

.featured-products-heading > div > p:not(.eyebrow),
.featured-packs-heading > div > p:not(.eyebrow) {
  max-width: 660px;
}

.testimonials-home-heading {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin: 0 0 30px;
}

.testimonials-home-heading h2 {
  max-width: 760px;
  font-size: clamp(23px, 1.75vw, 27px);
  line-height: 1.25;
}

.testimonials-link {
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid rgba(65, 107, 63, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.5);
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 800;
  box-shadow: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.testimonials-link:hover {
  background: rgba(255, 253, 248, 0.74);
  border-color: rgba(65, 107, 63, 0.34);
  transform: translateY(-1px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.trust-item,
.contact-card,
.ingredient-card,
.quote-card,
.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.trust-item {
  padding: 18px;
}

.trust-item strong {
  display: block;
  color: var(--green-dark);
  font-weight: 800;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--brown-soft);
  font-size: 14px;
}

.product-grid,
.packs-grid,
.ingredient-grid,
.testimonial-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.product-card,
.pack-card,
.testimonial-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.product-card,
.pack-card {
  scroll-margin-top: var(--header-scroll-offset);
}

.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pack-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card[hidden] {
  display: none;
}

.product-media,
.pack-media {
  display: block;
  background: var(--cream-strong);
  border-bottom: 1px solid var(--line);
}

.product-media {
  aspect-ratio: 1 / 1.05;
  padding: 8px;
}

.pack-media {
  aspect-ratio: 1 / 1;
  padding: 8px;
}

.product-media img,
.pack-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.product-content,
.pack-content {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.product-card .card-actions {
  margin-top: auto;
  justify-content: center;
}

.product-card .card-actions .btn {
  width: min(100%, 220px);
}

.product-card .product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-details-trigger,
.product-details-link {
  flex: 0 0 auto;
}

.pack-card .pack-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pack-card .card-title-row {
  min-height: 56px;
}

.pack-summary {
  min-height: 78px;
}

.pack-card .included-pills {
  min-height: 66px;
  align-content: flex-start;
}

.pack-card .card-actions {
  margin-top: auto;
}

.pack-card .card-actions .btn {
  flex: 1 1 0;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}

.card-title-row strong {
  flex: 0 0 auto;
  color: var(--green-dark);
  font-weight: 900;
}

.product-content p,
.pack-content p,
.ingredient-card p,
.contact-card p,
.faq-list p,
.footer p {
  margin: 0;
  color: var(--brown-soft);
}

.details-panel {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.details-panel summary {
  color: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
}

.details-content {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.product-long-description {
  display: grid;
  gap: 8px;
  padding-bottom: 2px;
}

.product-long-description p {
  margin: 0;
}

.details-content h4,
.pack-details h4 {
  margin: 10px 0 0;
  color: var(--brown);
  font-size: 15px;
}

.detail-subsection {
  display: grid;
  gap: 4px;
}

.detail-subsection h5 {
  margin: 2px 0 0;
  color: var(--green-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
}

.detail-subsection p {
  margin: 0;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  margin: 3px 0;
  color: var(--brown-soft);
}

.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 14px 0;
  margin-bottom: 18px;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--green-dark);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-chip.is-active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

@media (hover: hover) {
  .product-card:hover,
  .pack-card:hover,
  .testimonial-card:hover {
    transform: translateY(-3px);
    border-color: rgba(65, 107, 63, 0.18);
    box-shadow: 0 18px 40px rgba(75, 54, 38, 0.12);
  }

  .filter-chip:hover {
    color: var(--green-dark);
    background: var(--sage);
    border-color: var(--sage-strong);
    transform: translateY(-1px);
  }

  .filter-chip.is-active:hover {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
  }
}

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

.included-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.included-pills span {
  padding: 6px 9px;
  color: var(--green-dark);
  background: var(--sage);
  border: 1px solid var(--sage-strong);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}

.pack-details {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.pack-ideal strong {
  color: var(--brown);
  font-weight: 800;
}

.comparison {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.comparison table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.comparison th,
.comparison td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.comparison th {
  color: var(--green-dark);
  background: var(--sage);
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.split-feature {
  display: grid;
  gap: 24px;
  align-items: center;
}

.split-feature img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home-ingredients .eyebrow {
  margin-bottom: 12px;
  color: var(--brown);
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(31px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-ingredients h2 {
  font-family: "Inter", "Lato", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.home-ingredients h2 + p {
  max-width: 590px;
  margin-top: 14px;
  font-family: "Inter", "Lato", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0;
}

.soft-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.soft-list span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-dark);
  font-weight: 800;
}

.soft-list span::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 999px;
}

.ingredient-card {
  padding: 22px;
}

.ingredient-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--green);
  background: var(--sage);
  border-radius: var(--radius);
}

.ingredient-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.testimonial-card {
  padding: 10px;
}

.testimonial-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.quote-card {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 220px;
  padding: 24px;
}

.quote-card p {
  color: var(--brown);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  line-height: 1.28;
}

.quote-card strong {
  color: var(--green-dark);
}

.note-box {
  padding: 18px;
  color: var(--brown-soft);
  background: var(--sage);
  border: 1px solid var(--sage-strong);
  border-radius: var(--radius);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px;
}

.faq-list summary {
  color: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin-top: 10px;
}

.contact-card {
  padding: 22px;
}

.contact-card h3 {
  margin-bottom: 8px;
}

.contact-grid .contact-card h3 {
  font-size: clamp(20px, 1.65vw, 22px);
  line-height: 1.18;
}

.contact-grid .contact-card > p {
  margin: 0;
  color: var(--brown-soft);
  font-family: "Inter", "Lato", Arial, sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.6;
}

.contact-grid .contact-actions .btn {
  min-width: 160px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  color: var(--green-dark);
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--brown);
  background: var(--paper);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.cta-band {
  padding: 34px 22px;
  background:
    linear-gradient(135deg, rgba(65, 107, 63, 0.92), rgba(40, 75, 43, 0.92)),
    url("../images/lifestyle/ingredients-oil.jpg");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  color: #fff;
}

.cta-advice {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(65, 107, 63, 0.81), rgba(40, 75, 43, 0.79)),
    url("../images/lifestyle/ingredients-oil.jpg");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 253, 248, 0.18);
}

.cta-advice h2 {
  max-width: 620px;
  font-family: "Inter", "Lato", Arial, sans-serif;
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.cta-advice h2 + p {
  max-width: 590px;
  margin-top: 10px;
  font-family: "Inter", "Lato", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0;
}

.cta-advice .btn {
  min-height: 42px;
  padding: 8px 14px;
  font-size: 14px;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  opacity: 0.9;
}

.cta-band .btn {
  margin-top: 18px;
}

.cta-actions {
  margin-top: 14px;
  gap: 8px;
}

.cta-advice .cta-actions {
  width: 100%;
  justify-content: center;
}

.cta-actions .btn {
  margin-top: 0;
}

.site-footer {
  background: #efe5d6;
  border-top: 1px solid var(--line);
}

.footer {
  display: grid;
  gap: 30px;
  padding: 48px 0 30px;
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.footer-brand img {
  width: 110px;
  height: 110px;
  display: block;
  margin-bottom: 0;
  object-fit: contain;
  background: transparent;
}

.footer-brand h2 {
  margin-bottom: 6px;
}

.footer-brand p {
  max-width: 340px;
  margin: 0;
  color: var(--brown-soft);
}

.footer h2,
.footer h3 {
  color: var(--green-dark);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer h3 + .footer-links {
  margin-top: 14px;
}

.footer-contact h3 + .footer-social {
  gap: 12px;
  margin-top: 20px;
}

.footer-links a {
  color: var(--brown-soft);
  transition: color 160ms ease, padding-left 160ms ease, transform 160ms ease;
}

.footer-links a:hover {
  color: var(--green-dark);
}

.footer-links a[href^="https://wa.me"],
.footer-links a[href*="instagram.com"],
.footer-links a[href*="facebook.com"] {
  width: 138px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(65, 107, 63, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.46);
  color: var(--green-dark);
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.footer-links a[href^="https://wa.me"]::before,
.footer-links a[href*="instagram.com"]::before,
.footer-links a[href*="facebook.com"]::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  background: currentColor;
  opacity: 0.78;
  -webkit-mask: var(--footer-icon) center / contain no-repeat;
  mask: var(--footer-icon) center / contain no-repeat;
}

.footer-links a[href^="https://wa.me"] {
  --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5A9.4 9.4 0 0 0 4 16.8L3 21l4.3-1.1A9.4 9.4 0 1 0 12 2.5Zm0 2A7.4 7.4 0 1 1 8.2 18l-.4-.2-2.1.5.5-2-.3-.5A7.4 7.4 0 0 1 12 4.5Zm-3.1 3.6c-.3 0-.6.1-.9.5-.3.4-.8 1-.8 2.1 0 1.1.8 2.3.9 2.5.1.2 1.6 2.6 4 3.5 2 .8 2.4.6 2.8.6.4-.1 1.3-.5 1.5-1.1.2-.6.2-1 .1-1.1-.1-.1-.3-.2-.6-.4l-1.4-.7c-.3-.1-.5-.1-.7.2-.2.3-.7.9-.9 1.1-.2.2-.3.2-.6.1-.3-.1-1.1-.4-2-1.2-.7-.7-1.2-1.5-1.4-1.8-.1-.3 0-.4.1-.6l.4-.5c.1-.2.2-.3.3-.5.1-.2 0-.4 0-.5L9.1 8.6c-.1-.4-.3-.5-.6-.5h.4Z'/%3E%3C/svg%3E");
}

.footer-links a[href*="instagram.com"] {
  --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M7.5 2h9A5.5 5.5 0 0 1 22 7.5v9a5.5 5.5 0 0 1-5.5 5.5h-9A5.5 5.5 0 0 1 2 16.5v-9A5.5 5.5 0 0 1 7.5 2Zm0 2A3.5 3.5 0 0 0 4 7.5v9A3.5 3.5 0 0 0 7.5 20h9a3.5 3.5 0 0 0 3.5-3.5v-9A3.5 3.5 0 0 0 16.5 4h-9ZM12 7.3a4.7 4.7 0 1 0 0 9.4 4.7 4.7 0 0 0 0-9.4Zm0 2A2.7 2.7 0 1 1 12 14.7 2.7 2.7 0 0 1 12 9.3Zm5-2.1a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4Z'/%3E%3C/svg%3E");
}

.footer-links a[href*="facebook.com"] {
  --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h2.3V5H14c-2.7 0-4.3 1.6-4.3 4.4V12H7.5v3h2.2v7h3.2v-7h2.7l.5-3h-3.2V9.6c0-1 .4-1.6 1.1-1.6Z'/%3E%3C/svg%3E");
}

.footer-links a[href^="https://wa.me"]:hover,
.footer-links a[href*="instagram.com"]:hover,
.footer-links a[href*="facebook.com"]:hover {
  border-color: rgba(65, 107, 63, 0.34);
  background: rgba(255, 253, 248, 0.72);
  color: var(--green-dark);
  transform: translateY(-1px);
}

.footer-nav-links {
  gap: 12px;
}

.footer-nav-links a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brown);
  font-size: 16.5px;
  font-weight: 700;
}

.footer-nav-links a::before {
  content: "›";
  color: var(--olive);
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.footer-nav-links a:hover {
  color: var(--green-dark);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--brown-soft);
  font-size: 14px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(65, 107, 63, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.44);
  color: var(--green-dark);
  font-weight: 800;
}

.footer-badge::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: currentColor;
  opacity: 0.72;
  -webkit-mask: var(--footer-badge-icon) center / contain no-repeat;
  mask: var(--footer-badge-icon) center / contain no-repeat;
}

.footer-badge-shipping {
  --footer-badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6.5A2.5 2.5 0 0 1 5.5 4H14v10.5H3v-8ZM16 8h2.8l2.2 3.1v3.4h-5V8ZM6.5 20a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm11 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8ZM5.5 6a.5.5 0 0 0-.5.5v6h7V6H5.5Zm12 11.2a.4.4 0 1 0 0 .8.4.4 0 0 0 0-.8Zm-11 0a.4.4 0 1 0 0 .8.4.4 0 0 0 0-.8Z'/%3E%3C/svg%3E");
}

.footer-badge-payment {
  --footer-badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16a2 2 0 0 1 2 2v1.2H2V8a2 2 0 0 1 2-2Zm-2 5.2h20V16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4.8Zm3 3.1v1.5h5v-1.5H5Zm11.5-.1a1.3 1.3 0 1 0 0 2.6 1.3 1.3 0 0 0 0-2.6Zm2.8 0a1.3 1.3 0 1 0 0 2.6 1.3 1.3 0 0 0 0-2.6Z'/%3E%3C/svg%3E");
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(40, 32, 24, 0.32);
  border: 0;
}

.cart-overlay[hidden] {
  display: none;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 110;
  width: min(100%, 430px);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  box-shadow: -18px 0 36px rgba(43, 34, 25, 0.14);
  transform: translateX(104%);
  transition: transform 220ms ease;
}

.cart-is-open .cart-drawer {
  transform: translateX(0);
}

.cart-head,
.cart-footer {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.cart-head h2 {
  font-size: 26px;
}

.cart-body {
  overflow-y: auto;
  padding: 16px;
}

.cart-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  color: var(--brown);
  font-size: 18px;
}

.cart-total strong {
  color: var(--green-dark);
}

.promo-box {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(232, 239, 226, 0.42);
  border: 1px solid rgba(205, 221, 191, 0.82);
  border-radius: var(--radius);
}

.promo-toggle {
  width: fit-content;
  padding: 0;
  color: var(--green-dark);
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.promo-toggle:hover {
  color: var(--brown);
}

.promo-fields {
  display: grid;
  gap: 8px;
}

.promo-fields[hidden] {
  display: none;
}

.promo-fields input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--brown);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.promo-fields input:focus {
  border-color: var(--sage-strong);
  box-shadow: 0 0 0 4px rgba(205, 221, 191, 0.36);
}

.promo-status {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.promo-status.is-valid {
  color: var(--green-dark);
}

.promo-status.is-invalid {
  color: #8a3f32;
}

.cart-promo-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.cart-promo-row[hidden],
.checkout-promo-row[hidden] {
  display: none;
}

.launch-offer-note {
  margin: 0 0 10px;
  padding: 10px 12px;
  color: var(--green-dark);
  background: rgba(232, 239, 226, 0.58);
  border: 1px solid rgba(65, 107, 63, 0.16);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.launch-offer-note.is-pending {
  color: var(--brown-soft);
  background: rgba(255, 253, 248, 0.7);
  border-color: rgba(196, 161, 93, 0.3);
}

.launch-offer-note[hidden] {
  display: none;
}

.checkout-promo-box {
  margin: 2px 0 0;
  padding: 11px;
}

.cart-line {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cream-strong);
}

.cart-line h3 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.3;
}

.cart-line p {
  margin: 2px 0 8px;
  color: var(--brown-soft);
}

.quantity-control {
  width: fit-content;
  display: inline-grid;
  grid-template-columns: 34px 36px 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.quantity-control button,
.remove-line {
  border: 0;
  color: var(--green-dark);
  background: var(--sage);
  font-weight: 900;
}

.quantity-control button {
  height: 34px;
}

.quantity-control span {
  text-align: center;
  font-weight: 800;
}

.remove-line {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
}

.cart-empty {
  display: grid;
  gap: 6px;
  padding: 26px;
  text-align: center;
  color: var(--brown-soft);
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.cart-empty p {
  margin: 0;
  color: var(--brown);
  font-weight: 800;
}

.floating-cart {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 75;
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 919px) {
  :root {
    --header-scroll-offset: 92px;
  }

  .site-header {
    padding: 8px 0 6px;
  }

  .header-inner {
    min-height: 68px;
    gap: 8px;
    padding-block: 7px;
    padding-inline: 12px;
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(75, 54, 38, 0.095);
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    display: none;
  }

  .nav-toggle,
  .icon-button {
    width: 42px;
    height: 42px;
  }

  .site-nav {
    inset: calc(var(--header-scroll-offset) - 2px) 14px auto 14px;
    max-height: calc(100dvh - var(--header-scroll-offset) - 18px);
    overflow-y: auto;
  }

  .floating-cart {
    display: none;
  }
}

.floating-cart-count {
  top: -7px;
  right: -7px;
}

.toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 86px;
  z-index: 130;
  max-width: 420px;
  margin-inline: auto;
  padding: 13px 16px;
  color: #fff;
  text-align: center;
  background: var(--green-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.order-confirmation-toast {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 132;
  width: min(calc(100% - 32px), 430px);
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  color: var(--brown);
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(232, 239, 226, 0.96));
  border: 1px solid var(--sage-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.order-confirmation-toast[hidden] {
  display: none;
}

.order-confirmation-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.order-confirmation-toast strong {
  color: var(--green-dark);
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 1.18;
}

.order-confirmation-toast span {
  color: var(--brown-soft);
  font-size: 14.5px;
  line-height: 1.5;
}

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(40, 32, 24, 0.36);
  border: 0;
}

.checkout-overlay[hidden] {
  display: none;
}

.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 125;
  width: min(calc(100% - 28px), 760px);
  max-height: 92dvh;
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 48px rgba(43, 34, 25, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.checkout-is-open .checkout-modal {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(251, 247, 239, 0.98), rgba(232, 239, 226, 0.72));
}

.checkout-head h2 {
  font-size: clamp(28px, 3vw, 36px);
}

.checkout-head p:not(.eyebrow) {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--brown-soft);
  font-size: 15.5px;
}

.checkout-form {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.checkout-summary {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checkout-summary h3 {
  font-family: "Inter", "Lato", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: var(--green-dark);
}

.checkout-summary ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-summary li,
.checkout-summary-total,
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--brown-soft);
  font-size: 14.5px;
}

.checkout-summary li strong,
.checkout-summary-total strong,
.checkout-summary-row strong {
  color: var(--brown);
  white-space: nowrap;
}

.checkout-summary-breakdown {
  display: grid;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.checkout-summary-note {
  color: var(--olive);
  font-size: 13px;
  font-weight: 700;
}

.checkout-summary .launch-offer-note {
  margin-bottom: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.checkout-summary .launch-offer-note.is-pending {
  color: var(--brown-soft);
}

.checkout-summary-total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--brown);
  font-weight: 800;
}

.checkout-summary-final {
  color: var(--green-dark);
}

.checkout-summary-final strong {
  color: var(--green-dark);
  font-size: 16px;
}

.checkout-fields {
  display: grid;
  gap: 14px;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px;
  color: var(--brown-soft);
  background: rgba(232, 239, 226, 0.54);
  border: 1px solid var(--sage-strong);
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.55;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--green);
}

.checkout-error,
.checkout-confirmation {
  margin: 0;
  padding: 13px 14px;
  border-radius: var(--radius);
  font-weight: 700;
}

.checkout-error {
  color: #7a332b;
  background: #f7e5df;
  border: 1px solid #eac8bd;
}

.checkout-confirmation {
  color: var(--green-dark);
  background: var(--sage);
  border: 1px solid var(--sage-strong);
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkout-actions .btn {
  min-width: 190px;
}

.checkout-actions .btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

@media (min-width: 680px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 40px;
  }

  .search-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .product-grid,
  .ingredient-grid,
  .testimonial-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-heading.with-action {
    grid-template-columns: 1fr auto;
  }

  .packs-grid:not(.featured-packs) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .packs-grid:not(.featured-packs) > .pack-card {
    grid-column: span 2;
  }

  .packs-grid:not(.featured-packs) > .pack-card:last-child:nth-child(odd) {
    grid-column: 2 / span 2;
  }

  .product-card .product-category {
    min-height: 21px;
  }

  .product-card .product-title-row {
    min-height: 88px;
    align-content: flex-start;
  }

  .product-card .product-summary {
    min-height: 86px;
  }

  .testimonials-home-heading {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .checkout-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-field-wide {
    grid-column: 1 / -1;
  }

  .footer {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    column-gap: 50px;
    align-items: start;
  }

  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (min-width: 920px) {
  :root {
    --header-scroll-offset: 142px;
  }

  .header-inner {
    min-height: 104px;
    padding-block: 11px;
    padding-inline: 22px;
  }

  .brand img {
    width: 64px;
    height: 64px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    padding: 10px 8px;
    font-size: 14px;
  }

  .btn.desktop-order {
    display: inline-flex;
  }

  .hero-home {
    min-height: 76svh;
    background-position: center;
  }

  .hero-content {
    padding: 96px 0 108px;
  }

  h1 {
    font-size: 68px;
  }

  .section {
    padding: 76px 0;
  }

  .section-cta-home {
    padding-top: 32px;
    padding-bottom: 54px;
  }

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

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

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

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

  .pack-card:not(.is-compact) {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
  }

  .pack-card:not(.is-compact) .pack-media {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .split-feature {
    grid-template-columns: 0.9fr 1.1fr;
  }

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

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

  .floating-cart {
    display: none;
  }

  .footer-brand img {
    width: 136px;
    height: 136px;
    margin-bottom: 0;
  }
}

@media (min-width: 1100px) {
  .site-nav a {
    padding: 10px 11px;
  }

  .packs-grid:not(.featured-packs) {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .packs-grid:not(.featured-packs) > .pack-card {
    grid-column: span 2;
  }

  .packs-grid:not(.featured-packs) > .pack-card:last-child:nth-child(odd) {
    grid-column: span 2;
  }

  .packs-grid:not(.featured-packs) > .pack-card:nth-last-child(2):nth-child(3n + 1) {
    grid-column: 2 / span 2;
  }

  .packs-grid:not(.featured-packs) .pack-card:not(.is-compact) {
    display: flex;
    flex-direction: column;
  }

  .packs-grid:not(.featured-packs) .pack-card:not(.is-compact) .pack-media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 420px) {
  :root {
    --header-scroll-offset: 90px;
  }

  .container {
    width: min(100% - 24px, var(--max));
  }

  .header-inner {
    min-height: 66px;
    padding-block: 6px;
    padding-inline: 12px;
    border-radius: 12px;
  }

  .brand span {
    display: none;
  }

  .hero-actions .btn,
  .card-actions .btn,
  .section-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .section {
    padding: 50px 0;
  }

  .section-cta-home {
    padding-top: 30px;
    padding-bottom: 42px;
  }

  .section-cta-home .container {
    width: min(100% - 24px, 1080px);
  }

  .featured-products-heading .eyebrow,
  .featured-packs-heading .eyebrow {
    font-size: 14px;
  }

  .testimonials-home-heading {
    justify-items: start;
    text-align: left;
    margin-bottom: 24px;
  }

  .testimonials-home-heading h2 {
    font-size: 23px;
  }

  .testimonials-link {
    width: fit-content;
  }

  .cta-advice {
    padding: 24px 18px;
  }

  .cta-advice h2 {
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: 0.03em;
  }

  .cta-advice h2 + p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.58;
  }

  .cta-advice .btn {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .checkout-modal {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 94dvh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: var(--radius) var(--radius) 0 0;
    transform: translateY(100%);
  }

  .checkout-is-open .checkout-modal {
    transform: translateY(0);
  }

  .checkout-head,
  .checkout-form {
    padding: 18px;
  }

  .order-confirmation-toast {
    right: 16px;
    bottom: 82px;
    width: calc(100% - 32px);
  }

  .checkout-actions .btn {
    width: 100%;
  }

  .pack-card .card-actions .btn {
    flex-basis: 100%;
  }

  .pack-card .card-title-row,
  .pack-summary,
  .pack-card .included-pills {
    min-height: 0;
  }

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

  .product-card .product-category,
  .product-card .product-title-row,
  .product-card .product-summary {
    min-height: 0;
  }

  .page-hero {
    padding: 62px 0 42px;
  }

  .product-content,
  .pack-content {
    padding: 16px;
  }

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

  .launch-offer-banner {
    padding-top: 14px;
  }

  .launch-offer-card {
    align-items: stretch;
    flex-direction: column;
    padding: 15px;
  }

  .launch-offer-card .btn {
    width: 100%;
  }

  h1 {
    font-size: 36px;
  }

  .hero-home {
    background-position: 70% center;
  }
}

/* Mobile header final override: keeps the closed menu fully invisible. */
@media (max-width: 919px) {
  :root {
    --header-scroll-offset: 86px !important;
  }

  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 500 !important;
    overflow: visible !important;
    padding: 6px 0 !important;
    background: linear-gradient(180deg, rgba(251, 247, 239, 0.98), rgba(251, 247, 239, 0)) !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .site-header .header-inner {
    position: relative !important;
    min-height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 6px 10px !important;
    overflow: visible !important;
    border-radius: 12px !important;
  }

  .site-header .brand {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 2 !important;
    order: 2 !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    transform: translate(-50%, -50%) !important;
  }

  .site-header .brand img {
    width: 42px !important;
    height: 42px !important;
  }

  .site-header .brand span {
    display: none !important;
  }

  .site-header .header-actions {
    order: 3 !important;
    margin-left: auto !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .site-header .search-button {
    order: 1 !important;
  }

  .site-header .cart-button {
    order: 2 !important;
  }

  .site-header .nav-toggle {
    order: 1 !important;
    margin-right: auto !important;
  }

  .site-header .nav-toggle,
  .site-header .icon-button {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 auto !important;
  }

  .site-header .desktop-order {
    display: none !important;
  }

  .search-overlay {
    padding-top: 96px !important;
  }

  .search-panel {
    width: min(100%, 520px);
    padding: 20px;
  }

  .site-header .site-nav {
    position: absolute !important;
    top: calc(100% + 16px) !important;
    left: 12px !important;
    right: 12px !important;
    z-index: 520 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 14px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
    background: rgba(255, 253, 248, 0.99) !important;
    border: 1px solid rgba(196, 161, 93, 0.32) !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 34px rgba(75, 54, 38, 0.105) !important;
    transition: opacity 180ms ease, transform 180ms ease, max-height 180ms ease, padding 180ms ease !important;
  }

  .site-header .site-nav a,
  .site-header .site-nav .nav-link {
    display: none !important;
  }

  body.nav-is-open .site-header .site-nav,
  .nav-is-open .site-header .site-nav,
  .site-header.nav-is-open .site-nav {
    max-height: 80vh !important;
    padding: 14px !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  body.nav-is-open .site-header .site-nav a,
  body.nav-is-open .site-header .site-nav .nav-link,
  .nav-is-open .site-header .site-nav a,
  .nav-is-open .site-header .site-nav .nav-link,
  .site-header.nav-is-open .site-nav a,
  .site-header.nav-is-open .site-nav .nav-link {
    display: block !important;
  }

  .floating-cart,
  .cart-floating,
  .cart-float,
  .sticky-cart,
  .cart-button-floating {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .site-header .desktop-order {
    display: none !important;
  }
}

/* Desktop search/header balance: keeps the search icon aligned with the cart button. */
@media (min-width: 920px) {
  .site-header .header-inner {
    width: min(100% - 32px, 1240px);
  }

  .site-header .header-actions {
    margin-left: 0;
    gap: 8px;
  }

  .site-header .search-button,
  .site-header .cart-button {
    width: 44px;
    height: 44px;
    color: var(--green-dark);
    background: var(--sage);
    border: 1px solid var(--sage-strong);
    border-radius: var(--radius);
  }

  .site-header .search-button svg,
  .site-header .cart-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

/* Packs page final alignment: center a single last card on wide desktop grids. */
@media (min-width: 1100px) {
  .packs-grid:not(.featured-packs) > .pack-card:last-child:nth-child(3n + 1) {
    grid-column: 3 / span 2;
  }
}
