/*
Theme Name: VN Template — Reel Studio
Theme URI: https://vntemplate.in
Author: UnfoldCRO
Description: Reel Studio theme for VN Template — dark, electric creator-store look. Pre-made VN app reel templates, pay-once / lifetime access. Custom commerce via vntemplate-store plugin.
Version: 0.6.0
Text Domain: vntemplate
*/

/* ===================================================================
   REEL STUDIO — design tokens
   =================================================================== */
:root {
  --bg: #0B0B0F;
  --surface: #141419;
  --surface-2: #1B1B22;
  --surface-3: #22222A;
  --line: #26262E;
  --line-2: #33333D;
  --text: #F4F4F5;
  --muted: #A1A1AA;
  --muted-2: #71717A;
  --accent: #C8FF3D;
  --accent-ink: #0B0B0F;
  --accent-dim: #93b82c;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --maxw: 1200px;
  --head: 68px;

  /* category → reel gradient identities (map onto vntplp_cat_color classes) */
  --grad-coral: linear-gradient(155deg, #FB7185 0%, #D946EF 100%);
  --grad-magenta: linear-gradient(155deg, #EC4899 0%, #8B5CF6 100%);
  --grad-blue: linear-gradient(155deg, #2563EB 0%, #06B6D4 100%);
  --grad-purple: linear-gradient(155deg, #7C3AED 0%, #22D3EE 100%);
  --grad-photo: linear-gradient(155deg, #FB923C 0%, #EC4899 100%);
  --grad-lime: linear-gradient(155deg, #A3E635 0%, #14B8A6 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; background: var(--bg); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(15px, 0.9rem + 0.28vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===================================================================
   Themed form controls (never native OS widgets)
   =================================================================== */
/* checkboxes */
input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; flex-shrink: 0;
  width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 5px;
  background: var(--surface-2); cursor: pointer; position: relative;
  transition: background 150ms var(--ease), border-color 150ms var(--ease);
}
input[type="checkbox"]:hover { border-color: var(--muted); }
input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 9px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* native select fallback theming (where a custom dropdown isn't used) */
select { -webkit-appearance: none; appearance: none; background-color: var(--surface-2); color: var(--text); }
/* themed scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--line-2); }

/* themed custom dropdown (select replacement) */
.tdrop { position: relative; display: inline-flex; align-items: center; }
.tdrop-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 8px 14px; font-size: 0.88rem; font-family: inherit; transition: border-color 150ms var(--ease); }
.tdrop-btn:hover { border-color: var(--line-2); }
.tdrop.open .tdrop-btn { border-color: var(--accent); }
.tdrop-caret { width: 14px; height: 14px; transition: transform 180ms var(--ease); color: var(--muted); }
.tdrop.open .tdrop-caret { transform: rotate(180deg); }
.tdrop-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px; z-index: 130; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px; box-shadow: 0 20px 44px -18px rgba(0,0,0,0.7); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 160ms var(--ease); }
.tdrop.open .tdrop-menu { opacity: 1; visibility: visible; transform: none; }
.tdrop-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border-radius: 9px; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.tdrop-opt:hover { background: var(--surface-2); color: var(--text); }
.tdrop-opt.is-sel { color: var(--accent); }
.tdrop-opt.is-sel::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: "Anton", "Archivo", sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.94;
  text-transform: uppercase;
  text-wrap: balance;
}
p { text-wrap: pretty; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* ===================================================================
   Buttons
   =================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; line-height: 1;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}
.btn svg { flex-shrink: 0; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(200,255,61,0.5); }
.btn-primary:active { transform: scale(0.99); }
.btn-secondary, .btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.btn-secondary:hover, .btn-ghost:hover { transform: translateY(-2px); background: var(--surface-3); }
.btn-secondary:active, .btn-ghost:active { transform: scale(0.99); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-dark { background: var(--bg); color: var(--text); }
.btn-dark:hover { transform: translateY(-2px); }

/* ===================================================================
   Promo strip + sticky nav
   =================================================================== */
.promo { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding: 8px 0; }
.promo-track { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; padding-left: 44px; will-change: transform; animation: promo-marquee 32s linear infinite; }
.promo-track span { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.01em; }
.promo:hover .promo-track { animation-play-state: paused; }
@keyframes promo-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .promo-track { animation: none; justify-content: center; width: 100%; } }
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 15, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 22px; height: var(--head); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-family: "Archivo", sans-serif; font-weight: 900; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--text); }
.brand .brand-logo, .brand svg, .brand img { height: 30px; width: auto; display: block; }
.foot-brand .brand .brand-logo, .foot-brand .brand svg, .foot-brand .brand img { height: 34px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: "Archivo", sans-serif; font-weight: 900; }
.brand-name { color: var(--text); }
.brand-dot { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 0.95rem; color: var(--muted); font-weight: 500; transition: color 180ms var(--ease); }
.nav-links a:hover { color: var(--text); }

/* mega menu */
.nav-mega { position: relative; display: inline-flex; }
.nav-mega-trigger { display: inline-flex; align-items: center; gap: 5px; }
.mega-caret { transition: transform 200ms var(--ease); }
.nav-mega:hover .mega-caret, .nav-mega:focus-within .mega-caret, .nav-mega.is-open .mega-caret { transform: rotate(90deg); color: var(--accent); }
.nav-mega::after { content: ""; position: absolute; left: -20px; right: -40px; top: 100%; height: 20px; } /* hover bridge over the gap */
.mega {
  position: absolute; top: calc(100% + 16px); left: -20px; z-index: 120;
  width: min(80vw, 980px); display: grid; grid-template-columns: 2.4fr 1fr; gap: 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px;
  box-shadow: 0 30px 60px -22px rgba(0,0,0,0.75);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms var(--ease);
}
.nav-mega:hover .mega, .nav-mega:focus-within .mega, .nav-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-h { display: block; font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.mega-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 8px; }
.mega-cat { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; color: var(--muted); font-size: 0.9rem; transition: background 150ms var(--ease), color 150ms var(--ease); }
.mega-cat:hover { background: var(--surface-2); color: var(--text); }
.mega-cat-thumb { width: 42px; height: 28px; border-radius: 7px; flex-shrink: 0; background: var(--surface-2) center/cover no-repeat; border: 1px solid var(--line); }
.mega-cat-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-cat .mega-n { color: var(--muted-2); font-size: 0.76rem; flex-shrink: 0; }
.mega-all { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--accent); font-size: 0.88rem; font-weight: 600; }
.mega-all:hover { color: var(--accent); text-decoration: underline; }
.mega-col-tags { border-left: 1px solid var(--line); padding-left: 22px; }
.mega-tags { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.mega-tag { background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 0.82rem; color: var(--muted); transition: border-color 150ms var(--ease), color 150ms var(--ease); }
.mega-tag:hover { border-color: var(--accent); color: var(--text); }

.search-wrap { position: relative; margin-left: auto; flex: 0 1 280px; display: flex; align-items: center; }
.search-ic { position: absolute; left: 13px; color: var(--muted-2); display: grid; place-items: center; pointer-events: none; }
.search-input {
  width: 100%; background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 10px 14px 10px 38px; font-size: 0.9rem; font-family: inherit;
  transition: border-color 180ms var(--ease);
}
.search-input::placeholder { color: var(--muted-2); }
.search-input:focus { outline: none; border-color: var(--accent); }
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55); display: none; z-index: 300;
  max-height: min(70vh, 460px); overflow-y: auto; padding: 6px;
}
.search-results:not(:empty) { display: block; }
.search-results::-webkit-scrollbar { width: 10px; }
.search-results::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 999px; border: 3px solid var(--surface); }
.sr-item { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; }
.sr-item + .sr-item { border-top: 1px solid var(--line); }
.sr-item:hover { background: var(--surface-2); }
.sr-thumb { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 9px; background: var(--surface-2) center/cover no-repeat; box-shadow: inset 0 0 0 1px var(--line); }
.sr-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.sr-title { color: var(--text); font-weight: 600; font-size: 0.92rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-cat { color: var(--muted-2); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; }
.sr-price { color: var(--accent); font-weight: 800; font-size: 0.9rem; flex: 0 0 auto; margin-left: 6px; }
.sr-empty { padding: 22px 14px; color: var(--muted-2); font-size: 0.9rem; text-align: center; }

.nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--text); position: relative; transition: background 180ms var(--ease); }
.nav-icon:hover { background: var(--surface-2); }
.cart-badge { position: absolute; top: 5px; right: 5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.nav-toggle { display: none; }

/* logged-in account: initial disc + dropdown */
.nav-acct { position: relative; }
.nav-acct-disc { width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--font-body, inherit); font-weight: 800; font-size: 1rem; line-height: 1; letter-spacing: 0; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.nav-acct-disc:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(200,255,61,0.28); }
.acct-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 18px 40px rgba(0,0,0,0.45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 160ms var(--ease); z-index: 120; }
.nav-acct.is-open .acct-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-acct.is-open .nav-acct-disc { box-shadow: 0 0 0 3px rgba(200,255,61,0.3); }
.acct-hi { padding: 8px 12px 10px; font-size: 0.92rem; color: var(--muted, #a1a1aa); border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.acct-hi strong { color: var(--text); }
.acct-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: 0.92rem; transition: background 150ms var(--ease); }
.acct-link:hover { background: var(--surface-2); }
.acct-link svg { flex: 0 0 auto; opacity: 0.85; }
.acct-logout { color: #ff6b6b; }
.acct-logout svg { stroke: #ff6b6b; }

/* mini-cart drawer */
.mc-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; opacity: 0; visibility: hidden; transition: opacity 220ms var(--ease), visibility 220ms var(--ease); }
body.mc-open .mc-overlay { opacity: 1; visibility: visible; }
.mini-cart {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 90vw); z-index: 210;
  background: var(--surface); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 280ms var(--ease);
  display: flex; flex-direction: column;
}
body.mc-open .mini-cart { transform: translateX(0); }
body.mc-open { overflow: hidden; }
.mc-head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.mc-close { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--text); }
.mc-close:hover { background: var(--surface-2); }
.mc-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.mc-foot { padding: 18px 20px; border-top: 1px solid var(--line); }
.mc-empty { color: var(--muted); text-align: center; padding: 48px 16px; display: grid; gap: 16px; place-items: center; }
/* cart line items */
.mc-item { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mc-item .mc-thumb { width: 46px; aspect-ratio: 9/16; border-radius: 8px; background-size: cover; background-position: center; background-color: var(--surface-3); flex-shrink: 0; }
.mc-meta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.mc-cat { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-2); }
.mc-name { font-weight: 600; font-size: 0.92rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-name:hover { color: var(--accent); }
.mc-price { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.9rem; color: var(--accent); }
.mc-rm { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--muted-2); flex-shrink: 0; transition: background 160ms var(--ease), color 160ms var(--ease); }
.mc-rm:hover { background: var(--surface-2); color: #fda4af; }
/* footer rows */
.mc-nudge { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.mc-nudge strong { color: var(--text); }
.mc-nudge a { color: var(--accent); }
.mc-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.92rem; color: var(--muted); padding: 4px 0; }
.mc-row.mc-save { color: var(--accent); }
.mc-row.mc-total { color: var(--text); font-weight: 700; font-size: 1.05rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.mc-checkout { width: 100%; justify-content: center; margin-top: 14px; }

/* ===================================================================
   Reveal (visible by default; JS enhances; safety net force-reveals)
   =================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   Marquee
   =================================================================== */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 14px 0; }
.marquee-track { display: inline-flex; gap: 30px; white-space: nowrap; will-change: transform; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: "Anton", sans-serif; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.1rem; color: var(--muted); display: inline-flex; align-items: center; gap: 30px; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ===================================================================
   Sections
   =================================================================== */
.mm-section { padding: clamp(56px, 9vw, 100px) 0; }
.mm-section.surface { background: var(--surface); }
.mm-head { margin-bottom: 38px; max-width: 760px; }
.mm-head h2 { font-size: clamp(1.85rem, 5.2vw, 4rem); margin-bottom: 10px; }
.mm-head p { color: var(--muted); font-size: 1.05rem; }
.mm-head.with-action { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

/* ===================================================================
   HERO
   =================================================================== */
.mm-hero { position: relative; padding: clamp(48px, 8vw, 84px) 0 64px; overflow: hidden; }
.mm-hero::before { content: ""; position: absolute; top: -12%; right: -6%; width: 620px; height: 620px; background: radial-gradient(circle, rgba(124,58,237,0.22), transparent 62%); filter: blur(20px); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.mm-hero h1 { font-size: clamp(2.3rem, 8.5vw, 6.4rem); margin-bottom: 22px; }
.mm-hero h1 .hl { color: var(--accent); }
.mm-hero .lede { font-size: 1.18rem; color: var(--muted); max-width: 32ch; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; display: grid; place-items: center; color: #0B0B0F; font-weight: 800; font-size: 0.8rem; font-family: "Archivo", sans-serif; }
.avatars span:first-child { margin-left: 0; }
.hero-trust-text { font-size: 0.92rem; color: var(--muted); }
.hero-trust-text strong { color: var(--text); }

/* hero phone cluster */
.reel-cluster { position: relative; height: 540px; }
.reel-cluster .phone { position: absolute; width: 220px; }
.reel-cluster .p1 { top: 24px; left: 2%; transform: rotate(-7deg); z-index: 2; }
.reel-cluster .p2 { top: 0; right: 2%; transform: rotate(6deg); width: 232px; z-index: 3; }
.reel-cluster .p3 { bottom: -6px; left: 32%; transform: rotate(-2deg); width: 228px; z-index: 4; }

/* feature strip (fallback hero sub-row, kept for compatibility) */
.mm-feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.fs-item { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.fs-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--bg); color: var(--accent); flex-shrink: 0; }
.fs-item strong { display: block; font-size: 0.95rem; }
.fs-item span:not(.fs-ic) { color: var(--muted); font-size: 0.85rem; }

/* ===================================================================
   Phone-frame reel cards (matrix)
   =================================================================== */
.mm-matrix { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px 20px; }

/* category gradient identities (inherited by the screen via the var) */
.pcard, .reel-cluster .phone { --grad: var(--grad-photo); }
.pcard.c-coral, .phone.c-coral { --grad: var(--grad-coral); }
.pcard.c-magenta, .phone.c-magenta { --grad: var(--grad-magenta); }
.pcard.c-blue, .phone.c-blue { --grad: var(--grad-blue); }
.pcard.c-purple, .phone.c-purple { --grad: var(--grad-purple); }
.pcard.c-photo, .phone.c-photo { --grad: var(--grad-photo); }

/* hero decorative phones (cluster) keep simple bezel + overlay label */
.reel-cluster .phone { border-radius: 30px; border: 1px solid rgba(255,255,255,0.14); background: var(--surface); padding: 7px; box-shadow: 0 30px 60px -24px rgba(0,0,0,0.7); }
.reel-cluster .pcard-link { position: relative; display: flex; flex-direction: column; aspect-ratio: 9/16; border-radius: 24px; overflow: hidden; background: var(--grad); padding: 14px; justify-content: space-between; }
.reel-cluster .img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.reel-cluster .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.5)); }
.reel-cluster .cat { position: relative; z-index: 2; align-self: flex-start; font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(11,11,15,0.55); padding: 5px 9px; border-radius: 8px; color: #fff; }
.reel-cluster .name { position: relative; z-index: 2; margin-top: auto; font-family: "Anton", sans-serif; text-transform: uppercase; font-size: 1.4rem; line-height: 0.92; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }

/* ===== iPhone-mockup reel card: phone frame + caption below ===== */
.pcard { display: flex; flex-direction: column; }
.phone-frame { position: relative; display: block; border-radius: 38px; background: linear-gradient(155deg, #20202a 0%, #0b0b0f 70%); border: 1px solid rgba(255,255,255,0.16); padding: 8px; box-shadow: 0 26px 52px -22px rgba(0,0,0,0.8); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.phone-frame::after { content: ""; position: absolute; right: -2px; top: 92px; width: 3px; height: 50px; border-radius: 2px; background: #3a3a44; }
.phone-frame::before { content: ""; position: absolute; left: -2px; top: 72px; width: 3px; height: 30px; border-radius: 2px; background: #3a3a44; box-shadow: 0 42px 0 #3a3a44; }
.pcard:hover .phone-frame { transform: translateY(-6px); box-shadow: 0 42px 72px -26px rgba(0,0,0,0.85); }
.pcard:active .phone-frame { transform: translateY(-3px) scale(0.995); }
.phone-screen { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: var(--grad); }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 32%; height: 15px; background: #000; border-radius: 999px; z-index: 3; }
.pcard .img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.pcard .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.04) 40%, rgba(0,0,0,0.3) 100%); }
.reel-play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--accent-ink); box-shadow: 0 8px 24px rgba(0,0,0,0.45); transition: transform 200ms var(--ease); pointer-events: none; }
.reel-play svg { width: 17px; height: 17px; }
.pcard:hover .reel-play, .reel-cluster .phone:hover .reel-play { transform: translate(-50%,-50%) scale(1.08); }
.phone-frame.has-reel { cursor: pointer; }
.phone-frame.reel-playing .reel-play, .phone-frame.reel-playing .veil { opacity: 0; pointer-events: none; }

.pcard-info { padding: 11px 2px 2px; }
.pcard-info .cat { display: block; font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; }
.pcard-info .name { display: block; font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--text); transition: color 150ms var(--ease); }
.pcard-info .name:hover { color: var(--accent); }
.pcard-info .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.pcard-info .price, .pcard-info .p-now { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text); }
.pcard-info .p-was { color: var(--muted-2); text-decoration: line-through; font-size: 0.82rem; margin-left: 6px; }
.add-cart-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 8px 15px; font-weight: 700; font-size: 0.85rem; transition: transform 150ms var(--ease), background 150ms var(--ease); }
.add-cart-btn:hover { transform: translateY(-2px); }
.add-cart-btn:active { transform: scale(0.95); }
.add-cart-btn.is-added { background: var(--surface-3); color: var(--text); }

/* ===================================================================
   Category chips / tiles
   =================================================================== */
.chip-row { display: flex; flex-wrap: nowrap; gap: 9px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%); }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row .chip { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--muted);
  transition: transform 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), background 160ms var(--ease);
}
.chip:hover { transform: translateY(-3px); border-color: var(--line-2); color: var(--text); }
.chip.is-active, .chip[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.mm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.ctile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 130px; padding: 18px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; transition: transform 180ms var(--ease), border-color 180ms var(--ease); }
.ctile::before { content: ""; position: absolute; inset: 0; opacity: 0.16; background: var(--grad, var(--grad-photo)); }
.ctile.c-coral { --grad: var(--grad-coral); } .ctile.c-magenta { --grad: var(--grad-magenta); } .ctile.c-blue { --grad: var(--grad-blue); } .ctile.c-purple { --grad: var(--grad-purple); } .ctile.c-photo { --grad: var(--grad-photo); }
.ctile:hover { transform: translateY(-4px); border-color: var(--line-2); }
.ctile-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.ctile.has-bg::before { opacity: 0; }
.ctile.has-bg { background: var(--surface-3); }
.ctile.has-bg .ctile-bg + * , .ctile.has-bg .ctile-name, .ctile.has-bg .ctile-count, .ctile.has-bg .ctile-ic { position: relative; z-index: 2; }
.ctile.has-bg::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,11,15,0.15) 0%, rgba(11,11,15,0.82) 100%); }
.ctile-ic { position: relative; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(11,11,15,0.5); color: var(--accent); margin-bottom: auto; }
.ctile-name { position: relative; z-index: 1; font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.1rem; }
.ctile-count { position: relative; z-index: 1; color: var(--muted); font-size: 0.85rem; }
.ctile.has-bg .ctile-count { color: rgba(244,244,245,0.8); }

/* collection archive banner header */
.coll-banner { position: relative; min-height: 300px; display: flex; align-items: flex-end; overflow: hidden; }
.coll-banner-pic { position: absolute; inset: 0; z-index: 0; }
.coll-banner-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coll-banner-veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,11,15,0.4) 0%, rgba(11,11,15,0.92) 100%); }
.coll-banner .wrap { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 32px; }
.coll-banner h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); margin: 10px 0 8px; }
.coll-banner p { color: var(--muted); font-size: 1.02rem; }
@media (max-width: 640px) { .coll-banner { min-height: 200px; } }

/* ===================================================================
   Benefit zig-zag panels
   =================================================================== */
.zz { display: grid; gap: 18px; }
.zz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.zz-text { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.zz-text .zz-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--bg); color: var(--accent); margin-bottom: 16px; }
.zz-text h3 { font-size: 1.5rem; margin-bottom: 8px; }
.zz-text p { color: var(--muted); }
.zz-panel { border-radius: var(--radius-lg); padding: 32px; display: flex; align-items: flex-end; min-height: 200px; background: var(--grad-lime); color: var(--accent-ink); position: relative; overflow: hidden; }
.zz-panel.g-coral { background: var(--grad-coral); color: #fff; }
.zz-panel.g-blue { background: var(--grad-blue); color: #fff; }
.zz-panel h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 0.95; }
.zz-panel .zz-tag { position: absolute; top: 22px; right: 22px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; background: rgba(11,11,15,0.25); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 6px 11px; border-radius: 999px; }
.zz-row:nth-child(even) .zz-text { order: 2; }

/* ===================================================================
   Stats band (kept for compatibility)
   =================================================================== */
.mm-stats-band { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.msb-left h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 14px; }
.msb-left p { color: var(--muted); margin-bottom: 22px; max-width: 44ch; }
.msb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat .n { font-family: "Anton", sans-serif; font-size: 2.4rem; color: var(--accent); line-height: 1; }
.stat .l { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

/* ===================================================================
   Bundle band
   =================================================================== */
.bundle-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bundle-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.bundle-card.feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.bundle-card .b-tag { position: absolute; top: -11px; left: 22px; background: var(--accent); color: var(--accent-ink); font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em; }
.bundle-card .b-qty { color: var(--muted); font-size: 0.85rem; }
.bundle-card .b-price { font-family: "Anton", sans-serif; font-size: 2.2rem; }
.bundle-card .b-sub { color: var(--muted-2); font-size: 0.8rem; }
.bundle-card ul { list-style: none; display: grid; gap: 7px; font-size: 0.88rem; color: var(--muted); }
.bundle-card li { display: flex; align-items: center; gap: 8px; }
.bundle-card li svg { color: var(--accent); flex-shrink: 0; }
.bundle-card .btn { margin-top: auto; justify-content: center; }

/* ===================================================================
   CTA banner
   =================================================================== */
/* Testimonials */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.tcard .tstars { display: inline-flex; gap: 2px; color: var(--accent); }
.tcard blockquote { color: var(--text); font-size: 1.02rem; line-height: 1.5; }
.tcard figcaption { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.tcard .tav { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: "Archivo", sans-serif; font-weight: 800; flex-shrink: 0; }
.tcard figcaption > span { display: flex; flex-direction: column; line-height: 1.3; }
.tcard figcaption > span > span { color: var(--muted-2); font-size: 0.82rem; }
@media (max-width: 860px) { .tcards { grid-template-columns: 1fr; } }

/* Happy Users — horizontal reel rail */
.hu-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 16px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; }
.hu-rail::-webkit-scrollbar { height: 8px; }
.hu-rail::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 999px; }
.hu-card { flex: 0 0 auto; width: 224px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.hu-media { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.hu-media video, .hu-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hu-cap { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.hu-cap svg { color: var(--accent); flex: 0 0 auto; }
.hu-cap span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .hu-card { width: 180px; } }

.cta-banner { background: var(--accent); color: var(--accent-ink); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.cta-banner p { font-weight: 600; opacity: 0.82; margin-top: 8px; }

/* ===================================================================
   PDP
   =================================================================== */
.pdp { padding: calc(var(--head) + 28px) 0 60px; }
.pdp-crumb { display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 0.88rem; margin-bottom: 24px; }
.pdp-crumb a:hover { color: var(--accent); }
.pdp-crumb .cur { color: var(--text); }
.pdp-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: start; }

.pdp-gallery { position: sticky; top: calc(var(--head) + 24px); }
.pdp-stage { position: relative; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.14); background: var(--surface); padding: 8px; max-width: 360px; margin: 0 auto; box-shadow: 0 40px 80px -28px rgba(0,0,0,0.75); --grad: var(--grad-photo); }
.pdp-stage.c-coral { --grad: var(--grad-coral); } .pdp-stage.c-magenta { --grad: var(--grad-magenta); } .pdp-stage.c-blue { --grad: var(--grad-blue); } .pdp-stage.c-purple { --grad: var(--grad-purple); } .pdp-stage.c-photo { --grad: var(--grad-photo); }
.pdp-video, .pdp-shot { aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: var(--grad); }
.pdp-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.pdp-shot { object-fit: cover; width: 100%; }
.pdp-shot-empty { display: grid; place-items: center; gap: 10px; color: #fff; }
.pdp-stage-badge { position: absolute; bottom: 18px; left: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; background: rgba(11,11,15,0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 6px 11px; border-radius: 8px; color: #fff; }
.pdp-thumbs { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.pdp-thumb { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--muted); }
.pdp-thumb .t-img { width: 54px; aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background-size: cover; background-position: center; }
.pdp-thumb .t-lbl { display: inline-flex; align-items: center; gap: 4px; }

.pdp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip-cat { background: var(--surface-3); color: var(--text); }
.chip-cat.c-coral { background: rgba(217,70,239,0.18); color: #f0abfc; } .chip-cat.c-blue { background: rgba(6,182,212,0.18); color: #67e8f9; }
.chip-off { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.pdp-title { font-size: clamp(2rem, 6vw, 4rem); margin-bottom: 14px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pdp-price .now { font-family: "Anton", sans-serif; font-size: 2.6rem; color: var(--accent); }
.pdp-price .was { color: var(--muted-2); text-decoration: line-through; font-size: 1.2rem; }
.pdp-price .save { background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-size: 0.82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pdp-price .tax { color: var(--muted-2); font-size: 0.8rem; }
.pdp-lifetime { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.pdp-lifetime svg { color: var(--accent); }
.pdp-desc { color: var(--muted); margin-bottom: 24px; max-width: 56ch; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.pdp-bundle-strip { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 0.9rem; color: var(--muted); margin-bottom: 26px; }
.pdp-bundle-strip svg { color: var(--accent); flex-shrink: 0; }
.pdp-bundle-strip strong { color: var(--text); }
.pdp-getbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.pdp-getbox h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin-bottom: 14px; }
.pdp-getbox h3 svg { color: var(--accent); }
.pdp-getbox ul { list-style: none; display: grid; gap: 11px; }
.pdp-getbox li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--muted); }
.pdp-getbox li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.pdp-getbox strong { color: var(--text); }
.pdp-sku { color: var(--muted-2); font-size: 0.82rem; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.pdp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-tags .tag { background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; padding: 5px 11px; border-radius: 999px; }

.pdp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pdp-step { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.pdp-step .n { position: absolute; top: 18px; right: 18px; font-family: "Anton", sans-serif; font-size: 2rem; color: var(--line-2); }
.pdp-step svg { color: var(--accent); margin-bottom: 12px; }
.pdp-step h4 { font-size: 1.15rem; margin-bottom: 6px; }
.pdp-step p { color: var(--muted); font-size: 0.9rem; }

/* ===================================================================
   How-to timeline
   =================================================================== */
.howto-hero { padding: calc(var(--head) + 40px) 0 50px; position: relative; }
.howto-hero h1 { font-size: clamp(2.2rem, 7vw, 5rem); margin-bottom: 18px; }
.howto-hero h1 .hl { color: var(--accent); }
.howto-hero .lede { color: var(--muted); font-size: 1.15rem; max-width: 50ch; margin-bottom: 26px; }
.need-strip { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.need-strip .ns-item { display: inline-flex; align-items: center; gap: 8px; }
.need-strip .ns-item svg { color: var(--accent); }
.timeline { position: relative; display: grid; gap: 26px; max-width: 920px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.tl-num { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: "Anton", sans-serif; font-size: 1.5rem; z-index: 1; }
.tl-body { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.tl-body h4 { display: flex; align-items: center; gap: 9px; font-size: 1.2rem; margin-bottom: 6px; }
.tl-body h4 svg { color: var(--accent); }
.tl-body p { color: var(--muted); }

/* FAQ accordion */
.faq { display: grid; gap: 12px; max-width: 760px; }
.faq details { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 200ms var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* ===================================================================
   Generic page / account / cart / checkout (dark token inheritance)
   =================================================================== */
.page-narrow { max-width: 820px; margin: 0 auto; padding: calc(var(--head) + 40px) 24px 70px; }
.page-narrow h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea { background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius-sm); padding: 11px 14px; font-size: 0.95rem; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }

/* ===================================================================
   Footer
   =================================================================== */
.site-foot { background: var(--bg); border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 72px) 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--muted); font-size: 0.92rem; max-width: 42ch; margin-bottom: 12px; }
.foot-brand .foot-mission { font-family: "Anton", sans-serif; text-transform: uppercase; color: var(--text); font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 16px; }
.foot-ig { display: inline-flex; align-items: center; gap: 9px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 0.9rem; transition: border-color 160ms var(--ease); }
.foot-ig:hover { border-color: var(--accent); color: var(--text); }
.foot-col h5 { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--muted); font-size: 0.92rem; padding: 5px 0; transition: color 160ms var(--ease); }
.foot-col a:hover { color: var(--text); }
.foot-touch { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-touch h5 { margin-bottom: 4px; }
.foot-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); transition: transform 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease); }
.foot-pill svg { transition: transform 200ms var(--ease); }
.foot-pill:hover { transform: translateY(-2px); border-color: var(--line-2); }
.foot-pill:hover svg { transform: translateX(3px); }
.foot-pill-pri { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.foot-pill-pri:hover { background: #d6ff5e; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; color: var(--muted-2); font-size: 0.85rem; flex-wrap: wrap; }
.foot-social { display: flex; gap: 8px; }
.foot-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); transition: color 160ms var(--ease), border-color 160ms var(--ease); }
.foot-social a:hover { color: var(--accent); border-color: var(--accent); }
.foot-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-legal a:hover { color: var(--text); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } .foot-bottom { flex-direction: column; align-items: flex-start; } }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .reel-cluster { height: 420px; max-width: 480px; }
  .mm-stats-band, .zz-row, .pdp-grid, .foot-top { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .bundle-band { grid-template-columns: repeat(2, 1fr); }
  .pdp-steps { grid-template-columns: 1fr; }
  .zz-row:nth-child(even) .zz-text { order: 0; }
}
@media (max-width: 768px) {
  .nav-links, .search-wrap { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--text); }
  .nav-toggle:hover { background: var(--surface-2); }
  .site-head .wrap { gap: 12px; }
  .nav-cta { margin-left: auto; }
  .site-head.nav-open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .site-head.nav-open .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-mega { width: 100%; }
  .nav-mega-trigger { width: 100%; }
  .mega, .mega-caret { display: none !important; }
  .mm-feature-strip { grid-template-columns: 1fr; }
  .mm-matrix { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .mm-head.with-action { flex-direction: column; align-items: flex-start; }
  .cta-banner { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 460px) {
  .bundle-band { grid-template-columns: 1fr; }
  .mm-matrix { grid-template-columns: 1fr; }
  .pcard .name { font-size: 1.7rem; }
}

/* ===================================================================
   Bundle builder (bb-*)
   =================================================================== */
.bb { padding: calc(var(--head) + 44px) 0 70px; }
.bb-head { max-width: 700px; margin-bottom: 28px; }
.bb-head h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-bottom: 10px; }
.bb-head p { color: var(--muted); }
.bb-head strong { color: var(--accent); }
.bb-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.bb-tab { padding: 9px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); transition: transform 160ms var(--ease), color 160ms var(--ease), background 160ms var(--ease); }
.bb-tab:hover { transform: translateY(-2px); color: var(--text); }
.bb-tab.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bb-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.bb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.bb-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 180ms var(--ease), border-color 180ms var(--ease); }
.bb-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.bb-card.is-picked { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.bb-thumb { position: relative; display: block; aspect-ratio: 9/16; background-size: cover; background-position: center; background-color: var(--surface-3); }
.bb-thumb .veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4)); }
.bb-cardbody { padding: 12px; }
.bb-cat { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-2); }
.bb-name { display: block; font-weight: 600; font-size: 0.92rem; margin: 3px 0 8px; }
.bb-cardrow { display: flex; align-items: center; justify-content: space-between; }
.bb-price { font-family: "Archivo", sans-serif; font-weight: 800; }
.bb-toggle { display: inline-flex; align-items: center; gap: 5px; background: var(--surface-3); border: 1px solid var(--line); color: var(--text); padding: 7px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; transition: background 160ms var(--ease); }
.bb-toggle:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.bb-toggle.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.bb-side { position: sticky; top: calc(var(--head) + 20px); }
.bb-side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.bb-side-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.bb-tiers { display: flex; gap: 8px; margin-bottom: 12px; }
.bb-tier { flex: 1; text-align: center; font-size: 0.78rem; font-weight: 600; padding: 7px 4px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.bb-tier.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.bb-progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-bottom: 12px; }
.bb-progress-fill { height: 100%; width: 0; background: var(--accent); transition: width 300ms var(--ease); }
.bb-status { color: var(--muted); font-size: 0.88rem; margin-bottom: 14px; }
.bb-picked { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; }
.bb-chip { position: relative; width: 44px; flex: 0 0 auto; }
.bb-chip-thumb { display: block; width: 44px; aspect-ratio: 9/16; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-3) center/cover no-repeat; }
.bb-chip button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background 150ms var(--ease), color 150ms var(--ease); }
.bb-chip button:hover { background: #fda4af; color: var(--bg); }
.bb-chip button svg { width: 11px; height: 11px; }
.bb-summary { margin-bottom: 14px; }
.bb-checkout { width: 100%; justify-content: center; margin-bottom: 10px; }
.bb-viewcart { display: block; text-align: center; color: var(--muted); font-size: 0.85rem; }
.bb-viewcart:hover { color: var(--accent); }
/* bundle summary rows */
.bb-summary { display: grid; gap: 6px; margin-bottom: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.bb-srow { display: flex; align-items: center; justify-content: space-between; font-size: 0.92rem; color: var(--muted); }
.bb-srow span { color: var(--text); }
.bb-srow.bb-save { color: var(--accent); }
.bb-srow.bb-save span { color: var(--accent); }
.bb-srow.bb-total { font-weight: 700; font-size: 1.15rem; color: var(--text); margin-top: 4px; }
.bb-srow.bb-total span { font-family: "Archivo", sans-serif; font-weight: 800; }
/* sticky bundle card that fits the viewport (scrolls internally if long) */
.bb-side { align-self: start; }
.bb-side-card { max-height: calc(100dvh - var(--head) - 36px); overflow-y: auto; }

/* checkout order-summary rows */
.co-summary h3 { font-size: 1.3rem; margin-bottom: 16px; }
.co-lines { display: grid; gap: 9px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.co-line { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 0.92rem; color: var(--muted); }
.co-line span:first-child { color: var(--text); }
.co-line span:last-child { font-weight: 600; flex-shrink: 0; }
.co-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.92rem; color: var(--muted); padding: 3px 0; }
.co-row.co-save { color: var(--accent); }
.co-row.co-save span { color: var(--accent); }
.co-row.co-total { font-weight: 700; font-size: 1.2rem; color: var(--text); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 13px; }
.co-row.co-total span { font-family: "Archivo", sans-serif; font-weight: 800; }

/* ===================================================================
   Account (acc-*)
   =================================================================== */
.acc { padding: calc(var(--head) + 40px) 0 70px; }
.acc-auth { max-width: 440px; margin: 0 auto; }
.acc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; }
.acc-mark { width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; margin: 0 auto 20px; }
.acc-tabs { display: flex; gap: 6px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-bottom: 22px; }
.acc-tab { flex: 1; padding: 9px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; color: var(--muted); transition: background 160ms var(--ease), color 160ms var(--ease); }
.acc-tab.is-active { background: var(--accent); color: var(--accent-ink); }
.acc-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.acc-lbl { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.acc-field { display: flex; align-items: center; gap: 9px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 13px; margin-bottom: 15px; transition: border-color 160ms var(--ease); }
.acc-field:focus-within { border-color: var(--accent); }
.acc-field svg { color: var(--muted-2); flex-shrink: 0; }
.acc-field input { flex: 1; background: none; border: none; color: var(--text); padding: 12px 0; font-size: 0.95rem; font-family: inherit; outline: none; }
.acc-field input::placeholder { color: var(--muted-2); }
.acc-submit { width: 100%; justify-content: center; }
.acc-msg { margin-top: 14px; font-size: 0.88rem; padding: 10px 13px; border-radius: var(--radius-sm); }
.acc-msg.ok { background: rgba(200,255,61,0.12); color: var(--accent); }
.acc-msg.err { background: rgba(251,113,133,0.12); color: #fda4af; }
.acc-alt { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 16px; }
.acc-alt button { color: var(--muted); font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; transition: color 160ms var(--ease); }
.acc-alt button:hover { color: var(--accent); }
.acc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.acc-head h1 { font-size: clamp(2rem, 5vw, 3rem); }
.acc-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.acc-empty { text-align: center; padding: 60px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.acc-empty svg { color: var(--muted-2); margin-bottom: 14px; }
.acc-empty h2 { font-size: 1.6rem; margin-bottom: 8px; }
.acc-empty p { color: var(--muted); margin-bottom: 20px; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; }
.acc-thumb { width: 96px; flex-shrink: 0; background-size: cover; background-position: center; background-color: var(--surface-3); display: grid; place-items: center; color: var(--muted-2); }
.acc-item-body { padding: 14px; flex: 1; }
.acc-item-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.acc-dls { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-dls .btn { padding: 8px 13px; font-size: 0.82rem; }
.acc-pending { display: inline-flex; align-items: center; gap: 5px; color: var(--muted-2); font-size: 0.82rem; }

/* ===================================================================
   Cart (cp-*) + Checkout (co-*) + Thank-you (ty-*)
   =================================================================== */
.cartpage, .checkout, .thankyou { padding: calc(var(--head) + 40px) 0 70px; }
.cartpage h1, .checkout h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 26px; }
.cp-layout, .co-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cp-side, .co-side { position: sticky; top: calc(var(--head) + 20px); }
.cp-side-card, .co-side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cp-items { display: grid; gap: 12px; }
.cp-loading, .ty-loading { color: var(--muted); padding: 30px 0; }
.cp-upsell { margin-top: 40px; }
.co-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.co-card h3 { font-size: 1.2rem; margin-bottom: 14px; }
.checkout .field { width: 100%; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.95rem; font-family: inherit; margin-bottom: 12px; }
.checkout .field:focus { outline: none; border-color: var(--accent); }
.co-check { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 0.9rem; margin: 6px 0 12px; }
.co-check input { accent-color: var(--accent); }
.co-pay { width: 100%; justify-content: center; }
.co-msg { margin-top: 12px; font-size: 0.88rem; color: var(--muted); }
.ty-body { max-width: 620px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px 30px; }

@media (max-width: 980px) {
  .bb-layout, .cp-layout, .co-layout { grid-template-columns: 1fr; }
  .bb-side, .cp-side, .co-side { position: static; }
}

/* ===================================================================
   Motion: nav scroll shadow
   =================================================================== */
.site-head { transition: box-shadow 220ms var(--ease), background 220ms var(--ease); }
.site-head.scrolled { background: rgba(11,11,15,0.9); box-shadow: 0 10px 34px -14px rgba(0,0,0,0.7); }

/* ===================================================================
   Go-to-top button (home + collection)
   =================================================================== */
.go-top {
  position: fixed; right: 20px; bottom: 22px; z-index: 150;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(200,255,61,0.55);
  opacity: 0; transform: translateY(14px) scale(0.9); pointer-events: none;
  transition: opacity 250ms var(--ease), transform 250ms var(--ease);
}
.go-top.show { opacity: 1; transform: none; pointer-events: auto; }
.go-top:hover { transform: translateY(-3px); }
.go-top:active { transform: scale(0.92); }

/* ===================================================================
   Sticky add-to-cart bar (PDP)
   =================================================================== */
.pdp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px; background: rgba(20,20,25,0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 300ms var(--ease);
}
.pdp-sticky.show { transform: none; }
.pdp-sticky .ps-info { display: flex; flex-direction: column; min-width: 0; }
.pdp-sticky .ps-title { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.pdp-sticky .ps-price { font-family: "Archivo", sans-serif; font-weight: 800; color: var(--accent); }
.pdp-sticky .ps-add { flex: 0 0 auto; }

/* ===================================================================
   Responsive refinements — laptop / tablet / phone / small phone
   =================================================================== */
@media (max-width: 1180px) {
  .hero-grid { gap: 32px; }
  .bundle-band { gap: 12px; }
}
@media (max-width: 1024px) {
  .pdp-grid { gap: 36px; }
  .mm-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .mm-matrix { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mm-tiles { grid-template-columns: repeat(2, 1fr); }
  .pdp-thumbs { flex-wrap: wrap; }
  .pdp-steps { grid-template-columns: 1fr; }
  .timeline::before { left: 23px; }
  .tl-step { grid-template-columns: 48px 1fr; gap: 14px; }
  .tl-num { width: 48px; height: 48px; font-size: 1.3rem; }
  .acc-grid { grid-template-columns: 1fr; }
  .acc-item { flex-direction: column; }
  .acc-thumb { width: 100%; aspect-ratio: 16/9; }
  .pdp-sticky .ps-was { display: none; }
  .pdp-sticky { padding: 10px 14px; gap: 10px; }
  .go-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}
@media (max-width: 380px) {
  .mm-matrix, .mm-tiles, .bundle-band { grid-template-columns: 1fr; }
  .pcard .name { font-size: 1.5rem; }
  .pdp-price .now { font-size: 2.1rem; }
  .bundle-card { padding: 18px; }
  .zz-text, .acc-card { padding: 24px 20px; }
  .pdp-sticky .ps-title { max-width: 46vw; }
}

@media (prefers-reduced-motion: reduce) {
  .go-top, .pdp-sticky, .site-head { transition: opacity 200ms ease; }
  .go-top:hover, .go-top:active { transform: none; }
}

/* sticky bar price block (now + struck compare + % off) */
.pdp-sticky .ps-price { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.pdp-sticky .ps-now { font-family: "Archivo", sans-serif; font-weight: 800; color: var(--accent); }
.pdp-sticky .ps-was { color: var(--muted-2); text-decoration: line-through; font-size: 0.82rem; }
.pdp-sticky .ps-off { background: var(--accent); color: var(--accent-ink); font-size: 0.68rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; }

/* ===================================================================
   Contact page
   =================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.contact-form { padding: 30px; }
.cf-h { font-size: 1.6rem; margin-bottom: 18px; }
.cf-label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.cf-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.cf-type { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); cursor: pointer; transition: border-color 160ms var(--ease), background 160ms var(--ease); }
.cf-type:hover { border-color: var(--line-2); }
.cf-type input { position: absolute; opacity: 0; pointer-events: none; }
.cf-type.is-active { border-color: var(--accent); background: rgba(200,255,61,0.07); }
.cf-type-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--bg); color: var(--accent); flex-shrink: 0; }
.cf-type-t { display: flex; flex-direction: column; line-height: 1.25; }
.cf-type-t strong { font-size: 0.9rem; }
.cf-type-t span { font-size: 0.78rem; color: var(--muted-2); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .field textarea { resize: vertical; min-height: 110px; }
.cf-submit { margin-top: 6px; }
.cf-note { margin-top: 14px; font-size: 0.9rem; padding: 11px 14px; border-radius: var(--radius-sm); }
.cf-note.ok { background: rgba(200,255,61,0.12); color: var(--accent); }
.cf-note.err { background: rgba(251,113,133,0.12); color: #fda4af; }
.contact-side { display: grid; gap: 16px; }
.contact-card { background: var(--text); color: var(--bg); border-radius: var(--radius-lg); padding: 28px; }
.contact-card h3 { font-size: 1.8rem; margin: 6px 0 10px; color: var(--bg); }
.contact-card p { color: rgba(11,11,15,0.7); font-size: 0.92rem; margin-bottom: 18px; }
.contact-line { display: flex; align-items: center; gap: 12px; background: var(--bg); color: var(--text); border-radius: var(--radius); padding: 14px 16px; }
.contact-line svg { color: var(--accent); flex-shrink: 0; }
.contact-line span { display: flex; flex-direction: column; line-height: 1.3; }
.contact-line span span { font-size: 0.8rem; color: var(--muted); }
.contact-hours { display: flex; align-items: flex-start; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.contact-hours .ch-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); color: var(--accent); flex-shrink: 0; }
.contact-hours div { display: flex; flex-direction: column; gap: 3px; }
.contact-hours span:not(.ch-ic) { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cf-types, .cf-row { grid-template-columns: 1fr; } }

/* ===================================================================
   All-templates filter page
   =================================================================== */
.tpl-layout { display: grid; grid-template-columns: 268px 1fr; gap: 30px; align-items: start; }
.tpl-filters { position: sticky; top: calc(var(--head) + 20px); align-self: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 20px; }
.tpl-fhead { display: flex; align-items: center; justify-content: space-between; }
.tpl-fhead strong { font-size: 1.05rem; }
.tpl-clear { color: var(--muted); font-size: 0.82rem; }
.tpl-clear:hover { color: var(--accent); }
.tpl-fgroup { display: grid; gap: 10px; }
.tpl-flabel { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-2); }
.tpl-fgroup .search-input { font-size: 0.88rem; }
.tpl-checks { display: grid; grid-template-columns: 1fr; gap: 3px; max-height: 224px; overflow-y: auto; padding-right: 6px; }
.tpl-check { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; color: var(--muted); cursor: pointer; min-width: 0; padding: 3px 0; }
.tpl-checks .tpl-check span { margin-left: auto; }
.tpl-price-ends { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted-2); font-size: 0.78rem; }
.tpl-check input { accent-color: var(--accent); width: 15px; height: 15px; flex-shrink: 0; }
.tpl-check span { margin-left: auto; color: var(--muted-2); font-size: 0.78rem; }
.tpl-check:hover { color: var(--text); }
.tpl-range { width: 100%; accent-color: var(--accent); }
.tpl-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.tpl-count { color: var(--muted); font-size: 0.92rem; }
.tpl-sort { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.88rem; }
.tpl-sort select { background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 8px 14px; font-family: inherit; font-size: 0.88rem; }
.tpl-sort select:focus { outline: none; border-color: var(--accent); }
.tpl-empty { text-align: center; padding: 60px 20px; color: var(--muted); display: grid; gap: 14px; place-items: center; }
.tpl-empty svg { color: var(--muted-2); }
@media (max-width: 860px) {
  .tpl-layout { grid-template-columns: 1fr; }
  .tpl-filters { position: static; }
  .tpl-checks { max-height: none; }
}

/* mobile search: toggle button hidden on desktop, reveal field on phone */
.nav-search-toggle { display: none; }
@media (max-width: 768px) {
  .nav-search-toggle { display: grid; }
  .site-head.search-open .search-wrap {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex: 1 1 auto; padding: 12px 24px; background: var(--surface); border-bottom: 1px solid var(--line);
  }
  .site-head.search-open .search-results { left: 24px; right: 24px; top: calc(100% + 4px); z-index: 300; }
}

/* ============ Blog ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 220ms var(--ease), border-color 220ms var(--ease); }
.blog-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.blog-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-thumb-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); background: radial-gradient(120% 120% at 30% 20%, rgba(200,255,61,0.12), transparent 60%); }
.blog-chip { position: absolute; left: 12px; top: 12px; background: var(--accent); color: var(--accent-ink); font-size: 0.72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.02em; }
.blog-body { display: flex; flex-direction: column; gap: 9px; padding: 18px 18px 20px; flex: 1; }
.blog-date { display: inline-flex; align-items: center; gap: 6px; color: var(--muted-2); font-size: 0.78rem; }
.blog-date svg { color: var(--accent); }
.blog-body h3 { font-size: 1.12rem; line-height: 1.3; }
.blog-body h3 a { color: var(--text); }
.blog-body h3 a:hover { color: var(--accent); }
.blog-body p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.blog-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 0.88rem; }
.blog-more svg { transition: transform 200ms var(--ease); }
.blog-more:hover svg { transform: translateX(3px); }
.blog-pager { margin-top: 36px; display: flex; justify-content: center; }
.blog-pager ul { display: inline-flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.blog-pager a, .blog-pager span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); font-weight: 700; }
.blog-pager a:hover { border-color: var(--accent); color: var(--accent); }
.blog-pager .current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.blog-empty { text-align: center; padding: 60px 20px; }
.blog-empty-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface-2); color: var(--accent); margin-bottom: 14px; }
.blog-empty h3 { font-size: 1.3rem; margin-bottom: 6px; }
.blog-empty p { color: var(--muted); }
.blog-empty a { color: var(--accent); font-weight: 700; }

/* single post */
.post-back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; }
.post-back:hover { color: var(--accent); }
.post-meta { display: flex; gap: 18px; color: var(--muted-2); font-size: 0.86rem; margin-top: 6px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { color: var(--accent); }
.post-cover { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 8px; }
.post-cover img { width: 100%; height: auto; display: block; }
.post-body { max-width: 760px; margin: 0; color: var(--text); font-size: 1.04rem; line-height: 1.75; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { font-size: 1.5rem; margin-top: 1.6em; }
.post-body h3 { font-size: 1.22rem; margin-top: 1.4em; }
.post-body a { color: var(--accent); text-decoration: underline; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.post-body blockquote { border-left: 3px solid var(--accent); padding-left: 18px; color: var(--muted); font-style: italic; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li + li { margin-top: 0.4em; }
.post-tags { max-width: 760px; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags span { background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; padding: 4px 11px; border-radius: 999px; }
.post-cta { max-width: 760px; margin: 36px 0 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.post-cta h3 { font-size: 1.2rem; }
.post-cta p { color: var(--muted); margin-top: 4px; }

/* QR preview (buyer surfaces — account + thank-you) */
.ty-qr img, .acc-qr img { width: 112px; height: 112px; border-radius: 10px; background: #fff; padding: 6px; display: block; margin: 8px 0; box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
