/* ============ The VitaShoppe — Design System ============ */
:root {
  --green-900: #14331f;
  --green-800: #1d4529;
  --green-700: #2f7d4f;
  --green-600: #3d9a63;
  --green-500: #57b87e;
  --green-100: #e4f3e9;
  --green-50:  #f2f9f4;
  --cream:     #faf7f0;
  --sand:      #f1ead9;
  --ink:       #1c2321;
  --ink-soft:  #4a5650;
  --muted:     #7b8680;
  --white:     #ffffff;
  --gold:      #e8a13c;
  --danger:    #c8452f;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(20, 51, 31, .08), 0 1px 2px rgba(20, 51, 31, .06);
  --shadow-md: 0 8px 24px rgba(20, 51, 31, .12);
  --shadow-lg: 0 24px 60px rgba(20, 51, 31, .18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font: inherit; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--green-700); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 0.6rem;
}

.section-head { text-align: center; max-width: 620px; margin: 0 auto 2.2rem; }
.section-head p { color: var(--ink-soft); margin-top: 0.4rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: var(--green-700); color: #fff;
  box-shadow: 0 6px 16px rgba(47, 125, 79, .35);
}
.btn-primary:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(47,125,79,.4); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; border: 1.5px solid var(--green-700); color: var(--green-700); }
.btn-ghost:hover { background: var(--green-100); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; color: var(--ink);
  transition: background .15s ease;
}
.icon-btn:hover { background: rgba(20,51,31,.08); }

/* ---------- Announcement ---------- */
.announcement { background: var(--green-900); color: #dceee2; text-align: center; padding: 0.45rem 1rem; font-size: 0.82rem; }
.announcement p { margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 240, .85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 51, 31, .08);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }

.logo { display: inline-flex; align-items: center; }
.logo-img { height: 42px; width: auto; display: block; }

.main-nav { display: flex; gap: 1.8rem; }
.main-nav a { font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); position: relative; padding: 0.3rem 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--green-600); border-radius: 2px; transition: width .2s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.35rem; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
  background: var(--green-700); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  animation: pop .25s ease;
}
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
#mobileMenuBtn { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 3.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 34rem; margin: 1.2rem 0 1.8rem; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.4rem; margin-top: 2.8rem; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--green-800); }
.stat span { font-size: 0.85rem; color: var(--muted); }

.hero-visual { position: relative; height: 460px; }
.hero-blob {
  position: absolute; inset: 8% 4%;
  background: radial-gradient(closest-side, var(--green-100), var(--sand));
  border-radius: 46% 54% 55% 45% / 48% 42% 58% 52%;
  filter: blur(2px);
}

/* CSS supplement bottles */
.bottle {
  position: absolute; display: flex; flex-direction: column; align-items: center;
  filter: drop-shadow(0 18px 24px rgba(20,51,31,.22));
}
.b-cap { width: 34%; height: 14%; border-radius: 4px 4px 2px 2px; background: hsl(var(--hue) 45% 32%); }
.b-neck { width: 44%; height: 6%; background: hsl(var(--hue) 45% 38%); }
.b-body {
  width: 100%; flex: 1; border-radius: 12% 12% 10% 10% / 8% 8% 6% 6%;
  background: linear-gradient(160deg, hsl(var(--hue) 55% 62%), hsl(var(--hue) 55% 46%));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2%;
  color: #fff; text-align: center; padding: 6%;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.18), inset -10px 0 24px rgba(0,0,0,.12);
}
.b-brand { font-size: clamp(0.4rem, 1vw, 0.62rem); letter-spacing: 0.16em; text-transform: uppercase; opacity: .85; }
.b-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 3.4vw, 2rem); line-height: 1; }
.b-tag { font-size: clamp(0.4rem, 1vw, 0.6rem); letter-spacing: 0.2em; opacity: .8; border-top: 1px solid rgba(255,255,255,.5); padding-top: 4%; width: 60%; }

.bottle-lg  { left: 24%; bottom: 0; width: 168px; height: 330px; z-index: 2; }
.bottle-md  { right: 6%; bottom: 8%; width: 122px; height: 250px; z-index: 3; }
.bottle-sm  { left: 2%; bottom: 22%; width: 88px; height: 185px; z-index: 1; }
.bottle-xs  { right: 22%; top: 2%; width: 66px; height: 140px; z-index: 1; }
.float-a { animation: float 6s ease-in-out infinite; }
.float-b { animation: float 7s ease-in-out -2s infinite; }
.float-c { animation: float 5.4s ease-in-out -1s infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-block: 1px solid rgba(20,51,31,.07); padding: 1.6rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.85rem; }
.trust-ico { font-size: 1.5rem; }
.trust-item strong { display: block; font-size: 0.92rem; }
.trust-item span { font-size: 0.8rem; color: var(--muted); }

/* ---------- Shop ---------- */
.shop { padding: 4.5rem 0; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pill {
  padding: 0.5rem 1.1rem; border-radius: 999px; font-size: 0.88rem; font-weight: 500;
  background: var(--white); border: 1.5px solid rgba(20,51,31,.12); color: var(--ink-soft);
  transition: all .15s ease;
}
.pill:hover { border-color: var(--green-600); color: var(--green-700); }
.pill.active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.shop-controls { display: flex; gap: 0.8rem; align-items: center; }
.search-box {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--white); border: 1.5px solid rgba(20,51,31,.12); border-radius: 999px;
  padding: 0.5rem 1rem; color: var(--muted); transition: border-color .15s ease;
}
.search-box:focus-within { border-color: var(--green-600); }
.search-box input { border: none; outline: none; background: none; width: 170px; color: var(--ink); }
.sort-select {
  padding: 0.6rem 1rem; border-radius: 999px; border: 1.5px solid rgba(20,51,31,.12);
  background: var(--white); color: var(--ink-soft); font-size: 0.88rem; cursor: pointer;
}

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.6rem;
}

.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(20,51,31,.06);
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
  animation: cardIn .4s ease backwards;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.product-visual {
  position: relative; height: 210px; cursor: pointer;
  display: flex; align-items: flex-end; justify-content: center;
  background: linear-gradient(170deg, hsl(var(--hue) 60% 94%), hsl(var(--hue) 40% 86%));
  overflow: hidden;
}
.product-visual::before {
  content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%;
  background: hsl(var(--hue) 55% 88%); bottom: -70px; right: -50px;
}
.product-visual .bottle { position: relative; width: 92px; height: 168px; margin-bottom: 14px; transition: transform .25s ease; }
.product-card:hover .product-visual .bottle { transform: translateY(-6px) rotate(-3deg) scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 0.28rem 0.7rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.badge.bestseller { background: var(--gold); color: #4a2e05; }
.badge.new { background: var(--green-700); color: #fff; }
.badge.sale { background: var(--danger); color: #fff; }

.product-info { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-600); }
.product-name { font-size: 1.08rem; font-family: var(--font-display); cursor: pointer; }
.product-name:hover { color: var(--green-700); }
.stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 1px; }
.product-rating { font-size: 0.8rem; color: var(--muted); }
.product-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.6rem; }
.product-price { font-weight: 700; font-size: 1.1rem; }
.product-price .was { font-size: 0.85rem; color: var(--muted); font-weight: 400; text-decoration: line-through; margin-right: 0.4rem; }
.add-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-700); color: #fff; font-size: 1.3rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: transform .18s ease, background .18s ease;
  box-shadow: 0 4px 10px rgba(47,125,79,.3);
}
.add-btn:hover { background: var(--green-800); transform: scale(1.1) rotate(90deg); }

.empty-state { text-align: center; color: var(--muted); padding: 3rem 0; font-size: 1.05rem; }

/* ---------- Why ---------- */
.why { background: var(--green-900); color: #eaf4ec; padding: 5rem 0; }
.why .eyebrow { color: var(--green-500); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.why-copy p { color: #b9d4c0; margin: 1rem 0 1.4rem; }
.why-list { list-style: none; margin-bottom: 1.8rem; display: grid; gap: 0.7rem; }
.why-list li { padding-left: 1.6rem; position: relative; color: #cfe6d6; }
.why-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-500); font-weight: 700; }
.why-list strong { color: #fff; }
.why .btn-ghost { border-color: var(--green-500); color: var(--green-500); }
.why .btn-ghost:hover { background: rgba(87,184,126,.12); }

.why-cards { display: grid; gap: 1.2rem; }
.why-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 1.5rem 1.7rem;
  transition: transform .2s ease, background .2s ease;
}
.why-card:hover { transform: translateX(8px); background: rgba(255,255,255,.09); }
.why-num { font-family: var(--font-display); font-size: 0.85rem; color: var(--green-500); letter-spacing: 0.1em; }
.why-card h3 { font-size: 1.25rem; margin: 0.3rem 0 0.4rem; }
.why-card p { color: #b9d4c0; font-size: 0.92rem; }

/* ---------- Reviews ---------- */
.reviews { padding: 5rem 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.review-card {
  background: var(--white); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(20,51,31,.06);
  display: flex; flex-direction: column; gap: 1.2rem;
}
.review-card blockquote { font-size: 1.02rem; color: var(--ink-soft); font-style: italic; flex: 1; }
.review-card blockquote::before { content: "“"; font-family: var(--font-display); font-size: 2.2rem; color: var(--green-500); display: block; line-height: 0.6; margin-bottom: 0.4rem; }
.review-card figcaption { display: flex; flex-direction: column; gap: 0.1rem; }
.review-card figcaption strong { font-size: 0.95rem; }
.review-card figcaption span:not(.stars) { font-size: 0.8rem; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter { padding: 0 0 5rem; }
.newsletter-card {
  background: linear-gradient(120deg, var(--green-700), var(--green-800));
  border-radius: 28px; padding: 3.2rem 3.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap;
  color: #fff; box-shadow: var(--shadow-lg);
}
.newsletter-card h2 { color: #fff; }
.newsletter-card p { color: #cfe6d6; max-width: 30rem; margin-top: 0.4rem; }
.newsletter-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter-form input {
  padding: 0.85rem 1.3rem; border-radius: 999px; border: 1.5px solid transparent;
  min-width: min(280px, 70vw); outline: none; font-size: 0.95rem;
}
.newsletter-form input:focus { border-color: var(--gold); }
.form-note { width: 100%; margin-top: 0.6rem; font-size: 0.88rem; min-height: 1.3em; }
.form-note.ok { color: #b7f0cd; }
.form-note.err { color: #ffc4b8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #b9d4c0; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { display: inline-block; background: var(--cream); border-radius: 12px; padding: 0.5rem 0.9rem; margin-bottom: 0.7rem; box-shadow: var(--shadow-sm); }
.footer-logo img { height: 40px; width: auto; display: block; }
.footer-brand p { font-size: 0.9rem; max-width: 26rem; }
.footer-col h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer-col a { display: block; font-size: 0.92rem; padding: 0.25rem 0; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: 0.8rem; }
.footer-bottom .disclaimer { max-width: 44rem; opacity: .6; }

/* ---------- Overlay & cart drawer ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(20, 35, 25, .45);
  backdrop-filter: blur(2px); z-index: 90; opacity: 0; transition: opacity .25s ease;
}
.overlay.show { opacity: 1; }

.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(420px, 100vw);
  background: var(--cream); z-index: 100; display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .3s cubic-bezier(.32,.72,.24,1);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid rgba(20,51,31,.08); }
.cart-head h3 { font-size: 1.3rem; }
.ship-progress { padding: 1rem 1.4rem; background: var(--white); border-bottom: 1px solid rgba(20,51,31,.08); }
.ship-progress p { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.ship-progress p strong { color: var(--green-700); }
.ship-bar { height: 8px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.ship-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green-500), var(--green-700)); transition: width .35s ease; }

.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-empty { text-align: center; color: var(--muted); margin: auto; display: grid; gap: 0.6rem; justify-items: center; }
.cart-empty .big { font-size: 2.6rem; }

.cart-item { display: flex; gap: 0.9rem; background: var(--white); border-radius: var(--radius-sm); padding: 0.8rem; box-shadow: var(--shadow-sm); animation: cardIn .3s ease backwards; }
.ci-visual {
  width: 62px; height: 78px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: flex-end; justify-content: center;
  background: linear-gradient(170deg, hsl(var(--hue) 60% 92%), hsl(var(--hue) 40% 84%));
  overflow: hidden;
}
.ci-visual .bottle { position: relative; width: 34px; height: 62px; margin-bottom: 4px; }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-weight: 600; font-size: 0.92rem; }
.ci-price { color: var(--muted); font-size: 0.82rem; }
.ci-row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; }
.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid rgba(20,51,31,.14); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 30px; height: 30px; font-size: 1rem; font-weight: 600; color: var(--green-700); transition: background .12s ease; }
.qty-stepper button:hover { background: var(--green-100); }
.qty-stepper input {
  width: 34px; height: 30px; border: none; outline: none; text-align: center;
  font-size: 0.88rem; font-weight: 600; background: transparent; -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ci-total { font-weight: 700; font-size: 0.95rem; }
.ci-remove { color: var(--muted); font-size: 0.78rem; text-decoration: underline; margin-top: 0.25rem; padding: 0; }
.ci-remove:hover { color: var(--danger); }

.cart-foot { padding: 1.3rem 1.4rem; background: var(--white); border-top: 1px solid rgba(20,51,31,.08); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.9rem; }
.cart-total strong { font-size: 1.3rem; font-family: var(--font-display); }
.cart-note { text-align: center; font-size: 0.76rem; color: var(--muted); margin-top: 0.7rem; }

/* ---------- Modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center;
  padding: 1.2rem; background: rgba(20, 35, 25, .5); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .22s ease;
}
.modal.show { opacity: 1; }
.modal[hidden] { display: none; }
.modal-card {
  background: var(--cream); border-radius: 22px; box-shadow: var(--shadow-lg);
  max-width: 860px; width: 100%; max-height: 92dvh; overflow-y: auto; position: relative;
  transform: translateY(16px) scale(.98); transition: transform .22s ease;
}
.modal.show .modal-card { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 5; background: rgba(255,255,255,.85); }

/* Product modal */
.product-modal-card { display: grid; grid-template-columns: 340px 1fr; }
.pm-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(170deg, hsl(var(--hue, 150) 60% 93%), hsl(var(--hue, 150) 40% 85%));
  min-height: 420px;
}
.pm-visual::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: hsl(var(--hue,150) 55% 87%); }
.pm-visual .bottle { position: relative; width: 150px; height: 290px; filter: drop-shadow(0 22px 28px rgba(20,51,31,.28)); }
.pm-badge { position: absolute; top: 16px; left: 16px; z-index: 2; }
.pm-info { padding: 2.2rem 2.4rem; }
.pm-info h3 { font-size: 1.7rem; margin-bottom: 0.3rem; }
.pm-rating { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.7rem; }
.pm-price { font-size: 1.5rem; font-weight: 700; font-family: var(--font-display); color: var(--green-800); margin-bottom: 0.8rem; }
.pm-price .was { font-size: 1rem; color: var(--muted); text-decoration: line-through; font-weight: 400; margin-right: 0.5rem; font-family: var(--font-body); }
.pm-desc { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1rem; }
.pm-benefits { list-style: none; display: grid; gap: 0.4rem; margin-bottom: 1.4rem; }
.pm-benefits li { padding-left: 1.5rem; position: relative; font-size: 0.9rem; color: var(--ink-soft); }
.pm-benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 700; }
.pm-actions { display: flex; gap: 0.9rem; align-items: center; }
.pm-actions .qty-stepper button { width: 36px; height: 40px; }
.pm-actions .qty-stepper input { height: 40px; width: 40px; }
.pm-details { margin-top: 1.3rem; border-top: 1px solid rgba(20,51,31,.1); padding-top: 1rem; }
.pm-details summary { cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--green-700); }
.pm-details p { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.6rem; }
.pm-ingredients { font-size: 0.8rem !important; color: var(--muted) !important; }

/* Checkout modal */
.checkout-card { max-width: 480px; padding: 2.4rem; }
.checkout-card h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.checkout-card form { display: grid; gap: 0.85rem; }
.checkout-card label { display: grid; gap: 0.3rem; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.checkout-card input {
  padding: 0.75rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid rgba(20,51,31,.14);
  outline: none; font-size: 0.95rem; background: var(--white); transition: border-color .15s ease;
}
.checkout-card input:focus { border-color: var(--green-600); }
.checkout-card input.invalid { border-color: var(--danger); background: #fdf3f1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
#payBtn { margin-top: 0.5rem; }
.success-ico {
  width: 64px; height: 64px; border-radius: 50%; margin: 0.5rem auto 1rem;
  background: var(--green-700); color: #fff; font-size: 2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  animation: pop .4s ease;
}
#checkoutSuccess { text-align: center; padding: 1rem 0; }
#checkoutSuccess p { color: var(--ink-soft); margin-bottom: 1.4rem; }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; bottom: 1.4rem; left: 50%; transform: translateX(-50%); z-index: 130; display: grid; gap: 0.6rem; width: min(380px, 92vw); }
.toast {
  background: var(--green-900); color: #eaf4ec; border-radius: 14px; padding: 0.9rem 1.2rem;
  display: flex; align-items: center; gap: 0.7rem; box-shadow: var(--shadow-lg);
  font-size: 0.9rem; animation: toastIn .3s cubic-bezier(.32,.72,.24,1);
}
.toast.leaving { animation: toastOut .25s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
.toast-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--green-600); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; }

/* ---------- Legal pages (Terms / Privacy) ---------- */
body.legal .main-nav { position: static; display: flex; flex-wrap: wrap; background: none; border: none; box-shadow: none; padding: 0; }
body.legal #mobileMenuBtn { display: none; }

.legal-hero { background: var(--green-50); border-bottom: 1px solid rgba(20,51,31,.07); padding: 3.5rem 0 2.75rem; }
.legal-meta { color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; }

.legal-content { max-width: 780px; margin: 0 auto; padding: 3rem 0 4.5rem; display: grid; gap: 1.25rem; }
.legal-lede { font-size: 1.05rem; color: var(--ink); background: var(--white); border-left: 4px solid var(--green-600); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); }
.legal-content h2 { font-size: 1.3rem; margin-top: 0.75rem; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: 0.96rem; }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; display: grid; gap: 0.4rem; }
.legal-content a { color: var(--green-700); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-content code { background: var(--sand); border-radius: 5px; padding: 0.1rem 0.4rem; font-size: 0.88em; }

/* ---------- Demo note (footer) ---------- */
.demo-note {
  font-size: 0.78rem; color: #8a5a14;
  background: rgba(232, 161, 60, .16); border: 1px solid rgba(232, 161, 60, .35);
  padding: 0.35rem 0.9rem; border-radius: 999px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; max-width: 520px; margin-inline: auto; width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .product-modal-card { grid-template-columns: 1fr; }
  .pm-visual { min-height: 300px; }
  .pm-visual .bottle { width: 110px; height: 215px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 55;
    flex-direction: column; gap: 0; background: var(--cream);
    border-bottom: 1px solid rgba(20,51,31,.1); padding: 0.5rem 4vw 1rem;
    display: none; box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.75rem 0; border-bottom: 1px solid rgba(20,51,31,.06); }
  #mobileMenuBtn { display: inline-flex; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .shop-controls { justify-content: space-between; }
  .search-box input { width: 100%; }
  .search-box { flex: 1; }
  .newsletter-card { padding: 2.2rem 1.8rem; }
  .hero { padding-top: 3rem; }
  .hero-stats { gap: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
