/* ============================================================
   FLUX — findflux.eu
   Design system derived from the FLUX pouch (label 2.0)
   Palette sampled from the packaging artwork.
   ============================================================ */

:root {
  --blue: #779EC9;          /* pouch sky */
  --blue-deep: #6288B4;     /* footer / hover on blue */
  --cream: #EDE2D3;         /* pouch cream */
  --cream-soft: #F5EDE1;    /* raised panels */
  --cream-dark: #E3D5C2;    /* subtle borders on cream */
  --yellow: #EDB847;        /* logo yellow */
  --orange: #F59B17;        /* sun rays */
  --pink: #EE8EA6;          /* stripes / eye */
  --coral: #EC625B;         /* stripes / accents */
  --purple: #AE6CBA;        /* mushroom caps */
  --green: #7EA25C;         /* leaves */
  --brown: #917351;         /* outlines, display text (large) */
  --ink: #5B4530;           /* body text (darker brown for contrast) */
  --white: #FBF7F0;

  --font-display: "Shrikhand", "Georgia", serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", sans-serif;

  --line: 2px solid var(--brown);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --shadow-pop: 4px 5px 0 var(--pink), 8px 10px 0 var(--coral);
  --shadow-soft: 0 14px 34px rgba(91, 69, 48, .16);

  --wrap: 1160px;
  --pad: clamp(20px, 4.5vw, 44px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .01em;
  color: var(--brown);
}
.display--xl { font-size: clamp(40px, 6.4vw, 76px); }
.display--lg { font-size: clamp(32px, 4.6vw, 54px); }
.display--md { font-size: clamp(24px, 3vw, 34px); }

.eyebrow {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before, .eyebrow--center::after {
  content: "";
  width: 34px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 62ch; }
.muted { color: color-mix(in srgb, var(--ink) 72%, var(--cream)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px 14px;
  border-radius: var(--radius-pill);
  border: var(--line);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn--sun {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 3px 4px 0 var(--pink), 6px 8px 0 var(--coral);
}
.btn--sun:hover { transform: translate(-2px, -2px); box-shadow: 5px 6px 0 var(--pink), 10px 12px 0 var(--coral); }
.btn--sun:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--pink), 2px 2px 0 var(--coral); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--ghost:hover { background: rgba(251, 247, 240, .14); }
.btn--ghost-brown { background: transparent; color: var(--brown); }
.btn--ghost-brown:hover { background: rgba(145, 115, 81, .1); }
.btn--block { width: 100%; }
.btn--lg { font-size: 21px; padding: 18px 36px 17px; }
.btn[disabled], .btn--disabled { opacity: .5; cursor: not-allowed; pointer-events: auto; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--blue);
  border-bottom: var(--line);
  overflow: hidden;
}
.announce__track {
  display: flex;
  gap: 56px;
  width: max-content;
  padding: 9px 0 8px;
  animation: marquee 32s linear infinite;
}
.announce__item {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
}
.announce__item svg { width: 14px; height: 14px; flex: none; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: var(--line);
  transition: box-shadow .25s ease;
}
.header.is-stuck { box-shadow: 0 8px 30px rgba(91, 69, 48, .14); }
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}
.header__logo img { height: 44px; width: auto; }
.header__nav { display: flex; gap: 6px; }
.header__nav a {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brown);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background-color .16s ease, color .16s ease;
}
.header__nav a:hover { background: var(--yellow); color: var(--ink); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  border: var(--line);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  box-shadow: 2px 3px 0 var(--pink), 4px 6px 0 var(--coral);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cart-btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 4px 0 var(--pink), 6px 8px 0 var(--coral); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn__count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  border: 2px solid var(--brown);
  font-size: 14px;
  letter-spacing: 0;
}
.cart-btn__count.is-bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

.nav-toggle { display: none; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--brown);
  border: var(--line);
  border-radius: var(--radius-pill);
  background: var(--cream-soft);
  padding: 9px 14px 8px;
  transition: background-color .15s ease;
}
.lang-toggle:hover { background: var(--cream-dark); }
.lang-toggle [data-lang-opt] { opacity: .45; transition: opacity .15s ease, color .15s ease; }
.lang-toggle [data-lang-opt].is-active { opacity: 1; color: var(--coral); }
.lang-toggle__sep { opacity: .4; }

.trust-row i.t, .story em { font-style: normal; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--blue);
  overflow: hidden;
  text-align: center;
}
.hero__in {
  position: relative;
  z-index: 2;
  padding-top: clamp(40px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__logo { width: min(430px, 72vw); height: auto; filter: drop-shadow(0 10px 24px rgba(64, 46, 27, .18)); }
.hero__arch { margin-top: 6px; width: min(400px, 66vw); color: var(--cream); }
.hero__arch text {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: .34em;
  text-transform: uppercase;
  fill: var(--cream);
}
.hero__title {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.14;
  max-width: 17ch;
  margin-top: clamp(18px, 2.6vw, 30px);
  text-shadow: 2px 3px 0 rgba(91, 69, 48, .35);
}
.hero__sub {
  color: var(--white);
  max-width: 54ch;
  margin-top: 16px;
  font-size: clamp(16px, 1.5vw, 19px);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.hero__scene { position: relative; width: 100%; margin-top: clamp(6px, 1.4vw, 18px); }
.hero__sunmountain { width: min(760px, 86vw); margin-inline: auto; }

.hero__float { position: absolute; z-index: 1; }
.hero__float--mushroom-l { left: max(2vw, calc(50% - 560px)); bottom: 16%; width: clamp(90px, 13vw, 180px); }
.hero__float--mushroom-r { right: max(2vw, calc(50% - 570px)); bottom: 22%; width: clamp(80px, 11vw, 150px); }
.hero__float--pod-l { left: max(1vw, calc(50% - 660px)); top: 4%; width: clamp(70px, 9vw, 130px); }
.hero__float--pod-r { right: max(1vw, calc(50% - 650px)); top: 14%; width: clamp(66px, 8.4vw, 120px); }
.hero__float--leaf-l { left: max(4vw, calc(50% - 420px)); top: 6%; width: clamp(40px, 5vw, 70px); }
.hero__float--leaf-r { right: max(5vw, calc(50% - 440px)); top: 46%; width: clamp(38px, 4.6vw, 64px); }
.float-slow { animation: float 7s ease-in-out infinite; }
.float-slower { animation: float 9.5s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(-3deg); }
}
svg use[style] { transform-box: fill-box; transform-origin: center; }
.sun-rays { transform-box: fill-box; transform-origin: center; animation: sunspin 70s linear infinite; }
@keyframes sunspin { to { transform: rotate(360deg); } }
.eye-blink { transform-box: fill-box; transform-origin: center; animation: blink 7.5s ease-in-out infinite; }
@keyframes blink {
  0%, 5.5%, 100% { transform: scaleY(1); }
  2.5% { transform: scaleY(.08); }
}

.hero__chips {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  padding: 0 0 34px;
  margin-top: -6px;
}
.hero__chips span {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brown);
}

/* cloud band that closes the hero (cream clouds on blue) */
.clouds {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
}
.clouds--flip { transform: scaleY(-1); margin-bottom: 0; margin-top: -1px; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--coral);
  border-block: var(--line);
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 48px;
  padding: 13px 0 12px;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee__track, .announce:hover .announce__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.marquee__item svg { width: 18px; height: 18px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--blue { background: var(--blue); }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }
.section__head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.section__head .display { margin-top: 14px; }
.section__head p { margin-top: 16px; }

/* ---------- Why cacao ---------- */
.cacao { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.cacao__art { position: relative; }
.cacao__art > svg { width: min(420px, 80%); margin-inline: auto; }
.cacao__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fact-pill {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brown);
  border: var(--line);
  border-radius: var(--radius-pill);
  padding: 7px 16px 6px;
  background: var(--cream-soft);
}
.cacao__quote {
  margin-top: 30px;
  padding: 18px 22px;
  border-left: 4px solid var(--yellow);
  background: var(--cream-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

/* ---------- Benefit cards ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 30px); }
.bcard {
  position: relative;
  border: var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 4px 5px 0 rgba(145, 115, 81, .18);
}
.bcard:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-pop); }
.bcard--pink { background: var(--pink); }
.bcard--yellow { background: var(--yellow); }
.bcard--blue { background: var(--blue); }
.bcard__icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: var(--cream);
  border: var(--line);
  border-radius: 50%;
  margin-bottom: 18px;
}
.bcard__icon svg { width: 36px; height: 36px; }
.bcard h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.2; color: var(--ink); }
.bcard--blue h3 { color: var(--white); }
.bcard p { margin-top: 12px; font-size: 16px; }
.bcard--blue p { color: var(--white); }
.bcard__num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(91, 69, 48, .55);
  font-size: 16px;
}
.bcard--blue .bcard__num { color: rgba(251, 247, 240, .7); }

/* ---------- Ingredients ---------- */
.ing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.2vw, 26px); }
.ing-card {
  background: var(--cream);
  border: var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ing-card:hover { transform: translateY(-6px); box-shadow: 4px 6px 0 rgba(64, 46, 27, .28); }
.ing-card__art { width: 108px; height: 108px; margin: 0 auto 14px; }
.ing-card h3 {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brown);
}
.ing-card__tag {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-top: 2px;
}
.ing-card p { font-size: 15.5px; margin-top: 12px; }

/* ---------- Shop ---------- */
.shop { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery__main {
  position: relative;
  border: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #E9E4DC;
  box-shadow: var(--shadow-soft);
}
.gallery__main img { width: 100%; height: auto; aspect-ratio: 4 / 4.6; object-fit: cover; }
.gallery__badge {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--yellow);
  border: var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 15px;
  padding: 7px 16px 6px;
  color: var(--ink);
  box-shadow: 2px 3px 0 var(--pink);
}
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery__thumbs button {
  border: var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 0;
  background: #E9E4DC;
  opacity: .65;
  transition: opacity .15s ease, transform .15s ease;
}
.gallery__thumbs button.is-active { opacity: 1; box-shadow: 2px 3px 0 var(--coral); transform: translateY(-2px); }
.gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.product__eyebrow { color: var(--coral); }
.product h2.display--lg { margin-top: 10px; }
.product__tagline { margin-top: 10px; font-size: 18px; }
.product__price-row { display: flex; align-items: baseline; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.product__price { font-family: var(--font-display); font-size: 40px; color: var(--ink); }
.product__price-note { font-family: var(--font-cond); font-weight: 500; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); }
.product__benefits { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.product__benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.product__benefits svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.pack {
  position: relative;
  border: var(--line);
  border-radius: var(--radius-md);
  background: var(--cream-soft);
  padding: 14px 12px 12px;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.pack:hover { transform: translateY(-3px); }
.pack.is-active { background: var(--yellow); box-shadow: 3px 4px 0 var(--pink), 6px 8px 0 var(--coral); }
.pack__qty { display: block; font-family: var(--font-cond); font-weight: 600; font-size: 18px; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); }
.pack.is-active .pack__qty { color: var(--ink); }
.pack__price { display: block; font-family: var(--font-display); font-size: 22px; color: var(--ink); margin-top: 2px; }
.pack--soldout { opacity: .55; cursor: not-allowed; }
.pack--soldout:hover { transform: none; }
.pack__save--out { background: var(--brown); }
.pack__save--low { background: var(--orange); }
.pack__save {
  position: absolute;
  top: -12px; right: -8px;
  background: var(--coral);
  color: var(--white);
  border: 2px solid var(--brown);
  border-radius: var(--radius-pill);
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
  padding: 3px 10px 2px;
  text-transform: uppercase;
}
.pack__per { display: block; font-family: var(--font-cond); font-weight: 500; font-size: 14px; color: var(--brown); letter-spacing: .06em; margin-top: 2px; }
.pack.is-active .pack__per { color: var(--ink); }

.buy-row { display: flex; gap: 14px; margin-top: 24px; align-items: stretch; }
.qty {
  display: inline-flex;
  align-items: center;
  border: var(--line);
  border-radius: var(--radius-pill);
  background: var(--cream-soft);
  overflow: hidden;
  flex: none;
}
.qty button {
  width: 46px;
  height: 100%;
  min-height: 54px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-family: var(--font-cond);
  color: var(--brown);
  transition: background-color .12s ease;
}
.qty button:hover { background: var(--cream-dark); }
.qty output {
  min-width: 40px;
  text-align: center;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}
.buy-row .btn { flex: 1; }

.trust-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; }
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brown);
}
.trust-row svg { width: 17px; height: 17px; }

.details { margin-top: 30px; display: grid; gap: 10px; }
.details details {
  border: var(--line);
  border-radius: var(--radius-md);
  background: var(--cream-soft);
  overflow: hidden;
}
.details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown);
}
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 24px; line-height: 1; transition: transform .2s ease; }
.details details[open] summary::after { transform: rotate(45deg); }
.details .details__body { padding: 0 20px 18px; font-size: 16px; }
.details .details__body p + p { margin-top: 10px; }

/* ---------- Wide banner ---------- */
.banner {
  position: relative;
  border-block: var(--line);
  overflow: hidden;
  background: #DCD6CC;
}
.banner img { width: 100%; height: clamp(420px, 52vw, 640px); object-fit: cover; object-position: left center; }
.banner__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: clamp(20px, 52vw, 56%);
  padding-right: var(--pad);
  gap: 10px;
}
.banner__copy .display { color: var(--brown); }
.banner__copy p { max-width: 40ch; }
.banner__copy .btn { margin-top: 12px; }

/* ---------- Story ---------- */
.story { max-width: 980px; margin-inline: auto; text-align: center; position: relative; }
.story__grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(30px, 4.5vw, 48px);
  text-align: left;
}
.story__photo { margin: 0; transform: rotate(-2deg); }
.story__photo img {
  width: 100%;
  height: auto;
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 5px 7px 0 var(--pink), 10px 14px 0 var(--coral);
  background: #DDD5C8;
}
.story__photo figcaption {
  margin-top: 16px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brown);
  text-align: center;
}
.story p { margin-top: 18px; text-align: left; font-size: clamp(16px, 1.4vw, 18px); }
.story__text p:first-child { margin-top: 0; }
.story__sig { margin-top: 26px; text-align: left; display: flex; align-items: center; gap: 16px; }
.story__sig-name { font-family: var(--font-display); font-size: 24px; color: var(--brown); }
.story__sig-role { font-family: var(--font-cond); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; font-size: 14px; }
.story__deco { position: absolute; width: 64px; opacity: .9; }
.story__deco--l { left: -110px; top: 130px; }
.story__deco--r { right: -104px; top: 320px; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 30px); }
.tcard {
  margin: 0;
  position: relative;
  background: var(--cream-soft);
  border: var(--line);
  border-radius: var(--radius-lg);
  padding: 54px 26px 24px;
  box-shadow: 4px 5px 0 rgba(145, 115, 81, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tcard--tilt-l { transform: rotate(-1.2deg); }
.tcard--tilt-r { transform: rotate(1.2deg); }
.tcard:hover { transform: translateY(-6px) rotate(0deg); box-shadow: var(--shadow-pop); }
.tcard::before {
  content: "“";
  position: absolute;
  top: 2px; left: 22px;
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--coral);
  line-height: 1;
}
.tcard__stars {
  position: absolute;
  top: 20px; right: 20px;
  display: flex;
  gap: 3px;
}
.tcard__stars svg { width: 17px; height: 17px; }
.tcard blockquote { margin: 0; font-size: 16.5px; font-style: italic; }
.tcard figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 2px solid var(--cream-dark);
  font-size: 14.5px;
  line-height: 1.35;
}
.tcard figcaption em { font-style: normal; color: var(--brown); }
.tcard__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: var(--line);
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}
@media (max-width: 880px) {
  .testimonials { grid-template-columns: 1fr; }
  .tcard--tilt-l, .tcard--tilt-r { transform: none; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--cream);
  border: var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: 4px 5px 0 rgba(145, 115, 81, .22); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 17.5px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-cond);
  font-size: 26px;
  color: var(--coral);
  flex: none;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 22px 20px; font-size: 16px; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--blue);
  border: var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.newsletter h2 { color: var(--cream); }
.newsletter p { color: var(--white); margin-top: 12px; max-width: 44ch; }
.newsletter__form { display: flex; gap: 10px; }
.newsletter__form input {
  flex: 1;
  min-width: 0;
  font: inherit;
  padding: 15px 20px;
  border: var(--line);
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--ink);
  outline: none;
}
.newsletter__form input:focus { box-shadow: 0 0 0 4px rgba(237, 184, 71, .5); }
.newsletter__ok { color: var(--cream); font-weight: 700; display: none; margin-top: 10px; }
.newsletter__sun { position: absolute; right: -60px; bottom: -80px; width: 240px; opacity: .35; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--blue); color: var(--cream); }
.footer__in {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(40px, 6vw, 64px) 0 30px;
}
.footer__brand img { height: 52px; width: auto; }
.footer__brand p { margin-top: 14px; font-size: 15.5px; color: var(--white); max-width: 30ch; }
.footer h4 {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--cream);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: var(--white); text-decoration: none; font-size: 15.5px; }
.footer a:hover { text-decoration: underline wavy var(--yellow) 2px; text-underline-offset: 4px; }
.footer__legal {
  border-top: 2px solid rgba(251, 247, 240, .35);
  padding: 18px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  font-size: 14px;
  color: var(--white);
}
.footer__legal p { margin: 0; }

/* ---------- Cart drawer ---------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(64, 46, 27, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 90;
}
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 94vw);
  background: var(--cream);
  border-left: var(--line);
  z-index: 100;
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.22, .9, .3, 1);
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: none; }
.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: var(--line);
  background: var(--blue);
}
.drawer__head h3 {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream);
}
.drawer__close {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 2px solid var(--cream);
  border-radius: 50%;
  color: var(--cream);
  font-size: 20px;
  transition: transform .15s ease;
}
.drawer__close:hover { transform: rotate(90deg); }
.drawer__ship { padding: 14px 22px 0; }
.drawer__ship p { font-family: var(--font-cond); font-weight: 500; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--brown); margin-bottom: 8px; }
.ship-bar { height: 12px; border: 2px solid var(--brown); border-radius: 999px; overflow: hidden; background: var(--cream-soft); }
.ship-bar span { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--yellow) 0 10px, var(--orange) 10px 20px); transition: width .35s ease; }
.drawer__items { flex: 1; overflow-y: auto; padding: 16px 22px; display: grid; gap: 14px; align-content: start; }
.drawer__empty { text-align: center; padding: 40px 10px; }
.drawer__empty svg { width: 90px; margin: 0 auto 14px; opacity: .8; }
.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  border: var(--line);
  border-radius: var(--radius-md);
  background: var(--cream-soft);
  padding: 12px;
  align-items: center;
}
.cart-item img { width: 74px; height: 74px; object-fit: cover; border-radius: 12px; border: 2px solid var(--brown); }
.cart-item h4 { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.cart-item .cart-item__meta { font-family: var(--font-cond); font-size: 14px; letter-spacing: .08em; color: var(--brown); text-transform: uppercase; margin-top: 2px; }
.cart-item__qty { display: inline-flex; align-items: center; gap: 2px; border: 2px solid var(--brown); border-radius: 999px; margin-top: 8px; background: var(--cream); }
.cart-item__qty button { width: 28px; height: 26px; font-size: 16px; color: var(--brown); display: grid; place-items: center; }
.cart-item__qty output { min-width: 22px; text-align: center; font-family: var(--font-cond); font-weight: 600; font-size: 15px; }
.cart-item__right { display: grid; gap: 8px; justify-items: end; }
.cart-item__price { font-family: var(--font-cond); font-weight: 600; font-size: 17px; color: var(--ink); }
.cart-item__remove { font-size: 13px; color: var(--coral); text-decoration: underline; }
.drawer__foot { border-top: var(--line); padding: 16px 22px 20px; background: var(--cream-soft); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.drawer__total strong { font-family: var(--font-display); font-size: 26px; color: var(--ink); font-weight: 400; }
.drawer__total span { font-family: var(--font-cond); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 15px; color: var(--brown); }
.drawer__note { font-size: 13px; color: var(--brown); margin-bottom: 12px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, calc(100% + 44px));
  visibility: hidden;
  background: var(--yellow);
  border: var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 3px 4px 0 var(--pink), 6px 8px 0 var(--coral);
  padding: 12px 24px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 120;
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), visibility 0s .35s;
}
.toast.is-show { transform: translate(-50%, 0); visibility: visible; transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); }

/* ---------- Checkout page ---------- */
.page-head { background: var(--blue); text-align: center; padding: clamp(36px, 6vw, 60px) 0 0; }
.page-head h1 { color: var(--cream); }
.page-head p { color: var(--white); margin-top: 10px; }
.page-head .eyebrow { color: var(--cream); }

.checkout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4.5vw, 60px); align-items: start; }
.panel {
  background: var(--cream-soft);
  border: var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
}
.panel h2 {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.panel h2 .step {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  border: var(--line);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span-2 { grid-column: span 2; }
.field label {
  display: block;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  border: var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  transition: box-shadow .15s ease;
}
.field input:focus, .field select:focus { box-shadow: 0 0 0 4px rgba(237, 184, 71, .45); }
.field input.is-invalid { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(236, 98, 91, .25); }
.field .hint { font-size: 13px; color: var(--coral); margin-top: 4px; display: none; }
.field input.is-invalid + .hint { display: block; }

.paybox { display: grid; gap: 10px; }
.paybox label {
  display: flex;
  align-items: center;
  gap: 14px;
  border: var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
  padding: 14px 16px;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.paybox label:has(input:checked) { background: var(--yellow); box-shadow: 3px 4px 0 var(--pink); }
.paybox input { accent-color: var(--coral); width: 18px; height: 18px; }
.paybox .pay-name { font-weight: 700; font-size: 16px; }
.paybox .pay-desc { font-size: 13.5px; color: var(--brown); }
.paybox svg { width: 30px; height: 30px; margin-left: auto; flex: none; }

.summary__items { display: grid; gap: 12px; margin-bottom: 16px; }
.sum-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; }
.sum-item img { width: 58px; height: 58px; border-radius: 10px; border: 2px solid var(--brown); object-fit: cover; }
.sum-item h4 { font-size: 15px; }
.sum-item .cart-item__meta { font-family: var(--font-cond); font-size: 13.5px; letter-spacing: .06em; color: var(--brown); text-transform: uppercase; }
.sum-item strong { font-family: var(--font-cond); font-weight: 600; font-size: 16px; }
.summary__rows { border-top: var(--line); padding-top: 14px; display: grid; gap: 8px; }
.summary__rows > div { display: flex; justify-content: space-between; font-size: 15.5px; }
.summary__rows .grand { font-family: var(--font-display); font-size: 24px; color: var(--ink); border-top: var(--line); padding-top: 12px; margin-top: 6px; }
.summary__rows .grand span:first-child { font-family: var(--font-cond); font-weight: 600; font-size: 16px; letter-spacing: .2em; text-transform: uppercase; align-self: center; color: var(--brown); }
.promo { display: flex; gap: 8px; margin-top: 14px; }
.promo input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 15px;
  border: var(--line); border-radius: var(--radius-pill);
  background: var(--cream);
  padding: 10px 16px;
  outline: none;
}
.promo button {
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: var(--line);
  border-radius: var(--radius-pill);
  padding: 0 18px;
  background: var(--cream);
  transition: background-color .15s ease;
}
.promo button:hover { background: var(--yellow); }

/* success */
.success {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  background: var(--cream-soft);
  border: var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 56px);
  box-shadow: var(--shadow-pop);
}
.success svg { width: 130px; margin: 0 auto 18px; }
.success h2 { margin-top: 6px; }
.success .order-no {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: .2em;
  font-size: 18px;
  background: var(--yellow);
  border: var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 22px;
  margin-top: 18px;
  text-transform: uppercase;
}
.success p { margin-top: 16px; }

/* ---------- Legal prose ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-family: var(--font-cond); font-weight: 600; font-size: 22px; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); margin: 34px 0 10px; }
.prose p { margin-top: 10px; }
.prose a { color: var(--coral); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .ing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .story__deco { display: none; }
}
@media (max-width: 880px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__photo { max-width: 360px; margin-inline: auto; width: 100%; }
}

/* ---------- Admin ---------- */
.admin-note {
  border: var(--line);
  border-radius: var(--radius-md);
  background: var(--yellow);
  padding: 14px 18px;
  font-size: 15px;
  margin-bottom: 26px;
}
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.stat {
  border: var(--line);
  border-radius: var(--radius-md);
  background: var(--cream-soft);
  padding: 16px 18px;
}
.stat b { font-family: var(--font-display); font-weight: 400; font-size: 30px; display: block; color: var(--ink); }
.stat span { font-family: var(--font-cond); font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--brown); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.admin-table th {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown);
  text-align: left;
  padding: 8px 10px;
  border-bottom: var(--line);
}
.admin-table td { padding: 9px 10px; border-bottom: 1px solid var(--cream-dark); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.btn--small { font-size: 15px; padding: 9px 18px 8px; }
.admin-empty { color: var(--brown); font-size: 15px; padding: 12px 4px; }
.admin-wrap { display: grid; gap: 26px; }
@media (max-width: 700px) {
  .admin-stats { grid-template-columns: 1fr; }
  .admin-table { display: block; overflow-x: auto; }
}
@media (max-width: 880px) {
  .header__nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    background: var(--cream);
    border-left: var(--line);
    flex-direction: column;
    padding: 90px 26px 30px;
    gap: 4px;
    transform: translateX(105%);
    transition: transform .28s ease;
    z-index: 80;
  }
  .header__nav.is-open { transform: none; box-shadow: -20px 0 60px rgba(64, 46, 27, .25); }
  .header__nav a { font-size: 22px; padding: 12px 16px; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border: var(--line);
    border-radius: 50%;
    background: var(--cream-soft);
    z-index: 85;
    position: relative;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .nav-toggle .icon-close, .nav-toggle.is-open .icon-menu { display: none; }
  .nav-toggle.is-open .icon-close { display: block; }
  .shop, .cacao, .checkout { grid-template-columns: 1fr; }
  .cacao__art { order: -1; }
  .benefits { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .banner img { object-position: 28% center; height: 520px; }
  .banner__copy { padding-left: var(--pad); justify-content: flex-end; padding-bottom: 40px; background: linear-gradient(180deg, rgba(237, 226, 211, 0) 30%, rgba(237, 226, 211, .92) 72%); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .ing-grid { grid-template-columns: 1fr; }
  .packs { grid-template-columns: 1fr; }
  .pack { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; text-align: left; }
  .pack--soldout { opacity: .55; cursor: not-allowed; }
.pack--soldout:hover { transform: none; }
.pack__save--out { background: var(--brown); }
.pack__save--low { background: var(--orange); }
.pack__save { top: -10px; right: 10px; }
  .buy-row { flex-direction: column; }
  .qty { justify-content: center; }
  .footer__in { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .hero__chips { gap: 8px 16px; padding-inline: 12px; }
  .hero__chips span { font-size: 14px; letter-spacing: .2em; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form .btn { width: 100%; }
}

/* ---------- Chat assistant ---------- */
.fchat { position: fixed; right: 18px; bottom: 18px; z-index: 80; font-family: var(--font-body); }
.fchat__fab {
  display: flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--ink);
  border: var(--line); border-radius: var(--radius-pill);
  box-shadow: 3px 4px 0 var(--pink), 6px 8px 0 var(--coral);
  padding: 10px 18px 10px 12px; cursor: pointer;
  font: 600 15px/1 var(--font-cond); letter-spacing: .08em; text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease;
}
.fchat__fab:hover { transform: translate(-1px, -2px); box-shadow: 4px 6px 0 var(--pink), 8px 11px 0 var(--coral); }
.fchat__fab:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.fchat.is-open .fchat__fab { display: none; }
.fchat__panel {
  display: flex; flex-direction: column;
  width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100vh - 110px));
  background: var(--cream-soft); border: var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop); overflow: hidden;
}
.fchat__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--blue); color: var(--white); padding: 14px 14px 14px 18px; border-bottom: var(--line);
}
.fchat__title { display: block; font: 400 21px/1.1 var(--font-display); color: var(--yellow); text-shadow: 1.5px 1.5px 0 var(--brown); }
.fchat__sub { display: block; font-size: 12.5px; margin-top: 3px; opacity: .92; }
.fchat__close { background: var(--cream-soft); color: var(--ink); border: var(--line); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; flex: none; }
.fchat__log { flex: 1; overflow-y: auto; padding: 16px 14px 6px; display: flex; flex-direction: column; gap: 10px; }
.fchat__msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.fchat__msg a { color: var(--coral); font-weight: 600; }
.fchat__msg--bot { align-self: flex-start; background: var(--white); border: 1.5px solid var(--cream-dark); border-bottom-left-radius: 5px; }
.fchat__msg--user { align-self: flex-end; background: var(--yellow); border: 1.5px solid var(--brown); border-bottom-right-radius: 5px; }
.fchat__msg--err { border-color: var(--coral); }
.fchat__dots { display: inline-flex; gap: 4px; padding: 3px 0; }
.fchat__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--brown); animation: fchat-dot 1s infinite ease-in-out; }
.fchat__dots i:nth-child(2) { animation-delay: .15s; } .fchat__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes fchat-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.fchat__chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 14px 10px; }
.fchat__chips:empty { display: none; }
.fchat__chips button {
  background: var(--white); border: 1.5px solid var(--brown); border-radius: var(--radius-pill);
  padding: 7px 12px; font: 500 13px var(--font-body); color: var(--ink); cursor: pointer;
}
.fchat__chips button:hover { background: var(--yellow); }
.fchat__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1.5px solid var(--cream-dark); background: var(--cream); }
.fchat__form textarea, .fchat__off textarea, .fchat__off input, .fchat__off select {
  flex: 1; width: 100%; resize: none; border: 1.5px solid var(--brown); border-radius: 14px;
  padding: 10px 12px; font: 15px/1.4 var(--font-body); color: var(--ink); background: var(--white);
}
.fchat__form textarea:focus, .fchat__off :is(textarea, input, select):focus { outline: 3px solid rgba(119, 158, 201, .5); outline-offset: 1px; }
.fchat__send { flex: none; width: 44px; height: 44px; border-radius: 50%; border: var(--line); background: var(--yellow); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.fchat__off { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-top: 1.5px solid var(--cream-dark); background: var(--cream); overflow-y: auto; }
.fchat__off p { margin: 0; font-size: 14px; color: var(--ink); }
.fchat__off-send { align-self: flex-end; background: var(--yellow); border: var(--line); border-radius: var(--radius-pill); padding: 9px 20px; font: 600 15px var(--font-cond); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.fchat__note { margin: 0; padding: 7px 14px 10px; font-size: 11.5px; color: var(--brown); background: var(--cream); }
.fchat__note a { color: var(--brown); }
@media (max-width: 560px) {
  .fchat { right: 12px; bottom: 12px; }
  .fchat__fab-label { display: none; }
  .fchat__fab { padding: 12px; }
  .fchat.is-open { inset: 0; right: 0; bottom: 0; }
  .fchat__panel { width: 100vw; height: 100dvh; border-radius: 0; border: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .fchat__dots i { animation: none; } .fchat__fab { transition: none; } }

/* ---------- Decorative illustrations in section gutters ---------- */
.has-deco { position: relative; overflow-x: clip; }
.has-deco > .wrap { position: relative; z-index: 1; }
.deco { position: absolute; z-index: 0; height: auto; pointer-events: none; transform: var(--r, none); }
.deco.float-slow, .deco.float-slower { animation-name: deco-float; }
@keyframes deco-float {
  0%, 100% { transform: translateY(0) var(--r, rotate(0deg)); }
  50% { transform: translateY(-10px) var(--r, rotate(0deg)); }
}
/* gutters only exist on wide screens; on smaller ones keep just a few, smaller and quieter */
@media (max-width: 1339px) {
  .deco:not(.deco--keep) { display: none; }
  .deco--keep { width: 64px !important; opacity: .85; }
}
@media (max-width: 640px) { .deco--keep { display: none; } }

/* ---------- Legal pages ---------- */
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0 14px; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; padding: 9px 10px; border-bottom: 1.5px solid var(--cream-dark); }
.legal-table th { font: 600 13px var(--font-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--brown); }
.withdraw { margin-top: 40px; padding: clamp(20px, 3vw, 30px); background: var(--cream-soft); border: var(--line); border-radius: var(--radius-md); }
.withdraw h2 { margin-top: 0; }
.withdraw__form { display: grid; gap: 14px; max-width: 560px; margin-top: 14px; }
.withdraw__form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.withdraw__form input, .withdraw__form textarea { font: 400 16px var(--font-body); color: var(--ink); background: var(--white);
  border: 2px solid var(--brown); border-radius: 12px; padding: 10px 12px; }
.withdraw__form input:focus, .withdraw__form textarea:focus { outline: 3px solid rgba(119, 158, 201, .5); outline-offset: 1px; }
.withdraw__form .btn { justify-self: start; }
.withdraw__msg { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.withdraw__msg.is-ok { background: #DCEBCB; border: 2px solid #7EA25C; }
.withdraw__msg.is-err { background: #F6D5D2; border: 2px solid var(--coral); }
.footer__withdraw { font-weight: 700; text-decoration: underline; }
.product__vat { display: block; width: 100%; font-size: 13px; color: var(--brown); margin-top: 4px; }
.product__vat a { color: inherit; }
.pack__unit { display: block; font-size: 12px; color: var(--brown); margin-top: 1px; }

/* ---------- Commerce: purchase options, guarantee, cart extras ---------- */
.gallery__thumbs { grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 560px) { .gallery__thumbs { grid-template-columns: repeat(3, 1fr); } }

.product__was { font-size: .55em; color: var(--brown); text-decoration-thickness: 2px; vertical-align: middle; }
.guarantee { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 11px 14px; background: var(--cream-soft);
  border: 2px dashed var(--green); border-radius: var(--radius-md); font-size: 15px; line-height: 1.45; }
.guarantee svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: 1px; }
.guarantee a { color: var(--coral); font-weight: 600; }

.buy-mode { margin-top: 22px; }
.buy-mode__opts { display: grid; gap: 10px; }
.buy-opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  border: var(--line); border-radius: var(--radius-md); background: var(--cream-soft); padding: 13px 16px; cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease; }
.buy-opt input { width: 20px; height: 20px; accent-color: var(--coral); margin: 0; }
.buy-opt.is-active { background: var(--yellow); box-shadow: 3px 4px 0 var(--pink), 6px 8px 0 var(--coral); }
.buy-opt:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.buy-opt__body { display: grid; gap: 2px; }
.buy-opt__title { font-family: var(--font-cond); font-weight: 600; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.buy-opt__perks { font-size: 14px; color: var(--ink); }
.buy-opt__price { text-align: right; font-family: var(--font-cond); font-weight: 600; font-size: 19px; color: var(--ink); white-space: nowrap; }
.buy-opt__price s { color: var(--brown); font-weight: 500; font-size: 15px; margin-right: 4px; }
.buy-opt__price small { display: block; font-size: 12.5px; font-weight: 500; color: var(--brown); letter-spacing: .02em; }
.buy-opt--sub::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; }
.buy-mode__interval { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 10px; font-size: 15px; }
.buy-mode__interval label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.buy-mode__interval select { font: 600 16px var(--font-body); color: var(--ink); background: var(--white); border: 2px solid var(--brown);
  border-radius: 999px; padding: 7px 14px; }
.buy-mode__interval a { color: var(--coral); font-size: 14px; }

.cart-item__sub { display: inline-block; margin-top: 4px; font: 600 12.5px var(--font-cond); letter-spacing: .1em; text-transform: uppercase;
  background: var(--green); color: var(--white); border-radius: 999px; padding: 2px 10px 1px; }
.cart-item__price s { color: var(--brown); font-weight: 500; font-size: 14px; }
.cart-note { border: 2px dashed var(--brown); border-radius: var(--radius-md); background: var(--cream-soft); padding: 12px 14px; font-size: 14.5px; }
.cart-note p { margin: 0 0 10px; }
.cart-note__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cart-note--upsell { display: flex; gap: 12px; align-items: center; justify-content: space-between; border-color: var(--coral); }
.cart-note--upsell p { margin: 0; }
.drawer__express { margin-top: 12px; text-align: center; }
.drawer__express .drawer__note { margin: 8px 0 0; }
.drawer__foot .btn--ghost-brown { background: var(--white); }

/* checkout */
.sub-box { margin-top: 18px; padding: 12px 16px; background: var(--cream-soft); border: 2px solid var(--green); border-radius: var(--radius-md); font-size: 14.5px; line-height: 1.5; }
.sub-box a, .form-error a { color: var(--coral); font-weight: 600; }
.form-error { margin-top: 16px; padding: 12px 14px; background: #F6D5D2; border: 2px solid var(--coral); border-radius: 12px; font-size: 15px; color: var(--ink); }
.checkout__fine { font-size: 12.5px; color: var(--brown); text-align: center; margin-top: 8px; }
[data-mixed-box] { margin-top: 18px; }

/* sticky buy bar (phones) */
.sticky-buy { display: none; }
@media (max-width: 880px) {
  .sticky-buy { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 70; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--cream-soft); border: var(--line); border-radius: var(--radius-pill); padding: 8px 8px 8px 20px;
    box-shadow: 0 10px 28px rgba(91, 69, 48, .22); transform: translateY(140%); transition: transform .28s cubic-bezier(.22, .9, .3, 1); }
  .sticky-buy.is-show { transform: none; }
  .sticky-buy__info { display: grid; line-height: 1.15; }
  .sticky-buy__info strong { font: 400 20px var(--font-display); color: var(--brown); }
  .sticky-buy__info span { font: 600 16px var(--font-cond); letter-spacing: .06em; color: var(--ink); }
  .sticky-buy .btn { padding: 12px 20px 11px; font-size: 17px; }
  .has-sticky-buy .fchat:not(.is-open) { bottom: 84px; }
  .has-sticky-buy .toast { bottom: 90px; }
}

/* welcome offer dialog */
.welcome { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(61, 47, 34, .45); }
.welcome__card { position: relative; width: min(460px, 100%); background: var(--cream); border: var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop); padding: 34px 28px 24px; text-align: center; }
.welcome__sun { width: 74px; margin: -70px auto 8px; }
.welcome__card p { margin-top: 10px; font-size: 15.5px; }
.welcome__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center;
  border: 2px solid var(--brown); border-radius: 50%; background: var(--cream-soft); font-size: 18px; }
.welcome__form { display: grid; gap: 10px; margin-top: 18px; }
.welcome__form input { font: 400 17px var(--font-body); color: var(--ink); background: var(--white); border: 2px solid var(--brown); border-radius: 999px; padding: 12px 18px; text-align: center; }
.welcome__form input.is-invalid { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(236, 98, 91, .25); }
.welcome__fine { font-size: 12.5px !important; color: var(--brown); }
.welcome__fine a { color: inherit; }
.welcome__ok { font-weight: 600; }

/* FLUX vs. coffee */
.compare { max-width: 860px; margin: 0 auto; }
.compare__table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--cream-soft); border: var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-pop); font-size: 16px; }
.compare__table th, .compare__table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1.5px solid var(--cream-dark); }
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__table thead th { font: 600 17px var(--font-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--brown); }
.compare__table thead .compare__flux { background: var(--yellow); color: var(--ink); }
.compare__table tbody th { font: 600 15px var(--font-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--brown); white-space: nowrap; }
.compare__table tbody td:nth-of-type(1) { background: rgba(237, 184, 71, .16); font-weight: 600; color: var(--ink); }
.compare__m { display: none; }
.compare__note { margin-top: 12px; font-size: 13px; color: var(--brown); text-align: center; }
.compare__cta { text-align: center; margin-top: 22px; }
@media (max-width: 640px) {
  .compare__table, .compare__table tbody, .compare__table tr, .compare__table th, .compare__table td { display: block; }
  .compare__table thead { display: none; }
  .compare__table tbody tr { padding: 12px 16px; border-bottom: 1.5px solid var(--cream-dark); }
  .compare__table tbody tr:last-child { border-bottom: 0; }
  .compare__table tbody th, .compare__table tbody td { padding: 2px 0; border: 0; }
  .compare__table tbody td:nth-of-type(1) { background: none; }
  .compare__table tbody td:nth-of-type(2) { color: var(--brown); font-size: 15px; }
  .compare__m { display: inline !important; font: 600 13px var(--font-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
  td:nth-of-type(2) > .compare__m { color: var(--brown); }
}

/* supplement facts */
.facts { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 8px; }
.facts th, .facts td { text-align: left; padding: 6px 4px; border-bottom: 1.5px solid var(--cream-dark); }
.facts th { font: 600 13px var(--font-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--brown); }
.facts td:last-child, .facts th:last-child { text-align: right; }

/* cancellation page */
.cancel__form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.cancel__form legend { font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cancel__form .radio { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.cancel__form .radio input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--coral); }
.cancel__receipt { margin-top: 18px; padding: 16px 18px; background: var(--white); border: 2px solid var(--green); border-radius: var(--radius-md); font-size: 15px; }
.cancel__receipt h3 { font: 600 17px var(--font-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--brown); margin-bottom: 8px; }
@media print { .header, .footer, .page-head .clouds, [data-cancel-form] { display: none !important; } }
