:root {
  --bg: #0a0a0b;
  --surface: #141416;
  --card: #1a1a1e;
  --border: #2a2a30;
  --text: #f5f5f7;
  --muted: #a1a1aa;
  --gold: #c9a227;
  --gold-soft: #e8d48b;
  --accent: #c9a227;
  --danger: #ef4444;
  --ok: #22c55e;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Top */
.topbar {
  background: #000;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.topbar span strong { color: var(--gold-soft); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,11,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  padding: 14px 0;
}
.logo {
  font-size: 22px; font-weight: 700; letter-spacing: 2px;
  color: var(--text);
}
.logo span { color: var(--gold); }
.search {
  flex: 1; max-width: 420px;
}
.search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  outline: none;
}
.search input:focus { border-color: var(--gold); }
.header-right { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--muted); }
.header-right a:hover { color: var(--gold-soft); }
.cart-wrap { position: relative; }
.cart-badge {
  position: absolute; top: -6px; right: -10px;
  background: var(--gold); color: #000;
  font-size: 10px; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
}

/* Nav pills */
.nav-cats {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.nav-inner {
  display: flex; gap: 6px; overflow-x: auto; padding: 10px 0;
}
.nav-pill {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: .2s;
}
.nav-pill:hover, .nav-pill.active {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(201,162,39,.08);
}

/* Hero */
.hero {
  position: relative;
  min-height: 380px;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0b 0%, #1a1510 50%, #0a0a0b 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,162,39,.15), transparent 55%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; padding: 56px 0; max-width: 520px; }
.hero-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; font-weight: 600;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.hero p { color: var(--muted); margin-bottom: 24px; font-size: 15px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: none;
  font-weight: 600; font-size: 14px; cursor: pointer; transition: .2s;
}
.btn-gold {
  background: linear-gradient(135deg, #e8d48b, #c9a227);
  color: #111;
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-block { width: 100%; }

/* Trust */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.trust-item {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.trust-item strong { display: block; color: var(--text); font-size: 13px; margin-top: 4px; }
.trust-icon { font-size: 20px; margin-bottom: 4px; }

/* Sections */
.section { padding: 40px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 20px;
}
.section-head h2 {
  font-size: 20px; font-weight: 600; letter-spacing: 0.5px;
}
.section-head a { font-size: 13px; color: var(--gold); }
.section-head a:hover { color: var(--gold-soft); }

/* Product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: .25s;
  display: block;
}
.card:hover {
  border-color: rgba(201,162,39,.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.card-img {
  position: relative;
  aspect-ratio: 1;
  background: #111;
  display: flex; align-items: center; justify-content: center;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--gold);
  color: #111;
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
  letter-spacing: 0.5px;
}
.card-body { padding: 14px; }
.card-brand {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.card-name {
  font-size: 14px; font-weight: 500;
  height: 42px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  margin-bottom: 8px;
}
.card-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.card-price { font-size: 15px; font-weight: 700; color: var(--gold-soft); }
.card-old {
  font-size: 12px; color: #52525b;
  text-decoration: line-through; margin-left: 6px; font-weight: 400;
}

/* Shop layout */
.layout { display: flex; gap: 24px; padding: 28px 0; }
.sidebar {
  width: 220px; flex-shrink: 0;
}
.side-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  position: sticky; top: 80px;
}
.side-box h3 {
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.side-box label {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--muted);
  margin-bottom: 8px; cursor: pointer;
}
.side-box label:hover { color: var(--text); }
.main { flex: 1; min-width: 0; }
.toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; margin-bottom: 16px;
}
.toolbar select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent; color: var(--muted);
  font-size: 12px; cursor: pointer;
}
.chip.active, .chip:hover {
  border-color: var(--gold); color: var(--gold-soft);
}

/* Product detail */
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 36px 0;
}
.detail-img {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
}
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-info .brand {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
}
.detail-info h1 {
  font-size: 26px; font-weight: 600; margin: 8px 0 12px; letter-spacing: -0.3px;
}
.price-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin: 16px 0;
}
.price-now { font-size: 28px; font-weight: 700; color: var(--gold-soft); }
.price-was { color: #52525b; text-decoration: line-through; margin-left: 10px; }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 14px; }
.qty-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px; cursor: pointer; color: var(--text);
}
.qty-btn:hover { border-color: var(--gold); }
.actions { display: flex; gap: 12px; margin-top: 8px; }
.actions .btn { flex: 1; padding: 14px; }
.specs {
  margin-top: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.specs h3 { font-size: 14px; margin-bottom: 12px; color: var(--gold-soft); }
.spec-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.spec-row span:first-child { color: var(--muted); }

/* Cart */
.cart-item {
  display: flex; gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}
.cart-item img {
  width: 88px; height: 88px; object-fit: cover; border-radius: 10px;
}
.cart-sum {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  max-width: 360px;
  margin-left: auto;
}

/* Forms */
.form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  font-size: 14px;
  outline: none;
}
.form-input:focus { border-color: var(--gold); }

/* Admin */
.admin-layout { display: flex; min-height: 100vh; }
.admin-side {
  width: 230px; background: #000;
  border-right: 1px solid var(--border);
  padding: 20px 12px; flex-shrink: 0;
}
.admin-side a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 13px; color: var(--muted); margin-bottom: 2px;
}
.admin-side a:hover, .admin-side a.active {
  background: var(--surface); color: var(--gold-soft);
}
.admin-main { flex: 1; padding: 24px; background: var(--bg); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px; margin-bottom: 20px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 16px;
}
.stat .label { font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.stat .val { font-size: 20px; font-weight: 700; margin-top: 6px; color: var(--gold-soft); }
.admin-table {
  width: 100%; border-collapse: collapse;
  background: var(--card); border-radius: 14px; overflow: hidden;
  font-size: 13px;
}
.admin-table th {
  text-align: left; padding: 12px 14px;
  background: var(--surface); color: var(--muted);
  font-weight: 600; font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
}
.admin-table td {
  padding: 12px 14px; border-top: 1px solid var(--border); vertical-align: middle;
}
.admin-table img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
  margin-top: 40px;
  color: var(--muted);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px; margin-bottom: 28px;
}
footer h4 { color: var(--text); margin-bottom: 12px; font-size: 13px; letter-spacing: 1px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px; text-align: center; font-size: 12px;
}

/* Utils */
.hidden { display: none !important; }
.text-muted { color: var(--muted); }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.flex { display: flex; }
.gap-2 { gap: 8px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--gold); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

@media (max-width: 768px) {
  .detail { grid-template-columns: 1fr; gap: 24px; }
  .layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .side-box { position: static; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .search { display: none; }
  .admin-layout { flex-direction: column; }
  .admin-side { width: 100%; }
  .hero { min-height: 300px; }
}

/* NOVA V106.1E Hotfix2 · full-width promotional hero slider */
.hero-slider {
  min-height: 390px;
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0a0a0b;
  padding: 20px 0 42px;
}
.hero-slider::before { display:none; }
.hero-slider-track { position:relative; width:100%; min-height:328px; }
.hero-slide {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transform:translateX(18px) scale(.995);
  transition:opacity .55s ease, transform .68s cubic-bezier(.2,.7,.2,1), visibility .55s;
  pointer-events:none;
}
.hero-slide.is-active { opacity:1; visibility:visible; transform:none; pointer-events:auto; z-index:2; }
.hero-promo-card,
.hero-artwork-link {
  position:relative;
  display:block;
  width:min(1320px,calc(100% - 40px));
  min-height:328px;
  margin:auto;
  overflow:hidden;
  border-radius:24px;
  text-decoration:none;
  box-shadow:0 20px 55px rgba(0,0,0,.28);
}
.hero-promo-card {
  display:grid;
  grid-template-columns:minmax(320px,.86fr) minmax(420px,1.14fr);
  align-items:stretch;
  color:#f7f7f7;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(115deg,#14161a 0%,#171b22 38%,#212733 100%);
}
.hero-theme-gold {
  background:
    radial-gradient(70% 120% at 24% 50%,rgba(102,146,255,.22) 0%,rgba(56,90,170,.10) 42%,transparent 66%),
    linear-gradient(90deg,#0b0e15 0%,#0c111a 32%,#0d1421 62%,#0d1730 100%);
}
.hero-theme-blue {
  background:
    radial-gradient(70% 120% at 24% 50%,rgba(86,162,255,.24) 0%,rgba(54,108,196,.11) 42%,transparent 66%),
    linear-gradient(90deg,#0a0d14 0%,#0c1118 32%,#0d1420 62%,#0f1a31 100%);
}
.hero-theme-peach {
  background:
    radial-gradient(70% 120% at 24% 50%,rgba(109,162,255,.22) 0%,rgba(53,98,182,.10) 42%,transparent 66%),
    linear-gradient(90deg,#0b0e15 0%,#0c1119 32%,#0d1420 62%,#0d1830 100%);
}
.hero-promo-visual {
  position:relative;
  min-height:328px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:26px 24px 20px 44px;
}
.hero-promo-visual::before {
  content:'';
  position:absolute;
  width:360px;
  height:360px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(104,153,255,.28) 0%,rgba(63,114,220,.12) 38%,rgba(33,55,108,.04) 58%,transparent 72%);
  filter:blur(10px);
}
.hero-promo-visual img {
  position:relative;
  z-index:2;
  width:100%;
  max-width:390px;
  height:285px;
  object-fit:contain;
  filter:drop-shadow(0 26px 32px rgba(0,0,0,.42));
  transition:transform .6s ease;
}
.hero-promo-card:hover .hero-promo-visual img { transform:scale(1.025) translateY(-3px); }
.hero-promo-card::after {
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 0%,transparent 56%,rgba(255,255,255,.03) 100%);
}
.hero-sale-bubble {
  position:absolute;
  z-index:3;
  right:24px;
  top:24px;
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  border-radius:50%;
  background:rgba(10,10,12,.92);
  color:#ffe079;
  font-size:15px;
  font-weight:950;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.08);
}
.hero-promo-copy {
  position:relative;
  z-index:2;
  align-self:center;
  padding:36px 56px 36px 24px;
}
.hero-promo-kicker {
  color:#f1c54c;
  font-size:12px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.hero-promo-copy h1 {
  margin:0;
  color:#f8fafc;
  font-size:clamp(31px,3.3vw,52px);
  line-height:1.02;
  letter-spacing:-.035em;
  max-width:720px;
}
.hero-promo-copy p {
  margin:12px 0 16px;
  color:rgba(236,241,247,.78);
  font-size:14px;
  line-height:1.55;
}
.hero-price-line { display:flex; align-items:baseline; gap:12px; margin-bottom:15px; }
.hero-price-line strong { color:#f8fafc; font-size:27px; line-height:1; }
.hero-price-line del { color:rgba(225,231,239,.45); font-size:13px; }
.hero-offer-row {
  display:flex;
  align-items:stretch;
  gap:7px;
  flex-wrap:wrap;
  max-width:680px;
}
.hero-offer-row span {
  min-width:105px;
  padding:7px 10px 8px;
  border-radius:10px;
  background:#176da7;
  color:#fff;
  text-align:center;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);
}
.hero-offer-row b,.hero-offer-row em { display:block; font-style:normal; }
.hero-offer-row b { font-size:10px; opacity:.86; font-weight:700; }
.hero-offer-row em { margin-top:1px; font-size:12px; font-weight:950; }
.hero-promo-cta {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:15px;
  color:#f6f8fb;
  font-size:13px;
  font-weight:900;
}
.hero-promo-cta b { color:#f1c54c; font-size:18px; }
.hero-artwork-link { background:#fff; min-height:328px; }
.hero-artwork-image {
  display:block;
  width:100%;
  height:328px;
  object-fit:cover;
  object-position:center;
}
.hero-arrow {
  position:absolute;
  z-index:8;
  top:calc(50% - 21px);
  width:50px;
  height:50px;
  border:1px solid rgba(255,255,255,.62);
  border-radius:50%;
  background:rgba(255,255,255,.88);
  color:#565656;
  font-size:31px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 7px 24px rgba(0,0,0,.16);
  backdrop-filter:blur(10px);
  transition:.2s ease;
}
.hero-arrow:hover { background:#fff; color:#111; transform:scale(1.06); }
.hero-prev { left:max(26px,calc((100vw - 1370px)/2)); }
.hero-next { right:max(26px,calc((100vw - 1370px)/2)); }
.hero-slider-bottom {
  position:absolute;
  z-index:8;
  left:50%;
  bottom:17px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:12px;
}
.hero-dots { display:flex; align-items:center; gap:7px; }
.hero-dot {
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.3);
  cursor:pointer;
  transition:.25s ease;
}
.hero-dot.is-active { width:26px; background:var(--gold); }
.hero-progress {
  width:88px;
  height:2px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.16);
}
.hero-progress span { display:block; width:0; height:100%; background:var(--gold); }
.hero-progress span.is-running { animation:novaHeroProgress 12s linear forwards; }
@keyframes novaHeroProgress { from{width:0} to{width:100%} }

@media (max-width:900px) {
  .hero-slider { min-height:350px; padding-top:14px; }
  .hero-slider-track { min-height:294px; }
  .hero-promo-card,.hero-artwork-link { min-height:294px; width:calc(100% - 28px); border-radius:20px; }
  .hero-promo-card { grid-template-columns:43% 57%; }
  .hero-promo-visual { min-height:294px; padding:18px; }
  .hero-promo-visual img { height:245px; }
  .hero-promo-copy { padding:26px 30px 26px 12px; }
  .hero-promo-copy h1 { font-size:34px; }
  .hero-offer-row span { min-width:92px; }
  .hero-artwork-image { height:294px; }
  .hero-prev { left:18px; }
  .hero-next { right:18px; }
}
@media (max-width:680px) {
  .hero-slider { min-height:420px; padding:12px 0 42px; }
  .hero-slider-track { min-height:355px; }
  .hero-promo-card,.hero-artwork-link { width:calc(100% - 20px); min-height:355px; border-radius:17px; }
  .hero-promo-card { display:block; }
  .hero-promo-visual { position:absolute; left:0; bottom:0; width:46%; min-height:190px; height:190px; padding:12px 4px 12px 10px; opacity:.96; }
  .hero-promo-visual::before { width:180px; height:180px; }
  .hero-promo-visual img { height:170px; max-width:180px; }
  .hero-sale-bubble { width:48px; height:48px; right:auto; left:14px; top:14px; font-size:12px; }
  .hero-promo-copy { padding:25px 18px 18px; min-height:355px; }
  .hero-promo-kicker { font-size:10px; }
  .hero-promo-copy h1 { font-size:29px; max-width:94%; }
  .hero-promo-copy p { font-size:12px; max-width:88%; margin:8px 0 10px; }
  .hero-price-line { margin-bottom:9px; }
  .hero-price-line strong { font-size:21px; }
  .hero-price-line del { font-size:11px; }
  .hero-offer-row { width:55%; margin-left:auto; display:grid; grid-template-columns:1fr 1fr; gap:5px; }
  .hero-offer-row span { min-width:0; padding:6px 5px; border-radius:8px; }
  .hero-offer-row b { font-size:8px; }
  .hero-offer-row em { font-size:10px; }
  .hero-promo-cta { margin-left:47%; margin-top:10px; font-size:11px; }
  .hero-artwork-image { height:355px; object-fit:cover; }
  .hero-arrow { width:38px; height:38px; top:calc(50% - 32px); font-size:24px; }
  .hero-prev { left:15px; }
  .hero-next { right:15px; }
  .hero-slider-bottom { bottom:16px; }
  .hero-progress { width:62px; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-slide,.hero-promo-visual img { transition:none!important; animation:none!important; }
  .hero-progress span { animation:none!important; }
}

