/* ═══════════════════════════════════════════════════════════════════
   tactical.shop — v2 redesign
   Design: dark military, Satoshi font, orange primary
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────────── */
:root {
  --bg:           #0a0a0f;
  --surface:      #131318;
  --surface-2:    #1a1a21;
  --surface-3:    #222229;
  --border:       #2a2a33;
  --border-light: #35353f;
  --primary:      #e8591a;
  --primary-hover:#f06a2a;
  --primary-dim:  rgba(232,89,26,.12);
  --text:         #eaeaee;
  --text-muted:   #78788a;
  --text-dim:     #555565;
  --green:        #2ecc71;
  --red:          #e74c3c;
  --radius:       8px;
  --radius-lg:    12px;
  --radius-xl:    16px;
  --font:         'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:         'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  --container:    1360px;
  --header-h:     72px;
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; border: none; background: none; }
ul, ol { list-style: none; }
::selection { background: var(--primary); color: #fff; }

/* ── Container ───────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Utility classes ─────────────────────────────────────────────── */
.label-sm {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
}
.mono { font-family: var(--mono); }

/* ═══════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════ */

/* Utility bar */
.util-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  height: 36px;
}
.util-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.util-bar__left,
.util-bar__right { display: flex; align-items: center; gap: 8px; }
.util-bar__dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}
.util-bar__sep { color: var(--border-light); }
.util-bar a { transition: color .2s; }
.util-bar a:hover { color: var(--primary); }

/* Main header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

/* Logo: orange square T + TACTICAL */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.header__logo-mark {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0;
}
.header__logo-text {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .06em;
  color: var(--text);
}
.header__logo-img { display: none; }

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.header__nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
  position: relative;
}
.header__nav-link:hover { color: var(--text); }
.header__nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .25s;
}
.header__nav-link:hover::after { width: 100%; }

/* Search */
.header__search {
  position: relative;
  margin-left: 24px;
  flex: 0 0 220px;
}
.header__search-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}
.header__search-input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  transition: border-color .2s, background .2s;
}
.header__search-input::placeholder { color: var(--text-dim); }
.header__search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface-3);
}

/* Search results dropdown */
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: none;
  z-index: 200;
  max-height: 360px;
  overflow-y: auto;
}
.search-results.active { display: block; }
.search-results a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: var(--surface-3); }
.search-results__img {
  width: 40px; height: 40px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
}
.search-results__img img { width: 100%; height: 100%; object-fit: cover; }
.search-results__name { font-size: 13px; font-weight: 500; }
.search-results__price { font-size: 12px; color: var(--primary); font-family: var(--mono); }

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}
.header__action {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  transition: color .2s, background .2s;
}
.header__action:hover {
  color: var(--text);
  background: var(--surface-2);
}
.header__cart { position: relative; }
.header__cart-count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 16px; height: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Burger (mobile) */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.header__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.header__burger.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
.header__burger.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--header-h) + 36px);
  left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu.active { display: block; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__nav a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background .15s;
}
.mobile-menu__nav a:hover { background: var(--surface-2); }

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  min-height: 560px;
}
.hero__content { position: relative; z-index: 2; }
.hero__tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero__tagline-line {
  width: 32px; height: 2px;
  background: var(--primary);
}
.hero__tagline-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
}
.hero__title {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero__title span { color: var(--text-dim); }
.hero__title em {
  font-style: normal;
  color: var(--primary);
}
.hero__sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 36px;
}
.hero__btns {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}
.hero__stats {
  display: flex;
  gap: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.hero__stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--mono);
  letter-spacing: -.02em;
}
.hero__stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero featured image area */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual-img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius-xl);
  position: relative;
  z-index: 1;
}
.hero__visual-card {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  z-index: 2;
}
.hero__visual-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.hero__visual-name {
  font-size: 18px;
  font-weight: 700;
}

/* Scroll indicator */
.hero__scroll {
  text-align: center;
  padding: 40px 0 0;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero__scroll-line {
  display: block;
  width: 1px; height: 40px;
  background: var(--border-light);
  margin: 8px auto 0;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; height: 30px; }
  50% { opacity: 1; height: 40px; }
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover { background: var(--primary-hover); }
.btn--outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text);
}
.btn--outline:hover {
  border-color: var(--text-muted);
  background: var(--surface-2);
}
.btn--sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}
.btn svg { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════ */
.section {
  padding: 80px 0;
}
.section--border {
  border-top: 1px solid var(--border);
}
.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 16px;
}
.section__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.section__more {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
  flex-shrink: 0;
}
.section__more:hover { color: var(--primary); }
.section__more::after {
  content: '\2192';
  transition: transform .2s;
}
.section__more:hover::after { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════════════
   PRODUCT GRID + CARDS
   ═══════════════════════════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-grid--featured {
  grid-template-columns: repeat(4, 1fr);
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.product-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}
.product-card__img {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--surface-2);
  overflow: hidden;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-card__img img {
  transform: scale(1.04);
}
.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}
.product-card__badge--bestseller {
  background: var(--primary);
  color: #fff;
}
.product-card__badge--new {
  background: var(--surface-3);
  border: 1px solid var(--border-light);
  color: var(--text);
}
.product-card__body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.product-card__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__stock-line {
  font-size: 11px;
  font-weight: 500;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.product-card__stock-line::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
}
.product-card__stock-line--in { color: var(--green); }
.product-card__stock-line--in::before { background: var(--green); }
.product-card__stock-line--out { color: var(--text-dim); }
.product-card__stock-line--out::before { background: var(--text-dim); }
.product-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.product-card__price {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font);
  letter-spacing: -.01em;
}
.product-card__price-vat {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-dim);
  font-family: var(--font);
  display: block;
  margin-top: 1px;
}
.product-card__sku {
  font-size: 10px;
  color: var(--text-dim);
  font-family: var(--mono);
}

/* No image placeholder */
.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-dim);
  background: var(--surface-2);
}

/* ═══════════════════════════════════════════════════════════════════
   CATEGORY CARDS (homepage)
   ═══════════════════════════════════════════════════════════════════ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  min-height: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .25s, background .25s;
  position: relative;
  overflow: hidden;
}
.cat-card:hover {
  border-color: var(--primary);
  background: var(--surface-2);
}
.cat-card__count {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--mono);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.cat-card__name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cat-card__link {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}
.cat-card:hover .cat-card__link { color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════════
   FEATURE CARDS (homepage)
   ═══════════════════════════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.feature-card__icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dim);
  border-radius: 10px;
  margin-bottom: 16px;
  color: var(--primary);
}
.feature-card__icon svg { width: 20px; height: 20px; }
.feature-card__title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.feature-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════════
   NEWSLETTER CTA
   ═══════════════════════════════════════════════════════════════════ */
.newsletter {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.newsletter__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
}
.newsletter__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
}
.newsletter__sub {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}
.newsletter__form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  gap: 8px;
}
.newsletter__input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
}
.newsletter__input::placeholder { color: var(--text-dim); }
.newsletter__input:focus { outline: none; border-color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════════
   BRAND STRIP
   ═══════════════════════════════════════════════════════════════════ */
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.brand-chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color .2s, color .2s;
}
.brand-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════
   PROMO / STATS CARDS (homepage)
   ═══════════════════════════════════════════════════════════════════ */
.promo { padding: 0 0 40px; }
.promo__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.promo__card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.promo__card--highlight {
  border-color: var(--primary);
}
.promo__card--highlight .promo__number { color: var(--primary); }
.promo__card-deco {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--primary);
}
.promo__card-inner { position: relative; z-index: 1; }
.promo__number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  font-family: var(--mono);
  margin-bottom: 4px;
}
.promo__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.promo__label--big { font-size: 16px; }
.promo__sub {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}
.promo__icon {
  width: 28px; height: 28px;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  font-size: 13px;
  color: var(--text-dim);
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb__sep { color: var(--border-light); }
.breadcrumb span:last-child { color: var(--text); }

/* ═══════════════════════════════════════════════════════════════════
   CATEGORY LISTING PAGE
   ═══════════════════════════════════════════════════════════════════ */
.cat-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding-bottom: 64px;
}
.cat-header {
  margin-bottom: 20px;
}
.cat-header__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.cat-header__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -.03em;
}
.cat-header__count {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}
.cat-sort {
  margin-bottom: 20px;
}
.cat-sort select {
  height: 36px;
  padding: 0 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2378788a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* ── Sidebar / Filters ─────────────────────────────────────────── */
.filters {
  position: sticky;
  top: calc(var(--header-h) + 36px + 16px);
  align-self: start;
}
.filter-group {
  margin-bottom: 24px;
}
.filter-group__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.filter-group__title::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 2px;
}
.filter-group__list {
  max-height: 280px;
  overflow-y: auto;
}
.filter-group__list li { margin-bottom: 2px; }

/* Sidebar category links */
.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: background .15s, color .15s;
}
.sidebar-link:hover {
  background: var(--surface-2);
  color: var(--text);
}
.sidebar-link--active {
  background: var(--primary);
  color: #fff;
}
.sidebar-link--active:hover {
  background: var(--primary-hover);
  color: #fff;
}
.sidebar-link--active .filter-item__count { color: rgba(255,255,255,.7); }

/* Filter checkboxes */
.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: background .15s;
}
.filter-item:hover { background: var(--surface-2); }
.filter-item input[type="checkbox"] {
  width: 16px; height: 16px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}
.filter-item input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}
.filter-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.filter-item span { flex: 1; }
.filter-item__count {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--mono);
}

.filter-search {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 8px;
}
.filter-search::placeholder { color: var(--text-dim); }
.filter-search:focus { outline: none; border-color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════════
   PRODUCT DETAIL
   ═══════════════════════════════════════════════════════════════════ */
.pd { padding: 0 0 64px; }
.pd__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Gallery */
.pd__gallery { position: sticky; top: calc(var(--header-h) + 52px); }
.pd__main-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.pd__main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.pd__main-img .product-card__badge {
  position: absolute;
  top: 16px; left: 16px;
}
.pd__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.pd__thumb {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: .5;
  transition: opacity .2s, border-color .2s;
}
.pd__thumb:hover { opacity: .8; }
.pd__thumb.active { opacity: 1; border-color: var(--primary); }
.pd__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Info */
.pd__brand {
  margin-bottom: 8px;
}
.pd__brand a {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  transition: color .2s;
}
.pd__brand a:hover { color: var(--primary-hover); }
.pd__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.pd__sku-row {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--mono);
  margin-bottom: 20px;
}

/* Variants */
.pd__variants { margin-bottom: 24px; }
.pd__variants-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pd__variants-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd__variant {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  overflow: hidden;
  opacity: .6;
  transition: opacity .2s, border-color .2s;
}
.pd__variant:hover { opacity: .8; }
.pd__variant--active {
  opacity: 1;
  border-color: var(--primary);
}
.pd__variant img { width: 100%; height: 100%; object-fit: cover; }
.pd__variant-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
}

/* Price block */
.pd__price-block {
  padding: 20px 0;
  margin-bottom: 20px;
}
.pd__price {
  font-size: 40px;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font);
  display: flex;
  align-items: baseline;
  gap: 10px;
  letter-spacing: -.02em;
}
.pd__price-vat {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font);
}
.pd__price-excl {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}
.pd__stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 12px;
}
.pd__stock-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.pd__stock--in { color: var(--green); }
.pd__stock--in .pd__stock-dot { background: var(--green); }
.pd__stock--out { color: var(--text-dim); }
.pd__stock--out .pd__stock-dot { background: var(--text-dim); }

/* Specs card */
.pd__specs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}
.pd__specs-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pd__specs-title svg {
  width: 18px; height: 18px;
  color: var(--primary);
}
.pd__specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.pd__spec-item {
  padding: 8px 0;
}
.pd__spec-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.pd__spec-value {
  font-size: 15px;
  font-weight: 700;
}

/* Add to cart */
.pd__add-to-cart {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.pd__qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.pd__qty-btn {
  width: 40px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, background .2s;
  background: transparent;
}
.pd__qty-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}
.pd__qty {
  width: 48px; height: 44px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  -moz-appearance: textfield;
}
.pd__qty::-webkit-inner-spin-button,
.pd__qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.pd__btn-cart {
  flex: 1;
  height: 52px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s;
  letter-spacing: .02em;
}
.pd__btn-cart:hover { background: var(--primary-hover); }
.pd__btn-cart:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* Trust badges */
.pd__trust {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}
.pd__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.pd__trust-item svg {
  width: 22px; height: 22px;
  color: var(--primary);
}

/* Description */
.pd__desc { margin-bottom: 24px; }
.pd__desc-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.pd__desc-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.pd__desc-text p { margin-bottom: 12px; }
.pd__desc-text ul { padding-left: 20px; margin-bottom: 12px; }
.pd__desc-text li { margin-bottom: 4px; list-style: disc; }

/* Weapon tags */
.pd__weapons { margin-bottom: 24px; }
.pd__weapons-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.pd__weapon-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pd__weapon-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 32px;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px; height: 36px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
}
.pagination a {
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
}
.pagination a:hover {
  background: var(--surface-2);
  color: var(--text);
}
.pagination span.active {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════
   BRAND INTRO (on brand category page)
   ═══════════════════════════════════════════════════════════════════ */
.brand-intro {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}
.brand-intro__logo {
  flex-shrink: 0;
}
.brand-intro__logo img {
  max-height: 48px;
  width: auto;
}
.brand-intro__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════════════════════════ */
.cart-page {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 0 0 64px;
}
.cart-page__title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.cart-page__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.cart-page__count {
  font-size: 14px;
  color: var(--text-muted);
}

/* Cart table header */
.cart-thead {
  display: grid;
  grid-template-columns: 1fr 120px 120px 120px 40px;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.cart-thead__price,
.cart-thead__qty,
.cart-thead__total { text-align: center; }

/* Cart item */
.cart-item {
  display: grid;
  grid-template-columns: 1fr 120px 120px 120px 40px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item__product {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cart-item__img {
  width: 72px; height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
  display: block;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__noimg {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  background: var(--surface-2);
}
.cart-item__info { min-width: 0; }
.cart-item__brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.cart-item__name {
  font-weight: 700;
  font-size: 14px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item__name:hover { color: var(--primary); }
.cart-item__sku {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--mono);
  margin-top: 2px;
}
.cart-item__price {
  text-align: center;
}
.cart-item__price-incl {
  display: block;
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
}
.cart-item__price-excl {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Qty stepper */
.cart-item__qty { justify-self: center; }
.cart-qty-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cart-qty-btn {
  width: 32px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  transition: color .2s, background .2s;
}
.cart-qty-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}
.cart-qty-input {
  width: 40px; height: 36px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  border: none;
  color: var(--text);
  -moz-appearance: textfield;
}
.cart-qty-input::-webkit-inner-spin-button,
.cart-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.cart-item__total {
  text-align: center;
  font-weight: 900;
  font-size: 16px;
  color: var(--primary);
}
.cart-item__del { text-align: center; }
.cart-del-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  opacity: .5;
  transition: opacity .2s, color .2s;
  padding: 4px;
}
.cart-del-btn:hover { opacity: 1; color: var(--red); }

/* Bottom actions */
.cart-bottom-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.cart-continue {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .2s;
}
.cart-continue:hover { color: var(--primary); }
.cart-clear-btn {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  transition: color .2s;
}
.cart-clear-btn:hover { color: var(--red); }

/* Cart summary sidebar */
.cart-page__sidebar {
  position: sticky;
  top: calc(var(--header-h) + 52px);
  align-self: start;
}
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.cart-summary__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.cart-summary__row span:last-child {
  font-weight: 600;
  color: var(--text);
}
.cart-summary__tbd {
  font-style: italic;
  color: var(--text-dim) !important;
  font-weight: 400 !important;
}
.cart-summary__divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}
.cart-summary__total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.cart-summary__total-amount {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
}
.cart-summary__total-note {
  text-align: right;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.cart-checkout-btn {
  display: block;
  width: 100%;
  height: 52px;
  line-height: 52px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border-radius: var(--radius);
  transition: background .2s;
}
.cart-checkout-btn:hover { background: var(--primary-hover); }
.cart-summary__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-dim);
}

/* Cart empty */
.cart-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}
.cart-empty svg { margin: 0 auto 20px; color: var(--text-dim); opacity: .3; }
.cart-empty h2 { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.cart-empty p { font-size: 14px; margin-bottom: 24px; }
.cart-empty__btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius);
  transition: background .2s;
}
.cart-empty__btn:hover { background: var(--primary-hover); }

/* ═══════════════════════════════════════════════════════════════════
   CHECKOUT
   ═══════════════════════════════════════════════════════════════════ */
.checkout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 0 0 64px;
}
.checkout__main { min-width: 0; }

/* Alerts */
.checkout-alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.checkout-alert--err { background: rgba(231,76,60,.12); color: var(--red); border: 1px solid rgba(231,76,60,.2); }
.checkout-alert--warn { background: rgba(232,89,26,.12); color: var(--primary); border: 1px solid rgba(232,89,26,.2); }

/* Section blocks */
.checkout__section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.checkout__section:last-child { border-bottom: none; }
.checkout__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 24px;
}
.checkout__step {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Field groups */
.checkout__field-group {
  margin-bottom: 20px;
}
.checkout__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Form row + fields */
.checkout__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.checkout__field {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
.checkout__field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.checkout__field input,
.checkout__field select,
.checkout__field textarea {
  height: 44px;
  padding: 0 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s;
}
.checkout__field input:focus,
.checkout__field select:focus,
.checkout__field textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.checkout__field textarea {
  height: 72px;
  padding: 10px 14px;
  resize: vertical;
}
.checkout__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2378788a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.checkout__field--small { max-width: 140px; }
.checkout__input--err { border-color: var(--red) !important; }

/* Radio card group (country select) */
.checkout__radio-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.checkout__radio-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s;
}
.checkout__radio-card:hover { border-color: var(--border-light); }
.checkout__radio-card--active { border-color: var(--primary); background: var(--primary-dim); }
.checkout__radio-card input { display: none; }

/* EU country select */
.checkout__eu-select {
  margin-top: 12px;
}
.checkout__eu-select select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2378788a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* Shipping method options */
.checkout__ship-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  margin-bottom: 8px;
  transition: border-color .2s;
}
.checkout__ship-option:hover { border-color: var(--border-light); }
.checkout__ship-option:has(input:checked) { border-color: var(--primary); }
.checkout__ship-option input { display: none; }
.checkout__ship-info { flex: 1; }
.checkout__ship-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.checkout__ship-days {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.checkout__ship-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}
.checkout__free {
  color: var(--green);
  font-weight: 700;
}

/* Payment method options */
.checkout__pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .2s;
}
.checkout__pay-option:hover { border-color: var(--border-light); }
.checkout__pay-option:has(input:checked) { border-color: var(--primary); }
.checkout__pay-option input { display: none; }

/* Toggle checkboxes */
.checkout__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-muted);
}
.checkout__toggle input[type="checkbox"] {
  width: 18px; height: 18px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}
.checkout__toggle input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}
.checkout__toggle input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkout__toggle--consent a { color: var(--primary); }
.checkout__toggle--err { color: var(--red); }
.checkout__toggle--err input { border-color: var(--red); }

/* ARES lookup */
.checkout__ares-wrap {
  display: flex;
  gap: 8px;
}
.checkout__ares-wrap input { flex: 1; }
.checkout__ares-btn {
  height: 44px;
  padding: 0 16px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.checkout__ares-btn:hover { background: var(--border); }
.checkout__ares-status {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Submit button */
.checkout__submit {
  display: block;
  width: 100%;
  height: 52px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s;
  border: none;
  margin-top: 16px;
}
.checkout__submit:hover { background: var(--primary-hover); }

/* Packeta pickup point */
.checkout__packeta { margin-top: 12px; }
.checkout__packeta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  background: var(--surface-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.checkout__packeta-btn:hover {
  border-color: var(--primary);
  background: var(--primary-dim);
}
.checkout__packeta-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

/* Checkout sidebar */
.checkout__sidebar {
  position: sticky;
  top: calc(var(--header-h) + 52px);
  align-self: start;
}
.checkout__summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.checkout__summary-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Order items in summary */
.checkout__items { margin-bottom: 8px; }
.checkout__item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.checkout__item:last-child { margin-bottom: 0; }
.checkout__item-img {
  width: 48px; height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}
.checkout__item-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout__item-info { flex: 1; min-width: 0; }
.checkout__item-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkout__item-qty { font-size: 11px; color: var(--text-muted); }
.checkout__item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

/* Summary rows */
.checkout__summary-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}
.checkout__summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.checkout__summary-row span:last-child {
  font-weight: 600;
  color: var(--text);
}
.checkout__summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 900;
}
.checkout__summary-total span:last-child {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════
   CATEGORIES / BRANDS / WEAPONS INDEX PAGES
   ═══════════════════════════════════════════════════════════════════ */
.page-header {
  padding: 40px 0 32px;
}
.page-header__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
}
.index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 64px;
}
.index-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  min-height: 140px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .2s, transform .2s;
}
.index-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.index-card__name {
  font-size: 15px;
  font-weight: 600;
}
.index-card__count {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   LOGIN
   ═══════════════════════════════════════════════════════════════════ */
.login-page {
  max-width: 400px;
  margin: 40px auto;
  padding-bottom: 64px;
}
.login-page__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════════
   TEXT PAGES
   ═══════════════════════════════════════════════════════════════════ */
.text-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 64px;
}
.text-page h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
}
.text-page p { margin-bottom: 16px; color: var(--text-muted); }
.text-page a { color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════════
   THANK YOU PAGE
   ═══════════════════════════════════════════════════════════════════ */
.ty { padding: 32px 0 64px; }
.ty__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}
.ty__check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  animation: tyPop .4s ease;
}
@keyframes tyPop {
  0% { transform: scale(0); }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.ty__check svg { width: 28px; height: 28px; color: var(--primary); }
.ty__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.ty__sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.ty__section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.ty__section-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ty__section-title svg { width: 18px; height: 18px; color: var(--primary); }
.ty__bank-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.ty__bank-row:last-child { border-bottom: none; }
.ty__bank-label { color: var(--text-muted); }
.ty__bank-value { font-weight: 600; font-family: var(--mono); }
.ty__qr {
  text-align: center;
  margin-top: 16px;
}
.ty__qr img { margin: 0 auto; border-radius: 8px; }
.ty__qr-text { font-size: 11px; color: var(--text-dim); margin-top: 6px; }
.ty__item-table {
  width: 100%;
  border-collapse: collapse;
}
.ty__item-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-dim);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.ty__item-table td {
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.ty__item-table td:last-child { text-align: right; font-family: var(--mono); }
.ty__item-table tfoot td {
  font-weight: 700;
  border-bottom: none;
}
.ty__sidebar {
  position: sticky;
  top: calc(var(--header-h) + 52px);
}
.ty__sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.ty__sidebar-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.ty__sidebar-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.ty__sidebar-label { color: var(--text-muted); }
.ty__sidebar-val { font-weight: 500; }
.ty__btn-card {
  width: 100%;
  margin-top: 12px;
}
.ty__cod-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  padding: 12px;
  background: var(--surface-2);
  border-radius: var(--radius);
}

/* ═══════════════════════════════════════════════════════════════════
   FLASH MESSAGES
   ═══════════════════════════════════════════════════════════════════ */
.flash {
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}
.flash--success { background: rgba(46,204,113,.12); color: var(--green); border: 1px solid rgba(46,204,113,.2); }
.flash--danger { background: rgba(231,76,60,.12); color: var(--red); border: 1px solid rgba(231,76,60,.2); }
.flash--warning { background: rgba(232,89,26,.12); color: var(--primary); border: 1px solid rgba(232,89,26,.2); }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
  margin-top: auto;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__col { display: flex; flex-direction: column; }

/* Footer logo */
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__logo-mark {
  width: 28px; height: 28px;
  background: var(--primary);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}
.footer__logo-text {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
}

.footer__about {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer__social {
  display: flex;
  gap: 8px;
}
.footer__social a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color .2s, border-color .2s;
}
.footer__social a:hover {
  color: var(--text);
  border-color: var(--border-light);
}
.footer__social svg { width: 16px; height: 16px; }

.footer__heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer__col a {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer__col a:hover { color: var(--primary); }
.footer__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.footer__contact-line {
  font-size: 12px;
  color: var(--text-dim);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}
.footer__bottom a {
  color: var(--text-muted);
  transition: color .2s;
}
.footer__bottom a:hover { color: var(--primary); }
.footer__bottom-links {
  display: flex;
  gap: 16px;
}
.footer__bottom-sep { display: none; }

/* ═══════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp .6s ease forwards;
}
.fade-in-d1 { animation-delay: .1s; }
.fade-in-d2 { animation-delay: .2s; }
.fade-in-d3 { animation-delay: .3s; }
.fade-in-d4 { animation-delay: .4s; }
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Stagger animation for grid items */
.product-card { animation: fadeInUp .5s ease both; }
.product-card:nth-child(1) { animation-delay: .05s; }
.product-card:nth-child(2) { animation-delay: .1s; }
.product-card:nth-child(3) { animation-delay: .15s; }
.product-card:nth-child(4) { animation-delay: .2s; }
.product-card:nth-child(5) { animation-delay: .25s; }
.product-card:nth-child(6) { animation-delay: .3s; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .hero__visual { display: none; }
  .product-grid--featured { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .promo__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .checkout__grid { grid-template-columns: 1fr; }
  .checkout__sidebar { position: static; }
  .ty__grid { grid-template-columns: 1fr; }
  .ty__sidebar { position: static; }
  .pd__grid { grid-template-columns: 1fr; gap: 32px; }
  .pd__gallery { position: static; }
  .index-grid { grid-template-columns: repeat(3, 1fr); }
  .cart-page { grid-template-columns: 1fr 320px; gap: 24px; }
}

@media (max-width: 768px) {
  :root { --container: 100%; --header-h: 56px; }
  .container { padding: 0 16px; }

  .util-bar { display: none; }
  .mobile-menu { top: var(--header-h); }

  .header__nav { display: none; }
  .header__search { display: none; }
  .header__burger { display: flex; }

  .hero { padding: 40px 0 32px; }
  .hero__title { font-size: 32px; }
  .hero__stats { gap: 28px; flex-wrap: wrap; }
  .hero__stat-num { font-size: 26px; }

  .section { padding: 48px 0; }

  .product-grid, .product-grid--featured { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .promo__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .index-grid { grid-template-columns: repeat(2, 1fr); }

  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: static; }

  .footer__grid { grid-template-columns: 1fr; gap: 24px; }

  .section { padding: 40px 0; }
  .section__header { flex-direction: column; align-items: flex-start; }

  .pd__add-to-cart { flex-direction: column; }

  .cart-page { grid-template-columns: 1fr; }
  .cart-page__sidebar { position: static; }
  .cart-thead { display: none; }

  .cart-item {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 10px;
    padding: 16px 0;
    position: relative;
  }
  .cart-item__product {
    grid-column: 1 / -1;
    gap: 12px;
    align-items: flex-start;
    padding-right: 28px;
    min-width: 0;
  }
  .cart-item__img { width: 64px; height: 64px; }
  .cart-item__info { min-width: 0; flex: 1; }
  .cart-item__name {
    white-space: normal;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: clip;
  }
  .cart-item__price { display: none; }
  .cart-item__qty {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }
  .cart-item__total {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
    justify-self: end;
    align-self: center;
    font-size: 16px;
  }
  .cart-item__del { position: absolute; top: 14px; right: 0; }
}

@media (max-width: 400px) {
  .cart-item { padding: 12px 0; row-gap: 8px; }
  .cart-item__product { gap: 10px; padding-right: 24px; }
  .cart-item__img { width: 52px; height: 52px; }
  .cart-item__name { font-size: 12px; line-height: 1.3; }
  .cart-item__total { font-size: 14px; }
  .cart-qty-btn { width: 28px; height: 32px; }
  .cart-qty-input { width: 36px; height: 32px; font-size: 13px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-grid--featured { grid-template-columns: 1fr 1fr; }
  .promo__grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero__btns { flex-direction: column; }
  .newsletter__form { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/* ═══════════════════════════════════════════════════════════════════
   CART — missing classes
   ═══════════════════════════════════════════════════════════════════ */
.cart-page__main { min-width: 0; }
.cart-thead__product { /* inherits default */ }
.cart-thead__del { /* spacer column */ }
.cart-summary__row--shipping .cart-summary__tbd {
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════
   THANK YOU PAGE
   ═══════════════════════════════════════════════════════════════════ */
.ty { padding-bottom: 64px; }

/* Success banner */
.ty__banner {
  text-align: center;
  padding: 48px 24px 40px;
  margin-bottom: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.ty__check {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46,204,113,.12);
  border-radius: 50%;
  color: var(--green);
}
.ty__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.ty__subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.ty__subtitle strong { color: var(--text); font-weight: 700; }
.ty__note {
  font-size: 13px;
  color: var(--text-dim);
}
.ty__note strong { color: var(--text-muted); font-weight: 600; }

/* Two-column grid */
.ty__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
}
.ty__main { min-width: 0; }

/* Payment block */
.ty__payment-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.ty__section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.ty__section-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dim);
  border-radius: var(--radius);
  color: var(--primary);
  flex-shrink: 0;
}
.ty__section-icon--green {
  background: rgba(46,204,113,.12);
  color: var(--green);
}
.ty__section-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}

/* Payment status */
.ty__pay-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.ty__pay-status--pending {
  background: rgba(232,89,26,.1);
  color: var(--primary);
}
.ty__pay-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: payPulse 2s infinite;
}
@keyframes payPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* Bank details grid (details + QR) */
.ty__bank-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 16px;
}
.ty__bank-details { }
.ty__bank-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.ty__bank-row:last-child { border-bottom: none; }
.ty__bank-label {
  font-size: 13px;
  color: var(--text-muted);
}
.ty__bank-value {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}
.ty__bank-value--mono {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .02em;
}
.ty__bank-value--amount {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font);
}

/* QR code */
.ty__qr {
  text-align: center;
}
.ty__qr-img {
  border-radius: var(--radius);
  background: #fff;
  padding: 8px;
}
.ty__qr-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 8px;
}

/* Bank warning */
.ty__bank-warn {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  padding: 12px 14px;
  background: rgba(232,89,26,.06);
  border-radius: var(--radius);
  border: 1px solid rgba(232,89,26,.12);
  margin-top: 12px;
}
.ty__bank-warn svg { flex-shrink: 0; color: var(--primary); margin-top: 1px; }

/* Card alt payment */
.ty__card-alt {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.ty__card-alt-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.ty__card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  background: var(--surface-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.ty__card-btn:hover {
  background: var(--border);
  border-color: var(--primary);
}
.ty__card-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.ty__card-status {
  font-size: 13px;
  margin-top: 8px;
}
.ty__card-status--err { color: var(--red); }

/* COD info */
.ty__cod-info {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.ty__cod-info strong { color: var(--primary); font-weight: 800; }
.ty__cod-alt {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Tracking */
.ty__tracking {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
}
.ty__track-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  transition: opacity .2s;
}
.ty__track-link:hover { opacity: .8; }

/* Order items */
.ty__items {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.ty__items-list { margin-bottom: 20px; }
.ty__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.ty__item:last-child { border-bottom: none; }
.ty__item-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.ty__item-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ty__item-qty {
  font-size: 12px;
  color: var(--text-dim);
  flex-shrink: 0;
}
.ty__item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 16px;
}

/* Totals */
.ty__totals {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.ty__totals-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.ty__totals-row span:last-child {
  font-weight: 600;
  color: var(--text);
}
.ty__totals-row--total {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}
.ty__totals-row--total span:last-child {
  color: var(--primary);
  font-weight: 900;
}
.ty__free { color: var(--green); font-weight: 700; }

/* Sidebar info card */
.ty__sidebar {
  position: sticky;
  top: calc(var(--header-h) + 52px);
  align-self: start;
}
.ty__info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.ty__info-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.ty__info-section { margin-bottom: 16px; }
.ty__info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.ty__info-value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}
.ty__info-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* Help box */
.ty__help {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  align-items: flex-start;
  color: var(--text-muted);
}
.ty__help svg { flex-shrink: 0; margin-top: 2px; }
.ty__help-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.ty__help-detail {
  font-size: 12px;
  color: var(--text-muted);
}

/* Continue shopping */
.ty__continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, color .2s;
}
.ty__continue:hover {
  border-color: var(--primary);
  color: var(--text);
}

/* Thank you responsive */
@media (max-width: 900px) {
  .ty__grid { grid-template-columns: 1fr; }
  .ty__sidebar { position: static; }
  .ty__bank-grid { grid-template-columns: 1fr; }
  .ty__qr { margin-top: 16px; }
}

/* ═══════════════════════════════════════════════════════════════════
   BRANDS PAGE — grid + cards
   ═══════════════════════════════════════════════════════════════════ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  padding-bottom: 64px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 16px;
  min-height: 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .25s, transform .25s;
  text-align: center;
}
.brand-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}
.brand-card__logo-wrap {
  width: 120px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-card__logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .75;
  transition: opacity .2s;
}
.brand-card:hover .brand-card__logo { opacity: 1; }
.brand-card__name-big {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.brand-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.brand-card__logo-wrap + .brand-card__name { margin-top: 0; }

@media (max-width: 640px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .brand-card { min-height: 120px; padding: 20px 12px; }
}

/* ═══════════════════════════════════════════════════════════════════
   CHECKOUT — responsive
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout__sidebar { position: static; order: -1; }
  .checkout__row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   TEXT / CMS PAGES
   ═══════════════════════════════════════════════════════════════════ */
.text-page {
  max-width: 800px;
  padding: 32px 0 80px;
}
.text-page__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 32px;
}
.text-page__body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
}
.text-page__body h1,
.text-page__body h2,
.text-page__body h3,
.text-page__body h4 {
  color: var(--text);
  font-weight: 700;
  margin: 32px 0 12px;
}
.text-page__body h2 { font-size: 22px; }
.text-page__body h3 { font-size: 18px; }
.text-page__body p { margin-bottom: 16px; }
.text-page__body a { color: var(--primary); text-decoration: underline; }
.text-page__body a:hover { color: var(--primary-hover); }
.text-page__body ul,
.text-page__body ol {
  margin: 12px 0 16px 24px;
  list-style: disc;
}
.text-page__body ol { list-style: decimal; }
.text-page__body li { margin-bottom: 6px; }
.text-page__body strong { color: var(--text); }
.text-page__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.text-page__body th,
.text-page__body td {
  padding: 8px 12px;
  border: 1px solid var(--border);
  text-align: left;
}
.text-page__body th {
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}
