/* self-hosted fonts (no connection to Google — DSGVO) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/static/fonts/inter-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/static/fonts/space-grotesk-latin-wght-normal.woff2) format('woff2'); }
/* ============ tokens ============ */
:root {
  --bg: #07090f; --bg2: #0c0f17; --card: #111520; --card2: #171c29; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --text: #f4f4f6; --muted: #9a9aa6; --dim: #6b6b76;
  --ok: #22c55e; --warn: #f59e0b; --err: #ef4444; --star: #facc15;
  --r: 16px; --r-sm: 10px;
  --shadow: 0 10px 40px -12px rgba(0,0,0,.6);
  --ease: cubic-bezier(.2,.8,.2,1);
  --glow: color-mix(in srgb, var(--accent) 45%, transparent);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', Inter, sans-serif; line-height: 1.15; margin: 0; letter-spacing: -.02em; }
::selection { background: var(--accent); color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; margin-top: 36px; }
.mt { margin-top: 14px; }
.ic { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ============ announcement marquee ============ */
.announce { background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; overflow: hidden; white-space: nowrap; }
.announce-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.announce-group { display: flex; align-items: center; }
.announce span { padding: 9px 18px; }
.announce i { font-style: normal; opacity: .6; }
.announce:hover .announce-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ nav ============ */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(9,9,11,.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(9,9,11,.88); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.brand img { height: 34px; width: auto; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 45%, transparent)); transition: transform .4s var(--ease), filter .4s; }
.brand:hover img { transform: translateX(3px) skewX(-6deg); filter: drop-shadow(0 0 22px var(--accent)); }
.brand-word { font-style: italic; font-weight: 700; font-size: 19px; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.brand-word b { color: #eef2ff; font-weight: 700; }
.brand-word em { font-style: italic; color: var(--accent); background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: conic-gradient(from 200deg, var(--accent), var(--accent2), var(--accent)); box-shadow: 0 0 20px var(--glow); animation: spin 8s linear infinite; }
@keyframes spin { to { filter: hue-rotate(360deg); } }
.nav-links { display: flex; gap: 6px; }
.nav-links a { position: relative; padding: 8px 12px; color: var(--muted); font-weight: 500; border-radius: 8px; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a.on { color: var(--text); }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-search { position: relative; }
.nav-search input { width: 220px; height: 40px; padding: 0 14px 0 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg2); transition: width .35s var(--ease), border-color .2s; }
.nav-search input:focus { width: 280px; border-color: var(--accent); outline: none; }
.nav-search .ic { position: absolute; left: 12px; top: 10px; color: var(--dim); width: 18px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg2); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; position: relative; }
.icon-btn:hover { background: var(--card2); border-color: var(--line2); }
.icon-btn:active { transform: scale(.94); }
.nav-burger { display: none; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--bg); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.45); } 60% { transform: scale(.9); } }

/* ============ buttons ============ */
.btn { --bgc: var(--card2); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bgc); font-weight: 600; cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s, background .2s, opacity .2s; position: relative; overflow: hidden; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-primary { border: 0; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, var(--accent2))); box-shadow: 0 8px 30px -8px var(--glow); }
.btn-primary:hover { box-shadow: 0 14px 40px -8px var(--glow); }
.btn-primary::after, .btn-light::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover::after, .btn-light:hover::after { transform: translateX(120%); }
.btn-light { background: #fff; color: #0b0b0f; border-color: #fff; }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--card2); }
.full { width: 100%; }
.grow { flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; transition: color .2s, gap .25s var(--ease); }
.link-arrow:hover { color: var(--text); gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255,255,255,.04); font-size: 13px; color: var(--muted); }
.pill .ic { width: 16px; color: var(--accent2); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }

/* ============ hero ============ */
.hero { position: relative; padding: 110px 0 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 18s ease-in-out infinite; }
.o1 { width: 520px; height: 520px; background: var(--accent); top: -180px; left: -120px; }
.o2 { width: 460px; height: 460px; background: var(--accent2); top: 40px; right: -160px; opacity: .35; animation-delay: -6s; animation-duration: 22s; }
.o3 { width: 360px; height: 360px; background: #6366f1; bottom: -200px; left: 40%; opacity: .25; animation-delay: -12s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(60px,40px) scale(1.1); } 66% { transform: translate(-40px,20px) scale(.92); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(42px, 7.4vw, 92px); font-weight: 700; margin: 26px 0 20px; letter-spacing: -.04em; line-height: 1.02; }
.hero h1 .hl { display: block; }
.hero h1 .hl-1 { background: linear-gradient(100deg, var(--accent) 10%, var(--accent2) 50%, #a5b4fc 90%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 640px; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-cta .stars { vertical-align: -3px; }
.hero-stats { display: flex; gap: 12px; margin-top: 56px; flex-wrap: wrap; justify-content: center; }
.hero-stats div { min-width: 140px; padding: 16px 22px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(19,19,24,.6); backdrop-filter: blur(10px); }
.hero-stats b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 28px; }
.hero-stats span { color: var(--muted); font-size: 13px; }

/* ============ sections ============ */
.section { padding: 70px 0 20px; }
.section-sm { padding: 30px 0 60px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.center-head { flex-direction: column; align-items: center; text-align: center; }
.page-head { padding: 60px 0 30px; position: relative; }
.page-head::before { content: ''; position: absolute; inset: 0 0 auto; height: 300px; background: radial-gradient(ellipse 50% 100% at 50% 0, color-mix(in srgb, var(--accent) 22%, transparent), transparent); z-index: -1; pointer-events: none; }
.page-head.slim { padding: 40px 0 20px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 54px); }

.cats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding-top: 10px; }
.cat-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg2); color: var(--muted); font-weight: 500; font-size: 14px; transition: all .25s var(--ease); white-space: nowrap; }
.cat-chip small { color: var(--dim); font-size: 12px; }
.cat-chip .ic { width: 16px; }
.cat-chip:hover { color: var(--text); border-color: var(--line2); transform: translateY(-2px); }
.cat-chip.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent2))); }

/* ============ product grid & cards ============ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { position: relative; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--accent), transparent 40%, transparent 60%, var(--accent2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 2; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px var(--glow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg2); }
.card-media img, .card-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; }
.card:hover .card-media img, .card:hover .card-media .ph { transform: scale(1.07); }
.card-media .alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-media.has-alt .alt { opacity: 1; }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 1; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; background: #fff; color: #0b0b0f; font-style: normal; }
.badge-sale { background: var(--err); color: #fff; }
.badge-dark { background: rgba(0,0,0,.75); color: #fff; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.card h3 { font-family: Inter, sans-serif; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.card h3 a:hover { color: var(--accent2); }
.card-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 18px; font-weight: 700; }
.price s { color: var(--dim); font-size: 14px; }
.price em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); padding: 3px 9px; border-radius: 999px; }
.add-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent2))); transition: transform .3s var(--ease), box-shadow .3s; box-shadow: 0 6px 20px -6px var(--glow); }
.add-btn:hover { transform: rotate(90deg) scale(1.08); }
.add-btn:disabled { background: var(--card2); box-shadow: none; opacity: .5; }
.add-btn.ok { animation: pop .5s var(--ease); background: var(--ok); }
@keyframes pop { 40% { transform: scale(1.25); } }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 30% 20%, hsl(var(--h) 80% 60% / .55), transparent 55%), radial-gradient(circle at 80% 90%, hsl(calc(var(--h) + 60) 80% 55% / .45), transparent 55%), linear-gradient(135deg, hsl(var(--h) 30% 14%), hsl(calc(var(--h) + 40) 30% 8%)); }
.ph span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(38px, 5vw, 64px); color: rgba(255,255,255,.9); letter-spacing: -.04em; text-shadow: 0 8px 30px rgba(0,0,0,.4); }

/* stars */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.st { position: relative; width: 16px; height: 16px; }
.st svg { width: 100%; height: 100%; fill: rgba(255,255,255,.14); }
.st::after { content: ''; position: absolute; inset: 0; background: var(--star); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.6 2.9 5.9 6.5.9-4.7 4.6 1.1 6.4L12 17.4l-5.8 3 1.1-6.4L2.6 9.4l6.5-.9z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.6 2.9 5.9 6.5.9-4.7 4.6 1.1 6.4L12 17.4l-5.8 3 1.1-6.4L2.6 9.4l6.5-.9z'/%3E%3C/svg%3E") center/contain no-repeat; clip-path: inset(0 calc(100% - var(--f)) 0 0); }
.stars.lg .st { width: 22px; height: 22px; }

/* ============ features ============ */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feature { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, var(--card), var(--bg2)); transition: transform .4s var(--ease), border-color .3s; }
.feature:hover { transform: translateY(-4px); border-color: var(--line2); }
.feature-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 10px 30px -10px var(--glow); }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* ============ reviews ============ */
.reviews-sec { position: relative; }
.carousel { position: relative; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 16px 4px 26px; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel .review { flex: 0 0 min(340px, 82vw); scroll-snap-align: center; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: var(--line2); cursor: pointer; padding: 0; transition: width .35s var(--ease), background .3s; }
.dots button.on { width: 26px; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.review { margin: 0; padding: 28px 24px 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.review:hover { transform: translateY(-5px); border-color: var(--line2); box-shadow: var(--shadow); }
.review-avatar { width: 68px; height: 68px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 0 0 3px var(--card), 0 0 0 5px color-mix(in srgb, var(--accent) 45%, transparent); }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-avatar span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 26px; color: #fff; }
.review blockquote { margin: 0; color: #d4d4dc; font-size: 15.5px; line-height: 1.65; flex: 1; }
.review figcaption { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 13.5px; }
.review figcaption a { color: var(--dim); font-size: 12.5px; }
.review figcaption a:hover { color: var(--accent2); }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-size: 12px; font-weight: 600; }
.verified .ic { width: 14px; }
.sample-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); padding: 1px 7px; border-radius: 999px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.review-grid .review { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.score { display: flex; align-items: center; gap: 8px; }
.score b { font-size: 26px; font-family: 'Space Grotesk', sans-serif; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 16px; }
.rating-summary .big { font-family: 'Space Grotesk', sans-serif; font-size: 54px; font-weight: 700; line-height: 1; }
.rating-summary .big small { font-size: 20px; color: var(--dim); }
.bars { display: grid; gap: 4px; min-width: 240px; font-size: 12px; color: var(--muted); }
.bars div { display: grid; grid-template-columns: 26px 1fr 30px; align-items: center; gap: 8px; }
.bars i { height: 6px; border-radius: 6px; background: var(--card2); position: relative; overflow: hidden; }
.bars i::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: var(--star); }

/* ============ FAQ ============ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; transition: border-color .3s, background .3s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--card2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq-x { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg2); transition: transform .35s var(--ease), background .3s; flex: none; }
.faq-x .ic { width: 16px; }
.faq details[open] .faq-x { transform: rotate(45deg); background: var(--accent); }
.faq-a { padding: 0 22px 20px; color: var(--muted); animation: fadeDown .4s var(--ease); }
.faq-a p { margin: 0 0 8px; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 44px; border-radius: 24px; position: relative; overflow: hidden; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 30%, var(--card)), color-mix(in srgb, var(--accent2) 18%, var(--card))); border: 1px solid var(--line2); }
.cta-band::after { content: ''; position: absolute; width: 400px; height: 400px; right: -100px; top: -200px; border-radius: 50%; background: var(--accent2); filter: blur(100px); opacity: .3; animation: float 16s ease-in-out infinite; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.75); }

/* ============ payment strip / footer ============ */
.pay-strip { padding: 70px 0 50px; text-align: center; }
.pay-strip h3 { font-size: 20px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }
.coin-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.coin-chip { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; transition: transform .3s var(--ease), border-color .3s; }
.coin-chip:hover { transform: translateY(-3px); border-color: var(--line2); }
.coin { flex: none; }
.footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 56px 0 26px; margin-top: 20px; }
.footer-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand p { color: var(--muted); max-width: 320px; font-size: 14px; }
.footer h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer-in > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-in a:not(.brand) { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-in a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); transition: all .25s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ============ catalog toolbar ============ */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar-r { display: flex; gap: 10px; }
.field-inline { position: relative; display: flex; }
.field-inline .ic { position: absolute; left: 12px; top: 11px; width: 18px; color: var(--dim); }
.field-inline input { padding-left: 38px; width: 200px; }
:where(input:not([type=radio]):not([type=checkbox]):not([type=file]), select, textarea) { height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg2); outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
textarea { height: auto; padding: 12px 14px; resize: vertical; }
select { cursor: pointer; width: auto; }
:where(input, select, textarea):focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
:where(input)[aria-invalid=true] { border-color: var(--err); }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line2); border-radius: var(--r); color: var(--muted); }
.empty .ic { width: 42px; height: 42px; color: var(--dim); margin-bottom: 8px; }
.empty a { color: var(--accent2); text-decoration: underline; }

/* ============ product page ============ */
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--dim); padding: 26px 0 20px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.gallery { position: sticky; top: 94px; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); cursor: zoom-in; }
.gallery-main img, .gallery-main .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out, opacity .3s; }
.gallery-main.zoom img { transform: scale(1.8); }
.gallery-main .badge { position: absolute; top: 16px; left: 16px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumbs button { flex: 0 0 78px; height: 78px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--card); opacity: .6; transition: all .25s; }
.thumbs button.on, .thumbs button:hover { border-color: var(--accent); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox h1 { font-size: clamp(28px, 3.4vw, 42px); margin: 12px 0 8px; }
.subtitle { color: var(--muted); font-size: 16.5px; margin: 0 0 10px; }
.rating-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.price-lg { margin: 18px 0 10px; }
.price-lg b { font-size: 34px; font-family: 'Space Grotesk', sans-serif; }
.price-lg s { font-size: 18px; }
.stock { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ok); margin-bottom: 22px; }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: ping 2s infinite; }
.stock.low { color: var(--warn); }
.stock.out { color: var(--err); }
.stock.out i { animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 70%,100% { box-shadow: 0 0 0 10px transparent; } }
.buy-row { display: flex; gap: 12px; margin-bottom: 12px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line2); border-radius: 14px; background: var(--bg2); height: 52px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.qty button:hover { color: var(--text); }
.qty input { width: 44px !important; height: 100% !important; border: 0 !important; padding: 0 !important; text-align: center; background: none !important; box-shadow: none !important; -moz-appearance: textfield; font-weight: 600; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.trust { list-style: none; padding: 20px 0; margin: 20px 0; border-block: 1px solid var(--line); display: grid; gap: 10px; }
.trust li { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }
.trust .ic { color: var(--accent2); }
.desc, .prose { color: #cfcfd8; }
.desc h3, .desc h4, .desc h5, .prose h3, .prose h4, .prose h5 { margin: 18px 0 8px; color: var(--text); }
.desc ul, .prose ul, .prose ol { padding-left: 20px; }
.desc li, .prose li { margin: 4px 0; }
.desc a, .prose a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.desc code, .prose code { background: var(--card2); padding: 2px 6px; border-radius: 6px; font-size: .92em; }

/* ============ panels & forms ============ */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.panel h2 { font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.form label, .panel label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.span2 { grid-column: span 2; }
.hint { display: flex; align-items: center; gap: 6px; color: var(--dim); font-size: 13px; margin: 4px 0 0; }
.hint.center { justify-content: center; margin-top: 12px; }
.hint .ic { width: 16px; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 16px; border: 1px solid; }
.alert .ic { margin-top: 1px; }
.alert-err { color: #fecaca; background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.3); }
.alert-warn { color: #fde68a; background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.28); }
.alert-info { color: #c7d2fe; background: color-mix(in srgb, var(--accent) 10%, transparent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); align-items: center; }
.alert-info span { flex: 1; }
.alert a { text-decoration: underline; }
.alert.small { font-size: 13px; }

/* ============ checkout ============ */
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; padding-bottom: 40px; }
.co-main { display: grid; gap: 20px; }
.sticky { position: sticky; top: 94px; }
.coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.coin-opt { margin: 0 !important; cursor: pointer; }
.coin-opt input { position: absolute; opacity: 0; pointer-events: none; }
.coin-opt > span { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--bg2); transition: all .25s var(--ease); color: var(--text); }
.coin-opt > span > span { display: grid; line-height: 1.3; }
.coin-opt b { font-size: 15px; }
.coin-opt small { color: var(--dim); font-size: 12px; font-weight: 400; }
.coin-opt em { position: absolute; top: 6px; right: 8px; font-size: 10px; font-style: normal; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.coin-opt:hover > span { border-color: var(--muted); transform: translateY(-2px); }
.coin-opt input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg2)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.coin-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.co-lines { display: grid; gap: 14px; margin-bottom: 18px; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.line-img { position: relative; width: 56px; height: 56px; border-radius: 12px; overflow: visible; }
.line-img img, .line-img .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.line-img .ph span { font-size: 18px; }
.line-img b { position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; border-radius: 999px; background: var(--muted); color: #000; font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
.line-t { display: grid; }
.line-t small { color: var(--dim); }
.line-t .err { color: var(--err); font-size: 12px; }
.coupon { display: flex; gap: 8px; margin-bottom: 16px; }
.coupon input { text-transform: uppercase; }
.totals { display: grid; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); margin-bottom: 16px; font-size: 14px; }
.totals > div { display: flex; justify-content: space-between; }
.totals .disc { color: var(--ok); }
.totals .grand { font-size: 20px; font-weight: 700; padding-top: 8px; font-family: 'Space Grotesk', sans-serif; }
.skeleton { height: 56px; border-radius: 12px; background: linear-gradient(90deg, var(--card2) 25%, #24242d 50%, var(--card2) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ============ order page ============ */
.order-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.status-pill { padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; border: 1px solid; }
.st-awaiting_payment, .st-expired { color: #fde68a; border-color: rgba(245,158,11,.4); background: rgba(245,158,11,.08); }
.st-confirming { color: #bae6fd; border-color: rgba(56,189,248,.4); background: rgba(56,189,248,.08); }
.st-underpaid, .st-cancelled { color: #fecaca; border-color: rgba(239,68,68,.4); background: rgba(239,68,68,.08); }
.st-paid, .st-shipped, .st-completed { color: #bbf7d0; border-color: rgba(34,197,94,.4); background: rgba(34,197,94,.08); }
.order { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; padding-bottom: 40px; }
.order-main { display: grid; gap: 20px; }
.progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.progress li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); position: relative; text-align: center; }
.progress li::before { content: ''; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--line2); z-index: 0; }
.progress li:first-child::before { display: none; }
.progress li.done::before, .progress li.now::before { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.progress i { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; background: var(--card2); border: 2px solid var(--line2); }
.progress .ic { width: 18px; }
.progress li.done { color: var(--text); }
.progress li.done i { background: linear-gradient(135deg, var(--accent), var(--accent2)); border-color: transparent; color: #fff; }
.progress li.now { color: var(--text); }
.progress li.now i { border-color: var(--accent); box-shadow: 0 0 0 0 var(--glow); animation: pulse 1.8s infinite; }
@keyframes pulse { 70%,100% { box-shadow: 0 0 0 12px transparent; } 0% { box-shadow: 0 0 0 0 var(--glow); } }
.pay-grid { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.qr-wrap { position: relative; }
.qr { background: #fff; padding: 10px; border-radius: 16px; box-shadow: 0 20px 50px -20px var(--glow); }
.qr svg { width: 100%; height: auto; display: block; }
.qr-coin { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: #fff; border-radius: 50%; padding: 4px; display: grid; }
.pay-info { display: grid; gap: 18px; min-width: 0; }
.pay-row { display: grid; gap: 7px; }
.pay-row > span { font-size: 13px; color: var(--muted); font-weight: 500; }
.copy-field { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line2); min-width: 0; }
.copy-field code { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 14px; overflow-wrap: anywhere; flex: 1; min-width: 0; }
.copy-field.big code { font-size: 22px; font-weight: 700; flex: 0 1 auto; }
.copy-field.big b { flex: 1; color: var(--muted); }
.copy-field .icon-btn { width: 38px; height: 38px; flex: none; }
.copy-field .icon-btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.pay-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 13.5px; color: var(--muted); }
.pay-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.pay-meta .ic { width: 17px; }
.timer b { color: var(--text); font-variant-numeric: tabular-nums; }
.timer.late b { color: var(--err); }
.live .ic { color: var(--accent2); animation: spin2 3s linear infinite; }
@keyframes spin2 { to { transform: rotate(360deg); } }
.txid-form { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.txid-form label { margin: 0; }
.txid-form .row { display: flex; gap: 10px; }
.txid-form input { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.tx-msg { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.tx-msg a { color: var(--accent2); }
.tx-msg.err { color: #fca5a5; }
.delivered { position: relative; overflow: hidden; }
.delivered > h2 { color: var(--ok); }
.burst { position: absolute; inset: -40% -10% auto; height: 300px; background: radial-gradient(ellipse at top, rgba(34,197,94,.22), transparent 70%); pointer-events: none; }
.deliv { padding: 20px 0; border-top: 1px solid var(--line); position: relative; }
.deliv h3 { font-size: 18px; margin-bottom: 10px; }
.deliv h3 small { color: var(--dim); font-weight: 500; }
.dl { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-top: 10px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line2); transition: all .25s var(--ease); }
.dl:hover { border-color: var(--accent); transform: translateX(4px); }
.dl span { display: grid; }
.dl small { color: var(--dim); }
.dl .ic { color: var(--accent2); }
.review-form { margin-top: 16px; }
.review-form summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--accent2); font-weight: 600; font-size: 14px; }
.review-form form { margin-top: 14px; padding: 18px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); }
.rate-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 12px; }
.rate-input input { position: absolute; opacity: 0; }
.rate-input label { margin: 0 !important; font-size: 30px; color: rgba(255,255,255,.15); cursor: pointer; transition: color .15s, transform .15s; line-height: 1; }
.rate-input label:hover, .rate-input label:hover ~ label, .rate-input input:checked ~ label { color: var(--star); }
.rate-input label:hover { transform: scale(1.15); }
.file-in input { font-size: 13px; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13.5px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.meta dt { color: var(--dim); }
.meta dd { margin: 0; overflow-wrap: anywhere; }
.meta a { color: var(--accent2); display: inline-flex; gap: 4px; align-items: center; }
.meta .ic { width: 14px; }
.notfound { text-align: center; padding: 120px 0 60px; }
.nf-code { font-family: 'Space Grotesk', sans-serif; font-size: clamp(90px, 18vw, 180px); font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: float 8s ease-in-out infinite; }
.notfound h1 { margin: 10px 0; }
.notfound .btn { margin-top: 20px; }

/* ============ cart drawer ============ */
.drawer-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100vw); background: var(--bg2); border-left: 1px solid var(--line); z-index: 61; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease); }
.cart-open .drawer { transform: none; }
.cart-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.cart-open { overflow: hidden; }
.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: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; display: grid; gap: 14px; align-content: start; }
.drawer-foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; }
.drawer-foot small { color: var(--dim); text-align: center; }
.ci { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); animation: slideIn .45s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
.ci.leaving { animation: slideOut .35s var(--ease) forwards; }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes slideOut { to { opacity: 0; transform: translateX(40px); height: 0; padding: 0; margin: 0; } }
.ci-img { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; }
.ci-img img, .ci-img .ph { width: 100%; height: 100%; object-fit: cover; }
.ci-img .ph span { font-size: 22px; }
.ci-t { display: grid; gap: 6px; min-width: 0; }
.ci-t a { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.ci-row { display: flex; justify-content: space-between; align-items: center; }
.ci .qty { height: 34px; border-radius: 10px; }
.ci .qty button { width: 30px; }
.ci .qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; }
.ci .qty .ic { width: 15px; }
.ci-err { color: var(--err); font-size: 12px; }
.rm { background: none; border: 0; color: var(--dim); cursor: pointer; padding: 4px; border-radius: 6px; }
.rm:hover { color: var(--err); }
.rm .ic { width: 17px; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart-empty .ic { width: 54px; height: 54px; color: var(--dim); margin-bottom: 10px; }
.cart-empty .btn { margin-top: 16px; }

/* ============ toasts ============ */
.toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 80; display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: #1f1f27; border: 1px solid var(--line2); box-shadow: var(--shadow); font-size: 14px; font-weight: 500; animation: toastIn .45s var(--ease); pointer-events: auto; }
.toast .ic { color: var(--ok); }
.toast.err .ic { color: var(--err); }
.toast.out { animation: toastOut .35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.95); } }

/* flying dot for add-to-cart */
.fly { position: fixed; z-index: 90; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px var(--accent); pointer-events: none; transition: transform .7s cubic-bezier(.5,-.4,.7,.6), opacity .7s; }

/* ============ scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
main { animation: pageIn .6s var(--ease); }
@keyframes pageIn { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ responsive ============ */
@media (max-width: 1020px) {
  .product-grid, .checkout, .order { grid-template-columns: 1fr; }
  .gallery, .sticky { position: static; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .nav-search input { width: 160px; }
  .nav-search input:focus { width: 200px; }
}
@media (max-width: 820px) {
  .nav-burger { display: inline-grid; }
  .nav-in { gap: 12px; }
  .nav-links { position: fixed; left: 0; right: 0; top: 70px; flex-direction: column; padding: 14px 20px 22px; background: rgba(9,9,11,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .35s var(--ease); }
  .announce + .nav .nav-links { top: 70px; }
  .menu-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 8px; font-size: 17px; }
  .nav-search { display: none; }
  .hero { padding: 70px 0 60px; }
  .pay-grid { grid-template-columns: 1fr; }
  .qr-wrap { max-width: 240px; margin: 0 auto; width: 100%; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .center-head { align-items: center; }
  .toolbar-r { width: 100%; }
  .field-inline { flex: 1; }
  .field-inline input { width: 100%; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 12px; }
  .card h3 { font-size: 14px; }
  .price b { font-size: 16px; }
  .add-btn { width: 36px; height: 36px; }
  .hero-stats div { min-width: 0; flex: 1 1 40%; padding: 12px; }
  .panel { padding: 20px; border-radius: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .footer-in { grid-template-columns: 1fr; }
  .cta-band { padding: 28px; }
  .buy-row { flex-direction: column; }
  .qty { align-self: flex-start; }
  .progress span { font-size: 11px; }
  .copy-field.big code { font-size: 18px; }
  .txid-form .row { flex-direction: column; }
  .alert-info { flex-wrap: wrap; }
}


/* ============ JP Supply additions ============ */
.hero-logo { width: min(520px, 86vw); margin: -20px auto 6px; position: relative; }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 18px 50px color-mix(in srgb, var(--accent) 55%, transparent)); animation: logoFloat 6s ease-in-out infinite; }
.hero-logo::after { content: ''; position: absolute; inset: 20% 10% 10%; background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%); filter: blur(40px); z-index: -1; animation: glowPulse 4s ease-in-out infinite; }
@keyframes logoFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-.6deg); } }
@keyframes glowPulse { 50% { opacity: .55; transform: scale(1.08); } }
.speed-lines { position: absolute; inset: 0; overflow: hidden; }
.speed-lines i { position: absolute; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .5; animation: speed 3.6s linear infinite; }
.speed-lines i:nth-child(1) { top: 22%; width: 240px; animation-delay: 0s; }
.speed-lines i:nth-child(2) { top: 38%; width: 160px; animation-delay: -1.2s; animation-duration: 2.8s; }
.speed-lines i:nth-child(3) { top: 61%; width: 300px; animation-delay: -2.1s; animation-duration: 4.2s; }
.speed-lines i:nth-child(4) { top: 74%; width: 120px; animation-delay: -.6s; }
.speed-lines i:nth-child(5) { top: 12%; width: 190px; animation-delay: -2.8s; animation-duration: 3.1s; }
@keyframes speed { from { transform: translateX(110vw); } to { transform: translateX(-40vw); } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step-card { position: relative; padding: 28px 24px 24px; border-radius: var(--r); background: linear-gradient(180deg, var(--card), var(--bg2)); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.step-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.step-card h3 { font-size: 18px; margin: 14px 0 6px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.step-no { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-family: 'Space Grotesk'; font-weight: 700; font-style: italic; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 10px 30px -10px var(--glow); }
.step-card::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: var(--accent); opacity: .08; filter: blur(10px); }

.tax-line { color: var(--dim); font-size: 12.5px; text-align: center; margin: 22px 0 0; }
.tax-line.left { text-align: left; margin: -2px 0 14px; }
.review-notice { display: flex; gap: 10px; align-items: flex-start; margin: 26px auto 0; max-width: 820px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg2); color: var(--muted); font-size: 13px; }
.review-notice .ic { flex: none; width: 18px; color: var(--accent2); margin-top: 1px; }
.unverified { color: var(--dim); font-size: 11.5px; }
.rdate { color: var(--dim); font-size: 11.5px; }
.bank-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #1d4ed8, var(--accent2)); color: #fff; flex: none; }
.bank-mark .ic { width: 16px; }
.bank-mark.lg { width: 34px; height: 34px; }
.qr-cap { text-align: center; color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }
.check { display: flex !important; grid-template-columns: none; gap: 12px !important; align-items: flex-start; cursor: pointer; color: var(--text) !important; font-weight: 400 !important; font-size: 14px !important; line-height: 1.55; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; border: 1.5px solid var(--line2); background: var(--bg2); cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.check input::after { content: ''; width: 11px; height: 6px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); transition: transform .2s var(--ease); margin-top: -3px; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input[aria-invalid=true] { border-color: var(--err); box-shadow: 0 0 0 4px rgba(239,68,68,.15); }
.check a, .hint a, .consent-note a { color: var(--accent2); text-decoration: underline; text-underline-offset: 2px; }
.consent-note { display: flex; gap: 10px; align-items: flex-start; color: var(--dim); font-size: 12.5px; margin: 0; padding: 0 4px; }
.consent-note .ic { flex: none; width: 16px; margin-top: 2px; }
.inline-btns { display: flex; gap: 6px; }
.footer-logo { width: 190px; height: auto; margin-bottom: 8px; }

/* Meine Bestellungen */
.order-list { display: grid; gap: 12px; margin-bottom: 26px; }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.order-row:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.order-row b { font-family: 'Space Grotesk'; font-size: 17px; }
.order-row small { color: var(--dim); }
.order-row .items { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.order-row .right { display: flex; align-items: center; gap: 10px; }
.order-row .status-pill { padding: 4px 11px; font-size: 12.5px; }
.order-row .go { color: var(--accent2); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 4px; }

/* legal pages */
.legal h2 { font-size: 21px; margin: 30px 0 10px; }
.legal h3 { font-size: 16px; margin: 22px 0 6px; }
.legal p, .legal li { color: #c9ccd6; }
.legal mark.missing { background: rgba(245,158,11,.15); color: #fcd34d; padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.form-sample { border: 1px dashed var(--line2); border-radius: 14px; padding: 6px 20px; background: var(--bg2); }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .brand-word { display: none; }
  .hero-logo { margin-top: -30px; }
}
@media print {
  .announce, .nav, .pay-strip, .footer, .no-print, .drawer, .drawer-scrim, .toasts, .progress, #payBox .txid-form { display: none !important; }
  body { background: #fff; color: #000; }
  .panel, .order { background: #fff !important; border-color: #ccc !important; color: #000; grid-template-columns: 1fr !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .prose, .legal p, .muted, .meta dd, .totals { color: #000 !important; }
}

.legal-hint { color: var(--dim); font-size: 13px; margin: 6px 0 0 34px; }
.legal-hint a { color: var(--accent2); text-decoration: underline; text-underline-offset: 2px; }
