/* ============================================================
   KAYZO — Dark Fashion Store · Main Stylesheet
   ============================================================ */

/* ==========================================================
   1. CSS VARIABLES
   ========================================================== */
:root {
  --bg-primary: #080808;
  --bg-secondary: #111111;
  --bg-card: #141414;
  --bg-elevated: #1a1a1a;
  --accent: #8b5cf6;
  --accent-bright: #a78bfa;
  --accent-glow: rgba(139, 92, 246, 0.4);
  --accent-glow-soft: rgba(139, 92, 246, 0.15);
  --text-primary: #f5f5f5;
  --text-secondary: #a1a1aa;
  --text-muted: #8a8a93; /* подняли с #52525b — контраст ≥4.5:1 на тёмном фоне (WCAG AA) */
  --border: rgba(139, 92, 246, 0.2);
  --border-hover: rgba(139, 92, 246, 0.5);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 12px;
  --header-h: 70px;
}

/* ==========================================================
   2. RESET / BASE
   ========================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img, video {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}


::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-bright);
}

::selection {
  background: var(--accent);
  color: #fff;
  text-shadow: none;
}

/* ==========================================================
   3. SPA PAGES
   ========================================================== */
.page {
  display: none;
  min-height: 100vh;
}

.page.active {
  display: block;
  animation: pageTransition 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes pageTransition {
  from { opacity: 0; transform: translateY(15px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ==========================================================
   4. CUSTOM CURSOR (removed)
   ========================================================== */
/* System cursor restored */

/* ==========================================================
   5. SCROLL PROGRESS BAR
   ========================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  z-index: 9990;
  transition: width 0.05s linear;
}

/* ==========================================================
   6. TOAST NOTIFICATIONS
   ========================================================== */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  position: relative;
  background: rgba(20, 18, 28, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  pointer-events: auto;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  max-width: 360px;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 13px;
  overflow: hidden;
}

/* Цветная грань-акцент слева */
.toast::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}

/* Таймер-полоса автозакрытия (3s) */
.toast::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  opacity: 0.5;
  transform-origin: left center;
  animation: toastTimer 3s linear forwards;
}

.toast-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.toast-message {
  line-height: 1.4;
}

/* Типы */
.toast-success::before,
.toast-success::after { background: #10b981; }
.toast-success .toast-icon { background: #10b981; box-shadow: 0 0 14px rgba(16, 185, 129, 0.5); }

.toast-error::before,
.toast-error::after { background: #ef4444; }
.toast-error .toast-icon { background: #ef4444; box-shadow: 0 0 14px rgba(239, 68, 68, 0.5); }

.toast-info::before,
.toast-info::after { background: var(--accent); }

@keyframes toastTimer {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .toast::after { animation: none; display: none; }
}

/* ==========================================================
   7. HEADER
   ========================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(8, 8, 8, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 32px;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  text-shadow:
    0 0 10px var(--accent-glow),
    0 0 20px var(--accent-glow-soft),
    0 2px 4px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.logo:hover {
  color: var(--accent-bright);
  text-shadow:
    0 0 15px var(--accent-glow),
    0 0 30px var(--accent-glow),
    0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  position: relative;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-btn:hover {
  color: var(--text-primary);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: scale(0);
  transition: var(--transition);
}

.cart-badge.show {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================
   8. HAMBURGER
   ========================================================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================
   9. MOBILE DRAWER
   ========================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100dvh;
  background: #111111;
  border-left: 1px solid rgba(139, 92, 246, 0.25);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 80px 24px 40px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(20px, 5vw, 28px);
  letter-spacing: 0.08em;
  color: #a1a1aa;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  display: block;
  width: 100%;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #a78bfa;
  padding-left: 10px;
}

/* ==========================================================
   10. HERO — FINAL (pure black bg, white text, edge particles)
   ========================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #080808;
  isolation: isolate;
}

/* Living WebGL particle canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
  pointer-events: none;
}

/* Subtle animated grid — very faint, only on edges */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0;
  animation: heroGrid 25s linear infinite;
  pointer-events: none;
}

@keyframes heroGrid {
  0% { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

/* Corner accent glow — ONLY at top, not covering text */
.hero::after {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center top, rgba(139,92,246,0.4) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
  animation: heroBeam 7s ease-in-out infinite alternate;
}

@keyframes heroBeam {
  0% { opacity: 0.5; transform: translateX(-50%) scaleX(0.8); }
  100% { opacity: 0.8; transform: translateX(-50%) scaleX(1.1); }
}

/* Particle dots — small, on edges only */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* GLOBAL NOISE & SPOTLIGHT */
.global-noise {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.02;
  mix-blend-mode: overlay;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

.global-spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 1100px; height: 1100px;
  margin-left: -550px; margin-top: -550px; /* центрируем относительно точки */
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(139,92,246,0.12), transparent 60%);
  opacity: 0;
  transition: opacity 1s ease;
  will-change: transform;
}
.global-spotlight.active { opacity: 1; }

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.hero-title {
  font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(120px, 20vw, 300px);
  letter-spacing: 0.12em;
  line-height: 0.85;
  color: #e2e8f0 !important; /* Solid premium silver to avoid webkit transparent bugs */
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  transform-style: preserve-3d;
}

.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) rotateX(-50deg);
  will-change: transform, opacity;
  /* Объёмная экструзия букв: слои тени уходят вглубь с фиолетовым акцентом */
  text-shadow:
    0 1px 0 #b9a7e6,
    0 2px 0 #a994df,
    0 3px 0 #9a82d6,
    0 4px 0 #8b6fce,
    0 5px 0 #7c5dc4,
    0 6px 0 #6d4cb8,
    0 7px 1px rgba(0, 0, 0, 0.35),
    0 8px 6px rgba(0, 0, 0, 0.45),
    0 14px 24px rgba(0, 0, 0, 0.55),
    0 0 34px var(--accent-glow);
}

.hero-subtitle {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: clamp(12px, 1.5vw, 17px);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75) !important;
  margin-top: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateZ(40px);
}

.hero-subtitle .word {
  opacity: 0;
  transform: translateY(10px);
  display: inline-block;
  margin: 0 4px;
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: '—';
  opacity: 0.6;
  margin: 0 12px;
}

.hero-cta {
  margin-top: 48px;
  display: inline-block;
  position: relative;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow {
  display: flex;
  align-items: center;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0.5;
  }
}

/* ==========================================================
   11. MARQUEE
   ========================================================== */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 18px 0;
  background: var(--bg-primary);
}

.marquee-inner {
  display: inline-flex;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-inner span {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 4vw, 48px);
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.05);
  padding-right: 0;
  text-transform: uppercase;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================
   12. SECTIONS / SECTION TITLE
   ========================================================== */
.section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f5f5f5;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, transparent);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.section-header .section-title {
  margin-bottom: 0;
}

.section-link {
  font-size: 12px;
  color: #8b5cf6;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.section-link:hover {
  color: #a78bfa;
}

.page-header {
  padding: calc(var(--header-h) + 40px) 40px 30px;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.page-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-shadow: 0 0 20px var(--accent-glow-soft);
}

.page-subtitle {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ==========================================================
   13. PRODUCT CARDS
   ========================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.25s ease;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.product-card:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow:
    0 18px 50px rgba(0,0,0,0.65),
    0 0 0 1px rgba(139,92,246,0.12),
    0 0 40px rgba(139,92,246,0.10);
}

.product-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #141414;
  transform: translateZ(0);
}

.product-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.5s ease;
}

/* Скелетон во время загрузки */
.product-card-img-main {
  background: linear-gradient(90deg, #141414 25%, #1e1e1e 50%, #141414 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease infinite;
  opacity: 0;
  z-index: 1;
}
.product-card-img-main.loaded {
  animation: none;
  background: #141414;
  opacity: 1;
}

/* Второе фото — проявляется при наведении */
.product-card-img-hover {
  opacity: 0;
  z-index: 2;
  transform: scale(1.04);
}
.product-card:hover .product-card-img-hover {
  opacity: 1;
}
.product-card:hover .product-card-img-main {
  transform: scale(1.04);
}

@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Виньетка снизу для читаемости + лёгкий акцент */
.product-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 45%),
              linear-gradient(to top, rgba(139,92,246,0.18) 0%, transparent 40%);
  opacity: 0.5;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.product-card:hover .product-card-image::after { opacity: 1; }

/* 3D блик, двигается за курсором (управляется JS) */
.product-card-glare {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%),
              rgba(255,255,255,0.18), transparent 45%);
  transition: opacity 0.3s ease;
}
.product-card:hover .product-card-glare { opacity: 1; }

.product-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.product-card-badge {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-radius: 6px;
  text-transform: uppercase;
}

.product-card-discount {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  background: #e11d48;
  box-shadow: 0 4px 14px rgba(225,29,72,0.35);
}

/* Кнопка быстрого добавления — выезжает снизу при наведении */
.product-card-quick {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(139, 92, 246, 0.92);
  box-shadow: 0 8px 24px rgba(139,92,246,0.35);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94), background 0.25s ease;
}
.product-card:hover .product-card-quick {
  opacity: 1;
  transform: translateY(0);
}
.product-card-quick:hover {
  background: var(--accent-bright);
  box-shadow: 0 10px 30px rgba(139,92,246,0.55);
}

.product-card-info {
  padding: 16px 16px 18px;
}

.product-card-category {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.product-card-name {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #e4e4e7;
  margin-bottom: 8px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.pc-stars {
  font-size: 13px;
  letter-spacing: 1px;
  color: #f5b942;
}
.pc-rating-val {
  font-size: 12px;
  color: var(--text-secondary);
}

.product-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.product-card-price {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--accent-bright);
}

.product-card-old-price {
  font-size: 12px;
  color: #52525b;
  text-decoration: line-through;
  margin-left: 4px;
}

/* ==========================================================
   14. PRODUCTS SCROLL (Horizontal)
   ========================================================== */
.products-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 40px;
  padding: 12px 4px 24px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.products-scroll::-webkit-scrollbar {
  display: none;
}

.products-scroll .product-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

/* ==========================================================
   15. BANNER (Interactive Flashlight Mask)
   ========================================================== */
.banner {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  background: #030303;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: crosshair;
}

.banner-bg {
  position: absolute;
  inset: -5%;
  background-image: url('https://images.unsplash.com/photo-1618331835717-801e976710b2?w=2000&q=100');
  background-size: cover;
  background-position: center;
  filter: grayscale(80%) contrast(1.4) brightness(0.5);
  -webkit-mask-image: radial-gradient(circle 0px at 50% 50%, black 0%, transparent 100%);
  mask-image: radial-gradient(circle 0px at 50% 50%, black 0%, transparent 100%);
  transition: transform 10s linear;
}

.banner:hover .banner-bg {
  transform: scale(1.05);
}

.banner-overlay {
  display: none; /* Removed for the mask effect */
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
  pointer-events: none;
}

.banner-title {
  font-family: 'Unbounded', sans-serif !important;
  font-size: clamp(40px, 8vw, 100px);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-shadow: 0 0 50px rgba(139,92,246,0.8);
  margin-bottom: 24px;
  line-height: 1;
}

.banner-text {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(16px, 1.5vw, 24px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

.banner .btn,
.banner-content .btn {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  letter-spacing: 0.2em;
  padding: 16px 40px;
  font-size: 14px;
  pointer-events: auto;
  transition: all 0.4s ease;
}

.banner .btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 30px rgba(255,255,255,0.5);
}

/* ==========================================================
   16. ADVANTAGES SECTION (Sticky Stacking)
   ========================================================== */
.advantages-sticky-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
}

.advantages-header {
  position: sticky;
  top: 150px;
  height: max-content;
  display: flex;
  flex-direction: column;
}

.advantages-sub {
  font-family: 'Manrope', sans-serif;
  color: var(--text-secondary);
  font-size: 20px;
  margin-top: -20px;
}

.advantages-stack {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding-bottom: 120px;
}

.stack-card {
  position: sticky;
  background: rgba(15, 15, 15, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -20px 40px rgba(0,0,0,0.8);
  transition: transform 0.3s ease;
}

.advantage-num {
  font-family: 'Oswald', sans-serif;
  font-size: 100px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(139, 92, 246, 0.6);
  margin-bottom: 30px;
  font-weight: 700;
}

.advantage-title {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  margin-bottom: 16px;
  color: #fff;
}

.advantage-text {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ==========================================================
   17. BRUTALISM HOVER SECTION
   ========================================================== */
.brutalism-section {
  position: relative;
  padding: 150px 40px;
}

.brutalism-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brutalism-item {
  position: relative;
  z-index: 2;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(40px, 8vw, 120px);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,0.1);
  cursor: pointer;
  transition: color 0.4s ease;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brutalism-item:hover {
  color: #fff;
}

.brut-num {
  font-size: clamp(20px, 3vw, 40px);
  color: #8b5cf6;
}

/* Hover floating image */
.brutalism-hover-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 500px;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  /* transform двигается из JS каждый кадр — в transition его не берём,
     иначе позиция «залипает». Анимируем только проявление. */
  transition: opacity 0.4s ease, filter 0.4s ease;
  border-radius: 20px;
  filter: grayscale(100%);
  will-change: transform, opacity;
}

.brutalism-hover-img.active {
  opacity: 1;
}

/* ==========================================================
   18. ABOUT PREVIEW
   ========================================================== */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-text p {
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-preview-text .btn {
  margin-top: 12px;
}

.about-preview-image {
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 420px;
  max-height: 520px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-preview-image:hover img {
  transform: scale(1.05);
}

/* ==========================================================
   17. CATALOG FILTERS
   ========================================================== */
.catalog-filters {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 40px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-group,
.sort-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-group::-webkit-scrollbar,
.sort-group::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.catalog-grid {
  padding: 30px 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ==========================================================
   18. PRODUCT DETAIL PAGE
   ========================================================== */
.product-detail {
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) 40px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.product-main-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 4 / 5;
  margin-bottom: 16px;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-main-image:hover img {
  transform: scale(1.05);
}

.product-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-thumbnails::-webkit-scrollbar {
  display: none;
}

.thumbnail {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.6;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--accent);
  opacity: 1;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding-top: 10px;
}

.product-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  font-weight: 500;
}

.product-name {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(24px, 3.5vw, 36px);
  letter-spacing: 0.08em;
  margin-top: 8px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.product-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.product-price {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--accent-bright);
}

.product-old-price {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.product-rating svg {
  color: var(--accent);
}

.product-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 24px 0;
}

.product-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 12px;
}

/* Sizes */
.product-sizes {
  margin-bottom: 24px;
}

.sizes-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.size-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.size-btn.active {
  border-color: var(--accent);
  color: var(--text-primary);
  background: var(--accent-glow-soft);
  box-shadow: 0 0 12px var(--accent-glow-soft);
}

.size-btn.disabled {
  opacity: 0.3;
  text-decoration: line-through;
  pointer-events: none;
}

/* Quantity */
.product-quantity {
  margin-bottom: 28px;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.qty-btn:hover {
  color: var(--text-primary);
  background: var(--accent-glow-soft);
}

.qty-value {
  width: 48px;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Add to Cart Button */
.btn-add-cart {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}

.btn-add-cart .btn-text,
.btn-add-cart .btn-success {
  transition: var(--transition);
}

.btn-add-cart .btn-success {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  color: #10b981;
}

.btn-add-cart.success .btn-text {
  opacity: 0;
  transform: translateY(-10px);
}

.btn-add-cart.success .btn-success {
  opacity: 1;
}

.btn-add-cart.success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
}

/* ==========================================================
   19. ACCORDION
   ========================================================== */
.product-accordions {
  margin-top: 32px;
}

.accordion {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  background: transparent;
  transition: var(--transition);
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-icon {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.accordion.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 20px;
}

.accordion.open .accordion-body {
  max-height: 500px;
  padding: 0 20px 20px;
}

.accordion-body p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================
   20. CART PAGE
   ========================================================== */

/* Empty Cart */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 100px;
  min-height: 50vh;
}

.cart-empty-icon {
  margin-bottom: 24px;
  opacity: 0.6;
}

.cart-empty-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 32px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.cart-empty-text {
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 28px;
}

/* Cart With Items */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 80px;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.cart-item:hover {
  border-color: var(--border);
}

.cart-item-thumb {
  width: 80px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-secondary);
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-name {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 4px;
}

.cart-item-size {
  font-size: 13px;
  color: var(--text-muted);
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-price {
  font-weight: 500;
  font-size: 16px;
  color: var(--accent-bright);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.cart-item-qty .qty-btn {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.cart-item-qty .qty-value {
  width: 36px;
  height: 32px;
  font-size: 13px;
}

.cart-item-delete {
  color: var(--text-muted);
  padding: 6px;
  transition: var(--transition);
}

.cart-item-delete:hover {
  color: #ef4444;
}

/* Summary Card */
.cart-summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  min-width: 0;
}

.summary-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 24px;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.summary-total {
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
}

.summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 12px 0;
}

/* Promo */
.promo-section {
  margin: 20px 0;
  width: 100%;
}

.promo-input-group {
  display: flex;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.promo-input {
  flex: 1 1 0;
  min-width: 0;
  background: #111111;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #f5f5f5;
  transition: all 0.3s ease;
}

.promo-input::placeholder {
  color: var(--text-muted);
}

.promo-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow-soft);
}

.promo-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.promo-message {
  display: block;
  font-size: 12px;
  margin-top: 6px;
}

.promo-message.success {
  color: #10b981;
}

.promo-message.error {
  color: #ef4444;
}

.btn-checkout {
  width: 100%;
  margin-top: 16px;
  padding: 16px;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.cart-summary .btn-ghost {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-top: 12px;
  transition: var(--transition);
  text-decoration: none;
}

.cart-summary .btn-ghost:hover {
  background: var(--border);
  color: var(--text-primary);
  text-decoration: none;
}

/* ==========================================================
   21. ABOUT PAGE
   ========================================================== */
.about-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('https://images.unsplash.com/photo-1441984904996-e0b6ba687e04?w=1600');
  background-size: cover;
  background-position: center;
  margin-top: var(--header-h);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 8, 0.7),
    rgba(8, 8, 8, 0.9)
  );
}

.about-hero-title {
  position: relative;
  z-index: 1;
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(40px, 8vw, 80px);
  letter-spacing: 0.15em;
  text-shadow:
    0 0 20px var(--accent-glow),
    0 0 40px var(--accent-glow-soft);
}

.about-hero-subtitle {
  position: relative;
  z-index: 1;
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 2vw, 18px);
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  margin-top: 12px;
}

.about-story {
  padding-top: 60px;
}

.about-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.about-row.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.about-row.reverse .about-text {
  order: 2;
}

.about-row.reverse .about-image {
  order: 1;
}

.about-text p {
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 440px;
  max-height: 550px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-preview-image img,
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  filter: brightness(0.7) saturate(0.8);
  transition: filter 0.4s ease;
}

.about-preview-image:hover img,
.about-image:hover img {
  filter: brightness(0.85) saturate(0.9);
}

/* Values */
.about-values {
  text-align: center;
}

.about-values .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 30px var(--accent-glow-soft);
  transform: translateY(-4px);
}

.value-icon {
  margin-bottom: 20px;
}

.value-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.value-text {
  font-weight: 300;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================
   22. CONTACT PAGE
   ========================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.form-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  height: 46px;
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow-soft);
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  height: auto !important;
}

.form-error {
  font-size: 12px;
  color: #ef4444;
  min-height: 16px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 10px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow-soft);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-weight: 300;
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--accent);
  background: var(--accent-glow-soft);
  transform: translateY(-2px);
}

.social-link:hover svg {
  fill: var(--accent-bright);
}

/* ==========================================================
   23. FOOTER
   ========================================================== */
.footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  display: inline-block;
  margin-bottom: 12px;
  text-shadow: 0 0 10px var(--accent-glow-soft);
}

.footer-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 300px;
}

.footer-heading {
  font-family: 'Bebas Neue', cursive;
  font-size: 18px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-link {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-bright);
  padding-left: 4px;
}

.footer-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  padding: 2px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
}

/* ==========================================================
   24. MODAL / CHECKOUT
   ========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  color: var(--text-muted);
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.checkout-total span:last-child {
  color: var(--accent-bright);
}

/* Order Success */
.order-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  margin-bottom: 20px;
}

.order-success p {
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ==========================================================
   25. BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  gap: 8px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-bright);
  transform: scale(1.03);
  box-shadow: 0 0 20px var(--accent-glow),
              0 8px 20px rgba(139, 92, 246, 0.25);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  box-shadow: 0 0 12px var(--accent-glow-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 12px 0;
}

.btn-ghost:hover {
  color: var(--accent-bright);
}

/* Focus Visible - Accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* Skip-link — появляется при фокусе с клавиатуры */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10002;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ==========================================================
   26. ANIMATIONS — Fade-In on Scroll (utility)
   ========================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   27. RESPONSIVE BREAKPOINTS
   ========================================================== */

/* ---------- Large Monitors (>1440px) ---------- */
@media (min-width: 1441px) {
  .section {
    max-width: 1600px;
    padding: 100px 60px;
  }

  .header-inner {
    max-width: 1600px;
  }

  .products-grid {
    gap: 32px;
  }

  .cart-layout {
    max-width: 1600px;
  }

  .contact-layout {
    max-width: 1600px;
  }

  .footer-inner {
    max-width: 1600px;
  }

  .product-detail {
    max-width: 1600px;
  }
}

/* ---------- Tablet (<=1024px) ---------- */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-gallery {
    position: static;
  }

  .about-preview-grid {
    gap: 40px;
  }

  .about-row {
    gap: 40px;
  }

  .cart-layout {
    grid-template-columns: 1fr 320px;
    gap: 24px;
    padding: 0 24px 60px;
  }

  .cart-summary {
    position: static;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ---------- Tablet / Large Mobile (<=768px) ---------- */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
    position: relative;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #f5f5f5;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .header-inner {
    padding: 0 16px;
  }

  .section {
    padding: 48px 16px;
  }

  .page-header {
    padding: calc(var(--header-h) + 30px) 20px 20px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    padding: 0 16px;
  }

  .hero-subtitle {
    letter-spacing: 0.15em;
  }

  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-row {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
  }

  .about-row.reverse {
    direction: ltr;
  }

  .banner {
    height: 50vh;
    min-height: 260px;
  }

  .banner-bg {
    background-attachment: scroll;
  }

  .product-detail {
    grid-template-columns: 1fr !important;
    padding: calc(var(--header-h) + 16px) 16px 40px !important;
    gap: 24px;
  }

  .product-gallery {
    max-width: 100%;
  }

  .product-main-image img {
    max-height: 70vw;
    width: 100%;
    object-fit: cover;
  }

  .catalog-filters {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 8px;
  }

  .filter-group,
  .sort-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .catalog-grid {
    padding: 20px 20px 40px;
  }

  .cart-layout {
    grid-template-columns: 1fr !important;
    padding: 0 16px 60px;
    gap: 24px;
  }

  .cart-summary {
    position: static !important;
  }



  .contact-layout {
    padding: 0 20px 60px;
  }

  .footer-inner {
    padding: 40px 20px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .value-card {
    padding: 28px 20px;
  }

  .modal {
    padding: 28px 24px;
  }

  .products-scroll .product-card {
    flex: 0 0 240px;
  }
}

/* ---------- Mobile (<=480px) ---------- */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-title {
    font-size: clamp(56px, 15vw, 100px);
  }

  .hero-subtitle {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .hero-cta {
    margin-top: 28px;
  }

  .scroll-indicator {
    bottom: 24px;
  }

  .marquee-inner span {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .page-title {
    font-size: clamp(32px, 10vw, 48px);
  }

  .about-hero {
    height: 40vh;
    min-height: 280px;
  }

  .about-hero-title {
    font-size: clamp(36px, 12vw, 56px);
  }

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

  .footer-brand {
    text-align: center;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .cart-item {
    flex-direction: row;
    align-items: stretch;
  }

  .cart-item-thumb {
    width: 70px;
    height: 90px;
  }

  .cart-item-bottom {
    flex-wrap: wrap;
    gap: 12px;
  }

  .product-name {
    font-size: clamp(28px, 8vw, 40px);
  }

  .product-price {
    font-size: 24px;
  }

  .banner-title {
    font-size: clamp(28px, 8vw, 48px);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }

  .toast {
    max-width: 100%;
  }

  .products-scroll .product-card {
    flex: 0 0 220px;
  }

  .summary-card {
    padding: 20px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  .modal {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .modal-title {
    font-size: 24px;
  }

  .contact-socials {
    justify-content: center;
  }

  .promo-btn {
    padding: 10px 10px;
    font-size: 11px;
  }

  .btn-add-cart {
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
  }

  .sizes-grid {
    flex-wrap: wrap;
    gap: 6px;
  }

  .size-btn {
    min-width: 40px;
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* ==========================================================
   FIX: Badge z-index above hover overlay
   ========================================================== */
.product-card-badge,
.product-badge {
  z-index: 5 !important;
}
.product-card-image::after {
  z-index: 2;
}

/* ==========================================================
   FIX: Product detail — smaller layout
   ========================================================== */
.product-detail {
  max-width: 1000px !important;
}
.product-main-image img {
  max-height: 520px !important;
  object-fit: cover;
}

/* ==========================================================
   NEW: Advantages Section
   ========================================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.12);
  background: rgba(139, 92, 246, 0.08);
}

.advantage-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.advantage-title {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #f5f5f5;
  margin-bottom: 8px;
}

.advantage-text {
  font-size: 13px;
  color: #71717a;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .advantage-card {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   NEW: Instagram Section
   ========================================================== */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.instagram-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #141414;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  opacity: 0;
}

.instagram-item img.loaded {
  opacity: 1;
}

.instagram-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(139, 92, 246, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-item:hover::after {
  opacity: 1;
}

.instagram-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

@media (max-width: 768px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ==========================================================
   NEW: Newsletter Section
   ========================================================== */
.newsletter-section {
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
  border-top: 1px solid rgba(139, 92, 246, 0.08);
  border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}

.newsletter-content {
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-text {
  color: #71717a;
  font-size: 15px;
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-input {
  flex: 1;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 14px 18px;
  color: #f5f5f5;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.newsletter-input::placeholder {
  color: #52525b;
}

.newsletter-btn {
  white-space: nowrap;
  padding: 14px 28px;
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-btn {
    width: 100%;
  }
}

/* ==========================================================
   Language Switcher
   ========================================================== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  color: var(--accent-bright);
  background: rgba(139, 92, 246, 0.12);
}

.lang-sep {
  color: var(--text-muted);
  font-size: 11px;
  opacity: 0.4;
}

/* ==========================================================
   Advantages — numbered style
   ========================================================== */
.advantage-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 48px;
  color: rgba(139, 92, 246, 0.2);
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.advantage-card:hover .advantage-num {
  color: rgba(139, 92, 246, 0.5);
}

.advantages-section .advantage-card {
  text-align: left;
  border-left: 2px solid rgba(139, 92, 246, 0.15);
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0 12px 12px 0;
  padding: 28px 24px;
}

.advantages-section .advantage-card:hover {
  border-left-color: rgba(139, 92, 246, 0.5);
}

/* ==========================================================
   BADGES — Purple NEW, Gold HIT
   ========================================================== */
.badge-new {
  background: rgba(139, 92, 246, 0.2) !important;
  border: 1px solid rgba(167, 139, 250, 0.3) !important;
  color: #e9d5ff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.badge-hit {
  background: rgba(217, 119, 6, 0.2) !important;
  border: 1px solid rgba(251, 191, 36, 0.3) !important;
  color: #fde68a !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================
   CATALOG — Search + Extended Filters
   ========================================================== */
.catalog-top-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 40px 20px;
  flex-wrap: wrap;
}

.catalog-search-wrap {
  position: relative;
  flex: 1;
  max-width: 420px;
  min-width: 200px;
}

.catalog-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #52525b;
  pointer-events: none;
}

.catalog-search {
  width: 100%;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 11px 40px 11px 40px;
  color: #f5f5f5;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.catalog-search:focus {
  outline: none;
  border-color: rgba(139,92,246,0.6);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}

.catalog-search::placeholder { color: #52525b; }

.catalog-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #71717a;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s;
}
.catalog-search-clear:hover { color: #f5f5f5; }

.catalog-results-count {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: #52525b;
  white-space: nowrap;
}

/* ==========================================================
   CONTACT compact layout
   ========================================================== */
.contact-layout--compact {
  max-width: 900px;
  margin: 0 auto;
}

.contact-layout--compact .contact-info { flex: 0 0 220px; }

.contact-layout--compact .form-input {
  padding: 10px 14px !important;
  font-size: 14px !important;
}

.contact-layout--compact .form-textarea { min-height: 90px !important; }

.contact-layout--compact .contact-info-item {
  gap: 10px;
  margin-bottom: 14px;
}

.contact-layout--compact .contact-info-item h4 { font-size: 13px; margin-bottom: 2px; }
.contact-layout--compact .contact-info-item p { font-size: 13px; }

/* ==========================================================
   REVIEWS SYSTEM
   ========================================================== */
.product-reviews {
  margin-top: 32px;
  border-top: 1px solid rgba(139,92,246,0.15);
  padding-top: 28px;
}

.reviews-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: #f5f5f5;
  margin-bottom: 16px;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: rgba(139,92,246,0.05);
  border: 1px solid rgba(139,92,246,0.1);
  border-radius: 10px;
}

.reviews-avg-score {
  font-family: 'Bebas Neue', cursive;
  font-size: 48px;
  color: #f5f5f5;
  line-height: 1;
}

.reviews-avg-stars { font-size: 20px; color: #d97706; letter-spacing: 2px; }
.reviews-count { font-size: 13px; color: #71717a; }
.reviews-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.review-item {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  padding: 14px 18px;
  animation: fadeInUp 0.4s ease both;
}

.review-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.review-author { font-weight: 500; font-size: 14px; color: #e4e4e7; }
.review-stars { font-size: 14px; color: #d97706; }
.review-date { font-size: 11px; color: #52525b; }
.review-body { font-size: 13px; color: #a1a1aa; line-height: 1.6; }

.review-form-wrap {
  background: rgba(139,92,246,0.04);
  border: 1px solid rgba(139,92,246,0.12);
  border-radius: 12px;
  padding: 20px;
}

.review-form-title {
  font-size: 15px;
  font-weight: 500;
  color: #e4e4e7;
  margin-bottom: 14px;
}

.star-picker {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  cursor: pointer;
}

.star-pick {
  font-size: 28px;
  color: #3f3f46;
  transition: color 0.15s ease, transform 0.15s ease;
  user-select: none;
  cursor: pointer;
}

.star-pick.active,
.star-pick.hovered { color: #d97706; transform: scale(1.2); }

.review-input {
  width: 100%;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 10px 14px;
  color: #f5f5f5;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  transition: border-color 0.25s ease;
  margin-bottom: 10px;
  display: block;
}

.review-input:focus {
  outline: none;
  border-color: rgba(139,92,246,0.5);
}

.review-input::placeholder { color: #52525b; }
.review-textarea { resize: vertical; min-height: 80px; }
.review-submit { margin-top: 4px; }

/* ==========================================================
   ANIMATIONS — 3D, FadeIn, Stagger, Page Transition
   ========================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 3D card hover handled via JS tilt; reveal handled via GSAP.
   (Old CSS auto fade/stagger removed to avoid transform conflicts.) */

/* Section fade-in */
.section-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page entry */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Button pulse */
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(139,92,246,0.4);
}
.btn-primary:active { transform: translateY(0) scale(0.99); }

/* Hero CTA glow pulse */
.hero-cta.btn-primary {
  animation: ctaPulse 3s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(139,92,246,0.3); }
  50%       { box-shadow: 0 0 35px rgba(139,92,246,0.6), 0 0 60px rgba(139,92,246,0.2); }
}

/* Thumbnail 3D */
.product-thumbnail {
  transition: all 0.25s ease !important;
}
.product-thumbnail:hover {
  transform: scale(1.08) !important;
  border-color: rgba(139,92,246,0.7) !important;
}

/* Accordion open highlight */
.accordion.open { background: rgba(139,92,246,0.03) !important; border-radius: 8px; }

/* Filter pop */
@keyframes filterPop {
  0% { transform: scale(0.92); }
  60% { transform: scale(1.07); }
  100% { transform: scale(1); }
}
.filter-btn.active { animation: filterPop 0.2s ease; }

/* Value card lift */
.value-card { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.value-card:hover { transform: translateY(-8px) scale(1.02); }

@media (max-width: 640px) {
  .catalog-top-bar { flex-direction: column; align-items: stretch; }
  .catalog-search-wrap { max-width: 100%; }
}

/* ==========================================================
   TOUCH DEVICES — кнопка добавления всегда видна
   ========================================================== */
@media (hover: none) {
  .product-card-quick {
    opacity: 1;
    transform: none;
  }
  .product-card-img-hover { display: none; }
  .product-card-image::after { opacity: 1; }
}

/* ==========================================================
   ТИПОГРАФИКА — вторичные заголовки на Manrope (вместо Bebas)
   ========================================================== */
.footer-heading,
.value-title,
.summary-title,
.cart-empty-title,
.reviews-title,
.modal-title {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-heading {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #d4d4d8;
}
.value-title {
  font-size: 18px;
  letter-spacing: 0.06em;
}
.summary-title,
.modal-title,
.reviews-title {
  font-size: 20px;
  letter-spacing: 0.04em;
}
.cart-empty-title {
  font-size: 26px;
  letter-spacing: 0.04em;
}

.footer-link,
.footer-text,
.footer-desc {
  font-family: 'Manrope', sans-serif;
}

/* ==========================================================
   МОБИЛЬНЫЕ ДОРАБОТКИ ЭФФЕКТОВ
   ========================================================== */
@media (max-width: 768px) {
  /* Брутализм-секция: компактнее, без огромных отступов */
  .brutalism-section { padding: 70px 16px; }
  .brutalism-list { gap: 10px; }
  .brutalism-item { color: rgba(255,255,255,0.85); } /* на телефоне нет hover — делаем читаемым сразу */
  .brutalism-hover-img { display: none; }            /* плавающее фото за курсором не нужно на тач */

  /* Hero: убираем тяжёлый блюр-спотлайт и шум для плавности */
  .global-spotlight { display: none; }
  .global-noise { display: none; }
  .hero::before { background-size: 50px 50px; }

  /* Маркиза чуть тише */
  .marquee { padding: 14px 0; }

  /* Бейджи/кнопка карточки крупнее под палец */
  .product-card-quick { padding: 11px; font-size: 11px; }
}

@media (max-width: 480px) {
  .brutalism-item { font-size: clamp(34px, 13vw, 60px); gap: 12px; }
  .brut-num { font-size: clamp(16px, 5vw, 28px); }
  .advantage-num { font-size: 52px; }
  .advantage-title { font-size: 22px; }
  .stack-card { padding: 26px 20px; border-radius: 18px; }
}

/* ==========================================================
   ADVANTAGES — корректная раскладка на планшете/телефоне
   ========================================================== */
@media (max-width: 900px) {
  .advantages-sticky-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .advantages-header {
    position: static;
    top: auto;
  }
  .advantages-sub { margin-top: 8px; }
  .advantages-stack {
    gap: 20px;
    padding-bottom: 0;
  }
  .stack-card {
    position: relative;
    top: auto !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 32px 26px;
  }
}

/* ==========================================================
   ACCESSIBILITY — снижение анимаций
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero::before,
  .hero::after,
  .marquee-inner,
  .scroll-indicator,
  .hero-cta.btn-primary { animation: none !important; }
}

/* ==========================================================
   ★ REVIVAL UPGRADE — переходы страниц, scroll-reveal, глубина
   ========================================================== */

/* ---------- Кинематографичный переход между страницами ---------- */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9996;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
}

.page-transition.is-active {
  visibility: visible;
  pointer-events: all;
}

.page-transition__panel {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(139, 92, 246, 0.18), transparent 60%),
    linear-gradient(160deg, #0a0a0d 0%, #130f1f 55%, #1a1330 100%);
  border-bottom: 1px solid rgba(139, 92, 246, 0.35);
  transform: scaleY(0);
  transform-origin: bottom center;
  will-change: transform;
}

.page-transition__logo {
  position: relative;
  font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(44px, 9vw, 120px);
  letter-spacing: 0.2em;
  color: #f5f5f5;
  text-shadow: 0 0 30px var(--accent-glow), 0 0 60px var(--accent-glow-soft);
  opacity: 0;
  will-change: transform, opacity;
}

/* ---------- Универсальная scroll-reveal система (IntersectionObserver) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal="left"]  { transform: translateX(-52px); }
[data-reveal="right"] { transform: translateX(52px); }

[data-reveal="scale"] {
  transform: scale(1.06);
  transition:
    opacity 1s ease,
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Раскрытие изображения «шторкой» снизу вверх */
[data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal="clip"].is-in {
  clip-path: inset(0 0 0 0);
}

/* ---------- Depth parallax wrapper ---------- */
[data-parallax] {
  will-change: transform;
}

/* ---------- Доступность: всё показываем сразу, без движения ---------- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal="left"],
  [data-reveal="right"],
  [data-reveal="scale"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  [data-reveal="clip"] {
    clip-path: none !important;
    transition: none !important;
  }
  .page-transition { display: none !important; }
}

/* ---------- Мобильные: переход чуть быстрее визуально, без тяжёлых теней ---------- */
@media (max-width: 768px) {
  .page-transition__logo {
    letter-spacing: 0.14em;
  }
  /* На тач-устройствах reveal стартует мягче и без больших сдвигов */
  [data-reveal] { transform: translateY(28px); }
  [data-reveal="left"]  { transform: translateX(-28px); }
  [data-reveal="right"] { transform: translateX(28px); }
}

/* ---------- «Полёт» товара в корзину ---------- */
.fly-img {
  position: fixed;
  z-index: 9997;
  object-fit: cover;
  border-radius: 12px;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.75s cubic-bezier(0.5, -0.15, 0.3, 1.1),
    opacity 0.75s ease,
    border-radius 0.75s ease;
  will-change: transform, opacity;
}

/* ---------- Пульс бейджа корзины при добавлении ---------- */
@keyframes cartBump {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.55); }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.cart-badge.bump {
  animation: cartBump 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Лёгкий «толчок» самой иконки корзины */
@keyframes cartIconKick {
  0%, 100% { transform: translateY(0) rotate(0); }
  30%      { transform: translateY(-3px) rotate(-8deg); }
  60%      { transform: translateY(0) rotate(6deg); }
}
.cart-btn.kick svg {
  animation: cartIconKick 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
  .fly-img { display: none !important; }
  .cart-badge.bump, .cart-btn.kick svg { animation: none !important; }
}

/* ==========================================================
   ★ ЛИЧНЫЙ КАБИНЕТ + АВТОРИЗАЦИЯ
   ========================================================== */

/* ---------- Кнопка кабинета в шапке ---------- */
.account-btn {
  position: relative;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.account-btn:hover { color: var(--text-primary); }
.account-btn.is-authed { color: var(--accent-bright); }
.account-btn.is-authed::after {
  content: '';
  position: absolute;
  top: 5px; right: 5px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* ---------- Модалка авторизации ---------- */
.auth-card { max-width: 440px; }

.auth-brand {
  font-family: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  font-size: 30px;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 22px;
  color: var(--text-primary);
  text-shadow: 0 0 18px var(--accent-glow-soft);
}

.auth-tabs {
  position: relative;
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 22px;
}
.auth-tab {
  flex: 1;
  padding: 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.auth-tab.active { color: #fff; }
.auth-tab-ind {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: 9px;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-tabs.reg .auth-tab-ind { transform: translateX(100%); }

.auth-view {
  display: none;
  flex-direction: column;
  gap: 14px;
}
.auth-view.is-active {
  display: flex;
  animation: authFade 0.35s ease;
}
@keyframes authFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.auth-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}
.auth-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  height: 46px;
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition);
}
.auth-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow-soft);
}
.auth-forgot-link {
  font-size: 12px;
  color: var(--accent-bright);
  align-self: flex-start;
}
.auth-forgot-link:hover { text-decoration: underline; }
.auth-hint {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.auth-msg { font-size: 13px; min-height: 18px; }
.auth-msg.err { color: #ef4444; }
.auth-msg.ok { color: #10b981; }
.auth-submit {
  width: 100%;
  padding: 14px;
  margin-top: 2px;
  min-height: 48px;
}
.auth-spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: authSpin 0.7s linear infinite;
}
@keyframes authSpin { to { transform: rotate(360deg); } }

/* ---------- Страница кабинета ---------- */
.account-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 80px;
}
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
.account-side {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.account-user {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.account-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 18px var(--accent-glow);
}
.account-user-meta { display: flex; flex-direction: column; min-width: 0; }
.account-user-name { font-weight: 600; font-size: 15px; }
.account-user-mail {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}
.account-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.account-nav-item {
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.account-nav-item:hover { background: rgba(255, 255, 255, 0.03); color: var(--text-primary); }
.account-nav-item.active { background: var(--accent-glow-soft); color: var(--accent-bright); }
.account-logout {
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  transition: var(--transition);
}
.account-logout:hover { border-color: #ef4444; color: #ef4444; }

.account-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  min-height: 320px;
}
.account-h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.account-empty, .account-loading {
  color: var(--text-secondary);
  font-size: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  line-height: 1.6;
}
.account-empty code {
  background: rgba(139, 92, 246, 0.14);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12px;
}
.account-guard { text-align: center; padding: 60px 20px; }
.account-guard h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 32px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.account-guard p { color: var(--text-secondary); margin-bottom: 24px; }

.account-card { display: flex; flex-direction: column; margin-bottom: 16px; }
.account-field {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}
.account-field span { color: var(--text-muted); }

.account-bonus { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.account-bonus-val {
  font-family: 'Bebas Neue', cursive;
  font-size: 56px;
  color: var(--accent-bright);
  line-height: 1;
}

/* Заказы */
.orders-list { display: flex; flex-direction: column; gap: 14px; }
.order-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 18px;
}
.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.order-id { font-size: 13px; letter-spacing: 0.05em; color: var(--text-secondary); }
.order-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 100px;
}
.st-pending    { background: rgba(139, 92, 246, 0.16); color: #c4b5fd; }
.st-assembling { background: rgba(245, 158, 11, 0.16); color: #fcd34d; }
.st-shipped    { background: rgba(59, 130, 246, 0.16); color: #93c5fd; }
.st-delivered  { background: rgba(16, 185, 129, 0.16); color: #6ee7b7; }
.st-cancelled  { background: rgba(239, 68, 68, 0.16); color: #fca5a5; }
.order-items { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.order-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}
.order-card-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  font-size: 15px;
}

@media (max-width: 768px) {
  .account-wrap { padding: 0 16px 60px; }
  .account-layout { grid-template-columns: 1fr; gap: 16px; }
  .account-side { position: static; }
  .account-nav { flex-direction: row; flex-wrap: wrap; }
  .account-nav-item { flex: 1 1 40%; text-align: center; }
}

/* ---------- Сердечко «в избранное» на карточке ---------- */
.product-card-wish {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 6;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.product-card-wish svg { fill: transparent; transition: fill 0.25s ease; }
.product-card-wish:hover { background: rgba(0, 0, 0, 0.55); transform: scale(1.1); }
.product-card-wish.active { color: #fb5d7e; border-color: rgba(251, 93, 126, 0.55); }
.product-card-wish.active svg { fill: #fb5d7e; animation: heartPop 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ---------- Оформление заказа ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
.checkout-form-new { display: flex; flex-direction: column; gap: 18px; }
.co-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}
.co-legend {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-weight: 600;
}
.co-carrier { display: flex; gap: 10px; }
.co-radio {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}
.co-radio input { accent-color: var(--accent); }
.co-radio:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-glow-soft);
}
.co-auto-wrap { position: relative; }
.co-auto {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  z-index: 20;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  max-height: 240px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.co-auto.open { display: block; }
.co-auto-item {
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.co-auto-item:hover { background: var(--accent-glow-soft); }
.co-auto-item em { color: var(--text-muted); font-style: normal; font-size: 12px; }
.co-auto-empty { padding: 12px 14px; font-size: 13px; color: var(--text-muted); }
.co-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}
.co-check input { accent-color: var(--accent); }
.co-note { font-size: 12px; color: #fcd34d; }
.co-submit { width: 100%; padding: 15px; margin-top: 4px; min-height: 50px; }

.checkout-summary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.checkout-summary h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.co-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; max-height: 260px; overflow-y: auto; }
.co-item { display: flex; gap: 10px; align-items: center; }
.co-item img { width: 44px; height: 54px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.co-item-meta { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.co-item-meta span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-item-meta small { font-size: 11px; color: var(--text-muted); }
.co-item b { font-size: 13px; color: var(--accent-bright); white-space: nowrap; }
.co-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-secondary); padding: 6px 0; }
.co-discount b { color: #4ade80; }
.co-total {
  font-size: 17px;
  color: var(--text-primary);
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 6px;
  padding-top: 12px;
}

/* ---------- Профиль / адреса ---------- */
.account-form { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.addr-list { display: flex; flex-direction: column; gap: 10px; }
.addr-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}
.addr-card b { font-size: 14px; }
.addr-line { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.addr-del {
  color: var(--text-muted);
  font-size: 16px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition);
}
.addr-del:hover { color: #ef4444; background: rgba(239, 68, 68, 0.1); }

@media (max-width: 768px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
}

/* ---------- Выбор сохранённого отделения ---------- */
.co-saved { display: flex; flex-direction: column; gap: 8px; }
.co-saved-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}
.co-saved-item:hover { border-color: var(--border-hover); }
.co-saved-item input { margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.co-saved-item span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.co-saved-item small { color: var(--text-muted); font-size: 12px; }
.co-saved-item:has(input:checked) { border-color: var(--accent); background: var(--accent-glow-soft); }

/* ==========================================================
   ★ РАСШИРЕНИЕ КАБИНЕТА (более просторно)
   ========================================================== */
.account-wrap { max-width: 1280px; padding: 0 40px 100px; }
.account-layout { grid-template-columns: 300px 1fr; gap: 32px; }

.account-side { padding: 28px; border-radius: 18px; }
.account-avatar { width: 58px; height: 58px; font-size: 27px; }
.account-user {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.account-user-name { font-size: 16px; }
.account-user-mail { max-width: 190px; }
.account-nav { gap: 6px; margin-bottom: 20px; }
.account-nav-item { padding: 14px 16px; font-size: 14.5px; }
.account-logout { padding: 13px; font-size: 13.5px; }

.account-panel { padding: 40px; min-height: 500px; border-radius: 18px; }
.account-h2 {
  font-size: 24px;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.account-empty, .account-loading { padding: 28px; font-size: 14.5px; }
.account-bonus-val { font-size: 64px; }
.account-field { padding: 15px 0; font-size: 15px; }

.orders-list { gap: 18px; }
.order-card { padding: 22px 24px; border-radius: 14px; }
.order-card-top { margin-bottom: 16px; }
.order-id { font-size: 14px; }
.order-item-row { font-size: 14px; padding: 2px 0; }
.order-card-bottom { padding-top: 14px; font-size: 16px; }

@media (max-width: 768px) {
  .account-panel { padding: 24px; }
  .account-h2 { font-size: 21px; }
}

/* ==========================================================
   ★ ПОЛИРОВКА МОДАЛКИ АВТОРИЗАЦИИ
   ========================================================== */
.auth-card {
  max-width: 460px;
  padding: 40px;
  position: relative;
}
.auth-brand {
  position: relative;
  font-size: 38px;
  letter-spacing: 0.24em;
  margin-bottom: 4px;
}
.auth-sub {
  position: relative;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.auth-tabs { margin-bottom: 24px; }
.auth-tab { padding: 11px; font-size: 12.5px; }
.auth-view { gap: 16px; }
.auth-input { height: 50px; border-radius: 12px; }
.auth-submit { padding: 15px; border-radius: 12px; }
.auth-hint { font-size: 13.5px; }

@media (max-width: 480px) {
  .auth-card { padding: 36px 24px; }
  .auth-brand { font-size: 32px; }
}

/* ---------- Карточка заказа: товары с фото + доставка ---------- */
.order-items { gap: 12px; }
.order-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.order-item-img {
  width: 48px; height: 58px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.order-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.order-item-name { font-size: 14px; color: var(--text-primary); }
.order-item-sub {
  font-size: 12.5px;
  color: var(--accent-bright);
  background: var(--accent-glow-soft);
  align-self: flex-start;
  padding: 2px 9px;
  border-radius: 100px;
}
.order-item-price { font-size: 14px; color: var(--text-primary); white-space: nowrap; flex-shrink: 0; }
.order-delivery {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.order-delivery svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.order-delivery span { word-break: break-word; line-height: 1.5; }

.order-item-size {
  font-size: 12.5px;
  color: var(--accent-bright);
  background: var(--accent-glow-soft);
  align-self: flex-start;
  padding: 2px 9px;
  border-radius: 100px;
}
.order-item-qty {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 13px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Степпер статусов заказа */
.order-steps { display: flex; margin: 16px 0 20px; }
.order-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.order-step::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: #2a2a2a;
  z-index: 0;
}
.order-step:first-child::before { display: none; }
.order-step-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #2a2a2a;
  border: 2px solid #2a2a2a;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
.order-step-label { font-size: 11px; color: var(--text-muted); text-align: center; }
.order-step.done .order-step-dot,
.order-step.active .order-step-dot { background: var(--accent); border-color: var(--accent); }
.order-step.done::before,
.order-step.active::before { background: var(--accent); }
.order-step.active .order-step-dot { box-shadow: 0 0 0 4px var(--accent-glow-soft); }
.order-step.done .order-step-label,
.order-step.active .order-step-label { color: var(--text-primary); }
.order-steps--cancelled { color: #fca5a5; font-size: 13px; margin: 14px 0; font-weight: 500; }

/* Модалка сверки заказа */
.review-modal { max-width: 480px; }
.rv-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; max-height: 240px; overflow-y: auto; }
.rv-item { display: flex; gap: 12px; align-items: center; }
.rv-item img { width: 46px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.rv-item-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rv-item-meta span { font-size: 14px; }
.rv-item-meta small { font-size: 12px; color: var(--text-muted); }
.rv-item b { font-size: 14px; color: var(--accent-bright); white-space: nowrap; }
.rv-block { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.rv-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); display: block; margin-bottom: 6px; }
.rv-block p { font-size: 14px; line-height: 1.6; }
.rv-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 6px;
}
.rv-total b { font-size: 22px; color: var(--accent-bright); }
.rv-confirm { width: 100%; margin-top: 8px; padding: 15px; }
.rv-edit { width: 100%; justify-content: center; }

/* Перенос длинных названий отделений НП (#2) */
.addr-line, .co-saved-item small, .co-saved-item span { word-break: break-word; min-width: 0; }
.checkout-grid { grid-template-columns: 1fr 300px; }

/* ==========================================================
   ★ КОНТАКТЫ — обновлённая страница
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px 90px;
  align-items: start;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
}
.contact-card--info { display: flex; flex-direction: column; }
.contact-card-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.contact-card-sub {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 26px;
}
.contact-card .contact-info { gap: 10px; }
.contact-card .contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: var(--transition);
}
a.contact-info-item:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
  transform: translateX(3px);
}
.contact-card .contact-info-item h4 {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.contact-card .contact-info-item p { font-size: 15px; color: var(--text-primary); }
.contact-socials-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-socials-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.contact-card .social-link { color: var(--text-secondary); }
.contact-card .social-link svg { fill: currentColor; }
.contact-card .social-link:hover { color: var(--accent-bright); }
.contact-card--form .contact-form { display: flex; flex-direction: column; gap: 18px; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; padding: 0 16px 60px; gap: 16px; }
  .contact-card { padding: 24px; }
}

/* ==========================================================
   ★ КАТАЛОГ — обновлённый тулбар
   ========================================================== */
.catalog-top-bar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 18px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.catalog-search-wrap {
  max-width: 560px;
  width: 100%;
}
.catalog-search {
  height: 52px;
  border-radius: 100px;
  padding: 0 46px;
  font-size: 15px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.catalog-search-icon { left: 18px; }
.catalog-search-clear { right: 16px; }
.catalog-results-count {
  background: var(--accent-glow-soft);
  color: var(--accent-bright);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 500;
}

.catalog-filters {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 40px;
}
.catalog-filters .filter-group,
.catalog-filters .sort-group {
  position: relative;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 100px;
  gap: 4px;
  flex-wrap: nowrap;
}
.catalog-filters .filter-btn {
  border: none;
  padding: 9px 16px;
  border-radius: 100px;
}
.catalog-filters .filter-btn:hover { background: rgba(255, 255, 255, 0.05); }
.catalog-filters .filter-btn.active {
  box-shadow: 0 4px 14px var(--accent-glow);
}

@media (max-width: 768px) {
  .catalog-top-bar { padding: 0 16px 14px; }
  .catalog-filters {
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
  }
  .catalog-filters .filter-group,
  .catalog-filters .sort-group { flex-shrink: 0; }
}

/* ==========================================================
   ★ ФИНАЛЬНЫЙ АДАПТИВ — идёт последним, чтобы перебить
   безусловные «★ РАСШИРЕНИЕ КАБИНЕТА» / «полировку», которые
   в каскаде ломали мобильную одноколоночную раскладку.
   ========================================================== */
@media (max-width: 768px) {
  /* Кабинет — одна колонка, навигация в ряд */
  .account-wrap { padding: 0 16px 64px; }
  .account-layout { grid-template-columns: 1fr; gap: 16px; }
  .account-side { position: static; padding: 22px; }
  .account-nav { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .account-nav-item { flex: 1 1 40%; text-align: center; }
  .account-panel { padding: 24px 18px; min-height: 0; }
  .account-h2 { font-size: 20px; margin-bottom: 20px; }

  /* Оформление — сводка над формой, одна колонка */
  .checkout-grid { grid-template-columns: 1fr; gap: 18px; }
  .checkout-summary { position: static; order: -1; }
}

@media (max-width: 480px) {
  .account-wrap { padding: 0 12px 48px; }
  .account-side { padding: 18px; border-radius: 14px; }
  .account-panel { padding: 18px 14px; border-radius: 14px; }
  .account-avatar { width: 50px; height: 50px; font-size: 22px; }
  .account-bonus-val { font-size: 48px; }

  /* Степпер статусов: не даём подписям ломать сетку */
  .order-card { padding: 16px 14px; }
  .order-step-label { font-size: 9.5px; line-height: 1.2; }
  .order-item-qty { padding: 5px 10px; }

  /* Чекаут — компактнее блоки и тач-цели */
  .co-block { padding: 14px; }
  .co-carrier { flex-direction: column; }
  .review-modal, .auth-card { padding: 28px 18px; }
  .rv-total b { font-size: 20px; }
}
