/* ===========================
   Geometria Font Face
   =========================== */
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Heavy.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* Corinthia — декоративный шрифт бренда (для акцентов) */
@font-face {
  font-family: 'Corinthia';
  src: url('../fonts/corinthia.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===========================
   CSS Variables & Root Styles
   =========================== */
:root {
  /* Brand Colors (official from guidebook) */
  --black: #000000;           /* Background */
  --brand-dark: #242424;      /* Brand dark: RGB 36,36,36 */
  --white: #FEFEFE;           /* Brand white: RGB 254,254,254 */
  --pink: #E8237F;            /* Brand pink: RGB 232,65,127 */
  --pink-dark: #C41A6A;       /* Darker pink for hover states */
  --pink-light: #F6AFCE;      /* Light pink gradient end */
  --purple-accent: #B873E9;   /* Purple gradient accent */
  --gray-dark: #1a1a1a;
  --gray-mid: #242424;        /* = brand-dark */
  --gray-light: #333333;
  --kaspi-yellow: #FFC107;
  --text-light: #e0e0e0;
  --border-color: #333333;
}

/* ===========================
   Reset & Base Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Geometria', Verdana, Arial, sans-serif;
  font-weight: 500; /* Geometria Medium is the brand primary weight */
  background-color: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--pink);
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.3s ease;
}

input, textarea, select {
  font-family: inherit;
  background-color: var(--gray-light);
  color: var(--white);
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: 4px;
}

input::placeholder, textarea::placeholder {
  color: #999;
}

/* ===========================
   Header Styles
   =========================== */
header {
  background-color: var(--gray-dark);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  min-width: 200px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(237, 46, 135, 0.4));
  transition: filter 0.3s ease;
}

.logo-img:hover {
  filter: drop-shadow(0 0 14px rgba(237, 46, 135, 0.7));
}

.logo-text {
  background: linear-gradient(135deg, var(--white) 0%, var(--white) 70%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  font-size: 24px;
  color: var(--pink);
}

/* Search bar */
.search-bar {
  flex: 1;
  max-width: 400px;
}

.search-bar input {
  width: 100%;
  background-color: var(--gray-mid);
  padding: 12px 15px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

/* Header icons */
.header-icons {
  display: flex;
  gap: 30px;
  align-items: center;
}

.header-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.header-icon:hover {
  color: var(--pink);
}

.header-icon.phone {
  display: none;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background-color: var(--pink);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--white);
  font-size: 24px;
}

/* ===========================
   Navigation Bar
   =========================== */
nav {
  background-color: var(--black);
  border-bottom: 1px solid var(--border-color);
}

nav ul {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  list-style: none;
  padding: 0 20px;
  gap: 0;
  overflow-x: auto;
}

nav { position: relative; }

nav li {
  flex: 1 1 auto;
  min-width: 0;
}

nav a {
  display: block;
  white-space: nowrap;
  padding: 15px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

nav a:hover {
  border-bottom-color: var(--pink);
  color: var(--pink);
}

nav a.active {
  border-bottom-color: var(--pink);
  color: var(--pink);
}

/* Mobile nav (hidden by default) */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background-color: var(--gray-mid);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  z-index: 99;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
}

/* ===========================
   Hero Slider
   =========================== */
.hero-slider {
  position: relative;
  overflow: hidden;
  margin: 20px 20px 40px;
  border-radius: 12px;
  border: 1px solid rgba(232, 35, 127, 0.3);
  height: 460px;
}

.slider-track {
  display: flex;
  width: calc(var(--slides, 3) * 100%);
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
  width: calc(100% / var(--slides, 3));
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 36px 60px 90px;
  box-sizing: border-box;
}

/* =========================================
   SLIDE 1 — Neon "Devices for Her"
   ========================================= */
.slide-1 {
  background: #080010;
  justify-content: space-between;
}
.slide-neon-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.neon-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
}
.neon-orb-1 { width:380px; height:380px; background:rgba(232,35,127,0.35); top:-80px; right:200px; }
.neon-orb-2 { width:280px; height:280px; background:rgba(0,229,255,0.2); top:60px; right:50px; animation: orb-pulse 4s ease-in-out infinite; }
.neon-orb-3 { width:200px; height:200px; background:rgba(184,39,232,0.3); bottom:-40px; left:300px; }
@keyframes orb-pulse { 0%,100%{opacity:.6} 50%{opacity:1} }

.slide-products-right {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  display: flex; gap: 24px; align-items: flex-end; z-index: 2;
}
.product-float { filter: drop-shadow(0 0 18px rgba(232,35,127,0.7)); }
.pf-1 { width: 60px; animation: float1 3s ease-in-out infinite; }
.pf-2 { width: 50px; animation: float1 3.5s ease-in-out infinite 0.5s; }
.pf-3 { width: 40px; animation: float1 4s ease-in-out infinite 1s; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.sparkle { position:absolute; color:#e8237f; font-size:18px; animation:spark 2s ease-in-out infinite; }
.sp-1 { top:30px; right:250px; animation-delay:.3s; }
.sp-2 { top:80px; right:160px; animation-delay:1s; font-size:12px; }
.sp-3 { bottom:50px; right:280px; animation-delay:1.7s; }
@keyframes spark { 0%,100%{opacity:0;transform:scale(.5)} 50%{opacity:1;transform:scale(1)} }

/* Big title — style extaz */
.slide-big-title {
  display: flex; flex-direction: column; line-height: 1;
  margin: 10px 0 16px;
}
.sbt-line1 {
  font-size: 36px; font-weight: 900; color: #fff; letter-spacing: 2px;
  text-shadow: 0 0 30px rgba(232,35,127,0.8);
}
.sbt-line2 {
  font-size: 58px; font-weight: 900; letter-spacing: 4px;
  background: linear-gradient(90deg, #e8237f, #00e5ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.sbt-line3 {
  font-size: 34px; font-weight: 900; color: #fff; letter-spacing: 3px;
}
.slide-btn-neon {
  display: inline-block; margin-top: 16px;
  background: linear-gradient(135deg, #e8237f, #9b27af);
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 14px 36px; border-radius: 30px; text-decoration: none;
  letter-spacing: 1px; text-transform: uppercase;
  box-shadow: 0 0 24px rgba(232,35,127,0.6);
  transition: all 0.3s;
}
.slide-btn-neon:hover { box-shadow: 0 0 40px rgba(232,35,127,0.9); transform: translateY(-2px); }

/* =========================================
   SLIDE 2 — "For Him" (extaz ДЛЯ НЕГО style)
   ========================================= */
.slide-2 {
  background: #0d0008;
  justify-content: space-between;
}
.slide-him-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.him-glow {
  position: absolute; border-radius: 50%; filter: blur(90px);
}
.him-glow-1 { width:500px; height:500px; background:rgba(200,10,80,0.4); top:-150px; right:-50px; }
.him-glow-2 { width:300px; height:300px; background:rgba(232,35,127,0.25); bottom:-80px; left:200px; }

/* Floating hearts */
.heart {
  position: absolute; color: #e8237f; font-size: 22px;
  animation: heartFloat 5s ease-in-out infinite;
  pointer-events: none; opacity: 0.7; text-shadow: 0 0 10px rgba(232,35,127,0.8);
}
.h1 { top:15%; right:20%; font-size:32px; animation-delay:0s; }
.h2 { top:40%; right:30%; font-size:18px; animation-delay:1s; }
.h3 { top:65%; right:15%; font-size:26px; animation-delay:2s; }
.h4 { top:25%; right:50%; font-size:14px; animation-delay:0.5s; }
.h5 { bottom:20%; right:40%; font-size:20px; animation-delay:1.5s; }
.h6 { top:50%; right:8%; font-size:36px; animation-delay:2.5s; }
@keyframes heartFloat {
  0%{transform:translateY(0) scale(1); opacity:.7}
  50%{transform:translateY(-20px) scale(1.1); opacity:1}
  100%{transform:translateY(0) scale(1); opacity:.7}
}

/* Him title */
.slide-him-title {
  display: flex; flex-direction: column; line-height: 0.9;
  margin: 12px 0 24px;
}
.him-line1 {
  font-size: 80px; font-weight: 900; color: #fff; letter-spacing: 8px;
  text-shadow: 0 0 40px rgba(255,255,255,0.3);
}
.him-line2 {
  font-size: 110px; font-weight: 900; letter-spacing: 6px;
  background: linear-gradient(90deg, #e8237f 0%, #ff6b9d 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(232,35,127,0.9));
}

.slide-tag-him {
  background: rgba(232,35,127,0.15);
  border-color: rgba(232,35,127,0.5);
  color: #ff6b9d;
}
.slide-btn-him {
  display: inline-block; margin-top: 20px;
  background: linear-gradient(135deg, #e8237f 0%, #c01060 100%);
  color: #fff; font-weight: 800; font-size: 16px;
  padding: 15px 40px; border-radius: 30px; text-decoration: none;
  letter-spacing: 1px; text-transform: uppercase;
  box-shadow: 0 6px 30px rgba(232,35,127,0.5);
  transition: all 0.3s;
}
.slide-btn-him:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(232,35,127,0.7); }

/* Him right side */
.slide-him-right {
  position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
  z-index: 2;
}
.him-circle-big {
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,35,127,0.25) 0%, transparent 70%);
  border: 2px solid rgba(232,35,127,0.3);
  animation: him-pulse 3s ease-in-out infinite;
}
.him-icon-wrap {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
}
@keyframes him-pulse { 0%,100%{box-shadow:0 0 0 0 rgba(232,35,127,0.4)} 50%{box-shadow:0 0 40px 10px rgba(232,35,127,0.2)} }

/* =========================================
   SLIDE 3 — INSOMNIA brand / power
   ========================================= */
.slide-3 {
  background: #030612;
  justify-content: space-between;
}
.slide-power-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.power-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
}
.power-orb-1 { width:400px; height:400px; background:rgba(0,100,255,0.2); top:-100px; right:100px; }
.power-orb-2 { width:300px; height:300px; background:rgba(0,229,255,0.15); bottom:-50px; left:150px; animation:orb-pulse 5s ease-in-out infinite 1s; }
.scanlines {
  position:absolute; inset:0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,229,255,0.03) 3px, rgba(0,229,255,0.03) 4px);
  pointer-events: none;
}

.slide-power-title {
  display: flex; flex-direction: column; gap: 4px;
}
.slide-power-right {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%); z-index: 2;
}
.power-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  background: rgba(255,255,255,0.03); padding: 20px; border-radius: 16px;
  border: 1px solid rgba(0,229,255,0.15);
}
.pg-item {
  font-size: 36px; text-align: center; padding: 8px;
  background: rgba(255,255,255,0.04); border-radius: 10px;
  transition: transform 0.3s; cursor: default;
  filter: drop-shadow(0 0 8px rgba(0,229,255,0.3));
}
.pg-item:hover { transform: scale(1.2); }

/* Decorative circles */
.slide-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.deco-circle {
  position: absolute;
}
.deco-c1 { width: 300px; height: 300px; top: -100px; right: -50px; }
.deco-c2 { width: 450px; height: 450px; bottom: -200px; right: -100px; }
.deco-c3 { width: 200px; height: 200px; top: 50px; right: 200px; }

/* Slide content */
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.slide-tag {
  display: inline-block;
  background: rgba(232, 35, 127, 0.15);
  border: 1px solid rgba(232, 35, 127, 0.4);
  color: var(--pink);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.slide-tag-kaspi {
  background: rgba(255, 179, 0, 0.1);
  border-color: rgba(255, 179, 0, 0.4);
  color: #FFB300;
}
.slide-tag-new {
  background: rgba(184, 115, 233, 0.15);
  border-color: rgba(184, 115, 233, 0.4);
  color: var(--purple-accent);
}

.slide-title {
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
  display: inline-block;
}

/* SVG brand logo in the banner hero — keeps the official INSOMNIA logotype */
.slide-brand-logo {
  height: 62px;
  width: auto;
  display: block;
  margin-bottom: 6px;
  /* SVG already has white + pink fills — no filter needed */
}

/* "INTIM SHOP" line — JS auto-scales it to match the logo width */
.slide-title-sub {
  color: var(--pink);
  display: block;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Geometria', sans-serif;
  white-space: nowrap;
}

.slide-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
  font-weight: 300;
  line-height: 1.6;
}
.slide-subtitle strong { color: var(--white); }

.slide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.slide-btn-primary {
  background: var(--pink);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  text-transform: uppercase;
}
.slide-btn-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,35,127,0.4);
  color: var(--white);
}

.slide-btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s;
  text-transform: uppercase;
}
.slide-btn-ghost:hover {
  border-color: var(--pink);
  color: var(--pink);
}

/* Slide stats bar */
.slide-stats {
  position: absolute;
  bottom: 24px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 2;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* Slide 2 (Kaspi) specifics */
.slide-title-kaspi {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.slide-kaspi-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-bottom: 24px;
}
.kf-item {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 7px;
}
.kf-icon { color: #FFB300; font-size: 14px; }

.slide-btn-kaspi {
  background: #FF4500;
  color: var(--white);
  padding: 13px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
  transition: all 0.3s;
  text-transform: uppercase;
}
.slide-btn-kaspi:hover {
  background: #cc3700;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,69,0,0.4);
  color: var(--white);
}

.kaspi-logo-big {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  opacity: 0.15;
}
.kaspi-logo-big svg {
  width: 180px;
  height: auto;
}

/* Slide 3 brands */
.slide-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.slide-brands span {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(232, 35, 127, 0.15);
  border: 1px solid rgba(232, 35, 127, 0.35);
  color: var(--pink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.slider-arrow:hover {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 0 20px rgba(232,35,127,0.4);
}
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 18px;
  right: 60px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active {
  background: var(--pink);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(232,35,127,0.5);
}

/* Legacy .hero support (other pages) */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 50%, var(--gray-mid) 100%);
  border: 2px solid var(--pink);
  padding: 80px 20px;
  text-align: center;
  margin: 0 20px;
  margin-top: 20px;
  margin-bottom: 40px;
  border-radius: 8px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 3px;
  color: var(--white);
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
  font-weight: 300;
}
.hero-cta {
  background-color: var(--pink);
  color: var(--black);
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
}
.hero-cta:hover {
  background-color: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(233, 30, 140, 0.3);
}

/* ===========================
   Section Title
   =========================== */
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  padding: 0 20px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--pink);
  margin: 15px auto 0;
}

/* ===========================
   Category Cards
   =========================== */
.categories-grid {
  max-width: 1200px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 20px;
}

.category-card {
  background-color: var(--gray-dark);
  border: 1px solid var(--border-color);
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--white);
  display: block;
}

.category-card:hover {
  border-color: var(--pink);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(233, 30, 140, 0.2);
}

.category-card-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.category-card-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.category-card-count {
  font-size: 12px;
  color: var(--text-light);
}

/* ===========================
   Product Grid
   =========================== */
.section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

/* ===========================
   Product Card
   =========================== */
.product-card {
  background-color: var(--gray-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  border-color: var(--pink);
  box-shadow: 0 10px 30px rgba(233, 30, 140, 0.2);
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 260px;
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1a1a1a;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.img-fallback {
  font-size: 60px;
  opacity: 0.4;
}

/* Image overlay with quick-buy */
.product-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 20px 12px 12px;
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  justify-content: center;
}
.product-card:hover .product-image-overlay {
  opacity: 1;
}

.quick-buy-btn {
  background: #FF4500;
  color: #fff;
  border: none;
  padding: 7px 18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  letter-spacing: 0.3px;
}
.quick-buy-btn:hover { background: #cc3700; }

/* Badges */
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
}
.sale-badge { background: var(--pink); color: #fff; }
.new-badge { background: var(--purple-accent); color: #fff; }

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

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--pink);
  color: var(--black);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.product-badge.new {
  background-color: #0088ff;
}

.product-info {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-brand {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
  flex: 1;
}

.product-rating {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.product-price-block {
  margin-bottom: 15px;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--pink);
}

.product-oldprice {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 10px;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.add-to-cart-btn {
  flex: 1;
  background-color: var(--pink);
  color: var(--black);
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background-color: var(--pink-dark);
  transform: translateY(-2px);
}

.wishlist-btn {
  width: 40px;
  height: 40px;
  background-color: var(--gray-light);
  color: var(--white);
  border-radius: 4px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.wishlist-btn:hover {
  background-color: var(--pink);
  color: var(--black);
}

/* ===========================
   Kaspi Section
   =========================== */
.kaspi-section {
  background: linear-gradient(135deg, var(--gray-dark) 0%, var(--gray-mid) 100%);
  border: 2px solid var(--kaspi-yellow);
  padding: 50px 20px;
  margin: 0 20px 60px;
  border-radius: 8px;
  text-align: center;
}

.kaspi-logo {
  font-size: 32px;
  font-weight: 700;
  color: var(--kaspi-yellow);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.kaspi-text {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.kaspi-badge {
  display: inline-block;
  background-color: var(--kaspi-yellow);
  color: var(--black);
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}

/* ===========================
   Benefits Section
   =========================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  background-color: var(--gray-dark);
  border: 1px solid var(--border-color);
  padding: 30px;
  text-align: center;
  border-radius: 8px;
}

.benefit-icon {
  font-size: 36px;
  margin-bottom: 15px;
  display: block;
  color: var(--pink);
}

.benefit-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.benefit-description {
  font-size: 14px;
  color: var(--text-light);
}

/* ===========================
   Footer
   =========================== */
footer {
  background-color: var(--gray-dark);
  border-top: 1px solid var(--border-color);
  padding: 50px 20px 20px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--pink);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--text-light);
  font-size: 14px;
}

.footer-section a:hover {
  color: var(--pink);
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
  letter-spacing: 1px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-contact {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.footer-contact strong {
  color: var(--white);
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background-color: var(--gray-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background-color: var(--pink);
  color: var(--black);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
}

/* ===========================
   Cart Sidebar
   =========================== */
.cart-sidebar {
  position: fixed;
  right: -400px;
  top: 0;
  width: 400px;
  height: 100vh;
  background-color: var(--gray-dark);
  border-left: 1px solid var(--border-color);
  z-index: 200;
  overflow-y: auto;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--gray-mid);
}

.cart-header h2 {
  font-size: 18px;
  font-weight: 600;
}

.cart-close {
  background: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  background-color: var(--gray-mid);
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  display: flex;
  gap: 15px;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--pink) 100%);
  border-radius: 4px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 8px;
}

.cart-item-qty {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.cart-item-qty button {
  width: 24px;
  height: 24px;
  background-color: var(--border-color);
  color: var(--white);
  border-radius: 2px;
  font-size: 12px;
}

.cart-item-qty button:hover {
  background-color: var(--pink);
  color: var(--black);
}

.cart-item-remove {
  margin-top: 10px;
  background: none;
  color: #ff6b6b;
  font-size: 13px;
  text-align: left;
  padding: 0;
}

.cart-item-remove:hover {
  color: #ff8888;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background-color: var(--gray-mid);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
}

.cart-total-amount {
  color: var(--pink);
}

.cart-checkout-btn {
  width: 100%;
  background-color: var(--pink);
  color: var(--black);
  padding: 14px;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.cart-checkout-btn:hover {
  background-color: var(--pink-dark);
}

.cart-continue-btn {
  width: 100%;
  background-color: var(--border-color);
  color: var(--white);
  padding: 12px;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cart-continue-btn:hover {
  background-color: var(--pink);
  color: var(--black);
}

.cart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  text-align: center;
  color: var(--text-light);
}

/* ===========================
   Age Verification Modal
   =========================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
}

.modal-overlay.hidden {
  display: none;
}

.modal-content {
  background-color: var(--gray-dark);
  border: 2px solid var(--pink);
  padding: 50px;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
  width: 90%;
}

.modal-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
}

.modal-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--white);
}

.modal-text {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

.modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.modal-btn {
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  flex: 1;
  max-width: 200px;
  transition: all 0.3s ease;
}

.modal-btn.confirm {
  background-color: var(--pink);
  color: var(--black);
}

.modal-btn.confirm:hover {
  background-color: var(--pink-dark);
  transform: translateY(-2px);
}

.modal-btn.cancel {
  background-color: var(--border-color);
  color: var(--white);
}

.modal-btn.cancel:hover {
  background-color: var(--gray-light);
}

/* ===========================
   Catalog Page
   =========================== */
.catalog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}

.catalog-sidebar {
  background-color: var(--gray-dark);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  height: fit-content;
}

.filter-section {
  margin-bottom: 30px;
}

.filter-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--pink);
  letter-spacing: 1px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--pink);
  cursor: pointer;
}

.filter-option label {
  cursor: pointer;
  flex: 1;
}

.price-range-wrap { display: flex; flex-direction: column; gap: 8px; }

.price-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
}
.price-inputs span { color: var(--text-light); font-size: 12px; }
.price-inputs input {
  flex: 1;
  width: 80px;
  font-size: 12px;
  padding: 7px 8px;
  background: var(--gray-light);
  border: 1px solid var(--border-color);
  color: var(--white);
  border-radius: 4px;
  font-family: inherit;
}
.price-inputs input:focus { border-color: var(--pink); outline: none; }

.price-apply-btn {
  background: var(--pink);
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  align-self: flex-start;
}
.price-apply-btn:hover { background: var(--pink-dark); }

.price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
.price-preset {
  background: var(--gray-light);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.price-preset:hover, .price-preset.active {
  background: rgba(232,35,127,0.15);
  border-color: var(--pink);
  color: var(--pink);
}

/* Brand list with scrollable height */
.brand-list {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}
.brand-list::-webkit-scrollbar { width: 4px; }
.brand-list::-webkit-scrollbar-track { background: var(--gray-dark); }
.brand-list::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 2px; }

/* Reset button */
.reset-filters-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 9px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  margin-top: 10px;
}
.reset-filters-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}

/* Catalog header row */
.catalog-header-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.catalog-count {
  font-size: 13px;
  color: var(--text-light);
}

.sort-select {
  width: 100%;
  padding: 10px;
  background-color: var(--gray-light);
  color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
.sort-select:focus { border-color: var(--pink); outline: none; }

.breadcrumbs {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--pink);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.catalog-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--white);
}

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

.load-more-btn {
  width: 100%;
  background-color: var(--gray-light);
  color: var(--white);
  padding: 14px;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 30px;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background-color: var(--pink);
  color: var(--black);
}

/* ===========================
   Product Detail Page
   =========================== */
.product-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

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

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-main-image {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--gray-mid) 0%, var(--pink) 100%);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-main-image-wrap {
  position: relative;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 72px;
  background: rgba(0,0,0,0.55);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  padding: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.gallery-nav-btn:hover {
  background: rgba(230,0,115,0.75);
  border-color: var(--pink);
  transform: translateY(-50%) scale(1.07);
}
.gallery-nav-btn:disabled { opacity: 0.2; cursor: default; pointer-events: none; }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.product-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding-bottom: 4px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.product-thumbnails::-webkit-scrollbar { display: none; }

.product-thumbnail {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.05);
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.product-thumbnail:hover,
.product-thumbnail.active {
  border-color: var(--pink);
}

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

.product-info-right {
  display: flex;
  flex-direction: column;
}

.product-badge-brand {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.product-detail-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.product-rating-detail {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  color: #ffc107;
  letter-spacing: 2px;
}

.product-price-detail {
  font-size: 40px;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 10px;
}

.product-oldprice-detail {
  font-size: 18px;
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 20px;
}

.stock-status {
  font-size: 14px;
  margin-bottom: 20px;
  padding: 10px;
  background-color: var(--gray-light);
  border-radius: 4px;
  color: #4ade80;
}

.stock-status.out {
  color: #ff6b6b;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.quantity-selector label {
  font-size: 14px;
  font-weight: 600;
}

.quantity-buttons {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.quantity-buttons button {
  width: 40px;
  height: 40px;
  background-color: var(--gray-light);
  color: var(--white);
  border: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.quantity-buttons button:hover {
  background-color: var(--pink);
  color: var(--black);
}

.quantity-input {
  width: 60px;
  text-align: center;
  background-color: var(--gray-light);
  border: 1px solid var(--border-color);
  padding: 8px;
  color: var(--white);
  border-radius: 4px;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.btn-primary {
  background-color: var(--pink);
  color: var(--black);
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(233, 30, 140, 0.3);
}

.btn-kaspi {
  background-color: var(--kaspi-yellow);
  color: var(--black);
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-kaspi:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.kaspi-installment-info {
  background-color: var(--gray-light);
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 13px;
}

.kaspi-installment-info strong {
  color: var(--kaspi-yellow);
}

.delivery-info {
  background-color: var(--gray-light);
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 20px;
}

.delivery-info p {
  margin-bottom: 8px;
}

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-color);
  margin: 40px 0 30px;
}

.tab-button {
  background: none;
  color: var(--text-light);
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
}

.tab-button:hover {
  color: var(--pink);
}

.tab-button.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}

.tab-content ul {
  margin-left: 20px;
  color: var(--text-light);
  line-height: 1.8;
}

.tab-content li {
  margin-bottom: 10px;
}

/* Full product description (from supplier) */
.product-full-description { max-width: 860px; }
.product-full-description h3,
.product-full-description h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 26px 0 10px;
}
.product-full-description h4 { font-size: 16px; }
.product-full-description > h3:first-child { margin-top: 0; }
.product-full-description strong { color: #fff; font-weight: 600; }
.product-full-description ul,
.product-full-description ol { margin: 0 0 15px 20px; color: var(--text-light); line-height: 1.8; }
.product-full-description ol { list-style: decimal; }
.product-full-description ul { list-style: disc; }
.product-full-description li ul { margin-top: 6px; margin-bottom: 0; }

/* Characteristics table */
.chars-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.chars-table tr:nth-child(even) {
  background: rgba(255,255,255,0.04);
}

.chars-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 14px;
  vertical-align: middle;
}

.chars-table .char-name {
  color: #aaa;
  width: 40%;
  font-weight: 500;
}

.chars-table .char-value {
  color: #fff;
  font-weight: 400;
}

.related-section {
  margin-top: 60px;
}

/* ===========================
   Cart Page
   =========================== */
.cart-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.cart-items-list {
  background-color: var(--gray-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
}

.cart-list-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cart-list-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px;
  background-color: var(--gray-mid);
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
}

.cart-list-image {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--pink) 100%);
  border-radius: 4px;
  overflow: hidden;
}

.cart-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cart-list-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 10px;
}

.cart-list-name {
  font-size: 16px;
  font-weight: 600;
}

.cart-list-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--pink);
}

.cart-list-qty-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-list-qty-label {
  font-size: 14px;
  color: var(--text-light);
}

.cart-list-qty-buttons {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.cart-list-qty-buttons button {
  width: 30px;
  height: 30px;
  background-color: var(--gray-light);
  color: var(--white);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cart-list-qty-buttons button:hover {
  background-color: var(--pink);
  color: var(--black);
}

.cart-list-qty-input {
  width: 50px;
  text-align: center;
  background-color: var(--gray-light);
  border: 1px solid var(--border-color);
  padding: 5px;
  color: var(--white);
  border-radius: 4px;
  font-size: 12px;
}

.cart-list-remove {
  background: none;
  color: #ff6b6b;
  font-size: 14px;
  text-align: right;
}

.cart-list-remove:hover {
  color: #ff8888;
}

.continue-shopping {
  color: var(--pink);
  font-weight: 600;
  margin-top: 20px;
  display: inline-block;
}

.continue-shopping:hover {
  text-decoration: underline;
}

.cart-summary {
  background-color: var(--gray-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.summary-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.summary-row.total {
  font-size: 18px;
  font-weight: 700;
  border: none;
  padding: 20px 0;
  color: var(--pink);
}

.delivery-options {
  margin: 20px 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.delivery-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.delivery-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--pink);
  cursor: pointer;
}

.delivery-option label {
  cursor: pointer;
  flex: 1;
}

.checkout-form {
  margin: 20px 0;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
}

.form-group textarea {
  min-height: 60px;
  resize: vertical;
}

.payment-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 25px;
}

.btn-payment-kaspi {
  background-color: var(--kaspi-yellow);
  color: var(--black);
  padding: 14px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-payment-kaspi:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.btn-payment-installment {
  background-color: var(--border-color);
  color: var(--white);
  padding: 14px;
  font-weight: 600;
  border: 2px solid var(--kaspi-yellow);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-payment-installment:hover {
  background-color: var(--gray-light);
}

.btn-payment-cod {
  background-color: var(--gray-light);
  color: var(--white);
  padding: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-payment-cod:hover {
  background-color: var(--border-color);
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.empty-cart-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.empty-cart-text {
  font-size: 18px;
  margin-bottom: 20px;
}

.empty-cart-link {
  color: var(--pink);
  font-weight: 600;
}

/* ===========================
   Mobile Responsive
   =========================== */
@media (max-width: 1024px) {
  .hero-slider { height: 360px; }
  .slide { padding: 30px 40px 80px; }
  .slide-brand-logo { height: 48px; }
  .slide-title-sub { font-size: 40px; }
  .slide-title-kaspi { font-size: 32px; }
  .slide-stats { left: 40px; }
  .slider-dots { right: 40px; }
  .kaspi-logo-big { display: none; }

  .header-container {
    flex-wrap: wrap;
  }

  .search-bar {
    max-width: 100%;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-products {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cart-page-container {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .header-container {
    padding: 10px 15px;
    gap: 10px;
  }

  .logo {
    font-size: 20px;
    min-width: 120px;
  }

  .search-bar {
    display: none;
  }

  .header-icons {
    gap: 20px;
  }

  .header-icon.phone {
    display: flex;
  }

  nav ul {
    display: none;
  }

  .mobile-nav {
    max-height: calc(100vh - 60px);
  }

  .hero-slider { height: 320px; margin: 10px 10px 30px; }
  .slide { padding: 24px 24px 72px; }
  .slide-brand-logo { height: 38px; }
  .slide-title-sub { font-size: 32px; letter-spacing: 1px; }
  .slide-title-kaspi { font-size: 26px; }
  .slide-subtitle { font-size: 13px; }
  .slide-stats { left: 24px; bottom: 20px; gap: 16px; }
  .stat-num { font-size: 18px; }
  .slider-dots { right: 24px; bottom: 14px; }
  .slider-arrow { width: 36px; height: 36px; font-size: 20px; }
  .slide-kaspi-features { grid-template-columns: 1fr; gap: 6px; margin-bottom: 16px; }
  .slide-brands { gap: 6px; }
  .slide-actions { gap: 10px; }
  .slide-btn-primary, .slide-btn-ghost { padding: 10px 20px; font-size: 12px; }

  .hero {
    padding: 40px 15px;
    margin: 10px 15px;
  }

  .hero h1 {
    font-size: 32px;
  }

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

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

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

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

  .catalog-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .catalog-sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    z-index: 150;
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  .catalog-sidebar.active {
    left: 0;
  }

  .catalog-products {
    grid-template-columns: 1fr;
  }

  .cart-sidebar {
    width: 100%;
    right: -100%;
  }

  .cart-sidebar.active {
    right: 0;
  }

  .product-detail {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .header-icons {
    gap: 15px;
  }

  .hero {
    padding: 30px 10px;
    margin: 5px 10px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-slider { height: 280px; margin: 5px 5px 20px; border-radius: 8px; }
  .slide { padding: 20px 16px 68px; }
  .slide-brand-logo { height: 30px; }
  .slide-title-sub { font-size: 26px; letter-spacing: 0; }
  .slide-subtitle { display: none; }
  .slide-stats { gap: 12px; }
  .stat-num { font-size: 16px; }
  .deco-c1 { width: 180px; }
  .deco-c2 { width: 260px; }

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

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

  .product-card {
    margin-bottom: 10px;
  }

  .product-image {
    height: 200px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-section h3 {
    font-size: 14px;
  }

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

  .modal-content {
    padding: 30px 20px;
  }

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

  .product-price-detail {
    font-size: 28px;
  }

  .cart-list-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cart-list-image {
    height: 100px;
  }

  .catalog-sidebar {
    width: 100%;
    left: -100%;
  }

  .cart-page-container {
    padding: 15px;
  }
}

/* ===========================
   Auth Buttons in Header
   =========================== */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}
.btn-login {
  background: transparent;
  border: 1.5px solid var(--pink);
  color: var(--pink);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Geometria', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-login:hover {
  background: var(--pink);
  color: #fff;
}
.btn-register {
  background: var(--pink);
  border: 1.5px solid var(--pink);
  color: #fff;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Geometria', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-register:hover {
  background: #c91870;
  border-color: #c91870;
}
.btn-user-account {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Geometria', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-user-account:hover {
  border-color: var(--pink);
  color: var(--pink);
}
.btn-user-account i { font-size: 14px; }

/* ===========================
   Auth Modal
   =========================== */
.auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.auth-overlay.active {
  display: flex;
}
.auth-modal {
  background: #1a1a1a;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  margin: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: authSlideIn 0.3s ease;
}
@keyframes authSlideIn {
  from { opacity:0; transform: translateY(-20px) scale(0.97); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}
.auth-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px 0;
}
.auth-modal-logo {
  height: 28px;
  width: auto;
}
.auth-modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.auth-modal-close:hover { color: var(--white); }

.auth-tabs {
  display: flex;
  margin: 20px 24px 0;
  border-bottom: 1px solid var(--border-color);
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Geometria', sans-serif;
  padding: 10px 0 12px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}
.auth-tab.active {
  color: var(--white);
  border-bottom-color: var(--pink);
}

.auth-form-wrap {
  padding: 24px;
}
.auth-form { display: none; flex-direction: column; gap: 14px; }
.auth-form.active { display: flex; }

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.auth-field label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.auth-field input {
  background: #111;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--white);
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Geometria', sans-serif;
  transition: border-color 0.2s;
}
.auth-field input:focus {
  outline: none;
  border-color: var(--pink);
}
.auth-field input.error { border-color: #e74c3c; }

.auth-error-msg {
  font-size: 12px;
  color: #e74c3c;
  display: none;
}
.auth-error-msg.visible { display: block; }

.auth-submit-btn {
  margin-top: 4px;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Geometria', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}
.auth-submit-btn:hover { background: #c91870; }
.auth-submit-btn:active { transform: scale(0.98); }

.auth-divider {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  position: relative;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border-color);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

.auth-switch-text {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.auth-switch-text a {
  color: var(--pink);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}
.auth-switch-text a:hover { text-decoration: underline; }

/* Checkout gate notice */
.auth-checkout-notice {
  background: rgba(232,35,127,0.1);
  border: 1px solid rgba(232,35,127,0.3);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 4px;
  display: none;
}
.auth-checkout-notice.visible { display: block; }

@media (max-width: 480px) {
  .auth-buttons { gap: 5px; }
  .btn-login, .btn-register { padding: 6px 10px; font-size: 12px; }
  .auth-modal { border-radius: 12px; }
}


/* =========================================
   SLIDE We-Vibe — animated product showcase
   ========================================= */
.slide-wv { background: radial-gradient(120% 140% at 80% 50%, #1b0b3d 0%, #0a0418 55%, #050010 100%); justify-content: space-between; }
.wv-bg { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.wv-orb { position:absolute; border-radius:50%; filter:blur(90px); }
.wv-orb-1 { width:420px; height:420px; background:rgba(88,62,255,.38); top:-120px; right:120px; animation: wv-drift 9s ease-in-out infinite; }
.wv-orb-2 { width:300px; height:300px; background:rgba(0,200,255,.22); bottom:-120px; right:-40px; animation: wv-drift 11s ease-in-out infinite reverse; }
.wv-orb-3 { width:260px; height:260px; background:rgba(232,35,127,.30); top:40px; left:30%; animation: orb-pulse 5s ease-in-out infinite; }
@keyframes wv-drift { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,30px)} }
.wv-waves { position:absolute; left:0; bottom:0; width:200%; height:100%; animation: wv-slide 14s linear infinite; }
.wv-wave { fill:none; stroke-width:2; }
.wv-wave.w1 { stroke:rgba(0,229,255,.35); }
.wv-wave.w2 { stroke:rgba(232,35,127,.30); }
.wv-wave.w3 { stroke:rgba(155,120,255,.25); }
@keyframes wv-slide { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.wv-content { position:relative; z-index:3; max-width:48%; }
.wv-tag { border-color:rgba(130,110,255,.6) !important; color:#b9adff !important; background:rgba(110,90,255,.12) !important; }
.wv-title { display:flex; flex-direction:column; line-height:1; margin:10px 0 14px; }
.wv-l1 { font-size:34px; font-weight:900; color:#fff; letter-spacing:3px; text-shadow:0 0 28px rgba(110,90,255,.8); }
.wv-l2 { font-size:64px; font-weight:900; letter-spacing:6px;
  background:linear-gradient(90deg,#7b6cff,#00e5ff,#e8237f,#7b6cff); background-size:300% 100%;
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  animation: wv-shimmer 6s linear infinite; }
@keyframes wv-shimmer { from{background-position:0% 50%} to{background-position:300% 50%} }
.wv-sub { color:rgba(255,255,255,.75); }
.wv-product-info { display:flex; align-items:baseline; gap:14px; margin-top:10px; min-height:28px; }
.wv-pname { font-size:18px; font-weight:700; color:#fff; transition:opacity .4s, transform .4s; }
.wv-pprice { font-size:20px; font-weight:800; color:#00e5ff; transition:opacity .4s, transform .4s; }
.wv-product-info.swap .wv-pname, .wv-product-info.swap .wv-pprice { opacity:0; transform:translateY(8px); }
.wv-btn { background:linear-gradient(135deg,#6c5cff,#e8237f) !important; }

.wv-stage { position:absolute; right:70px; top:50%; width:420px; height:360px; transform:translateY(-55%); z-index:2; display:flex; align-items:center; justify-content:center; }
.wv-ripple { position:absolute; width:220px; height:220px; border-radius:50%; border:2px solid rgba(0,229,255,.55); animation: wv-ripple 3s ease-out infinite; }
.wv-ripple.r2 { animation-delay:1s; border-color:rgba(232,35,127,.5); }
.wv-ripple.r3 { animation-delay:2s; border-color:rgba(130,110,255,.55); }
@keyframes wv-ripple { 0%{transform:scale(.6);opacity:.9} 100%{transform:scale(1.8);opacity:0} }
.wv-ring { position:absolute; width:300px; height:300px; border-radius:50%;
  background:conic-gradient(from 0deg, rgba(0,229,255,.0), rgba(0,229,255,.5), rgba(232,35,127,.5), rgba(110,90,255,.5), rgba(0,229,255,0));
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 66%, transparent 67%);
          mask: radial-gradient(circle, transparent 62%, #000 63%, #000 66%, transparent 67%);
  animation: wv-spin 8s linear infinite; }
@keyframes wv-spin { to { transform: rotate(360deg); } }
.wv-orbit { position:absolute; width:340px; height:340px; animation: wv-spin 12s linear infinite reverse; }
.wv-orbit span { position:absolute; width:8px; height:8px; border-radius:50%; background:#fff; box-shadow:0 0 12px #00e5ff, 0 0 24px #7b6cff; }
.wv-orbit span:nth-child(1){ top:0; left:50%; }
.wv-orbit span:nth-child(2){ bottom:12%; left:6%; background:#ffb3d9; box-shadow:0 0 12px #e8237f; }
.wv-orbit span:nth-child(3){ bottom:12%; right:6%; width:6px; height:6px; }

.wv-products { position:relative; width:340px; height:260px; display:block; }
.wv-prod { position:absolute; inset:0; margin:auto; max-width:100%; max-height:100%; object-fit:contain;
  opacity:0; transform: scale(.8) rotate(-8deg) translateX(40px);
  transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)) drop-shadow(0 0 26px rgba(110,90,255,.55)); }
.wv-prod.active { opacity:1; transform: scale(1) rotate(0) translateX(0); animation: wv-float 3.2s ease-in-out .9s infinite; }
.wv-prod.leaving { opacity:0; transform: scale(.85) rotate(8deg) translateX(-50px); }
@keyframes wv-float { 0%,100%{ transform: translateY(0) rotate(0); } 25%{ transform: translateY(-10px) rotate(-1.5deg);} 50%{ transform: translateY(-4px) rotate(.8deg);} 75%{ transform: translateY(-12px) rotate(-.6deg);} }
.wv-pips { position:absolute; bottom:-6px; display:flex; gap:8px; }
.wv-pips i { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.3); transition:all .4s; }
.wv-pips i.on { width:22px; border-radius:6px; background:linear-gradient(90deg,#00e5ff,#e8237f); }

@media (max-width: 1024px) {
  .wv-stage { right:20px; width:320px; height:280px; }
  .wv-products { width:260px; height:200px; }
  .wv-ring { width:240px; height:240px; } .wv-orbit { width:270px; height:270px; }
  .wv-l2 { font-size:50px; }
}
@media (max-width: 768px) {
  .wv-content { max-width:60%; }
  .wv-l1 { font-size:22px; } .wv-l2 { font-size:36px; letter-spacing:3px; }
  .wv-stage { right:-10px; width:220px; height:200px; transform:translateY(-50%); }
  .wv-products { width:190px; height:150px; }
  .wv-ring { width:170px; height:170px; } .wv-orbit { width:190px; height:190px; } .wv-ripple { width:140px; height:140px; }
  .wv-product-info { display:none; }
  .wv-sub { display:none; }
  .wv-tag { font-size:10px !important; padding:4px 10px !important; white-space:nowrap; }
  .wv-btn { font-size:12px !important; padding:10px 16px !important; white-space:nowrap; }
}
@media (max-width: 480px) {
  .wv-content { max-width:62%; }
  .wv-l1 { font-size:16px; letter-spacing:1px; } .wv-l2 { font-size:26px; letter-spacing:2px; }
  .wv-stage { width:160px; height:150px; right:-14px; }
  .wv-products { width:140px; height:110px; }
  .wv-ring { width:130px; height:130px; } .wv-orbit { width:145px; height:145px; } .wv-ripple { width:100px; height:100px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide-wv *, .slide-wv *::before { animation: none !important; transition: none !important; }
}


/* Slide "Для неё" — product showcase in pink/cyan neon */
.slide-1 .wv-stage { z-index:2; }
.sc-her .wv-ring { background:conic-gradient(from 0deg, rgba(232,35,127,0), rgba(232,35,127,.6), rgba(0,229,255,.5), rgba(184,39,232,.55), rgba(232,35,127,0)); }
.sc-her .wv-ripple { border-color:rgba(232,35,127,.55); }
.sc-her .wv-ripple.r2 { border-color:rgba(0,229,255,.45); }
.sc-her .wv-ripple.r3 { border-color:rgba(184,39,232,.5); }
.sc-her .wv-prod { filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)) drop-shadow(0 0 22px rgba(232,35,127,.7)) drop-shadow(0 0 40px rgba(255,255,255,.12)); }
.sc-her .wv-pips i.on { background:linear-gradient(90deg,#e8237f,#00e5ff); }
.slide-1 .slide-content { position:relative; z-index:3; max-width:50%; }
.slide-1 .sc-info .wv-pprice { color:#ff5fae; }
@media (max-width: 768px) { .slide-1 .slide-content { max-width:62%; } }

/* Slide "Для неё" — mobile fit */
@media (max-width: 768px) {
  .slide-1 .slide-content { max-width:58%; }
  .slide-1 .sbt-line1 { font-size:20px; letter-spacing:1px; }
  .slide-1 .sbt-line2 { font-size:32px; letter-spacing:2px; }
  .slide-1 .sbt-line3 { font-size:18px; letter-spacing:1px; }
  .slide-1 .slide-subtitle, .slide-1 .sc-info, .slide-1 .slide-stats { display:none; }
  .slide-1 .slide-btn-neon { font-size:12px; padding:10px 16px; white-space:nowrap; }
  .slide-1 .slide-tag { font-size:10px; padding:4px 10px; white-space:nowrap; }
}
@media (max-width: 480px) {
  .slide-1 .sbt-line1 { font-size:16px; }
  .slide-1 .sbt-line2 { font-size:26px; }
  .slide-1 .sbt-line3 { font-size:15px; }
}


/* Slide "Для него" — masturbator showcase */
.slide-2 .slide-content { position:relative; z-index:3; max-width:50%; }
.sc-him .wv-ring { background:conic-gradient(from 0deg, rgba(232,35,127,0), rgba(232,35,127,.7), rgba(255,120,180,.5), rgba(155,39,175,.55), rgba(232,35,127,0)); }
.sc-him .wv-ripple { border-color:rgba(232,35,127,.6); }
.sc-him .wv-ripple.r2 { border-color:rgba(255,140,190,.45); }
.sc-him .wv-ripple.r3 { border-color:rgba(155,39,175,.5); }
.sc-him .wv-orbit span { box-shadow:0 0 12px #e8237f, 0 0 24px #ff6fb0; }
.sc-him .wv-prod { filter: drop-shadow(0 18px 30px rgba(0,0,0,.7)) drop-shadow(0 0 24px rgba(232,35,127,.7)) drop-shadow(0 0 50px rgba(255,255,255,.10)); }
.sc-him .wv-pips i.on { background:linear-gradient(90deg,#e8237f,#ff8cc6); }
.slide-2 .sc-info .wv-pprice { color:#ff5fae; }
@media (max-width: 768px) {
  .slide-2 .slide-content { max-width:58%; }
  .slide-2 .slide-subtitle, .slide-2 .sc-info { display:none; }
  .slide-2 .slide-btn-him { font-size:12px; padding:10px 16px; white-space:nowrap; }
  .slide-2 .slide-tag { font-size:10px; padding:4px 10px; white-space:nowrap; }
}
.slide-2 .slide-him-title { margin: 8px 0 12px; }
.slide-2 .him-line1 { font-size: 60px; }
.slide-2 .him-line2 { font-size: 88px; }
@media (max-width: 1024px) {
  .slide-2 .him-line1 { font-size: 44px; } .slide-2 .him-line2 { font-size: 64px; }
}
@media (max-width: 768px) {
  .slide-2 .him-line1 { font-size: 30px; letter-spacing:4px; }
  .slide-2 .him-line2 { font-size: 44px; letter-spacing:3px; }
}
@media (max-width: 480px) {
  .slide-2 .him-line1 { font-size: 24px; }
  .slide-2 .him-line2 { font-size: 36px; }
}


/* Slide 3 — real store photos slideshow */
.slide-3 .slide-content { position:relative; z-index:3; }
.store-gallery { position:absolute; top:0; right:0; bottom:0; width:60%; z-index:1; overflow:hidden; }
.st-frame { position:absolute; inset:0; }
.st-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0;
  transform:scale(1.12); transition: opacity 1.4s ease; will-change: transform, opacity; }
.st-photo.active { opacity:1; animation: st-kenburns 7s ease-out forwards; }
.st-photo:nth-child(even).active { animation-name: st-kenburns2; }
@keyframes st-kenburns { from { transform:scale(1.14) translate(2%, 1%); } to { transform:scale(1.02) translate(-1%, -1%); } }
@keyframes st-kenburns2 { from { transform:scale(1.02) translate(-2%, 0); } to { transform:scale(1.14) translate(1%, -1%); } }
.st-fade { position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(90deg, #030612 0%, rgba(3,6,18,.85) 18%, rgba(3,6,18,.25) 45%, rgba(3,6,18,0) 70%),
              linear-gradient(0deg, rgba(3,6,18,.6) 0%, rgba(3,6,18,0) 30%),
              radial-gradient(120% 90% at 100% 0%, rgba(232,35,127,.18), transparent 60%); }
.st-badge { position:absolute; right:90px; bottom:28px; z-index:2; padding:8px 14px; border-radius:20px;
  background:rgba(10,10,20,.55); border:1px solid rgba(232,35,127,.5); color:#fff; font-size:13px; letter-spacing:.3px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow:0 0 20px rgba(232,35,127,.25); }
.st-pips { position:absolute; right:92px; bottom:70px; z-index:2; display:flex; gap:6px; }
.st-pips i { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.35); transition:all .4s; }
.st-pips i.on { width:20px; border-radius:5px; background:linear-gradient(90deg,#e8237f,#00e5ff); }
@media (max-width: 768px) {
  .store-gallery { width:100%; }
  .st-fade { background: linear-gradient(90deg, rgba(3,6,18,.92) 0%, rgba(3,6,18,.7) 50%, rgba(3,6,18,.35) 100%), linear-gradient(0deg, rgba(3,6,18,.7), transparent 40%); }
  .st-badge { display:none; }
  .st-pips { right:auto; left:24px; bottom:18px; top:auto; }
}
@media (prefers-reduced-motion: reduce) { .st-photo.active { animation:none; transform:none; } }


/* ===== Выбор цвета ===== */
.color-selector { margin: 18px 0 6px; }
.color-selector-label { font-size: 14px; color: #aaa; margin-bottom: 10px; }
.color-selector-label span { color: #fff; font-weight: 600; }
.color-selector-options { display: flex; flex-wrap: wrap; gap: 8px; }
.color-option {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 999px;
  color: #ddd; font-size: 13px; text-decoration: none;
  transition: border-color .2s, background .2s;
}
.color-option:hover { border-color: var(--pink); color: #fff; }
.color-option.active { border-color: var(--pink); background: rgba(232,30,99,0.12); color: #fff; }
.color-option.oos { opacity: .45; }
.color-option.oos .color-name { text-decoration: line-through; }
.color-dot {
  width: 22px; height: 22px; border-radius: 50%; flex: 0 0 22px;
  border: 1px solid rgba(255,255,255,0.35); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
}
.card-swatches { display: flex; align-items: center; gap: 6px; margin: 6px 0 4px; flex-wrap: wrap; }
.card-swatch {
  width: 16px; height: 16px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.35); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
  transition: transform .15s;
}
.card-swatch:hover { transform: scale(1.2); }
.card-swatch.active { outline: 2px solid var(--pink); outline-offset: 2px; }
.card-swatch.oos { opacity: .4; }
.card-swatch-more { font-size: 12px; color: #aaa; }


/* ===== Мега-меню подкатегорий ===== */
.nav-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #141414; border-bottom: 1px solid var(--border-color);
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  z-index: 200; display: none;
}
.nav-mega.open { display: block; }
.nav-mega-inner { max-width: 1200px; margin: 0 auto; padding: 20px 30px 26px; }
.nav-mega-all { display: inline-block; color: var(--pink); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.nav-mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 24px; }
nav .nav-mega a { text-align: left; white-space: normal; }
nav .nav-mega-grid a { padding: 9px 0; color: #ddd; font-size: 14px; font-weight: 400; border-bottom: 1px solid rgba(255,255,255,.06); }
nav .nav-mega-all { padding: 0; border-bottom: none; }
nav .nav-mega-all:hover { border-bottom: none; }
nav .nav-mega-grid a:hover { color: var(--pink); border-bottom-color: var(--pink); }
.nav-mega span { color: #777; font-size: 12px; margin-left: 4px; }

/* ===== Дерево категорий в фильтре ===== */
.cat-tree-row { display: flex; align-items: center; justify-content: space-between; }
.cat-tree-row .filter-option { flex: 1; }
.cat-tree-toggle {
  background: none; border: none; color: #888; cursor: pointer; font-size: 14px;
  padding: 4px 6px; transition: transform .2s;
}
.cat-tree-item.open .cat-tree-toggle { transform: rotate(180deg); color: var(--pink); }
.cat-tree-subs { display: none; padding: 2px 0 8px 26px; }
.cat-tree-item.open .cat-tree-subs { display: block; }
.sub-option { font-size: 13px; color: #bbb; margin-bottom: 6px; align-items: flex-start; }
.sub-option input { flex: 0 0 auto; margin-top: 2px; }
.sub-count { color: #666; font-size: 12px; margin-left: 2px; }

/* ===== Чипсы подкатегорий ===== */
.subcat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.subcat-chip {
  padding: 8px 14px; border-radius: 999px; font-size: 13px; color: #ddd;
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.03);
  transition: border-color .2s, color .2s;
}
.subcat-chip span { color: #777; font-size: 12px; margin-left: 4px; }
.subcat-chip:hover { border-color: var(--pink); color: #fff; }
.subcat-chip.active { background: var(--pink); border-color: var(--pink); color: #fff; }
.subcat-chip.active span { color: rgba(255,255,255,.8); }

/* Подтверждение заказа */
.order-confirmation { text-align: center; }
.order-confirmation p { color: var(--text-light, #ccc); line-height: 1.6; margin: 10px 0; }
.order-confirmation b { color: var(--white, #fff); }
.order-confirmation-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--kaspi-yellow, #ffc107); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700;
}
.order-confirmation-note { font-size: 13px; }
.order-confirmation-note a { color: var(--pink, #E8237F); }

/* ===== Под заказ / предзаказ ===== */
.product-badge.preorder-badge { background: #2a2a2a; color: #fff; border: 1px solid var(--pink, #E8237F); }
.preorder-btn {
  flex: 1; padding: 10px; font-size: 13px; border-radius: 4px; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--pink, #E8237F); border: 1.5px solid var(--pink, #E8237F);
  transition: background .2s, color .2s;
}
.preorder-btn:hover { background: var(--pink, #E8237F); color: #fff; }
.stock-status.preorder { color: #f5b942; }
.stock-status-hint { color: var(--text-light, #aaa); font-weight: 400; font-size: 0.9em; }

.preorder-overlay {
  position: fixed; inset: 0; z-index: 3000; display: none;
  background: rgba(0,0,0,.72); align-items: center; justify-content: center; padding: 16px;
}
.preorder-overlay.active { display: flex; }
.preorder-modal {
  position: relative; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto;
  background: #161616; border: 1px solid #2c2c2c; border-radius: 12px; padding: 28px 24px 24px; color: #fff;
}
.preorder-modal h2 { margin: 0 0 16px; font-size: 22px; }
.preorder-close {
  position: absolute; top: 10px; right: 12px; background: none; border: 0; color: #aaa;
  font-size: 28px; line-height: 1; cursor: pointer;
}
.preorder-product { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.preorder-product img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #fff; flex-shrink: 0; }
.preorder-product-name { font-size: 14px; line-height: 1.35; }
.preorder-product-price { color: var(--pink, #E8237F); font-weight: 700; margin-top: 4px; }
.preorder-note { font-size: 13px; color: #b5b5b5; line-height: 1.5; margin: 0 0 16px; }
#preorderForm label { display: block; font-size: 13px; color: #ccc; margin-bottom: 12px; }
#preorderForm input, #preorderForm textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px; box-sizing: border-box;
  background: #0d0d0d; border: 1px solid #333; border-radius: 6px; color: #fff; font: inherit; font-size: 15px;
}
#preorderForm input:focus, #preorderForm textarea:focus { outline: none; border-color: var(--pink, #E8237F); }
.preorder-error { color: #ff6b8b; font-size: 13px; min-height: 18px; margin-bottom: 6px; }
.preorder-submit {
  width: 100%; padding: 14px; border: 0; border-radius: 6px; cursor: pointer;
  background: var(--pink, #E8237F); color: #fff; font-weight: 700; font-size: 15px;
}
.preorder-submit:disabled { opacity: .6; cursor: wait; }
.preorder-done { text-align: center; padding: 10px 0; }
.preorder-done p { color: #ccc; line-height: 1.5; margin-bottom: 20px; }
.preorder-done-icon {
  width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--pink, #E8237F);
  display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700;
}
