/* ==========================================================================
   KAIZO storefront — navy & gold design system
   All theme colors come from config/site.config.js (injected as CSS vars
   at build time by build.js — see :root below).
   ========================================================================== */

:root {
  --navy950: #050A18;
  --navy900: #0A1230;
  --navy800: #101C44;
  --navy700: #1A2A5E;
  --gold: #E3B341;
  --gold2: #F5D67B;
  --cream: #F4EDDA;
  --ink: #EAEFFD;
  --muted: #9AA7C9;
  --success: #4ADE80;
  --danger: #F87171;
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.25), 0 8px 30px rgba(0,0,0,.35);
  --glow: 0 0 24px rgba(227,179,65,.22);
}

/* ── reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(227,179,65,.07), transparent 60%),
    radial-gradient(900px 420px at -10% 10%, rgba(26,42,94,.55), transparent 60%),
    var(--navy900);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold2); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; color: var(--cream); }
p { margin: 0 0 1em; }
code, kbd {
  background: var(--navy800); border: 1px solid var(--navy700);
  border-radius: 6px; padding: .1em .45em; font-size: .85em;
  font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--gold2);
}
::selection { background: rgba(227,179,65,.35); }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy950); padding: 10px 18px; z-index: 300; border-radius: 0 0 10px 0; font-weight: 600; }
.skip-link:focus { left: 0; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ── buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 11px 20px; font: 600 15px/1 var(--font-body);
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold2), var(--gold) 55%, #C9972B);
  color: #1A1206; box-shadow: 0 4px 18px rgba(227,179,65,.28);
}
.btn-gold:hover { box-shadow: 0 6px 26px rgba(227,179,65,.45); color: #000; transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--navy700); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold2); background: rgba(227,179,65,.06); }
.btn-ghost { background: rgba(26,42,94,.35); color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: var(--navy700); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 15px 28px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.icon-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,42,94,.35); color: var(--ink);
  border: 1px solid var(--navy700); border-radius: 10px;
  width: 42px; height: 42px; justify-content: center; cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  font: 600 14px var(--font-body); padding: 0 10px; text-decoration: none;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold2); }

/* ── announcement ──────────────────────────────────────────────────────── */
.announce { background: linear-gradient(90deg, #141E48, #1A2A5E 50%, #141E48); border-bottom: 1px solid rgba(227,179,65,.35); font-size: 13.5px; }
.announce-in { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.announce-in > span { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); }
.announce-code { background: rgba(227,179,65,.14); color: var(--gold2); border: 1px dashed var(--gold); border-radius: 7px; padding: 3px 9px; cursor: pointer; font: 700 12.5px ui-monospace, monospace; letter-spacing: .06em; display: inline-flex; gap: 6px; align-items: center; }
.announce-code:hover { background: rgba(227,179,65,.28); }
.announce-link { margin-left: auto; font-weight: 600; font-size: 13px; }
.announce-close { background: none; border: 0; color: var(--muted); cursor: pointer; display: inline-flex; padding: 4px; }
.announce-close:hover { color: var(--gold2); }

/* ── header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(10,18,48,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,42,94,.9);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.header-in { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name {
  font: 700 20px var(--font-display); letter-spacing: .14em;
  background: linear-gradient(120deg, var(--gold2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.main-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 500; font-size: 14.5px; padding: 9px 13px; border-radius: 8px; }
.nav-link:hover { color: var(--gold2); background: rgba(26,42,94,.45); }
.nav-item { position: relative; }
.nav-toggle { background: none; border: 0; font: inherit; cursor: pointer; }
.nav-toggle .caret { transition: transform .18s ease; }
.nav-item.is-open > .nav-toggle .caret { transform: rotate(180deg); }
.drop {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--navy800); border: 1px solid var(--navy700); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; display: none; flex-direction: column;
  z-index: 200;
}
/* The panel used to sit 8px below the trigger. That gap was dead space: moving
   the pointer toward the menu left the hover area and closed it instantly.
   Keep the visual offset with a transparent bridge that still captures hover. */
.drop::before {
  content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
}
.drop > :first-child { margin-top: 8px; }
.nav-item:hover > .drop,
.nav-item:focus-within > .drop,
.nav-item.is-open > .drop,
[data-nav-dropdown].is-open > .drop { display: flex; }
.drop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.drop a:hover { background: var(--navy700); color: var(--gold2); }
.drop-emoji { width: 1.3em; text-align: center; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.discord-btn { width: auto; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px;
  background: var(--gold); color: var(--navy950); border-radius: 999px;
  font: 700 11px/19px var(--font-body); text-align: center; padding: 0 5px;
}
.menu-btn { display: none; }

/* ── mobile nav ────────────────────────────────────────────────────────── */
.mobile-nav {
  position: fixed; inset: 0 30% 0 0; z-index: 200; background: var(--navy950);
  border-right: 1px solid var(--navy700); padding: 18px; overflow-y: auto;
  animation: slideIn .22s ease;
}
@keyframes slideIn { from { transform: translateX(-30px); opacity: 0; } }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a { display: flex; gap: 12px; align-items: center; padding: 13px 10px; color: var(--ink); border-radius: 10px; font-weight: 500; }
.mobile-nav nav a:hover { background: var(--navy800); color: var(--gold2); }
.mobile-nav hr { border: 0; border-top: 1px solid var(--navy700); margin: 8px 0; }

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--navy700); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,48,.55), var(--navy900) 96%), linear-gradient(90deg, rgba(10,18,48,.85), transparent 65%); }
.hero-in { position: relative; padding: 96px 0 84px; max-width: 720px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold2); font: 600 13px var(--font-body); letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(227,179,65,.4); border-radius: 999px; padding: 7px 15px; margin-bottom: 22px; background: rgba(10,18,48,.55); }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 700; letter-spacing: -.015em; margin-bottom: 18px; }
.hero h1 .gold { background: linear-gradient(120deg, var(--gold2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17.5px; color: var(--ink); opacity: .88; max-width: 560px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 46px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font: 700 26px var(--font-display); color: var(--gold2); }
.hero-stats span { font-size: 13px; color: var(--muted); }

/* ── sections ──────────────────────────────────────────────────────────── */
.section { padding: 68px 0; }
.section + .section { border-top: 1px solid rgba(26,42,94,.55); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); margin: 0; }
.section-head p { color: var(--muted); margin: 6px 0 0; max-width: 560px; }
.section-head .link-more { flex: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.eyebrow { color: var(--gold2); font: 600 12.5px var(--font-body); letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 8px; }

/* ── cards & grids ─────────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  background: linear-gradient(180deg, rgba(26,42,94,.30), rgba(16,28,68,.55));
  border: 1px solid var(--navy700); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, border-color .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(227,179,65,.55); box-shadow: var(--glow), var(--shadow); }
.card-media { position: relative; aspect-ratio: 16/9.4; overflow: hidden; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-hover-cta {
  position: absolute; inset: auto 12px 12px auto; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(5,10,24,.8); border: 1px solid rgba(227,179,65,.5); color: var(--gold2);
  font: 600 12.5px var(--font-body); padding: 7px 12px; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: .2s;
}
.card:hover .card-hover-cta { opacity: 1; transform: none; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-cat { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-cat:hover { color: var(--gold2); }
.card-title { font-size: 18.5px; margin: 0; }
.card-title a { color: var(--cream); }
.card-title a:hover { color: var(--gold2); }
.card-excerpt { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.card-rating { min-height: 22px; display: flex; align-items: center; gap: 8px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }

.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font: 700 11.5px var(--font-body); letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; color: #1A1206;
  background: linear-gradient(135deg, var(--gold2), var(--gold)); box-shadow: 0 3px 12px rgba(0,0,0,.4);
  display: inline-flex; align-items: center; gap: 5px;
}
.badge-blue { background: linear-gradient(135deg, #7EB8FF, #3B82F6); color: #071733; }
.badge-green { background: linear-gradient(135deg, #86EFAC, #22C55E); color: #05240F; }
.badge-pink { background: linear-gradient(135deg, #FDA4AF, #F472B6); color: #36061C; }
.badge-purple { background: linear-gradient(135deg, #C4B5FD, #8B5CF6); color: #190C3A; }
.badge-sub { left: auto; right: 12px; }

.stars { display: inline-flex; gap: 2px; }
.star { width: 16px; height: 16px; }
.stars-count { color: var(--muted); font-size: 13px; }
.stars-none { color: var(--muted); font-size: 12.5px; font-style: italic; }

.price { font: 700 19px var(--font-display); color: var(--cream); }
.price s { color: var(--muted); font-weight: 500; font-size: 14.5px; margin-right: 6px; }
.price small { color: var(--muted); font-size: 13px; font-weight: 500; }

.occasion-chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600;
  background: rgba(227,179,65,.12); border: 1px solid rgba(227,179,65,.35); color: var(--gold2);
  padding: 3px 10px; border-radius: 999px;
}
.occasion-chip:hover { background: rgba(227,179,65,.25); color: var(--gold2); }
.tag-chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500;
  background: rgba(26,42,94,.5); border: 1px solid var(--navy700); color: var(--ink);
  padding: 5px 11px; border-radius: 999px;
}
.tag-chip .icon { width: .95em; height: .95em; color: var(--gold); }
.tag-chip:hover { border-color: var(--gold); color: var(--gold2); }

/* ── category / occasion cards ─────────────────────────────────────────── */
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/8; border: 1px solid var(--navy700); display: flex; align-items: flex-end; transition: transform .18s, border-color .18s, box-shadow .18s; }
.cat-card:hover { transform: translateY(-4px); border-color: rgba(227,179,65,.55); box-shadow: var(--glow); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5,10,24,.92)); }
.cat-card-body { position: relative; z-index: 1; padding: 20px; width: 100%; }
.cat-card-body h3 { margin: 0 0 4px; font-size: 20px; }
.cat-card-body p { margin: 0; color: var(--muted); font-size: 13.5px; }
.cat-card-count { position: absolute; top: 14px; right: 14px; z-index: 1; background: rgba(5,10,24,.75); border: 1px solid var(--navy700); border-radius: 999px; padding: 4px 12px; font: 600 12px var(--font-body); color: var(--gold2); }

/* ── feature row ───────────────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feature { border: 1px solid var(--navy700); background: rgba(16,28,68,.4); border-radius: var(--radius); padding: 24px; }
.feature .icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 14px; }
.feature h3 { font-size: 16.5px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* ── discord CTA band ──────────────────────────────────────────────────── */
.cta-band { border: 1px solid rgba(227,179,65,.4); border-radius: 18px; padding: 52px; text-align: center; background: radial-gradient(600px 260px at 50% -40%, rgba(227,179,65,.16), transparent), linear-gradient(180deg, var(--navy800), var(--navy900)); }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 36px); }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

/* ── breadcrumbs ───────────────────────────────────────────────────────── */
.breadcrumbs { padding: 20px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; font-size: 13.5px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--navy700); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold2); }
.breadcrumbs [aria-current] { color: var(--cream); }

/* ── product page ──────────────────────────────────────────────────────── */
.product-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; padding: 34px 0 60px; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--navy700); background: var(--navy950); aspect-ratio: 16/9.4; }
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .media-kind { position: absolute; top: 14px; left: 14px; z-index: 3; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button {
  width: 92px; height: 60px; border-radius: 9px; overflow: hidden; cursor: pointer;
  border: 2px solid var(--navy700); background: var(--navy950); padding: 0; position: relative;
}
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .thumb-kind { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5,10,24,.5); color: var(--gold2); }
.yt-embed { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; background-size: cover; background-position: center; }
.yt-embed::after { content: ""; position: absolute; inset: 0; background: rgba(5,10,24,.35); }
.yt-embed .play-btn { position: relative; z-index: 1; width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(135deg, var(--gold2), var(--gold)); display: grid; place-items: center; color: #1A1206; box-shadow: var(--glow); }
.yt-embed .play-btn .icon { width: 30px; height: 30px; }

.buy-panel { position: sticky; top: 92px; align-self: start; border: 1px solid var(--navy700); background: linear-gradient(180deg, rgba(26,42,94,.35), rgba(16,28,68,.5)); border-radius: 16px; padding: 28px; }
.buy-panel .card-meta { margin-bottom: 10px; }
.buy-panel h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.buy-panel .lead { color: var(--muted); font-size: 14.5px; }
.buy-price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 4px; }
.buy-price .price { font-size: 32px; }
.save-chip { background: rgba(74,222,128,.12); color: var(--success); border: 1px solid rgba(74,222,128,.35); font: 700 12px var(--font-body); padding: 4px 10px; border-radius: 999px; }
.buy-actions { display: flex; gap: 10px; margin: 18px 0 10px; }
.buy-actions .btn { flex: 1; }
.qty-row { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; }
.qty-row span { font-size: 13.5px; color: var(--muted); }
.qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--navy700); border-radius: 9px; overflow: hidden; }
.qty-ctrl button { width: 36px; height: 36px; background: var(--navy800); border: 0; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.qty-ctrl button:hover { color: var(--gold2); }
.qty-ctrl input { width: 46px; height: 36px; text-align: center; background: transparent; border: 0; color: var(--cream); font: 600 15px var(--font-body); }
.buy-trust { display: grid; gap: 8px; margin-top: 16px; border-top: 1px solid var(--navy700); padding-top: 16px; }
.buy-trust div { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13.5px; }
.buy-trust .icon { color: var(--gold); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--navy700); font-size: 14px; }
.spec-table th { color: var(--muted); font-weight: 500; width: 42%; }
.spec-table td { color: var(--cream); font-weight: 500; }

.product-body { display: block; padding-bottom: 60px; }
.product-body .prose { max-width: 72ch; }
.related-wrap { margin-top: 54px; border-top: 1px solid var(--navy700); padding-top: 46px; }
.related-wrap h2 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.related-wrap h2 .icon { color: var(--gold); }
.prose { color: var(--ink); max-width: 72ch; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* ── reviews ───────────────────────────────────────────────────────────── */
.reviews { border-top: 1px solid var(--navy700); padding: 46px 0 60px; }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.reviews-head h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; margin: 0 0 10px; }
.reviews-head h2 .icon { color: var(--gold); }
.reviews-summary { display: flex; align-items: center; gap: 10px; }
.reviews-avg { font: 700 30px var(--font-display); color: var(--gold2); }
.review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.review { border: 1px solid var(--navy700); border-radius: var(--radius); padding: 20px; background: rgba(16,28,68,.4); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-stars { margin-left: auto; }
.review-who { display: flex; flex-direction: column; }
.review-who strong { color: var(--cream); font-size: 14.5px; }
.review-date { color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; gap: 5px; }
.review-title { font-size: 15.5px; margin: 0 0 6px; }
.review-text { color: var(--ink); opacity: .87; font-size: 14px; margin: 0 0 12px; }
.review-verified { color: var(--success); font-size: 12px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.review-pending { color: var(--gold2); border: 1px dashed rgba(227,179,65,.5); padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; margin-left: 8px; }
.reviews-note { color: var(--muted); font-size: 13px; margin-top: 20px; display: flex; gap: 8px; align-items: center; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; font: 700 15px var(--font-display); flex: none; border: 1px solid rgba(227,179,65,.35); }

/* ── modal ─────────────────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 220; background: rgba(5,10,24,.78); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.modal-card { width: min(520px, 100%); max-height: 90vh; overflow-y: auto; background: var(--navy900); border: 1px solid var(--navy700); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); animation: pop .18s ease; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal-head h2 { font-size: 20px; display: flex; gap: 10px; align-items: center; margin: 0; }
.modal-head .icon { color: var(--gold); }
.modal-sub { color: var(--muted); font-size: 14px; margin: 8px 0 20px; }
.modal label { display: block; font: 600 13.5px var(--font-body); color: var(--cream); margin-bottom: 16px; }
.modal input[type=text], .modal textarea, .qty-ctrl input, .coupon-row input, .search-input-row input {
  width: 100%; margin-top: 7px; background: var(--navy950); border: 1px solid var(--navy700);
  border-radius: 9px; color: var(--ink); padding: 11px 13px; font: 400 14.5px var(--font-body);
}
.modal input:focus, .modal textarea:focus { border-color: var(--gold); outline: none; }
.opt { color: var(--muted); font-weight: 400; }
.star-input { display: flex; gap: 6px; margin-top: 8px; }
.star-input button { background: none; border: 0; padding: 2px; cursor: pointer; color: var(--navy700); transition: transform .12s; }
.star-input button svg { width: 30px; height: 30px; fill: currentColor; }
.star-input button.on { color: var(--gold2); }
.star-input button:hover { transform: scale(1.15); }
.form-note { color: var(--muted); font-size: 12.5px; text-align: center; margin: 12px 0 0; }

/* ── cart drawer ───────────────────────────────────────────────────────── */
.drawer-overlay { position: fixed; inset: 0; z-index: 190; background: rgba(5,10,24,.7); backdrop-filter: blur(3px); }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(430px, 94vw); background: var(--navy950); border-left: 1px solid var(--navy700);
  display: flex; flex-direction: column; animation: slideR .22s ease;
}
@keyframes slideR { from { transform: translateX(40px); opacity: 0; } }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--navy700); }
.cart-head h2 { margin: 0; font-size: 19px; display: flex; gap: 10px; align-items: center; }
.cart-head .icon { color: var(--gold); }
.cart-demo-note { margin: 14px 18px 0; padding: 10px 13px; border: 1px dashed rgba(227,179,65,.5); border-radius: 10px; color: var(--gold2); font-size: 12.5px; display: flex; gap: 8px; align-items: flex-start; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 13px; border: 1px solid var(--navy700); border-radius: 12px; padding: 12px; background: rgba(16,28,68,.4); }
.cart-item img { width: 74px; height: 56px; object-fit: cover; border-radius: 8px; }
.cart-item-name { font: 600 14px var(--font-body); color: var(--cream); margin-bottom: 4px; }
.cart-item-price { color: var(--gold2); font: 700 14.5px var(--font-display); }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item .qty-ctrl button { width: 26px; height: 26px; }
.cart-item .qty-ctrl input { width: 32px; height: 26px; font-size: 13px; margin: 0; }
.cart-remove { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; }
.cart-remove:hover { color: var(--danger); }
.cart-empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); }
.cart-empty .icon { width: 44px; height: 44px; color: var(--navy700); }
.cart-drawer.is-empty .cart-empty { display: flex; }
.cart-drawer.is-empty .cart-items, .cart-drawer.is-empty .cart-foot { display: none; }
.cart-foot { border-top: 1px solid var(--navy700); padding: 18px 22px; }
.coupon-row { display: flex; gap: 9px; margin-bottom: 14px; }
.coupon-row input { margin: 0; flex: 1; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.cart-total strong { font: 700 24px var(--font-display); color: var(--gold2); }
.cart-tax-note { color: var(--muted); font-size: 12px; margin: 6px 0 14px; }
.cart-secure { color: var(--muted); font-size: 12px; text-align: center; margin: 10px 0 0; display: flex; gap: 6px; justify-content: center; align-items: center; }
.cart-secure .icon { color: var(--success); }

/* ── search ────────────────────────────────────────────────────────────── */
.search-overlay { position: fixed; inset: 0; z-index: 210; background: rgba(5,10,24,.8); backdrop-filter: blur(8px); padding: 9vh 20px 20px; }
.search-box { width: min(640px, 100%); margin: 0 auto; background: var(--navy900); border: 1px solid var(--navy700); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; animation: pop .18s ease; }
.search-input-row { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--navy700); }
.search-input-row .icon { color: var(--gold); width: 20px; height: 20px; }
.search-input-row input { margin: 0; border: 0; background: none; font-size: 16.5px; padding: 6px 0; }
.search-input-row input:focus { outline: none; }
.search-results { max-height: 56vh; overflow-y: auto; padding: 10px; }
.search-group { padding: 8px 10px 4px; color: var(--muted); font: 700 11.5px var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.search-hit { display: flex; gap: 13px; align-items: center; padding: 10px; border-radius: 10px; }
.search-hit:hover, .search-hit.active { background: var(--navy800); }
.search-hit img { width: 58px; height: 42px; object-fit: cover; border-radius: 7px; flex: none; }
.search-hit-title { color: var(--cream); font-weight: 600; font-size: 14.5px; }
.search-hit-sub { color: var(--muted); font-size: 12.5px; }
.search-hit .price { margin-left: auto; font-size: 15px; flex: none; }
.search-none { padding: 30px; text-align: center; color: var(--muted); }
.search-hint { padding: 10px 18px; border-top: 1px solid var(--navy700); color: var(--muted); font-size: 12px; }
mark { background: rgba(227,179,65,.3); color: var(--gold2); border-radius: 3px; padding: 0 1px; }

/* ── filter bar (shop page) ────────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 30px; }
.filter-bar select {
  background: var(--navy950); color: var(--ink); border: 1px solid var(--navy700);
  border-radius: 9px; padding: 10px 13px; font: 500 14px var(--font-body); cursor: pointer;
}
.filter-bar select:focus { border-color: var(--gold); outline: none; }
.filter-count { color: var(--muted); font-size: 13.5px; margin-left: auto; }

/* ── blog ──────────────────────────────────────────────────────────────── */
.blog-card-meta { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; }
.blog-card-meta .icon { width: 1em; height: 1em; color: var(--gold); }
.blog-card-meta .dot { opacity: .5; }
.blog-card-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.post-hero { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--navy700); margin: 26px 0 34px; }
.post-hero img { width: 100%; max-height: 440px; object-fit: cover; }
.post-head { max-width: 780px; margin: 30px auto 0; text-align: center; }
.post-head h1 { font-size: clamp(28px, 4vw, 42px); }
.post-meta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; margin-top: 14px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .icon { color: var(--gold); }
.post-body { max-width: 760px; margin: 36px auto 0; font-size: 16.5px; }
.post-body h2 { font-size: 24px; margin-top: 1.7em; }
.post-body ul { padding-left: 1.25em; }
.post-body li { margin-bottom: .45em; }
.post-body a { text-decoration: underline; text-underline-offset: 3px; }
.post-tags { max-width: 760px; margin: 34px auto 0; display: flex; gap: 8px; flex-wrap: wrap; }
.share-row { max-width: 760px; margin: 22px auto 0; display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13.5px; }

/* ── support / faq ─────────────────────────────────────────────────────── */
.faq details { border: 1px solid var(--navy700); border-radius: 12px; background: rgba(16,28,68,.4); margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 17px 20px; font: 600 15.5px var(--font-body); color: var(--cream); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--gold); transition: transform .2s; flex: none; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

/* ── footer ────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--navy700); background: var(--navy950); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding: 56px 0 34px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; margin: 14px 0 18px; }
.socials { display: flex; gap: 9px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { color: var(--cream); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.footer-col a { color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--gold2); }
.footer-bottom { border-top: 1px solid var(--navy700); padding: 22px 0 30px; text-align: center; }
.footer-bottom p { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.footer-legal { opacity: .7; font-size: 12px !important; }
.pay-badges { display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pay-badges span { border: 1px solid var(--navy700); border-radius: 6px; padding: 3px 10px; font: 700 10.5px var(--font-body); letter-spacing: .06em; color: var(--muted); }

/* ── misc widgets ──────────────────────────────────────────────────────── */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--navy700); background: var(--navy800); color: var(--gold2); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.to-top:hover { border-color: var(--gold); }
.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { background: var(--navy800); border: 1px solid var(--gold); color: var(--cream); padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow); font: 600 14px var(--font-body); display: flex; gap: 9px; align-items: center; animation: pop .18s ease; }
.toast .icon { color: var(--gold2); }
.lightbox { position: fixed; inset: 0; z-index: 230; background: rgba(5,10,24,.92); display: grid; place-items: center; padding: 30px; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox-close { position: absolute; top: 20px; right: 20px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

.page-head { padding: 44px 0 8px; }
.page-head h1 { font-size: clamp(28px, 4vw, 40px); }
.page-head p { color: var(--muted); max-width: 640px; }
.occasion-emoji { font-size: 44px; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); border: 1px dashed var(--navy700); border-radius: 16px; }
.empty-state .icon { width: 40px; height: 40px; margin-bottom: 12px; color: var(--navy700); }

.notice-band { border: 1px dashed rgba(227,179,65,.5); background: rgba(227,179,65,.06); color: var(--gold2); border-radius: 12px; padding: 13px 18px; font-size: 13.5px; display: flex; gap: 10px; align-items: center; margin-bottom: 26px; }

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .product-layout { grid-template-columns: 1fr; }
  .buy-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hide-md { display: none; }
  .hero-in { padding: 64px 0 56px; }
  .hero-stats { gap: 22px; }
  .section { padding: 48px 0; }
  .cta-band { padding: 34px 22px; }
  .container { width: calc(100% - 36px); }
  .mobile-nav { inset: 0 12% 0 0; }
  .header-in { gap: 12px; height: 62px; }
  .brand-name { font-size: 17px; letter-spacing: .1em; }
  .brand img { width: 28px; height: 28px; }
  .icon-btn { width: 40px; height: 40px; }
  .header-actions { gap: 8px; }
  .announce-in { flex-wrap: wrap; row-gap: 4px; padding: 8px 0; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .buy-actions { flex-direction: column; }
  .announce-link { display: none; }
  .hero h1 { font-size: 30px; }
}

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

/* ══════════════════════════ v2 additions ══════════════════════════════════ */

/* ── ambient fx canvas ───────────────────────────────────────────────────── */
#fx-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
}

/* ── welcome & rules modals ──────────────────────────────────────────────── */
.welcome-modal .modal-card { width: min(580px, 100%); }
.welcome-badge {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(227,179,65,.25), rgba(227,179,65,.08));
  border: 1px solid rgba(227,179,65,.45); margin-bottom: 16px;
}
.welcome-badge .icon { width: 26px; height: 26px; color: var(--gold); }
.rules-inline {
  max-height: 240px; overflow-y: auto; background: var(--navy950);
  border: 1px solid var(--navy700); border-radius: 10px; padding: 14px 20px; margin: 14px 0;
}
.rules-inline li, .rules-full li { margin-bottom: 9px; font-size: 14px; color: var(--ink); line-height: 1.55; }
.rules-inline li::marker, .rules-full li::marker { color: var(--gold); font-weight: 700; }
.welcome-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.rules-full { max-height: 55vh; overflow-y: auto; padding: 4px 4px 4px 22px; margin: 14px 0; }
.rules-foot { color: var(--muted); font-size: 12.5px; margin: 0; }

/* ── services page ───────────────────────────────────────────────────────── */
.service-card { display: flex; flex-direction: column; gap: 10px; }
.service-card .icon { width: 30px; height: 30px; color: var(--gold); }
.service-from { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--navy700); }
.service-from span { color: var(--muted); font-size: 13px; }
.service-from strong { font: 700 17px var(--font-display); color: var(--gold2); }
.steps { counter-reset: step; display: grid; gap: 14px; max-width: 760px; }
.step { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--navy700); border-radius: 12px; padding: 18px; background: rgba(16,28,68,.4); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold2), var(--gold)); color: #1A1206;
  font: 700 16px var(--font-display);
}
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ── brief builder form ──────────────────────────────────────────────────── */
.brief-form { max-width: 720px; }
.brief-form label { display: block; font: 600 13.5px var(--font-body); color: var(--cream); margin-bottom: 16px; }
.brief-form input[type=text], .brief-form textarea, .brief-form select {
  width: 100%; margin-top: 7px; background: var(--navy950); border: 1px solid var(--navy700);
  border-radius: 9px; color: var(--ink); padding: 11px 13px; font: 400 14.5px var(--font-body);
}
.brief-form input:focus, .brief-form textarea:focus, .brief-form select:focus { border-color: var(--gold); outline: none; }
.brief-rules-row { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--navy700); border-radius: 10px; padding: 14px; background: rgba(16,28,68,.4); margin-bottom: 18px; }
.brief-rules-row input { margin-top: 3px; accent-color: var(--gold); width: 17px; height: 17px; }
.brief-rules-row span { font-size: 13.5px; color: var(--muted); }
.brief-rules-row button { background: none; border: 0; color: var(--gold2); cursor: pointer; font: 600 13.5px var(--font-body); padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.brief-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── admin panel ─────────────────────────────────────────────────────────── */
.admin-body { background: var(--navy950); min-height: 100vh; }
.admin-login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.admin-login-card {
  width: min(430px, 100%); background: var(--navy900); border: 1px solid var(--navy700);
  border-radius: 18px; padding: 34px; box-shadow: var(--shadow);
}
.admin-login-card h1 { font-size: 22px; display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.admin-login-card h1 .icon { color: var(--gold); }
.admin-login-card .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.admin-login-card label { display: block; font: 600 13px var(--font-body); color: var(--cream); margin-bottom: 14px; }
.admin-login-card input {
  width: 100%; margin-top: 6px; background: var(--navy950); border: 1px solid var(--navy700);
  border-radius: 9px; color: var(--ink); padding: 11px 13px; font: 400 14.5px var(--font-body);
}
.admin-login-card input:focus { border-color: var(--gold); outline: none; }
.admin-login-err { color: var(--danger); font-size: 13px; min-height: 18px; margin: 4px 0 10px; }
.admin-lock { color: var(--gold2); font-size: 13px; margin-top: 10px; text-align: center; }

.admin-shell { display: grid; grid-template-columns: 235px 1fr; min-height: 100vh; }
.admin-side { border-right: 1px solid var(--navy700); padding: 22px 16px; display: flex; flex-direction: column; gap: 4px; background: var(--navy900); position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { margin-bottom: 18px; padding-left: 6px; }
.admin-tab-btn {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  background: none; border: 0; color: var(--muted); font: 600 14px var(--font-body);
  padding: 11px 12px; border-radius: 10px; cursor: pointer;
}
.admin-tab-btn:hover { background: var(--navy800); color: var(--ink); }
.admin-tab-btn.active { background: rgba(227,179,65,.13); color: var(--gold2); }
.admin-tab-btn .icon { width: 18px; height: 18px; }
.admin-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--navy700); padding-top: 12px; }
.admin-main { padding: 30px 34px; max-width: 1080px; }
.admin-main h1 { font-size: 24px; margin-bottom: 4px; }
.admin-main .admin-sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.admin-card { border: 1px solid var(--navy700); border-radius: 14px; background: var(--navy900); padding: 22px; margin-bottom: 18px; }
.admin-card h2 { font-size: 16.5px; margin-bottom: 14px; display: flex; gap: 9px; align-items: center; }
.admin-card h2 .icon { color: var(--gold); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-field { display: block; font: 600 12.5px var(--font-body); color: var(--cream); }
.admin-field input, .admin-field select, .admin-field textarea {
  width: 100%; margin-top: 6px; background: var(--navy950); border: 1px solid var(--navy700);
  border-radius: 9px; color: var(--ink); padding: 10px 12px; font: 400 14px var(--font-body);
}
.admin-field input:focus, .admin-field select:focus, .admin-field textarea:focus { border-color: var(--gold); outline: none; }
.admin-field .hint { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 5px; }
.admin-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; color: var(--muted); font: 600 11.5px var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--navy700); }
.admin-table td { padding: 10px; border-bottom: 1px solid rgba(26,42,94,.6); font-size: 13.5px; vertical-align: middle; }
.admin-table img { width: 52px; height: 34px; object-fit: cover; border-radius: 6px; }
.admin-table input[type=text] { background: var(--navy950); border: 1px solid var(--navy700); border-radius: 7px; color: var(--ink); padding: 7px 10px; font-size: 13px; width: 100%; }
.admin-table input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--gold); }
.admin-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 700 11px var(--font-body); background: rgba(227,179,65,.13); color: var(--gold2); border: 1px solid rgba(227,179,65,.35); }
.fx-mode-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.fx-mode-btn {
  border: 1px solid var(--navy700); background: var(--navy950); border-radius: 12px;
  padding: 16px 10px; cursor: pointer; color: var(--ink); font: 600 13px var(--font-body);
  display: flex; flex-direction: column; align-items: center; gap: 8px; transition: border-color .15s, background .15s;
}
.fx-mode-btn:hover { border-color: var(--gold); }
.fx-mode-btn.active { border-color: var(--gold); background: rgba(227,179,65,.1); color: var(--gold2); }
.fx-mode-btn .fx-emoji { font-size: 24px; }
.admin-danger { border-color: rgba(248,113,113,.4); }
.admin-note { border: 1px dashed rgba(227,179,65,.5); background: rgba(227,179,65,.06); border-radius: 10px; padding: 13px 16px; color: var(--gold2); font-size: 13px; line-height: 1.6; }
.admin-note code { font-size: 12px; }
.admin-pre { background: var(--navy950); border: 1px solid var(--navy700); border-radius: 10px; padding: 14px; font: 12.5px/1.6 ui-monospace, Menlo, monospace; color: var(--ink); overflow-x: auto; white-space: pre-wrap; max-height: 320px; overflow-y: auto; }
.admin-blog-row { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--navy700); border-radius: 10px; margin-bottom: 10px; background: rgba(16,28,68,.35); }
.admin-blog-row img { width: 74px; height: 48px; object-fit: cover; border-radius: 7px; }
.admin-blog-row .t { flex: 1; }
.admin-blog-row .t strong { color: var(--cream); font-size: 14px; display: block; }
.admin-blog-row .t span { color: var(--muted); font-size: 12px; }
.admin-switch { position: relative; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13.5px; color: var(--ink); }
.admin-switch input { display: none; }
.admin-switch .sw { width: 40px; height: 22px; border-radius: 999px; background: var(--navy700); position: relative; transition: background .15s; flex: none; }
.admin-switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); transition: transform .15s; }
.admin-switch input:checked + .sw { background: var(--gold); }
.admin-switch input:checked + .sw::after { transform: translateX(18px); background: #1A1206; }

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-main { padding: 20px; }
}

/* theme overrides from config/site.config.js */
:root {
  --navy950: #050A18;
  --navy900: #0A1230;
  --navy800: #101C44;
  --navy700: #1A2A5E;
  --gold: #E3B341;
  --gold2: #F5D67B;
  --cream: #F4EDDA;
  --ink: #EAEFFD;
  --muted: #9AA7C9;
  --success: #4ADE80;
  --danger: #F87171;
}
