/* Bazan Cacao — mobile first */

:root {
  --cream: #FFF1D6;
  --cream-2: #F6E3BE;
  --paper: #FFF8EA;
  --cocoa: #2B0000;
  --bazan: #5E0101;
  --teal: #1F2D13;
  --ink: #2B0000;
  --muted: #6E4B42;
  --line: rgba(43, 0, 0, .14);
  --line-light: rgba(255, 241, 214, .2);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --max: 1200px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 8vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 5.5vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--bazan); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--cocoa); color: var(--cream); }
.section--teal { background: var(--teal); color: var(--cream); }
.section--bazan { background: var(--bazan); color: var(--cream); }
.eyebrow {
  display: inline-block;
  font: 500 .75rem/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: .8;
}
.lead { font-size: 1.1rem; max-width: 60ch; }
.muted { color: var(--muted); }
.section--dark .muted, .section--teal .muted, .section--bazan .muted { color: rgba(255, 241, 214, .72); }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.35; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.note-todo { font-size: .8rem; color: var(--muted); font-style: italic; }

/* Buttons: one primary per screen, the rest are text links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  background: var(--bazan); color: var(--cream);
  border: 1px solid var(--bazan); border-radius: 0;
  font: 500 .85rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--cocoa); border-color: var(--cocoa); }
.btn--light { background: var(--cream); color: var(--cocoa); border-color: var(--cream); }
.btn--light:hover { background: transparent; color: var(--cream); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 .85rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
  background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer;
}
.link::after { content: "→"; transition: transform .2s; }
.link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { height: 46px; width: auto; }
.logo__word { height: 32px; width: auto; }
.logo--footer .logo__mark { height: 84px; }
.logo--footer .logo__word { height: 52px; }
@media (min-width: 1000px) {
  .logo__mark { height: 56px; }
  .logo__word { height: 38px; }
}
.nav { display: none; }
.header__tools { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; text-decoration: none;
}
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--bazan); color: var(--cream);
  font: 600 .68rem/18px var(--sans); text-align: center;
}
.cart-count[hidden] { display: none; }

.mnav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--cream); padding: 24px var(--gutter) 40px;
  overflow-y: auto; display: none;
}
.mnav.is-open { display: block; }
.mnav a {
  display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
  font: 400 1.6rem/1.2 var(--serif); text-decoration: none;
}
.mnav a[aria-current="page"] { color: var(--bazan); font-style: italic; }
.mnav__foot { margin-top: 32px; font-size: .9rem; }
body.nav-open { overflow: hidden; }

@media (min-width: 1000px) {
  .nav { display: flex; gap: 28px; }
  .nav a {
    font: 500 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
    text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent;
  }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
  .menu-toggle { display: none; }
  .mnav { display: none !important; }
  :root { --header-h: 76px; }
}

/* ---------- Image placeholders (thay bằng ảnh thật) ---------- */
.ph {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255, 241, 214, .14), transparent 60%),
    linear-gradient(160deg, var(--bazan), var(--cocoa));
  color: var(--cream);
  aspect-ratio: 4 / 5;
}
.ph::before {
  content: ""; position: absolute; inset: 15% 30%;
  background: currentColor; opacity: .22;
  -webkit-mask: url(../img/pod.svg) center/contain no-repeat; mask: url(../img/pod.svg) center/contain no-repeat;
}
.ph[data-label]::after {
  content: "Ảnh: " attr(data-label);
  position: absolute; left: 12px; bottom: 10px; right: 12px;
  font: 400 .72rem/1.3 var(--sans); letter-spacing: .04em; opacity: .65;
}
.ph--teal { background: radial-gradient(120% 90% at 80% 10%, rgba(255, 241, 214, .12), transparent 60%), linear-gradient(160deg, #34452a, var(--teal)); }
.ph--cream { background: linear-gradient(160deg, var(--cream-2), #E9C9A0); color: var(--bazan); }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--square { aspect-ratio: 1; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--photo::before, .ph--photo::after { display: none; }
.hero .ph--photo::after { display: block; content: ""; inset: 0; background: rgba(43, 0, 0, .35); }

/* Product "wrapper" illustration — placeholder for packshots */
.pack {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--paper); display: grid; place-items: center;
}
.pack__box {
  position: relative; width: 62%; aspect-ratio: 3 / 4;
  background: var(--c1); color: var(--c2);
  box-shadow: 0 18px 30px -18px rgba(43, 0, 0, .55);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 10% 9%;
  transition: transform .4s ease;
}
.pack__box::before {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background:
    repeating-linear-gradient(45deg, var(--c2) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(-45deg, var(--c2) 0 1px, transparent 1px 12px);
}
.pack__box::after {
  content: ""; position: absolute; right: 9%; top: 9%; width: 16%; aspect-ratio: 1 / 2;
  background: var(--c2); opacity: .9;
  -webkit-mask: url(../img/pod.svg) center/contain no-repeat; mask: url(../img/pod.svg) center/contain no-repeat;
}
.pack__brand { position: relative; font: 600 .55rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.pack__name { position: relative; font: 400 clamp(.95rem, 3.4vw, 1.25rem)/1.15 var(--serif); }
.pack__size { position: relative; font: 500 .6rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.pack__name { padding-right: 20%; }
.pack--combo .pack__box { width: 76%; aspect-ratio: 4 / 3; padding: 7% 8%; }
.pack--combo .pack__name { font-size: clamp(.85rem, 2.8vw, 1.15rem); }
a:hover .pack__box { transform: translateY(-6px) rotate(-1.5deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - var(--header-h));
  display: flex; align-items: flex-end;
  color: var(--cream); overflow: hidden;
}
.hero .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.hero .ph::before { inset: 10% 8% 30% 45%; opacity: .16; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43, 0, 0, .75), rgba(43, 0, 0, 0) 60%); }
.hero__inner { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 56px; }
.hero h1 { max-width: 12ch; }
.hero p { max-width: 42ch; font-size: 1.05rem; margin-bottom: 28px; }
.hero--short { min-height: 62svh; }

/* Home banner: designer artwork with the slogan built in */
.banner { background: #F3E5CB; }
.banner__img { width: 100%; height: auto; max-height: calc(100svh - var(--header-h) - 150px); object-fit: contain; }
.banner__cta { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 28px; padding-bottom: 40px; text-align: center; }
.banner__cta .quote { margin: 0; font-size: clamp(1.2rem, 4vw, 1.7rem); }
@media (min-width: 760px) {
  .banner__cta { flex-direction: row; justify-content: space-between; text-align: left; }
}

.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 7vw, 4rem); }

/* ---------- Layout helpers ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.grid-3 { display: grid; gap: 40px; }
.grid-2 { display: grid; gap: 24px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .section { padding: 112px 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--rev > :first-child { order: 2; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
}
@media (min-width: 1100px) {
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Product card */
.card { text-decoration: none; display: block; }
.card .pack { margin-bottom: 14px; }
.card__name { font: 400 1.1rem/1.25 var(--serif); margin: 0 0 4px; }
.card__meta { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; }
.card__price { color: var(--ink); font-weight: 500; }

/* USP */
.usp { border-top: 1px solid currentColor; padding-top: 24px; }
.usp__num { font: italic 400 2.6rem/1 var(--serif); opacity: .5; margin-bottom: 16px; display: block; }
.usp h3 { margin-bottom: 10px; }

/* Channel strip */
.channels { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.channels a {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 96px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font: 500 1rem/1 var(--sans); letter-spacing: .04em; text-decoration: none; opacity: .8;
  transition: opacity .2s, background .2s;
}
.channels a:hover { opacity: 1; background: var(--paper); }
.channels svg { width: 24px; height: 24px; }
@media (min-width: 760px) { .channels { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Story ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
.value { text-align: center; }
.value__icon { width: 64px; height: 64px; margin: 0 auto 14px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; }
.value__icon svg { width: 28px; height: 28px; }
.value h3 { font-size: 1.15rem; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(4, 1fr); } }

.cycle { list-style: none; margin: 40px 0 0; padding: 0; position: relative; }
.cycle li { position: relative; padding: 0 0 28px 56px; }
.cycle li::before {
  content: attr(data-n); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--cream);
  display: grid; place-items: center; font: italic 1rem/1 var(--serif); background: var(--teal);
}
.cycle li::after { content: ""; position: absolute; left: 20px; top: 40px; bottom: 0; border-left: 1px dashed var(--line-light); }
.cycle li:last-child::after { display: none; }
.cycle h3 { font-size: 1.1rem; margin-bottom: 4px; }
.cycle p { margin: 0; font-size: .92rem; opacity: .8; }
.cycle .is-example h3::after { content: "Ví dụ minh họa"; margin-left: 8px; font: 500 .62rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; border: 1px solid currentColor; padding: 3px 6px; vertical-align: middle; opacity: .7; }
.cycle__center { display: none; }

@media (min-width: 1000px) {
  .cycle { width: 760px; height: 760px; margin: 56px auto 0; }
  .cycle::before { content: ""; position: absolute; inset: 120px; border: 1px dashed var(--line-light); border-radius: 50%; }
  .cycle li {
    position: absolute; left: 50%; top: 50%; width: 210px; margin: -60px 0 0 -105px; padding: 52px 0 0; text-align: center;
    transform: rotate(var(--a)) translateY(-260px) rotate(calc(-1 * var(--a)));
  }
  .cycle li::before { left: 50%; margin-left: -20px; }
  .cycle li::after { display: none; }
  .cycle__center { display: grid; place-items: center; text-align: center; position: absolute; inset: 250px; }
  .cycle__center span { font: italic 1.5rem/1.25 var(--serif); }
  .cycle__center::before { content: ""; position: absolute; inset: 20% 38%; background: var(--cream); opacity: .12; -webkit-mask: url(../img/pod.svg) center/contain no-repeat; mask: url(../img/pod.svg) center/contain no-repeat; }
}

.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
.team .ph { margin-bottom: 12px; }
.team h3 { font-size: 1.05rem; margin-bottom: 2px; }
.team p { font-size: .85rem; color: var(--muted); }
@media (min-width: 760px) { .team { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

/* ---------- Product detail ---------- */
.pd { display: grid; gap: 32px; padding: 32px 0 72px; }
.pd .pack { aspect-ratio: 1; }
.crumbs { font-size: .8rem; letter-spacing: .06em; color: var(--muted); padding-top: 24px; }
.crumbs a { text-decoration: none; }
.pd__price { font: 400 1.6rem/1 var(--serif); margin: 4px 0 24px; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; border: 0; padding: 0; }
.variants legend { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); cursor: pointer; font-size: .9rem; }
.variant input:checked + span { border-color: var(--cocoa); background: var(--cocoa); color: var(--cream); }
.variant input:focus-visible + span { outline: 2px solid var(--bazan); outline-offset: 2px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 50px; }
.qty button { width: 44px; height: 100%; background: none; border: 0; cursor: pointer; font-size: 1.1rem; }
.qty input { width: 44px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd__buy { display: flex; gap: 10px; margin-bottom: 18px; }
.pd__buy .btn { flex: 1; }
.pd__shops { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; margin-bottom: 32px; }
.pd__shops a { text-decoration: underline; text-underline-offset: 3px; }
.added { font-size: .9rem; color: var(--teal); margin: -8px 0 16px; }
@media (min-width: 900px) {
  .pd { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
  .pd__media { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Accordions */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 500 .95rem/1.4 var(--sans);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 300 1.4rem/1 var(--sans); transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details > div { padding: 0 0 20px; color: var(--muted); }
.acc details > div p:last-child { margin: 0; }

/* ---------- Gifts ---------- */
.season { display: grid; gap: 14px; }
.season__item { position: relative; }
.season__item .ph { aspect-ratio: 3 / 4; }
.season__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; color: var(--cream); background: linear-gradient(to top, rgba(43,0,0,.7), transparent); }
.season__cap h3 { margin: 0; }
.season__cap p { margin: 0; font-size: .85rem; opacity: .8; }
@media (min-width: 760px) { .season { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- B2B ---------- */
.segments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.segment { background: var(--cream); padding: 24px 18px; }
.segment svg { width: 32px; height: 32px; margin-bottom: 18px; color: var(--bazan); }
.segment h3 { font-size: 1.15rem; margin-bottom: 6px; }
.segment p { font-size: .88rem; color: var(--muted); margin: 0; }
@media (min-width: 900px) { .segments { grid-template-columns: repeat(4, 1fr); } .segment { padding: 36px 28px; } }

.spec { border-top: 1px solid var(--line-light); margin: 28px 0; }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: .95rem; }
.spec dt { opacity: .7; }
.spec dd { margin: 0; text-align: right; }

.reasons { display: grid; gap: 28px; counter-reset: r; }
.reason { padding-left: 52px; position: relative; }
.reason::before { counter-increment: r; content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 0; font: italic 1.4rem/1 var(--serif); color: var(--bazan); }
.reason h3 { font-size: 1.15rem; margin-bottom: 6px; }
.reason p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 760px) { .reasons { grid-template-columns: 1fr 1fr; gap: 40px 56px; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { border-top: 1px solid var(--line-light); padding: 24px 0; display: grid; grid-template-columns: 56px 1fr; }
.steps li::before { counter-increment: s; content: counter(s); font: italic 2.2rem/1 var(--serif); opacity: .6; }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .92rem; opacity: .78; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 1fr; gap: 16px; }
}

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 28px 0; }
.tier { background: var(--cream); text-align: center; padding: 24px 8px; }
.tier strong { display: block; font: 400 clamp(1.8rem, 6vw, 2.6rem)/1 var(--serif); color: var(--bazan); }
.tier span { font-size: .78rem; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { padding: 8px 0 8px 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 6px; border-left: 1.5px solid var(--bazan); border-bottom: 1.5px solid var(--bazan); transform: rotate(-45deg); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  font-size: 16px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cocoa); }
.section--dark .field input, .section--dark .field select, .section--dark .field textarea { background: rgba(255,241,214,.06); border-color: var(--line-light); color: var(--cream); }
.section--dark .field select option { color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.check input { margin-top: 5px; accent-color: var(--bazan); }
.form-msg { padding: 16px; border: 1px solid currentColor; font-size: .95rem; }
.form-msg[hidden] { display: none; }

/* Designer artwork */
.figure { display: block; position: relative; text-decoration: none; }
.figure img { width: 100%; height: auto; box-shadow: 0 24px 48px -28px rgba(43, 0, 0, .45); }
.figure__hint { display: block; margin-top: 10px; font-size: .8rem; color: var(--muted); text-align: center; }
@media (min-width: 900px) { .figure__hint { display: none; } }
.art { width: 100%; height: auto; box-shadow: 0 24px 48px -28px rgba(43, 0, 0, .45); }

/* ---------- Blog ---------- */
.recipe { border-top: 1px solid var(--line); padding-top: 24px; }
.recipe .ph { margin-bottom: 20px; aspect-ratio: 4 / 3; }
.recipe__time { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.recipe h4 { font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 18px 0 8px; }
.recipe ul, .recipe ol { margin: 0; padding-left: 20px; font-size: .95rem; }
.recipe li { margin-bottom: 4px; }
.chapters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; padding: 0; list-style: none; }
.chapters li { border: 1px solid var(--line-light); padding: 8px 14px; font-size: .85rem; }

/* ---------- Cart ---------- */
.cart { display: grid; gap: 48px; padding-top: 32px; padding-bottom: 80px; }
.cart-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item .pack { aspect-ratio: 1; }
.cart-item .pack__box { width: 60%; padding: 8%; }
.cart-item .pack__brand, .cart-item .pack__name, .cart-item .pack__size { display: none; }
.cart-item h3 { font-size: 1.05rem; margin-bottom: 2px; }
.cart-item h3 a { text-decoration: none; }
.cart-item__meta { font-size: .85rem; color: var(--muted); }
.cart-item__right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.cart-item .qty { height: 38px; }
.cart-item .qty button { width: 32px; }
.cart-item .qty input { width: 30px; }
.remove { background: none; border: 0; padding: 0; font-size: .78rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.cart-total { display: flex; justify-content: space-between; padding: 20px 0; font: 400 1.3rem/1 var(--serif); }
.member { background: var(--teal); color: var(--cream); padding: 24px; margin-top: 24px; }
.member h3 { margin-bottom: 6px; }
.member p { margin: 0; font-size: .9rem; opacity: .85; }
.empty { padding: 48px 0; text-align: center; }
@media (min-width: 900px) { .cart { grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: start; } }

/* ---------- Footer ---------- */
.footer { background: var(--cocoa); color: var(--cream); padding: 64px 0 24px; }
.footer__grid { display: grid; gap: 0; }
.footer__brand { padding-bottom: 32px; border-bottom: 1px solid var(--line-light); }
.footer__brand .logo { margin-bottom: 18px; gap: 14px; }
.footer__slogan { font: italic 1.6rem/1.2 var(--serif); margin-bottom: 10px; }
.footer__brand p { font-size: .92rem; opacity: .78; max-width: 36ch; }
.socials { display: flex; gap: 6px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; }
.socials a:hover { background: var(--cream); color: var(--cocoa); }
.socials svg { width: 18px; height: 18px; }
.fcol { border-bottom: 1px solid var(--line-light); }
.fcol summary, .fcol h4 {
  font: 500 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  padding: 20px 0; margin: 0; list-style: none; display: flex; justify-content: space-between; cursor: pointer;
}
.fcol summary::-webkit-details-marker { display: none; }
.fcol summary::after { content: "+"; font-size: 1.1rem; }
.fcol details[open] summary::after { content: "–"; }
.fcol ul { list-style: none; margin: 0; padding: 0 0 20px; }
.fcol li { padding: 5px 0; }
.fcol a { text-decoration: none; opacity: .8; font-size: .95rem; }
.fcol a:hover { opacity: 1; text-decoration: underline; }
.fcol--contact { padding-bottom: 20px; }
.fcol--contact h4 { cursor: default; }
.fcol--contact p { margin: 0 0 6px; font-size: .95rem; opacity: .8; }
.footer__member { margin-top: 32px; font-size: .88rem; opacity: .8; }
.footer__member a { text-decoration: underline; }
.footer__bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-light); font-size: .8rem; opacity: .6; }
@media (min-width: 900px) {
  .footer { padding-top: 96px; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
  .footer__brand, .fcol { border-bottom: 0; padding-bottom: 0; }
  .fcol summary { cursor: default; pointer-events: none; padding-top: 0; }
  .fcol summary::after { display: none; }
  .fcol--contact h4 { padding-top: 0; }
}

/* ---------- Floating: social + chatbot ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: var(--cream); color: var(--cocoa);
  box-shadow: 0 8px 20px -6px rgba(43, 0, 0, .5);
}
.fab__btn svg { width: 22px; height: 22px; }
.fab__btn--chat { background: var(--bazan); color: var(--cream); }
.fab__social { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.fab__social[hidden] { display: none; }
.fab__social a {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px;
  background: var(--cream); color: var(--cocoa); border: 1px solid var(--line); border-radius: 20px;
  font-size: .85rem; font-weight: 500; text-decoration: none; box-shadow: 0 6px 16px -8px rgba(43,0,0,.4);
}
.fab__social svg { width: 18px; height: 18px; }

.chat {
  position: fixed; z-index: 70; inset: auto 0 0 0; height: min(78svh, 640px);
  background: var(--paper); color: var(--ink); display: flex; flex-direction: column;
  border-top: 1px solid var(--line); box-shadow: 0 -12px 40px -12px rgba(43,0,0,.35);
}
.chat[hidden] { display: none; }
.chat__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--cocoa); color: var(--cream); }
.chat__head strong { font: 400 1.1rem/1.2 var(--serif); display: block; }
.chat__head small { font-size: .75rem; opacity: .7; }
.chat__head .icon-btn { color: var(--cream); }
.chat__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; font-size: .92rem; line-height: 1.5; }
.msg--bot { background: var(--cream); align-self: flex-start; border: 1px solid var(--line); }
.msg--me { background: var(--bazan); color: var(--cream); align-self: flex-end; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { background: none; border: 1px solid var(--line); border-radius: 16px; padding: 6px 12px; font-size: .8rem; cursor: pointer; text-align: left; }
.chips button:hover { border-color: var(--cocoa); }
.chat__form { display: flex; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; border: 0; padding: 0 16px; min-height: 54px; background: var(--paper); font-size: 16px; }
.chat__form input:focus { outline: none; }
.chat__form button { border: 0; background: var(--cocoa); color: var(--cream); width: 56px; cursor: pointer; }
@media (min-width: 640px) {
  .chat { inset: auto 24px 88px auto; width: 380px; height: 560px; border: 1px solid var(--line); }
  .fab { right: 24px; bottom: 24px; }
}

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