/* ─────────────────────────────────────────────────────────────
   MJ STUDIO — styles
   Colours taken from the script thumbnails: night black + lime.
   ───────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07090b;
  --bg-2: #0b0f12;
  --surface: #10151a;
  --surface-2: #151b21;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f2f5ef;
  --muted: #98a29c;
  --lime: #b4f22e;
  --lime-2: #86de17;
  --lime-ink: #0a0f02;
  --glow: rgba(180, 242, 46, 0.35);
  --glow-soft: rgba(180, 242, 46, 0.12);
  --danger: #ff6b6b;

  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1; position: relative; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.fill { fill: currentColor; stroke: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.hl { color: var(--lime); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: var(--lime-ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

.demo-bar { background: #2a2205; color: #ffe08a; text-align: center; font-size: 0.85rem; padding: 6px 12px; border-bottom: 1px solid #4a3d0b; }

/* ── Logo ─────────────────────────────────────────────────── */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); }
.logo-badge {
  display: inline-grid; place-items: center;
  padding: 4px 11px 4px 9px;
  background: linear-gradient(135deg, var(--lime), var(--lime-2));
  color: var(--lime-ink);
  font-weight: 900; font-style: italic; font-size: 1.05rem; letter-spacing: 0.02em;
  transform: skewX(-12deg);
  border-radius: 5px;
  box-shadow: 0 0 22px var(--glow-soft);
}
.logo-text { font-weight: 700; font-size: 0.95rem; letter-spacing: 0.14em; color: var(--muted); }
.logo-text b { color: var(--text); font-weight: 800; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px;
  border-radius: 12px; border: 1px solid transparent;
  font: 700 0.95rem/1 var(--font-body);
  cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { transition: transform 0.2s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--lime); color: var(--lime-ink); box-shadow: 0 6px 24px -8px var(--glow); }
.btn-primary:hover { background: #c2f84a; transform: translateY(-1px); box-shadow: 0 10px 30px -8px var(--glow); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(180, 242, 46, 0.55); color: var(--lime); }
.btn:disabled { opacity: 0.7; cursor: progress; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-color: var(--lime-ink) transparent var(--lime-ink) transparent;
  animation: spin 0.7s linear infinite;
}
.btn-ghost.is-loading::after { border-color: var(--lime) transparent var(--lime) transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer;
  color: var(--muted); transition: color 0.2s, border-color 0.2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-2); }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 9, 11, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 9, 11, 0.88); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a { padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 0.93rem; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s, background 0.2s; }
.nav > a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.cart-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: 4px;
  border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cart-btn:hover { border-color: rgba(180, 242, 46, 0.55); color: var(--lime); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 99px;
  background: var(--lime); color: var(--lime-ink); font: 800 0.72rem/1 var(--font-body);
  box-shadow: 0 0 0 3px var(--bg);
}
.cart-count[hidden] { display: none; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-bg, .page-glow { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero-bg {
  background:
    radial-gradient(600px 380px at 82% 30%, rgba(180, 242, 46, 0.14), transparent 70%),
    radial-gradient(500px 300px at 8% 90%, rgba(134, 222, 23, 0.07), transparent 70%);
}
.hero-bg::after {
  content: ''; 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 at 60% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 70%);
  opacity: 0.45;
}
.page-glow { height: 420px; background: radial-gradient(700px 300px at 70% 0%, rgba(180, 242, 46, 0.09), transparent 70%); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 800 0.78rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.16em; color: var(--lime);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 900; margin: 16px 0 18px; text-transform: uppercase; letter-spacing: -0.025em; }
.hero h1 .hl { font-style: italic; text-shadow: 0 0 40px var(--glow-soft); }
.lead { font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 10px;
  border: 1px solid rgba(180, 242, 46, 0.35); border-radius: 99px;
  font-size: 0.85rem; font-weight: 600; background: rgba(180, 242, 46, 0.05);
}
.chips svg { color: var(--lime); stroke-width: 2.6; }

/* Featured (latest release) */
.featured {
  position: relative; border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(180, 242, 46, 0.45);
  box-shadow: 0 0 0 1px rgba(180, 242, 46, 0.08), 0 30px 80px -30px rgba(180, 242, 46, 0.35), 0 20px 50px -20px #000;
  overflow: hidden;
}
.featured-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.featured:hover .featured-media img { transform: scale(1.03); }
.featured-body { padding: 20px 22px 22px; }
.featured-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font: 800 0.72rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.16em; color: var(--lime);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 var(--glow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 10px rgba(180, 242, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(180, 242, 46, 0); } }
.featured-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 900; text-transform: uppercase; }
.featured-title a:hover { color: var(--lime); }
.featured-desc { color: var(--muted); margin-top: 8px; font-size: 0.95rem; }
.featured-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.featured-actions { display: flex; gap: 10px; }

/* Prices */
.price { font: 800 1.05rem/1 var(--font-display); color: var(--text); display: inline-flex; align-items: baseline; gap: 8px; }
.price s { font: 600 0.85rem/1 var(--font-body); color: var(--muted); }
.price.is-free { color: var(--lime); text-transform: uppercase; font-style: italic; }
.price-lg { font-size: 1.5rem; }
.price-xl { font-size: 2.2rem; }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: clamp(48px, 7vw, 88px) 0; position: relative; }
.section-top { padding-top: clamp(24px, 4vw, 40px); }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.section-head { margin-bottom: 26px; max-width: 640px; }
.section-head h1, .section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; text-transform: uppercase; margin-bottom: 10px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px;
  border: 1px solid var(--line-2); font-weight: 600; font-size: 0.9rem; color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.chip small { font-size: 0.75rem; opacity: 0.7; }
.chip:hover { color: var(--text); border-color: rgba(180, 242, 46, 0.5); }
.chip.is-active { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }

/* ── Cards ────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card[hidden] { display: none; }
.card-link {
  display: flex; flex-direction: column; height: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.card-link:hover { transform: translateY(-4px); border-color: rgba(180, 242, 46, 0.5); box-shadow: 0 18px 40px -20px rgba(180, 242, 46, 0.35); }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card-link:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font: 700 0.72rem/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.card-title { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; margin: 8px 0 6px; }
.card-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.5; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.card-cta svg { transition: transform 0.2s var(--ease); }
.card-link:hover .card-cta { color: var(--lime); }
.card-link:hover .card-cta svg { transform: translateX(3px); }

.img-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(180, 242, 46, 0.15), transparent 60%), var(--bg-2); }
.img-fallback span { font: 900 italic 2.4rem/1 var(--font-display); color: var(--lime); opacity: 0.6; }
.empty { padding: 40px 0; }

/* ── Product page ─────────────────────────────────────────── */
.product { padding-top: clamp(20px, 3vw, 32px); padding-bottom: clamp(48px, 6vw, 80px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: 0.85rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current] { color: var(--text); }

.product-grid {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  grid-template-areas: 'media buy' 'content buy';
  column-gap: clamp(24px, 4vw, 44px); row-gap: clamp(32px, 4vw, 48px); align-items: start;
}
.product-media { grid-area: media; }
.buy-box { grid-area: buy; }
.product-content { grid-area: content; }
.gallery-main {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(180, 242, 46, 0.4); background: var(--bg-2);
  box-shadow: 0 30px 70px -35px rgba(180, 242, 46, 0.4);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: none; width: 112px; aspect-ratio: 16 / 9; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--bg-2); cursor: pointer; opacity: 0.6; transition: opacity 0.2s, border-color 0.2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb.is-active { opacity: 1; border-color: var(--lime); }

.buy-box {
  position: sticky; top: calc(var(--header-h) + 20px);
  padding: 26px; border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
}
.buy-box h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; text-transform: uppercase; margin: 12px 0 10px; }
.buy-lead { color: var(--muted); font-size: 0.95rem; }
.buy-price { margin: 22px 0 18px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buy-actions { display: grid; gap: 10px; }
.buy-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.buy-points li { display: flex; gap: 10px; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.buy-points svg { color: var(--lime); margin-top: 1px; }

.product-content { display: grid; gap: 40px; min-width: 0; }
.prose { color: #d6ddd4; font-size: 1rem; line-height: 1.75; }
.prose > h2:first-child { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; margin-bottom: 18px; color: var(--text); }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); margin: 1.6em 0 0.6em; font-size: 1.2rem; font-weight: 800; text-transform: uppercase; }
.prose p { margin: 0 0 1em; }
.prose a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.2em; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin: 0.45em 0; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 0.62em; width: 9px; height: 9px; background: var(--lime); transform: skewX(-12deg); border-radius: 2px; }
.prose ol { counter-reset: n; }
.prose ol li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; color: var(--lime); font-weight: 800; }
.prose img, .prose iframe, .prose video { max-width: 100%; border-radius: var(--radius-sm); margin: 1em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
.prose pre { background: var(--surface); border: 1px solid var(--line); padding: 16px; border-radius: var(--radius-sm); overflow: auto; }
.prose strong { color: var(--text); }

.videos h2 { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; margin-bottom: 18px; }
.yt, .yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 16px; }
.yt { position: relative; background: #000 center / cover no-repeat; cursor: pointer; padding: 0; }
.yt::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); border-radius: inherit; transition: background 0.2s; }
.yt:hover::before { background: rgba(0, 0, 0, 0.15); }
.yt-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-size: 1.6rem; padding-left: 5px; box-shadow: 0 0 40px var(--glow); }

/* ── Message pages (404 / errors) ─────────────────────────── */
.message { padding: clamp(60px, 12vw, 140px) var(--gutter); text-align: center; display: grid; justify-items: center; gap: 14px; }
.message-code { font: 900 italic clamp(4rem, 12vw, 7rem)/1 var(--font-display); color: var(--lime); text-shadow: 0 0 60px var(--glow); }
.message h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; font-weight: 900; }
.message .btn { margin-top: 12px; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 40px 0; margin-top: auto; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); margin-top: 12px; font-size: 0.92rem; }
.footer-meta { display: grid; gap: 8px; align-content: start; font-size: 0.9rem; }
.footer-meta p:first-child { display: inline-flex; align-items: center; gap: 8px; }
.footer-meta svg { color: var(--lime); }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.social { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.social:hover { color: var(--lime); border-color: rgba(180, 242, 46, 0.5); }

/* ── Cart drawer ──────────────────────────────────────────── */
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.25s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(420px, 100%); display: flex; flex-direction: column;
  background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 0.3s var(--ease); visibility: hidden;
}
.cart-open .drawer { transform: none; visibility: visible; }
.cart-open .drawer-backdrop { opacity: 1; }
.cart-open { overflow: hidden; }
.drawer:focus { outline: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.15rem; font-weight: 900; text-transform: uppercase; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; }
.drawer-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-foot .small { display: inline-flex; gap: 6px; align-items: center; justify-content: center; }
.drawer-foot .small svg { color: var(--lime); }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.drawer-total strong { font: 800 1.4rem/1 var(--font-display); }
.cart-user { margin-bottom: 14px; }
.cart-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.cart-item img, .cart-ph { width: 80px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.cart-info { display: grid; gap: 2px; min-width: 0; }
.cart-info strong { font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-info span { color: var(--muted); font-size: 0.85rem; }

/* ── Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: calc(100% - 32px);
  transform: translate(-50%, 12px); opacity: 0;
  padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 0.92rem;
  background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 16px 40px -12px #000;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-ok { border-color: rgba(180, 242, 46, 0.6); }
.toast.is-error { border-color: rgba(255, 107, 107, 0.6); }
.toast.is-warn { border-color: rgba(255, 210, 90, 0.6); }

/* ── Reveal animation (only when JS is on) ────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease) var(--d, 0ms), transform 0.6s var(--ease) var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; grid-template-areas: 'media' 'buy' 'content'; }
  .buy-box { position: static; }
  .hero { padding-top: 32px; }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .logo-text { display: none; }
  .nav > a:not(.nav-discord) { padding: 8px 10px; }
  .nav-discord span { display: none; }
  .hero h1 { margin-top: 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .featured-foot { align-items: stretch; flex-direction: column; }
  .featured-actions { width: 100%; }
  .featured-actions .btn { flex: 1; }
  .buy-box { padding: 20px; }
  .grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
