/* ==========================================================================
   neemveda – Natural Oral Care
   Mobile-first stylesheet. Brand tokens live in :root.
   ========================================================================== */

:root {
  --green: #2F4F2F;
  --green-800: #243d24;
  --green-900: #1c301c;
  --green-600: #3d613c;
  --green-tint: #e6ebdc;
  --cream: #F7F1E4;
  --cream-deep: #EFE5D0;
  --white: #FFFFFF;
  --charcoal: #231F20;
  --muted: #554e4f;
  --wood: #8a6f50;
  --jute: #c2a06b;
  --line: rgba(47, 79, 47, 0.16);
  --line-strong: rgba(47, 79, 47, 0.3);

  /* Headings: Fraunces, a soft old-style serif. Body and UI: Source Sans 3.
     The logo keeps the brand's own Candara wordmark. */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-label: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-logo: Candara, "Nunito Sans", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(35, 31, 32, 0.05), 0 2px 8px rgba(47, 79, 47, 0.06);
  --shadow: 0 2px 4px rgba(35, 31, 32, 0.04), 0 12px 32px rgba(47, 79, 47, 0.1);
  --shadow-lg: 0 4px 8px rgba(35, 31, 32, 0.05), 0 22px 48px rgba(47, 79, 47, 0.16);

  --container: 1180px;
  --gutter: 20px;
  --section-y: 64px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 88px; --header-h: 76px; }
}
@media (min-width: 1100px) {
  :root { --section-y: 104px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--cream);
  /* faint paper grain for an organic, uncoated feel */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .2 0 0 0 0 .12 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-600); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50;
  line-height: 1.12;
  color: var(--green);
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
h3, h4 { font-weight: 600; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.15rem, 6.5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 4.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
main:focus { outline: none; }
::selection { background: var(--green); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}
.section--dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--cream); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  font-family: var(--font-label); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

/* ---------- Type helpers ---------- */
/* Small kicker above headings: a quiet italic line, not spaced-out capitals. */
.eyebrow {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--green-600);
  margin: 0 0 0.4em;
}
.eyebrow--light { color: #cfdcc3; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
@media (min-width: 768px) { .section-head { margin-bottom: 56px; } }

.placeholder {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  color: #7a5a1e; background: #f6e7c4; border: 1px dashed #c9a35a;
  padding: 1px 6px; border-radius: 6px; vertical-align: middle;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green); --btn-fg: var(--white); --btn-bd: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  font-family: var(--font-label); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.005em; text-decoration: none; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { --btn-bg: var(--green-800); --btn-bd: var(--green-800); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--green); --btn-bd: var(--green); }
.btn-outline:hover { --btn-bg: var(--green); --btn-fg: var(--white); }
.btn-light { --btn-bg: var(--cream); --btn-fg: var(--green); --btn-bd: var(--cream); }
.btn-light:hover { --btn-bg: var(--white); --btn-bd: var(--white); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: rgba(247, 241, 228, .6); }
.btn-outline-light:hover { --btn-bg: rgba(247, 241, 228, .1); --btn-bd: var(--cream); }
.btn-ghost { --btn-bg: var(--cream-deep); --btn-fg: var(--muted); --btn-bd: var(--cream-deep); }
.btn-wa { --btn-bg: var(--green-tint); --btn-fg: var(--green); --btn-bd: var(--green-tint); }
.btn-wa:hover { --btn-bg: #d9e2cb; --btn-bd: #d9e2cb; }
.btn-block { width: 100%; }
.btn .icon { width: 20px; height: 20px; }
.btn.is-disabled, .btn:disabled { cursor: not-allowed; opacity: .8; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-weight: 600; font-size: 1rem;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: var(--radius); background: transparent; color: var(--green); cursor: pointer;
  position: relative; text-decoration: none;
}
.icon-btn:hover { background: rgba(47, 79, 47, .07); color: var(--green); }

.tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-label); font-weight: 600; font-size: .85rem;
  background: var(--green); color: var(--white); padding: 5px 11px; border-radius: 8px;
}
.tag--muted { background: var(--cream-deep); color: var(--green); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 228, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(47, 79, 47, .06); }
.site-header__inner {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px;
  height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); justify-self: center; }
.logo:hover { color: var(--green); }
.logo__mark { width: 34px; height: 34px; color: var(--green); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__word { font-family: var(--font-logo); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.015em; text-transform: lowercase; }
.logo__tag { font-family: var(--font-label); font-weight: 700; font-size: .55rem; letter-spacing: .3em; text-transform: uppercase; margin-top: 4px; opacity: .85; }
.logo--reverse, .logo--reverse:hover { color: var(--white); }
.logo--reverse .logo__mark { color: var(--white); --logo-vein: var(--green); }

.cart-link { justify-self: end; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--green); color: var(--white);
  font-family: var(--font-label); font-size: .68rem; font-weight: 700; line-height: 1;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }

.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

.site-nav__list { list-style: none; }
.site-nav__list a {
  display: block; text-decoration: none; color: var(--charcoal);
  font-family: var(--font-label); font-weight: 600; font-size: 1.02rem;
}
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: var(--green); }

/* Mobile drawer (only when JS is available; otherwise nav stays visible) */
@media (max-width: 959.98px) {
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(35, 31, 32, .12);
    padding: 8px var(--gutter) 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .js .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-nav__list a { padding: 14px 2px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 500; font-size: 1.3rem; }
  .site-nav__list a[aria-current="page"] { border-left: 3px solid var(--green); padding-left: 12px; }
  .site-nav__extra { display: grid; gap: 14px; margin-top: 22px; }
  .site-nav__wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; padding: 8px; }
  .no-js .site-nav, html:not(.js) .site-nav { grid-column: 1 / -1; }
  html:not(.js) .site-header__inner { height: auto; padding-block: 10px; grid-template-columns: 1fr auto; }
  html:not(.js) .nav-toggle { display: none; }
}
@media (min-width: 960px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 24px; }
  .nav-toggle { display: none; }
  .logo { justify-self: start; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__word { font-size: 1.7rem; }
  .site-nav { justify-self: center; }
  .site-nav__list { display: flex; gap: 4px; }
  .site-nav__list a { padding: 10px 14px; position: relative; font-size: 1rem; }
  .site-nav__list a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px;
    background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav__extra { display: none; }
}
body.nav-open { overflow: hidden; }
@media (min-width: 960px) { body.nav-open { overflow: auto; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--white); }
.section--deep { background: var(--cream-deep); }
.section--dark { background: var(--green); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.deco-leaf { position: absolute; color: var(--green); opacity: .07; pointer-events: none; width: 320px; height: 131px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 15%, #3b5e3a 0%, var(--green) 45%, var(--green-900) 100%);
  color: var(--white);
  padding-block: 40px 56px;
}
.hero__inner { display: grid; gap: 36px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 em { font-style: italic; font-weight: 500; color: #d4e0c6; }
.hero__sub { font-size: 1.12rem; color: #e6ecdc; max-width: 34ch; margin-bottom: 30px; }
.hero__media { position: relative; }
.hero__img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, .28);
}
.hero__badge {
  position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px;
  background: rgba(247, 241, 228, .95); color: var(--green); border-radius: var(--radius);
  padding: 10px 14px; box-shadow: var(--shadow);
  font-family: var(--font-label); font-weight: 600; font-size: .95rem;
}
.hero__badge .icon { width: 22px; height: 22px; }
.hero__leaf { position: absolute; color: #fff; opacity: .05; width: 520px; height: 213px; right: -120px; top: -40px; transform: rotate(-18deg); }
.hero__leaf--2 { left: -160px; right: auto; top: auto; bottom: -50px; transform: rotate(160deg); }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; list-style: none; font-size: .9rem; color: #d7e1cc; }
.hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.hero__points .icon { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .hero { padding-block: 72px 88px; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .hero__img { aspect-ratio: 5 / 5.2; }
}

/* ---------- Trust badges ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.trust__item {
  background: var(--white); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 22px 10px;
  font-family: var(--font-head); font-weight: 500; font-size: 1.08rem; color: var(--green);
}
.trust__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 1px solid var(--line); }
.trust__icon .icon { width: 26px; height: 26px; }
@media (min-width: 768px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); background: none; gap: 0; }
  .trust__item { flex-direction: row; justify-content: center; padding: 30px 12px; }
  .trust__item + .trust__item { border-left: 1px solid var(--line); }
}

/* ---------- Product feature ---------- */
.feature { display: grid; gap: 32px; align-items: start; }
.feature__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 40%, #fffaf0 0%, rgba(255, 250, 240, 0) 70%),
    linear-gradient(180deg, var(--cream-deep), #e4d7bb);
  aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 8%;
}
.feature__media img { width: 78%; filter: drop-shadow(0 26px 30px rgba(47, 79, 47, .22)); }
.feature__media--photo { padding: 0; aspect-ratio: 4 / 5; }
.feature__media--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.feature__title { font-size: clamp(1.6rem, 3.6vw, 2.35rem); margin-bottom: 10px; }
.feature__pack { font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: 1.1rem; color: var(--muted); margin-bottom: 18px; }
.price { font-family: var(--font-head); font-weight: 700; color: var(--green); font-size: 1.35rem; margin: 0 0 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.price--lg { font-size: 2rem; }
.price__mrp { font-size: .95rem; color: var(--muted); text-decoration: line-through; font-weight: 400; }
.price-note { font-size: .82rem; color: var(--muted); margin-top: -6px; }
.buy-box { display: grid; gap: 12px; margin: 22px 0 26px; }
.buy-box__row { display: flex; gap: 12px; align-items: stretch; }
.buy-box__row .btn { flex: 1; }
@media (min-width: 560px) {
  .buy-box { grid-template-columns: auto 1fr 1fr; align-items: stretch; }
  .buy-box__row { display: contents; }
}
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
}

.qty {
  display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); height: 50px; overflow: hidden;
}
.qty button {
  width: 44px; height: 100%; border: 0; background: transparent; color: var(--green); cursor: pointer;
  display: grid; place-items: center;
}
.qty button:hover { background: var(--cream); }
.qty button .icon { width: 18px; height: 18px; }
.qty input {
  width: 42px; height: 100%; border: 0; text-align: center; background: transparent;
  font-family: var(--font-label); font-weight: 700; font-size: 1rem; -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 40px; }
.qty--sm button { width: 36px; }
.qty--sm input { width: 34px; font-size: .9rem; }

.benefits { list-style: none; display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.benefits li { display: flex; align-items: center; gap: 14px; }
.benefits strong { display: block; font-family: var(--font-head); color: var(--green); font-size: 1.02rem; }
.benefits span { font-size: .9rem; color: var(--muted); }
.benefit-icon { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green-tint); color: var(--green); }
.benefit-icon .icon { width: 22px; height: 22px; }
.assurances { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: .85rem; color: var(--muted); }
.assurances li { display: inline-flex; align-items: center; gap: 6px; }
.assurances .icon { width: 18px; height: 18px; color: var(--green); }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card--lift:hover, .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.pillars { display: grid; gap: 18px; }
.pillar { padding: 32px 26px; text-align: center; position: relative; overflow: hidden; }
.pillar__num { position: absolute; top: 14px; right: 18px; font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--green); opacity: .06; line-height: 1; }
.pillar__icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--green); border: 1px solid var(--line); }
.pillar__icon .icon { width: 32px; height: 32px; stroke-width: 1.4; }
.pillar h3 { font-size: 1.45rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); margin: 0; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 24px; } .pillar { padding: 40px 30px; } }

/* ---------- How to use ---------- */
.steps { list-style: none; display: grid; gap: 28px; counter-reset: step; position: relative; }
.step { text-align: center; display: grid; justify-items: center; }
.step__art {
  width: 148px; height: 148px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 18px; position: relative;
}
.step__art svg { width: 112px; height: 112px; }
.step__num {
  position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: var(--white);
  font-family: var(--font-label); font-weight: 700; font-size: .85rem; box-shadow: 0 0 0 5px var(--white);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; max-width: 28ch; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before {
    content: ""; position: absolute; top: 74px; left: 12.5%; right: 12.5%; height: 0;
    border-top: 1.5px dashed var(--line-strong); z-index: 0;
  }
  .step { position: relative; z-index: 1; }
}
.tip {
  display: flex; gap: 14px; align-items: flex-start; max-width: 760px; margin: 48px auto 0;
  background: var(--green-tint); border-radius: var(--radius-lg); padding: 18px 20px; color: var(--green-900); font-size: .95rem;
}
.tip .icon { color: var(--green); margin-top: 2px; }
.tip p { margin: 0; }

/* ---------- Comparison ---------- */
.compare-wrap { max-width: 860px; margin-inline: auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.compare caption { caption-side: bottom; padding-top: 14px; font-size: .82rem; color: var(--muted); text-align: left; }
.compare th, .compare td { padding: 16px 12px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th {
  font-family: var(--font-label); font-weight: 600; font-size: .92rem;
  color: var(--muted); background: var(--cream);
}
.compare thead th.is-us { background: var(--green); color: var(--white); }
.compare tbody th { text-align: left; font-family: var(--font-head); font-weight: 700; color: var(--charcoal); font-size: .98rem; }
.compare td.is-us { background: rgba(47, 79, 47, .04); }
.mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.mark .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.mark--yes { background: var(--green); color: var(--white); }
.mark--no { background: #f1e9e4; color: #8b5a4a; }
.compare__th-us { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 640px) { .compare th, .compare td { padding: 18px 24px; } .compare tbody th { font-size: 1.05rem; } }

/* ---------- Story ---------- */
.story { display: grid; gap: 36px; align-items: center; }
.story__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story__quote {
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--green); line-height: 1.4;
  border-left: 3px solid var(--jute); padding-left: 18px; margin: 26px 0;
}
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1.05fr; gap: 72px; } }

/* ---------- Testimonials ---------- */
.reviews { display: grid; gap: 18px; }
.review { padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; margin: 0; }
.review__quote-icon { color: var(--jute); width: 30px; height: 30px; }
.review blockquote { margin: 0; font-size: 1.02rem; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green-tint); color: var(--green); font-family: var(--font-head); font-weight: 800; }
.review__name { font-family: var(--font-head); font-weight: 700; color: var(--green); display: block; line-height: 1.2; }
.review__meta { font-size: .82rem; color: var(--muted); }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-family: var(--font-head); font-weight: 700; color: var(--green); font-size: 1.05rem; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq__body { padding: 0 20px 20px; color: var(--muted); }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; overflow: hidden; padding-block: 56px; }
.newsletter__leaf { position: absolute; color: #fff; opacity: .06; width: 460px; height: 188px; right: -80px; bottom: -40px; transform: rotate(-12deg); }
.newsletter__inner { display: grid; gap: 28px; align-items: center; position: relative; }
.newsletter__title { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 8px; }
.newsletter__text { color: #dbe4d0; margin: 0; }
.newsletter__form { display: grid; gap: 10px; }
.newsletter__form .form-msg { grid-column: 1 / -1; margin: 0; min-height: 1.4em; color: #dbe4d0; font-size: .9rem; }
@media (min-width: 560px) { .newsletter__form { grid-template-columns: 1fr auto; } }
@media (min-width: 900px) { .newsletter { padding-block: 72px; } .newsletter__inner { grid-template-columns: 1.1fr 1fr; gap: 56px; } }

/* ---------- Forms ---------- */
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  font-size: 1rem; color: var(--charcoal);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F4F2F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(47, 79, 47, .14); }
.input::placeholder, .textarea::placeholder { color: #8b8384; }
.input--on-dark { background: rgba(255, 255, 255, .08); border-color: rgba(247, 241, 228, .45); color: var(--white); }
.input--on-dark::placeholder { color: #c9d4bf; }
.input--on-dark:focus { border-color: var(--cream); box-shadow: 0 0 0 4px rgba(247, 241, 228, .18); }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-family: var(--font-label); font-weight: 600; font-size: .98rem; color: var(--charcoal); }
.field .hint { font-size: .82rem; color: var(--muted); }
.field .error { font-size: .85rem; color: #9b3d2b; min-height: 0; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #b4553f; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-msg { font-size: .92rem; }
.form-msg.is-success { color: var(--green); }

.choice {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px; cursor: pointer;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice + .choice { margin-top: 10px; }
.choice input { margin-top: 4px; accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.choice strong { display: block; font-family: var(--font-head); color: var(--green); }
.choice span { font-size: .88rem; color: var(--muted); }
.choice:has(input:checked) { border-color: var(--green); background: #fbfaf5; box-shadow: 0 0 0 3px rgba(47, 79, 47, .08); }
.choice:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding-block: 44px 36px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { margin-bottom: 10px; font-size: clamp(2rem, 5.5vw, 3rem); }
.page-hero p { color: var(--muted); max-width: 60ch; margin: 0 auto; }
.page-hero .deco-leaf { right: -60px; top: 0; transform: rotate(-10deg); }
.page-hero .deco-leaf--2 { left: -80px; right: auto; top: auto; bottom: -30px; transform: rotate(170deg); }
.breadcrumbs { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; justify-content: inherit; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); }
@media (min-width: 768px) { .page-hero { padding-block: 64px 48px; } }

/* ---------- Shop ---------- */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; color: var(--muted); font-size: .92rem; }
.product-grid { display: grid; gap: 20px; }
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.product-card { display: flex; flex-direction: column; overflow: hidden; }
.product-card__media {
  position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 10%;
  background: radial-gradient(70% 60% at 50% 40%, #fffaf0 0%, rgba(255, 250, 240, 0) 70%), linear-gradient(180deg, var(--cream), var(--cream-deep));
}
.product-card__media img { width: 74%; filter: drop-shadow(0 18px 22px rgba(47, 79, 47, .2)); transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.03) rotate(-1deg); }
.product-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__title { font-size: 1.18rem; margin: 0; }
.product-card__title a { text-decoration: none; color: var(--green); }
.product-card__title a::after { content: ""; }
.product-card__text { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.product-card .price { margin: 4px 0 8px; font-size: 1.2rem; }

.info-strip { display: grid; gap: 14px; margin-top: 48px; }
.info-strip__item { display: flex; gap: 14px; align-items: center; padding: 18px 20px; }
.info-strip__item strong { display: block; font-family: var(--font-head); color: var(--green); }
.info-strip__item span { font-size: .88rem; color: var(--muted); }
@media (min-width: 768px) { .info-strip { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Product detail ---------- */
.pdp { display: grid; gap: 32px; padding-block: 24px var(--section-y); }
.gallery__main {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1; display: grid; place-items: center;
  background: radial-gradient(70% 60% at 50% 40%, #fffaf0 0%, rgba(255, 250, 240, 0) 70%), linear-gradient(180deg, var(--cream-deep), #e4d7bb);
}
.gallery__main { position: relative; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__main img.is-box { inset: 8% 12%; width: 76%; height: 84%; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(47, 79, 47, .22)); }
.gallery__thumbs { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery__thumbs button {
  width: 100%; aspect-ratio: 1 / 1; padding: 6px; border-radius: var(--radius); cursor: pointer; overflow: hidden;
  border: 1.5px solid var(--line); background: var(--cream-deep); display: grid; place-items: center;
}
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 79, 47, .12); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.pdp__title { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.pdp__short { color: var(--muted); font-size: 1.05rem; }
.pdp .tabs { margin-top: 30px; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.05fr 1fr; gap: 64px; padding-top: 40px; }
  .gallery { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
}
.spec-list { list-style: none; display: grid; gap: 8px; }
.spec-list li { display: flex; gap: 10px; }
.spec-list .icon { width: 20px; height: 20px; color: var(--green); margin-top: 3px; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--cream-deep); color: var(--charcoal); font-size: .92rem; margin: 18px 0; }
.notice .icon { color: var(--green); }
.notice p { margin: 0; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; gap: 28px; padding-bottom: var(--section-y); }
@media (min-width: 960px) { .cart-layout { grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; } }
.cart-items { list-style: none; display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 16px; align-items: center; }
.cart-item__img { width: 84px; height: 84px; border-radius: var(--radius); background: var(--cream); display: grid; place-items: center; padding: 8px; }
.cart-item__title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin: 0 0 2px; }
.cart-item__title a { text-decoration: none; }
.cart-item__meta { font-size: .88rem; color: var(--muted); margin: 0 0 10px; }
.cart-item__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: space-between; }
.cart-item__total { font-family: var(--font-head); font-weight: 700; color: var(--green); }
.cart-item__remove { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .85rem; padding: 6px; border-radius: 8px; }
.cart-item__remove:hover { color: #9b3d2b; }
.cart-item__remove .icon { width: 18px; height: 18px; }
.summary { padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary h2 { font-size: 1.35rem; }
.summary__rows { display: grid; gap: 10px; margin: 18px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.summary__row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.summary__row--total { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--green); }
.summary__lines { list-style: none; display: grid; gap: 12px; margin-top: 12px; }
.summary__line { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: .92rem; }
.summary__line img { width: 52px; height: 52px; background: var(--cream); border-radius: 10px; padding: 5px; }
.summary__secure { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); margin-top: 14px; justify-content: center; }
.summary__secure .icon { width: 18px; height: 18px; }
.empty { text-align: center; padding: 56px 24px; }
.empty__icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--green); }
.empty__icon .icon { width: 36px; height: 36px; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; gap: 28px; padding-bottom: var(--section-y); }
@media (min-width: 960px) { .checkout-layout { grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; } }
.checkout-step { padding: 24px; }
.checkout-step + .checkout-step { margin-top: 18px; }
.checkout-step h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.checkout-step__num { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-family: var(--font-label); font-size: .85rem; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pay-logos span { font-family: var(--font-label); font-weight: 700; font-size: .66rem; letter-spacing: .1em; padding: 4px 8px; border-radius: 6px; background: var(--cream); color: var(--muted); border: 1px solid var(--line); }
.confirmation { text-align: center; padding: 48px 24px; max-width: 640px; margin: 0 auto var(--section-y); }
.confirmation__icon { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; }
.confirmation__icon .icon { width: 40px; height: 40px; stroke-width: 2; }

/* ---------- About / Contact / Prose ---------- */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--reverse > :first-child { order: 2; } }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.values { display: grid; gap: 16px; list-style: none; }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { padding: 24px; display: flex; gap: 16px; }
.value h3 { font-size: 1.12rem; margin-bottom: 4px; }
.value p { margin: 0; color: var(--muted); font-size: .94rem; }

.contact-layout { display: grid; gap: 28px; padding-bottom: var(--section-y); }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; } }
.contact-card { padding: 26px; }
.contact-list { list-style: none; display: grid; gap: 18px; margin: 18px 0 24px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list strong { display: block; font-family: var(--font-label); font-weight: 600; font-size: .9rem; color: var(--muted); }
.contact-list a, .contact-list span { color: var(--charcoal); word-break: break-word; }
.contact-list .benefit-icon { width: 42px; height: 42px; }

.prose { max-width: 760px; margin-inline: auto; padding-bottom: var(--section-y); }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--green); color: #dbe4d0; padding-top: 56px; }
.site-footer__leaf { position: absolute; width: 520px; height: 213px; color: #fff; opacity: .04; left: -140px; top: 10px; transform: rotate(8deg); }
.footer-grid { display: grid; gap: 36px; position: relative; padding-bottom: 40px; }
.footer-brand p { margin: 18px 0 20px; max-width: 34ch; }
.footer-title { font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; color: var(--white); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #dbe4d0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.footer-contact .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--white); opacity: .8; }
.social { list-style: none; display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); color: var(--white); transition: background-color .25s var(--ease); }
.social a:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 22px 28px; font-size: .84rem; display: grid; gap: 6px; position: relative; }
.footer-bottom p { margin: 0; }
.footer-note { color: #b9c7ad; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .site-footer { padding-top: 72px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
  .footer-bottom { grid-template-columns: auto 1fr; gap: 24px; }
  .footer-note { text-align: right; }
}

/* ---------- Floating WhatsApp + toast ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: var(--white); box-shadow: 0 10px 26px rgba(28, 48, 28, .35);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); color: var(--white); }
.wa-float .icon { width: 28px; height: 28px; }
body[data-page="checkout"] .wa-float, body[data-page="cart"] .wa-float { display: none; }

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px);
  background: var(--charcoal); color: var(--white); padding: 12px 14px 12px 18px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  font-size: .94rem; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--cream); font-family: var(--font-label); font-weight: 600; font-size: .92rem; white-space: nowrap; padding: 6px 10px; border: 1px solid rgba(247, 241, 228, .4); border-radius: 8px; text-decoration: none; }
.toast a:hover { background: rgba(247, 241, 228, .1); color: var(--white); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 40px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* Phones: keep the toast clear of the floating WhatsApp button */
@media (max-width: 599.98px) {
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  body[data-page="checkout"] .toast, body[data-page="cart"] .toast { bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* Very small phones (320–399px): fit the comparison table without sideways scrolling */
.compare-wrap { overflow-x: auto; }
@media (max-width: 399.98px) {
  .compare th, .compare td { padding: 12px 6px; }
  .compare thead th { letter-spacing: .06em; font-size: .62rem; }
  .compare tbody th { font-size: .88rem; }
  .mark { width: 28px; height: 28px; }
}

/* Product availability toggles (set at build time) */
[data-available="true"] [data-coming-soon],
[data-available="false"] [data-buy-box] { display: none; }
