:root {
  --aqua: #00B8B0;
  --aqua-deep: #007A75;
  --aqua-glow: #2FE0D6;
  --coral: #FF5C6B;
  --coral-deep: #D93848;
  --orange: #FC6B3D;
  --ink: #0A0F14;
  --ink-2: #141B22;
  --ink-3: #1E262E;
  --ink-4: #2B3540;
  --chrome: #C7D0D6;
  --chrome-dim: #8A959D;
  --paper: #F5F5F0;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: var(--ink); color: var(--paper); font-family: var(--body); font-size: 15px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─────────── UTILITIES ─────────── */
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
.kicker { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--aqua); }
.h-display { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 0.95; }
.h-display em { font-style: italic; color: var(--coral); }
.sec-title { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.015em; }

/* ─────────── ANNOUNCE BAR ─────────── */
.announce { background: var(--ink-2); border-bottom: 1px solid var(--ink-3); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); padding: 10px 32px; display: flex; justify-content: space-between; align-items: center; }
.announce .dot { color: var(--aqua); }
.announce a { color: var(--chrome); }
.announce a:hover { color: var(--aqua); }

/* ─────────── HEADER ─────────── */
header { position: sticky; top: 0; z-index: 100; background: rgba(10,15,20,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ink-3); }
.hdr-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; padding: 16px 32px; max-width: 1360px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 56px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(0,184,176,0.15)); }
.logo .tag { font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: 0.2em; color: var(--chrome-dim); text-transform: uppercase; line-height: 1.5; border-left: 1px solid var(--ink-3); padding-left: 12px; white-space: nowrap; }
.logo .tag strong { color: var(--aqua); font-weight: 600; display: block; }
@media (max-width: 900px) { .logo .tag { display: none; } }

.nav { display: flex; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 6px; padding: 10px 12px; font-family: var(--display); font-weight: 600; font-size: 12.5px; letter-spacing: 0.01em; text-transform: uppercase; color: var(--chrome); border-radius: 4px; transition: all 0.15s; white-space: nowrap; }
.nav-item > a:hover { color: var(--paper); background: var(--ink-3); }
.nav-item > a .caret { font-size: 8px; opacity: 0.6; }
.nav-item.hot > a { color: var(--coral); }
.nav-item.hot > a::before { content: ''; width: 6px; height: 6px; background: var(--coral); border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.submenu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 8px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 0.18s; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.nav-item:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-size: 13px; color: var(--chrome); border-radius: 4px; }
.submenu a:hover { background: var(--ink-3); color: var(--paper); }
.submenu a .count { font-family: var(--mono); font-size: 10px; color: var(--chrome-dim); }
.submenu .divider { height: 1px; background: var(--ink-3); margin: 6px 0; }

.hamburger-btn { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 4px; color: var(--chrome); flex-shrink: 0; }
.hamburger-btn:hover { background: var(--ink-3); color: var(--paper); }
.hamburger-btn svg { width: 22px; height: 22px; }

/* Mobile nav drawer */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(5,8,12,0.6); backdrop-filter: blur(2px); z-index: 199; opacity: 0; transition: opacity 0.2s ease; }
.mobile-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw); background: var(--ink-2); border-left: 1px solid var(--ink-3); z-index: 200; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
body.mobile-nav-open .mobile-nav-overlay { display: block; opacity: 1; }
body.mobile-nav-open .mobile-nav { transform: translateX(0); }
body.mobile-nav-open { overflow: hidden; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--ink-3); flex-shrink: 0; }
.mobile-nav-head .logo img { height: 40px; }
.mobile-nav-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: var(--chrome); }
.mobile-nav-close:hover { background: var(--ink-3); color: var(--paper); }
.mobile-nav-close svg { width: 18px; height: 18px; }
.mobile-nav-links { display: flex; flex-direction: column; padding: 8px 12px; }
.mobile-nav-link { padding: 15px 12px; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.01em; text-transform: uppercase; color: var(--chrome); border-bottom: 1px solid var(--ink-3); }
.mobile-nav-link:hover { color: var(--paper); }
.mobile-nav-link.hot { color: var(--coral); }
.mobile-nav-link.active { color: var(--aqua); }
.mobile-nav-foot { margin-top: auto; padding: 16px 20px; border-top: 1px solid var(--ink-3); flex-shrink: 0; }
.mobile-nav-foot a { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--aqua); }
.mobile-nav-foot a svg { width: 16px; height: 16px; }

/* CART DRAWER — same slide-from-right pattern as .mobile-nav above, on its
   own body class so opening the cart doesn't fight the mobile nav drawer.
   See partials/cart-drawer.ejs (shell) + cart-drawer-content.ejs (fetched
   fragment) + public/js/cart-drawer.js. */
.cart-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(5,8,12,0.6); backdrop-filter: blur(2px); z-index: 199; opacity: 0; transition: opacity 0.2s ease; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); background: var(--ink-2); border-left: 1px solid var(--ink-3); z-index: 200; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.25s ease; }
body.cart-drawer-open .cart-drawer-overlay { display: block; opacity: 1; }
body.cart-drawer-open .cart-drawer { transform: translateX(0); }
body.cart-drawer-open { overflow: hidden; }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--ink-3); flex-shrink: 0; }
.cart-drawer-head h3 { font-family: var(--display); font-weight: 700; font-size: 17px; }
.cart-drawer-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: var(--chrome); flex-shrink: 0; }
.cart-drawer-close:hover { background: var(--ink-3); color: var(--paper); }
.cart-drawer-close svg { width: 18px; height: 18px; }
.cart-drawer-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.drawer-loading { padding: 40px 20px; text-align: center; color: var(--chrome-dim); font-family: var(--mono); font-size: 12px; }

.drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px 20px; text-align: center; }
.drawer-empty svg { width: 40px; height: 40px; color: var(--ink-4); }
.drawer-empty p { color: var(--chrome-dim); font-size: 14px; }

.drawer-items { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.drawer-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: flex-start; }
.drawer-item .img { aspect-ratio: 1; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.drawer-item .img.i1 { background: radial-gradient(circle at 30% 30%, #1E5EBB 0%, #0A1E3D 100%); }
.drawer-item .img.i2 { background: radial-gradient(circle at 30% 30%, #B45309 0%, #2C1810 100%); }
.drawer-item .img.i3 { background: radial-gradient(circle at 30% 30%, #6B21A8 0%, #1F0938 100%); }
.drawer-item .img .emo { font-size: 26px; }
.drawer-item .body { min-width: 0; }
.drawer-item .title { font-family: var(--display); font-weight: 600; font-size: 13px; line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drawer-item .attrs { display: flex; gap: 8px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--chrome-dim); margin-bottom: 8px; }
.drawer-item .attrs .status { color: var(--coral); }
.drawer-item-actions { display: flex; align-items: center; gap: 12px; }
.drawer-item-actions .qty-stepper { display: flex; align-items: center; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 6px; overflow: hidden; }
.drawer-item-actions .qty-stepper button { width: 28px; height: 28px; background: transparent; border: none; color: var(--paper); font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.drawer-item-actions .qty-stepper button:hover:not(:disabled) { background: var(--ink-3); }
.drawer-item-actions .qty-stepper button:disabled { color: var(--ink-4); cursor: not-allowed; }
.drawer-item-actions .qty-stepper .qty-val { width: 28px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 12px; }
.drawer-item-actions .remove-btn { background: none; border: none; color: var(--chrome-dim); cursor: pointer; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 6px; }
.drawer-item-actions .remove-btn:hover { color: var(--coral); }
.drawer-item-price { font-family: var(--display); font-weight: 700; font-size: 14px; white-space: nowrap; }

.drawer-summary { flex-shrink: 0; padding: 16px 20px 20px; border-top: 1px solid var(--ink-3); }
.drawer-summary-row { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.drawer-summary-note { font-size: 11px; color: var(--chrome-dim); margin-bottom: 4px; }
.drawer-view-cart { display: block; text-align: center; margin-top: 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--chrome); }
.drawer-view-cart:hover { color: var(--aqua); }

.hdr-right { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: var(--chrome); position: relative; transition: all 0.15s; }
.icon-btn:hover { background: var(--ink-3); color: var(--paper); }
.icon-btn svg { width: 18px; height: 18px; }
.cart-count { position: absolute; top: 4px; right: 4px; background: var(--coral); color: var(--ink); font-family: var(--mono); font-size: 9px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.search-box { display: flex; align-items: center; background: var(--ink-3); border-radius: 4px; padding: 0 12px; width: 240px; position: relative; }
.search-box svg { width: 16px; height: 16px; stroke-width: 2.4px; color: var(--chrome); flex-shrink: 0; }
.search-box input { background: transparent; border: none; outline: none; color: var(--paper); font-family: var(--body); font-size: 13px; padding: 10px 8px; width: 100%; }
.search-box input::placeholder { color: var(--chrome-dim); }
.search-box button { background: none; border: none; padding: 0; display: flex; cursor: pointer; }

/* Typeahead dropdown shared by the desktop header search and the mobile
   drawer's search box — see public/js/main.js's setupSearchTypeahead. */
.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--ink-2);
  border: 1px solid var(--ink-4);
  border-radius: 8px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.6);
  overflow: hidden;
  z-index: 100;
}
.search-suggest-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: var(--paper); }
.search-suggest-item:hover, .search-suggest-item.active { background: var(--ink-3); }
.search-suggest-thumb { width: 36px; height: 36px; border-radius: 6px; background: var(--ink-3); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.search-suggest-thumb img { width: 100%; height: 100%; object-fit: contain; }
.search-suggest-info { min-width: 0; flex: 1; }
.search-suggest-title { font-size: 13px; color: var(--paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggest-price { font-family: var(--mono); font-size: 11px; color: var(--aqua); margin-top: 2px; }

/* "Jump to category" rows, pinned above the product matches — see
   public/js/main.js's render(). Same row shape as a product suggestion, just
   with a rounded icon tile and a mono "count" line instead of a price. */
.search-suggest-category { border-bottom: 1px solid var(--ink-3); }
.search-suggest-category .search-suggest-thumb { border-radius: 50%; background: var(--ink-4); }
.search-suggest-category .search-suggest-title { color: var(--aqua); font-weight: 600; }
.search-suggest-jump { font-family: var(--mono); font-size: 12px; color: var(--chrome-dim); flex-shrink: 0; }

.mobile-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink-3);
  border-radius: 6px;
  padding: 0 12px;
  margin: 16px 20px 4px;
  position: relative;
}
.mobile-search-box input { background: transparent; border: none; outline: none; color: var(--paper); font-family: var(--body); font-size: 14px; padding: 12px 0; width: 100%; }
.mobile-search-box input::placeholder { color: var(--chrome-dim); }
.mobile-search-box button { background: none; border: none; padding: 0; display: flex; cursor: pointer; color: var(--chrome); flex-shrink: 0; }
.mobile-search-box svg { width: 16px; height: 16px; stroke-width: 2.4px; }

/* ─────────── HERO ─────────── */
.hero { position: relative; padding: 60px 0 80px; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,184,176,0.22) 0%, transparent 60%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -150px; left: -100px; width: 550px; height: 550px; background: radial-gradient(circle, rgba(255,92,107,0.18) 0%, transparent 60%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; z-index: 2; }
.hero-copy .kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: rgba(0,184,176,0.12); border: 1px solid var(--aqua-deep); border-radius: 999px; margin-bottom: 24px; }
.hero-copy .kicker .live-dot { width: 8px; height: 8px; background: var(--aqua); border-radius: 50%; animation: pulse 1.5s infinite; }
.hero-copy h1 { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 6vw, 82px); letter-spacing: -0.03em; line-height: 0.95; margin-bottom: 20px; }
.hero-copy h1 em { font-style: italic; color: var(--coral); }
.hero-copy .lede { font-size: 17px; color: var(--chrome); max-width: 46ch; margin-bottom: 32px; line-height: 1.55; }

/* Countdown — the signature holographic treatment */
.countdown { display: flex; gap: 12px; margin-bottom: 32px; }
.cd-block { flex: 1; text-align: center; padding: 16px 12px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 8px; position: relative; overflow: hidden; }
.cd-block::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(47,224,214,0.08) 45%, rgba(255,92,107,0.08) 55%, transparent 70%); background-size: 250% 250%; animation: holo 4s ease-in-out infinite; }
@keyframes holo { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cd-num { position: relative; font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; line-height: 1; background: linear-gradient(135deg, var(--aqua-glow) 0%, var(--paper) 50%, var(--coral) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cd-label { position: relative; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--chrome-dim); margin-top: 6px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 6px; font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; transition: all 0.18s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: var(--ink); box-shadow: 0 8px 24px rgba(255,92,107,0.25); }
.btn-primary:hover { background: #ff6f7d; box-shadow: 0 12px 32px rgba(255,92,107,0.35); }
.btn-ghost { background: transparent; color: var(--aqua); border: 1px solid var(--aqua-deep); }
.btn-ghost:hover { background: rgba(0,184,176,0.08); border-color: var(--aqua); }
.btn .arrow { font-family: var(--mono); font-weight: 400; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero product showcase */
.hero-stage { position: relative; height: 520px; }
.hero-card { position: absolute; border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 2px rgba(199,208,214,0.1); overflow: hidden; }
.hero-card.main { width: 280px; height: 400px; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg); z-index: 3; }
.hero-card.left { width: 220px; height: 316px; left: 8%; top: 30%; transform: rotate(-14deg); z-index: 1; opacity: 0.85; }
.hero-card.right { width: 220px; height: 316px; right: 4%; top: 25%; transform: rotate(12deg); z-index: 2; opacity: 0.9; }
.card-art { width: 100%; height: 100%; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; }
.card-art.charizard { background: linear-gradient(155deg, #FF8A3D 0%, #FF3D3D 45%, #7A1414 100%); }
.card-art.pikachu { background: linear-gradient(155deg, #FFE066 0%, #F5A623 45%, #8B5A00 100%); }
.card-art.blastoise { background: linear-gradient(155deg, #4FC3F7 0%, #1976D2 45%, #0D3B66 100%); }
.card-art::before { content: ''; position: absolute; inset: 6px; border: 2px solid rgba(255,255,255,0.4); border-radius: 8px; pointer-events: none; }
.card-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%); background-size: 200% 200%; animation: holo 5s ease-in-out infinite; pointer-events: none; }
.card-hdr { position: relative; display: flex; justify-content: space-between; font-family: var(--display); font-weight: 700; color: white; font-size: 14px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); z-index: 2; }
.card-hdr .hp { font-family: var(--mono); font-size: 11px; }
.card-body { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; z-index: 2; }
.card-body .creature { font-size: 100px; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4)); }
.card-ftr { position: relative; font-family: var(--mono); font-size: 9px; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 0.1em; z-index: 2; }
.hero-badge { position: absolute; top: 30px; right: -20px; background: var(--coral); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; padding: 8px 14px; border-radius: 4px; transform: rotate(8deg); box-shadow: 0 8px 20px rgba(255,92,107,0.4); z-index: 4; }

/* Hero — month-1 launch layout (no product art panel): copy on the left,
   the members give-away promo on the right, sign-up + coming-soon
   centered underneath. See views/partials/homepage/hero.ejs for why
   this is hardcoded. */
.hero-top { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: 32px; align-items: center; max-width: 1080px; margin: 0 auto; }
.hero-giveaway { display: block; width: 100%; max-width: 520px; margin: 0 0 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.6); transition: transform 0.2s; }
.hero-giveaway:hover { transform: translateY(-4px); }
.hero-giveaway img { display: block; width: 100%; height: auto; }
.hero-signup { max-width: 480px; margin: 0; background: linear-gradient(135deg, var(--aqua-deep) 0%, var(--ink) 70%); border: 1px solid var(--aqua-deep); border-radius: 14px; padding: 24px 28px; text-align: center; }
.hero-signup h3 { font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.hero-signup > p { font-size: 13px; color: var(--chrome); margin-bottom: 20px; }
.hero-soon-row { position: relative; z-index: 2; text-align: center; margin-top: 32px; }
.hero-soon { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); display: inline-flex; align-items: center; gap: 8px; }
.hero-soon strong { color: var(--paper); font-weight: 600; }
.hero-soon-dot { width: 6px; height: 6px; background: var(--coral); border-radius: 50%; animation: pulse 1.5s infinite; }

/* ─────────── CATEGORY RAIL ─────────── */
.cat-rail { padding: 40px 0 80px; }
.cat-rail .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
/* grid-template-columns is set per-request in the category_rail partial's
   own <style> block, sized to the real category count (capped at 7/4/2 per
   breakpoint below) so a partial row centers instead of hugging the left —
   and a later 7th category slots in without any code changes. */
.cat-grid { display: grid; justify-content: center; gap: 12px; }
.cat-tile { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--ink-3); transition: all 0.2s; cursor: pointer; }
.cat-tile:hover { transform: translateY(-3px); border-color: var(--aqua-deep); }
.cat-tile .bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 44px; }
.cat-tile .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,15,20,0.9) 100%); }
.cat-tile .label { position: absolute; bottom: 12px; left: 12px; right: 12px; font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: -0.005em; }
.cat-tile .label small { display: block; font-family: var(--mono); font-size: 9px; font-weight: 400; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.cat-tile .bg-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-tile .count-badge { position: absolute; top: 10px; right: 10px; background: rgba(10,15,20,0.75); backdrop-filter: blur(4px); color: var(--paper); font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.15); }
.cat-tile.t1 .bg { background: linear-gradient(135deg, #FFCB05 0%, #3B4CCA 100%); }
.cat-tile.t2 .bg { background: linear-gradient(135deg, #4A148C 0%, #E91E63 100%); }
.cat-tile.t3 .bg { background: linear-gradient(135deg, #B8860B 0%, #2C1810 100%); }
.cat-tile.t4 .bg { background: linear-gradient(135deg, var(--aqua-deep) 0%, var(--ink) 100%); }
.cat-tile.t5 .bg { background: linear-gradient(135deg, #D50000 0%, #FFD600 100%); }
.cat-tile.t6 .bg { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%); }
.cat-tile.t7 .bg { background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink-4) 100%); border: 1px solid var(--coral-deep); }
.cat-tile.t7 .label { color: var(--coral); }
.cat-tile.t7 .label small { color: var(--coral); }

/* ─────────── CLAIM SESSION TEASER ─────────── */
.claim-teaser { padding: 60px 0; }
.claim-inner { background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink) 100%); border: 1px solid var(--ink-3); border-radius: 16px; padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.claim-inner::before { content: ''; position: absolute; top: -80px; right: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,92,107,0.15) 0%, transparent 65%); }
.claim-copy { position: relative; }
.claim-copy .kicker { display: inline-block; margin-bottom: 16px; }
.claim-copy h2 { font-family: var(--display); font-weight: 700; font-size: 42px; letter-spacing: -0.025em; line-height: 1; margin-bottom: 16px; }
.claim-copy h2 em { font-style: italic; color: var(--coral); }
.claim-copy p { color: var(--chrome); font-size: 15px; max-width: 44ch; margin-bottom: 28px; line-height: 1.55; }
.claim-copy .meta-row { display: flex; gap: 24px; margin-bottom: 28px; }
.claim-copy .meta { }
.claim-copy .meta-label { font-family: var(--mono); font-size: 10px; color: var(--chrome-dim); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.claim-copy .meta-val { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--paper); }
.claim-copy .meta-val.aqua { color: var(--aqua); }
.claim-lock { position: relative; text-align: center; padding: 24px; background: rgba(10,15,20,0.4); border: 1px dashed var(--ink-4); border-radius: 10px; }
.claim-lock .lock-icon { width: 48px; height: 48px; margin: 0 auto 12px; background: var(--ink-3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--aqua); }
.claim-lock .lock-title { font-family: var(--display); font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.claim-lock .lock-body { font-size: 13px; color: var(--chrome-dim); margin-bottom: 16px; line-height: 1.5; }
.claim-lock .lock-actions { display: flex; gap: 8px; justify-content: center; }
.claim-lock .lock-actions a { font-family: var(--mono); font-size: 11px; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.1em; padding: 6px 10px; border: 1px solid var(--aqua-deep); border-radius: 4px; }
.claim-lock .lock-actions a:hover { background: rgba(0,184,176,0.08); }

/* ─────────── PRODUCT GRID ─────────── */
.products { padding: 40px 0; }
.products .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; gap: 20px; flex-wrap: wrap; }
.products .head .link { font-family: var(--mono); font-size: 12px; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.1em; }
.products .head .link:hover { color: var(--aqua-glow); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 10px; overflow: hidden; transition: all 0.2s; cursor: pointer; }
.prod-card:hover { transform: translateY(-4px); border-color: var(--aqua-deep); }
.prod-card .img { aspect-ratio: 1; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.prod-card .img.p1 { background: radial-gradient(circle at 30% 30%, #1E5EBB 0%, #0A1E3D 100%); }
.prod-card .img.p2 { background: radial-gradient(circle at 30% 30%, #6B21A8 0%, #1F0938 100%); }
.prod-card .img.p3 { background: radial-gradient(circle at 30% 30%, #B45309 0%, #2C1810 100%); }
.prod-card .img.p4 { background: radial-gradient(circle at 30% 30%, #B91C1C 0%, #3D0A0A 100%); }
.prod-card .img.p5 { background: radial-gradient(circle at 30% 30%, #047857 0%, #0A2E1E 100%); }
.prod-card .img.p6 { background: radial-gradient(circle at 30% 30%, #C2410C 0%, #3D1305 100%); }
.prod-card .img.p7 { background: radial-gradient(circle at 30% 30%, #7C2D12 0%, #1C0A03 100%); }
.prod-card .img.p8 { background: radial-gradient(circle at 30% 30%, #4338CA 0%, #0F0D3A 100%); }
.prod-card .img .emo { font-size: 84px; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5)); }
.prod-card .tag { position: absolute; top: 10px; left: 10px; padding: 4px 8px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; border-radius: 3px; }
.prod-card .tag.new { background: var(--aqua); color: var(--ink); }
.prod-card .tag.pre { background: var(--coral); color: var(--ink); }
.prod-card .tag.low { background: var(--orange); color: var(--ink); }
.prod-card .tag.limited { background: var(--orange); color: var(--ink); }
.prod-card .tag.almost-gone { background: var(--coral); color: var(--ink); }
.prod-card .tag.sold { background: var(--ink-4); color: var(--chrome-dim); }
.prod-card .body { padding: 14px 16px 16px; }
.prod-card .set { font-family: var(--mono); font-size: 10px; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.prod-card .title { font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.3; margin-bottom: 12px; letter-spacing: -0.005em; min-height: 36px; }
.prod-card .foot { display: flex; justify-content: space-between; align-items: baseline; }
.prod-card .price { font-family: var(--display); font-weight: 700; font-size: 18px; }
.prod-card .price small { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--chrome-dim); margin-left: 4px; }
.prod-card .stock { font-family: var(--mono); font-size: 10px; color: var(--aqua); }
.prod-card .stock.low { color: var(--orange); }
.prod-card .stock.limited { color: var(--orange); }
.prod-card .stock.almost-gone { color: var(--coral); }
.prod-card .stock.pre { color: var(--coral); }
.prod-card .stock.sold { color: var(--chrome-dim); }

/* New arrivals — wide horizontal cards, 3 per row (same shape as the
   graded showcase's .graded-grid/.graded-card below, kept as separate
   classes so the two sections can be restyled independently later). */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card-wide { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; background: var(--ink); padding: 20px; }
.prod-card-wide .img { aspect-ratio: 1; border-radius: 8px; }
.prod-card-wide .body { padding: 0; }
.prod-card-wide .title { min-height: 0; margin-bottom: 10px; }

/* ─────────── GRADED SHOWCASE ─────────── */
.graded { padding: 80px 0; background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 50%, var(--ink) 100%); }
.graded-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.graded-card { background: var(--ink); border: 1px solid var(--ink-3); border-radius: 12px; padding: 24px; display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; transition: all 0.2s; cursor: pointer; }
.graded-card:hover { border-color: var(--aqua-deep); transform: translateY(-3px); }
.graded-slab { aspect-ratio: 2.5/3.5; background: linear-gradient(180deg, rgba(199,208,214,0.15) 0%, rgba(199,208,214,0.05) 100%); border: 2px solid var(--chrome-dim); border-radius: 6px; padding: 8px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.grade-header { background: var(--ink); border-radius: 3px; padding: 6px 4px; text-align: center; }
.grade-co { font-family: var(--display); font-weight: 700; font-size: 11px; color: var(--paper); letter-spacing: 0.05em; }
.grade-num { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--coral); line-height: 1; margin-top: 2px; }
.grade-cert { font-family: var(--mono); font-size: 7px; color: var(--chrome-dim); margin-top: 2px; }
.grade-window { flex: 1; border-radius: 3px; position: relative; overflow: hidden; }
.grade-window::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%); background-size: 200% 200%; animation: holo 4s ease-in-out infinite; }
.grade-window .creature { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 46px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5)); }
.grade-window.has-photo::after { display: none; }
.grade-window.gw1 { background: linear-gradient(155deg, #FF8A3D 0%, #7A1414 100%); }
.grade-window.gw2 { background: linear-gradient(155deg, #FFE066 0%, #8B5A00 100%); }
.grade-window.gw3 { background: linear-gradient(155deg, #4FC3F7 0%, #0D3B66 100%); }
.graded-info .set { font-family: var(--mono); font-size: 10px; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; }
.graded-info .title { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 12px; line-height: 1.25; }
.graded-info .price { font-family: var(--display); font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.graded-info .cert { font-family: var(--mono); font-size: 10px; color: var(--chrome-dim); }
.graded-info .cert strong { color: var(--chrome); font-weight: 500; }

/* ─────────── TRUST BAR ─────────── */
.trust { padding: 60px 0; border-top: 1px solid var(--ink-3); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--ink-2); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--aqua); }
.trust-icon svg { width: 20px; height: 20px; }
.trust-item h4 { font-family: var(--display); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.trust-item p { font-size: 12px; color: var(--chrome-dim); line-height: 1.5; }

/* ─────────── NEWSLETTER ─────────── */
.news { padding: 80px 0; }
.news-inner { background: linear-gradient(135deg, var(--aqua-deep) 0%, var(--ink) 60%, var(--coral-deep) 130%); border-radius: 16px; padding: 60px 48px; text-align: center; position: relative; overflow: hidden; }
.news-inner::before { content: ''; position: absolute; inset: 1px; background: var(--ink); border-radius: 15px; z-index: 0; }
.news-inner > * { position: relative; z-index: 1; }
.news-inner .kicker { margin-bottom: 12px; }
.news-inner h2 { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.025em; margin-bottom: 12px; }
.news-inner h2 em { font-style: italic; color: var(--coral); }
.news-inner p { color: var(--chrome); margin-bottom: 28px; max-width: 50ch; margin-left: auto; margin-right: auto; }
.news-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.news-form input { flex: 1; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 6px; padding: 14px 16px; color: var(--paper); font-family: var(--body); font-size: 14px; outline: none; transition: border-color 0.15s; }
.news-form input:focus { border-color: var(--aqua); }
.news-form input::placeholder { color: var(--chrome-dim); }
.news-fine { font-family: var(--mono); font-size: 10px; color: var(--chrome-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 20px; }

/* ─────────── FOOTER ─────────── */
footer { background: var(--ink-2); border-top: 1px solid var(--ink-3); padding: 60px 0 30px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand .logo { margin-bottom: 16px; }
.foot-brand p { font-size: 13px; color: var(--chrome-dim); line-height: 1.6; margin-bottom: 16px; }
.foot-brand .shop-addr { font-family: var(--mono); font-size: 11px; color: var(--chrome); text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.7; }
.foot-brand .shop-addr strong { color: var(--aqua); font-weight: 600; }
.foot-col h5 { font-family: var(--display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--paper); margin-bottom: 16px; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { font-size: 13px; color: var(--chrome-dim); }
.foot-col a:hover { color: var(--aqua); }
.foot-bottom { padding-top: 24px; border-top: 1px solid var(--ink-3); display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); text-align: center; }
.foot-bottom .foot-sep { color: var(--ink-3); }
.foot-bottom .pays { display: flex; gap: 10px; align-items: center; }
.foot-bottom .pays .pay { padding: 4px 8px; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 4px; font-family: var(--display); font-weight: 600; font-size: 10px; color: var(--chrome); }
.foot-bottom .socials { display: flex; gap: 8px; }
.foot-bottom .socials a { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 4px; color: var(--chrome); }
.foot-bottom .socials a:hover { color: var(--aqua); border-color: var(--aqua-deep); }
.foot-bottom .socials svg { width: 14px; height: 14px; }
.foot-credit { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ink-3); text-align: center; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); }
.foot-credit a { color: var(--chrome-dim); }
.foot-credit a:hover { color: var(--aqua); }

/* Footer accordion — collapsed columns on mobile, toggled by public/js/main.js */
@media (max-width: 800px) {
  .foot-top { grid-template-columns: 1fr; gap: 0; }
  .foot-brand { margin-bottom: 8px; }
  .foot-col { border-top: 1px solid var(--ink-3); }
  .foot-col:last-child { border-bottom: 1px solid var(--ink-3); }
  .foot-col h5 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0; padding: 16px 0; cursor: pointer; }
  .foot-col h5::after { content: '+'; font-family: var(--body); font-weight: 400; font-size: 18px; color: var(--chrome-dim); }
  .foot-col.open h5::after { content: '\2212'; }
  .foot-col ul { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
  .foot-col.open ul { max-height: 320px; padding-bottom: 16px; }
}

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 1100px) {
  .nav { display: none; }
  .hamburger-btn { display: flex; }
  .search-box { width: 180px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { height: 400px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .graded-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .claim-inner { grid-template-columns: 1fr; padding: 32px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hero-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-giveaway { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .announce { padding: 8px 20px; font-size: 10px; }
  .announce .hide-sm { display: none; }
  .hdr-inner { padding: 14px 20px; gap: 20px; }
  .search-box { display: none; }
  .hero { padding: 40px 0 60px; }
  .hero-copy h1 { font-size: clamp(38px, 10vw, 56px); }
  .cd-num { font-size: 30px; }
  .hero-signup { padding: 24px 20px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .claim-copy h2 { font-size: 30px; }
  .claim-inner { padding: 24px; }
  .news-inner { padding: 40px 24px; }
  .news-inner h2 { font-size: 28px; }
  .news-form { flex-direction: column; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .trust-grid { grid-template-columns: 1fr; }
  .graded-card { grid-template-columns: 100px 1fr; padding: 16px; }
}

/* ═══════════════════ CATEGORY PAGE ═══════════════════ */

.nav-item.active > a { color: var(--aqua); background: rgba(0,184,176,0.08); }

/* Breadcrumbs */
.crumbs { padding: 20px 0 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); }
.crumbs a { color: var(--chrome-dim); transition: color 0.15s; }
.crumbs a:hover { color: var(--aqua); }
.crumbs .sep { margin: 0 8px; color: var(--ink-4); }
.crumbs .current { color: var(--aqua); }

/* Category header */
.cat-head { padding: 24px 0 32px; border-bottom: 1px solid var(--ink-3); position: relative; overflow: hidden; }
.cat-head::before { content: ''; position: absolute; top: 0; right: -100px; width: 400px; height: 300px; background: radial-gradient(circle, rgba(0,184,176,0.15) 0%, transparent 60%); pointer-events: none; }
.cat-head-inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cat-head h1 { font-family: var(--display); font-weight: 700; font-size: 52px; letter-spacing: -0.03em; line-height: 1; margin-bottom: 12px; }
.cat-head h1 em { font-style: italic; color: var(--coral); }
.cat-head .desc { color: var(--chrome); font-size: 15px; max-width: 60ch; line-height: 1.55; }
.cat-stats { display: flex; gap: 32px; align-items: baseline; }
.cat-stats .stat-num { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; color: var(--paper); line-height: 1; }
.cat-stats .stat-num em { color: var(--aqua); font-style: normal; }
.cat-stats .stat-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--chrome-dim); margin-top: 6px; }

/* Sub-category chips */
.sub-chips { padding: 24px 0; border-bottom: 1px solid var(--ink-3); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.sub-chips::-webkit-scrollbar { display: none; }
.sub-chips-row { display: flex; gap: 8px; flex-wrap: nowrap; padding-bottom: 4px; }
.sub-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 999px; font-family: var(--display); font-weight: 500; font-size: 13px; color: var(--chrome); white-space: nowrap; transition: all 0.15s; cursor: pointer; }
.sub-chip:hover { border-color: var(--aqua-deep); color: var(--paper); }
.sub-chip.active { background: var(--aqua); border-color: var(--aqua); color: var(--ink); font-weight: 600; }
.sub-chip .count { font-family: var(--mono); font-size: 10px; color: var(--chrome-dim); }
.sub-chip.active .count { color: rgba(10,15,20,0.6); }

/* Main layout */
.main { padding: 32px 0 80px; }
.main-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: flex-start; }

/* Filters sidebar */
.filters { position: sticky; top: 96px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: 20px; }
.filters-mobile-head { display: none; }
.filters-apply-bar { display: none; }
.filters-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink-3); }
.filters-head h3 { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.005em; }
.filters-head button { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--coral); cursor: pointer; border: none; background: none; }
.filters-head button:hover { text-decoration: underline; }

.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.active-filter { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: rgba(0,184,176,0.1); border: 1px solid var(--aqua-deep); border-radius: 4px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--aqua); }
.active-filter .x { cursor: pointer; opacity: 0.6; font-family: var(--body); font-size: 14px; line-height: 1; }
.active-filter .x:hover { opacity: 1; }

.filter-group { border-bottom: 1px solid var(--ink-3); padding: 16px 0; }
.filter-group:last-child { border-bottom: none; }
.filters-foot { margin-top: 16px; }
.filters-foot .btn { width: 100%; padding: 12px 20px; }
.filter-title { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--paper); cursor: pointer; padding: 4px 0; }
.filter-title .toggle { font-family: var(--mono); color: var(--chrome-dim); font-size: 10px; transition: transform 0.2s; }
.filter-group.collapsed .toggle { transform: rotate(-90deg); }
.filter-group.collapsed .filter-body { display: none; }
.filter-body { margin-top: 12px; }
.filter-search { width: 100%; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 4px; padding: 8px 10px; color: var(--paper); font-size: 12px; outline: none; margin-bottom: 8px; }
.filter-search:focus { border-color: var(--aqua-deep); }

.filter-option { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 13px; color: var(--chrome); }
.filter-option:hover { color: var(--paper); }
.filter-option input { position: absolute; opacity: 0; pointer-events: none; }
.filter-option .box { width: 16px; height: 16px; border: 1px solid var(--ink-4); border-radius: 3px; background: var(--ink-2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.filter-option .box::after { content: '✓'; color: var(--ink); font-size: 12px; font-weight: 700; opacity: 0; }
.filter-option input:checked ~ .box { background: var(--aqua); border-color: var(--aqua); }
.filter-option input:checked ~ .box::after { opacity: 1; }
.filter-option .label { flex: 1; }
.filter-option .count { font-family: var(--mono); font-size: 10px; color: var(--chrome-dim); }

/* Price range */
.price-range { padding: 8px 0; }
.price-inputs { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.price-inputs input { flex: 1; min-width: 0; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 4px; padding: 8px 10px; color: var(--paper); font-family: var(--mono); font-size: 12px; outline: none; }
.price-inputs input:focus { border-color: var(--aqua-deep); }
.price-inputs .dash { color: var(--chrome-dim); font-family: var(--mono); }
.price-slider { position: relative; height: 4px; background: var(--ink-3); border-radius: 2px; margin: 16px 8px; }
.price-slider .track { position: absolute; left: 15%; right: 25%; height: 100%; background: var(--aqua); border-radius: 2px; }
.price-slider .thumb { position: absolute; top: 50%; width: 14px; height: 14px; background: var(--aqua); border: 2px solid var(--ink); border-radius: 50%; transform: translate(-50%, -50%); cursor: pointer; }
.price-slider .thumb.left { left: 15%; }
.price-slider .thumb.right { left: 75%; }
.price-labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--chrome-dim); margin-top: 8px; }

/* Results controls */
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.results-count { font-size: 13px; color: var(--chrome); }
.results-count strong { color: var(--paper); font-family: var(--display); font-weight: 700; }
.results-controls { display: flex; align-items: center; gap: 12px; }
.sort-select { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 4px; padding: 10px 32px 10px 14px; color: var(--paper); font-family: var(--body); font-size: 13px; outline: none; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A959D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.sort-select:focus { border-color: var(--aqua-deep); }
.view-toggle { display: flex; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 4px; padding: 3px; }
.view-toggle button { padding: 6px 10px; border-radius: 3px; color: var(--chrome-dim); transition: all 0.15s; display: flex; align-items: center; }
.view-toggle button.active { background: var(--ink-3); color: var(--aqua); }
.view-toggle svg { width: 14px; height: 14px; }

/* Product tile grid — overlay style (category listing uses this instead of the homepage's prod-card) */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile-card { display: block; position: relative; aspect-ratio: 4/5; border-radius: 10px; overflow: hidden; border: 1px solid var(--ink-3); transition: all 0.25s; cursor: pointer; }
.tile-card:hover { transform: translateY(-4px); border-color: var(--aqua-deep); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.tile-card .img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform 0.4s ease; }
.tile-card:hover .img { transform: scale(1.06); }
.tile-card .img.p1 { background: radial-gradient(circle at 30% 30%, #1E5EBB 0%, #0A1E3D 100%); }
.tile-card .img.p2 { background: radial-gradient(circle at 30% 30%, #6B21A8 0%, #1F0938 100%); }
.tile-card .img.p3 { background: radial-gradient(circle at 30% 30%, #B45309 0%, #2C1810 100%); }
.tile-card .img.p4 { background: radial-gradient(circle at 30% 30%, #B91C1C 0%, #3D0A0A 100%); }
.tile-card .img.p5 { background: radial-gradient(circle at 30% 30%, #047857 0%, #0A2E1E 100%); }
.tile-card .img.p6 { background: radial-gradient(circle at 30% 30%, #C2410C 0%, #3D1305 100%); }
.tile-card .img.p7 { background: radial-gradient(circle at 30% 30%, #7C2D12 0%, #1C0A03 100%); }
.tile-card .img.p8 { background: radial-gradient(circle at 30% 30%, #4338CA 0%, #0F0D3A 100%); }
.tile-card .img.p9 { background: radial-gradient(circle at 30% 30%, #0EA5E9 0%, #082F49 100%); }
.tile-card .img.p10 { background: radial-gradient(circle at 30% 30%, #DC2626 0%, #450A0A 100%); }
.tile-card .img.p11 { background: radial-gradient(circle at 30% 30%, #A16207 0%, #292524 100%); }
.tile-card .img.p12 { background: radial-gradient(circle at 30% 30%, #059669 0%, #052E16 100%); }
.tile-card .img .emo { font-size: 96px; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5)); }
.tile-card .tag { position: absolute; top: 12px; left: 12px; padding: 5px 10px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; border-radius: 3px; z-index: 3; backdrop-filter: blur(4px); }
.tile-card .tag.new { background: var(--aqua); color: var(--ink); }
.tile-card .tag.pre { background: var(--coral); color: var(--ink); }
.tile-card .tag.low { background: var(--orange); color: var(--ink); }
.tile-card .tag.limited { background: var(--orange); color: var(--ink); }
.tile-card .tag.almost-gone { background: var(--coral); color: var(--ink); }
.tile-card .tag.sold { background: rgba(43,53,64,0.9); color: var(--chrome-dim); }
.tile-card .tag.sale { background: var(--coral); color: var(--ink); }
.tile-card .wish { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; background: rgba(10,15,20,0.55); backdrop-filter: blur(8px); border: 1px solid rgba(199,208,214,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--chrome); opacity: 0; transition: all 0.2s; z-index: 3; cursor: pointer; }
.tile-card:hover .wish { opacity: 1; }
.tile-card .wish:hover { color: var(--coral); background: rgba(10,15,20,0.85); border-color: var(--coral-deep); }
.tile-card .wish.active { opacity: 1; color: var(--coral); border-color: var(--coral-deep); }
.tile-card .wish svg { width: 15px; height: 15px; }
.tile-card .overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; background: linear-gradient(180deg, transparent 0%, rgba(10,15,20,0.94) 18%, rgba(10,15,20,0.99) 50%, rgba(10,15,20,0.99) 100%); z-index: 2; }
.tile-card .set { font-family: var(--mono); font-size: 10px; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.tile-card .title { font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.005em; color: var(--paper); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.tile-card .foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tile-card .price { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--paper); letter-spacing: -0.01em; }
.tile-card .price small { font-family: var(--mono); font-size: 9px; font-weight: 400; color: var(--chrome-dim); margin-left: 4px; letter-spacing: 0.05em; }
.tile-card .price .was { color: var(--chrome-dim); text-decoration: line-through; font-size: 13px; margin-right: 6px; font-weight: 400; }
.tile-card .stock { font-family: var(--mono); font-size: 10px; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
.tile-card .stock.low { color: var(--orange); }
.tile-card .stock.limited { color: var(--orange); }
.tile-card .stock.almost-gone { color: var(--coral); }
.tile-card .stock.pre { color: var(--coral); }
.tile-card .stock.sold { color: var(--chrome-dim); }

/* Load more */
.load-more-wrap { padding: 40px 0 20px; text-align: center; }
.load-more { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; background: transparent; color: var(--aqua); border: 1px solid var(--aqua-deep); border-radius: 6px; font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer; transition: all 0.18s; }
.load-more:hover { background: rgba(0,184,176,0.08); border-color: var(--aqua); transform: translateY(-2px); }
.pagination-info { font-family: var(--mono); font-size: 11px; color: var(--chrome-dim); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 16px; }
.pagination-info strong { color: var(--paper); }

/* Filter drawer toggle for mobile */
.filter-drawer-btn { display: none; }

@media (max-width: 1100px) {
  .cat-head h1 { font-size: 42px; }
  .main-grid { grid-template-columns: 220px 1fr; gap: 24px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .cat-head h1 { font-size: 34px; }
  .cat-stats { gap: 20px; }
  .main-grid { grid-template-columns: 1fr; }
  .filters { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--ink); border: none; border-radius: 0; z-index: 200; overflow-y: auto; padding: 0 20px 90px; }
  .filters.open { display: block; }
  .filters-mobile-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; margin: 0 -20px; padding: 16px 20px; position: sticky; top: 0; background: var(--ink); border-bottom: 1px solid var(--ink-3); z-index: 10; }
  .filters-mobile-head h3 { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
  .filters-mobile-head .close-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 6px; color: var(--paper); cursor: pointer; }
  .filters-mobile-head .close-btn svg { width: 16px; height: 16px; }
  .filters-head { padding-top: 16px; }
  .filters-foot { display: none; }
  .filters-apply-bar { display: none; gap: 10px; position: fixed; bottom: 0; left: 0; right: 0; padding: 14px 20px; background: var(--ink-2); border-top: 1px solid var(--ink-3); z-index: 210; }
  .filters-apply-bar.open { display: flex; }
  .filters-apply-bar .clear { flex: 0 0 auto; padding: 12px 16px; background: transparent; border: 1px solid var(--ink-4); border-radius: 6px; color: var(--chrome); font-family: var(--display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; }
  .filters-apply-bar .apply { flex: 1; padding: 12px 16px; background: var(--coral); color: var(--ink); border: none; border-radius: 6px; font-family: var(--display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; }
  .filter-drawer-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 4px; color: var(--paper); font-family: var(--display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; }
  .filter-drawer-btn svg { width: 14px; height: 14px; }
  .filter-drawer-btn .badge { background: var(--aqua); color: var(--ink); font-family: var(--mono); font-size: 10px; padding: 2px 6px; border-radius: 3px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tile-card .overlay { padding: 32px 12px 12px; }
  .tile-card .title { font-size: 13px; min-height: 34px; }
  .tile-card .price { font-size: 17px; }
}
@media (max-width: 480px) {
  .tile-grid { grid-template-columns: 1fr; }
  .cat-head h1 { font-size: 28px; }
}

/* ═══════════════════ PRODUCT PAGE ═══════════════════ */

/* Main product area */
.product { padding: 24px 0 60px; }
.product-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: flex-start; }

/* Gallery */
.gallery { position: sticky; top: 96px; }
.gallery-main { aspect-ratio: 1; background: radial-gradient(circle at 30% 30%, #1E5EBB 0%, #0A1E3D 100%); border-radius: 14px; border: 1px solid var(--ink-3); overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.gallery-main::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%); background-size: 200% 200%; animation: holo 6s ease-in-out infinite; pointer-events: none; }
.gallery-main .creature { font-size: 220px; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)); }
.gallery-main.has-photo::before { display: none; }
.gallery-main.has-photo {
  background: radial-gradient(circle at 26% 20%, #172630 0%, #0a0f14 72%);
  border-color: rgba(0,184,176,0.16);
  padding: 22px;
  box-shadow:
    0 26px 70px -18px rgba(0,0,0,0.7),
    0 0 100px -22px rgba(0,184,176,0.32),
    0 0 140px -32px rgba(255,92,107,0.2);
}
.photo-stage {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 30%, #f6f4ee 0%, #d9d6cd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(0,0,0,0.05);
}
.photo-stage img { width: 100%; height: 100%; border-radius: 4px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0,0,0,0.25)); }
.gallery-main .zoom-btn { position: absolute; bottom: 16px; right: 16px; width: 40px; height: 40px; background: rgba(10,15,20,0.65); backdrop-filter: blur(8px); border: 1px solid var(--ink-4); border-radius: 8px; color: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.gallery-main .zoom-btn:hover { background: rgba(10,15,20,0.85); }
.gallery-main .zoom-btn:disabled { cursor: not-allowed; opacity: 0.4; }
.gallery-main .zoom-btn svg { width: 16px; height: 16px; }
.gallery-main.has-photo { cursor: zoom-in; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(10,15,20,0.65); backdrop-filter: blur(8px); border: 1px solid var(--ink-4); border-radius: 50%; color: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.gallery-nav:hover { background: rgba(10,15,20,0.85); }
.gallery-nav svg { width: 18px; height: 18px; }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.lightbox-nav { position: fixed; width: 48px; height: 48px; z-index: 201; }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-nav svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
}

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(5,8,12,0.92); z-index: 200; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: fixed; top: 20px; right: 20px; width: 44px; height: 44px; background: rgba(10,15,20,0.75); backdrop-filter: blur(8px); border: 1px solid var(--ink-4); border-radius: 8px; color: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-close:hover { background: rgba(10,15,20,0.9); }
.lightbox-close svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .lightbox { padding: 16px; } }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.thumb { aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1px solid var(--ink-3); cursor: pointer; transition: all 0.15s; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.thumb:hover { border-color: var(--aqua-deep); }
.thumb.active { border-color: var(--aqua); box-shadow: 0 0 0 1px var(--aqua); }
.thumb.t1 { background: radial-gradient(circle at 30% 30%, #1E5EBB 0%, #0A1E3D 100%); }
.thumb.t2 { background: radial-gradient(circle at 30% 30%, #6B21A8 0%, #1F0938 100%); }
.thumb.t3 { background: radial-gradient(circle at 30% 30%, #059669 0%, #052E16 100%); }
.thumb.t4 { background: radial-gradient(circle at 30% 30%, #B45309 0%, #2C1810 100%); }
.thumb.t5 { background: radial-gradient(circle at 30% 30%, #B91C1C 0%, #3D0A0A 100%); }

/* Product info panel */
.info .set { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--aqua); margin-bottom: 12px; }
.info h1 { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 16px; }
.info h1 em { font-style: italic; color: var(--coral); }
.info .short { font-size: 15px; color: var(--chrome); line-height: 1.55; margin-bottom: 24px; }
.info .meta-row { display: flex; gap: 20px; margin-bottom: 24px; padding: 12px 0; border-top: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); }
.info .meta-row strong { color: var(--chrome); font-weight: 500; margin-right: 4px; }

/* Purchase card */
.purchase { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: 24px; margin-bottom: 20px; position: relative; }
.purchase .price-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--ink-3); }
.purchase .price { font-family: var(--display); font-weight: 700; font-size: 42px; letter-spacing: -0.03em; line-height: 1; }
.purchase .price small { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--chrome-dim); margin-left: 6px; letter-spacing: 0.05em; }
.purchase .status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.purchase .status-pill.preorder { background: rgba(255,92,107,0.12); border: 1px solid var(--coral-deep); color: var(--coral); }
.purchase .status-pill.preorder .dot { width: 6px; height: 6px; background: var(--coral); border-radius: 50%; animation: pulse 2s infinite; }
.purchase .status-pill.instock { background: rgba(0,184,176,0.12); border: 1px solid var(--aqua-deep); color: var(--aqua); }
.purchase .status-pill.instock .dot { width: 6px; height: 6px; background: var(--aqua); border-radius: 50%; }
.purchase .status-pill.soldout { background: rgba(138,149,157,0.12); border: 1px solid var(--chrome-dim); color: var(--chrome-dim); }
.purchase .status-pill.soldout .dot { width: 6px; height: 6px; background: var(--chrome-dim); border-radius: 50%; }
.purchase .status-pill.low, .purchase .status-pill.limited { background: rgba(252,107,61,0.12); border: 1px solid var(--orange); color: var(--orange); }
.purchase .status-pill.low .dot, .purchase .status-pill.limited .dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.purchase .status-pill.almost-gone { background: rgba(255,92,107,0.12); border: 1px solid var(--coral-deep); color: var(--coral); }
.purchase .status-pill.almost-gone .dot { width: 6px; height: 6px; background: var(--coral); border-radius: 50%; animation: pulse 2s infinite; }

/* Pre-order block */
.preorder-block { padding: 16px; background: var(--ink); border-radius: 8px; border: 1px solid var(--ink-3); margin-bottom: 20px; }
.preorder-block .po-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.preorder-block .po-row + .po-row { border-top: 1px solid var(--ink-3); }
.preorder-block .po-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); display: flex; align-items: center; gap: 8px; }
.preorder-block .po-label svg { width: 13px; height: 13px; color: var(--aqua); }
.preorder-block .po-val { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--paper); text-align: right; }
.preorder-block .po-val em { font-style: normal; color: var(--aqua); font-family: var(--mono); font-weight: 500; font-size: 12px; }
.preorder-block .allocation { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--ink-3); }
.preorder-block .alloc-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.preorder-block .alloc-label { color: var(--chrome-dim); }
.preorder-block .alloc-count { color: var(--coral); font-weight: 600; }
.preorder-block .alloc-bar { height: 6px; background: var(--ink-3); border-radius: 3px; overflow: hidden; }
.preorder-block .alloc-fill { height: 100%; background: linear-gradient(90deg, var(--aqua) 0%, var(--coral) 100%); border-radius: 3px; position: relative; overflow: hidden; }
.preorder-block .alloc-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%); background-size: 200% 200%; animation: holo 3s ease-in-out infinite; }

/* Qty + CTA */
.qty-row { display: flex; gap: 12px; margin-bottom: 16px; }
.qty-stepper { display: flex; align-items: center; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 8px; overflow: hidden; }
.qty-stepper button { width: 44px; height: 48px; color: var(--paper); font-size: 18px; cursor: pointer; transition: background 0.15s; display: flex; align-items: center; justify-content: center; }
.qty-stepper button:hover:not(:disabled) { background: var(--ink-3); }
.qty-stepper button:disabled { color: var(--ink-4); cursor: not-allowed; }
.qty-stepper .qty-val { width: 48px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--paper); }
.cta-add { flex: 1; padding: 14px 24px; background: var(--coral); color: var(--ink); border: none; border-radius: 8px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer; transition: all 0.18s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.cta-add:hover:not(:disabled) { background: #ff6f7d; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,92,107,0.3); }
.cta-add:disabled { background: var(--ink-4); color: var(--chrome-dim); cursor: not-allowed; }
.cta-add .arrow { font-family: var(--mono); font-weight: 400; }
.limit-note { font-family: var(--mono); font-size: 11px; color: var(--chrome-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; text-align: center; }
.limit-note strong { color: var(--coral); font-weight: 600; }

/* Acknowledgement */
.ack { display: flex; gap: 12px; padding: 14px; background: rgba(255,92,107,0.05); border: 1px solid rgba(217,56,72,0.3); border-radius: 8px; cursor: pointer; margin-bottom: 16px; align-items: flex-start; transition: border-color 0.15s; }
.ack:hover { border-color: var(--coral-deep); }
.ack.checked { background: rgba(0,184,176,0.05); border-color: var(--aqua-deep); }
.ack input { position: absolute; opacity: 0; pointer-events: none; }
.ack .box { width: 18px; height: 18px; border: 1.5px solid var(--coral); border-radius: 4px; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.ack.checked .box { background: var(--aqua); border-color: var(--aqua); }
.ack .box::after { content: '✓'; color: var(--ink); font-size: 12px; font-weight: 700; opacity: 0; transition: opacity 0.15s; }
.ack.checked .box::after { opacity: 1; }
.ack .text { font-size: 12.5px; line-height: 1.5; color: var(--chrome); }
.ack .text strong { color: var(--coral); }
.ack.checked .text strong { color: var(--aqua); }

/* Secondary actions */
.sec-actions { display: flex; gap: 10px; margin-bottom: 24px; }
.sec-btn { flex: 1; min-width: 0; padding: 12px 8px; background: transparent; border: 1px solid var(--ink-3); border-radius: 8px; color: var(--chrome); font-family: var(--display); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; transition: all 0.15s; }
.sec-btn:hover { border-color: var(--aqua-deep); color: var(--paper); }
.sec-btn svg { width: 14px; height: 14px; }
.sec-static { cursor: default; }
.sec-static:hover { border-color: var(--ink-3); color: var(--chrome); }

.share-wrap { position: relative; flex: 1; min-width: 0; }
.share-wrap .sec-btn { width: 100%; }
.share-menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 180px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 8px; padding: 6px; z-index: 20; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.share-menu[hidden] { display: none; }
.share-menu-item { width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 10px; background: transparent; border: none; border-radius: 4px; color: var(--chrome); font-family: var(--body); font-size: 12.5px; cursor: pointer; text-align: left; transition: all 0.15s; }
.share-menu-item:hover { background: var(--ink-3); color: var(--paper); }
.share-menu-item svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Trust badges (product page's compact variant — scoped under .trust-list so it
   doesn't collide with the homepage's .trust-grid .trust-item layout) */
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.trust-badge { display: flex; gap: 10px; align-items: flex-start; padding: 10px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 8px; }
.trust-badge svg { width: 20px; height: 20px; color: var(--aqua); flex-shrink: 0; margin-top: 2px; }
.trust-badge h5 { font-family: var(--display); font-weight: 600; font-size: 12px; margin-bottom: 2px; }
.trust-badge p { font-size: 11px; color: var(--chrome-dim); line-height: 1.4; }

/* Details tabs */
.details { padding: 40px 0 60px; border-top: 1px solid var(--ink-3); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--ink-3); margin-bottom: 32px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 14px 20px; background: none; border: none; color: var(--chrome-dim); font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; cursor: pointer; position: relative; white-space: nowrap; transition: color 0.15s; }
.tab:hover { color: var(--chrome); }
.tab.active { color: var(--aqua); }
.tab.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--aqua); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.panel-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: flex-start; }
.panel-grid.no-specs { grid-template-columns: 1fr; }
.panel-copy h3 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; margin-bottom: 16px; }
.panel-copy p { color: var(--chrome); line-height: 1.65; margin-bottom: 16px; font-size: 15px; }
.panel-copy ul { list-style: none; padding: 0; margin: 20px 0; }
.panel-copy li { padding: 10px 0 10px 24px; position: relative; color: var(--chrome); border-bottom: 1px solid var(--ink-3); }
.panel-copy li::before { content: '→'; position: absolute; left: 0; top: 10px; color: var(--aqua); font-family: var(--mono); }
.panel-copy li strong { color: var(--paper); font-weight: 600; }
.specs { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: 24px; }
.specs h4 { font-family: var(--display); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--aqua); margin-bottom: 16px; }
.spec-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--ink-3); font-size: 13px; }
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--chrome-dim); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.spec-val { color: var(--paper); font-family: var(--display); font-weight: 500; text-align: right; }
.spec-val.mono { font-family: var(--mono); font-size: 12px; font-weight: 400; }

/* Related products */
.related { padding: 60px 0 80px; border-top: 1px solid var(--ink-3); }
.related h2 { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.015em; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Recently viewed carousel (PDP + category pages) — see
   partials/recently-viewed.ejs. A native horizontally-scrolling row rather
   than a JS-driven slider; the prev/next buttons are just scrollBy() sugar
   on top (public/js/main.js) — touch/trackpad swipe already works without them. */
.recently-viewed { padding: 60px 0 80px; border-top: 1px solid var(--ink-3); }
.recently-viewed .section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.recently-viewed .section-head h2 { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.015em; }
.carousel-controls { display: flex; gap: 8px; flex-shrink: 0; }
.carousel-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--ink-3); color: var(--chrome); background: var(--ink-2); cursor: pointer; transition: all 0.15s; }
.carousel-btn:hover { color: var(--paper); border-color: var(--aqua-deep); }
.carousel-btn svg { width: 15px; height: 15px; }
.carousel-row { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 4px; }
.carousel-row::-webkit-scrollbar { display: none; }
.carousel-row .tile-card { flex: 0 0 220px; scroll-snap-align: start; }

@media (max-width: 800px) {
  .recently-viewed .section-head h2 { font-size: 20px; }
  .carousel-row .tile-card { flex-basis: 160px; }
}

/* Mobile sticky cart bar */
.mobile-cart-bar { display: none; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .gallery { position: static; }
  .info h1 { font-size: 32px; }
  .panel-grid { grid-template-columns: 1fr; gap: 32px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .info h1 { font-size: 26px; }
  .purchase { padding: 20px; }
  .purchase .price { font-size: 34px; }
  .purchase .price-row { flex-wrap: wrap; gap: 10px; }
  .preorder-block .po-row { flex-wrap: wrap; gap: 4px; }
  .preorder-block .alloc-head { flex-wrap: wrap; gap: 4px; }
  .gallery-main .creature { font-size: 140px; }
  .gallery-main.has-photo { padding: 14px; }
  .photo-stage { padding: 16px; }
  .gallery-thumbs { gap: 6px; }
  .thumb { font-size: 26px; }
  .trust-list { grid-template-columns: 1fr; }
  .meta-row { flex-direction: column; gap: 6px !important; }
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .qty-row { flex-direction: column; align-items: stretch; }
  .qty-stepper { align-self: flex-start; }
  .mobile-cart-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: var(--ink-2); border-top: 1px solid var(--ink-3); gap: 12px; align-items: center; z-index: 90; }
  .mobile-cart-bar .price-block { flex-shrink: 0; }
  .mobile-cart-bar .price-block .p { font-family: var(--display); font-weight: 700; font-size: 20px; }
  .mobile-cart-bar .price-block .p small { font-family: var(--mono); font-size: 9px; color: var(--chrome-dim); display: block; }
  .mobile-cart-bar .btn { flex: 1; padding: 14px; background: var(--coral); color: var(--ink); border: none; border-radius: 6px; font-family: var(--display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; }
  .mobile-cart-bar .btn:disabled { background: var(--ink-4); color: var(--chrome-dim); }
  body.has-mobile-cart-bar { padding-bottom: 80px; }
}

/* ═══════════════════ CART PAGE ═══════════════════ */

.icon-btn.active { color: var(--aqua); background: rgba(0,184,176,0.08); }

/* Page head */
.page-head { padding: 24px 0 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.page-head h1 { font-family: var(--display); font-weight: 700; font-size: 44px; letter-spacing: -0.025em; line-height: 1; }
.page-head h1 em { font-style: italic; color: var(--coral); }
.page-head .count { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); }
.page-head .count strong { color: var(--aqua); }

/* Reservation timer */
.reserve-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: linear-gradient(90deg, rgba(0,184,176,0.08) 0%, rgba(255,92,107,0.06) 100%); border: 1px solid var(--ink-3); border-radius: 10px; margin-bottom: 32px; gap: 20px; flex-wrap: wrap; }
.reserve-info { display: flex; align-items: center; gap: 12px; }
.reserve-icon { width: 32px; height: 32px; background: rgba(0,184,176,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--aqua); flex-shrink: 0; }
.reserve-icon svg { width: 16px; height: 16px; }
.reserve-text { font-size: 13px; line-height: 1.4; }
.reserve-text strong { color: var(--paper); font-family: var(--display); font-weight: 600; }
.reserve-text small { display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); margin-top: 2px; }
.reserve-timer { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; background: linear-gradient(135deg, var(--aqua-glow) 0%, var(--paper) 50%, var(--coral) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 76px; text-align: right; }
.reserve-timer.warning { animation: pulse-warn 0.8s ease-in-out infinite; }
@keyframes pulse-warn { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* Main grid */
.cart-main { padding: 0 0 60px; }
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: flex-start; }

/* Cart items */
.items-group { margin-bottom: 32px; }
.items-group-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ink-3); }
.items-group-head h3 { font-family: var(--display); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
.items-group-head .group-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.items-group-head .group-badge.stock { background: rgba(0,184,176,0.12); color: var(--aqua); }
.items-group-head .group-badge.pre { background: rgba(255,92,107,0.12); color: var(--coral); }
.items-group-head .group-note { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--chrome-dim); margin-left: auto; }

.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 20px; padding: 20px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 10px; margin-bottom: 10px; align-items: center; transition: border-color 0.15s; }
.cart-item.pre { border-color: rgba(217,56,72,0.3); }
.cart-item .img { aspect-ratio: 1; border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.cart-item .img.i1 { background: radial-gradient(circle at 30% 30%, #1E5EBB 0%, #0A1E3D 100%); }
.cart-item .img.i2 { background: radial-gradient(circle at 30% 30%, #B45309 0%, #2C1810 100%); }
.cart-item .img.i3 { background: radial-gradient(circle at 30% 30%, #6B21A8 0%, #1F0938 100%); }
.cart-item .img .emo { font-size: 44px; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.5)); }
.cart-item .body { min-width: 0; }
.cart-item .set { font-family: var(--mono); font-size: 10px; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.cart-item .title { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.005em; line-height: 1.25; margin-bottom: 6px; }
.cart-item .attrs { display: flex; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); margin-bottom: 10px; }
.cart-item .attrs .sku { color: var(--chrome-dim); }
.cart-item .attrs .status { color: var(--coral); }
.cart-item .actions { display: flex; align-items: center; gap: 16px; }
.cart-item .actions .qty-stepper { display: flex; align-items: center; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 6px; overflow: hidden; }
.cart-item .actions .qty-stepper button { width: 32px; height: 34px; background: transparent; border: none; color: var(--paper); font-size: 15px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.cart-item .actions .qty-stepper button:hover:not(:disabled) { background: var(--ink-3); }
.cart-item .actions .qty-stepper button:disabled { color: var(--ink-4); cursor: not-allowed; }
.cart-item .actions .qty-stepper .qty-val { width: 34px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--paper); background: transparent; }
.cart-item .actions .remove-btn { background: none; border: none; color: var(--chrome-dim); cursor: pointer; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 8px; border-radius: 3px; transition: color 0.15s; }
.cart-item .actions .remove-btn:hover { color: var(--coral); }
.cart-item .pricing { text-align: right; }
.cart-item .unit-line { font-family: var(--mono); font-size: 11px; color: var(--chrome-dim); margin-bottom: 4px; }
.cart-item .subtotal { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.cart-item .subtotal small { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--chrome-dim); margin-left: 4px; letter-spacing: 0.05em; }

/* Warnings */
.cart-notice { padding: 12px 14px; background: rgba(252,107,61,0.08); border: 1px solid rgba(252,107,61,0.3); border-radius: 8px; margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.cart-notice svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.cart-notice .content { color: var(--chrome); line-height: 1.5; }
.cart-notice .content strong { color: var(--orange); }

/* Continue shopping link */
.continue-link { display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--aqua); margin-top: 8px; }
.continue-link:hover { color: var(--aqua-glow); }

/* Order summary */
.summary { position: sticky; top: 96px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: 28px; }
.summary h2 { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ink-3); }

.promo-row { display: flex; gap: 8px; margin-bottom: 20px; }
.promo-row input { flex: 1; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 6px; padding: 10px 12px; color: var(--paper); font-size: 13px; outline: none; }
.promo-row input:focus { border-color: var(--aqua-deep); }
.promo-row input::placeholder { color: var(--chrome-dim); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.promo-row button { padding: 10px 16px; background: transparent; color: var(--aqua); border: 1px solid var(--aqua-deep); border-radius: 6px; font-family: var(--display); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; transition: background 0.15s; }
.promo-row button:hover { background: rgba(0,184,176,0.08); }

.applied-code { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: rgba(0,184,176,0.08); border: 1px solid var(--aqua-deep); border-radius: 6px; margin-bottom: 20px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.applied-code .code-name { color: var(--aqua); font-weight: 600; }
.applied-code .code-remove { color: var(--chrome-dim); cursor: pointer; background: none; border: none; padding: 0; }

.shipping-select { margin-bottom: 20px; }
.shipping-select .label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); margin-bottom: 10px; }
.ship-option { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 6px; margin-bottom: 6px; cursor: pointer; transition: all 0.15s; }
.ship-option:hover { border-color: var(--aqua-deep); }
.ship-option.selected { border-color: var(--aqua); background: rgba(0,184,176,0.05); }
.ship-option .ship-left { display: flex; align-items: center; gap: 10px; }
.ship-option .radio { width: 14px; height: 14px; border: 1.5px solid var(--ink-4); border-radius: 50%; flex-shrink: 0; position: relative; }
.ship-option.selected .radio { border-color: var(--aqua); }
.ship-option.selected .radio::after { content: ''; position: absolute; inset: 3px; background: var(--aqua); border-radius: 50%; }
.ship-option .ship-name { font-family: var(--display); font-weight: 600; font-size: 13px; }
.ship-option .ship-desc { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--chrome-dim); margin-top: 2px; }
.ship-option .ship-price { font-family: var(--display); font-weight: 700; font-size: 14px; }
.ship-option .ship-price.free { color: var(--aqua); }

.totals { padding: 16px 0; border-top: 1px solid var(--ink-3); }
.totals-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.totals-row .label { color: var(--chrome); }
.totals-row .val { font-family: var(--mono); font-weight: 500; color: var(--paper); }
.totals-row.discount .val { color: var(--aqua); }
.totals-row.gst { font-size: 12px; color: var(--chrome-dim); }
.totals-row.gst .val { color: var(--chrome-dim); }
.totals-grand { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 4px; margin-top: 8px; border-top: 1px solid var(--ink-3); }
.totals-grand .label { font-family: var(--display); font-weight: 600; font-size: 15px; }
.totals-grand .amt { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; }
.totals-grand .amt small { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--chrome-dim); margin-left: 4px; letter-spacing: 0.05em; }

.checkout-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px; background: var(--coral); color: var(--ink); border: none; border-radius: 8px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer; transition: all 0.18s; margin-top: 12px; }
.checkout-btn:hover { background: #ff6f7d; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,92,107,0.3); }
.checkout-btn .arrow { font-family: var(--mono); font-weight: 400; }
.guest-note { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); text-align: center; margin-top: 14px; }
.guest-note a { color: var(--aqua); }

.pay-methods { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ink-3); flex-wrap: wrap; }
.pay-methods .pay-icon { padding: 4px 8px; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 4px; font-family: var(--display); font-weight: 600; font-size: 10px; color: var(--chrome); }
.pay-methods .label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); margin-right: 4px; }

@media (max-width: 1100px) {
  .cart-grid { grid-template-columns: 1fr; gap: 24px; }
  .summary { position: static; }
}
@media (max-width: 800px) {
  .page-head h1 { font-size: 30px; }
  .cart-item { grid-template-columns: 70px 1fr; gap: 12px; padding: 14px; }
  .cart-item .img .emo { font-size: 32px; }
  .cart-item .pricing { grid-column: 2; text-align: left; padding-top: 8px; border-top: 1px solid var(--ink-3); margin-top: 4px; display: flex; justify-content: space-between; align-items: baseline; }
  .cart-item .actions { grid-column: 2; padding-top: 8px; }
  .cart-item .title { font-size: 14px; }
  .cart-item .subtotal { font-size: 18px; }
  .summary { padding: 20px; }
  .totals-grand .amt { font-size: 26px; }
  .reserve-bar { padding: 12px 14px; }
  .reserve-timer { font-size: 20px; }
}

/* ═══════════════════ CHECKOUT PAGE ═══════════════════ */
/* Checkout intentionally drops the site nav/announce bar/footer to keep
   shoppers focused on completing payment, so it gets its own slimmed header
   scoped under .checkout-header to avoid touching the shared site header. */

.checkout-header { border-bottom: 1px solid var(--ink-3); background: var(--ink); }
.checkout-header .hdr-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 32px; max-width: 1360px; margin: 0 auto; gap: 12px; flex-wrap: wrap; }
.checkout-header .logo img { height: 48px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(0,184,176,0.15)); }
.checkout-header .back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); }
.checkout-header .back-link:hover { color: var(--aqua); }
.checkout-header .back-link svg { width: 12px; height: 12px; }
.checkout-header .secure { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); }
.checkout-header .secure svg { width: 14px; height: 14px; color: var(--aqua); }

/* Page head (checkout's own — cart already owns the bare .page-head layout) */
.co-page-head { padding: 32px 0 20px; }
.co-page-head h1 { font-family: var(--display); font-weight: 700; font-size: 42px; letter-spacing: -0.025em; line-height: 1; margin-bottom: 8px; }
.co-page-head h1 em { font-style: italic; color: var(--coral); }
.co-page-head .sub { font-size: 14px; color: var(--chrome-dim); }
.co-page-head .sub strong { color: var(--aqua); }

/* Grid */
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: flex-start; padding-bottom: 80px; }

/* Section */
.sec { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: 28px; margin-bottom: 20px; }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ink-3); }
.sec-num { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: 0.15em; color: var(--aqua); background: rgba(0,184,176,0.1); padding: 6px 10px; border-radius: 4px; }
.sec-title { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; flex: 1; }
.sec-help { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); }
.sec-help a { color: var(--aqua); }

/* Checkout staged/collapsible sections — .sec with no modifier is the
   active/expanded look above; .completed shows a one-line summary in place
   of the body, .locked is a dimmed, not-yet-reached preview of a later step. */
.sec-summary { display: none; font-family: var(--mono); font-size: 12px; color: var(--chrome-dim); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec-edit-btn { display: none; flex-shrink: 0; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--aqua); background: transparent; border: 1px solid var(--ink-3); border-radius: 4px; padding: 6px 12px; cursor: pointer; white-space: nowrap; transition: border-color 0.15s; }
.sec-edit-btn:hover { border-color: var(--aqua-deep); }
.sec-continue { margin-top: 20px; padding: 12px 20px; background: var(--aqua); color: var(--ink); border: none; border-radius: 8px; font-family: var(--display); font-weight: 600; font-size: 13px; cursor: pointer; transition: background 0.15s; }
.sec-continue:hover { background: var(--aqua-glow); }
.sec.completed { padding-bottom: 20px; }
.sec.completed .sec-head { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sec.completed .sec-title { flex: 0 0 auto; }
.sec.completed .sec-summary,
.sec.completed .sec-edit-btn { display: flex; align-items: center; }
.sec.completed .sec-help,
.sec.completed .sec-body,
.sec.locked .sec-body { display: none; }
.sec.locked { opacity: 0.5; }
@media (max-width: 768px) {
  .sec-summary { display: none !important; }
  .sec.completed .sec-title::after { content: ' ✓'; color: var(--aqua); }
}

/* Fields */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.row.full { grid-template-columns: 1fr; }
.row.tri { grid-template-columns: 1.5fr 1fr 1fr; }
.field { position: relative; }
.field label { display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); margin-bottom: 6px; }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea { width: 100%; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 6px; padding: 12px 14px; color: var(--paper); font-size: 14px; outline: none; transition: border-color 0.15s; }
.field input::placeholder, .field textarea::placeholder { color: var(--chrome-dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--aqua); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A959D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field .hint { font-size: 11px; color: var(--chrome-dim); margin-top: 6px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.field .locked { display: flex; align-items: center; justify-content: space-between; width: 100%; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 6px; padding: 12px 14px; color: var(--paper); font-size: 14px; }
.field .locked svg { width: 14px; height: 14px; color: var(--chrome-dim); }

/* Guest checkout banner (checkout's own — distinct from cart's plain .guest-note text link) */
.guest-banner { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: rgba(0,184,176,0.05); border: 1px solid var(--aqua-deep); border-radius: 6px; margin-bottom: 16px; font-size: 12.5px; flex-wrap: wrap; gap: 8px; }
.guest-banner .info { color: var(--chrome); }
.guest-banner .info strong { color: var(--paper); }
.guest-banner a { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--aqua); font-weight: 600; }

/* Checkbox pattern */
.check-row { display: flex; gap: 10px; padding: 8px 0; align-items: flex-start; cursor: pointer; }
.check-row input { position: absolute; opacity: 0; pointer-events: none; }
.check-row .box { width: 18px; height: 18px; border: 1.5px solid var(--ink-4); border-radius: 4px; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.check-row.checked .box { background: var(--aqua); border-color: var(--aqua); }
.check-row .box::after { content: '✓'; color: var(--ink); font-size: 12px; font-weight: 700; opacity: 0; }
.check-row.checked .box::after { opacity: 1; }
.check-row .text { font-size: 13px; color: var(--chrome); line-height: 1.5; }
.check-row .text strong { color: var(--paper); }

/* Terms acknowledgement — gated submit needs this to read as required,
   not just another line of fine print, so it gets the same visual
   treatment as .terms-block instead of a bare .check-row. */
#ack-terms { padding: 14px 16px; background: rgba(255,92,107,0.04); border: 1px solid rgba(217,56,72,0.3); border-radius: 8px; margin-bottom: 20px; }
#ack-terms.checked { background: rgba(0,184,176,0.05); border-color: var(--aqua-deep); }
#ack-terms .box { border-color: var(--coral); }
#ack-terms.checked .box { background: var(--aqua); border-color: var(--aqua); }

/* Delivery method toggle */
.delivery-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.del-tab { padding: 16px; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 8px; cursor: pointer; transition: all 0.15s; display: flex; align-items: center; gap: 12px; }
.del-tab:hover { border-color: var(--aqua-deep); }
.del-tab.active { border-color: var(--aqua); background: rgba(0,184,176,0.05); }
.del-tab .del-icon { width: 36px; height: 36px; background: var(--ink-2); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--aqua); flex-shrink: 0; }
.del-tab.active .del-icon { background: rgba(0,184,176,0.15); }
.del-tab .del-icon svg { width: 18px; height: 18px; }
.del-tab .del-info h4 { font-family: var(--display); font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.del-tab .del-info p { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); }

/* C&C Info */
.cc-info { padding: 20px; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 8px; margin-top: 8px; }
.cc-info .cc-addr { font-family: var(--display); font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.cc-info .cc-addr strong { color: var(--aqua); display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; font-weight: 500; }
.cc-info p { font-size: 13px; color: var(--chrome); line-height: 1.5; margin-bottom: 8px; }
.cc-info .hrs { font-family: var(--mono); font-size: 11px; color: var(--chrome-dim); text-transform: uppercase; letter-spacing: 0.1em; }

/* Payment options (checkout's own — .ship-option above is reused as-is from the cart page) */
.pay-option { padding: 16px; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 8px; margin-bottom: 10px; cursor: pointer; transition: all 0.15s; }
.pay-option:hover { border-color: var(--aqua-deep); }
.pay-option.selected { border-color: var(--aqua); background: rgba(0,184,176,0.05); }
.pay-option .pay-head { display: flex; justify-content: space-between; align-items: center; }
.pay-option .pay-left { display: flex; align-items: center; gap: 12px; }
.pay-option .radio { width: 16px; height: 16px; border: 1.5px solid var(--ink-4); border-radius: 50%; flex-shrink: 0; position: relative; }
.pay-option.selected .radio { border-color: var(--aqua); }
.pay-option.selected .radio::after { content: ''; position: absolute; inset: 3px; background: var(--aqua); border-radius: 50%; }
.pay-option .pay-name { font-family: var(--display); font-weight: 600; font-size: 15px; }
.pay-option .pay-desc { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--chrome-dim); margin-top: 3px; }
.pay-option .pay-logo { font-family: var(--display); font-weight: 700; font-size: 13px; padding: 6px 12px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 4px; color: var(--chrome); }
.pay-option.paypal.selected .pay-logo { background: #003087; color: white; border-color: #003087; }
.pay-option.square.selected .pay-logo { background: #3E4348; color: white; border-color: #3E4348; }
.pay-option .pay-expand { display: none; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--ink-3); }
.pay-option.selected .pay-expand { display: block; }
.pay-option .pay-expand p { font-size: 13px; color: var(--chrome); line-height: 1.5; }
.pay-option .pay-expand svg { width: 14px; height: 14px; display: inline-block; vertical-align: middle; color: var(--aqua); margin-right: 6px; }

/* Terms block */
.terms-block { padding: 20px; background: rgba(255,92,107,0.04); border: 1px solid rgba(217,56,72,0.3); border-radius: 8px; margin-bottom: 20px; }
.terms-block h4 { font-family: var(--display); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--coral); margin-bottom: 12px; }
.terms-block .check-row .box { border-color: var(--coral); }
.terms-block .check-row.checked .box { background: var(--aqua); border-color: var(--aqua); }

/* Payment methods, locked until Terms & Conditions is agreed above */
#online-payment-methods.payment-locked { opacity: 0.4; filter: grayscale(0.4); pointer-events: none; user-select: none; }

/* Place order */
.place-order-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 18px; background: var(--coral); color: var(--ink); border: none; border-radius: 8px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer; transition: all 0.18s; }
.place-order-btn:hover:not(:disabled) { background: #ff6f7d; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,92,107,0.3); }
.place-order-btn:disabled { background: var(--ink-3); color: var(--chrome-dim); cursor: not-allowed; }
.place-order-btn .arrow { font-family: var(--mono); font-weight: 400; }

/* Order summary sidebar — checkout's compact variant, layered on top of the
   cart page's shared .summary/.totals rules (different sticky offset since
   the checkout header is much shorter than the full site header) */
.checkout-summary { top: 24px; padding: 24px; }
.checkout-summary h2 { font-size: 16px; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; padding-bottom: 14px; }
.checkout-summary h2 .item-count { font-family: var(--mono); font-size: 11px; color: var(--chrome-dim); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 400; }
.checkout-summary .totals-grand .amt { font-size: 28px; }

.summary-items { margin-bottom: 16px; }
.summary-item { display: grid; grid-template-columns: 50px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ink-3); align-items: center; }
.summary-item:last-child { border-bottom: none; }
.summary-item .img { aspect-ratio: 1; border-radius: 6px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.summary-item .img.i1 { background: radial-gradient(circle at 30% 30%, #1E5EBB 0%, #0A1E3D 100%); }
.summary-item .img.i2 { background: radial-gradient(circle at 30% 30%, #B45309 0%, #2C1810 100%); }
.summary-item .img.i3 { background: radial-gradient(circle at 30% 30%, #6B21A8 0%, #1F0938 100%); }
.summary-item .img .emo { font-size: 22px; }
.summary-item .img .qty-badge { position: absolute; top: -6px; right: -6px; background: var(--aqua); color: var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--ink-2); }
.summary-item .body .title { font-family: var(--display); font-weight: 600; font-size: 12.5px; line-height: 1.3; margin-bottom: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.summary-item .body .attr { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--chrome-dim); }
.summary-item .body .attr.pre { color: var(--coral); }
.summary-item .price { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--paper); }

/* Trust footer */
.trust-footer { padding: 20px 24px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trust-footer .t-item { display: flex; gap: 8px; align-items: flex-start; font-size: 11px; color: var(--chrome-dim); line-height: 1.4; }
.trust-footer svg { width: 14px; height: 14px; color: var(--aqua); flex-shrink: 0; margin-top: 1px; }

@media (max-width: 1100px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 24px; }
  .checkout-summary { position: static; }
}
@media (max-width: 800px) {
  .checkout-header .hdr-inner { padding: 14px 20px; gap: 12px; }
  .checkout-header .secure { font-size: 10px; }
  .co-page-head h1 { font-size: 30px; }
  .sec { padding: 20px; }
  .row { grid-template-columns: 1fr; }
  .row.tri { grid-template-columns: 1fr 1fr; }
  .row.tri .field:first-child { grid-column: 1 / -1; }
  .delivery-tabs { grid-template-columns: 1fr; }
  .checkout-summary .totals-grand .amt { font-size: 24px; }
}

/* ═══════════════════ CONFIRMATION PAGE ═══════════════════ */
/* Narrower reading-width wrapper for this page's content — the shared .wrap
   stays at 1360px for every other page, so this gets its own class rather
   than redefining .wrap out from under them. */
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 32px; }

.confirmation-header { border-bottom: 1px solid var(--ink-3); background: var(--ink); }
.confirmation-header .hdr-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 32px; max-width: 1360px; margin: 0 auto; gap: 12px; flex-wrap: wrap; }
.confirmation-header .logo img { height: 48px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(0,184,176,0.15)); }
.confirmation-header .hdr-links { display: flex; gap: 20px; align-items: center; }
.confirmation-header .hdr-links a { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); transition: color 0.15s; }
.confirmation-header .hdr-links a:hover { color: var(--aqua); }
.confirmation-header .hdr-links a.btn { padding: 8px 14px; border: 1px solid var(--ink-3); border-radius: 4px; color: var(--paper); }
.confirmation-header .hdr-links a.btn:hover { border-color: var(--aqua); }

.slim-footer { background: var(--ink-2); border-top: 1px solid var(--ink-3); padding: 30px 0; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); }
.slim-footer .foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.slim-footer .foot-inner .links { display: flex; gap: 16px; }
.slim-footer .foot-inner .links a:hover { color: var(--aqua); }

/* Success hero */
.success { padding: 60px 0 40px; text-align: center; position: relative; overflow: hidden; }
.success::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(0,184,176,0.15) 0%, transparent 60%); pointer-events: none; }
.success::after { content: ''; position: absolute; top: 60px; left: 50%; transform: translateX(-50%); width: 800px; height: 300px; background: radial-gradient(ellipse, rgba(255,92,107,0.08) 0%, transparent 65%); pointer-events: none; }
.success-content { position: relative; z-index: 2; }

.check-icon { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; background: linear-gradient(135deg, var(--aqua) 0%, var(--aqua-deep) 100%); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 40px rgba(0,184,176,0.3), 0 0 0 6px rgba(0,184,176,0.1); position: relative; overflow: hidden; }
.check-icon.cancelled { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%); box-shadow: 0 12px 40px rgba(255,92,107,0.3), 0 0 0 6px rgba(255,92,107,0.1); }
.check-icon::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%); background-size: 200% 200%; animation: shine 3s ease-in-out infinite; }
@keyframes shine { 0%, 100% { background-position: -100% 50%; } 50% { background-position: 200% 50%; } }
.check-icon svg { width: 44px; height: 44px; color: var(--ink); position: relative; z-index: 1; stroke-width: 3; }

.success-kicker { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--aqua); margin-bottom: 12px; }
.success h1 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.025em; line-height: 1; margin-bottom: 16px; }
.success h1 em { font-style: italic; color: var(--coral); }
.success p { font-size: 16px; color: var(--chrome); max-width: 44ch; margin: 0 auto 32px; }

.order-number-block { display: inline-flex; flex-direction: column; align-items: center; padding: 18px 32px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 10px; margin-bottom: 32px; position: relative; overflow: hidden; }
.order-number-block::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(47,224,214,0.05) 45%, rgba(255,92,107,0.05) 55%, transparent 70%); background-size: 250% 250%; animation: shine 4s ease-in-out infinite; pointer-events: none; }
.order-number-block .label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--chrome-dim); margin-bottom: 6px; }
.order-number-block .num { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: 0.02em; background: linear-gradient(135deg, var(--aqua-glow) 0%, var(--paper) 50%, var(--coral) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; z-index: 1; }

.email-confirm { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); }
.email-confirm strong { color: var(--paper); font-weight: 500; }
.email-confirm svg { width: 12px; height: 12px; color: var(--aqua); display: inline-block; vertical-align: middle; margin-right: 6px; }

.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.success-actions svg { width: 14px; height: 14px; }

/* Timeline */
.timeline-sec { padding: 24px 0 40px; }
.timeline { display: flex; justify-content: space-between; position: relative; padding: 0 20px; }
.timeline::before { content: ''; position: absolute; top: 16px; left: 40px; right: 40px; height: 2px; background: var(--ink-3); z-index: 0; }
.timeline::after { content: ''; position: absolute; top: 16px; left: 40px; width: calc((100% - 80px) * var(--timeline-progress, 0)); height: 2px; background: linear-gradient(90deg, var(--aqua) 0%, var(--aqua-glow) 100%); z-index: 1; }
.step { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; text-align: center; flex: 1; }
.step .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--ink-3); display: flex; align-items: center; justify-content: center; color: var(--chrome-dim); margin-bottom: 10px; transition: all 0.2s; }
.step .dot svg { width: 14px; height: 14px; }
.step.done .dot { background: var(--aqua); border-color: var(--aqua); color: var(--ink); }
.step.current .dot { background: var(--ink); border-color: var(--aqua); color: var(--aqua); box-shadow: 0 0 0 6px rgba(0,184,176,0.15); animation: pulse-current 2s infinite; }
@keyframes pulse-current { 0%, 100% { box-shadow: 0 0 0 6px rgba(0,184,176,0.15); } 50% { box-shadow: 0 0 0 10px rgba(0,184,176,0.05); }}
.step .label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); }
.step.done .label, .step.current .label { color: var(--paper); }
.step.current .label { color: var(--aqua); }
.step .time { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--chrome-dim); margin-top: 2px; }

/* Shipment groups */
.shipments { padding: 20px 0 40px; }
.shipment { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: 24px; margin-bottom: 16px; }
.shipment.pre { border-color: rgba(217,56,72,0.3); }
.shipment-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ink-3); gap: 16px; flex-wrap: wrap; }
.shipment-head .left h3 { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 6px; }
.shipment-head .left h3 em { font-style: normal; color: var(--aqua); font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; margin-left: 8px; padding: 3px 8px; background: rgba(0,184,176,0.08); border-radius: 3px; }
.shipment.pre .shipment-head .left h3 em { color: var(--coral); background: rgba(255,92,107,0.08); }
.shipment-head .left .meta { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--chrome-dim); }
.shipment-head .right { text-align: right; }
.shipment-head .right .eta-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); margin-bottom: 4px; }
.shipment-head .right .eta-val { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--paper); }
.shipment-head .right .eta-val.pre { color: var(--coral); }

.ship-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; padding: 10px 0; align-items: center; }
.ship-item + .ship-item { border-top: 1px solid var(--ink-3); }
.ship-item .img { aspect-ratio: 1; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.ship-item .img.i1 { background: radial-gradient(circle at 30% 30%, #1E5EBB 0%, #0A1E3D 100%); }
.ship-item .img.i2 { background: radial-gradient(circle at 30% 30%, #B45309 0%, #2C1810 100%); }
.ship-item .img.i3 { background: radial-gradient(circle at 30% 30%, #6B21A8 0%, #1F0938 100%); }
.ship-item .img .emo { font-size: 28px; }
.ship-item .img .qty-badge { position: absolute; top: -6px; right: -6px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 10px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--ink-2); }
.ship-item .body { min-width: 0; }
.ship-item .body .set { font-family: var(--mono); font-size: 10px; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px; }
.ship-item .body .title { font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.3; }
.ship-item .price { font-family: var(--mono); font-size: 13px; color: var(--paper); font-weight: 500; }

.ship-details { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ink-3); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ship-detail { font-size: 13px; }
.ship-detail .lbl { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); margin-bottom: 4px; }
.ship-detail .val { color: var(--paper); line-height: 1.5; }
.ship-detail .val strong { font-family: var(--display); font-weight: 600; }

/* Payment summary (reuses the shared .totals/.totals-row rules from the
   cart page — only the grand-total size is scoped-overridden here) */
.payment-sec { padding: 20px 0 40px; }
.payment-card { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: 24px; }
.payment-card h3 { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.005em; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink-3); }
.payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.payment-row .lbl { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); margin-bottom: 6px; }
.payment-row .val { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--paper); }
.payment-row .val small { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--chrome-dim); margin-left: 6px; }
.payment-card .totals-grand .amt { font-size: 26px; }

/* Account prompt */
.account-prompt { background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink) 100%); border: 1px solid var(--aqua-deep); border-radius: 12px; padding: 32px; margin: 20px 0 40px; position: relative; overflow: hidden; }
.account-prompt::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(0,184,176,0.15) 0%, transparent 70%); }
.account-prompt .content { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.account-prompt h3 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.015em; margin-bottom: 8px; }
.account-prompt h3 em { font-style: italic; color: var(--coral); }
.account-prompt p { color: var(--chrome); font-size: 14px; line-height: 1.5; max-width: 50ch; }
.account-prompt .benefits { display: flex; gap: 20px; margin-top: 16px; flex-wrap: wrap; }
.account-prompt .benefit { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--chrome); }
.account-prompt .benefit svg { width: 14px; height: 14px; color: var(--aqua); }
.account-prompt .create-form { display: flex; flex-direction: column; gap: 10px; min-width: 260px; }
.account-prompt .create-form input { background: var(--ink); border: 1px solid var(--ink-3); border-radius: 6px; padding: 12px 14px; color: var(--paper); font-size: 14px; outline: none; }
.account-prompt .create-form input:focus { border-color: var(--aqua); }
.account-prompt .create-form button { padding: 12px; background: var(--coral); color: var(--ink); border: none; border-radius: 6px; font-family: var(--display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; }
.account-prompt .create-form button:hover { background: #ff6f7d; }

/* What's next */
.whats-next { padding: 20px 0 60px; }
.whats-next h2 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; margin-bottom: 20px; }
.next-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.next-item { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 10px; padding: 20px; }
.next-item .icon { width: 36px; height: 36px; background: rgba(0,184,176,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--aqua); margin-bottom: 12px; }
.next-item .icon svg { width: 18px; height: 18px; }
.next-item h4 { font-family: var(--display); font-weight: 600; font-size: 13px; margin-bottom: 6px; letter-spacing: -0.005em; }
.next-item p { font-size: 12.5px; color: var(--chrome-dim); line-height: 1.5; }

/* Community / continue shopping */
.keep-going { padding: 40px 0 80px; text-align: center; }
.keep-going h2 { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; margin-bottom: 8px; }
.keep-going h2 em { font-style: italic; color: var(--coral); }
.keep-going p { color: var(--chrome); margin-bottom: 24px; }
.socials-inline { display: flex; gap: 10px; justify-content: center; margin: 24px 0; }
.socials-inline a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 6px; color: var(--chrome); transition: all 0.15s; }
.socials-inline a:hover { color: var(--aqua); border-color: var(--aqua); transform: translateY(-2px); }
.socials-inline svg { width: 16px; height: 16px; }

@media (max-width: 800px) {
  .confirmation-header .hdr-inner { padding: 14px 20px; gap: 12px; }
  .confirmation-header .hdr-links { gap: 12px; }
  .success { padding: 40px 0 30px; }
  .check-icon { width: 72px; height: 72px; }
  .check-icon svg { width: 36px; height: 36px; }
  .order-number-block { padding: 14px 24px; }
  .order-number-block .num { font-size: 20px; }
  .timeline { padding: 0; overflow-x: auto; gap: 20px; justify-content: flex-start; scrollbar-width: none; -ms-overflow-style: none; }
  .timeline::-webkit-scrollbar { display: none; }
  .timeline::before, .timeline::after { display: none; }
  .step { flex: 0 0 auto; min-width: 100px; }
  .shipment { padding: 18px; }
  .shipment-head { flex-direction: column; }
  .shipment-head .right { text-align: left; }
  .ship-details { grid-template-columns: 1fr; }
  .account-prompt { padding: 24px; }
  .account-prompt .content { grid-template-columns: 1fr; gap: 20px; }
  .account-prompt .create-form { min-width: 0; }
  .payment-grid { grid-template-columns: 1fr; }
  .next-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .keep-going h2 { font-size: 24px; }
}

/* ═══════════════════ AUTH PAGE ═══════════════════ */
/* Full-page split layout — no shared header/footer here. Reuses .field,
   .row/.row.full and .check-row from the checkout page as-is. */

html, body { min-height: 100vh; }
.auth-page { display: grid; grid-template-columns: 5fr 6fr; min-height: 100vh; }

/* LEFT: Brand panel */
.brand-panel { position: relative; overflow: hidden; padding: 40px 48px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); }
.brand-panel::before { content: ''; position: absolute; top: -150px; right: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,184,176,0.2) 0%, transparent 65%); pointer-events: none; }
.brand-panel::after { content: ''; position: absolute; bottom: -200px; left: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,92,107,0.15) 0%, transparent 65%); pointer-events: none; }

.brand-top { position: relative; z-index: 2; }
.brand-top .logo img { height: 56px; width: auto; filter: drop-shadow(0 4px 12px rgba(0,184,176,0.15)); }

.brand-mid { position: relative; z-index: 2; }
.brand-mid .kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: rgba(0,184,176,0.12); border: 1px solid var(--aqua-deep); border-radius: 999px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--aqua); margin-bottom: 24px; }
.brand-mid .kicker .dot { width: 6px; height: 6px; background: var(--aqua); border-radius: 50%; }
.brand-mid h1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 3.8vw, 56px); letter-spacing: -0.03em; line-height: 0.95; margin-bottom: 20px; }
.brand-mid h1 em { font-style: italic; color: var(--coral); }
.brand-mid p { font-size: 15px; color: var(--chrome); max-width: 40ch; line-height: 1.6; margin-bottom: 28px; }

.benefits { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.benefit { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--chrome); }
.benefit .icon { width: 28px; height: 28px; background: rgba(0,184,176,0.1); border: 1px solid var(--aqua-deep); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--aqua); flex-shrink: 0; }
.benefit .icon svg { width: 14px; height: 14px; }
.benefit .text { padding-top: 4px; }
.benefit .text strong { color: var(--paper); font-family: var(--display); font-weight: 600; display: block; margin-bottom: 2px; font-size: 14px; }

.card-deco { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); z-index: 1; opacity: 0.45; pointer-events: none; }
.card-deco .card { position: absolute; width: 160px; aspect-ratio: 2.5/3.5; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); overflow: hidden; }
.card-deco .card::before { content: ''; position: absolute; inset: 6px; border: 2px solid rgba(255,255,255,0.3); border-radius: 8px; }
.card-deco .card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%); background-size: 200% 200%; animation: shine 5s ease-in-out infinite; }
.card-deco .c1 { background: linear-gradient(155deg, #FF8A3D 0%, #7A1414 100%); top: -80px; left: -10px; transform: rotate(-10deg); }
.card-deco .c2 { background: linear-gradient(155deg, #FFE066 0%, #8B5A00 100%); top: 40px; left: 40px; transform: rotate(6deg); }
.card-deco .c3 { background: linear-gradient(155deg, #4FC3F7 0%, #0D3B66 100%); top: 160px; left: -20px; transform: rotate(-4deg); }

.brand-bottom { position: relative; z-index: 2; display: flex; gap: 20px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); flex-wrap: wrap; }
.brand-bottom .item { display: flex; align-items: center; gap: 6px; }
.brand-bottom svg { width: 12px; height: 12px; color: var(--aqua); }

/* RIGHT: Form panel */
.form-panel { padding: 32px 48px; display: flex; flex-direction: column; }
.form-header { display: flex; justify-content: flex-end; margin-bottom: 28px; }
.guest-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: transparent; border: 1px solid var(--ink-3); border-radius: 6px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome); transition: all 0.15s; }
.guest-link:hover { border-color: var(--aqua); color: var(--aqua); }
.guest-link svg { width: 12px; height: 12px; }

.form-inner { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding-top: 4px; }
.form-content { width: 100%; max-width: 440px; }

.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 8px; padding: 4px; margin-bottom: 20px; position: relative; }
.auth-tab { padding: 12px 16px; background: transparent; border: none; color: var(--chrome-dim); font-family: var(--display); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; border-radius: 5px; transition: color 0.2s; z-index: 2; position: relative; }
.auth-tab.active { color: var(--ink); }
.tab-slider { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--aqua); border-radius: 5px; transition: transform 0.25s ease; z-index: 1; }
.auth-tabs[data-active="register"] .tab-slider { transform: translateX(100%); }

.panel-form { display: none; }
.panel-form.active { display: block; }

h2.form-title { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.025em; line-height: 1; margin-bottom: 6px; }
h2.form-title em { font-style: italic; color: var(--coral); }
.form-sub { font-size: 14px; color: var(--chrome-dim); margin-bottom: 20px; }

/* Register has more fields than login (name/phone/password-strength/2
   checkboxes) — its own rows run tighter so the whole form fits without
   pushing "or sign up with" below the fold on a typical viewport. */
.panel-form[data-panel="register"] .row { margin-bottom: 8px; }

.field .show-toggle { position: absolute; right: 12px; top: 36px; background: none; border: none; color: var(--chrome-dim); cursor: pointer; padding: 4px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.field .show-toggle:hover { color: var(--aqua); }

.pw-strength { margin-top: 6px; }
.pw-bar { display: flex; gap: 3px; margin-bottom: 5px; }
.pw-bar .seg { flex: 1; height: 3px; background: var(--ink-3); border-radius: 2px; transition: background 0.2s; }
.pw-bar .seg.on-1 { background: var(--coral); }
.pw-bar .seg.on-2 { background: var(--orange); }
.pw-bar .seg.on-3 { background: var(--aqua-deep); }
.pw-bar .seg.on-4 { background: var(--aqua); }
.pw-hint { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); }
.pw-hint strong { color: var(--aqua); }

.row-between { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 16px; }
.row-between .forgot { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--aqua); }
.row-between .forgot:hover { color: var(--aqua-glow); }

.panel-form[data-panel="register"] .check-row { padding: 5px 0; }

.submit-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px; background: var(--coral); color: var(--ink); border: none; border-radius: 8px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer; transition: all 0.18s; margin-top: 12px; }
.submit-btn:hover { background: #ff6f7d; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,92,107,0.3); }
.submit-btn .arrow { font-family: var(--mono); font-weight: 400; }

.divider { display: flex; align-items: center; gap: 14px; margin: 18px 0; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--chrome-dim); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--ink-3); }

.social-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 6px; font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--paper); cursor: pointer; transition: all 0.15s; }
.social-btn:hover { border-color: var(--aqua-deep); }
.social-btn svg { width: 16px; height: 16px; }
/* aria-disabled (not the disabled attribute) so the title tooltip explaining
   why still shows on hover — Chrome suppresses title tooltips on natively
   disabled form controls, which made these look broken with zero feedback. */
.social-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.social-btn[aria-disabled="true"]:hover { border-color: var(--ink-3); }

.session-notice { margin-top: 24px; padding: 12px 14px; background: rgba(0,184,176,0.05); border: 1px solid var(--aqua-deep); border-radius: 6px; display: flex; gap: 10px; align-items: flex-start; }
.session-notice svg { width: 14px; height: 14px; color: var(--aqua); flex-shrink: 0; margin-top: 2px; }
.session-notice .text { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--chrome); line-height: 1.5; }

@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .brand-panel { padding: 32px; min-height: auto; }
  .brand-mid h1 { font-size: 36px; }
  .brand-mid p { font-size: 14px; }
  .benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
  .benefit { font-size: 12px; }
  .card-deco { display: none; }
  .brand-bottom { padding-bottom: 8px; }
  .form-panel { padding: 24px 20px 40px; }
  .form-header { margin-bottom: 24px; }
  h2.form-title { font-size: 26px; }
  .social-buttons { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .benefits { grid-template-columns: 1fr; }
}

/* ═══════════════════ ACCOUNT PAGE ═══════════════════ */
/* Logged-in header avatar (shown by the shared header partial when a `user` is passed) */
.user-btn { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: rgba(0,184,176,0.08); border: 1px solid var(--aqua-deep); border-radius: 20px; }
.user-btn:hover { background: rgba(0,184,176,0.12); }
.user-btn .avatar { width: 28px; height: 28px; background: linear-gradient(135deg, var(--aqua) 0%, var(--aqua-deep) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--ink); }
.user-btn .name { font-family: var(--display); font-weight: 600; font-size: 12.5px; color: var(--paper); }

/* Page head + section wrapper — scoped under .account-page since cart/checkout
   already own the bare .page-head/.sec/.sec-head class names with different layouts */
.account-page .page-head { padding: 32px 0 24px; }
.account-page .page-head h1 { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.025em; line-height: 1; margin-bottom: 8px; }
.account-page .page-head h1 em { font-style: italic; color: var(--coral); }
.account-page .page-head .sub { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); }
.account-page .page-head .sub strong { color: var(--aqua); }
.account-page .sec { margin-bottom: 40px; }
.account-page .sec-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; gap: 12px; }
.account-page .sec-head h2 { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.account-page .sec-head .view-all { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--aqua); }
.account-page .sec-head .view-all:hover { color: var(--aqua-glow); }

/* Account grid */
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding-bottom: 80px; align-items: flex-start; }

/* Sidebar */
.side-nav { position: sticky; top: 96px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: 12px; }
.side-group { padding: 8px 0; }
.side-group + .side-group { border-top: 1px solid var(--ink-3); margin-top: 4px; }
.side-label { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--chrome-dim); padding: 8px 12px 6px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; font-size: 13.5px; font-family: var(--display); font-weight: 500; color: var(--chrome); cursor: pointer; transition: all 0.15s; }
.side-item:hover { background: var(--ink-3); color: var(--paper); }
.side-item.active { background: rgba(0,184,176,0.1); color: var(--aqua); }
.side-item.active .side-icon { color: var(--aqua); }
.side-icon { width: 16px; height: 16px; color: var(--chrome-dim); }
.side-icon svg { width: 16px; height: 16px; }
.side-item .side-badge { margin-left: auto; font-family: var(--mono); font-size: 10px; padding: 2px 6px; background: var(--ink-3); border-radius: 3px; color: var(--chrome-dim); }
.side-item.active .side-badge { background: rgba(0,184,176,0.2); color: var(--aqua); }
.side-item.logout { color: var(--coral); }
.side-item.logout:hover { background: rgba(255,92,107,0.08); }
.side-item.logout .side-icon { color: var(--coral); }

/* Panel */
.panel { display: none; }
.panel.active { display: block; }

/* Overview stats */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 32px; }
.stat-card { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 10px; padding: 20px; position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; top: -30px; right: -30px; width: 100px; height: 100px; background: radial-gradient(circle, rgba(0,184,176,0.1) 0%, transparent 70%); }
.stat-card .stat-icon { width: 32px; height: 32px; background: rgba(0,184,176,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--aqua); margin-bottom: 12px; position: relative; }
.stat-card .stat-icon svg { width: 16px; height: 16px; }
.stat-card .stat-num { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; position: relative; }
.stat-card .stat-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); position: relative; }
.stat-card.claim { border-color: var(--aqua-deep); background: linear-gradient(135deg, var(--ink-2) 0%, rgba(0,184,176,0.05) 100%); }
.stat-card.claim .stat-icon { background: rgba(0,184,176,0.2); }
.stat-card.claim .status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; background: var(--aqua); color: var(--ink); border-radius: 3px; }

/* Order cards */
.orders-list { display: flex; flex-direction: column; gap: 12px; }
.order-card { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 10px; padding: 20px; transition: border-color 0.15s; }
.order-card:hover { border-color: var(--aqua-deep); }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink-3); gap: 12px; flex-wrap: wrap; }
.order-head .order-info h3 { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.005em; margin-bottom: 4px; }
.order-head .order-info .order-meta { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); }
.order-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.order-status.processing { background: rgba(0,184,176,0.12); color: var(--aqua); border: 1px solid var(--aqua-deep); }
.order-status.processing .dot { width: 6px; height: 6px; background: var(--aqua); border-radius: 50%; animation: pulse 2s infinite; }
.order-status.shipped { background: rgba(252,107,61,0.12); color: var(--orange); border: 1px solid rgba(252,107,61,0.4); }
.order-status.delivered { background: rgba(0,184,176,0.06); color: var(--chrome); border: 1px solid var(--ink-3); }
.order-status.cancelled { background: rgba(199,208,214,0.06); color: var(--chrome-dim); border: 1px solid var(--ink-3); }
.order-status.preorder { background: rgba(255,92,107,0.12); color: var(--coral); border: 1px solid var(--coral-deep); }
.order-body { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.order-items-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.order-thumb { width: 44px; aspect-ratio: 1; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; font-size: 20px; }
.order-thumb.t1 { background: radial-gradient(circle at 30% 30%, #1E5EBB 0%, #0A1E3D 100%); }
.order-thumb.t2 { background: radial-gradient(circle at 30% 30%, #B45309 0%, #2C1810 100%); }
.order-thumb.t3 { background: radial-gradient(circle at 30% 30%, #6B21A8 0%, #1F0938 100%); }
.order-thumb.t4 { background: radial-gradient(circle at 30% 30%, #B91C1C 0%, #3D0A0A 100%); }
.order-thumb.t5 { background: radial-gradient(circle at 30% 30%, #4338CA 0%, #0F0D3A 100%); }
.order-thumb.t6 { background: radial-gradient(circle at 30% 30%, #059669 0%, #052E16 100%); }
.order-thumb.t7 { background: radial-gradient(circle at 30% 30%, #C2410C 0%, #3D1305 100%); }
.order-thumb.more { background: var(--ink-3); color: var(--chrome-dim); font-family: var(--mono); font-size: 12px; font-weight: 600; }
.order-summary { text-align: right; }
.order-summary .item-count { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); margin-bottom: 4px; }
.order-summary .order-total { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; margin-bottom: 8px; }
.order-summary .order-actions { display: flex; gap: 6px; justify-content: flex-end; }
.order-actions a { padding: 6px 12px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--aqua); border: 1px solid var(--aqua-deep); border-radius: 4px; transition: all 0.15s; }
.order-actions a:hover { background: rgba(0,184,176,0.08); }
.order-actions a.ghost { color: var(--chrome-dim); border-color: var(--ink-3); }
.order-actions a.ghost:hover { color: var(--paper); border-color: var(--chrome); background: var(--ink-3); }

/* Pre-order highlight block */
.preorder-highlight { background: linear-gradient(135deg, var(--ink-2) 0%, rgba(255,92,107,0.05) 100%); border: 1px solid rgba(217,56,72,0.3); border-radius: 12px; padding: 24px; margin-bottom: 12px; display: grid; grid-template-columns: 60px 1fr auto; gap: 16px; align-items: center; }
.preorder-highlight .pt-img { aspect-ratio: 1; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 28px; background: radial-gradient(circle at 30% 30%, #1E5EBB 0%, #0A1E3D 100%); }
.preorder-highlight .pt-body .set { font-family: var(--mono); font-size: 10px; color: var(--coral); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px; }
.preorder-highlight .pt-body .title { font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.3; margin-bottom: 3px; }
.preorder-highlight .pt-body .ship { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); }
.preorder-highlight .pt-days { text-align: right; }
.preorder-highlight .pt-days .num { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; background: linear-gradient(135deg, var(--aqua-glow) 0%, var(--coral) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.preorder-highlight .pt-days .lbl { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); margin-top: 4px; }

/* Alert banner */
.alerts { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 10px; overflow: hidden; }
.alert-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--ink-3); }
.alert-item:last-child { border-bottom: none; }
.alert-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.alert-icon.aqua { background: rgba(0,184,176,0.12); color: var(--aqua); }
.alert-icon.coral { background: rgba(255,92,107,0.12); color: var(--coral); }
.alert-icon svg { width: 15px; height: 15px; }
.alert-body { flex: 1; }
.alert-body .title { font-family: var(--display); font-weight: 600; font-size: 13.5px; margin-bottom: 2px; }
.alert-body .desc { font-size: 12.5px; color: var(--chrome-dim); }
.alert-time { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); white-space: nowrap; }

/* Wishlist grid */
.wishlist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wish-card { display: block; position: relative; aspect-ratio: 4/5; border-radius: 10px; overflow: hidden; border: 1px solid var(--ink-3); transition: all 0.2s; cursor: pointer; }
.wish-card:hover { transform: translateY(-3px); border-color: var(--aqua-deep); }
.wish-card .img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 72px; }
.wish-card .img.w1 { background: radial-gradient(circle at 30% 30%, #1E5EBB 0%, #0A1E3D 100%); }
.wish-card .img.w2 { background: radial-gradient(circle at 30% 30%, #B45309 0%, #2C1810 100%); }
.wish-card .img.w3 { background: radial-gradient(circle at 30% 30%, #C2410C 0%, #3D1305 100%); }
.wish-card .img.w4 { background: radial-gradient(circle at 30% 30%, #6B21A8 0%, #1F0938 100%); }
.wish-card .img.w5 { background: radial-gradient(circle at 30% 30%, #059669 0%, #052E16 100%); }
.wish-card .img.w6 { background: radial-gradient(circle at 30% 30%, #B91C1C 0%, #3D0A0A 100%); }
.wish-card .img.w7 { background: radial-gradient(circle at 30% 30%, #4338CA 0%, #0F0D3A 100%); }
.wish-card .img.w8 { background: radial-gradient(circle at 30% 30%, #0EA5E9 0%, #082F49 100%); }
.wish-card .tag { position: absolute; top: 10px; left: 10px; padding: 4px 8px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; border-radius: 3px; z-index: 3; }
.wish-card .tag.stock { background: var(--aqua); color: var(--ink); }
.wish-card .tag.sold { background: var(--ink-4); color: var(--chrome-dim); }
.wish-card .tag.alert { background: var(--coral); color: var(--ink); animation: pulse 2s infinite; }
.wish-card .heart { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; background: rgba(10,15,20,0.6); backdrop-filter: blur(6px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--coral); z-index: 3; cursor: pointer; border: none; }
.wish-card .heart svg { width: 14px; height: 14px; fill: var(--coral); }
.wish-card .overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 12px 12px; background: linear-gradient(180deg, transparent 0%, rgba(10,15,20,0.85) 40%, rgba(10,15,20,0.95) 100%); }
.wish-card .set { font-family: var(--mono); font-size: 9px; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.wish-card .title { font-family: var(--display); font-weight: 600; font-size: 12.5px; line-height: 1.25; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wish-card .foot { display: flex; justify-content: space-between; align-items: baseline; }
.wish-card .price { font-family: var(--display); font-weight: 700; font-size: 14px; }
.wish-card .price small { font-family: var(--mono); font-size: 8px; font-weight: 400; color: var(--chrome-dim); margin-left: 3px; }
.wish-card .stock-txt { font-family: var(--mono); font-size: 9px; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.08em; }
.wish-card .stock-txt.sold { color: var(--chrome-dim); }

/* Address list */
.addr-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.addr-card { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 10px; padding: 20px; position: relative; }
.addr-card.default-ship, .addr-card.default-bill { border-color: var(--aqua-deep); }
.addr-card .addr-badges { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.addr-card .badge { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; padding: 3px 8px; border-radius: 3px; }
.addr-card .badge.ship { background: rgba(0,184,176,0.15); color: var(--aqua); }
.addr-card .badge.bill { background: rgba(255,92,107,0.15); color: var(--coral); }
.addr-card .addr-name { font-family: var(--display); font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.addr-card .addr-body { font-size: 13.5px; color: var(--chrome); line-height: 1.6; margin-bottom: 16px; }
.addr-card .addr-phone { font-family: var(--mono); font-size: 11px; color: var(--chrome-dim); text-transform: uppercase; letter-spacing: 0.08em; padding-top: 8px; border-top: 1px solid var(--ink-3); margin-bottom: 14px; }
.addr-card .addr-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.addr-card .addr-actions button { padding: 6px 12px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; background: transparent; border: 1px solid var(--ink-3); border-radius: 4px; color: var(--chrome); cursor: pointer; transition: all 0.15s; }
.addr-card .addr-actions button:hover { border-color: var(--aqua-deep); color: var(--aqua); }
.addr-card .addr-actions button.danger:hover { border-color: var(--coral-deep); color: var(--coral); }
.addr-add { background: var(--ink); border: 1.5px dashed var(--ink-4); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; cursor: pointer; min-height: 200px; transition: all 0.15s; color: var(--chrome-dim); }
.addr-add:hover { border-color: var(--aqua-deep); color: var(--aqua); background: rgba(0,184,176,0.03); }
.addr-add svg { width: 24px; height: 24px; }
.addr-add .lbl { font-family: var(--display); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }

/* Profile form (reuses .row/.row.full and .field from the checkout page) */
.profile-card { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: 28px; margin-bottom: 20px; }
.profile-card h3 { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--ink-3); display: flex; justify-content: space-between; align-items: center; }
.profile-card h3 .verified { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--aqua); font-weight: 500; }
.profile-card h3 .verified svg { width: 12px; height: 12px; }
.profile-actions { display: flex; gap: 10px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--ink-3); flex-wrap: wrap; }
.profile-actions .btn { padding: 12px 20px; border-radius: 6px; font-family: var(--display); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; transition: all 0.15s; }
.profile-actions .btn.primary { background: var(--coral); color: var(--ink); border: none; }
.profile-actions .btn.primary:hover { background: #ff6f7d; }
.profile-actions .btn.ghost { background: transparent; color: var(--chrome); border: 1px solid var(--ink-3); }
.profile-actions .btn.ghost:hover { color: var(--aqua); border-color: var(--aqua-deep); }
.profile-actions .btn.danger { background: transparent; color: var(--coral); border: 1px solid var(--coral-deep); margin-left: auto; }
.profile-actions .btn.danger:hover { background: rgba(255,92,107,0.08); }

/* Filters bar */
.filter-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 4px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 6px; padding: 3px; }
.filter-tab { padding: 8px 14px; background: transparent; border: none; color: var(--chrome-dim); font-family: var(--display); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; border-radius: 4px; transition: all 0.15s; }
.filter-tab.active { background: var(--ink-3); color: var(--aqua); }
.filter-search { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 6px; padding: 8px 12px; color: var(--paper); font-size: 13px; outline: none; width: 240px; }
.filter-search:focus { border-color: var(--aqua-deep); }

/* Empty state */
.empty { padding: 60px 20px; text-align: center; background: var(--ink-2); border: 1px dashed var(--ink-3); border-radius: 12px; }
.empty .empty-icon { width: 60px; height: 60px; background: var(--ink-3); border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; color: var(--chrome-dim); }
.empty h3 { font-family: var(--display); font-weight: 600; font-size: 18px; margin-bottom: 6px; }
.empty p { color: var(--chrome-dim); font-size: 14px; }

@media (max-width: 1100px) {
  .account-grid { grid-template-columns: 1fr; }
  .side-nav { position: static; padding: 8px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .wishlist-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .user-btn .name { display: none; }
  .account-page .page-head h1 { font-size: 30px; }
  .side-nav { display: flex; overflow-x: auto; gap: 4px; padding: 8px; scrollbar-width: none; -ms-overflow-style: none; }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-group + .side-group { border-top: none; border-left: 1px solid var(--ink-3); margin-top: 0; padding-left: 4px; margin-left: 4px; }
  .side-label { display: none; }
  .side-item { flex-shrink: 0; padding: 8px 12px; font-size: 12px; }
  .side-item .side-badge { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 16px; }
  .stat-card .stat-num { font-size: 24px; }
  .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .addr-list { grid-template-columns: 1fr; }
  .order-head { flex-direction: column; align-items: flex-start; }
  .order-body { grid-template-columns: 1fr; }
  .order-summary { text-align: left; }
  .order-summary .order-actions { justify-content: flex-start; }
  .preorder-highlight { grid-template-columns: 44px 1fr; }
  .preorder-highlight .pt-days { grid-column: 2; text-align: left; }
}

/* ═══════════════════ GIVEAWAY PAGE ═══════════════════ */
.giveaway { max-width: 1080px; margin: 0 auto; padding: 20px 0 80px; }
.giveaway-top { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.giveaway-art { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.giveaway-art img { display: block; width: 100%; height: auto; }
.giveaway-copy h1 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.05; margin: 16px 0; }
.giveaway-copy .lede { font-size: 16px; color: var(--chrome); max-width: 46ch; margin-bottom: 20px; line-height: 1.55; }
.giveaway-prize { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.giveaway-prize-name { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--aqua); }
.giveaway-prize-value { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); }
.giveaway-details { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding-top: 48px; border-top: 1px solid var(--ink-3); }
.giveaway-details h2 { font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 20px; }
.giveaway-terms { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.giveaway-terms li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--chrome); line-height: 1.5; }
.giveaway-terms li svg { flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px; color: var(--aqua); }
.giveaway-full-terms { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ink-3); font-size: 12px; color: var(--chrome-dim); line-height: 1.6; }
.giveaway-full-terms a { color: var(--aqua); }
.giveaway-winner-block { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: 24px 28px; }
.giveaway-winner-block p { font-size: 14px; color: var(--chrome-dim); line-height: 1.6; }
.giveaway-name-input { display: block; width: 100%; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 6px; padding: 14px 16px; color: var(--paper); font-family: var(--body); font-size: 14px; outline: none; margin-bottom: 8px; transition: border-color 0.15s; }
.giveaway-name-input:focus { border-color: var(--aqua); }
.giveaway-name-input::placeholder { color: var(--chrome-dim); }

@media (max-width: 1100px) {
  .giveaway-top { grid-template-columns: 1fr; }
  .giveaway-details { grid-template-columns: 1fr; gap: 32px; }
}

/* ═══════════════════ STATES DESIGN-REFERENCE PAGE ═══════════════════ */
/* Internal-only gallery (/design/states, not linked from site nav) of empty/
   error/loading patterns. Everything scoped under .states-page since this
   mockup redeclares .page-head/.sec-head/.btn with yet another set of values. */

.states-header { background: var(--ink); border-bottom: 1px solid var(--ink-3); padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; max-width: 1360px; margin: 0 auto; }
.states-header .logo img { height: 48px; width: auto; }
.states-header .doc-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--chrome-dim); padding: 6px 10px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 4px; }
.states-header .doc-label strong { color: var(--aqua); }

.states-page .page-head { padding: 48px 0 32px; border-bottom: 1px solid var(--ink-3); margin-bottom: 40px; }
.states-page .page-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 4.5vw, 52px); letter-spacing: -0.025em; line-height: 1; margin-bottom: 12px; }
.states-page .page-head h1 em { font-style: italic; color: var(--coral); }
.states-page .page-head .lede { font-size: 15px; color: var(--chrome); max-width: 60ch; line-height: 1.6; }

.states-page .sec-head { display: flex; align-items: baseline; gap: 16px; margin: 48px 0 20px; }
.states-page .sec-num { font-family: var(--mono); font-size: 12px; color: var(--aqua); letter-spacing: 0.15em; }
.states-page .sec-title { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; }
.states-page .sec-line { flex: 1; height: 1px; background: var(--ink-3); }
.states-page .sec-count { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); }

.states-page .states-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.states-page .states-grid.single { grid-template-columns: 1fr; }
.states-page .state-card { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; overflow: hidden; }
.states-page .state-card-head { padding: 12px 16px; background: var(--ink); border-bottom: 1px solid var(--ink-3); display: flex; justify-content: space-between; align-items: center; }
.states-page .state-card-head .id { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--aqua); }
.states-page .state-card-head .id::before { content: '● '; }
.states-page .state-card-head .type { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); padding: 3px 8px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 3px; }
.states-page .state-card-body { padding: 40px 24px; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; }

.states-page .empty-icon { width: 64px; height: 64px; margin: 0 auto 20px; background: var(--ink-3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--chrome-dim); position: relative; }
.states-page .empty-icon svg { width: 28px; height: 28px; }
.states-page .empty-icon.aqua { background: rgba(0,184,176,0.1); color: var(--aqua); }
.states-page .empty-icon.coral { background: rgba(255,92,107,0.1); color: var(--coral); }
.states-page .empty-icon.orange { background: rgba(252,107,61,0.1); color: var(--orange); }

.states-page .state-title { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 10px; }
.states-page .state-title em { font-style: italic; color: var(--coral); }
.states-page .state-desc { font-size: 14px; color: var(--chrome); max-width: 42ch; line-height: 1.55; margin-bottom: 24px; }
.states-page .state-desc strong { color: var(--paper); }
.states-page .state-desc .code { font-family: var(--mono); font-size: 12px; color: var(--aqua); background: rgba(0,184,176,0.08); padding: 2px 6px; border-radius: 3px; }

.states-page .state-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.states-page .btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 6px; font-family: var(--display); font-weight: 600; font-size: 12.5px; letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer; transition: all 0.15s; border: none; }
.states-page .btn.primary { background: var(--coral); color: var(--ink); }
.states-page .btn.primary:hover { background: #ff6f7d; transform: translateY(-1px); }
.states-page .btn.aqua { background: var(--aqua); color: var(--ink); }
.states-page .btn.aqua:hover { background: var(--aqua-glow); }
.states-page .btn.ghost { background: transparent; color: var(--aqua); border: 1px solid var(--aqua-deep); }
.states-page .btn.ghost:hover { background: rgba(0,184,176,0.08); border-color: var(--aqua); }
.states-page .btn .arrow { font-family: var(--mono); font-weight: 400; }

/* 404 special */
.states-page .four-oh-four { font-family: var(--display); font-weight: 800; font-size: 120px; letter-spacing: -0.06em; line-height: 0.9; background: linear-gradient(135deg, var(--aqua-glow) 0%, var(--paper) 50%, var(--coral) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; position: relative; }
.states-page .four-oh-four::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.08) 45%, transparent 60%); background-size: 250% 250%; animation: shine 4s ease-in-out infinite; }

/* Real 404 page (views/error-404.ejs) — same visual treatment as the
   states-page reference above, unscoped for actual live use. */
.notfound-hero { padding: 100px 0 120px; text-align: center; }
.notfound-code { font-family: var(--display); font-weight: 800; font-size: 140px; letter-spacing: -0.06em; line-height: 0.9; background: linear-gradient(135deg, var(--aqua-glow) 0%, var(--paper) 50%, var(--coral) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; position: relative; }
.notfound-code::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.08) 45%, transparent 60%); background-size: 250% 250%; animation: shine 4s ease-in-out infinite; }
.notfound-hero h1 { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--paper); margin-bottom: 10px; }
.notfound-hero p { color: var(--chrome-dim); font-size: 14.5px; max-width: 420px; margin: 0 auto 28px; line-height: 1.6; }
.notfound-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .notfound-code { font-size: 88px; } .notfound-hero { padding: 64px 0 80px; } }

/* Real 500 page (views/error-500.ejs) — same treatment as the states-page
   ERROR-04 reference, unscoped for actual live use. */
.servererror-hero { padding: 100px 0 120px; text-align: center; }
.servererror-icon { width: 72px; height: 72px; margin: 0 auto 20px; background: rgba(255,92,107,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--coral); }
.servererror-icon svg { width: 32px; height: 32px; }
.servererror-hero h1 { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--paper); margin-bottom: 10px; }
.servererror-hero h1 em { color: var(--coral); font-style: italic; }
.servererror-hero p { color: var(--chrome-dim); font-size: 14.5px; max-width: 420px; margin: 0 auto 16px; line-height: 1.6; }
.servererror-reference { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--chrome-dim); margin-bottom: 28px; }
.servererror-reference strong { color: var(--paper); }
.servererror-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .servererror-hero { padding: 64px 0 80px; } }

/* Cart / claim expired special */
.states-page .expired-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(217,56,72,0.12); border: 1px solid var(--coral-deep); border-radius: 999px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--coral); margin-bottom: 20px; font-weight: 600; }
.states-page .released-list { background: var(--ink); border: 1px solid var(--ink-3); border-radius: 8px; padding: 12px; margin-bottom: 20px; width: 100%; max-width: 380px; }
.states-page .released-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; text-align: left; }
.states-page .released-item + .released-item { border-top: 1px solid var(--ink-3); }
.states-page .released-thumb { width: 36px; aspect-ratio: 1; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.states-page .released-thumb.t1 { background: radial-gradient(circle at 30% 30%, #1E5EBB 0%, #0A1E3D 100%); }
.states-page .released-thumb.t2 { background: radial-gradient(circle at 30% 30%, #B45309 0%, #2C1810 100%); }
.states-page .released-info { flex: 1; min-width: 0; text-align: left; }
.states-page .released-info .r-title { font-family: var(--display); font-weight: 500; font-size: 12.5px; color: var(--paper); }
.states-page .released-info .r-status { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--aqua); margin-top: 1px; }
.states-page .released-info .r-status.sold { color: var(--coral); }

/* Sold out pattern */
.states-page .sold-out-card { display: flex; gap: 20px; padding: 20px; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 10px; width: 100%; max-width: 460px; text-align: left; margin-bottom: 20px; }
.states-page .sold-out-img { width: 100px; aspect-ratio: 4/5; background: radial-gradient(circle at 30% 30%, #1E5EBB 0%, #0A1E3D 100%); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 42px; flex-shrink: 0; position: relative; overflow: hidden; }
.states-page .sold-out-img::after { content: 'SOLD OUT'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-8deg); background: rgba(10,15,20,0.85); color: var(--coral); font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: 0.08em; padding: 4px 10px; border: 1px solid var(--coral); border-radius: 3px; }
.states-page .sold-out-info { flex: 1; }
.states-page .sold-out-info .set { font-family: var(--mono); font-size: 10px; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.states-page .sold-out-info .title { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.005em; margin-bottom: 8px; }
.states-page .sold-out-info .price { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--chrome-dim); text-decoration: line-through; }

.states-page .notify-form { display: flex; gap: 8px; width: 100%; max-width: 380px; }
.states-page .notify-form input { flex: 1; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 6px; padding: 12px 14px; color: var(--paper); font-size: 13px; outline: none; }
.states-page .notify-form input:focus { border-color: var(--aqua); }
.states-page .notify-form input::placeholder { color: var(--chrome-dim); }
.states-page .notify-form button { padding: 12px 18px; background: var(--aqua); color: var(--ink); border: none; border-radius: 6px; font-family: var(--display); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; white-space: nowrap; }
.states-page .notify-form button:hover { background: var(--aqua-glow); }

/* Allocation full */
.states-page .alloc-bar-full { width: 100%; max-width: 340px; margin: 8px 0 20px; }
.states-page .alloc-bar-full .head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.states-page .alloc-bar-full .head .lbl { color: var(--chrome-dim); }
.states-page .alloc-bar-full .head .val { color: var(--coral); font-weight: 600; }
.states-page .alloc-bar-full .bar { height: 6px; background: var(--ink-3); border-radius: 3px; overflow: hidden; }
.states-page .alloc-bar-full .fill { height: 100%; width: 100%; background: var(--coral); border-radius: 3px; }

/* Session ended special */
.states-page .device-icon { position: relative; }
.states-page .device-icon .badge { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; background: var(--coral); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ink); border: 2px solid var(--ink-2); }

/* Payment failed */
.states-page .fail-reasons { text-align: left; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; width: 100%; max-width: 420px; }
.states-page .fail-reasons h4 { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-dim); margin-bottom: 10px; }
.states-page .fail-reasons ul { list-style: none; }
.states-page .fail-reasons li { font-size: 13px; color: var(--chrome); padding: 4px 0 4px 18px; position: relative; line-height: 1.5; }
.states-page .fail-reasons li::before { content: '·'; position: absolute; left: 4px; color: var(--coral); font-weight: 700; font-size: 18px; line-height: 1; top: 4px; }
.states-page .fail-code { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); margin-top: 12px; }
.states-page .fail-code strong { color: var(--paper); }

/* Loading skeleton */
.states-page .skeleton { background: linear-gradient(90deg, var(--ink-3) 0%, var(--ink-4) 50%, var(--ink-3) 100%); background-size: 200% 100%; animation: skeleton 1.5s ease-in-out infinite; border-radius: 4px; }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; }}
.states-page .skel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; max-width: 500px; margin: 0 auto; }
.states-page .skel-img { width: 100%; aspect-ratio: 4/5; border-radius: 8px; margin-bottom: 10px; }
.states-page .skel-line { height: 10px; margin-bottom: 6px; }
.states-page .skel-line.w-70 { width: 70%; }
.states-page .skel-line.w-40 { width: 40%; }
.states-page .skel-line.w-90 { width: 90%; }

/* Coming soon countdown */
.states-page .coming-soon-timer { display: flex; gap: 8px; margin-bottom: 20px; }
.states-page .cs-block { padding: 10px 14px; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 6px; text-align: center; min-width: 56px; }
.states-page .cs-num { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; background: linear-gradient(135deg, var(--aqua-glow) 0%, var(--paper) 50%, var(--coral) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.states-page .cs-lbl { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--chrome-dim); margin-top: 4px; }

/* Refund confirmation */
.states-page .refund-info { padding: 14px 16px; background: rgba(0,184,176,0.05); border: 1px solid var(--aqua-deep); border-radius: 8px; margin-bottom: 20px; width: 100%; max-width: 420px; text-align: left; }
.states-page .refund-info h4 { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--aqua); margin-bottom: 10px; }
.states-page .refund-info .r-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13px; color: var(--chrome); }
.states-page .refund-info .r-row .val { font-family: var(--mono); color: var(--paper); }

.states-footer { margin-top: 60px; }

@media (max-width: 800px) {
  .states-header { padding: 14px 20px; }
  .states-page .page-head h1 { font-size: 32px; }
  .states-page .states-grid { grid-template-columns: 1fr; }
  .states-page .four-oh-four { font-size: 84px; }
  .states-page .sold-out-card { flex-direction: column; }
  .states-page .sold-out-img { width: 100%; max-width: 200px; margin: 0 auto; }
  .states-page .notify-form { flex-direction: column; }
  .states-page .coming-soon-timer .cs-block { min-width: 48px; padding: 8px 10px; }
  .states-page .cs-num { font-size: 18px; }
  .states-page .skel-grid { grid-template-columns: 1fr 1fr; }
}
