/* =====================================================================
   Volt Gear — e-commerce gadget template (by Vosss)
   Dark futuristic. Produk, harga & ulasan bersifat fiktif.
===================================================================== */
:root{
  --bg: #06070c;
  --bg-2: #0b0d15;
  --surface: #0f121c;
  --glass: rgba(255,255,255,.045);
  --glass-2: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --text: #eef1ff;
  --muted: #8d93ad;
  --cyan: #3be4ff;
  --violet: #7c5cff;
  --pink: #ff3d81;
  --lime: #b6ff5c;
  --grad: linear-gradient(110deg, #3be4ff, #7c5cff 55%, #ff3d81);
  --grad-loop: linear-gradient(110deg, #3be4ff 0%, #7c5cff 33%, #ff3d81 66%, #3be4ff 100%);
  --r: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1280px;
  --display: "Sora", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; overflow-x: clip; color-scheme: dark; }
body{ margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
button, input, select, textarea{ font: inherit; color: inherit; }
button{ background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p{ margin: 0; }
h1, h2, h3{ font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
ul{ list-style: none; margin: 0; padding: 0; }
::selection{ background: var(--cyan); color: var(--bg); }
:focus-visible{ outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.wrap{ width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
@media (max-width: 600px){ .wrap{ width: calc(100% - 32px); } }
.grad{ background: var(--grad-loop); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: pan 6s linear infinite; }
@keyframes pan{ to{ background-position: -200% 0; } }
.kicker{ display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.kicker::before{ content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transform: rotate(45deg); }
.muted{ color: var(--muted); }
.h-xl{ font-size: clamp(44px, 6.4vw, 96px); }
.h-lg{ font-size: clamp(34px, 4.2vw, 60px); }
.lead{ font-size: clamp(16.5px, 1.3vw, 18.5px); color: var(--muted); max-width: 560px; }
.art *{ transition: fill .6s var(--ease), stroke .6s var(--ease); }
.art .led{ animation: led 2.2s ease-in-out infinite; }
@keyframes led{ 50%{ opacity: .35; } }
.art .ring-a{ animation: ringa 4s var(--ease) infinite alternate; }
@keyframes ringa{ from{ stroke-dasharray: 40 230; } to{ stroke-dasharray: 190 230; } }

/* ---------- background ---------- */
.bg-fx{ position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx i{ position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; animation: blob 18s ease-in-out infinite alternate; }
.bg-fx i:nth-child(1){ width: 520px; height: 520px; left: -140px; top: -120px; background: var(--violet); }
.bg-fx i:nth-child(2){ width: 460px; height: 460px; right: -140px; top: 30%; background: #1b6cff; animation-duration: 22s; }
.bg-fx i:nth-child(3){ width: 380px; height: 380px; left: 30%; bottom: -200px; background: var(--pink); opacity: .18; animation-duration: 26s; }
@keyframes blob{ to{ transform: translate(80px, 60px) scale(1.2); } }
.bg-fx::after{ content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 75%); }

/* ---------- buttons ---------- */
.btn{ position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 600; font-size: 15.5px; white-space: nowrap; background: var(--text); color: var(--bg); transition: transform .3s var(--ease), box-shadow .3s, background .3s; overflow: hidden; isolation: isolate; }
.btn:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(59,228,255,.6); }
.btn::after{ content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after{ transform: translateX(120%); }
.btn.neon{ background: var(--grad-loop); background-size: 200% 100%; color: #fff; animation: pan 6s linear infinite; }
.btn.ghost{ background: var(--glass); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); }
.btn.ghost:hover{ box-shadow: inset 0 0 0 1px var(--cyan), 0 14px 30px -14px rgba(59,228,255,.5); }
.btn.block{ width: 100%; }
.btn.sm{ height: 42px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.btn svg{ width: 18px; height: 18px; }
/* morph add-to-cart */
.btn.morph .lbl, .btn.morph .spin, .btn.morph .ok{ transition: opacity .25s, transform .4s var(--spring); }
.btn.morph .spin, .btn.morph .ok{ position: absolute; opacity: 0; transform: scale(.4); }
.btn.morph .spin{ width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.3); border-top-color: #fff; animation: rot .7s linear infinite; }
.btn.morph.loading .lbl, .btn.morph.done .lbl{ opacity: 0; transform: translateY(-10px); }
.btn.morph.loading .spin{ opacity: 1; transform: none; }
.btn.morph.done{ background: var(--lime); color: #0a0c12; animation: none; }
.btn.morph.done .ok{ opacity: 1; transform: none; }
@keyframes rot{ to{ transform: rotate(360deg); } }
.icon-btn{ position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; transition: background .25s; }
.icon-btn:hover{ background: var(--glass-2); }
.icon-btn svg{ width: 21px; height: 21px; }
.count{ position: absolute; top: 2px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .45s var(--spring); box-shadow: 0 0 12px var(--pink); }
.count.on{ transform: scale(1); }
.count.bump{ animation: bump .5s var(--spring); }
@keyframes bump{ 40%{ transform: scale(1.6); } }

/* ---------- header ---------- */
.topbar{ height: 36px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; background: linear-gradient(90deg, rgba(124,92,255,.25), rgba(59,228,255,.2)); border-bottom: 1px solid var(--line); }
.topbar b{ font-family: var(--display); letter-spacing: .04em; }
.topbar .tick{ font-variant-numeric: tabular-nums; font-weight: 700; color: var(--cyan); }
.header{ position: sticky; top: 0; z-index: 60; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.scrolled{ background: rgba(6,7,12,.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.header .wrap{ height: 72px; display: flex; align-items: center; gap: 24px; }
.logo{ display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }
.logo svg{ width: 32px; height: 32px; filter: drop-shadow(0 0 10px rgba(59,228,255,.6)); }
.nav{ display: flex; gap: 4px; margin-left: 18px; }
.nav a{ padding: 8px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .25s, background .25s; }
.nav a:hover, .nav a.active{ color: var(--text); background: var(--glass); }
.search{ margin-left: auto; position: relative; width: 260px; }
.search input{ width: 100%; height: 42px; padding: 0 14px 0 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); outline: none; transition: border-color .25s, box-shadow .25s, width .4s var(--ease); }
.search input:focus{ border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(59,228,255,.12); }
.search svg{ position: absolute; left: 12px; top: 11px; width: 20px; height: 20px; color: var(--muted); }
.tools{ display: flex; gap: 4px; }
.menu-btn{ display: none; }
@media (max-width: 960px){ .nav, .search{ display: none; } .menu-btn{ display: grid; } .tools{ margin-left: auto; } }
.mnav{ position: fixed; inset: 0; z-index: 90; background: rgba(6,7,12,.96); backdrop-filter: blur(10px); padding: 90px 24px; display: grid; align-content: start; gap: 4px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.mnav.open{ opacity: 1; pointer-events: auto; }
.mnav a{ font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.04em; padding: 6px 0; transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.mnav.open a{ transform: none; opacity: 1; }
.mnav.open a:nth-child(3){ transition-delay: .05s; } .mnav.open a:nth-child(4){ transition-delay: .1s; } .mnav.open a:nth-child(5){ transition-delay: .15s; }
.mnav .close{ position: absolute; top: 20px; right: 20px; }

/* ---------- drawer / toast / modal ---------- */
.scrim{ position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .35s; backdrop-filter: blur(4px); }
.scrim.on{ opacity: 1; pointer-events: auto; }
.drawer{ position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 100; width: min(420px, calc(100% - 24px)); border-radius: 24px; background: rgba(15,18,28,.92); backdrop-filter: blur(20px); border: 1px solid var(--line-2); display: flex; flex-direction: column; transform: translateX(110%) scale(.96); transition: transform .6s var(--ease); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(59,228,255,.08); }
.drawer.on{ transform: none; }
.drawer-head{ display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3{ font-size: 22px; }
.drawer-body{ flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot{ padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.total-row{ display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; font-family: var(--display); }
.line{ display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); transition: opacity .3s, transform .4s var(--ease); }
.line.bye{ opacity: 0; transform: scale(.9); }
.line .thumb{ width: 70px; height: 70px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); padding: 8px; }
.line h4{ font-family: var(--display); font-size: 16px; font-weight: 600; }
.line small{ display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.line small i{ width: 10px; height: 10px; border-radius: 50%; display: inline-block; border: 1px solid var(--line-2); }
.line .price{ font-weight: 700; text-align: right; }
.line .rm{ font-size: 12px; color: var(--muted); margin-top: 6px; }
.line .rm:hover{ color: var(--pink); }
.qty{ display: inline-flex; align-items: center; margin-top: 8px; border-radius: 10px; background: var(--glass); border: 1px solid var(--line); }
.qty button{ width: 30px; height: 30px; display: grid; place-items: center; font-size: 17px; border-radius: 9px; }
.qty button:hover{ background: var(--glass-2); }
.qty span{ min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.empty{ text-align: center; padding: 50px 10px; color: var(--muted); }
.empty .box{ width: 90px; height: 90px; margin: 0 auto 18px; border-radius: 24px; border: 1.5px dashed var(--line-2); display: grid; place-items: center; font-size: 34px; animation: floaty 3s ease-in-out infinite; }
@keyframes floaty{ 50%{ transform: translateY(-8px); } }
.toast{ position: fixed; right: 20px; bottom: 20px; z-index: 120; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(15,18,28,.95); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8), 0 0 30px -10px rgba(59,228,255,.5); transform: translateY(140%); transition: transform .55s var(--spring); max-width: calc(100% - 40px); visibility: hidden; }
.toast.on{ transform: none; visibility: visible; }
.toast .t-art{ width: 46px; height: 46px; }
.toast b{ display: block; font-size: 14px; } .toast span{ font-size: 12.5px; color: var(--muted); }
.toast a{ margin-left: 10px; font-weight: 700; color: var(--cyan); white-space: nowrap; }

/* ---------- HERO: 3D ring carousel ---------- */
.hero{ position: relative; padding: 40px 0 60px; overflow: hidden; }
.hero-grid{ display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: center; min-height: calc(100svh - 150px); }
.hero h1{ margin: 20px 0 22px; font-size: clamp(44px, 5.3vw, 84px); }
.hero h1 .w{ display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(20px); animation: unblur 1s var(--ease) forwards; animation-delay: calc(var(--i) * .08s + .1s); }
@keyframes unblur{ to{ opacity: 1; filter: none; transform: none; } }
.hero-cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust{ display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-trust div b{ display: block; font-family: var(--display); font-size: 26px; }
.hero-trust div span{ font-size: 13px; color: var(--muted); }
.showcase{ position: relative; height: min(620px, 72vh); perspective: 1400px; }
.showcase .floor{ position: absolute; left: -20%; right: -20%; bottom: 0; height: 45%; background-image: linear-gradient(rgba(59,228,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(59,228,255,.22) 1px, transparent 1px); background-size: 50px 50px; transform: rotateX(72deg); transform-origin: bottom; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent); mask-image: linear-gradient(to top, #000 10%, transparent); animation: floor 3s linear infinite; }
@keyframes floor{ to{ background-position: 0 50px; } }
.showcase .spot{ position: absolute; left: 50%; top: -10%; width: 70%; height: 110%; transform: translateX(-50%); background: conic-gradient(from 160deg at 50% 0%, transparent 0deg, rgba(59,228,255,.14) 20deg, rgba(124,92,255,.12) 40deg, transparent 60deg); filter: blur(6px); pointer-events: none; }
.ring{ position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-8deg) rotateY(var(--ang, 0deg)); }
.ring.anim{ transition: transform .9s var(--ease); }
.ring .item{ position: absolute; left: -110px; top: -110px; width: 220px; height: 220px; transform: rotateY(var(--a)) translateZ(var(--R, 300px)); transform-style: preserve-3d; transition: filter .6s, opacity .6s; cursor: pointer; }
.ring .item .art{ width: 100%; height: 100%; transition: transform .8s var(--spring); }
.ring .item.front .art{ transform: scale(1.18) translateY(-10px); filter: drop-shadow(0 20px 40px rgba(59,228,255,.35)); }
.ring .item:not(.front){ filter: brightness(.45) saturate(.6); }
.show-info{ position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); width: min(520px, 92%); display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; border-radius: 18px; background: rgba(15,18,28,.72); border: 1px solid var(--line-2); backdrop-filter: blur(14px); z-index: 5; }
.show-info .nm{ font-family: var(--display); font-weight: 700; font-size: 20px; }
.show-info .tg{ font-size: 13px; color: var(--muted); }
.show-info .pr{ margin-left: auto; text-align: right; font-weight: 700; white-space: nowrap; }
.show-info .pr s{ display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.show-nav{ position: absolute; top: 44%; left: 0; right: 0; display: flex; justify-content: space-between; z-index: 5; pointer-events: none; }
.show-nav button{ pointer-events: auto; width: 48px; height: 48px; border-radius: 14px; background: rgba(15,18,28,.6); border: 1px solid var(--line-2); display: grid; place-items: center; backdrop-filter: blur(8px); transition: border-color .25s, transform .3s var(--spring); }
.show-nav button:hover{ border-color: var(--cyan); transform: scale(1.08); }
.show-nav svg{ width: 20px; height: 20px; }
.show-hint{ position: absolute; top: 4%; right: 4%; font-size: 12px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.scramble{ display: inline-block; }
@media (max-width: 960px){ .hero-grid{ grid-template-columns: minmax(0, 1fr); min-height: 0; } .showcase{ height: 480px; } .ring .item{ left: -80px; top: -80px; width: 160px; height: 160px; } }
@media (max-width: 520px){ .showcase{ height: 420px; } .ring .item{ left: -70px; top: -90px; width: 140px; height: 140px; } }

/* ---------- logos strip ---------- */
.strip{ border-block: 1px solid var(--line); padding: 20px 0; overflow: hidden; }
.strip .track{ display: flex; gap: 60px; width: max-content; animation: slide 36s linear infinite; }
@keyframes slide{ to{ transform: translateX(-50%); } }
.strip span{ font-family: var(--display); font-weight: 700; font-size: 20px; color: #3a4058; letter-spacing: -0.02em; white-space: nowrap; transition: color .3s; }
.strip span:hover{ color: var(--text); }

/* ---------- sections ---------- */
section{ position: relative; padding: 110px 0; }
@media (max-width: 760px){ section{ padding: 76px 0; } }
.sec-head{ display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head h2{ margin-top: 14px; }

/* ---------- product card (glass) ---------- */
.grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px){ .grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px){ .grid{ grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card{ position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: border-color .4s, transform .5s var(--ease); }
.card::before{ content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 30%), rgba(59,228,255,.16), transparent 60%); }
.card:hover{ border-color: rgba(59,228,255,.35); transform: translateY(-4px); }
.card:hover::before{ opacity: 1; }
.card .media{ position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 14%; }
.card .media .art{ width: 100%; height: 100%; transition: transform .7s var(--spring); }
.card:hover .media .art{ transform: scale(1.08) rotate(-4deg); }
.card .tags{ position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 6px; z-index: 2; }
.tag{ display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; background: var(--glass-2); border: 1px solid var(--line-2); }
.tag.sale{ background: var(--pink); border-color: transparent; color: #fff; box-shadow: 0 0 16px rgba(255,61,129,.5); }
.tag.new{ background: var(--cyan); color: #04121a; border-color: transparent; }
.card .info{ padding: 4px 16px 16px; display: grid; gap: 6px; }
.card h3{ font-size: 17px; letter-spacing: -0.02em; }
.card .row{ display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card .price b{ font-family: var(--display); font-size: 17px; }
.card .price s{ font-size: 12.5px; color: var(--muted); margin-left: 6px; }
.card .rate{ font-size: 12.5px; color: var(--muted); }
.swatches{ display: flex; gap: 6px; }
.swatches button{ width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--line-2); transition: transform .3s var(--spring), box-shadow .3s; }
.swatches button.on{ box-shadow: 0 0 0 2px var(--cyan); transform: scale(1.15); }
.card .add{ position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 12px; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: 22px; font-weight: 500; transition: transform .4s var(--spring), background .3s, box-shadow .3s; z-index: 2; }
.card .add:hover{ transform: rotate(90deg) scale(1.08); background: var(--cyan); box-shadow: 0 0 20px rgba(59,228,255,.6); }
.card .add.done{ background: var(--lime); transform: rotate(360deg); }
.card.list{ flex-direction: row; align-items: center; }
.card.list .media{ width: 170px; flex: 0 0 auto; padding: 22px; }
.card.list .info{ flex: 1; padding: 16px 70px 16px 0; }
.card.list .tagline{ display: block; }
.card .tagline{ display: none; font-size: 14px; color: var(--muted); }

/* ---------- flash sale ---------- */
.flash{ border-radius: 30px; padding: clamp(24px, 4vw, 44px); background: linear-gradient(135deg, rgba(255,61,129,.14), rgba(124,92,255,.12) 50%, rgba(59,228,255,.08)); border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.flash::before{ content: ""; position: absolute; width: 400px; height: 400px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,61,129,.35), transparent 65%); animation: blob 10s ease-in-out infinite alternate; }
.flash-head{ position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.flash-head h2 .bolt{ display: inline-block; animation: zap 1.4s steps(2) infinite; }
@keyframes zap{ 50%{ opacity: .3; } }
.timer{ display: flex; gap: 8px; align-items: center; }
.timer .u{ display: grid; justify-items: center; gap: 4px; }
.digits{ display: flex; gap: 3px; }
.digit{ position: relative; width: 34px; height: 48px; border-radius: 9px; background: #0a0c14; border: 1px solid var(--line-2); overflow: hidden; font-family: var(--display); font-weight: 700; font-size: 26px; }
.digit span{ position: absolute; inset: 0; display: grid; place-items: center; transition: transform .45s var(--ease), opacity .45s; }
.digit span.out{ transform: translateY(-100%); opacity: 0; }
.digit span.in{ transform: translateY(100%); opacity: 0; }
.timer small{ font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.timer .sep{ font-size: 26px; font-weight: 700; color: var(--pink); margin-top: -18px; animation: zap 1s steps(2) infinite; }
.flash .grid{ position: relative; }
.stock{ margin-top: 4px; }
.stock .bar{ height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.stock .bar i{ display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--pink), #ff9a3d); transition: width 1.4s var(--ease); }
.stock.in .bar i{ width: var(--s); }
.stock small{ font-size: 11.5px; color: var(--muted); }

/* ---------- bento categories ---------- */
.bento{ display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 16px; }
.tile{ position: relative; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); overflow: hidden; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .4s, transform .5s var(--ease); isolation: isolate; transform-style: preserve-3d; }
.tile:hover{ border-color: rgba(59,228,255,.35); }
.tile::before{ content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(124,92,255,.22), transparent 60%); }
.tile:hover::before{ opacity: 1; }
.tile h3{ font-size: 24px; }
.tile p{ font-size: 13.5px; color: var(--muted); }
.tile .art{ position: absolute; right: -6%; bottom: -8%; width: 58%; opacity: .95; transition: transform .8s var(--spring); z-index: -1; }
.tile:hover .art{ transform: translate(-6px, -8px) rotate(-6deg) scale(1.05); }
.tile.t1{ grid-column: span 3; grid-row: span 2; } .tile.t1 .art{ width: 70%; }
.tile.t2{ grid-column: span 3; } .tile.t3{ grid-column: span 2; } .tile.t4{ grid-column: span 1; } .tile.t4 .art{ display: none; }
.tile.t4{ background: var(--grad-loop); background-size: 200% 100%; animation: pan 6s linear infinite; border: 0; color: #fff; }
.tile.t4 p{ color: rgba(255,255,255,.8); }
@media (max-width: 900px){ .bento{ grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } .tile.t1{ grid-column: span 2; } .tile.t2, .tile.t3{ grid-column: span 1; } .tile.t4{ grid-column: span 2; grid-row: auto; } }

/* ---------- scrollytelling ---------- */
.story{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; }
.story-visual{ position: sticky; top: 100px; height: calc(100svh - 140px); max-height: 640px; border-radius: 32px; background: radial-gradient(circle at 50% 40%, rgba(124,92,255,.25), transparent 60%), var(--surface); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.story-visual .art{ width: 62%; position: relative; z-index: 2; transition: transform 1s var(--spring); }
.story-visual[data-s="1"] .art{ transform: rotate(-8deg) scale(1.05); }
.story-visual[data-s="2"] .art{ transform: rotate(6deg) scale(.95); }
.waves{ position: absolute; inset: 0; display: grid; place-items: center; }
.waves i{ position: absolute; width: 40%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(59,228,255,.5); animation: wave 3s linear infinite; opacity: 0; }
.waves i:nth-child(2){ animation-delay: -1s; } .waves i:nth-child(3){ animation-delay: -2s; }
@keyframes wave{ from{ transform: scale(.6); opacity: .9; } to{ transform: scale(2.1); opacity: 0; } }
.story-visual[data-s="0"] .waves i{ border-color: rgba(255,61,129,.5); animation-direction: reverse; }
.batt{ position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(6,7,12,.6); border: 1px solid var(--line-2); font-weight: 700; font-variant-numeric: tabular-nums; z-index: 3; }
.batt .cell{ width: 44px; height: 20px; border-radius: 5px; border: 2px solid var(--text); padding: 2px; position: relative; }
.batt .cell::after{ content: ""; position: absolute; right: -6px; top: 5px; width: 3px; height: 6px; border-radius: 1px; background: var(--text); }
.batt .cell i{ display: block; height: 100%; width: var(--b, 20%); border-radius: 2px; background: var(--lime); transition: width .8s var(--ease); }
.story-visual .label{ position: absolute; top: 24px; left: 24px; z-index: 3; }
.chapters{ display: grid; gap: 30vh; padding: 20vh 0 30vh; }
.chapter{ opacity: .3; transition: opacity .5s; }
.chapter.on{ opacity: 1; }
.chapter .n{ font-family: var(--display); font-size: 14px; color: var(--cyan); letter-spacing: .1em; }
.chapter h3{ font-size: clamp(30px, 3.4vw, 48px); margin: 14px 0; }
.chapter p{ color: var(--muted); font-size: 17px; max-width: 460px; }
.chapter .stat{ display: inline-block; margin-top: 20px; font-family: var(--display); font-size: 44px; font-weight: 700; }
@media (max-width: 900px){ .story{ grid-template-columns: 1fr; gap: 0; } .story-visual{ height: 44svh; top: 80px; z-index: 2; } .chapters{ gap: 40vh; padding: 10vh 0 20vh; } .chapter{ background: rgba(6,7,12,.7); padding: 20px; border-radius: 20px; backdrop-filter: blur(8px); } }

/* ---------- reviews marquee ---------- */
.rev-row{ display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rev-row + .rev-row{ margin-top: 16px; }
.rev-track{ display: flex; gap: 16px; padding-right: 16px; flex-shrink: 0; animation: slide2 50s linear infinite; }
.rev-row.reverse .rev-track{ animation-direction: reverse; }
.rev-row:hover .rev-track{ animation-play-state: paused; }
@keyframes slide2{ to{ transform: translateX(-100%); } }
.rev{ width: 340px; flex: 0 0 auto; padding: 22px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.rev .st{ color: #ffcf5c; letter-spacing: 2px; font-size: 14px; }
.rev p{ margin: 10px 0 14px; font-size: 15px; }
.rev .who{ display: flex; align-items: center; gap: 10px; font-size: 13px; }
.rev .who span{ width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; color: #04121a; }
.rev .who small{ display: block; color: var(--muted); }

/* ---------- newsletter + footer ---------- */
.newsletter{ text-align: center; padding: clamp(40px, 6vw, 80px) 24px; border-radius: 32px; border: 1px solid var(--line-2); background: radial-gradient(circle at 50% 0%, rgba(59,228,255,.18), transparent 60%), var(--surface); position: relative; overflow: hidden; }
.newsletter form{ display: flex; gap: 10px; max-width: 480px; margin: 26px auto 0; padding: 6px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); transition: box-shadow .3s, border-color .3s; }
.newsletter form:focus-within{ border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(59,228,255,.12), 0 0 40px -10px rgba(59,228,255,.6); }
.newsletter input{ flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 0 14px; }
.footer{ padding: 70px 0 26px; margin-top: 60px; border-top: 1px solid var(--line); }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4{ font-family: var(--sans); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer li{ margin-bottom: 9px; } .footer li a{ color: #c3c8de; transition: color .2s; } .footer li a:hover{ color: var(--cyan); }
.footer-word{ margin-top: 50px; font-family: var(--display); font-weight: 800; font-size: clamp(90px, 22vw, 330px); letter-spacing: -0.07em; line-height: .78; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-bottom{ display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child{ grid-column: span 2; } }

/* ---------- shop page ---------- */
.page-top{ padding: 50px 0 30px; }
.page-top h1{ font-size: clamp(42px, 5.6vw, 80px); }
.crumb{ font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb a:hover{ color: var(--cyan); }
.shopbar{ position: sticky; top: 72px; z-index: 20; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 0; margin-bottom: 20px; background: linear-gradient(var(--bg) 70%, transparent); }
.chips{ display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar{ display: none; }
.chips button{ height: 40px; padding: 0 16px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; transition: all .3s var(--ease); }
.chips button:hover{ border-color: var(--line-2); }
.chips button.on{ background: var(--text); color: var(--bg); border-color: var(--text); }
.bar-right{ display: flex; gap: 8px; align-items: center; }
.bar-right select, .bar-right input{ height: 40px; padding: 0 14px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); outline: none; }
.bar-right select option{ background: var(--surface); }
.bar-right input:focus{ border-color: var(--cyan); }
.viewtog{ display: flex; padding: 3px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); }
.viewtog button{ width: 36px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); transition: background .25s, color .25s; }
.viewtog button.on{ background: var(--glass-2); color: var(--text); }
.viewtog svg{ width: 18px; height: 18px; }
.grid.as-list{ grid-template-columns: 1fr 1fr; }
@media (max-width: 760px){ .grid.as-list{ grid-template-columns: 1fr; } .card.list .media{ width: 120px; } .bar-right input{ width: 130px; } }
.noresult{ grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--muted); }

/* ---------- product detail ---------- */
.pd{ display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 50px; align-items: start; padding: 20px 0 60px; }
.viewer{ position: sticky; top: 96px; border-radius: 32px; background: radial-gradient(circle at 50% 40%, rgba(59,228,255,.14), transparent 60%), var(--surface); border: 1px solid var(--line); aspect-ratio: 1; overflow: hidden; perspective: 900px; cursor: grab; touch-action: pan-y; user-select: none; }
.viewer:active{ cursor: grabbing; }
.viewer .rot{ position: absolute; inset: 14%; transform-style: preserve-3d; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
.viewer .rot .art{ width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.viewer .deg{ position: absolute; left: 20px; bottom: 18px; font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.viewer .hint{ position: absolute; right: 20px; bottom: 18px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.viewer .hint i{ width: 26px; height: 16px; border-radius: 8px; border: 1.5px solid var(--muted); position: relative; }
.viewer .hint i::after{ content: ""; position: absolute; top: 3px; left: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint{ 50%{ left: 14px; } }
.viewer .orbit{ position: absolute; left: 50%; top: 50%; width: 76%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(59,228,255,.25); transform: translate(-50%, -50%) rotateX(74deg); }
.pd-info h1{ font-size: clamp(34px, 4vw, 54px); margin: 12px 0 10px; }
.pd-info .tl{ color: var(--muted); font-size: 17px; }
.pd-price{ display: flex; align-items: baseline; gap: 12px; margin: 22px 0; font-family: var(--display); font-size: 38px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pd-price s{ font-size: 17px; color: var(--muted); font-weight: 500; }
.pd-price .tag{ align-self: center; }
.opt{ margin-top: 22px; }
.opt h4{ font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; display: flex; gap: 8px; }
.opt h4 b{ color: var(--text); }
.bigsw{ display: flex; gap: 10px; }
.bigsw button{ width: 40px; height: 40px; border-radius: 12px; border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line-2); transition: transform .35s var(--spring), box-shadow .3s; }
.bigsw button.on{ box-shadow: 0 0 0 2px var(--cyan), 0 0 20px rgba(59,228,255,.5); transform: scale(1.08); }
.optbtns{ display: flex; flex-wrap: wrap; gap: 8px; }
.optbtns button{ min-height: 46px; padding: 0 16px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); font-weight: 500; font-size: 14.5px; text-align: left; transition: border-color .3s, background .3s; }
.optbtns button small{ color: var(--muted); margin-left: 6px; }
.optbtns button.on{ border-color: var(--cyan); background: rgba(59,228,255,.08); }
.buy{ display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.buy .qty{ margin: 0; height: 52px; border-radius: 14px; }
.buy .qty button{ width: 38px; height: 38px; }
.buy .btn{ flex: 1; min-width: 190px; }
.perks{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.perks div{ padding: 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.perks b{ display: block; color: var(--text); font-size: 14px; }
.specs{ margin-top: 30px; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; }
.specs div{ display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 14px 18px; font-size: 14.5px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(20px); transition: opacity .5s, transform .6s var(--ease); transition-delay: calc(var(--i) * .06s); }
.specs.in div{ opacity: 1; transform: none; }
.specs div:last-child{ border-bottom: 0; }
.specs dt{ color: var(--muted); } .specs dd{ margin: 0; font-weight: 500; }
.bundle{ margin-top: 30px; padding: 22px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.bundle h3{ font-size: 20px; margin-bottom: 14px; }
.bundle-items{ display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bundle-items label{ position: relative; width: 92px; height: 92px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 10px; cursor: pointer; transition: border-color .3s, opacity .3s; }
.bundle-items label:has(input:not(:checked)){ opacity: .4; }
.bundle-items label:has(input:checked){ border-color: var(--cyan); }
.bundle-items input{ position: absolute; top: 6px; right: 6px; accent-color: #3be4ff; }
.bundle-items .plus{ font-size: 22px; color: var(--muted); }
.bundle-total{ display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.bundle-total b{ font-family: var(--display); font-size: 22px; }
.sticky-buy{ position: fixed; left: 50%; bottom: 16px; z-index: 50; width: min(760px, calc(100% - 24px)); transform: translate(-50%, 140%); transition: transform .5s var(--spring); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 14px; border-radius: 18px; background: rgba(15,18,28,.9); border: 1px solid var(--line-2); backdrop-filter: blur(14px); }
.sticky-buy.on{ transform: translate(-50%, 0); }
.sticky-buy .s-art{ width: 44px; height: 44px; }
.sticky-buy b{ font-family: var(--display); }
.sticky-buy .btn{ margin-left: auto; }
@media (max-width: 960px){ .pd{ grid-template-columns: minmax(0, 1fr); gap: 26px; } .viewer{ position: relative; top: 0; } .perks{ grid-template-columns: 1fr; } .specs div{ grid-template-columns: 120px 1fr; } }

/* ---------- cart & checkout ---------- */
.stepper{ position: relative; display: flex; justify-content: space-between; margin: 10px 0 40px; }
.stepper::before, .stepper .fill{ content: ""; position: absolute; left: 20px; right: 20px; top: 19px; height: 3px; border-radius: 3px; background: var(--line-2); }
.stepper .fill{ right: auto; width: calc((100% - 40px) * var(--p, 0)); background: var(--grad); box-shadow: 0 0 14px rgba(59,228,255,.6); transition: width .8s var(--ease); }
.stepper .s{ position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.stepper .s i{ width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; background: var(--surface); border: 1px solid var(--line-2); transition: all .5s var(--spring); }
.stepper .s.on i{ background: var(--text); color: var(--bg); transform: scale(1.1) rotate(45deg); }
.stepper .s.on i span{ display: inline-block; transform: rotate(-45deg); }
.stepper .s.done i{ background: var(--cyan); color: #04121a; border-color: transparent; }
.stepper .s.on, .stepper .s.done{ color: var(--text); }
.cartpage{ display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 30px; align-items: start; padding-bottom: 60px; }
.panel{ padding: 26px; border-radius: 26px; background: var(--glass); border: 1px solid var(--line); }
.panel h3{ font-size: 24px; margin-bottom: 12px; }
.pane{ display: none; }
.pane.on{ display: block; animation: pane .55s var(--ease); }
@keyframes pane{ from{ opacity: 0; transform: translateY(16px); filter: blur(6px); } }
.frow{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px){ .frow{ grid-template-columns: 1fr; } }
.field{ display: block; margin-top: 12px; }
.field span{ display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea{ width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); outline: none; transition: border-color .25s, box-shadow .25s; }
.field textarea{ height: 90px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus{ border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(59,228,255,.12); }
.pay{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.pay label{ position: relative; padding: 16px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); cursor: pointer; transition: border-color .3s, transform .35s var(--spring), box-shadow .3s; }
.pay label:hover{ transform: translateY(-3px); }
.pay label:has(input:checked){ border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 10px 30px -14px rgba(59,228,255,.6); }
.pay input{ position: absolute; opacity: 0; }
.pay .ic{ font-size: 24px; }
.pay b{ display: block; margin-top: 8px; font-size: 14.5px; }
.pay small{ color: var(--muted); font-size: 12.5px; }
@media (max-width: 700px){ .pay{ grid-template-columns: 1fr; } }
.ship label{ display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); margin-top: 10px; cursor: pointer; transition: border-color .3s; }
.ship label:has(input:checked){ border-color: var(--cyan); }
.ship input{ accent-color: #3be4ff; }
.ship em{ margin-left: auto; font-style: normal; font-weight: 700; }
.ship small{ display: block; color: var(--muted); font-size: 12.5px; }
.actions{ display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.summary{ position: sticky; top: 96px; display: grid; gap: 12px; }
.sum{ display: flex; justify-content: space-between; font-size: 15px; }
.sum.total{ font-family: var(--display); font-size: 22px; font-weight: 700; padding-top: 14px; border-top: 1px solid var(--line); }
.sum .disc{ color: var(--lime); }
.voucher{ display: flex; gap: 8px; }
.voucher input{ flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px dashed var(--line-2); outline: none; text-transform: uppercase; letter-spacing: .08em; }
.voucher input:focus{ border-color: var(--cyan); border-style: solid; }
.v-msg{ font-size: 13px; min-height: 18px; color: var(--muted); }
.v-msg.ok{ color: var(--lime); } .v-msg.err{ color: var(--pink); }
.done-screen{ position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; background: rgba(6,7,12,.8); backdrop-filter: blur(10px); padding: 20px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.done-screen.on{ opacity: 1; pointer-events: auto; }
.done-box{ width: min(460px, 100%); text-align: center; padding: 40px 28px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line-2); transform: translateY(30px) scale(.94); transition: transform .7s var(--spring); }
.done-screen.on .done-box{ transform: none; }
.check{ width: 110px; height: 110px; margin: 0 auto 18px; }
.check circle{ fill: none; stroke: var(--cyan); stroke-width: 4; stroke-dasharray: 320; stroke-dashoffset: 320; transform: rotate(-90deg); transform-origin: center; filter: drop-shadow(0 0 10px var(--cyan)); }
.check path{ fill: none; stroke: var(--lime); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; }
.done-screen.on .check circle{ animation: draw .9s var(--ease) .2s forwards; }
.done-screen.on .check path{ animation: draw .5s var(--ease) 1s forwards; }
@keyframes draw{ to{ stroke-dashoffset: 0; } }
.done-box h3{ font-size: 32px; }
.spark{ position: fixed; z-index: 150; width: 6px; height: 6px; border-radius: 50%; pointer-events: none; }
@media (max-width: 960px){ .cartpage{ grid-template-columns: minmax(0, 1fr); } .summary{ position: static; } }

/* ---------- reveal ---------- */
.js .rv{ opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in{ opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv{ opacity: 1; transform: none; filter: none; }
  .hero h1 .w{ opacity: 1; filter: none; transform: none; }
  .specs div{ opacity: 1; transform: none; }
}

/* ---------- mobile refinements ---------- */
@media (max-width: 600px){
  .topbar{ font-size: 12px; gap: 6px; }
  .topbar .xtra{ display: none; }
  .show-info{ padding: 12px; gap: 10px; }
  .show-info > div:first-child{ flex: 1; min-width: 0; }
  .show-info .nm{ font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .show-info .tg{ display: none; }
  .card .price s{ display: none; }
  .card .info{ padding: 2px 12px 14px; }
  .card h3{ font-size: 15px; padding-right: 36px; }
  .card .add{ width: 36px; height: 36px; right: 10px; bottom: 10px; font-size: 20px; }
}
[data-back][hidden]{ display: none; }
