/* ===== BEZPEKA VERITAS — Dark Tactical CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Exo+2:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* ===== CSS Variables ===== */
:root {
  --bg: #0a0d0f;
  --bg2: #0f1318;
  --bg3: #141a20;
  --surface: #1a2230;
  --surface2: #202c3c;
  --border: #2a3a4a;
  --accent: #00e5a0;
  --accent2: #00b87a;
  --accent-dim: rgba(0, 229, 160, 0.15);
  --accent-glow: rgba(0, 229, 160, 0.35);
  --text: #e8edf2;
  --text2: #9ab0c4;
  --text3: #5a7a94;
  --danger: #ff4444;
  --warning: #ffaa00;
  --info: #4488ff;
  --white: #ffffff;
  --font-head: 'Rajdhani', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-accent: 0 0 20px var(--accent-glow);
  --transition: 0.2s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }
ul { list-style: none; }

/* ===== Utility ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.flex { display: flex; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.mt-4 { margin-top: 16px; }

/* ===== Scanline effect ===== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  pointer-events: none;
  z-index: 9999;
}

/* ===== NAVBAR ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.nav__logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav__links a {
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--accent); background: var(--accent-dim); }
.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav__lang {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text2);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav__lang:hover { border-color: var(--accent); color: var(--accent); }
.nav__cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav__cart-btn:hover { background: var(--accent); color: var(--bg); }
.nav__cart-count {
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.nav__cart-count:empty { display: none; }
.nav__burger {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 4px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--bg2);
  overflow: hidden;
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0,229,160,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(0,229,160,0.03) 100%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-left: 3px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.hero__label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero__sub {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__diagram {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  position: relative;
}
.hero__mast-svg {
  width: 100%;
  height: 100%;
}
.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.hero__stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: var(--radius);
}
.hero__stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero__stat-label {
  font-size: 12px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.btn--primary:hover { background: var(--white); color: var(--bg); box-shadow: 0 6px 24px rgba(255,255,255,0.2); }
.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.btn--ghost {
  background: transparent;
  border: none;
  color: var(--text2);
  padding: 8px 16px;
}
.btn--ghost:hover { color: var(--accent); }
.btn--sm { padding: 8px 16px; font-size: 12px; }
.btn--full { width: 100%; }
.btn--danger { background: var(--danger); color: white; }
.btn--danger:hover { background: #cc0000; }

/* ===== SECTIONS ===== */
.section { padding: 64px 0; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title .accent { color: var(--accent); }
.section-sub {
  color: var(--text2);
  font-size: 15px;
  margin-bottom: 40px;
}
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 20px; flex-wrap: wrap; }

/* ===== FEATURES ===== */
.features { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.feature-card { background: var(--bg2); padding: 32px 24px; }
.feature-card__icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}
.feature-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* ===== PRODUCT CARD ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-accent); }
.product-card__image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg3);
  overflow: hidden;
}
.product-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.04); }
.product-card__image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  opacity: 0.2;
}
.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: var(--radius);
}
.badge--hit { background: var(--accent); color: var(--bg); }
.badge--new { background: var(--info); color: white; }
.badge--sale { background: var(--danger); color: white; }
.product-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-card__cat {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.product-card__name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.product-card__price { display: flex; flex-direction: column; }
.product-card__price-current {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.product-card__price-old {
  font-size: 12px;
  color: var(--text3);
  text-decoration: line-through;
}
.product-card__stock {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card__stock--in { color: var(--accent); }
.product-card__stock--out { color: var(--text3); }
.product-card__actions { display: flex; gap: 8px; margin-top: 12px; }
.product-card__actions .btn { flex: 1; }

/* ===== CATALOG PAGE ===== */
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.catalog-sidebar {
  position: sticky;
  top: 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.catalog-sidebar h3 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text3);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.filter-group { margin-bottom: 24px; }
.filter-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text2);
  display: block;
  margin-bottom: 10px;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}
.filter-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.filter-check span { font-size: 13px; color: var(--text2); }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: var(--radius);
  outline: none;
}
.price-range input:focus { border-color: var(--accent); }
.price-range span { color: var(--text3); font-size: 13px; }
.catalog-main {}
.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.catalog-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.catalog-search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 40px 10px 16px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}
.catalog-search input:focus { border-color: var(--accent); }
.catalog-search input::placeholder { color: var(--text3); }
.catalog-search__icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text3);
  font-size: 16px;
}
.catalog-sort select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--radius);
  outline: none;
  cursor: pointer;
}
.catalog-sort select:focus { border-color: var(--accent); }
.catalog-results {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 4px;
}
.catalog-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text2);
}
.catalog-empty p { font-size: 15px; margin-bottom: 16px; }

/* ===== PRODUCT PAGE ===== */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 60px; }
.product-gallery {}
.product-main-img {
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
}
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.product-thumb {
  width: 70px; height: 70px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
}
.product-thumb:hover, .product-thumb.active { border-color: var(--accent); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info {}
.product-breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; color: var(--text3);
  margin-bottom: 16px;
}
.product-breadcrumb a { color: var(--text3); }
.product-breadcrumb a:hover { color: var(--accent); }
.product-breadcrumb span { color: var(--border); }
.product-badges { display: flex; gap: 8px; margin-bottom: 12px; }
.product-badge {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius);
}
.product-title {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.product-meta {
  display: flex; gap: 20px; align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.product-sku { font-size: 12px; color: var(--text3); font-family: monospace; }
.product-stock {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius);
}
.product-stock--in { color: var(--accent); background: var(--accent-dim); border: 1px solid var(--accent); }
.product-stock--out { color: var(--text3); background: rgba(90,122,148,0.1); border: 1px solid var(--border); }
.product-price {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 24px;
}
.product-price__current {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.product-price__old { font-size: 18px; color: var(--text3); text-decoration: line-through; }
.product-qty { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.qty-control {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-control button {
  background: var(--surface2);
  border: none;
  color: var(--text);
  width: 36px; height: 36px;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.qty-control button:hover { background: var(--accent); color: var(--bg); }
.qty-control input {
  width: 48px; height: 36px;
  background: var(--surface);
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  outline: none;
}
.product-actions { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.product-actions .btn { flex: 1; min-width: 140px; }
.product-delivery-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.delivery-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text2); }
.delivery-row strong { color: var(--text); }

/* ===== TABS ===== */
.tabs { margin-top: 48px; }
.tabs__nav {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text2);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 12px 20px;
  margin-bottom: -1px;
  transition: all var(--transition);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== SPECS TABLE ===== */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 12px 16px; font-size: 14px; }
.specs-table td:first-child { color: var(--text2); width: 40%; }
.specs-table td:last-child { color: var(--text); font-weight: 600; }
.specs-table tr:nth-child(even) td { background: rgba(26,34,48,0.5); }

/* ===== PRODUCT DESC ===== */
.product-desc { font-size: 14px; line-height: 1.8; color: var(--text2); }
.product-desc h2, .product-desc h3 { font-family: var(--font-head); color: var(--text); margin: 20px 0 10px; letter-spacing: 0.5px; }
.product-desc p { margin-bottom: 12px; }
.product-desc ul { padding-left: 20px; margin-bottom: 12px; }
.product-desc ul li { margin-bottom: 6px; list-style: disc; }
.product-desc strong { color: var(--text); }
.product-desc a { color: var(--accent); }

/* ===== CHECKOUT ===== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.checkout-form-wrap {}
.checkout-steps {
  display: flex; gap: 0;
  margin-bottom: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.checkout-step {
  flex: 1;
  text-align: center;
  padding: 14px 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text3);
  background: var(--surface);
  border-right: 1px solid var(--border);
  transition: all var(--transition);
}
.checkout-step:last-child { border-right: none; }
.checkout-step.active { background: var(--accent-dim); color: var(--accent); border-color: var(--accent); }
.checkout-step.done { background: rgba(0,229,160,0.05); color: var(--accent2); }
.checkout-step-num {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}
.step-panel { display: none; }
.step-panel.active { display: block; }
.step-panel h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text2);
  margin-bottom: 8px;
}
.form-label .req { color: var(--danger); }
.form-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}
.form-control:focus { border-color: var(--accent); }
.form-control::placeholder { color: var(--text3); }
.form-control.error { border-color: var(--danger); }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; display: none; }
textarea.form-control { resize: vertical; min-height: 80px; }
.radio-cards { display: flex; flex-direction: column; gap: 12px; }
.radio-card {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition);
}
.radio-card:hover { border-color: var(--accent); }
.radio-card input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; }
.radio-card.selected { border-color: var(--accent); background: var(--accent-dim); }
.radio-card__label { flex: 1; }
.radio-card__label strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.radio-card__label small { font-size: 12px; color: var(--text3); }
.step-actions {
  display: flex; gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.prepay-details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 16px;
  display: none;
}
.prepay-details.show { display: block; }
.prepay-details h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text2);
  margin-bottom: 12px;
}
.prepay-row { display: flex; gap: 12px; margin-bottom: 8px; font-size: 13px; }
.prepay-row span:first-child { color: var(--text3); min-width: 80px; }
.prepay-row span:last-child { color: var(--text); font-weight: 600; }
.confirm-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; }
.confirm-block h4 { font-family: var(--font-head); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text3); margin-bottom: 12px; }
.confirm-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.confirm-row:last-child { border-bottom: none; }
.confirm-row span:first-child { color: var(--text2); }
.confirm-row span:last-child { color: var(--text); font-weight: 600; text-align: right; }

/* Order Summary (sidebar) */
.order-summary {
  position: sticky;
  top: 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.order-summary__head {
  padding: 16px 20px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.order-summary__head h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text2);
}
.order-summary__items { padding: 16px; max-height: 320px; overflow-y: auto; }
.order-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.order-item:last-child { border-bottom: none; }
.order-item__img {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg3);
  flex-shrink: 0;
}
.order-item__img img { width: 100%; height: 100%; object-fit: cover; }
.order-item__name { font-size: 13px; color: var(--text); flex: 1; line-height: 1.3; }
.order-item__price { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.order-summary__totals { padding: 16px; border-top: 1px solid var(--border); }
.total-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text2); margin-bottom: 8px; }
.total-row.final { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--text); padding-top: 8px; border-top: 1px solid var(--border); margin-top: 8px; }
.total-row.final span:last-child { color: var(--accent); }
.order-summary__link { display: block; text-align: center; font-size: 12px; color: var(--text3); padding: 12px; border-top: 1px solid var(--border); }
.order-summary__link:hover { color: var(--accent); }
.checkout-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
}
.checkout-success.show { display: block; }
.checkout-success__icon { font-size: 64px; margin-bottom: 20px; }
.checkout-success h2 { font-family: var(--font-head); font-size: 28px; font-weight: 700; letter-spacing: 1px; margin-bottom: 12px; color: var(--accent); }
.checkout-success p { color: var(--text2); font-size: 15px; margin-bottom: 32px; }
.checkout-empty {
  display: none;
  text-align: center;
  padding: 60px 40px;
}
.checkout-empty.show { display: block; }
.checkout-empty h2 { font-family: var(--font-head); font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.checkout-empty p { color: var(--text2); margin-bottom: 32px; }
.agreement-text { font-size: 12px; color: var(--text3); text-align: center; margin-top: 12px; }
.agreement-text a { color: var(--accent); }

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-panel {
  position: fixed;
  top: 0; right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.cart-panel.open { transform: translateX(0); }
.cart-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-panel__title { font-family: var(--font-head); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.cart-panel__close {
  background: transparent; border: none;
  color: var(--text2); font-size: 24px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.cart-panel__close:hover { color: var(--accent); background: var(--accent-dim); }
.cart-panel__items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-panel__empty { text-align: center; padding: 60px 20px; color: var(--text3); }
.cart-panel__empty p { font-size: 15px; margin-bottom: 16px; }
.cart-item {
  display: flex; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item__img {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { flex: 1; }
.cart-item__name { font-size: 13px; color: var(--text); line-height: 1.3; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item__meta { display: flex; align-items: center; gap: 12px; }
.cart-item__qty { display: flex; align-items: center; gap: 6px; }
.cart-item__qty button { background: var(--surface2); border: 1px solid var(--border); color: var(--text); width: 24px; height: 24px; border-radius: 3px; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.cart-item__qty button:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.cart-item__qty span { font-family: var(--font-head); font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item__price { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--accent); }
.cart-item__remove { background: transparent; border: none; color: var(--text3); font-size: 18px; padding: 4px; cursor: pointer; transition: color var(--transition); }
.cart-item__remove:hover { color: var(--danger); }
.cart-panel__footer { padding: 16px; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 16px; }
.cart-total-row span:first-child { color: var(--text2); font-size: 14px; }
.cart-total-row span:last-child { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--accent); }

/* ===== TOAST ===== */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  color: var(--text);
  font-size: 13px;
  padding: 12px 20px;
  border-radius: var(--radius);
  min-width: 240px;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.5s forwards;
}
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

/* ===== MESSENGER WIDGET ===== */
.widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 150;
}
.widget__toggle {
  width: 56px; height: 56px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: all var(--transition);
  position: relative;
  z-index: 2;
}
.widget__toggle:hover { transform: scale(1.1); box-shadow: 0 6px 24px var(--accent-glow); }
.widget__panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  min-width: 220px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition);
}
.widget.open .widget__panel { opacity: 1; pointer-events: all; transform: translateY(0); }
.widget__title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text3);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.widget__links { display: flex; flex-direction: column; gap: 6px; }
.widget__link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
}
.widget__link:hover { border-color: var(--accent); color: var(--accent); }
.widget__link-icon { font-size: 18px; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.page-header h1 .accent { color: var(--accent); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--text3); margin-bottom: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text3); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--border); }

/* ===== DELIVERY PAGE ===== */
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.delivery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.delivery-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.delivery-card h3 span { font-size: 24px; }
.delivery-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }
.payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.payment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.payment-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.payment-card p { font-size: 13px; color: var(--text2); }

/* ===== CONTACTS ===== */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contacts-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.contacts-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 20px; text-transform: uppercase; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: none; }
.contact-row__icon { font-size: 20px; width: 40px; height: 40px; background: var(--accent-dim); border: 1px solid var(--accent); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row__label { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-row__value { font-size: 15px; color: var(--text); font-weight: 600; }
.contact-row__value a { color: var(--text); }
.contact-row__value a:hover { color: var(--accent); }
.messenger-links { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.messenger-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}
.messenger-link:hover { border-color: var(--accent); color: var(--accent); }
.messenger-link span { font-size: 20px; }

/* ===== ABOUT ===== */
.about-content { max-width: 800px; }
.about-content p { font-size: 15px; color: var(--text2); line-height: 1.8; margin-bottom: 20px; }

/* ===== OFERTA & PRIVACY ===== */
.legal-content { max-width: 900px; }
.legal-tabs { display: flex; gap: 8px; margin-bottom: 32px; }
.legal-tab { font-family: var(--font-head); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; padding: 10px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text2); cursor: pointer; transition: all var(--transition); }
.legal-tab.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.legal-body h2 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin: 24px 0 12px; color: var(--text); letter-spacing: 0.5px; }
.legal-body h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin: 16px 0 8px; color: var(--text); }
.legal-body p { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 12px; }
.legal-body ul { padding-left: 20px; margin-bottom: 12px; }
.legal-body ul li { font-size: 14px; color: var(--text2); list-style: disc; margin-bottom: 6px; }

/* ===== FOOTER ===== */
footer {
  margin-top: auto;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 48px 0 32px;
}
.footer__brand { }
.footer__logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.footer__logo span { color: var(--accent); }
.footer__tagline { font-size: 13px; color: var(--text3); line-height: 1.5; margin-bottom: 20px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 34px; height: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text3);
  font-size: 16px;
  transition: all var(--transition);
}
.footer__social a:hover { border-color: var(--accent); color: var(--accent); }
.footer__col h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text3);
  margin-bottom: 16px;
}
.footer__col ul li { margin-bottom: 8px; }
.footer__col ul li a { font-size: 13px; color: var(--text2); transition: color var(--transition); }
.footer__col ul li a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { font-size: 12px; color: var(--text3); }

/* ===== SIMILAR PRODUCTS ===== */
.similar-section { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border); }
.similar-section h2 { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; }
.similar-section h2 .accent { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .product-layout { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-grid, .payment-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 60px 0; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .features__grid { grid-template-columns: 1fr; gap: 0; }
  .cart-panel { width: 100vw; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .checkout-steps .checkout-step { font-size: 10px; padding: 10px 6px; }
  .checkout-step-num { font-size: 14px; }
}
