/* Ghame Spice — main stylesheet
   Palette and type follow the Ghame brand canvas. Change colours here only. */

:root {
  --ivory: #F7F3EA;
  --paper: #FFFDF8;
  --sand: #E9DFC9;
  --line: #E2D6BC;
  --line-2: #D9CCB0;
  --forest: #183C2C;
  --forest-2: #0F261B;
  --forest-line: #3F6452;
  --charcoal: #242321;
  --ink-2: #4E483F;
  --muted: #5E574C;
  --cinnamon: #704126;
  --green: #0D7604;
  --red: #C1010B;
  --red-2: #9E0109;
  --orange: #CA661A;
  --info: #2F4FD1;

  --font-display: "Gloock", Georgia, "Times New Roman", serif;
  --font-body: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --font-si: "Noto Sans Sinhala", "Iskoola Pota", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section: clamp(56px, 8vw, 96px);
  --radius: 6px;
  --pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { max-width: 100%; }
img, video { height: auto; display: block; }
a { color: var(--cinnamon); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--forest); margin: 0; line-height: 1.05; }
h1 { font-size: clamp(44px, 7vw, 88px); letter-spacing: -0.01em; }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); }
.center { text-align: center; }
.si, [lang="si"] { font-family: var(--font-si); }
.latin { font-style: italic; color: var(--muted); font-size: 15px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: calc(780px + var(--gutter) * 2); }
.section { padding-block: var(--section); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--forest); color: var(--ivory); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--pill);
  border: 1.5px solid transparent; font-size: 16px; font-weight: 700; line-height: 1.2;
  text-decoration: none; text-align: center; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-block { width: 100%; }
.btn-dark { background: var(--forest); color: var(--ivory); }
.btn-dark:hover { background: var(--forest-2); color: var(--ivory); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--ivory); }
.btn-cart { background: var(--red); color: #fff; }
.btn-cart:hover { background: var(--red-2); color: #fff; }
.btn-cart:disabled { background: var(--line-2); color: var(--muted); cursor: not-allowed; }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #0A5C03; color: #fff; }
.btn-light { background: var(--ivory); color: var(--forest); }
.btn-light:hover { background: #fff; color: var(--forest); }
.btn-ghost-light { border-color: var(--ivory); color: var(--ivory); }
.btn-ghost-light:hover { background: var(--ivory); color: var(--forest); }
.btn-hero-primary { min-height: 54px; padding: 0 30px; background: var(--ivory); color: var(--forest); }
.btn-hero-primary:hover { background: #fff; color: var(--forest); }
.btn-hero-secondary { min-height: 54px; padding: 0 30px; border-color: var(--ivory); color: var(--ivory); }
.btn-hero-secondary:hover { background: var(--ivory); color: var(--forest); }
.btn-hero-text { min-height: 54px; padding: 0 12px; color: var(--ivory); text-decoration: underline; text-underline-offset: 5px; font-weight: 600; }
.btn-hero-text:hover { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 600; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--charcoal); border-radius: var(--pill); position: relative; }
.icon-btn:hover { background: var(--sand); color: var(--forest); }

/* ---------- Header ---------- */
.announce { background: var(--cinnamon); color: var(--ivory); font-size: 14px; font-weight: 600; text-align: center; padding: 8px 0; }
.announce a { color: var(--ivory); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 234, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand img { height: 70px; width: auto; }
.main-nav { display: flex; gap: clamp(16px, 2.4vw, 34px); font-weight: 500; }
.main-nav a { color: var(--charcoal); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--orange); }
.header-tools { display: flex; align-items: center; gap: 4px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--pill); background: var(--red); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--forest); color: var(--ivory); isolation: isolate; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero:has(.hero-media)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 38, 27, .88) 0%, rgba(15, 38, 27, .6) 55%, rgba(15, 38, 27, .2) 100%); }
.hero-vine { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: none; z-index: -1; pointer-events: none; }
.hero-inner { padding-block: clamp(80px, 12vw, 150px) clamp(72px, 10vw, 120px); display: grid; gap: 22px; }
.hero h1 { color: var(--ivory); max-width: 11.5em; line-height: .98; }
.hero-line-2 { display: block; font-size: .56em; line-height: 1.12; margin-top: .3em; color: var(--sand); }
.hero-kicker { font-size: 15px; font-weight: 600; color: var(--sand); }
.hero-intro { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; max-width: 38em; color: #EFE8D8; }
.hero .btn-row { margin-top: 10px; }
.hero-pro h1 { font-size: clamp(40px, 6vw, 76px); }

/* ---------- Trust bar ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 0; padding-block: 22px; }
.trust-list li { display: flex; align-items: center; gap: 12px; padding: 6px 18px; font-size: 15px; font-weight: 600; color: var(--forest); border-left: 1px solid var(--line); }
.trust-list li:first-child { border-left: 0; padding-left: 0; }
.trust-list .icon { color: var(--green); flex: none; }

/* ---------- Section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { max-width: 460px; font-size: 18px; color: var(--ink-2); }
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 16px; }

/* ---------- Botanical plates ---------- */
.plate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plate {
  padding: 26px 30px 28px; background: var(--paper);
  box-shadow: inset 0 0 0 8px var(--paper), inset 0 0 0 9px var(--line-2);
  display: flex; flex-direction: column; gap: 10px;
}
.plate-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 26px; }
.plate-badge { font-size: 13px; font-weight: 600; color: var(--green); }
.plate-img { align-self: center; width: 164px; height: 140px; object-fit: contain; margin-block: 6px; }
.plate h3 { font-size: 34px; margin-top: 6px; }
.plate .si { color: var(--muted); }
.plate-tagline { font-size: 17px; font-weight: 600; color: var(--cinnamon); }
.plate-part { font-size: 14px; line-height: 1.5; color: var(--muted); }
.plate-link { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 600; }

/* ---------- Nutmeg & mace ---------- */
.fruit { background: var(--sand); }
.fruit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.fruit-text { display: grid; gap: 18px; }
.stage-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stage-list li { display: grid; gap: 8px; font-size: 15px; line-height: 1.45; }
.stage-list img { width: 100%; height: 80px; object-fit: contain; background: var(--paper); border-radius: var(--radius); }
.fruit-figure { margin: 0; }
.fruit-figure img, .fruit-figure video { width: 100%; max-width: 560px; margin-inline: auto; border-radius: var(--radius); }

/* ---------- Four senses ---------- */
.senses-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sense { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.sense img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sense.no-photo { background: var(--forest); border-color: var(--forest); color: var(--ivory); background-image: url("/assets/img/illustrations/vine.svg"); background-repeat: no-repeat; background-position: right -120px center; background-size: auto 150%; }
.sense-body { padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; }
.sense.no-photo .sense-body { padding-block: clamp(40px, 5vw, 64px); }
.sense h3 { font-size: clamp(26px, 2.6vw, 34px); }
.sense.no-photo h3 { color: var(--ivory); }
.sense-sub { font-weight: 600; color: var(--cinnamon); }
.sense.no-photo .sense-sub { color: var(--sand); }
.sense.no-photo p:last-child { color: #E8E0CE; max-width: 44ch; }

/* ---------- Steps (real sequences only) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; }
.steps li { display: grid; align-content: start; gap: 8px; padding-top: 18px; border-top: 2px solid var(--forest); }
.steps h3 { font-size: 24px; }
.steps p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.step-n { font-family: var(--font-display); font-size: 20px; color: var(--orange); }
.journey-note { margin-top: 32px; padding: 18px 22px; background: var(--paper); border-left: 3px solid var(--orange); max-width: 72ch; }
.journey-media { margin-top: 32px; width: 100%; border-radius: var(--radius); aspect-ratio: 21 / 9; object-fit: cover; }
.steps-band { background: var(--paper); border-block: 1px solid var(--line); }

/* ---------- Products ---------- */
.cat-links, .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-links { margin-bottom: 28px; }
.chip-link, .chip-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--paper);
  color: var(--charcoal); font-size: 15px; font-weight: 600; text-decoration: none;
}
.chip-link:hover, .chip-btn:hover { border-color: var(--forest); color: var(--forest); }
.chip-btn[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 32px; }
.product-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pc-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.pc-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.pc-media.is-contain img { object-fit: contain; }
.product-card { transition: box-shadow .3s ease, transform .3s ease; }
.product-card:hover { box-shadow: 0 10px 28px rgba(24, 60, 44, .12); transform: translateY(-2px); }
.product-card:hover .pc-media:not(.is-illustration) img { transform: scale(1.05); }
.is-illustration { background: var(--paper); }
.pc-media.is-illustration img, .gallery-main.is-illustration img, .thumb.is-illustration img, .rc-media.is-illustration img, img.is-illustration { object-fit: contain; padding: 10%; }
.pc-body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; border-top: 1px solid var(--line); }
.pc-title { font-size: 24px; }
.pc-title a { color: var(--forest); text-decoration: none; }
.pc-title a:hover { text-decoration: underline; }
.pc-si { font-size: 15px; color: var(--muted); }
.pc-packs { font-size: 14px; color: var(--muted); margin-top: 6px; }
.pc-price { font-size: 18px; font-weight: 700; color: var(--charcoal); }
.pc-actions { margin-top: auto; padding-top: 14px; }
.pc-actions .btn { width: 100%; }
.stock-note { font-size: 14px; font-weight: 600; color: var(--green); min-height: 1.2em; }
.stock-note.is-low { color: var(--orange); }
.stock-note.is-out { color: var(--red); }

.shop-tools { display: grid; gap: 18px; margin-bottom: 28px; }
.search input { width: 100%; max-width: 520px; min-height: 52px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--paper); }
.search input:focus { border-color: var(--forest); outline: 2px solid var(--orange); outline-offset: 1px; }
.empty { padding: 48px 0; display: grid; gap: 16px; justify-items: start; }
.notice { padding: 14px 18px; border-radius: var(--radius); background: #FFF4E5; border: 1px solid #F0C88F; color: #6B3A0C; margin-bottom: 20px; }

/* ---------- Product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 22px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-bottom: var(--section); align-items: start; }
.gallery { display: grid; gap: 12px; position: sticky; top: 110px; }
.gallery-main { aspect-ratio: 1 / 1; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-main img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gallery-main.is-contain { background: #fff; }
.gallery-main.is-contain img { object-fit: contain; object-position: center; padding: 0; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.thumb { padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.thumb { aspect-ratio: 1 / 1; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.thumb[aria-pressed="true"] { outline: 2px solid var(--forest); outline-offset: 2px; }
.buy { display: grid; gap: 14px; }
.buy h1 { font-size: clamp(40px, 5vw, 64px); }
.product-si { font-size: 18px; color: var(--muted); }
.product-tagline { font-size: 19px; font-weight: 600; color: var(--cinnamon); }
.product-price { font-size: 28px; font-weight: 700; margin-top: 6px; }
.was { color: var(--muted); font-size: 15px; }
.packs { border: 0; padding: 0; margin: 0; }
.packs legend, fieldset legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--paper); font-weight: 600; font-size: 15px; }
.chip input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.chip.is-out span { color: var(--muted); text-decoration: line-through; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 180px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--paper); }
.qty button { width: 44px; height: 46px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--pill); }
.qty button:hover { background: var(--sand); }
.qty input { width: 48px; height: 46px; border: 0; background: transparent; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pro-panel { margin-top: 10px; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; }
.pro-panel h2 { font-size: 26px; }
.about-spice { background: var(--paper); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.about-grid h2 { margin-bottom: 18px; }
.prose { max-width: 66ch; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose h2, .prose h3 { margin: 1.4em 0 .5em; }
.spec-list { margin: 0; display: grid; gap: 0; }
.spec-list div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-weight: 700; color: var(--forest); }
.spec-list dd { margin: 0; }

/* ---------- Business bands ---------- */
.bands { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.band { position: relative; overflow: hidden; isolation: isolate; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band-body { padding: clamp(48px, 7vw, 96px) var(--gutter); display: grid; gap: 16px; align-content: start; max-width: 720px; }
.band-pro .band-body { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); box-sizing: content-box; max-width: 600px; }
.band-pro { background: var(--forest); color: var(--ivory); }
.band-pro:has(.band-img)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 38, 27, .82); }
.band-pro h2 { color: var(--ivory); }
.band-pro p { color: #E8E0CE; }
.band-export { background: var(--sand); }
.band-export:has(.band-img)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(233, 223, 201, .88); }
.band-label { font-size: 15px; font-weight: 700; color: var(--orange); }
.band-pro .band-label { color: var(--sand); }
.band-note { font-size: 15px; }

/* ---------- Quality ---------- */
.quality-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.quality-grid > div:first-child { display: grid; gap: 20px; justify-items: start; }
.trace-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.trace-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); }
.trace-list h3 { font-size: 22px; margin-bottom: 4px; }
.trace-list p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.cert-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.cert-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cert-list img { height: 40px; width: auto; }
.cert-h { margin-top: 24px; font-size: 24px; }

/* ---------- Recipes ---------- */
.recipe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.recipe-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.rc-media { display: block; aspect-ratio: 3 / 2; background: var(--sand); }
.rc-media img { width: 100%; height: 100%; object-fit: cover; }
.rc-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.rc-body h3 a { color: var(--forest); text-decoration: none; }
.rc-body h3 a:hover { text-decoration: underline; }
.rc-meta { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.recipe-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-bottom: 40px; }
.recipe-head > div { display: grid; gap: 14px; }
.recipe-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.recipe-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); padding: 40px 0 var(--section); border-top: 1px solid var(--line); }
.recipe-body h2 { font-size: 34px; margin-bottom: 16px; }
.ingredients { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.method ol { padding-left: 22px; display: grid; gap: 12px; }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-grid > div { display: grid; gap: 20px; justify-items: start; }
.story-img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.story-img.is-illustration { background: var(--paper); border: 1px solid var(--line); }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tick-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.tick-list .icon { color: var(--green); margin-top: 2px; }
.tick-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.facts { background: var(--forest); color: var(--ivory); }
.fact-list { margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px 56px; padding-block: 28px; }
.fact-list dt { font-size: 14px; color: var(--sand); }
.fact-list dd { margin: 0; font-family: var(--font-display); font-size: 26px; }

/* ---------- Professional ---------- */
.segment-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.segment-grid li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.segment-grid h3 { font-size: 24px; }
.segment-grid p { color: var(--ink-2); font-size: 16px; }
.range { background: var(--paper); border-block: 1px solid var(--line); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.range-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 16px; }
.range-table th, .range-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.range-table thead th { font-size: 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--forest); }
.range-table tbody th a { color: var(--forest); font-weight: 700; }
.cap-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 72px); }
.cap-grid > div { display: grid; gap: 16px; align-content: start; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.export { background: var(--sand); }
.export .quote-grid > div { display: grid; gap: 18px; justify-items: start; }
.contact-aside { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.contact-aside h2 { font-size: 30px; }
.contact-aside h3 { font-size: 22px; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-lines a, .contact-lines li > span { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--charcoal); text-decoration: none; font-weight: 600; }
.contact-lines a:hover { color: var(--forest); text-decoration: underline; }
.contact-lines .icon { flex: none; margin-top: 3px; color: var(--green); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.card-form { padding: clamp(24px, 3.5vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.card-form h2 { font-size: clamp(30px, 3.4vw, 42px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label, .field-label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea, .wa-form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff;
}
.field textarea, .wa-form textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .wa-form textarea:focus { border-color: var(--forest); outline: 2px solid var(--orange); outline-offset: 1px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--forest); }
.form-error { color: var(--red); font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

/* ---------- Cart ---------- */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 96px; height: 72px; object-fit: contain; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; }
.cart-line h3 { font-size: 22px; }
.cart-line h3 a { color: var(--forest); text-decoration: none; }
.cart-line .meta { font-size: 14px; color: var(--muted); }
.cart-line .line-total { font-weight: 700; text-align: right; }
.cart-line .row { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.cart-line .warn { color: var(--red); font-size: 14px; font-weight: 600; }
.checkout { position: sticky; top: 110px; display: grid; gap: 16px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.checkout h2 { font-size: 32px; }
.totals { margin: 0; display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 700; }
.sent { display: grid; gap: 12px; padding: 18px; background: #EAF5E8; border: 1px solid #A9D5A0; border-radius: var(--radius); }
.sent h3 { font-size: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--ivory); padding-top: clamp(48px, 6vw, 72px); }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, .8fr)) 1.4fr; gap: 32px; padding-bottom: 40px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand img { width: 100px; height: auto; }
.footer-tagline { font-family: var(--font-display); font-size: 22px; line-height: 1.25; }
.footer-sign { color: var(--sand); font-size: 15px; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer-h { font-weight: 700; color: var(--sand); margin-bottom: 4px; }
.footer-contact a, .footer-contact p { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { flex: none; margin-top: 3px; color: var(--sand); }
.footer-base { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px 28px; font-size: 14px; color: var(--sand); }
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--forest-line); }
.footer-col { min-width: 0; }
.footer-contact a, .footer-contact p { overflow-wrap: anywhere; }
.footer-social { display: flex; gap: 20px; }

/* ---------- WhatsApp panel ---------- */
.wa { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: grid; justify-items: end; gap: 12px; }
.wa-fab { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: var(--pill); background: var(--green); color: #fff; font-weight: 700; box-shadow: 0 6px 18px rgba(13, 118, 4, .32); }
.wa-fab:hover { background: #0A5C03; }
.wa-panel { width: min(380px, calc(100vw - 32px)); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(36, 35, 33, .22); overflow: hidden; order: -1; }
.wa-head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 18px 14px 22px; background: var(--forest); color: var(--ivory); }
.wa-head h2 { font-family: var(--font-body); font-size: 17px; font-weight: 700; color: var(--ivory); line-height: 1.3; }
.wa-head .icon-btn { color: var(--ivory); }
.wa-head .icon-btn:hover { background: var(--forest-line); color: #fff; }
.wa-status { font-size: 14px; color: var(--sand); margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.wa-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex: none; }
.wa-status.is-open::before { background: #5BD14B; }
.wa-form { display: grid; gap: 12px; padding: 18px 22px 22px; }
.wa-form legend { font-size: 15px; }
.wa-form .chips { gap: 8px; }
.wa-form .chip span { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* ---------- Mobile quick bar ---------- */
.mobile-bar { display: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 200; background: var(--charcoal); color: var(--ivory); padding: 12px 20px; border-radius: var(--pill); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--sand); margin-left: 8px; }

/* ---------- Management reports ---------- */
.report { background: #fff; }
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 32px; border-bottom: 1px solid var(--line); }
.report-head > div:first-child { display: flex; align-items: center; gap: 18px; }
.report-head h1 { font-size: 34px; }
.report-head p { color: var(--muted); font-size: 14px; }
.report-actions { display: flex; gap: 10px; }
.report-main { padding: 24px 32px 48px; display: grid; gap: 18px; }
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.kpi { display: grid; gap: 4px; text-align: left; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: 14px; color: var(--ink-2); }
button.kpi[aria-pressed="true"] { outline: 2px solid var(--forest); }
.kpi-n { font-family: var(--font-display); font-size: 36px; color: var(--charcoal); line-height: 1; }
.kpi-1 { border-top: 4px solid var(--green); }
.kpi-2 { border-top: 4px solid var(--orange); }
.kpi-3 { border-top: 4px solid var(--info); }
.kpi-4 { border-top: 4px solid var(--red); }
.kpi-overdue { border-top: 4px solid var(--charcoal); }
.report-note { font-size: 14px; color: var(--ink-2); max-width: 110ch; }
.report-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.45; }
.report-table th, .report-table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.report-table thead th { background: var(--forest); color: var(--ivory); font-weight: 600; position: sticky; top: 0; }
.report-table .num { text-align: right; white-space: nowrap; }
[data-register] td:first-child, [data-register] td:nth-child(9), [data-register] td:nth-child(10) { white-space: nowrap; }
.status { display: inline-block; padding: 2px 8px; border-radius: 4px; font-weight: 700; font-size: 12px; white-space: nowrap; }
.status-verified-current, .level-in { background: #E3F2E0; color: #0A5C03; }
.status-requires-update, .level-low { background: #FDEBD8; color: #8A4210; }
.status-admin-verification-required { background: #EEF1FD; color: var(--info); }
.status-content-required-from-ghame, .level-out { background: #FBE3E4; color: var(--red-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .steps-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--forest); font-weight: 700; }
  .plate-grid, .recipe-grid, .segment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fruit-grid, .quality-grid, .story-grid, .about-grid, .product, .recipe-head, .recipe-body, .cap-grid, .quote-grid, .cart-grid { grid-template-columns: minmax(0, 1fr); }
  .bands { grid-template-columns: minmax(0, 1fr); }
  .band-pro .band-body { padding-left: var(--gutter); box-sizing: border-box; max-width: 720px; }
  .gallery, .checkout { position: static; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .header-row { min-height: 72px; }
  .brand img { height: 56px; }
  .plate-grid, .recipe-grid, .senses-grid, .segment-grid, .trace-list, .tick-list-2, .form-grid, .stage-list { grid-template-columns: minmax(0, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pc-body { padding: 14px; }
  .pc-title { font-size: 20px; }
  .steps-7, .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-list { justify-content: flex-start; }
  .trust-list li { border-left: 0; padding: 4px 16px 4px 0; width: 50%; }
  .hero-vine { opacity: .5; right: -40%; }
  .spec-list div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-column: 1 / -1; }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-line img { width: 72px; height: 56px; }
  .cart-line .line-total { grid-column: 2; text-align: left; }
  .wa { right: 12px; bottom: 80px; }
  .wa-fab { display: none; }
  .toast { bottom: 84px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a, .mobile-bar button {
    display: grid; justify-items: center; gap: 2px; min-height: 60px; padding: 8px 4px; border: 0; background: transparent;
    color: var(--charcoal); font-size: 12px; font-weight: 600; text-decoration: none; position: relative;
  }
  .mobile-bar button { color: var(--green); }
  .mobile-bar .cart-count { position: static; display: inline-block; margin-left: 2px; }
  .report-head, .report-main { padding-inline: 16px; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .steps-7, .steps-4 { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .no-print, .site-header, .site-footer, .wa, .mobile-bar, .toast { display: none !important; }
  .report-main { padding: 0; }
  .report-table { font-size: 10px; }
  .report-table thead th { position: static; background: #fff; color: #000; border-bottom: 2px solid #000; }
  .report-table tr { break-inside: avoid; }
  .kpis { grid-template-columns: repeat(5, 1fr); }
  body { background: #fff; }
}

.btn-link { border: 0; background: none; padding: 0; min-height: 44px; color: var(--cinnamon); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.btn-link:hover { color: var(--forest); }

/* ---------- Update 2: certificates, vision, export formats ---------- */
.pc-per { font-weight: 500; color: var(--muted); font-size: 15px; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; row-gap: 28px; }
.cert-list a { color: var(--charcoal); }
.cert-cards { list-style: none; margin: 20px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cert-card { display: grid; gap: 14px; align-content: start; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.cert-thumb { display: block; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.cert-thumb img { width: 100%; height: auto; }
.cert-card h3 { font-size: 26px; }
.cert-std { font-weight: 600; color: var(--cinnamon); font-size: 15px; }
.cert-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; font-weight: 600; }
.cert-body { max-width: 90ch; }
.vm { background: var(--forest); color: var(--ivory); }
.vm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.vm h2 { color: var(--ivory); font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 12px; }
.vm .lead { color: #E8E0CE; }
.format-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.format-list li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--orange); }
@media (max-width: 980px) { .cert-cards, .vm-grid { grid-template-columns: minmax(0, 1fr); } .steps-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cert-card { grid-template-columns: 120px 1fr; } }
@media (max-width: 420px) { .steps-3 { grid-template-columns: minmax(0, 1fr); } .cert-card { grid-template-columns: minmax(0, 1fr); } }
