@import url("../../assets/fonts/fonts.css");

/* ============================================================
   Kantan Flagship concept — design tokens
   santan (coconut cream) page, pandan ink, bunga kantan pink.
   Flavour colours belong to the packs and only flood the page
   in the flavour showcase.
   ============================================================ */
:root {
  --santan: #FFF8E6;
  --santan-2: #F7EDD0;
  --daun: #DCE4C6;
  --pandan: #1F4A35;
  --pandan-2: #173A29;
  --kantan: #D91B5C;
  --kantan-deep: #B3134A;
  --petal: #F9D3DE;
  --kunyit: #F2B33D;
  --ink: #1F4A35;
  --ink-soft: color-mix(in srgb, var(--pandan) 78%, var(--santan));
  --line: var(--pandan);

  --f-display: "Big Shoulders Display", "Arial Narrow", "Microsoft YaHei", "PingFang SC", sans-serif;
  --f-serif: "Fraunces", Georgia, "Songti SC", serif;
  --f-sans: "Plus Jakarta Sans", system-ui, "Microsoft YaHei", "PingFang SC", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-panel: 30px;
  --r-card: 22px;
  --r-img: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
  --demo-h: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); scrollbar-gutter: stable; overflow-x: clip; }
body {
  margin: 0; background: var(--santan); color: var(--ink);
  font: 450 17px/1.6 var(--f-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--kantan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--kantan); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
[hidden] { display: none !important; }

/* ---------- type ---------- */
.h-display, .h1, .h2, .h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0; margin: 0; color: var(--pandan); text-wrap: balance; }
.h1 { font-size: clamp(50px, 6.4vw, 98px); line-height: .9; }
.h2 { font-size: clamp(42px, 5.2vw, 80px); line-height: .92; }
.h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1; }
.accent { font-family: var(--f-serif); font-style: italic; font-weight: 600; font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.01em; color: var(--pandan); margin: 0; }
.accent--lg { font-size: clamp(40px, 4.8vw, 70px); line-height: 1; }
.accent--md { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; }
.lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--ink-soft); max-width: 58ch; margin: 0; }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--ink-soft); }
:lang(zh) .h1, :lang(zh) .h2, :lang(zh) .h3 { font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", var(--f-sans); font-weight: 800; letter-spacing: .02em; line-height: 1.12; }
:lang(zh) .h1 { font-size: clamp(38px, 4.6vw, 70px); }
:lang(zh) .h2 { font-size: clamp(32px, 3.8vw, 58px); }
:lang(zh) .accent, :lang(zh) .ticker .marquee__track, :lang(zh) .bloom__text { font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", var(--f-sans); font-style: normal; font-weight: 700; letter-spacing: .02em; }
.msg .card .meta { display: flex; gap: 14px; align-items: center; }
.msg .card .meta span { display: inline-flex; gap: 5px; align-items: center; }
.msg .card .meta .icon { width: 16px; height: 16px; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.stack > * + * { margin-top: var(--gap, 20px); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--kantan); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border: 1.5px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg); font: 700 16px/1 var(--f-sans); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { --bg: var(--kantan-deep); }
.btn:active { transform: scale(.97); }
.btn .icon { width: 20px; height: 20px; }
.btn--dark { --bg: var(--pandan); --fg: var(--santan); }
.btn--dark:hover { --bg: var(--pandan-2); }
.btn--light { --bg: var(--santan); --fg: var(--pandan); }
.btn--light:hover { --bg: #fff; }
.btn--ghost { background: transparent; color: var(--pandan); border-color: var(--pandan); }
.btn--ghost:hover { background: var(--pandan); color: var(--santan); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn__note { font: 500 13px/1 var(--f-sans); opacity: .78; }

/* the reference's hand-drawn double oval, redrawn as two loose rings */
.btn-sketch {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px; border: 1.5px solid var(--pandan);
  background: var(--daun); color: var(--pandan); font: 700 16px/1 var(--f-sans); text-decoration: none; white-space: nowrap;
  isolation: isolate;
}
.btn-sketch::before, .btn-sketch::after {
  content: ""; position: absolute; inset: -8px -5px; border: 1px solid var(--pandan); border-radius: 50%;
  transform: rotate(-3.5deg); transition: transform .6s var(--ease); pointer-events: none; z-index: -1;
}
.btn-sketch::after { inset: -5px -10px; transform: rotate(4deg); }
.btn-sketch:hover::before { transform: rotate(3deg) scale(1.03); }
.btn-sketch:hover::after { transform: rotate(-4deg) scale(1.02); }
.btn-sketch--light { background: transparent; color: var(--santan); border-color: var(--santan); }
.btn-sketch--light::before, .btn-sketch--light::after { border-color: var(--santan); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.link-arrow .icon { transition: transform .3s var(--ease); width: 18px; height: 18px; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- bloom (bunga kantan) badge ---------- */
.bloom { --size: 64px; --c: var(--kantan); position: relative; display: inline-grid; place-items: center; width: var(--size); height: var(--size); color: #fff; flex: none; }
.bloom svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bloom .bloom__line { color: var(--c); transform: rotate(11deg) scale(1.08); }
.bloom .bloom__fill { color: var(--c); transition: transform 1.2s var(--ease); }
.bloom:hover .bloom__fill { transform: rotate(45deg); }
.bloom__text { position: relative; font: 800 calc(var(--size) * .3)/1 var(--f-display); text-align: center; letter-spacing: .02em; text-transform: uppercase; }
.bloom--seal .bloom__text { font: 700 calc(var(--size) * .12)/1.1 var(--f-sans); text-transform: none; padding: 0 16%; }
.bloom--spin .bloom__fill { animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- panels ---------- */
.panel { border: 1.5px solid var(--line); border-radius: var(--r-panel); background: var(--santan); }
.frame { padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r-panel); background: var(--daun); }
.frame > :where(img:not(.hero__pack), .frame__img) { border-radius: var(--r-img); border: 1.5px solid var(--line); width: 100%; height: 100%; object-fit: cover; }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--pandan); border-radius: 999px; background: transparent; font: 600 14px/1 var(--f-sans); color: var(--pandan); white-space: nowrap; transition: background .2s, color .2s; }
.chip:hover { background: var(--daun); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--pandan); color: var(--santan); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--kantan)); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font: 700 12px/1 var(--f-sans); background: var(--daun); color: var(--pandan); }
.tag--pink { background: var(--petal); color: var(--kantan-deep); }

/* ---------- marquee + ticker ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: .45em; padding-right: .45em; animation: marquee var(--dur, 38s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > * { flex: none; max-width: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--hero { font: italic 600 clamp(60px, 8.4vw, 140px)/1.1 var(--f-serif); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.02em; color: var(--pandan); padding-block: 6px 2px; }
.marquee--hero .zh { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-style: normal; font-weight: 700; font-size: .78em; letter-spacing: .04em; }
.marquee--hero svg { width: .44em; height: .44em; color: var(--kantan); }
.ticker { border-top: 1.5px solid var(--line); overflow: hidden; white-space: nowrap; }
.ticker .marquee__track { --dur: 28s; padding-block: 12px; font: italic 600 26px/1 var(--f-serif); font-variation-settings: "SOFT" 100, "WONK" 1; gap: 22px; padding-right: 22px; }
.ticker svg { width: 26px; height: 26px; color: var(--kantan); }

/* ============================================================
   Chrome: demo bar, header, menu, footer
   ============================================================ */
.demo-bar { position: relative; z-index: 60; height: var(--demo-h); background: var(--pandan-2); color: var(--santan); font: 600 13px/1 var(--f-sans); }
.demo-bar .wrap { height: 100%; display: flex; align-items: center; gap: 18px; }
.demo-bar__label { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; opacity: .9; }
.demo-bar__label svg { width: 18px; height: 18px; color: var(--kantan); }
.demo-bar a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.demo-bar a:hover { text-decoration: underline; }
.tour-toggle { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 6px 0; font: 600 13px/1 var(--f-sans); color: var(--santan); }
.tour-toggle__sw { position: relative; width: 34px; height: 20px; border-radius: 999px; background: rgba(255, 248, 230, .25); transition: background .25s; }
.tour-toggle__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--santan); transition: transform .3s var(--ease); }
.tour-toggle[aria-pressed="true"] .tour-toggle__sw { background: var(--kantan); }
.tour-toggle[aria-pressed="true"] .tour-toggle__sw::after { transform: translateX(14px); }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--santan) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1.5px solid var(--line); }
.site-header__in { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a { position: relative; font: 650 15px/1 var(--f-sans); text-decoration: none; color: var(--pandan); padding-block: 8px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--kantan); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.logo { display: block; width: 132px; }
.logo img { width: 100%; }
.actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border: 1.5px solid var(--pandan); border-radius: 999px; }
.lang button { border: 0; background: none; min-width: 38px; height: 30px; padding: 0 9px; border-radius: 999px; font: 700 13px/1 var(--f-sans); color: var(--pandan); }
.lang button[aria-pressed="true"] { background: var(--pandan); color: var(--santan); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--pandan); border-radius: 50%; background: transparent; color: var(--pandan); transition: background .2s; }
.icon-btn:hover { background: var(--daun); }
.icon-btn .icon { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--kantan); color: #fff; font: 800 12px/1 var(--f-sans); border: 2px solid var(--santan); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }
.where-link { font: 650 15px/1 var(--f-sans); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; margin-right: 6px; }
.where-link:hover { color: var(--kantan); }

.mobile-menu { position: fixed; inset: 0; z-index: 80; background: var(--santan); padding: 22px var(--gutter) 40px; display: flex; flex-direction: column; gap: 28px; transform: translateY(-100%); transition: transform .55s var(--ease); visibility: hidden; }
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font: 800 46px/1.1 var(--f-display); text-transform: uppercase; text-decoration: none; color: var(--pandan); }

.site-footer { background: var(--pandan); color: var(--santan); padding: clamp(64px, 8vw, 100px) 0 28px; position: relative; }
.footer-bloom .bloom { --size: 112px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px; }
.footer-brand img { width: 190px; }
.footer-brand p { color: color-mix(in srgb, var(--santan) 80%, transparent); font-size: 15px; max-width: 32ch; }
.footer-col h4 { margin: 0 0 16px; font: 800 22px/1 var(--f-display); text-transform: uppercase; color: var(--santan); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: color-mix(in srgb, var(--santan) 82%, transparent); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--santan) 25%, transparent); }
.cert-row { display: flex; gap: 14px; align-items: center; }
.cert-row img { height: 46px; width: auto; background: #fff; border-radius: 10px; padding: 4px; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 700 12px/1 var(--f-sans); }
.pay-row span { padding: 8px 10px; border-radius: 8px; background: color-mix(in srgb, var(--santan) 12%, transparent); border: 1px solid color-mix(in srgb, var(--santan) 30%, transparent); }
.legal { margin-top: 26px; font-size: 13px; color: color-mix(in srgb, var(--santan) 65%, transparent); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.footer-bloom { position: absolute; right: clamp(150px, 24vw, 340px); top: -56px; }

/* ============================================================
   Overlays: drawer, modal, toast, tour, chat
   ============================================================ */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(23, 58, 41, .45); opacity: 0; pointer-events: none; transition: opacity .35s; }
.scrim.show { opacity: 1; pointer-events: auto; }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(440px, 100%); background: var(--santan); border-left: 1.5px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1.5px solid var(--line); }
.drawer__head h2 { margin: 0; font: 800 34px/1 var(--f-display); text-transform: uppercase; }
.drawer__body { flex: 1; overflow: auto; padding: 18px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1.5px solid var(--line); display: grid; gap: 14px; }
.ship-bar { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.ship-bar__track { height: 10px; border-radius: 999px; background: var(--daun); overflow: hidden; border: 1px solid var(--pandan); }
.ship-bar__fill { height: 100%; width: var(--p, 0%); background: var(--kantan); border-radius: inherit; transition: width .6s var(--ease); }
.ship-bar.done .ship-bar__fill { background: var(--pandan); }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed color-mix(in srgb, var(--pandan) 35%, transparent); }
.cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; border: 1.5px solid var(--line); }
.cart-line h3 { margin: 0 0 4px; font: 700 15px/1.3 var(--f-sans); }
.cart-line .price { font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--pandan); border-radius: 999px; height: 36px; }
.qty button { width: 34px; height: 100%; border: 0; background: none; display: grid; place-items: center; }
.qty button .icon { width: 16px; height: 16px; }
.qty output, .qty input { min-width: 26px; width: 30px; text-align: center; font-weight: 700; border: 0; background: none; padding: 0; }
.subtotal { display: flex; justify-content: space-between; font: 800 26px/1 var(--f-display); text-transform: uppercase; }
.empty-note { padding: 40px 6px; text-align: center; color: var(--ink-soft); }
.empty-note img { width: 160px; margin: 0 auto 16px; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.modal__box { position: relative; width: min(var(--mw, 560px), 100%); max-height: calc(100dvh - 40px); overflow: auto; background: var(--santan); border: 1.5px solid var(--line); border-radius: var(--r-panel); padding: clamp(22px, 3vw, 34px); opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .35s, transform .45s var(--ease); pointer-events: none; }
.modal.open .modal__box { opacity: 1; transform: none; pointer-events: auto; }
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal h2 { margin: 0 46px 8px 0; }

.pay-opts { display: grid; gap: 10px; margin: 18px 0; }
.pay-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--pandan); border-radius: 16px; cursor: pointer; font-weight: 650; }
.pay-opt input { accent-color: var(--kantan); width: 18px; height: 18px; }
.pay-opt small { display: block; font-weight: 500; color: var(--ink-soft); }
.pay-opt:has(input:checked) { background: var(--daun); }
.paid { text-align: center; display: grid; justify-items: center; gap: 12px; }
.paid .bloom { --size: 96px; }
.track { display: grid; gap: 0; text-align: left; width: 100%; margin-top: 8px; }
.track li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 14px; position: relative; }
.track li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--pandan); margin-top: 4px; background: var(--santan); position: relative; z-index: 1; }
.track li.done::before { background: var(--kantan); border-color: var(--kantan); }
.track li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: color-mix(in srgb, var(--pandan) 30%, transparent); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--pandan); color: var(--santan); padding: 14px 20px; border-radius: 999px; font-weight: 650; font-size: 15px; display: flex; align-items: center; gap: 10px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); transition: transform .5s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast svg { width: 20px; height: 20px; color: var(--kunyit); flex: none; }

.fly { position: fixed; z-index: 130; width: 70px; height: 70px; border-radius: 14px; object-fit: cover; pointer-events: none; border: 1.5px solid var(--pandan); }

/* pitch tour */
.tour-dot { position: absolute; z-index: 40; top: var(--ty, 10px); left: var(--tx, 10px); width: 34px; height: 34px; border: 0; padding: 0; background: none; color: #fff; display: none; place-items: center; }
.tour-on .tour-dot { display: grid; animation: pop .5s var(--ease) both; }
.tour-dot svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--kantan); filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .25)); }
.tour-dot span { position: relative; font: 800 14px/1 var(--f-display); }
.tour-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--kantan); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@keyframes pop { from { transform: scale(0); } }
.tour-pop { position: fixed; z-index: 140; width: min(320px, calc(100vw - 24px)); background: var(--pandan-2); color: var(--santan); border-radius: 20px; padding: 18px 18px 16px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); font-size: 14px; line-height: 1.5; }
.tour-pop h3 { margin: 6px 0 6px; font: 800 24px/1 var(--f-display); text-transform: uppercase; }
.tour-pop p { margin: 0; color: color-mix(in srgb, var(--santan) 85%, transparent); }
.tour-pop .tier { display: inline-flex; padding: 5px 10px; border-radius: 999px; font: 800 12px/1 var(--f-sans); }
.tier--Refresh { background: var(--daun); color: var(--pandan); }
.tier--Revamp { background: var(--kunyit); color: var(--pandan-2); }
.tier--Flagship { background: var(--kantan); color: #fff; }
.tour-pop button { position: absolute; top: 10px; right: 10px; border: 0; background: none; color: var(--santan); width: 30px; height: 30px; display: grid; place-items: center; }
.tour-count { position: fixed; left: 18px; bottom: 18px; z-index: 70; display: none; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--pandan-2); color: var(--santan); font: 650 14px/1 var(--f-sans); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .5); }
.tour-on .tour-count { display: inline-flex; }

/* chat */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 85; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 10px; border: 1.5px solid var(--pandan); border-radius: 999px; background: var(--kantan); color: #fff; font: 700 16px/1 var(--f-sans); box-shadow: 0 18px 34px -16px rgba(179, 19, 74, .7); transition: transform .3s var(--ease); }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab .bloom { --size: 40px; --c: #fff; color: var(--kantan); }
.chat-fab .bloom__text { font-size: 12px; }
.chat-fab.hide { transform: scale(0); }
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 96; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100dvh - 36px)); display: flex; flex-direction: column; background: var(--santan); border: 1.5px solid var(--pandan); border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(23, 58, 41, .55); transform-origin: bottom right; transform: scale(.6); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .3s; }
.chat.open { transform: none; opacity: 1; pointer-events: auto; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--pandan); color: var(--santan); }
.chat__head .bloom { --size: 44px; }
.chat__head h2 { margin: 0; font: 800 24px/1 var(--f-display); text-transform: uppercase; }
.chat__head p { margin: 2px 0 0; font-size: 12.5px; opacity: .8; display: flex; align-items: center; gap: 6px; }
.chat__head p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7CE39B; }
.chat__head .icon-btn { margin-left: auto; border-color: rgba(255, 248, 230, .4); color: var(--santan); width: 38px; height: 38px; }
.chat__lang { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid color-mix(in srgb, var(--pandan) 25%, transparent); font-size: 12.5px; align-items: center; color: var(--ink-soft); }
.chat__lang button { border: 1px solid var(--pandan); background: none; border-radius: 999px; padding: 4px 10px; font: 700 12px/1 var(--f-sans); }
.chat__lang button[aria-pressed="true"] { background: var(--pandan); color: var(--santan); }
.chat__log { flex: 1; overflow: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; animation: msgIn .35s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg--bot { background: #fff; border: 1px solid color-mix(in srgb, var(--pandan) 25%, transparent); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg--me { background: var(--pandan); color: var(--santan); border-bottom-right-radius: 6px; align-self: flex-end; }
.msg p { margin: 0; }
.msg p + p { margin-top: 6px; }
.msg .card { margin-top: 10px; border: 1px solid color-mix(in srgb, var(--pandan) 25%, transparent); border-radius: 14px; overflow: hidden; background: var(--santan); }
.msg .card img { width: 100%; height: 120px; object-fit: cover; }
.msg .card div { padding: 10px 12px; display: grid; gap: 8px; }
.msg .card strong { font-size: 15px; }
.msg .card .row { display: flex; gap: 6px; flex-wrap: wrap; }
.msg .summary { margin-top: 8px; display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--daun); font-size: 13.5px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--pandan); opacity: .4; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; transform: translateY(-2px); } }
.chat__chips { display: flex; gap: 8px; padding: 0 14px 10px; overflow-x: auto; scrollbar-width: none; }
.chat__chips .chip { min-height: 34px; font-size: 13px; padding: 0 12px; background: var(--santan); }
.chat__form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1.5px solid var(--pandan); }
.chat__form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1.5px solid var(--pandan); border-radius: 999px; background: #fff; }
.chat__form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--kantan); color: #fff; display: grid; place-items: center; }

/* forms */
.field { display: grid; gap: 6px; }
.field label, .field .label { font: 700 14px/1.2 var(--f-sans); }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--pandan); border-radius: 16px; background: #fff; color: var(--pandan); }
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid color-mix(in srgb, var(--kantan) 45%, transparent); outline-offset: 0; }
.field .hint { font-size: 13px; color: var(--ink-soft); }
.field.err .input { border-color: var(--kantan); }
.field .error { font-size: 13px; color: var(--kantan-deep); font-weight: 650; }

/* reveal helper: one orchestrated hero moment, everything else is calm */
.js .hero-in { opacity: 0; transform: translateY(26px); }

/* ============================================================
   Home
   ============================================================ */
.hero { padding-top: clamp(18px, 3vw, 34px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); margin-top: clamp(10px, 2vw, 22px); }
.hero__media { position: relative; min-height: 560px; }
.hero__media .frame__img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
.hero__pack { position: absolute; right: -18px; bottom: 38px; width: clamp(150px, 15vw, 210px); transform: rotate(-7deg); border-radius: 18px; border: 1.5px solid var(--pandan); box-shadow: 0 22px 40px -20px rgba(23, 58, 41, .6); }
.hero__seal { position: absolute; left: 34px; top: 34px; --size: 112px; }
.hero__copy { display: flex; flex-direction: column; overflow: hidden; }
.hero__copy .h1 { font-size: clamp(46px, 4.7vw, 76px); }
.hero__copy-in { padding: clamp(28px, 3.6vw, 52px); display: grid; align-content: start; gap: 22px; flex: 1; }
.hero__doors { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; margin-top: 8px; }
.door { display: grid; gap: 8px; justify-items: start; }
.door .btn__note { padding-left: 4px; color: var(--ink-soft); opacity: 1; }

.trust { border-block: 1.5px solid var(--line); margin-top: clamp(40px, 6vw, 70px); }
.trust .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 20px; flex-wrap: wrap; }
.trust__certs { display: flex; gap: 18px; align-items: center; }
.trust__certs img { height: 52px; width: auto; }
.trust__text { display: grid; gap: 4px; font-weight: 650; }
.trust__text span:last-child { font-weight: 500; color: var(--ink-soft); font-size: 15px; }

/* flavour showcase */
.flavours { position: relative; }
.flavours__stage { position: relative; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); overflow: hidden; background: var(--flood, #DCEBA0); color: var(--fink, var(--pandan-2)); transition: background-color .7s var(--ease), color .5s; }
.flavours__in { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 30px; padding-top: 30px; padding-bottom: 90px; }
.flavours__label { position: absolute; top: clamp(22px, 4vh, 40px); left: 0; right: 0; display: flex; justify-content: space-between; align-items: baseline; }
.flavours__label .accent { color: inherit; font-size: clamp(26px, 2.6vw, 38px); }
.flavours__count { font: 800 22px/1 var(--f-display); letter-spacing: .04em; }
.flavours__texts { position: relative; min-height: 470px; }
.fl-text { position: absolute; inset: 0; display: grid; align-content: center; gap: 16px; opacity: 0; transform: translateY(24px); transition: opacity .45s, transform .6s var(--ease); pointer-events: none; }
.fl-text.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.fl-text__name { font: 900 clamp(64px, 9.4vw, 150px)/.84 var(--f-display); text-transform: uppercase; margin: 0; color: inherit; }
.fl-text__alt { display: flex; flex-wrap: wrap; gap: 6px 18px; font: italic 600 clamp(20px, 1.8vw, 26px)/1.2 var(--f-serif); font-variation-settings: "SOFT" 100, "WONK" 1; }
.fl-text__alt .zh { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-style: normal; font-weight: 700; font-size: .9em; }
.fl-text__line { max-width: 40ch; font-size: 18px; margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; }
.fact { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid currentColor; border-radius: 999px; font: 700 14px/1 var(--f-sans); }
.fact .icon { width: 18px; height: 18px; }
.chilis { display: inline-flex; gap: 1px; }
.chilis .icon { width: 17px; height: 17px; }
.chilis .on { fill: currentColor; }
.chilis .off { opacity: .35; }
.fl-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 6px; }
.fl-price { font: 900 44px/1 var(--f-display); }
.fl-text .btn--flood { --bg: var(--ci); --fg: var(--c); }
.fl-text .btn--flood:hover { --bg: var(--ci); filter: brightness(1.15); }
.fl-text .link-arrow { color: inherit; }
.flavours__visual { position: relative; height: min(68vh, 600px); display: grid; place-items: center; }
.fl-dish { position: absolute; right: -14%; top: 50%; width: min(46vw, 560px); aspect-ratio: 1; translate: 0 -50%; opacity: 0; transition: opacity .6s; }
.fl-dish.is-active { opacity: 1; }
.fl-dish img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .25)); rotate: var(--rot, 0deg); }
.fl-pack { position: absolute; width: min(30vw, 400px); aspect-ratio: 1; left: 4%; top: 50%; translate: 0 -50%; opacity: 0; transform: rotate(-12deg) scale(.9) translateY(30px); transition: opacity .45s, transform .8s var(--ease); }
.fl-pack.is-active { opacity: 1; transform: rotate(-5deg); }
.fl-pack img { width: 100%; border-radius: 22px; border: 2px solid var(--fink); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55); }
.flavours__index { position: absolute; left: 0; right: 190px; bottom: 22px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.flavours__index button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 8px; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; font: 700 13px/1 var(--f-sans); opacity: .7; transition: opacity .2s, background .2s; color: inherit; }
.flavours__index button:hover { opacity: 1; }
.flavours__index button[aria-current="true"] { opacity: 1; background: var(--fink); color: var(--flood); }
.flavours__index i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); border: 1.5px solid currentColor; }
.flavours--static .flavours__stage { height: auto; }
.flavours--static .flavours__in { display: block; padding-block: 60px; }
.flavours--static .flavours__label { position: static; margin-bottom: 30px; }
.flavours--static .flavours__texts { display: grid; gap: 40px; min-height: 0; }
.flavours--static .fl-text { position: static; opacity: 1; transform: none; pointer-events: auto; padding: 30px; border-radius: var(--r-panel); background: var(--c); color: var(--ci); }
.flavours--static .flavours__visual, .flavours--static .flavours__index { display: none; }

/* paste-to-plate steps */
.steps__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.steps__intro { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; }
.squiggle { width: 100%; max-width: 360px; height: auto; color: var(--kantan); overflow: visible; }
.steps__list { display: grid; gap: clamp(26px, 3vw, 40px); counter-reset: step; }
.step { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; }
.step:nth-child(even) { grid-template-columns: .9fr 1.1fr; }
.step:nth-child(even) .step__media { order: 2; }
.step__media { position: relative; }
.step__media .frame { padding: 12px; }
.step__media img { aspect-ratio: 16 / 10; object-fit: cover; }
.step__media .bloom { position: absolute; top: -18px; left: -18px; --size: 66px; }
.step h3 { margin: 0 0 10px; }
.step p { margin: 0; color: var(--ink-soft); }
.steps__seal { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.steps__seal .bloom { --size: 120px; }

/* two doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); }
.door-card { position: relative; border-radius: var(--r-panel); border: 1.5px solid var(--line); padding: clamp(28px, 3.4vw, 46px); display: grid; gap: 18px; align-content: start; overflow: hidden; min-height: 520px; }
.door-card--biz { background: var(--pandan); color: var(--santan); }
.door-card--biz .h2, .door-card--biz .accent { color: var(--santan); }
.door-card--biz .lede { color: color-mix(in srgb, var(--santan) 82%, transparent); }
.door-card .cta-row { margin-top: auto; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.tray { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-block: 6px; }
.tray span { aspect-ratio: 1; border-radius: 12px; border: 1.5px dashed var(--pandan); display: grid; place-items: center; overflow: hidden; background: rgba(255, 255, 255, .5); }
.tray img { width: 100%; height: 100%; object-fit: cover; }
.biz-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: color-mix(in srgb, var(--santan) 30%, transparent); border-radius: 18px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--santan) 30%, transparent); }
.biz-stats div { background: var(--pandan); padding: 16px 18px; }
.biz-stats b { display: block; font: 900 40px/1 var(--f-display); color: var(--santan); }
.biz-stats span { font-size: 13.5px; color: color-mix(in srgb, var(--santan) 78%, transparent); }
.door-card__img { position: absolute; right: -40px; bottom: -40px; width: 240px; opacity: .95; pointer-events: none; }

/* case study */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.case__media { position: relative; }
.case__media .frame { padding: 14px; }
.case__media .frame img { aspect-ratio: 5 / 4; object-fit: cover; }
.case__pack { position: absolute; width: 38%; right: -16px; bottom: -26px; border-radius: 16px; border: 1.5px solid var(--pandan); transform: rotate(5deg); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .5); }
.case__stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; }
.case__stats div { padding: 18px; display: grid; gap: 6px; }
.case__stats div + div { border-left: 1.5px solid var(--line); }
.case__stats b { font: 900 clamp(40px, 4vw, 58px)/1 var(--f-display); color: var(--kantan); }
.case__stats span { font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* recipes teaser */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(30px, 4vw, 52px); flex-wrap: wrap; }
.sec-head > div { display: grid; gap: 12px; }
.recipe-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.recipe-card { display: grid; gap: 14px; text-decoration: none; padding: 12px 12px 20px; border: 1.5px solid var(--line); border-radius: var(--r-card); background: var(--santan); transition: background .25s; text-align: left; }
.recipe-card:hover { background: var(--daun); }
.recipe-card__img { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / .82; border: 1.5px solid var(--line); }
.recipe-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.recipe-card:hover .recipe-card__img img { transform: scale(1.05); }
.play { position: absolute; left: 14px; bottom: 14px; width: 54px; height: 54px; border-radius: 50%; background: var(--santan); border: 1.5px solid var(--pandan); display: grid; place-items: center; color: var(--kantan); }
.play .icon { width: 22px; height: 22px; margin-left: 3px; }
.recipe-card h3 { margin: 0; padding-inline: 6px; font: 800 28px/1 var(--f-display); text-transform: uppercase; color: var(--pandan); }
.recipe-meta { display: flex; gap: 14px; padding-inline: 6px; font-size: 14px; font-weight: 650; color: var(--ink-soft); flex-wrap: wrap; }
.recipe-meta span { display: inline-flex; gap: 6px; align-items: center; }
.recipe-meta .icon { width: 17px; height: 17px; }

/* reviews masonry */
.reviews { columns: 3 300px; column-gap: clamp(14px, 2vw, 22px); }
.reviews > * { break-inside: avoid; margin: 0 0 clamp(14px, 2vw, 22px); }
.review { margin: 0 0 clamp(14px, 2vw, 22px); background: var(--pandan); color: var(--santan); border-radius: var(--r-card); padding: 26px; display: grid; gap: 14px; }
.review .stars { display: flex; gap: 3px; color: var(--kunyit); }
.review .stars .icon { width: 22px; height: 22px; }
.review q { font: 500 18px/1.55 var(--f-sans); quotes: "“" "”"; }
.review cite { font-style: normal; font-size: 13.5px; opacity: .75; }
.review-photo { border-radius: var(--r-card); border: 1.5px solid var(--line); overflow: hidden; }
.review-photo img { width: 100%; }

/* story */
.story { position: relative; background: var(--pandan-2); color: var(--santan); overflow: hidden; }
.story__bg { position: absolute; inset: 0; background: url("../../assets/img/kantan/story-street.webp") center / cover; opacity: .18; mix-blend-mode: luminosity; }
.story .h2, .story .accent { color: var(--santan); }
.story__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.story .lede { color: color-mix(in srgb, var(--santan) 82%, transparent); }
.people { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 14px; align-items: end; }
.person { margin: 0; display: grid; gap: 10px; }
.person img { border-radius: 18px; border: 1.5px solid color-mix(in srgb, var(--santan) 40%, transparent); aspect-ratio: 3 / 4.2; object-fit: cover; background: #111; filter: grayscale(.15); }
.person:first-child img { aspect-ratio: 3 / 4.6; }
.person figcaption { font-size: 14px; line-height: 1.35; }
.person figcaption b { display: block; font: 800 22px/1 var(--f-display); text-transform: uppercase; }
.name-box { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 20px; border: 1.5px dashed color-mix(in srgb, var(--santan) 45%, transparent); border-radius: 22px; }
.name-box .bloom { --size: 70px; }
.name-box h3 { margin: 0 0 4px; font: 800 26px/1 var(--f-display); text-transform: uppercase; }
.name-box p { margin: 0; font-size: 15px; color: color-mix(in srgb, var(--santan) 85%, transparent); }
.timeline { list-style: none; padding: 0; display: grid; gap: 0; border-left: 1.5px solid color-mix(in srgb, var(--santan) 40%, transparent); }
.timeline li { padding: 0 0 18px 22px; position: relative; font-size: 15px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--kantan); }
.timeline b { display: block; font: 800 24px/1 var(--f-display); }

/* where to buy */
.where { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.where__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-block: 24px 18px; }
.where__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.where__list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--santan); cursor: pointer; transition: background .2s; }
.where__list li:hover, .where__list li.is-on { background: var(--daun); }
.where__list b { display: block; }
.where__list span { font-size: 14px; color: var(--ink-soft); }
.where__list .icon { width: 22px; height: 22px; color: var(--kantan); margin-top: 2px; }
.map { position: relative; z-index: 0; isolation: isolate; min-height: 520px; border-radius: var(--r-panel); border: 1.5px solid var(--line); overflow: hidden; background: var(--daun); }
.map .leaflet-tile-pane { filter: grayscale(1) sepia(.35) hue-rotate(40deg) saturate(.9) brightness(1.06) contrast(.92); }
.map-pin { display: grid; place-items: center; color: #fff; }
.map-pin svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; color: var(--kantan); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); }
.map-pin.hq svg { color: var(--pandan); }
.leaflet-container { font-family: var(--f-sans) !important; background: #EEF0E6 !important; }
.leaflet-popup-content-wrapper { border-radius: 16px !important; border: 1.5px solid var(--pandan); box-shadow: none !important; background: var(--santan) !important; }
.leaflet-popup-content { margin: 12px 16px !important; font-size: 14px !important; color: var(--pandan); }
.leaflet-popup-tip { background: var(--santan) !important; }

/* recipe club */
.club { display: grid; grid-template-columns: 1.2fr .8fr; border-radius: var(--r-panel); overflow: hidden; background: var(--kantan); color: #fff; border: 1.5px solid var(--pandan); }
.club__copy { padding: clamp(30px, 4vw, 60px); display: grid; gap: 18px; align-content: center; }
.club__copy .accent { color: #fff; }
.club__copy p { margin: 0; max-width: 46ch; color: rgba(255, 255, 255, .9); }
.club__form { display: flex; gap: 10px; flex-wrap: wrap; }
.club__form input { flex: 1 1 240px; min-height: 56px; border-radius: 999px; border: 1.5px solid #fff; background: #fff; padding: 0 22px; color: var(--pandan); }
.club__media { position: relative; min-height: 320px; }
.club__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   Inner pages
   ============================================================ */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(30px, 4vw, 50px); }
.page-head .wrap { display: grid; gap: 18px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-soft); flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--kantan); }
.ship-note { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--daun); font-weight: 650; font-size: 15px; width: fit-content; }
.ship-note .icon { color: var(--kantan); }

/* shop */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.toolbar .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.p-card { position: relative; display: grid; gap: 12px; padding: 12px 12px 18px; border: 1.5px solid var(--line); border-radius: var(--r-card); background: var(--santan); }
.p-card__img { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--c); border: 1.5px solid var(--line); display: block; }
.p-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s var(--ease); }
.p-card__img .dish { object-fit: contain; padding: 12%; opacity: 0; transform: rotate(-30deg) scale(.8); }
.p-card:hover .p-card__img .dish { opacity: 1; transform: none; }
.p-card:hover .p-card__img .packimg { opacity: 0; }
.p-card h3 { margin: 0; padding-inline: 4px; font: 800 26px/1 var(--f-display); text-transform: uppercase; }
.p-card h3 a { text-decoration: none; }
.p-card .alt { padding-inline: 4px; font-size: 13.5px; color: var(--ink-soft); margin-top: -6px; }
.p-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-inline: 4px; }
.p-card__price { font: 900 30px/1 var(--f-display); }
.p-card .facts .fact { padding: 6px 10px; font-size: 12.5px; border-width: 1px; }
.p-card .facts .fact .icon { width: 15px; height: 15px; }
.add-round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--pandan); background: var(--kantan); color: #fff; display: grid; place-items: center; transition: transform .25s var(--ease); }
.add-round:hover { transform: rotate(90deg); }
.add-round .icon { width: 22px; height: 22px; }

.builder { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.builder__pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.pick { display: grid; gap: 10px; padding: 10px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--santan); }
.pick img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.pick b { font: 800 20px/1 var(--f-display); text-transform: uppercase; }
.pick .qty { justify-self: start; }
.builder__box { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border-radius: var(--r-panel); background: var(--pandan); color: var(--santan); display: grid; gap: 18px; }
.builder__box .h3 { color: var(--santan); }
.size-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--santan) 14%, transparent); }
.size-switch button { border: 0; background: none; color: var(--santan); height: 40px; padding: 0 18px; border-radius: 999px; font: 700 14px/1 var(--f-sans); }
.size-switch button[aria-pressed="true"] { background: var(--santan); color: var(--pandan); }
.slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.slots span { aspect-ratio: 1; border-radius: 10px; border: 1.5px dashed color-mix(in srgb, var(--santan) 50%, transparent); overflow: hidden; }
.slots img { width: 100%; height: 100%; object-fit: cover; animation: pop .45s var(--ease); }
.builder__total { display: flex; justify-content: space-between; align-items: end; }
.builder__total b { font: 900 46px/1 var(--f-display); }
.builder__total s { opacity: .6; }
.save { color: var(--kunyit); font-weight: 700; }

.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.f-card { position: relative; border: 1.5px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 12px; background: var(--santan); align-content: start; }
.f-card .icon-wrap { width: 54px; height: 54px; border-radius: 50%; background: var(--daun); display: grid; place-items: center; border: 1.5px solid var(--pandan); }
.f-card .icon-wrap .icon { width: 26px; height: 26px; }
.f-card h3 { margin: 0; font: 800 28px/1 var(--f-display); text-transform: uppercase; }
.f-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.f-card__price { font: 900 34px/1 var(--f-display); }
.f-card .tag { background: var(--santan); color: var(--pandan); }
.builder__box .btn-sketch { justify-self: center; }

/* product page */
.pdp { --c: #56B9BF; --ci: #10302A; }
.pdp__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.gallery { display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--r-panel); overflow: hidden; border: 1.5px solid var(--line); background: var(--c); }
.gallery__main img, .gallery__main iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.gallery__thumbs button { position: relative; aspect-ratio: 1; padding: 0; border-radius: 12px; overflow: hidden; border: 1.5px solid transparent; background: var(--daun); }
.gallery__thumbs button[aria-current="true"] { border-color: var(--kantan); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs .vid::after { content: ""; position: absolute; inset: 0; background: rgba(23, 58, 41, .35); }
.gallery__thumbs .vid svg { position: absolute; z-index: 1; inset: 0; margin: auto; width: 26px; height: 26px; color: #fff; }
.pdp__info { display: grid; gap: 20px; }
.pdp__title { display: grid; gap: 8px; }
.pdp__price { display: flex; align-items: baseline; gap: 16px; }
.pdp__price b { font: 900 54px/1 var(--f-display); }
.claims { display: flex; flex-wrap: wrap; gap: 8px; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.buy-row .qty { height: 54px; }
.buy-row .qty button { width: 44px; }
.upsell { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px dashed var(--pandan); border-radius: 18px; font-size: 15px; }
.upsell img { width: 58px; border-radius: 10px; }
.trade { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px; border-radius: 20px; background: var(--pandan); color: var(--santan); }
.trade .icon-wrap { width: 48px; height: 48px; border-radius: 50%; background: var(--kantan); display: grid; place-items: center; }
.trade p { margin: 0; font-size: 15px; }
.trade b { display: block; font: 800 22px/1.05 var(--f-display); text-transform: uppercase; }
.acc { border-top: 1.5px solid var(--line); }
.acc details { border-bottom: 1.5px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; cursor: pointer; font: 800 24px/1.1 var(--f-display); text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { transition: transform .3s var(--ease); }
.acc details[open] summary .icon { transform: rotate(180deg); }
.acc .acc__body { padding: 0 2px 20px; color: var(--ink-soft); }
.acc .acc__body p { margin: 0 0 10px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--santan); border-top: 1.5px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy .wrap { display: flex; align-items: center; gap: 16px; padding-block: 12px; padding-right: 190px; }
.sticky-buy img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; border: 1.5px solid var(--line); }
.sticky-buy b { font: 800 22px/1 var(--f-display); text-transform: uppercase; display: block; }
.sticky-buy .btn { margin-left: auto; }
.rating-sum { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; padding: 26px; border-radius: var(--r-card); border: 1.5px solid var(--line); margin-bottom: 24px; }
.rating-sum b { font: 900 76px/1 var(--f-display); }
.bars { display: grid; gap: 6px; font-size: 13px; font-weight: 650; }
.bars div { display: grid; grid-template-columns: 30px 1fr 30px; gap: 10px; align-items: center; }
.bars i { height: 8px; border-radius: 999px; background: var(--daun); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--kunyit); border-radius: inherit; }
.star-input { display: inline-flex; gap: 4px; }
.star-input button { border: 0; background: none; padding: 2px; color: color-mix(in srgb, var(--pandan) 25%, transparent); }
.star-input button.on { color: var(--kunyit); }
.star-input .icon { width: 30px; height: 30px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-panel); overflow: hidden; border: 1.5px solid var(--line); background: #000; }
.video-frame img, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-frame .play { left: 50%; top: 50%; bottom: auto; translate: -50% -50%; width: 86px; height: 86px; cursor: pointer; }
.video-frame .play .icon { width: 32px; height: 32px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.ing-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ing-list li { display: flex; gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px dashed color-mix(in srgb, var(--pandan) 30%, transparent); }
.ing-list b { min-width: 80px; font-weight: 800; }
.num-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: n; }
.num-list li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.num-list li::before { content: counter(n); width: 44px; height: 44px; border-radius: 50%; background: var(--kantan); color: #fff; display: grid; place-items: center; font: 800 20px/1 var(--f-display); }

/* OEM */
.oem-hero { background: var(--pandan); color: var(--santan); padding-block: clamp(50px, 7vw, 100px); overflow: hidden; position: relative; }
.oem-hero .h1, .oem-hero .accent { color: var(--santan); }
.oem-hero .lede { color: color-mix(in srgb, var(--santan) 82%, transparent); }
.oem-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.oem-hero__media { position: relative; }
.oem-hero__media .frame { background: color-mix(in srgb, var(--santan) 14%, var(--pandan)); border-color: color-mix(in srgb, var(--santan) 40%, transparent); }
.oem-hero__media img { aspect-ratio: 4 / 3.4; object-fit: cover; }
.oem-hero__media .bloom { position: absolute; left: -26px; bottom: -26px; --size: 128px; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(36px, 5vw, 64px); border: 1px solid color-mix(in srgb, var(--santan) 30%, transparent); border-radius: 22px; overflow: hidden; }
.stat-strip div { padding: 20px 22px; display: grid; gap: 6px; }
.stat-strip div + div { border-left: 1px solid color-mix(in srgb, var(--santan) 30%, transparent); }
.stat-strip b { font: 900 clamp(38px, 3.6vw, 54px)/1 var(--f-display); color: var(--santan); }
.stat-strip span { font-size: 14px; color: color-mix(in srgb, var(--santan) 78%, transparent); }
.segments { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.segment { display: grid; gap: 10px; text-align: center; font-weight: 700; font-size: 15px; }
.segment img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 1.5px solid var(--pandan); padding: 5px; background: var(--daun); }

.quote { display: grid; grid-template-columns: 300px 1fr; border: 1.5px solid var(--line); border-radius: var(--r-panel); overflow: hidden; background: var(--santan); }
.quote__side { background: var(--daun); padding: 30px; display: grid; gap: 22px; align-content: start; border-right: 1.5px solid var(--line); }
.q-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.q-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 650; color: var(--ink-soft); }
.q-steps li span { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--pandan); display: grid; place-items: center; font: 800 16px/1 var(--f-display); color: var(--pandan); flex: none; }
.q-steps li.is-on { color: var(--pandan); }
.q-steps li.is-on span { background: var(--kantan); border-color: var(--kantan); color: #fff; }
.q-steps li.is-done span { background: var(--pandan); color: var(--santan); }
.quote__main { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 24px; min-height: 560px; align-content: start; }
.q-panel { display: none; gap: 20px; }
.q-panel.is-on { display: grid; animation: msgIn .45s var(--ease); }
.q-panel h3 { margin: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice { position: relative; display: grid; gap: 6px; padding: 18px; border: 1.5px solid var(--pandan); border-radius: 18px; cursor: pointer; background: var(--santan); transition: background .2s; }
.choice:hover { background: color-mix(in srgb, var(--daun) 50%, var(--santan)); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b { font: 800 22px/1.05 var(--f-display); text-transform: uppercase; }
.choice span { font-size: 14px; color: var(--ink-soft); }
.choice:has(input:checked) { background: var(--daun); box-shadow: inset 0 0 0 2px var(--pandan); }
.choice:has(input:checked)::after { content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--kantan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.choice:has(input:focus-visible) { outline: 3px solid var(--kantan); outline-offset: 2px; }
.dish-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.dish-pick label { position: relative; display: grid; gap: 6px; justify-items: center; text-align: center; padding: 10px 8px; border: 1.5px solid var(--pandan); border-radius: 16px; cursor: pointer; font-size: 13.5px; font-weight: 700; }
.dish-pick input { position: absolute; opacity: 0; }
.dish-pick img { width: 78px; transition: transform .6s var(--ease); }
.dish-pick label:hover img { transform: rotate(40deg); }
.dish-pick label:has(input:checked) { background: var(--daun); box-shadow: inset 0 0 0 2px var(--pandan); }
.dish-pick label:has(input:focus-visible) { outline: 3px solid var(--kantan); }
.range { display: grid; gap: 10px; }
.range input[type="range"] { width: 100%; accent-color: var(--kantan); height: 30px; }
.range output { font: 900 46px/1 var(--f-display); }
.est { display: flex; flex-wrap: wrap; gap: 10px; }
.q-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; border-top: 1px dashed color-mix(in srgb, var(--pandan) 35%, transparent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.drop { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1.5px dashed var(--pandan); border-radius: 18px; cursor: pointer; background: color-mix(in srgb, var(--daun) 40%, var(--santan)); }
.brief { display: grid; gap: 8px; padding: 20px; border-radius: 18px; background: var(--daun); }
.brief div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; font-size: 15px; }
.brief dt { font-weight: 800; }
.brief dd { margin: 0; }
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process__line { position: absolute; left: 0; right: 0; top: 34px; height: 4px; color: var(--kantan); }
.process__line svg { width: 100%; height: 100%; overflow: visible; }
.p-step { position: relative; display: grid; gap: 12px; align-content: start; }
.p-step .bloom { --size: 70px; }
.p-step h3 { margin: 0; font: 800 26px/1 var(--f-display); text-transform: uppercase; }
.p-step p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.dish-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 12px; }
.dish-wall figure { margin: 0; display: grid; gap: 8px; justify-items: center; text-align: center; font-weight: 700; font-size: 14.5px; }
.dish-wall img { width: 100%; max-width: 150px; transition: transform 1s var(--ease); }
.dish-wall figure:hover img { transform: rotate(60deg) scale(1.05); }
.spec { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.spec th, .spec td { text-align: left; padding: 14px 4px; border-bottom: 1px dashed color-mix(in srgb, var(--pandan) 35%, transparent); vertical-align: top; }
.spec th { width: 42%; font-weight: 800; }
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cert { display: grid; gap: 10px; justify-items: start; padding: 20px; border: 1.5px solid var(--line); border-radius: var(--r-card); background: var(--santan); text-align: left; }
.cert img { height: 64px; width: auto; }
.cert b { font: 800 24px/1 var(--f-display); text-transform: uppercase; }
.cert span { font-size: 14px; color: var(--ink-soft); }
.expos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.expo { display: grid; gap: 10px; }
.expo img { border-radius: 16px; border: 1.5px solid var(--line); aspect-ratio: 1; object-fit: cover; }
.expo b { font: 800 21px/1 var(--f-display); text-transform: uppercase; }
.expo span { font-size: 13.5px; color: var(--ink-soft); }
.qr-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 24px; border-radius: var(--r-panel); background: var(--pandan); color: var(--santan); }
.qr-card .qr { width: 150px; height: 150px; background: #fff; padding: 10px; border-radius: 14px; }
.qr-card .qr img, .qr-card .qr canvas { width: 100%; height: 100%; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 18px; }
.slot-grid button { min-height: 46px; border-radius: 14px; border: 1.5px solid var(--pandan); background: var(--santan); font-weight: 700; font-size: 14px; }
.slot-grid button[aria-pressed="true"] { background: var(--pandan); color: var(--santan); }

/* recipes page */
.cook { position: fixed; inset: 0; z-index: 150; background: var(--pandan-2); color: var(--santan); display: grid; grid-template-rows: auto 1fr auto; padding: 22px var(--gutter); }
.cook__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cook__top .icon-btn { color: var(--santan); border-color: rgba(255, 248, 230, .4); }
.cook__step { display: grid; align-content: center; gap: 24px; max-width: 900px; margin: 0 auto; }
.cook__step small { font: 800 26px/1 var(--f-display); color: var(--kantan); letter-spacing: .04em; }
.cook__step p { margin: 0; font: 600 clamp(28px, 4.6vw, 60px)/1.18 var(--f-sans); }
.cook__nav { display: flex; justify-content: space-between; gap: 12px; }
.cook__bar { height: 6px; background: rgba(255, 248, 230, .2); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.cook__bar i { display: block; height: 100%; background: var(--kantan); width: var(--p); transition: width .5s var(--ease); }
.servings { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }

/* wholesale portal */
.portal { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - var(--header-h) - var(--demo-h)); }
.portal__side { background: var(--pandan); color: var(--santan); padding: 28px 20px; display: grid; align-content: start; gap: 6px; }
.portal__side a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; text-decoration: none; font-weight: 650; font-size: 15px; }
.portal__side a[aria-current="page"], .portal__side a:hover { background: color-mix(in srgb, var(--santan) 14%, transparent); }
.portal__main { padding: clamp(24px, 3vw, 44px); display: grid; gap: 28px; align-content: start; min-width: 0; }
.portal__main .panel { overflow-x: auto; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { padding: 20px; border: 1.5px solid var(--line); border-radius: var(--r-card); display: grid; gap: 6px; }
.kpi b { font: 900 40px/1 var(--f-display); }
.kpi span { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid color-mix(in srgb, var(--pandan) 22%, transparent); }
.table th { font: 800 18px/1 var(--f-display); text-transform: uppercase; background: var(--daun); }
.table tr.is-tier td { background: color-mix(in srgb, var(--kunyit) 22%, transparent); font-weight: 700; }
.status { display: inline-flex; padding: 5px 10px; border-radius: 999px; font: 700 12.5px/1 var(--f-sans); background: var(--daun); }
.status--ship { background: color-mix(in srgb, var(--kunyit) 40%, transparent); }
.status--new { background: var(--petal); color: var(--kantan-deep); }
.login { min-height: calc(100vh - var(--header-h) - var(--demo-h)); display: grid; grid-template-columns: 1fr 1fr; }
.login__art { background: var(--pandan) url("../../assets/img/kantan/factory-retort.webp") center / cover; position: relative; }
.login__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 58, 41, .2), rgba(23, 58, 41, .85)); }
.login__art div { position: absolute; z-index: 1; left: 40px; right: 40px; bottom: 40px; color: var(--santan); display: grid; gap: 12px; }
.login__art .h2 { color: var(--santan); }
.login__form { display: grid; align-content: center; justify-items: start; gap: 18px; padding: clamp(28px, 5vw, 80px); max-width: 560px; }
.login__form .field { width: 100%; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .segments { grid-template-columns: repeat(3, 1fr); }
  .dish-wall { grid-template-columns: repeat(4, 1fr); }
  .expos { grid-template-columns: repeat(3, 1fr); }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; }
  .process__line { display: none; }
  .p-step { grid-template-columns: auto 1fr; column-gap: 18px; }
  .p-step .bloom { grid-row: span 2; }
}
@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .nav, .where-link { display: none; }
  .menu-btn { display: inline-grid; }
  .site-header__in { grid-template-columns: auto 1fr auto; }
  .logo { width: 108px; grid-column: 2; justify-self: center; }
  .site-header__in > .menu-btn { grid-column: 1; grid-row: 1; }
  .actions { grid-column: 3; }
  .actions .lang { display: none; }
  .hero__grid, .doors, .case, .story__grid, .where, .club, .steps__grid, .builder, .pdp__grid, .split, .oem-hero__grid, .quote, .login { grid-template-columns: 1fr; }
  .hero__media { min-height: 440px; }
  .steps__intro { position: static; }
  .flavours__in { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; padding-top: 74px; padding-bottom: 76px; gap: 0; }
  .flavours__texts { min-height: 300px; order: 2; }
  .flavours__visual { height: 34vh; order: 1; }
  .fl-pack { width: min(44vw, 230px); left: 4%; }
  .fl-dish { width: min(66vw, 340px); right: -10%; }
  .fl-text { align-content: start; gap: 12px; }
  .fl-text__name { font-size: clamp(54px, 15vw, 96px); }
  .fl-text__line { font-size: 16px; }
  .fl-price { font-size: 36px; }
  .gallery { position: static; }
  .quote__side { border-right: 0; border-bottom: 1.5px solid var(--line); }
  .q-steps { grid-auto-flow: column; overflow-x: auto; }
  .q-steps li { font-size: 0; gap: 0; }
  .portal { grid-template-columns: 1fr; }
  .portal__side { grid-auto-flow: column; overflow-x: auto; padding: 10px; }
  .login__art { min-height: 260px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip div:nth-child(3) { border-left: 0; }
  .stat-strip div:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--santan) 30%, transparent); }
  .sticky-buy .wrap { padding-right: var(--gutter); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .demo-bar__label span { display: none; }
  .demo-bar .wrap { gap: 14px; }
  .hero__media { min-height: 380px; }
  .hero__pack { width: 128px; right: 10px; bottom: 26px; }
  .hero__seal { --size: 88px; left: 26px; top: 26px; }
  .hero__doors { flex-direction: column; align-items: stretch; }
  .hero__doors .btn, .hero__doors .btn-sketch { width: 100%; }
  .door { justify-items: stretch; }
  .trust__certs img { height: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .recipe-cards { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { grid-template-columns: 1fr; }
  .step:nth-child(even) .step__media { order: 0; }
  .case__stats { grid-template-columns: 1fr; }
  .case__stats div + div { border-left: 0; border-top: 1.5px solid var(--line); }
  .people { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .person figcaption { font-size: 12px; }
  .person figcaption b { font-size: 17px; }
  .map { min-height: 380px; }
  .choice-grid, .form-grid { grid-template-columns: 1fr; }
  .segments { grid-template-columns: repeat(2, 1fr); }
  .dish-wall { grid-template-columns: repeat(3, 1fr); }
  .expos { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: 1fr; }
  .qr-card { grid-template-columns: 1fr; }
  .brief div { grid-template-columns: 1fr; gap: 2px; }
  .chat-fab span.label { display: none; }
  .door-card__img { display: none; }
  .door-card { min-height: 0; }
  .chat-fab { padding: 0 9px; }
  .sticky-buy .wrap > div { display: none; }
  .sticky-buy .btn { width: 100%; }
  .rating-sum { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .table { font-size: 13.5px; }
  .table th, .table td { padding: 10px 8px; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
}

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