/* Storefront theme. Every color/font/radius comes from /theme.css (admin → Design), so one stylesheet fits every client. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.display, h1, h2 { font-family: var(--font-heading); font-weight: 700; text-transform: var(--heading-case); letter-spacing: .01em; line-height: 1.02; }
h3 { font-weight: 700; line-height: 1.25; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 28px); }
.narrow { max-width: 860px; }
.sub { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.placeholder { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-heading); font-size: 42px; color: var(--muted); opacity: .4; }

/* buttons & fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 99px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accentFg); font-weight: 800; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: transform .15s, opacity .15s; white-space: nowrap; }
.btn:hover { opacity: .9; }
.btn:active { transform: scale(.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--fg); }
.btn.block { width: 100%; }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 12px; }
.btn.wa { background: #25d366; border-color: #25d366; color: #fff; margin-top: 10px; }
.link { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.link:hover { color: var(--fg); }
.link-btn { border: 0; background: none; color: var(--accent); cursor: pointer; text-decoration: underline; padding: 0; font-size: inherit; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; cursor: pointer; color: inherit; }
.icon-btn:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: calc(var(--radius) * .7); background: var(--surface); font-size: 16px; transition: border-color .15s; }
textarea.input { min-height: 90px; padding: 12px 14px; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent); }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.field .opt { color: var(--muted); font-weight: 500; }
.notice { font-size: 13px; padding: 10px 12px; border-radius: calc(var(--radius) * .6); background: color-mix(in srgb, var(--sale) 14%, transparent); color: var(--fg); border: 1px solid color-mix(in srgb, var(--sale) 40%, transparent); }
.notice.ok { background: var(--surface); border-color: var(--border); color: var(--muted); }

/* header */
.announce { background: var(--accent); color: var(--accentFg); text-align: center; font-size: 12.5px; font-weight: 700; padding: 8px 16px; letter-spacing: .04em; }
.nav { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav-in { display: flex; align-items: center; height: 64px; gap: 30px; }
.logo { font-family: var(--font-heading); font-size: 21px; text-transform: var(--heading-case); letter-spacing: .03em; display: flex; align-items: center; white-space: nowrap; font-weight: 700; }
.logo i { font-style: normal; color: var(--accent); margin-inline-start: .28em; }
.logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 26px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.nav-links a { padding: 6px 0; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.search { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 99px; padding-left: 14px; height: 40px; }
.search input { border: 0; background: none; outline: none; width: 150px; font-size: 14px; }
.search .icon-btn { width: 38px; height: 38px; color: var(--muted); }
.search:focus-within { border-color: var(--accent); }
.cart { background: var(--fg); color: var(--bg); border: none; border-radius: 99px; min-height: 40px; padding: 0 18px; font-weight: 800; font-size: 13px; cursor: pointer; white-space: nowrap; }
.menu-btn { display: none; }
@media (max-width: 920px) {
  .menu-btn { display: inline-grid; margin-left: -10px; }
  .nav-in { gap: 6px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 6px 20px 18px; max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav-links a { padding: 14px 0; font-size: 17px; color: var(--fg); border-bottom: 1px solid var(--border); }
  .nav.open .nav-links { display: flex; }
  .search { border: 0; padding: 0; }
  .search input { width: 0; padding: 0; transition: width .2s; }
  .search:focus-within { border: 1px solid var(--accent); padding-left: 12px; }
  .search:focus-within input { width: min(42vw, 180px); }
}

/* split hero (signature) */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78vh, 760px); position: relative; }
.half { --tone: var(--accent); position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 64px clamp(24px, 4vw, 56px); overflow: hidden; isolation: isolate; }
.half::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--tone) 18%, var(--bg)) 0%, color-mix(in srgb, var(--tone) 5%, var(--bg)) 55%, var(--bg) 100%); }
.half.right::before { background: radial-gradient(120% 90% at 80% 10%, color-mix(in srgb, var(--tone) 18%, var(--bg)) 0%, color-mix(in srgb, var(--tone) 5%, var(--bg)) 55%, var(--bg) 100%); }
.ghost { position: absolute; top: 6%; font-family: var(--font-heading); font-size: clamp(80px, 13vw, 190px); line-height: 1; text-transform: uppercase; opacity: .07; user-select: none; white-space: nowrap; color: var(--tone); transition: opacity .3s; left: -8px; }
.half.right .ghost { left: auto; right: -8px; }
.half:hover .ghost { opacity: .13; }
.kick { font-size: 11.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; color: var(--tone); }
.half h1, .half h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: .98; }
.half p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 380px; margin: 16px 0 24px; }
.hbtn { display: inline-flex; align-items: center; gap: 10px; border-radius: 99px; padding: 14px 26px; font-weight: 800; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; width: max-content; transition: transform .2s; background: var(--tone); color: color-mix(in srgb, var(--tone) 12%, #000); }
.half.right .hbtn { color: #fff; }
.half:hover .hbtn { transform: translateX(4px); }
.hero-img { width: min(46%, 340px); align-self: center; margin-bottom: 26px; filter: drop-shadow(0 26px 34px rgb(0 0 0 / .45)); transition: transform .3s; border-radius: 14px; }
.half:hover .hero-img { transform: translateY(-6px); }
.divider { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--border); z-index: 2; }
.badge-center { position: absolute; left: 50%; top: 52px; transform: translateX(-50%); z-index: 3; background: var(--bg); border: 1px solid var(--border); border-radius: 99px; padding: 10px 20px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .divider, .badge-center { display: none; }
  /* phones: text left, product shot right — both audiences fit in about one screen */
  .half { display: grid; grid-template-columns: 1fr 36%; column-gap: 14px; align-content: end; padding: 30px 18px 32px; min-height: 0; }
  .half > * { grid-column: 1; }
  .hero-img { grid-column: 2; grid-row: 1 / span 4; width: 100%; align-self: center; margin: 0; }
  .half h1, .half h2 { font-size: clamp(28px, 8.4vw, 44px); }
  .half p { font-size: 13.5px; margin: 10px 0 16px; }
  .kick { font-size: 10.5px; letter-spacing: .16em; margin-bottom: 8px; }
  .hbtn { padding: 12px 18px; font-size: 12px; }
}

/* classic hero */
.hero-classic { padding: clamp(24px, 4vw, 48px) 0 0; }
.hero-classic-in { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; background: var(--surface); border-radius: calc(var(--radius) * 1.6); padding: clamp(32px, 6vw, 80px); min-height: 420px; }
.hero-classic.has-img .hero-classic-in { grid-template-columns: 1.1fr 1fr; }
.hero-text { display: grid; gap: 20px; justify-items: start; }
.hero-text h1 { font-size: clamp(38px, 6vw, 72px); }
.hero-text p { color: var(--muted); font-size: 17px; max-width: 46ch; }
.hero-photo { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 760px) { .hero-classic.has-img .hero-classic-in { grid-template-columns: 1fr; } }

/* marquee */
.marquee { border-block: 1px solid var(--border); overflow: hidden; padding: 14px 0; background: var(--surface); }
.mq { display: flex; gap: 48px; white-space: nowrap; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); animation: mq 32s linear infinite; width: max-content; }
.mq span { display: inline-flex; gap: 10px; }
.mq b { color: var(--accent); }
@keyframes mq { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(48px, 7vw, 84px) 0 0; }
.view-home main > :last-child { margin-bottom: clamp(48px, 7vw, 84px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 50px); }
.sec-head p { color: var(--muted); font-size: 14.5px; max-width: 340px; }
@media (max-width: 640px) { .sec-head { gap: 10px; margin-bottom: 22px; } .sec-head p { order: 3; flex-basis: 100%; } }

/* product cards */
.rail, .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (max-width: 1000px) { .rail { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(-1 * clamp(16px, 3vw, 28px)); padding: 0 clamp(16px, 3vw, 28px) 8px; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail .card { flex: 0 0 min(70vw, 260px); scroll-snap-align: start; }
}
.card { --brand: var(--accent); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; position: relative; }
.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--fg) 22%, var(--border)); box-shadow: 0 20px 44px rgb(0 0 0 / .25); }
.ph { aspect-ratio: 1 / .9; display: grid; place-items: center; position: relative; background: radial-gradient(90% 80% at 50% 20%, color-mix(in srgb, var(--fg) 9%, var(--surface)), var(--surface)); }
.ph::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--brand); }
.pimg { max-height: 84%; max-width: 82%; width: auto; object-fit: contain; filter: drop-shadow(0 16px 20px rgb(0 0 0 / .35)); transition: transform .25s; }
.card:hover .pimg { transform: scale(1.05); }
.tag { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border-radius: 99px; padding: 4px 10px; background: var(--accent); color: var(--accentFg); }
.tag.new { background: var(--accent2); color: var(--accent2Fg); }
.tag.out { background: var(--fg); color: var(--bg); }
.info { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.brand { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand, var(--accent)); }
.nm { font-weight: 700; font-size: 15px; line-height: 1.3; font-family: var(--font); text-transform: none; letter-spacing: 0; }
.nm a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.meta { font-size: 12.5px; color: var(--muted); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { font-weight: 800; font-size: 15px; display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-weight: 500; font-size: .8em; }
.add { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--fg) 25%, var(--border)); background: none; color: var(--fg); font-size: 18px; cursor: pointer; transition: .15s; }
.add:hover { background: var(--fg); color: var(--bg); }
@media (max-width: 560px) { .info { padding: 12px; } .nm { font-size: 14px; } .meta { display: none; } }

/* categories */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.cat { --brand: var(--accent); position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat:hover img { transform: scale(1.04); }
.cat span { position: absolute; left: 14px; bottom: 14px; background: var(--brand); color: var(--accentFg); padding: 9px 16px; border-radius: 99px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }

/* stats band */
.band { background: var(--surface); border-block: 1px solid var(--border); margin-top: clamp(48px, 7vw, 84px); }
.band-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-in > div { padding: 32px 28px; border-inline-start: 1px solid var(--border); }
.band-in > div:first-child { border: none; }
.band .n { font-family: var(--font-heading); font-size: clamp(30px, 3vw, 38px); color: var(--accent); text-transform: var(--heading-case); font-weight: 700; }
.band .l { font-size: 12.5px; color: var(--muted); margin-top: 6px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 920px) { .band-in { grid-template-columns: 1fr 1fr; } .band-in > div { border: none; border-top: 1px solid var(--border); padding: 22px 16px; } .band-in > div:nth-child(-n+2) { border-top: 0; } }

/* promo */
.promo { border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.4); padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px); position: relative; overflow: hidden;
  background: radial-gradient(70% 120% at 85% 20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), radial-gradient(70% 120% at 10% 90%, color-mix(in srgb, var(--accent2) 12%, transparent), transparent 60%), var(--surface); }
.promo h2 { font-size: clamp(32px, 4.4vw, 62px); max-width: 640px; }
.promo p { color: var(--muted); max-width: 480px; margin: 18px 0 28px; font-size: 15px; line-height: 1.65; }
.pbtn { display: inline-flex; align-items: center; background: var(--fg); color: var(--bg); border: none; border-radius: 99px; min-height: 50px; padding: 0 30px; font-weight: 800; font-size: 13.5px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.pbtn:hover { opacity: .9; }

/* bundles (deal cards) */
.bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
@media (max-width: 420px) { .bundles { grid-template-columns: 1fr; } }
.bundle { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; justify-items: start; }
.bundle-imgs { display: flex; align-items: center; gap: 8px; }
.bundle-imgs .thumb { width: 76px; height: 76px; border-radius: calc(var(--radius) * .6); overflow: hidden; background: var(--bg); }
.bundle-imgs img { width: 100%; height: 100%; object-fit: contain; }
.plus { color: var(--muted); }
.bundle h3 { font-size: 18px; }
.bundle-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; flex-wrap: wrap; }
.save { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent2Fg); background: var(--accent2); padding: 3px 10px; border-radius: 99px; }

/* listing pages */
.page-wrap { padding-top: 22px; padding-bottom: clamp(48px, 7vw, 84px); }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--fg); }
.page-head { padding: 24px 0 8px; }
.page-head h1 { font-size: clamp(34px, 5vw, 60px); }
.page-head h1 { color: var(--fg); }
.page-head p { color: var(--muted); max-width: 640px; margin-top: 12px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 0 12px; }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.pill:hover { color: var(--fg); border-color: var(--fg); }
.sort select { min-height: 40px; padding: 0 14px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); font-size: 14px; }
.count { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.empty { text-align: center; padding: 72px 20px; color: var(--muted); display: grid; gap: 18px; justify-items: center; }
.empty h1, .empty h3 { color: var(--fg); }

/* product page */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); padding-top: 22px; align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: 12px; position: sticky; top: 84px; }
@media (max-width: 860px) { .gallery { position: static; } }
.gallery-main { aspect-ratio: 1; border-radius: calc(var(--radius) * 1.2); position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(90% 80% at 50% 20%, color-mix(in srgb, var(--fg) 10%, var(--surface)), var(--surface)); border: 1px solid var(--border); }
.gallery-main::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--brand, var(--accent)); }
.gallery-main img { max-width: 80%; max-height: 82%; width: auto; object-fit: contain; filter: drop-shadow(0 24px 30px rgb(0 0 0 / .4)); }
.thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { width: 72px; height: 72px; flex: none; padding: 6px; border: 2px solid var(--border); border-radius: calc(var(--radius) * .6); background: var(--surface); cursor: pointer; }
.thumbs button.on { border-color: var(--brand, var(--accent)); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.info-col { display: grid; gap: 18px; align-content: start; }
.info-col .brand { font-size: 12px; }
.info-col h1 { font-size: clamp(32px, 4vw, 52px); }
.big-price .price { font-size: 26px; }
.opt { border: 0; display: grid; }
.opt legend { font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; color: var(--muted); }
.opt legend small { font-weight: 500; letter-spacing: 0; text-transform: none; margin-left: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 99px; cursor: pointer; font-size: 14px; font-weight: 600; transition: .15s; background: var(--surface); }
.chip span em { font-style: normal; color: var(--muted); font-weight: 500; }
.chip:hover span { border-color: var(--muted); }
.chip input:checked + span { border-color: var(--brand, var(--accent)); box-shadow: inset 0 0 0 1px var(--brand, var(--accent)); background: color-mix(in srgb, var(--brand, var(--accent)) 10%, var(--surface)); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy { display: flex; gap: 10px; }
.buy .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 99px; height: 48px; flex: none; }
.qty button { width: 42px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--muted); }
.qty button:hover { color: var(--fg); }
.qty output, .qty span { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty.sm { height: 34px; }
.qty.sm button { width: 30px; font-size: 15px; }
.stock-note { color: var(--accent2); font-weight: 700; font-size: 14px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 6px; }
.acc { border-top: 1px solid var(--border); }
.acc details { border-bottom: 1px solid var(--border); }
.acc summary, .faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; display: flex; justify-content: space-between; gap: 12px; }
.acc summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.acc summary::after, .faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--accent); transition: transform .2s; }
details[open] > summary::after { transform: rotate(45deg); }
.acc .prose { padding-bottom: 20px; }
.prose { color: var(--muted); font-size: 15px; line-height: 1.7; }
.prose > * + * { margin-top: 12px; }
.prose strong, .prose h3, .prose h4 { color: var(--fg); }
.prose h2 { font-size: 24px; margin-top: 28px; color: var(--fg); }
.prose h3 { font-size: 16px; margin-top: 20px; }
.prose ul, .prose ol { padding-left: 20px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); text-decoration: underline; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--border);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s; }
.buybar.show { transform: none; }
.buybar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buybar-in > div { display: grid; min-width: 0; }
.buybar-in strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.buybar-in span { font-weight: 800; color: var(--accent); }
@media (min-width: 861px) { .buybar { display: none; } }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { font-size: 16px; }
.answer { color: var(--muted); padding-bottom: 20px; line-height: 1.7; }
.answer a { color: var(--accent); text-decoration: underline; }

/* drawer */
.scrim { position: fixed; inset: 0; background: rgb(0 0 0 / .5); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 70; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); border-left: 1px solid var(--border); z-index: 80; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; }
body.cart-open .scrim { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
body.cart-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-size: 24px; }
.drawer-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.lines { padding: 4px 20px; flex: 1; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.line:last-child { border-bottom: 0; }
.line-img { width: 64px; height: 64px; border-radius: calc(var(--radius) * .6); overflow: hidden; background: var(--surface); padding: 4px; }
.line-img img { width: 100%; height: 100%; object-fit: contain; }
.line-name { font-weight: 700; font-size: 14.5px; }
.line-meta { font-size: 12.5px; color: var(--muted); }
.line-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.line-actions .link-btn { color: var(--muted); font-size: 12.5px; }
.line-total { font-weight: 800; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.summary { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface); display: grid; gap: 10px; }
.summary > .row { margin: 0; padding: 0; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.row.disc { color: var(--accent2); }
.row.total { font-size: 18px; font-weight: 800; padding-top: 10px; border-top: 1px solid var(--border); }

/* checkout & order */
.checkout { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; gap: 28px; } }
.checkout form { display: grid; gap: 16px; }
.checkout h1 { font-size: clamp(34px, 5vw, 52px); }
.checkout h2 { font-size: 22px; margin-top: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.box { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.box.sticky { position: sticky; top: 84px; }
@media (max-width: 900px) { .box.sticky { position: static; order: -1; } }
.code-row { display: flex; gap: 8px; }
.code-row .input { min-height: 40px; text-transform: uppercase; background: var(--bg); }
.done { max-width: 620px; margin: 24px auto 0; text-align: center; display: grid; gap: 18px; justify-items: center; }
.done h1 { font-size: clamp(34px, 5vw, 52px); }
.done .box { width: 100%; text-align: left; }
.check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accentFg); display: grid; place-items: center; }
.loading { min-height: 160px; display: grid; place-items: center; }
.loading::after { content: ''; width: 28px; height: 28px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* chat */
.chat-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 65; width: 56px; height: 56px; border-radius: 50%; border: 0;
  background: var(--accent); color: var(--accentFg); display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px rgb(0 0 0 / .35); transition: transform .2s; }
.chat-fab:hover { transform: scale(1.06); }
.view-product .chat-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 861px) { .view-product .chat-fab { bottom: 24px; } .chat-fab { right: 24px; bottom: 24px; } }
.chat-panel { position: fixed; right: 24px; bottom: 92px; z-index: 75; width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100vh - 130px)); background: var(--bg); border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.2); box-shadow: 0 30px 70px rgb(0 0 0 / .45); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
@media (max-width: 560px) { .chat-panel { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; } body.chat-open { overflow: hidden; } }
.chat-panel header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.chat-panel header div { display: grid; }
.chat-panel header span { font-size: 12px; color: var(--muted); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.msg.bot { background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--accent); color: var(--accentFg); border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 600; }
.msg a { color: var(--accent); text-decoration: underline; }
.msg p + p { margin-top: 8px; }
.msg.typing { display: flex; gap: 4px; }
.msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .15s; } .msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
.choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.choices button, .chat-sugg button { border: 1px solid var(--border); background: var(--bg); border-radius: 99px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 36px; }
.choices button:hover, .chat-sugg button:hover { border-color: var(--accent); }
.chat-sugg { display: flex; gap: 6px; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; }
.chat-sugg button { flex: none; white-space: nowrap; }
.chat-sugg button[data-quiz] { border-color: var(--accent); color: var(--accent); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.chat-form input { flex: 1; min-height: 44px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); padding: 0 16px; font-size: 16px; outline: none; }
.chat-form input:focus { border-color: var(--accent); }
.chat-form .btn { min-height: 44px; width: 44px; padding: 0; font-size: 18px; }
.mini { display: grid; gap: 8px; margin: 10px 0 4px; }
.mini-card { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 6px 8px 6px 6px; }
.mini-card > a:first-child { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-decoration: none; color: var(--fg); }
.mini-card img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: var(--surface); flex: none; }
.mini-card span { display: grid; font-size: 13px; font-weight: 600; line-height: 1.3; }
.mini-card b { color: var(--accent); }
.mini-card .add { width: 34px; height: 34px; font-size: 16px; text-decoration: none; }
.msg [data-addall] { margin-top: 8px; }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 52px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer h4 { color: var(--fg); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.footer nav, .footer-grid > div { display: grid; gap: 8px; align-content: start; }
.footer a:hover { color: var(--fg); }
.footer .logo { color: var(--fg); margin-bottom: 4px; }
.footer address { font-style: normal; font-size: 13px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--fg); color: var(--bg); padding: 12px 20px; border-radius: 99px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 90; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
