@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============ TOKENS ============ */
:root {
  --navy: #1a3258;
  --navy-dark: #0f2342;
  --navy-mid: #2a4570;
  --navy-soft: #f0f4fa;
  --navy-line: #dde4f0;
  --gold: #c9a14a;
  --gold-warm: #d4a548;
  --gold-light: #e8c476;
  --gold-soft: #f9efd2;
  --gold-deep: #a8853a;
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --ink-3: #767676;
  --ink-4: #a3a3a3;
  --line: #e5e5e5;
  --line-2: #f0f0f0;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-2: #fafbfc;
  --green: #15803d;
  --green-soft: #f0fdf4;
  --red: #c62828;
  --red-soft: #fef2f2;
  --orange: #d97706;
  --orange-soft: #fff7ed;
  --shadow-sm: 0 1px 2px rgba(15,35,66,0.04);
  --shadow: 0 2px 12px rgba(15,35,66,0.08);
  --shadow-lg: 0 12px 32px rgba(15,35,66,0.12);
  --shadow-gold: 0 6px 20px rgba(201,161,74,0.25);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
.serif { font-family: 'Playfair Display', Georgia, serif; }
.mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--navy); color: #fff; }

/* ============ LOGO ============ */
.logo-svg { display: block; }
.logo-img-dark { display: block; height: auto; max-width: 100%; }
.banner-mark { filter: none; opacity: 0.06; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
}
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15,35,66,0.3); }
.btn-gold { background: linear-gradient(135deg, var(--gold-warm) 0%, var(--gold-deep) 100%); color: var(--navy-dark); border: none; font-weight: 700; position: relative; overflow: hidden; }
.btn-gold::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-warm) 100%); opacity: 0; transition: opacity 0.3s; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn-gold:hover::before { opacity: 1; }
.btn-gold > * { position: relative; z-index: 1; }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline-gold { background: transparent; color: var(--gold-warm); border-color: var(--gold-warm); }
.btn-outline-gold:hover { background: var(--gold-warm); color: var(--navy-dark); }
.btn-danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn-danger:hover { background: #a51e1e; }
.btn-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); padding: 6px 0; transition: all 0.3s var(--ease); }
.btn-link:hover { color: var(--gold-deep); gap: 14px; }
.btn-link::after { content: '→'; font-size: 14px; }
.btn-sm { padding: 9px 18px; font-size: 11px; }
.btn-lg { padding: 16px 36px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ============ TOP BAR ============ */
.top-bar { background: var(--navy-dark); color: rgba(255,255,255,0.75); font-size: 12px; }
.top-bar .wrap { max-width: 1280px; margin: 0 auto; padding: 9px 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.top-bar .left, .top-bar .right { display: flex; gap: 24px; align-items: center; }
.top-bar a { transition: color 0.2s; }
.top-bar a:hover { color: var(--gold-light); }
.top-bar .sep { width: 1px; height: 12px; background: rgba(255,255,255,0.15); }
.top-bar .badge-live { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-light); }
.top-bar .badge-live::before { content: ''; width: 6px; height: 6px; background: var(--gold-light); border-radius: 50%; box-shadow: 0 0 6px var(--gold-light); }

/* ============ HEADER ============ */
header.main { background: #fff; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
header.main::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-warm), transparent); }
header.main .wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: auto 1fr auto auto; gap: 36px; align-items: center; }
.logo { display: block; flex-shrink: 0; }

.search { display: flex; border: 2px solid var(--navy); border-radius: 4px; overflow: hidden; background: #fff; transition: box-shadow 0.3s, border-color 0.3s; }
.search:focus-within { box-shadow: 0 0 0 4px var(--navy-soft); border-color: var(--gold-warm); }
.search .cat { padding: 0 18px; border-right: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-2); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 8px; transition: background 0.2s; }
.search .cat:hover { background: var(--navy-soft); color: var(--navy); }
.search .cat .arrow { font-size: 9px; opacity: 0.6; }
.search input { flex: 1; border: none; padding: 14px 18px; font-size: 14px; outline: none; color: var(--ink); font-family: inherit; min-width: 200px; }
.search input::placeholder { color: var(--ink-4); }
.search .submit { padding: 0 28px; background: var(--navy); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; transition: background 0.2s; position: relative; }
.search .submit::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--gold-warm), var(--gold-deep)); opacity: 0; transition: opacity 0.3s; }
.search .submit:hover::before { opacity: 1; }
.search .submit > * { position: relative; }

.hotline { display: flex; align-items: center; padding: 10px 18px; background: var(--navy-soft); border: 1px solid var(--navy-line); border-radius: 4px; gap: 14px; position: relative; overflow: hidden; }
.hotline::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold-warm), var(--gold-light), var(--gold-warm)); }
.hotline .pulse { position: relative; width: 38px; height: 38px; background: var(--navy); border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; color: var(--gold-light); font-weight: 800; font-size: 16px; font-family: 'Playfair Display', serif; }
.hotline .pulse::before, .hotline .pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--navy); animation: pulse 2s infinite; }
.hotline .pulse::after { animation-delay: 1s; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hotline .info { line-height: 1.2; }
.hotline .info .lbl { font-size: 11px; color: var(--ink-3); margin-bottom: 2px; letter-spacing: 0.02em; }
.hotline .info .num { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }

.header-actions { display: flex; gap: 4px; align-items: center; }
.h-btn { padding: 10px 14px; border-radius: 4px; font-size: 12px; color: var(--ink-2); transition: all 0.2s; text-align: center; line-height: 1.3; font-weight: 500; position: relative; min-width: 72px; display: block; }
.h-btn:hover { background: var(--navy-soft); color: var(--navy); }
.h-btn .label { display: block; font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.h-btn .value { display: block; font-weight: 700; color: var(--ink); font-size: 12px; }
.h-btn .count { position: absolute; top: 4px; right: 4px; background: var(--gold-warm); color: var(--navy-dark); font-size: 10px; font-weight: 800; padding: 0 6px; height: 16px; line-height: 16px; min-width: 16px; text-align: center; border-radius: 8px; }

/* ============ NAV ============ */
.site-shell { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 12px rgba(15,35,66,0.10); }
nav.primary { background: var(--navy); color: #fff; }
nav.primary .wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; align-items: stretch; }
.all-cats { background: var(--navy-dark); padding: 0 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; gap: 12px; min-width: 240px; position: relative; transition: background 0.2s; white-space: nowrap; }
.all-cats::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold-warm); }
.all-cats:hover { background: #081a36; color: var(--gold-light); }
.all-cats .lines { display: inline-flex; flex-direction: column; gap: 3px; }
.all-cats .lines span { width: 18px; height: 2px; background: currentColor; }
.all-cats .arrow { margin-left: auto; font-size: 10px; }
nav.primary .nav-link, nav.primary .nav-item { padding: 0 14px; display: flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; transition: all 0.2s; cursor: pointer; color: #fff; gap: 6px; position: relative; height: 48px; white-space: nowrap; }
nav.primary .nav-link::after, nav.primary .nav-item::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--gold-warm); transition: width 0.3s var(--ease); }
nav.primary .nav-link:hover, nav.primary .nav-item:hover { color: var(--gold-light); }
nav.primary .nav-link:hover::after, nav.primary .nav-item:hover::after { width: 60%; }
nav.primary .nav-link.active { color: var(--gold-light); }
nav.primary .nav-link.active::after { width: 60%; }
nav.primary .nav-item .caret { font-size: 9px; opacity: 0.7; }
nav.primary .promo-text { margin-left: auto; padding: 0 16px; font-size: 11px; font-weight: 600; color: var(--gold-light); display: flex; align-items: center; gap: 8px; letter-spacing: 0.02em; white-space: nowrap; flex-shrink: 0; }
nav.primary .promo-text .dot { width: 7px; height: 7px; background: var(--gold-light); border-radius: 50%; animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============ HERO ============ */
.hero-section { padding: 24px 0; background: var(--bg-soft); background-image: radial-gradient(ellipse 800px 400px at 90% 0%, rgba(201,161,74,0.05), transparent), radial-gradient(ellipse 600px 400px at 0% 100%, rgba(26,50,88,0.04), transparent); }
.hero-section .wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 280px 1fr 320px; gap: 16px; align-items: stretch; }

.cat-sidebar { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; height: fit-content; box-shadow: var(--shadow-sm); }
.cat-sidebar .head { padding: 14px 18px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; position: relative; }
.cat-sidebar .head::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold-warm), var(--gold-deep)); }
.cat-sidebar .head .lines { display: inline-flex; flex-direction: column; gap: 3px; }
.cat-sidebar .head .lines span { width: 16px; height: 2px; background: var(--gold-light); }
.cat-sidebar ul { list-style: none; }
.cat-sidebar li { border-bottom: 1px solid var(--line-2); }
.cat-sidebar li:last-child { border-bottom: none; }
.cat-sidebar li a { display: flex; align-items: center; gap: 12px; padding: 12px 18px; color: var(--ink); font-size: 13px; font-weight: 500; transition: all 0.2s var(--ease); position: relative; }
.cat-sidebar li a::before { content: ''; width: 4px; height: 4px; background: var(--ink-4); border-radius: 50%; transition: all 0.2s; flex-shrink: 0; }
.cat-sidebar li a:hover { background: var(--navy-soft); color: var(--navy); padding-left: 24px; }
.cat-sidebar li a:hover::before { background: var(--gold-warm); width: 8px; height: 8px; }
.cat-sidebar li a .arr { margin-left: auto; font-size: 11px; color: var(--ink-4); font-weight: 700; }
.cat-sidebar li a:hover .arr { color: var(--navy); }
.cat-sidebar li.featured a { color: var(--gold-deep); font-weight: 700; background: linear-gradient(90deg, var(--gold-soft), transparent 80%); }
.cat-sidebar li.featured a::before { background: var(--gold-warm); }

.banner { background: linear-gradient(110deg, rgba(15,35,66,0.95) 0%, rgba(26,50,88,0.85) 50%, rgba(42,69,112,0.7) 100%), radial-gradient(circle at 80% 30%, rgba(201,161,74,0.4), transparent 60%), var(--navy-dark); border-radius: 4px; padding: 60px 56px; color: #fff; position: relative; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: center; }
.banner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,161,74,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,161,74,0.04) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.banner > * { position: relative; z-index: 1; }
.banner-mark { position: absolute; bottom: -40px; right: -20px; width: 380px; opacity: 0.04; pointer-events: none; }
.banner .badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); border: 1px solid rgba(201,161,74,0.3); padding: 7px 16px; border-radius: 999px; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; margin-bottom: 24px; width: fit-content; color: var(--gold-light); }
.banner .badge::before { content: ''; width: 6px; height: 6px; background: var(--gold-light); border-radius: 50%; box-shadow: 0 0 8px var(--gold-light); }
.banner h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; max-width: 580px; }
.banner h1 .accent { background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-warm) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: italic; }
.banner p { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 540px; margin-bottom: 32px; line-height: 1.65; font-weight: 300; }
.banner .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.vs-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold-warm); border-radius: 4px; padding: 22px; box-shadow: var(--shadow); height: fit-content; }
.vs-card .head { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.vs-card h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 4px; letter-spacing: -0.01em; }
.vs-card .sub { font-size: 11px; color: var(--ink-3); }
.vs-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 16px; }
.vs-progress .step { height: 3px; background: var(--line); border-radius: 2px; transition: background 0.3s; }
.vs-progress .step.done { background: linear-gradient(90deg, var(--gold-warm), var(--gold-deep)); }
.vs-field { margin-bottom: 12px; }
.vs-field label { display: block; font-size: 11px; color: var(--ink-3); margin-bottom: 5px; font-weight: 600; letter-spacing: 0.04em; }
.vs-field label .req { color: var(--gold-deep); }
.vs-field select, .vs-field input { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 3px; font-size: 13px; font-family: inherit; background: #fff; color: var(--ink); cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23767676' d='M5 6L0 0h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; transition: border 0.2s; }
.vs-field input { background-image: none; cursor: text; }
.vs-field select:hover, .vs-field input:hover { border-color: var(--navy); }
.vs-field select:focus, .vs-field input:focus { outline: none; border-color: var(--gold-warm); box-shadow: 0 0 0 3px var(--gold-soft); }
.vs-field.disabled { opacity: 0.4; pointer-events: none; }

.vs-garage { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.vs-garage .lbl { font-size: 11px; color: var(--ink-3); margin-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.vs-garage .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.car-chip { padding: 6px 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; font-size: 11px; color: var(--ink-2); cursor: pointer; transition: all 0.2s; font-weight: 500; }
.car-chip:hover { border-color: var(--gold-warm); color: var(--gold-deep); }
.car-chip.active { background: var(--navy); color: var(--gold-light); border-color: var(--navy); }
.car-chip.add { border-style: dashed; color: var(--ink-3); }

/* ============ TRUST STRIP ============ */
.trust { background: #fff; }
.trust .wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--line); gap: 1px; border-radius: 4px; overflow: hidden; }
.trust-item { background: #fff; padding: 22px 24px; display: flex; align-items: center; gap: 16px; transition: all 0.3s; position: relative; }
.trust-item:hover { background: linear-gradient(180deg, #fff, var(--gold-soft)); }
.trust-item .num { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 900; color: var(--navy); line-height: 1; letter-spacing: -0.04em; flex-shrink: 0; min-width: 44px; position: relative; }
.trust-item .num::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 24px; height: 2px; background: var(--gold-warm); }
.trust-item .ttl { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 3px; letter-spacing: -0.01em; }
.trust-item .desc { font-size: 12px; color: var(--ink-3); line-height: 1.4; }

/* ============ SECTION ============ */
section.block { padding: 36px 0; }
section.block .wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

.sec-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.sec-head { border-top: 3px solid var(--navy); background: #fff; display: flex; align-items: stretch; border-bottom: 1px solid var(--line); padding: 0 20px; position: relative; }
.sec-head::after { content: ''; position: absolute; top: -3px; left: 0; width: 80px; height: 3px; background: var(--gold-warm); }
.sec-head .title { padding: 16px 0; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sec-head .title .bar { width: 4px; height: 22px; background: linear-gradient(180deg, var(--gold-warm), var(--gold-deep)); border-radius: 2px; }
.sec-head .title h2 { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); }
.sec-tabs { display: flex; align-items: stretch; margin-left: 32px; }
.sec-tabs button, .sec-tabs a { padding: 16px 18px; font-size: 13px; font-weight: 600; color: var(--ink-3); border-bottom: 2px solid transparent; transition: all 0.2s; margin-bottom: -1px; }
.sec-tabs button:hover, .sec-tabs a:hover { color: var(--navy); }
.sec-tabs button.active, .sec-tabs a.active { color: var(--navy); border-bottom-color: var(--gold-warm); }
.sec-head .all-link { margin-left: auto; align-self: center; }

/* ============ Product grid ============ */
.prod-grid { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--line); gap: 1px; }
.prod-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.prod-card { background: #fff; padding: 16px; transition: all 0.3s var(--ease); cursor: pointer; position: relative; display: flex; flex-direction: column; }
.prod-card:hover { box-shadow: var(--shadow-lg); z-index: 2; }
.prod-img { aspect-ratio: 1; background: linear-gradient(135deg, #f7f8fb 0%, #e8edf5 100%); border-radius: 4px; margin-bottom: 14px; position: relative; overflow: hidden; display: grid; place-items: center; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.prod-img-content { text-align: center; padding: 16px; }
.prod-img-content .oem-lbl { font-size: 9px; letter-spacing: 0.18em; color: var(--ink-4); text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.prod-img-content .oem-code { font-family: 'JetBrains Mono', monospace; font-size: 16px; color: var(--navy); font-weight: 600; letter-spacing: 0.04em; word-break: break-all; }
.prod-img-content .oem-line { width: 28px; height: 1px; background: var(--gold-warm); margin: 12px auto 0; }
.prod-tag { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 1; }
.tag { padding: 3px 9px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; border-radius: 2px; }
.tag.sale { background: var(--navy); }
.tag.new { background: var(--gold-warm); color: var(--navy-dark); }
.tag.hot { background: linear-gradient(135deg, var(--gold-warm), var(--gold-deep)); color: var(--navy-dark); }
.tag.bestseller { background: var(--navy-dark); color: var(--gold-light); }
.prod-fav { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; background: rgba(255,255,255,0.95); border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); font-size: 14px; transition: all 0.2s; border: 1px solid var(--line); z-index: 1; }
.prod-fav:hover, .prod-fav.active { background: var(--navy); color: var(--gold-light); border-color: var(--navy); }
.prod-code { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.prod-name { font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; transition: color 0.2s; }
.prod-card:hover .prod-name { color: var(--navy); }
.prod-fitment { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; background: var(--green-soft); border-radius: 2px; font-size: 10px; color: var(--green); font-weight: 600; margin-bottom: 8px; align-self: flex-start; }
.prod-fitment::before { content: '✓'; font-size: 10px; font-weight: 700; }
.prod-fitment.warn { background: var(--orange-soft); color: var(--orange); }
.prod-fitment.warn::before { content: '⚠'; }
.prod-rating { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-3); margin-bottom: 10px; }
.prod-rating .stars { color: var(--gold-warm); letter-spacing: 1px; font-size: 12px; }
.prod-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.prod-price .now { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.prod-price .was { font-size: 12px; color: var(--ink-4); text-decoration: line-through; }
.prod-price.contact .now { color: var(--ink-2); font-size: 16px; font-weight: 600; font-style: italic; }
.prod-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--line-2); margin-top: auto; }
.prod-stock { font-size: 11px; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 5px; }
.prod-stock::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.prod-stock.out { color: var(--red); }
.prod-stock.out::before { background: var(--red); }

/* ============ COOLING SPECIALTY BAND ============ */
.specialty { padding: 0 0 24px; }
.specialty .wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.specialty-card { background: radial-gradient(circle at 80% 30%, rgba(201,161,74,0.12), transparent 60%), linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); border-radius: 4px; padding: 48px 56px; color: #fff; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.specialty-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold-warm), var(--gold-light), var(--gold-warm)); }
.specialty-card::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,161,74,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(201,161,74,0.025) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.specialty-card > * { position: relative; z-index: 1; }
.specialty-text .badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(201,161,74,0.15); border: 1px solid rgba(201,161,74,0.3); padding: 6px 14px; border-radius: 2px; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; color: var(--gold-light); }
.specialty-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 14px; }
.specialty-text h2 em { font-style: italic; background: linear-gradient(135deg, var(--gold-light), var(--gold-warm)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.specialty-text p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 24px; max-width: 480px; font-weight: 300; }
.specialty-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.specialty-cat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; transition: all 0.2s; cursor: pointer; }
.specialty-cat:hover { background: rgba(201,161,74,0.1); border-color: rgba(201,161,74,0.3); }
.specialty-cat .num { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 800; color: var(--gold-light); flex-shrink: 0; min-width: 24px; }
.specialty-cat .nm { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.3; }
.specialty-cat .ct { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ============ CATEGORY TILES ============ */
.cat-tiles-section { padding: 12px 0 24px; }
.cat-tiles-section .wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 24px 16px; text-align: center; cursor: pointer; transition: all 0.3s var(--ease); position: relative; overflow: hidden; display: block; }
.cat-tile:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-tile::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%) scaleX(0); width: 60%; height: 3px; background: linear-gradient(90deg, var(--gold-warm), var(--gold-deep)); transition: transform 0.3s var(--ease); }
.cat-tile:hover::before { transform: translateX(-50%) scaleX(1); }
.cat-tile .num { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 800; color: var(--gold-deep); letter-spacing: 0.05em; margin-bottom: 12px; font-style: italic; }
.cat-tile h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.cat-tile .count { font-size: 11px; color: var(--ink-3); font-weight: 500; }

/* ============ BRANDS ============ */
.brands-grid { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--line); gap: 1px; }
.brand-card { aspect-ratio: 1.6; background: #fff; display: grid; place-items: center; text-align: center; cursor: pointer; transition: all 0.3s var(--ease); padding: 16px; position: relative; }
.brand-card:hover { background: var(--navy); color: #fff; }
.brand-card .name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: 0.01em; margin-bottom: 4px; transition: color 0.3s; }
.brand-card:hover .name { color: var(--gold-light); }
.brand-card .count { font-size: 11px; color: var(--ink-3); font-weight: 500; transition: color 0.3s; font-family: 'JetBrains Mono', monospace; }
.brand-card:hover .count { color: rgba(255,255,255,0.6); }

/* ============ PROMO ============ */
.promo-band { padding: 24px 0; }
.promo-band .wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo-card { border-radius: 4px; padding: 36px; color: #fff; position: relative; overflow: hidden; min-height: 200px; display: flex; flex-direction: column; justify-content: center; }
.promo-card.gold { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 50%), linear-gradient(135deg, var(--gold-warm) 0%, var(--gold-deep) 100%); color: var(--navy-dark); }
.promo-card.navy { background: radial-gradient(circle at 80% 20%, rgba(201,161,74,0.15), transparent 50%), linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); }

/* ============ DECORATIVE BANNERS ============ */
.banner-deco { position: absolute; pointer-events: none; user-select: none; }
.banner-deco svg { display: block; }
.banner-deco.cooling-system { right: -20px; bottom: -20px; width: 460px; height: 280px; opacity: 0.13; }
.banner-deco.partner-network { right: -10px; top: 50%; transform: translateY(-50%); width: 320px; height: 240px; opacity: 0.18; }
.banner-deco.engine-blueprint { right: -40px; top: 50%; transform: translateY(-50%); width: 380px; height: 380px; opacity: 0.15; }
.banner-deco.engine-blueprint .stroke-gold { stroke: var(--gold-light); }
.banner-deco.cooling-system .stroke-dark { stroke: var(--navy-dark); }
.banner-deco.cooling-system .fill-dark { fill: var(--navy-dark); }
.banner-deco.partner-network .stroke-gold { stroke: var(--gold-light); }
.banner-deco.partner-network .fill-gold { fill: var(--gold-light); }
.promo-card::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; background: rgba(255,255,255,0.06); border-radius: 50%; pointer-events: none; }
.promo-card .badge { background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); padding: 5px 12px; border-radius: 2px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; width: fit-content; margin-bottom: 14px; }
.promo-card.gold .badge { background: rgba(15,35,66,0.15); border-color: rgba(15,35,66,0.25); color: var(--navy-dark); }
.promo-card h3 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 8px; }
.promo-card.navy h3 .accent { background: linear-gradient(135deg, var(--gold-light), var(--gold-warm)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: italic; }
.promo-card.gold h3 .accent { color: #fff; font-style: italic; }
.promo-card p { font-size: 13px; opacity: 0.85; margin-bottom: 20px; line-height: 1.6; max-width: 380px; }

/* ============ NEWS ============ */
.news-grid { padding: 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; background: #fff; }
.news-feature { grid-row: span 2; cursor: pointer; }
.news-feature .img { aspect-ratio: 16/9; background: radial-gradient(circle at 70% 30%, rgba(201,161,74,0.3), transparent 50%), linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); border-radius: 4px; margin-bottom: 16px; position: relative; overflow: hidden; display: grid; place-items: center; color: rgba(201,161,74,0.4); font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 800; letter-spacing: 0.08em; }
.news-feature .img .label { position: absolute; top: 14px; left: 14px; background: var(--gold-warm); color: var(--navy-dark); padding: 5px 12px; border-radius: 2px; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.news-feature h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.02em; transition: color 0.2s; }
.news-feature:hover h3 { color: var(--gold-deep); }
.news-feature p { font-size: 13px; color: var(--ink-3); line-height: 1.6; margin-bottom: 12px; }
.news-meta { display: flex; gap: 16px; font-size: 11px; color: var(--ink-4); align-items: center; }
.news-meta .sep { width: 3px; height: 3px; background: var(--ink-4); border-radius: 50%; }
.news-side { display: flex; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.news-side:last-child { border-bottom: none; padding-bottom: 0; }
.news-side .img { width: 96px; aspect-ratio: 1; background: linear-gradient(135deg, var(--navy-soft), #d4dde9); border-radius: 4px; flex-shrink: 0; display: grid; place-items: center; color: var(--navy); font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; }
.news-side h4 { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.news-side:hover h4 { color: var(--navy); }
.news-side .news-meta { font-size: 10px; }

/* ============ FOOTER ============ */
footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); margin-top: 32px; position: relative; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-warm), var(--gold-light), var(--gold-warm), var(--gold-deep)); }
footer .newsletter-band { padding: 36px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.2); }
footer .newsletter-band .wrap { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.nl-text h3 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 4px; letter-spacing: -0.01em; }
.nl-text h3 em { font-style: italic; color: var(--gold-light); }
.nl-text p { font-size: 13px; color: rgba(255,255,255,0.6); }
.nl-form { display: flex; gap: 8px; flex: 1; max-width: 480px; }
.nl-form input { flex: 1; background: #fff; border: none; padding: 14px 18px; border-radius: 3px; font-size: 14px; color: var(--ink); outline: none; font-family: inherit; }
footer .main-foot { padding: 56px 20px 32px; }
footer .main-foot .wrap { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 48px; }
.foot-brand .logo { margin-bottom: 20px; }
.foot-brand .desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 0 0 22px; max-width: 320px; }
.foot-contact-list { display: flex; flex-direction: column; }
.foot-contact-item { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 12px; }
.foot-contact-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.foot-contact-item .lbl { font-size: 10px; color: var(--gold-light); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.foot-contact-item .val { color: rgba(255,255,255,0.85); font-weight: 500; }
.foot-col h4 { font-size: 13px; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--gold-warm); width: fit-content; }
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 10px; }
.foot-col ul a { font-size: 13px; color: rgba(255,255,255,0.6); transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.foot-col ul a::before { content: ''; width: 4px; height: 1px; background: var(--gold-warm); transition: width 0.2s; }
.foot-col ul a:hover { color: var(--gold-light); }
.foot-col ul a:hover::before { width: 14px; }
.foot-bottom { background: rgba(0,0,0,0.3); padding: 18px 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.foot-bottom .wrap { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.5); gap: 20px; flex-wrap: wrap; }
.pay-list { display: flex; align-items: center; gap: 8px; }
.pay-list .lbl { color: rgba(255,255,255,0.5); margin-right: 6px; font-size: 11px; letter-spacing: 0.05em; }
.pay-list .pay { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 2px; font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.75); letter-spacing: 0.05em; }
.foot-social { display: flex; gap: 6px; }
.foot-social a { padding: 6px 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 2px; color: rgba(255,255,255,0.75); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; transition: all 0.2s; }
.foot-social a:hover { background: var(--gold-warm); border-color: var(--gold-warm); color: var(--navy-dark); }

/* ============ FLOATING ============ */
.float-stack { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; gap: 8px; }
.float-btn { padding: 12px 22px; background: var(--navy); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(15,35,66,0.4); transition: all 0.2s; cursor: pointer; border: 1px solid var(--navy); }
.float-btn:hover { transform: translateY(-2px); background: var(--navy-dark); box-shadow: 0 8px 20px rgba(15,35,66,0.5); }
.float-btn.gold { background: linear-gradient(135deg, var(--gold-warm), var(--gold-deep)); color: var(--navy-dark); border: none; box-shadow: var(--shadow-gold); }
.float-btn.gold:hover { box-shadow: 0 8px 24px rgba(201,161,74,0.45); }

/* ============ FORMS ============ */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; letter-spacing: 0.03em; }
.form-group label .req { color: var(--red); }
.form-control, .form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 3px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--ink); transition: border 0.2s;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-control:focus, .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold-warm); box-shadow: 0 0 0 3px var(--gold-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-help { font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--red); margin-top: 4px; }

/* ============ ALERTS ============ */
.alert { padding: 12px 16px; border-radius: 4px; font-size: 13px; margin-bottom: 16px; border-left: 3px solid; }
.alert-success { background: var(--green-soft); color: var(--green); border-color: var(--green); }
.alert-error   { background: var(--red-soft);   color: var(--red);   border-color: var(--red); }
.alert-warn    { background: var(--orange-soft); color: var(--orange); border-color: var(--orange); }
.alert-info    { background: var(--navy-soft);  color: var(--navy);  border-color: var(--navy); }

/* ============ TABLES ============ */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-2); }
.tbl th { background: var(--bg-soft); font-weight: 700; color: var(--ink-2); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.tbl tr:hover td { background: var(--bg-2); }
.tbl .right { text-align: right; }
.tbl .center { text-align: center; }
.tbl .num { font-family: 'JetBrains Mono', monospace; font-size: 12px; }

/* ============ BADGES ============ */
.badge-status { display: inline-block; padding: 3px 10px; font-size: 11px; font-weight: 700; border-radius: 12px; letter-spacing: 0.03em; }
.badge-status.pending { background: var(--orange-soft); color: var(--orange); }
.badge-status.active, .badge-status.published, .badge-status.completed, .badge-status.success, .badge-status.delivered { background: var(--green-soft); color: var(--green); }
.badge-status.cancelled, .badge-status.rejected, .badge-status.failed, .badge-status.locked, .badge-status.refunded, .badge-status.blocked { background: var(--red-soft); color: var(--red); }
.badge-status.processing, .badge-status.shipping, .badge-status.awaiting_confirm { background: var(--navy-soft); color: var(--navy); }
.badge-status.hidden, .badge-status.draft, .badge-status.paused, .badge-status.out_of_stock, .badge-status.unpaid, .badge-status.need_info { background: var(--bg-soft); color: var(--ink-3); }
.badge-status.pending_payment, .badge-status.returning { background: var(--gold-soft); color: var(--gold-deep); }

/* ============ DASHBOARD LAYOUT ============ */
.dash { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 200px); background: var(--bg-soft); }
.dash-sidebar { background: var(--navy-dark); color: #fff; padding: 24px 0; }
.dash-sidebar .who { padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 16px; }
.dash-sidebar .who .name { font-weight: 700; color: #fff; margin-bottom: 4px; font-size: 14px; }
.dash-sidebar .who .role { font-size: 11px; color: var(--gold-light); text-transform: uppercase; letter-spacing: 0.06em; }
.dash-nav { display: flex; flex-direction: column; }
.dash-nav a { padding: 11px 20px; color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 500; transition: all 0.2s; border-left: 3px solid transparent; }
.dash-nav a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.dash-nav a.active { background: rgba(201,161,74,0.1); color: var(--gold-light); border-left-color: var(--gold-warm); }
.dash-nav .sec-label { font-size: 10px; color: rgba(255,255,255,0.4); padding: 16px 20px 6px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.dash-main { padding: 28px 32px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.dash-head h1 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 4px; }
.dash-head .sub { color: var(--ink-3); font-size: 13px; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px; position: relative; overflow: hidden; }
.kpi::before { content: ''; position: absolute; top: 0; left: 0; width: 36px; height: 3px; background: var(--gold-warm); }
.kpi .lbl { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; font-weight: 600; }
.kpi .val { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -0.02em; }
.kpi .sub { font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.kpi.gold::before { background: linear-gradient(90deg, var(--gold-warm), var(--gold-deep)); }
.kpi.green::before { background: var(--green); }
.kpi.red::before { background: var(--red); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 20px; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.panel-head h3 { font-size: 14px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; }
.panel-body { padding: 20px; }
.panel-body.no-pad { padding: 0; }

/* ============ MISC ============ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.flex { display: flex; gap: 12px; }
.flex.col { flex-direction: column; }
.flex.between { justify-content: space-between; }
.flex.center { align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; } .text-right { text-align: right; }
.text-muted { color: var(--ink-3); }
.text-gold { color: var(--gold-deep); }
.text-navy { color: var(--navy); }
.text-red { color: var(--red); }
.text-green { color: var(--green); }
.fs-12 { font-size: 12px; } .fs-13 { font-size: 13px; } .fs-16 { font-size: 16px; } .fs-20 { font-size: 20px; }
.fw-700 { font-weight: 700; } .fw-800 { font-weight: 800; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty-state .em-icon { font-family: 'Playfair Display', serif; font-size: 64px; color: var(--gold-warm); margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); margin-bottom: 8px; font-weight: 800; }
.empty-state p { font-size: 14px; margin-bottom: 20px; max-width: 400px; margin-left: auto; margin-right: auto; }

.breadcrumb { padding: 14px 0; font-size: 12px; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-3); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { margin: 0 8px; color: var(--ink-4); }

.pagination { display: flex; gap: 4px; justify-content: center; padding: 24px 0; }
.pagination a, .pagination span { padding: 8px 14px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 3px; color: var(--ink-2); transition: all 0.2s; }
.pagination a:hover { background: var(--navy-soft); color: var(--navy); border-color: var(--navy); }
.pagination .active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .disabled { opacity: 0.4; pointer-events: none; }

.flash-stack { position: fixed; top: 20px; right: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.flash { padding: 14px 18px; background: #fff; border-radius: 4px; box-shadow: var(--shadow-lg); font-size: 13px; border-left: 3px solid; animation: slideIn 0.3s ease; }
.flash.success { border-color: var(--green); color: var(--green); }
.flash.error { border-color: var(--red); color: var(--red); }
.flash.info { border-color: var(--navy); color: var(--navy); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============ PRODUCT DETAIL ============ */
.pd-grid { display: grid; grid-template-columns: 480px 1fr 320px; gap: 28px; padding: 28px 0; }
.pd-gallery { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 16px; }
.pd-main-img { aspect-ratio: 1; background: linear-gradient(135deg, #f7f8fb 0%, #e8edf5 100%); border-radius: 4px; display: grid; place-items: center; margin-bottom: 12px; overflow: hidden; }
.pd-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pd-thumb { aspect-ratio: 1; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 3px; cursor: pointer; overflow: hidden; transition: border 0.2s; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--gold-warm); }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.pd-info h1 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 12px; }
.pd-meta { display: flex; gap: 20px; font-size: 12px; color: var(--ink-3); margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.pd-meta b { color: var(--ink); font-weight: 700; margin-left: 4px; }
.pd-price-block { background: var(--bg-soft); padding: 18px 20px; border-radius: 4px; margin-bottom: 18px; border-left: 3px solid var(--gold-warm); }
.pd-price { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.pd-price-was { font-size: 14px; color: var(--ink-4); text-decoration: line-through; margin-left: 12px; }
.pd-discount { display: inline-block; background: var(--navy); color: #fff; padding: 3px 10px; border-radius: 2px; font-size: 11px; font-weight: 700; margin-left: 8px; }
.pd-fits { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 16px; margin-bottom: 18px; }
.pd-fits h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); margin-bottom: 10px; }
.pd-fits ul { list-style: none; font-size: 13px; }
.pd-fits ul li { padding: 4px 0; color: var(--ink-2); }
.pd-fits ul li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.pd-buy { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold-warm); border-radius: 4px; padding: 20px; height: fit-content; box-shadow: var(--shadow-sm); }
.pd-buy .lbl { font-size: 11px; color: var(--ink-3); text-transform: uppercase; margin-bottom: 8px; font-weight: 600; letter-spacing: 0.05em; }
.qty-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 3px; width: fit-content; margin-bottom: 14px; }
.qty-input button { width: 36px; height: 36px; font-size: 16px; font-weight: 700; color: var(--ink-2); }
.qty-input button:hover { color: var(--navy); }
.qty-input input { width: 50px; text-align: center; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); height: 36px; font-size: 14px; font-weight: 700; }
.qty-input input:focus { outline: none; }

/* ============ CHAT ============ */
.chat-page { display: grid; grid-template-columns: 320px 1fr; height: calc(100vh - 160px); background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.chat-list { border-right: 1px solid var(--line); overflow-y: auto; }
.chat-list-item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; transition: background 0.2s; }
.chat-list-item:hover, .chat-list-item.active { background: var(--navy-soft); }
.chat-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: grid; place-items: center; font-weight: 800; font-family: 'Playfair Display', serif; flex-shrink: 0; }
.chat-list-item .info { flex: 1; min-width: 0; }
.chat-list-item .name { font-weight: 700; font-size: 13px; color: var(--ink); margin-bottom: 4px; }
.chat-list-item .last { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-list-item .unread { background: var(--gold-warm); color: var(--navy-dark); font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 10px; }
.chat-window { display: flex; flex-direction: column; }
.chat-head { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; background: var(--bg-soft); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-soft); }
.msg { max-width: 70%; padding: 9px 14px; border-radius: 14px; font-size: 13px; line-height: 1.4; word-break: break-word; }
.msg.in { background: #fff; color: var(--ink); align-self: flex-start; border: 1px solid var(--line); }
.msg.out { background: var(--navy); color: #fff; align-self: flex-end; }
.msg-time { font-size: 10px; color: var(--ink-4); margin-top: 4px; padding: 0 6px; }
.msg-time.out { text-align: right; }
.chat-input { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; gap: 8px; background: #fff; }
.chat-input input { flex: 1; padding: 10px 14px; border: 1px solid var(--line); border-radius: 18px; font-size: 13px; outline: none; }
.chat-input input:focus { border-color: var(--gold-warm); }

/* ============ TIMELINE ============ */
.timeline { padding: 16px 0; position: relative; }
.timeline::before { content: ''; position: absolute; top: 16px; bottom: 16px; left: 12px; width: 2px; background: var(--line); }
.timeline-item { padding: 8px 0 8px 36px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: 6px; top: 14px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.timeline-item.done::before { border-color: var(--green); background: var(--green); }
.timeline-item.current::before { border-color: var(--gold-warm); background: var(--gold-warm); animation: pulse 1.5s infinite; }
.timeline-item .when { font-size: 11px; color: var(--ink-4); }
.timeline-item .what { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 2px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1380px) {
  nav.primary .promo-text { display: none; }
}
@media (max-width: 1180px) {
  .all-cats { min-width: 200px; padding: 0 16px; }
}
@media (max-width: 1080px) {
  header.main .wrap { grid-template-columns: auto 1fr auto; }
  .hotline { display: none; }
  .hero-section .wrap { grid-template-columns: 1fr; }
  .cat-sidebar, .vs-card { max-width: 720px; margin: 0 auto; width: 100%; }
  .all-cats { min-width: auto; padding: 0 16px; }
  nav.primary .nav-link:nth-child(n+7), nav.primary .nav-item:nth-child(n+7) { display: none; }
  nav.primary .promo-text { display: none; }
  .prod-grid, .prod-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .news-feature { grid-row: auto; }
  footer .main-foot .wrap { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .specialty-card { grid-template-columns: 1fr; gap: 32px; padding: 36px 32px; }
  .pd-grid { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .chat-page { grid-template-columns: 1fr; }
  .chat-list { display: none; }
}
@media (max-width: 640px) {
  header.main .wrap { grid-template-columns: 1fr; gap: 16px; padding: 0 16px; }
  .header-actions { justify-content: flex-end; }
  .banner { padding: 36px 24px; min-height: auto; }
  .banner h1 { font-size: 28px; }
  .prod-grid, .prod-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-band .wrap { grid-template-columns: 1fr; }
  .specialty-cats { grid-template-columns: 1fr; }
  footer .main-foot .wrap { grid-template-columns: 1fr; gap: 32px; }
  .nl-form { width: 100%; }
  .sec-tabs { display: none; }
  .float-stack { right: 12px; bottom: 12px; }
  .form-row, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
  .pd-grid { padding: 14px 0; }
}
