/* TH26 storefront - sygcamerathailand.com (3 Nov 2026). Mobile-first, no framework. */

:root {
  --ink: #0f1217;
  --ink-2: #252a33;
  --muted: #5b6472;
  --line: #e7e5e0;
  --paper: #ffffff;
  --bg: #f7f5f1;
  --bg-2: #efece6;
  --accent: #ff5a36;
  --accent-ink: #d63c1a;
  --amber: #ffb547;
  --line-green: #057a38;      /* LINE brand green #06C755 is too light for white text (2.3:1); this is 5.5:1 */
  --line-green-ink: #04652e;
  --ok: #0b7d57;
  --warn: #9a4708;
  --danger: #b42318;
  --fest: var(--accent);
  --cta: var(--accent);
  --cta-ink: var(--accent-ink);
  --hot: var(--accent);
  --hero-bg: var(--ink);
  --hero-fg: #fff;
  --glow-1: color-mix(in srgb, var(--fest) 55%, transparent);
  --glow-2: rgba(255, 181, 71, .28);
  --glow-3: rgba(80, 110, 255, .22);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(15, 18, 23, .06), 0 2px 8px rgba(15, 18, 23, .05);
  --shadow: 0 10px 30px -12px rgba(15, 18, 23, .25);
  --shadow-lg: 0 30px 60px -20px rgba(15, 18, 23, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 32px);
  --head-h: 64px;
  --font-h: "Prompt", "Noto Sans Thai", system-ui, sans-serif;
  --font-b: "Sarabun", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-0: clamp(.875rem, .85rem + .12vw, .9375rem);
  --fs-1: clamp(.95rem, .92rem + .15vw, 1.0625rem);
  --fs-2: clamp(1.1rem, 1.02rem + .4vw, 1.3rem);
  --fs-3: clamp(1.35rem, 1.18rem + .8vw, 1.85rem);
  --fs-4: clamp(1.7rem, 1.35rem + 1.7vw, 2.75rem);
  --fs-5: clamp(2.1rem, 1.5rem + 3vw, 4.1rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body.th26 {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--fs-1)/1.65 var(--font-b);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
:where(.th26) img { max-width: 100%; height: auto; display: block; }
:where(.th26) a { color: inherit; text-decoration: none; }
:where(.th26) button { font: inherit; color: inherit; cursor: pointer; }
:where(.th26) :is(h1, h2, h3, h4) { font-family: var(--font-h); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
:where(.th26) p { margin: 0 0 1em; }
:where(.th26) :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: clamp(48px, 7vw, 96px); }
.sec-sm { padding-block: clamp(32px, 4vw, 56px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 32px); flex-wrap: wrap; }
.sec-head h2 { font-size: var(--fs-4); margin: 0; }
.sec-head p { margin: .3em 0 0; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 var(--fs-0)/1 var(--font-h); letter-spacing: .04em; color: var(--accent-ink); text-transform: uppercase; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.muted { color: var(--muted); }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --b: var(--ink); --c: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.35em; border-radius: 999px; border: 1.5px solid var(--b);
  background: var(--b); color: var(--c); font: 600 var(--fs-1)/1 var(--font-h);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  overflow: hidden; isolation: isolate; white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn .ico { width: 1.2em; height: 1.2em; }
.btn-accent { --b: var(--cta); }
.btn-accent:hover { --b: var(--cta-ink); }
.btn-line { --b: var(--line-green); }
.btn-line:hover { --b: var(--line-green-ink); }
.btn-ghost { --b: transparent; --c: var(--ink); border-color: currentColor; }
.btn-ghost:hover { --b: var(--ink); --c: #fff; border-color: var(--ink); }
.btn-ghost-light { --b: rgba(255, 255, 255, .08); --c: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --b: #fff; --c: var(--ink); border-color: #fff; }
.btn-soft { --b: var(--paper); --c: var(--ink); border-color: var(--line); }
.btn-sm { min-height: 40px; padding: 0 1em; font-size: var(--fs-0); }
.btn-lg { min-height: 56px; padding: 0 1.8em; font-size: var(--fs-2); }
.btn-block { width: 100%; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.btn[disabled] { --b: #d3d9e2; --c: #2e3a52; border-color: #d3d9e2; pointer-events: none; }
.btn .ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); animation: ripple .6s var(--ease) forwards; pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; position: relative; transition: background .2s, transform .2s var(--ease); }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn:active { transform: scale(.92); }

/* ------------------------------------------------------------------ header */
.topbar { background: var(--ink); color: #fff; font-size: var(--fs-0); }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 36px; text-align: center; }
.topbar a { text-decoration: underline; text-underline-offset: 3px; }
.topbar .tick { display: inline-flex; gap: 28px; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line-green); box-shadow: 0 0 0 0 rgba(6, 199, 85, .7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(6, 199, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0); } }
.topbar.is-offer { background: linear-gradient(90deg, var(--accent-ink), var(--accent)); }
.topbar.is-fest { background: var(--ink); box-shadow: inset 0 -3px 0 var(--fest); }
.topbar.is-fest .ico { color: var(--fest); }

.hdr { position: sticky; top: 0; z-index: 60; background: rgba(247, 245, 241, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.hdr.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); background: rgba(255, 255, 255, .9); }
.hdr .wrap { display: flex; align-items: center; gap: 12px; height: var(--head-h); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 34px; width: auto; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { position: relative; padding: 10px 12px; border-radius: 10px; font: 500 var(--fs-0)/1 var(--font-h); color: var(--ink-2); transition: color .2s, background .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr-search { flex: 1; min-width: 0; position: relative; display: none; }
.hdr-search input { width: 100%; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 44px 0 42px; font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.hdr-search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15, 18, 23, .07); }
.hdr-search > .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.hdr-search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 500 11px/1 var(--font-b); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; background: var(--bg); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 5; max-height: 70vh; overflow: auto; }
.suggest.is-open { display: block; animation: pop .2s var(--ease); }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; }
.suggest a:hover, .suggest a.is-active { background: var(--bg); }
.suggest img { width: 52px; height: 40px; object-fit: contain; background: var(--bg); border-radius: 8px; }
.suggest b { display: block; font-weight: 600; line-height: 1.3; font-size: var(--fs-0); }
.suggest small { color: var(--accent-ink); font-weight: 700; }
.suggest .all { justify-content: center; font-weight: 600; color: var(--accent-ink); }
.hdr-act { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.badge-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 11px/19px var(--font-b); text-align: center; transform: scale(0); transition: transform .35s var(--ease-spring); }
.badge-count.is-on { transform: scale(1); }
.badge-count.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.45); } }
.hdr .line-pill { display: none; }
@media (min-width: 760px) { .hdr-search { display: block; max-width: 420px; margin-left: auto; } .hdr-act { margin-left: 0; } .hdr .line-pill { display: inline-flex; } .m-search-btn { display: none !important; } }
@media (min-width: 1080px) { .nav { display: flex; } .burger { display: none !important; } :root { --head-h: 72px; } }

.lang-sw { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font: 600 13px/1 var(--font-h); }
.lang-sw a { padding: 7px 10px; border-radius: 999px; color: var(--muted); transition: background .2s, color .2s; }
.lang-sw a[aria-current="true"] { background: var(--ink); color: #fff; }
.lang-sw a:not([aria-current]):hover { color: var(--ink); }
.ftr .lang-sw { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); }
.ftr .lang-sw a { color: rgba(255, 255, 255, .7); }
.ftr .lang-sw a[aria-current="true"] { background: #fff; color: var(--ink); }
.lang-hdr { margin-right: 4px; }
.mnav .lang-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 8px; border-bottom: 1px solid var(--line); font: 500 var(--fs-1)/1.2 var(--font-h); }
@media (max-width: 759px) { .m-search-btn { display: none !important; } .hdr .wrap { gap: 6px; } }
@media (max-width: 420px) { .lang-hdr a { padding: 7px 8px; } .logo img { height: 30px; } }

/* mobile drawer menu */
.mnav { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.mnav.is-open { visibility: visible; }
.mnav .scrim { position: absolute; inset: 0; background: rgba(15, 18, 23, .5); opacity: 0; transition: opacity .3s; }
.mnav.is-open .scrim { opacity: 1; }
.mnav .panel { position: absolute; inset: 0 auto 0 0; width: min(86vw, 360px); background: var(--paper); transform: translateX(-100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; padding: 16px; overflow: auto; }
.mnav.is-open .panel { transform: none; }
.mnav .panel a.item { display: flex; align-items: center; justify-content: space-between; padding: 14px 8px; border-bottom: 1px solid var(--line); font: 500 var(--fs-2)/1.2 var(--font-h); }
.mnav .panel a.item small { color: var(--muted); font: 400 var(--fs-0) var(--font-b); }
.mnav .panel .foot { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }

/* mobile bottom bar (app-like) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); transition: transform .35s var(--ease); }
.tabbar.is-hidden { transform: translateY(110%); }
.tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 7px; border: 0; background: none; font: 500 12.5px/1.15 var(--font-h); color: var(--ink-2); }
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar .ico { width: 24px; height: 24px; }
.tabbar .tab-line { color: var(--line-green-ink); font-weight: 600; }
.tabbar .badge-count { top: 2px; right: calc(50% - 22px); }
body.th26 { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) { .tabbar { display: none; } body.th26 { padding-bottom: 0; } }
body.has-sticky-buy .tabbar { display: none; }

/* breadcrumb */
.crumbs { font-size: var(--fs-0); color: var(--muted); padding-block: 14px 0; }
.crumbs ol { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-fg); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20%; z-index: -2;
  background:
    radial-gradient(40% 50% at 80% 30%, var(--glow-1), transparent 70%),
    radial-gradient(35% 45% at 15% 85%, var(--glow-2), transparent 70%),
    radial-gradient(50% 60% at 50% 0%, var(--glow-3), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) rotate(4deg) scale(1.06); } }
.hero .wrap { display: grid; gap: clamp(28px, 5vw, 56px); padding-block: clamp(36px, 7vw, 96px) clamp(40px, 7vw, 88px); align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { font-size: var(--fs-5); font-weight: 700; line-height: 1.12; margin: 0 0 .35em; letter-spacing: -.02em; }
.hero h1 .hl { position: relative; color: var(--amber); white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .4em; overflow: visible; }
.hero h1 .hl path { stroke: var(--accent); stroke-width: 5; fill: none; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.2s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { font-size: var(--fs-2); color: rgba(255, 255, 255, .78); max-width: 34em; }
.hero .chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: var(--fs-0); margin-bottom: 18px; backdrop-filter: blur(6px); }
.hero .chip b { background: var(--line-green); color: #fff; border-radius: 999px; padding: 3px 10px; font: 600 12.5px/1.3 var(--font-h); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero .proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.hero .proof div { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.hero .proof b { display: block; font: 700 var(--fs-3)/1.1 var(--font-h); }
.hero .proof span { font-size: 13px; color: rgba(255, 255, 255, .8); line-height: 1.4; display: block; margin-top: 4px; }

/* viewfinder motion graphic */
.vf { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin-inline: auto; }
.vf .ring { position: absolute; inset: 0; animation: spin 60s linear infinite; opacity: .9; }
.vf .ring text { font: 600 9px var(--font-h); letter-spacing: .28em; fill: rgba(255, 255, 255, .55); }
@keyframes spin { to { transform: rotate(360deg); } }
.vf .aperture { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 40% 35%, #2b313b, #0b0d10 70%); box-shadow: inset 0 0 0 10px #191c22, inset 0 0 0 12px rgba(255, 255, 255, .08), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.vf .aperture svg.blades { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.vf .blades g { transform-box: view-box; transform-origin: 50% 50%; transform: rotate(var(--a)); transition: transform 1.3s var(--ease); }
.vf .blades path { fill: #15181d; stroke: #2c313a; stroke-width: .5; }
.vf.is-open .blades g { transform: rotate(calc(var(--a) + 24deg)) translateY(-52px); }
.vf.is-snap .blades g { transition-duration: .16s; transition-timing-function: ease-in; }
.vf .shot { position: absolute; inset: 12%; display: grid; place-items: center; z-index: 2; }
.vf .shot img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); transform: scale(.9); opacity: 0; transition: transform 1.2s .5s var(--ease), opacity .8s .5s; }
.vf.is-open .shot img { transform: scale(1); opacity: 1; }
.vf .corner { position: absolute; width: 34px; height: 34px; border: 2px solid rgba(255, 255, 255, .75); z-index: 4; animation: focus 3.2s var(--ease) infinite; }
.vf .c1 { top: 4%; left: 4%; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.vf .c2 { top: 4%; right: 4%; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.vf .c3 { bottom: 4%; left: 4%; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.vf .c4 { bottom: 4%; right: 4%; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
@keyframes focus { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(var(--fx, 0), var(--fy, 0)); } }
.vf .c1 { --fx: 6px; --fy: 6px; } .vf .c2 { --fx: -6px; --fy: 6px; } .vf .c3 { --fx: 6px; --fy: -6px; } .vf .c4 { --fx: -6px; --fy: -6px; }
.vf .rec { position: absolute; top: 7%; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font-h); letter-spacing: .12em; padding: 6px 11px; border-radius: 999px; background: rgba(11, 18, 32, .78); color: #fff; backdrop-filter: blur(4px); }
.vf .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.vf .tag { position: absolute; right: -2%; bottom: 10%; z-index: 6; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; max-width: 76%; transform: translateY(16px); opacity: 0; transition: transform .8s 1.3s var(--ease-spring), opacity .6s 1.3s; }
.vf.is-open .tag { transform: none; opacity: 1; }
.vf .tag small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.vf .tag b { font: 600 var(--fs-0)/1.3 var(--font-h); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vf .tag .p { font: 700 var(--fs-2)/1 var(--font-h); color: var(--accent-ink); white-space: nowrap; }
.vf .stat { position: absolute; left: -3%; top: 18%; z-index: 6; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; padding: 10px 12px; font-size: 13px; line-height: 1.3; display: flex; gap: 8px; align-items: center; animation: float 6s ease-in-out infinite; }
.vf .stat .ico { color: var(--line-green); width: 22px; height: 22px; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* marquee */
.marquee { background: var(--marquee, var(--accent)); color: #fff; overflow: hidden; white-space: nowrap; border-block: 1px solid rgba(0, 0, 0, .06); }
.marquee .track { display: inline-flex; gap: 40px; padding: 14px 0; animation: marq 32s linear infinite; font: 600 var(--fs-1)/1 var(--font-h); }
.marquee .track span { display: inline-flex; align-items: center; gap: 12px; }
.marquee .track span::after { content: "✦"; opacity: .7; margin-left: 28px; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee:hover .track { animation-play-state: paused; }

/* categories */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .cats { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); overflow: visible; } }
.cat { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 150px; padding: 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.cat::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); transition: transform .5s var(--ease); }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat:hover::after { transform: scale(1.8); }
.cat .ico { width: 34px; height: 34px; stroke-width: 1.5; color: var(--accent-ink); transition: transform .5s var(--ease-spring); }
.cat:hover .ico { transform: rotate(-8deg) scale(1.1); }
.cat b { font: 600 var(--fs-1)/1.3 var(--font-h); display: block; }
.cat small { color: var(--muted); }
.cat .go { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: background .3s, color .3s, transform .3s var(--ease); }
.cat:hover .go { background: var(--ink); color: #fff; transform: rotate(-45deg); }

/* ------------------------------------------------------------------ product cards */
.grid { display: grid; gap: clamp(12px, 2vw, 22px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #fbfaf8, #f1efea); overflow: hidden; }
.card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .7s var(--ease), opacity .5s; }
.card .media img.alt { opacity: 0; }
.card:hover .media img { transform: scale(1.06); }
.card:hover .media img.alt { opacity: 1; }
.card:hover .media img.has-alt:not(.alt) { opacity: 0; }
.card .flags { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.flag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font: 600 12.5px/1.3 var(--font-h); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.flag.new { background: var(--ink); color: #fff; }
.flag.sale { background: var(--hot); color: #fff; }
.flag.one { background: #fff7e6; color: var(--warn); }
.flag.sold { background: #3b3f46; color: #fff; }
.card .body { padding: 14px 14px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .brand { font: 600 12px/1.3 var(--font-h); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card h3 { font: 500 var(--fs-1)/1.4 var(--font-h); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.card .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.card .price b { font: 700 var(--fs-2)/1 var(--font-h); }
.card .price s { color: var(--muted); font-size: var(--fs-0); }
.card .acts { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 14px 14px; }
.card .acts .btn { min-height: 42px; font-size: var(--fs-0); padding: 0 .9em; }
.card .acts .icon-btn { width: 42px; height: 42px; background: #e9f9ef; color: var(--line-green-ink); }
.card .acts .icon-btn:hover { background: var(--line-green); color: #fff; }
.card a.cover { position: absolute; inset: 0; z-index: 1; }
.card .acts { position: relative; z-index: 2; }
.card.is-sold .media img { filter: grayscale(.8); opacity: .55; }
.card.is-added .add-btn { --b: var(--ok); }
@media (max-width: 480px) { .card .acts { grid-template-columns: 1fr; } .card .acts .icon-btn { display: none; } .card .body { padding: 10px 10px 0; } .card .acts { padding: 10px; } }

/* rail (horizontal carousel) */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 72%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 6px var(--gut) 26px; margin-inline: calc(var(--gut) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: minmax(240px, 40%); } }
@media (min-width: 1000px) { .rail { grid-auto-columns: calc((100% - 48px) / 4); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); display: grid; place-items: center; transition: background .2s, color .2s, transform .2s var(--ease), opacity .2s; }
.rail-nav button:hover:not([disabled]) { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-nav button[disabled] { opacity: .35; cursor: default; }
.rail-progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: -10px; }
.rail-progress i { display: block; height: 100%; width: 30%; background: var(--ink); border-radius: 3px; transition: transform .15s linear; transform-origin: left; }

/* filter chips */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: space-between; margin-bottom: 20px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font: 500 var(--fs-0)/1 var(--font-h); transition: all .25s var(--ease); }
.chip-btn small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-btn.is-on small { color: rgba(255, 255, 255, .85); }
.select { position: relative; }
.select select { appearance: none; min-height: 40px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 38px 0 16px; font: 500 var(--fs-0)/1 var(--font-h); color: var(--ink); }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.grid .card.is-filtered { display: none; }
.empty { text-align: center; padding: 48px 20px; background: var(--paper); border-radius: var(--r-lg); border: 1px dashed var(--line); }
.empty .ico { width: 48px; height: 48px; color: var(--muted); margin: 0 auto 12px; }

/* ------------------------------------------------------------------ steps / features */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; right: 18px; top: 8px; font: 700 64px/1 var(--font-h); color: var(--bg-2); transition: color .4s, transform .6s var(--ease); }
.step:hover::before { color: color-mix(in srgb, var(--accent) 22%, transparent); transform: translateY(6px); }
.step .ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--ink); color: #fff; margin-bottom: 16px; position: relative; }
.step h3 { font-size: var(--fs-2); position: relative; }
.step p { color: var(--muted); margin: 0; position: relative; }
.feats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .feats { grid-template-columns: repeat(4, 1fr); } }
.feat { padding: 18px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.feat .ico { width: 30px; height: 30px; color: var(--amber); margin-bottom: 10px; }
.feat b { display: block; font: 600 var(--fs-1)/1.3 var(--font-h); margin-bottom: 4px; }
.feat span { font-size: var(--fs-0); color: rgba(255, 255, 255, .7); }
.dark { background: var(--ink); color: #fff; }
.dark .sec-head p, .dark .muted { color: rgba(255, 255, 255, .7); }
.dark .eyebrow { color: var(--amber); }

/* store / map */
.store { display: grid; gap: 20px; }
@media (min-width: 900px) { .store { grid-template-columns: 1fr 1.2fr; align-items: stretch; } }
.store .info { padding: clamp(22px, 4vw, 40px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.store .row { display: flex; gap: 14px; align-items: flex-start; }
.store .row .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--bg); flex: none; }
.store .row b { display: block; font-family: var(--font-h); font-weight: 600; }
.store .open-now { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--font-h); padding: 6px 11px; border-radius: 999px; background: #e7f8ee; color: var(--line-green-ink); }
.store .open-now.closed { background: #fdecea; color: var(--danger); }
.store .map { border-radius: var(--r-lg); overflow: hidden; min-height: 320px; background: var(--bg-2); border: 1px solid var(--line); }
.store .map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* guides */
.guides { display: grid; gap: 12px; }
@media (min-width: 760px) { .guides { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .guides { grid-template-columns: repeat(3, 1fr); } }
.guide { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.guide:hover { transform: translateX(4px); border-color: var(--ink); }
.guide .ico { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: #fff1ec; color: var(--accent-ink); }
.guide b { font: 500 var(--fs-1)/1.4 var(--font-h); }

/* CTA band */
.cta-band { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(28px, 5vw, 56px); background: linear-gradient(120deg, #03552a, var(--line-green)); color: #fff; display: grid; gap: 20px; align-items: center; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .1); z-index: -1; animation: float 8s ease-in-out infinite; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { font-size: var(--fs-4); margin: 0 0 .2em; }
.cta-band p { margin: 0; opacity: .95; }
.cta-band .btn { --b: #fff; --c: var(--line-green-ink); }

/* ------------------------------------------------------------------ product page */
.pdp { display: grid; gap: clamp(20px, 4vw, 48px); padding-block: 18px clamp(40px, 6vw, 72px); }
.pdp > *, .cart-page > *, .order-grid > *, .store > * { min-width: 0; }
.buy h1 { overflow-wrap: anywhere; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.15fr 1fr; align-items: start; } .pdp .buy { position: sticky; top: calc(var(--head-h) + 16px); } }
.gal { display: grid; gap: 10px; }
.gal .main { position: relative; border-radius: var(--r-lg); background: linear-gradient(180deg, #fff, #f1efea); border: 1px solid var(--line); overflow: hidden; }
.gal .track { display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1 / 1; touch-action: pan-x pan-y pinch-zoom; }
@media (min-width: 960px) { .gal .track { aspect-ratio: 5 / 4; } }
.gal .track::-webkit-scrollbar { display: none; }
.gal .track figure { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; cursor: zoom-in; overflow: hidden; }
.gal .track img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.gal .count { position: absolute; right: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(15, 18, 23, .85); color: #fff; font: 600 13px/1 var(--font-h); backdrop-filter: blur(4px); }
.gal .arrows button { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); display: none; place-items: center; transition: transform .2s var(--ease); }
.gal .arrows button:hover { transform: translateY(-50%) scale(1.08); }
.gal .arrows .prev { left: 14px; } .gal .arrows .next { right: 14px; }
@media (hover: hover) and (min-width: 760px) { .gal .arrows button { display: grid; } }
.gal .thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.gal .thumbs::-webkit-scrollbar { display: none; }
.gal .thumbs button { flex: 0 0 72px; height: 72px; border-radius: 12px; border: 2px solid transparent; background: var(--paper); padding: 4px; transition: border-color .2s, transform .2s var(--ease); }
.gal .thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gal .thumbs button.is-on { border-color: var(--ink); }
.gal .thumbs button:hover { transform: translateY(-2px); }
.buy h1 { font-size: var(--fs-4); margin-bottom: 10px; }
.buy .brand-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.buy .pricebox { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 14px 0 6px; }
.buy .pricebox b { font: 700 var(--fs-4)/1 var(--font-h); }
.buy .pricebox s { color: var(--muted); font-size: var(--fs-2); }
.buy .save { background: #fff1ec; color: var(--accent-ink); border-radius: 999px; padding: 4px 10px; font: 600 var(--fs-0)/1.3 var(--font-h); }
.buy .stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.buy .stock i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(14, 159, 110, .15); }
.buy .stock.sold i { background: var(--danger); box-shadow: 0 0 0 4px rgba(217, 45, 32, .12); }
.buy .actions { display: grid; gap: 10px; margin: 22px 0 16px; }
.buy .actions .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buy .coupon-hint { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff7e6; color: #7a4b00; font-size: var(--fs-0); border: 1px dashed #f3c46b; }
.trust { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: var(--fs-0); }
.trust li .ico { color: var(--ok); width: 22px; height: 22px; margin-top: 1px; }
.trust li b { display: block; font: 600 var(--fs-0)/1.3 var(--font-h); }
.specs { width: 100%; border-collapse: collapse; font-size: var(--fs-0); }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 40%; padding-right: 12px; }
.tabs { margin-top: 26px; }
.tabs [role="tablist"] { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs [role="tab"] { position: relative; padding: 12px 14px; border: 0; background: none; font: 600 var(--fs-1)/1 var(--font-h); color: var(--muted); white-space: nowrap; }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.tabs [role="tab"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
.tabs [role="tabpanel"] { padding: 18px 0; animation: fadeUp .4s var(--ease); }
.tabs [role="tabpanel"][hidden] { display: none; }
.prose { line-height: 1.8; overflow-wrap: anywhere; }
.prose pre { white-space: pre-wrap; font: inherit; margin: 0 0 1em; background: none; padding: 0; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; } .prose td, .prose th { border: 1px solid var(--line); padding: 8px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 56; display: flex; gap: 8px; align-items: center; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .4); transform: translateY(110%); transition: transform .4s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy .p { flex: 1; min-width: 0; line-height: 1.15; }
.sticky-buy .p b { display: block; font: 700 var(--fs-2)/1.1 var(--font-h); }
.sticky-buy .p small { display: block; color: var(--muted); font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sticky-buy .btn { min-height: 46px; padding: 0 1em; }
.sticky-buy .icon-btn { width: 46px; height: 46px; background: var(--line-green); color: #fff; flex: none; }
@media (min-width: 960px) { .sticky-buy { display: none; } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(10, 12, 15, .94); display: none; }
.lb.is-open { display: block; animation: fade .25s; }
.lb .track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb .track::-webkit-scrollbar { display: none; }
.lb figure { flex: 0 0 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: center; overflow: hidden; }
.lb img { max-width: 96vw; max-height: 88vh; object-fit: contain; transition: transform .3s var(--ease); cursor: zoom-in; touch-action: pinch-zoom; }
.lb img.is-zoom { transform: scale(2); cursor: zoom-out; }
.lb .x { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255, 255, 255, .12); color: #fff; }
.lb .x:hover { background: rgba(255, 255, 255, .25); }

/* ------------------------------------------------------------------ cart drawer / cart page */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(15, 18, 23, .5); opacity: 0; transition: opacity .35s; }
.drawer.is-open .scrim { opacity: 1; }
.drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100vw, 440px); background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg); }
.drawer.is-open .panel { transform: none; }
.drawer .dh { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.drawer .dh h2 { font-size: var(--fs-2); margin: 0; }
.drawer .db { flex: 1; overflow: auto; padding: 14px 16px; }
.drawer .df { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: 10px; }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 10px; animation: fadeUp .35s var(--ease) both; }
.line-item img { width: 76px; height: 60px; object-fit: contain; border-radius: 10px; background: var(--bg); }
.line-item b { font: 500 var(--fs-0)/1.35 var(--font-h); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-item .lp { font: 700 var(--fs-1)/1.2 var(--font-h); margin-top: 4px; }
.line-item .lp s { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 6px; }
.line-item.is-gone { opacity: .55; }
.line-item.is-leaving { animation: leave .35s var(--ease) forwards; }
@keyframes leave { to { opacity: 0; transform: translateX(30px); height: 0; padding-block: 0; margin: 0; border-width: 0; } }
.line-item .icon-btn { width: 38px; height: 38px; color: var(--muted); }
.line-item .icon-btn:hover { color: var(--danger); background: #fdecea; }
.sum { display: grid; gap: 8px; font-size: var(--fs-0); }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .disc { color: var(--ok); font-weight: 600; }
.sum .tot { font: 700 var(--fs-2)/1.2 var(--font-h); padding-top: 8px; border-top: 1px dashed var(--line); }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); padding: 0 12px; font: 600 15px/1 var(--font-b); text-transform: uppercase; letter-spacing: .06em; background: var(--paper); }
.coupon-form input:focus { outline: none; border-color: var(--ink); }
.coupon-msg { font-size: 14px; min-height: 1.2em; }
.coupon-msg.ok { color: var(--ok); } .coupon-msg.err { color: var(--danger); }
.free-ship { font-size: 14px; }
.free-ship .bar { height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; margin-top: 6px; }
.free-ship .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--accent)); border-radius: 6px; transition: width .6s var(--ease); }
.cart-empty { text-align: center; padding: 40px 10px; }
.cart-empty .ico { width: 64px; height: 64px; margin: 0 auto 10px; color: var(--muted); stroke-width: 1.2; }
.fly { position: fixed; z-index: 200; width: 64px; height: 64px; border-radius: 14px; object-fit: contain; background: #fff; box-shadow: var(--shadow-lg); pointer-events: none; transition: transform .75s cubic-bezier(.5, -.3, .3, 1), opacity .75s; }

.page-head { padding-block: clamp(24px, 4vw, 44px) 8px; }
.page-head h1 { font-size: var(--fs-4); margin: 0; }
.cart-page { display: grid; gap: 22px; padding-bottom: 60px; }
@media (min-width: 960px) { .cart-page { grid-template-columns: 1.4fr 1fr; align-items: start; } .cart-page aside { position: sticky; top: calc(var(--head-h) + 16px); } }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 26px); }
.box + .box { margin-top: 16px; }
.box h2 { font-size: var(--fs-2); display: flex; align-items: center; gap: 10px; }
.box h2 .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }

/* checkout steps */
.progress { display: flex; gap: 8px; align-items: center; margin: 8px 0 20px; font: 500 var(--fs-0)/1 var(--font-h); color: var(--muted); flex-wrap: wrap; }
.progress span { display: inline-flex; align-items: center; gap: 6px; }
.progress span i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-style: normal; font-size: 12px; }
.progress span.is-done i { background: var(--ok); color: #fff; }
.progress span.is-on { color: var(--ink); }
.progress span.is-on i { background: var(--ink); color: #fff; }
.progress b { flex: 0 1 28px; height: 2px; background: var(--line); }

/* forms */
.fields { display: grid; gap: 14px; }
@media (min-width: 640px) { .fields.two { grid-template-columns: 1fr 1fr; } .fields .span2 { grid-column: 1 / -1; } }
.field { position: relative; }
.field label { display: block; font: 500 var(--fs-0)/1.3 var(--font-h); margin-bottom: 6px; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); padding: 12px 14px; font: 400 16px/1.4 var(--font-b); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15, 18, 23, .07); }
.field.has-err input, .field.has-err select { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: 14px; margin-top: 5px; display: block; }
.field.is-ok input { border-color: var(--ok); }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.opt:hover { border-color: #c9c5bd; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .rd { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c9c5bd; flex: none; display: grid; place-items: center; transition: border-color .2s; }
.opt .rd::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .3s var(--ease-spring); }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15, 18, 23, .06); }
.opt:has(input:checked) .rd { border-color: var(--ink); }
.opt:has(input:checked) .rd::after { transform: scale(1); }
.opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.opt .t { flex: 1; }
.opt .t b { display: block; font: 600 var(--fs-1)/1.3 var(--font-h); }
.opt .t small { color: var(--muted); }
.opt .pr { font: 700 var(--fs-1)/1 var(--font-h); white-space: nowrap; }
.opt .ico { width: 30px; height: 30px; color: var(--ink-2); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-0); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.collapse > div { overflow: hidden; }
.collapse.is-open { grid-template-rows: 1fr; }
.collapse.is-open > div { overflow: visible; }
.alert { padding: 12px 16px; border-radius: 14px; font-size: var(--fs-0); margin-bottom: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert.err { background: #fdecea; color: #8a1c13; }
.alert.ok { background: #e7f8ee; color: #0b5b37; }
.alert .ico { flex: none; margin-top: 2px; }
.pp-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: #0d3a6e; color: #fff; font: 600 13px/1 var(--font-h); }

/* order page */
.order-hero { text-align: center; padding-block: clamp(28px, 5vw, 52px) 18px; }
.order-hero .check-anim { width: 92px; height: 92px; margin: 0 auto 18px; }
.order-hero .check-anim circle { stroke: var(--ok); stroke-width: 4; fill: none; stroke-dasharray: 280; stroke-dashoffset: 280; animation: draw .8s var(--ease) forwards; }
.order-hero .check-anim path { stroke: var(--ok); stroke-width: 6; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .5s .7s var(--ease) forwards; }
.order-hero h1 { font-size: var(--fs-4); }
.order-grid { display: grid; gap: 18px; padding-bottom: 64px; }
@media (min-width: 960px) { .order-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.qr-card { text-align: center; }
.qr-card .amount { font: 700 var(--fs-5)/1 var(--font-h); margin: 6px 0 14px; letter-spacing: -.02em; }
.qr-frame { position: relative; display: inline-grid; place-items: center; padding: 16px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.qr-frame canvas, .qr-frame img { width: min(68vw, 260px) !important; height: auto !important; image-rendering: pixelated; }
.qr-frame::before { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; top: 16px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 12px var(--accent); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 50% { top: calc(100% - 18px); } }
.timer { display: inline-flex; gap: 8px; align-items: center; font: 600 var(--fs-0)/1 var(--font-h); color: var(--warn); background: #fff7e6; padding: 8px 12px; border-radius: 999px; margin-top: 14px; }
.drop { display: grid; place-items: center; gap: 8px; text-align: center; padding: 22px; border-radius: 18px; border: 2px dashed var(--line); background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.is-over { border-color: var(--ink); background: var(--paper); }
.drop .ico { width: 34px; height: 34px; color: var(--muted); }
.drop img.prev { max-height: 220px; border-radius: 12px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.status-line { display: grid; gap: 0; margin: 10px 0 0; padding: 0; list-style: none; }
.status-line li { position: relative; padding: 0 0 18px 34px; font-size: var(--fs-0); color: var(--muted); }
.status-line li::before { content: ""; position: absolute; left: 7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.status-line li::after { content: ""; position: absolute; left: 12px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.status-line li:last-child::after { display: none; }
.status-line li.is-done { color: var(--ink); }
.status-line li.is-done::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(14, 159, 110, .15); }
.status-line li.is-now::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 181, 71, .25); animation: pulse 2s infinite; }
.status-line b { display: block; font-family: var(--font-h); font-weight: 600; }

/* ------------------------------------------------------------------ footer */
.ftr { background: var(--ink); color: rgba(255, 255, 255, .78); padding-block: clamp(44px, 6vw, 72px) 28px; margin-top: clamp(40px, 6vw, 80px); font-size: var(--fs-0); }
.ftr .cols { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .ftr .cols { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.ftr .about { grid-column: 1 / -1; }
@media (min-width: 960px) { .ftr .about { grid-column: auto; } }
.ftr h3 { color: #fff; font-size: var(--fs-1); margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ftr ul a { display: inline-block; padding: 6px 0; transition: color .2s, transform .2s var(--ease); }
.ftr ul a:hover { color: #fff; transform: translateX(3px); }
.ftr .logo img { filter: brightness(0) invert(1); height: 32px; margin-bottom: 14px; }
.ftr .soc { display: flex; gap: 8px; margin-top: 16px; }
.ftr .soc a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s var(--ease); }
.ftr .soc a:hover { background: var(--accent); transform: translateY(-3px); }
.ftr .base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: rgba(255, 255, 255, .72); }
.ftr .pay { display: flex; gap: 8px; align-items: center; }

/* floating chat */
.fab { position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 54; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
@media (min-width: 760px) { .fab { bottom: 24px; right: 24px; } }
body.has-sticky-buy .fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
.fab .main { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--line-green); color: #fff; box-shadow: 0 12px 30px -8px rgba(6, 199, 85, .6); display: grid; place-items: center; transition: transform .3s var(--ease-spring); position: relative; }
.fab .main::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--line-green); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }
.fab .main:hover { transform: scale(1.08) rotate(-6deg); }
.fab .main .ico { width: 28px; height: 28px; }
.fab .menu { display: grid; gap: 8px; justify-items: end; }
.fab .menu a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); font: 600 var(--fs-0)/1 var(--font-h); opacity: 0; transform: translateY(10px) scale(.95); pointer-events: none; transition: opacity .25s, transform .3s var(--ease-spring); }
.fab.is-open .menu a { opacity: 1; transform: none; pointer-events: auto; }
.fab.is-open .menu a:nth-child(2) { transition-delay: .04s; } .fab.is-open .menu a:nth-child(3) { transition-delay: .08s; }
.fab .menu a .ico { width: 22px; height: 22px; }
.fab .bubble { position: absolute; right: 70px; bottom: 8px; white-space: nowrap; background: var(--paper); padding: 10px 14px; border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow); font-size: 14px; opacity: 0; transform: translateX(10px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.fab .bubble.is-on { opacity: 1; transform: none; }

/* toast */
.toasts { position: fixed; left: 50%; top: calc(var(--head-h) + 12px); transform: translateX(-50%); z-index: 210; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: var(--fs-0); animation: toastIn .45s var(--ease-spring) both; pointer-events: auto; }
.toast img { width: 44px; height: 36px; object-fit: contain; background: #fff; border-radius: 8px; }
.toast .ico { color: var(--line-green); }
.toast a { margin-left: auto; font-weight: 700; color: var(--amber); white-space: nowrap; }
.toast.is-out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-16px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); } }

/* ------------------------------------------------------------------ modal (exit intent) */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal .scrim { position: absolute; inset: 0; background: rgba(15, 18, 23, .6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.modal.is-open .scrim { opacity: 1; }
.modal .dlg { position: relative; width: min(100%, 460px); background: var(--paper); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); transform: translateY(30px) scale(.94); opacity: 0; transition: transform .55s var(--ease-spring), opacity .3s; }
.modal.is-open .dlg { transform: none; opacity: 1; }
.modal .x { position: absolute; top: 10px; right: 10px; z-index: 3; background: rgba(255, 255, 255, .85); }
.exit-top { position: relative; padding: 34px 26px 26px; text-align: center; color: #fff; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--fest) 80%, #fff), var(--accent-ink)); overflow: hidden; }
.exit-top .burst { position: absolute; inset: 0; pointer-events: none; }
.exit-top .burst i { position: absolute; width: 8px; height: 14px; border-radius: 2px; top: -20px; animation: confetti 2.6s linear infinite; }
@keyframes confetti { to { transform: translateY(280px) rotate(540deg); } }
.exit-top h2 { font-size: var(--fs-3); margin: 0 0 6px; position: relative; }
.exit-top p { margin: 0; opacity: .9; position: relative; font-size: var(--fs-0); }
.ticket { position: relative; margin: -20px 22px 0; padding: 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); transform: translateY(-50%); box-shadow: inset 0 0 0 1px var(--line); }
.ticket::before { left: -11px; } .ticket::after { right: -11px; }
.ticket .amt { font: 700 clamp(2rem, 8vw, 2.6rem)/1 var(--font-h); color: var(--accent-ink); padding-right: 16px; border-right: 2px dashed var(--line); }
.ticket .amt small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.ticket .cond { font-size: 14px; color: var(--muted); line-height: 1.5; }
.ticket .code { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 700 18px/1 var(--font-h); letter-spacing: .08em; color: var(--ink); }
.exit-body { padding: 20px 22px 24px; display: grid; gap: 10px; text-align: center; }
.exit-body .no { background: none; border: 0; color: var(--muted); font-size: 14px; text-decoration: underline; padding: 6px; }
.exit-body .ok-state { display: none; }
.modal.is-claimed .exit-body .claim-state { display: none; }
.modal.is-claimed .exit-body .ok-state { display: grid; gap: 10px; }
.countdown { font: 600 14px/1 var(--font-h); color: var(--warn); }

/* PDPA consent */
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 140; max-width: 520px; padding: 16px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: 14px; line-height: 1.55; display: none; gap: 12px; animation: fadeUp .5s var(--ease); }
.consent.is-on { display: grid; }
.consent .b { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
@media (min-width: 760px) { .consent { left: 24px; right: auto; bottom: 24px; } }


/* ------------------------------------------------------------------ colour scheme: Light & clean (html[data-pal="light"]) */
html[data-pal="light"] {
  --ink: #0b1e40; --ink-2: #22314f; --muted: #56637a; --line: #e3e8f0; --bg: #ffffff; --bg-2: #f1f5fa; --paper: #ffffff;
  --accent: #1646a0; --accent-ink: #0f347a; --cta: #1646a0; --cta-ink: #0f347a; --hot: #c62f36; --amber: #0e7a52;
  --hero-bg: linear-gradient(160deg, #e9f1ff 0%, #f7faff 55%, #e8f6ef 100%); --hero-fg: #0b1e40;
  --glow-1: rgba(22, 70, 160, .16); --glow-2: rgba(14, 122, 82, .14); --glow-3: rgba(255, 255, 255, .6); --marquee: #0e7a52;
}
html[data-pal="light"] .hero::after { opacity: .03; }
html[data-pal="light"] .hero .lead { color: var(--muted); }
html[data-pal="light"] .hero .chip, html[data-pal="light"] .hero .proof div { background: rgba(255, 255, 255, .75); border-color: var(--line); box-shadow: var(--shadow-sm); }
html[data-pal="light"] .hero .proof span { color: var(--muted); }
html[data-pal="light"] .hero .btn-ghost-light { --b: #fff; --c: var(--ink); border-color: var(--line); }
html[data-pal="light"] .vf .ring text { fill: rgba(11, 30, 64, .5); }
html[data-pal="light"] .vf .ring circle { stroke: rgba(11, 30, 64, .2); }
html[data-pal="light"] .vf .corner { border-color: rgba(11, 30, 64, .45); }
html[data-pal="light"] .vf .stat { background: rgba(255, 255, 255, .8); border-color: var(--line); color: var(--ink); }
html[data-pal="light"] .hdr { background: rgba(255, 255, 255, .85); }
html[data-pal="light"] .dark { background: linear-gradient(180deg, #f1f6ff, #eef8f3); color: var(--ink); }
html[data-pal="light"] .dark .eyebrow { color: var(--accent); }
html[data-pal="light"] .dark .sec-head p, html[data-pal="light"] .feat span { color: var(--muted); }
html[data-pal="light"] .feat { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
html[data-pal="light"] .feat .ico { color: var(--accent); }
html[data-pal="light"] .exit-top { background: radial-gradient(120% 90% at 50% 0%, #3c74d6, #1646a0); }

/* ------------------------------------------------------------------ reveal & motion */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }
.rv-l { transform: translateX(-30px); } .rv-r { transform: translateX(30px); } .rv-s { transform: scale(.94); }
.rv-l.in, .rv-r.in, .rv-s.in { transform: none; }
.split-words .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); animation: wordIn .8s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + .1s); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.skel { background: linear-gradient(90deg, var(--bg-2), #f8f7f4, var(--bg-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ------------------------------------------------------------------ festival layer */
.fest-layer { position: fixed; inset: 0; z-index: 45; pointer-events: none; overflow: hidden; }
.fest-layer .p { position: absolute; top: -10vh; will-change: transform; animation: fall linear infinite; opacity: .5; }
.fest-layer.rise .p { top: auto; bottom: -12vh; animation-name: rise; }
@keyframes fall { to { transform: translate3d(var(--dx, 0), 115vh, 0) rotate(var(--rot, 360deg)); } }
@keyframes rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 10% { opacity: .5; } 85% { opacity: .35; } 100% { transform: translate3d(var(--dx, 0), -118vh, 0); opacity: 0; } }
.fest-garland { position: relative; height: 34px; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.04), transparent); }
.fest-garland svg { width: 100%; height: 100%; }
.fest-toggle { position: fixed; left: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 54; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; backdrop-filter: blur(8px); font: 500 13px/1 var(--font-h); color: var(--ink); box-shadow: var(--shadow-sm); }
@media (min-width: 760px) { .fest-toggle { bottom: 24px; left: 24px; } }
body.fest-off .fest-layer, body.fest-off .fest-garland { display: none; }
.hero .fest-ribbon { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; padding: 7px 12px; border-radius: 999px; background: color-mix(in srgb, var(--fest) 30%, transparent); border: 1px solid color-mix(in srgb, var(--fest) 60%, transparent); font-size: var(--fs-0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .fest-layer { display: none; }
  .marquee .track { animation: none; }
}


/* English runs longer than Thai: slightly smaller display type */
html[lang="en"] .hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); }
html[lang="en"] .hero h1 .hl { white-space: normal; }
html[lang="en"] .sec-head h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.5rem); }
html[lang="en"] .nav a { padding-inline: 10px; }

/* mobile polish */
@media (max-width: 759px) {
  .hero .fest-ribbon { display: none; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .topbar .tb-x { display: none; }
  .fest-layer .p { opacity: .35; }
  .hero .proof b { font-size: var(--fs-2); }
}

/* ------------------------------------------------------------------ legacy pages inside the new chrome */
body.th26-legacy main.legacy { min-height: 50vh; }
body.th26-legacy .legacy .container { max-width: var(--wrap); }
body.th26-legacy .legacy h1, body.th26-legacy .legacy h2, body.th26-legacy .legacy h3 { font-family: var(--font-h); }
body.th26-legacy .legacy .btn { border-radius: 999px; }
body.th26-legacy .legacy .card { display: block; }
body.th26-legacy .legacy .card:hover { transform: none; box-shadow: none; }
