:root {
  --bg-main: #0c0d10;
  --bg-secondary: #13151b;
  --bg-card: #ffffff;
  --text-light: #f5f5f7;
  --text-muted: #9a9ba4;
  --text-dark: #121316;
  --text-dark-muted: #6b6f7b;
  --accent-gold: #d4af37;
  --accent-gold-hover: #e5c483;
  --border-dark: #232630;
  --border-light: #eaeaea;
  --font-serif: 'Nunito', sans-serif;
  --font-sans: 'Nunito', sans-serif;
  --font-main: 'Nunito', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --header-height: 80px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

.container {
  width: 92%;
  max-width: 1360px;
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  touch-action: manipulation;
}

.btn-gold {
  background: var(--accent-gold);
  color: #0c0d10;
}

.btn-gold:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-block {
  width: 100%;
}

.btn-large {
  padding: 18px 30px;
  font-size: 14px;
}

/* Заголовки */
.sub-title {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  color: var(--text-light);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

/* ==========================================================================
   ТОП БАР
   ========================================================================== */
.top-bar {
  background: #060708;
  border-bottom: 1px solid var(--border-dark);
  font-size: 12px;
  padding: 8px 0;
  color: var(--text-muted);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.top-bar-left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.vip-link {
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.vip-link:hover {
  color: var(--accent-gold-hover);
}

/* ==========================================================================
   ШАПКА САЙТА (HEADER)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 13, 16, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 11, 14, 0.98);
  border-bottom-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  position: relative;
  gap: 15px;
  transition: height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

/* Кнопка мобильного меню (Гамбургер) */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 8px;
  margin-left: -8px;
  border-radius: 4px;
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-menu-btn:hover {
  color: var(--accent-gold);
}

.gender-switch {
  display: flex;
  background: #181b23;
  border-radius: 30px;
  padding: 3px;
  border: 1px solid var(--border-dark);
  flex-shrink: 0;
}

.gender-btn {
  padding: 5px 14px;
  font-size: 12px;
  border-radius: 20px;
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.gender-btn.active, .gender-btn:hover {
  background: var(--accent-gold);
  color: #000;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 18px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.brand-logo {
  flex-shrink: 0;
  text-align: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 5px;
  color: var(--text-light);
  line-height: 1;
  transition: letter-spacing 0.4s cubic-bezier(0.25, 1, 0.5, 1), text-shadow 0.4s ease, transform 0.3s ease;
}

.logo-subtitle {
  font-size: 9px;
  letter-spacing: 3.5px;
  color: var(--accent-gold);
  margin-top: 3px;
  font-weight: 700;
  transition: letter-spacing 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease, text-shadow 0.3s ease;
}

/* 1. Эффект: Золотой скользящий блик (Только по контуру букв) */
.brand-logo.has-shimmer .logo-title {
  position: relative;
  display: inline-block;
  color: var(--text-light);
}

.brand-logo.has-shimmer .logo-title::after {
  content: 'HACAR';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 35%,
    #d4af37 45%,
    #ffffff 50%,
    #ffd700 55%,
    transparent 65%,
    transparent 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoLetterShimmer 3.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.8));
}

@keyframes logoLetterShimmer {
  0% {
    background-position: 180% 0;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  50% {
    background-position: -80% 0;
    opacity: 1;
  }
  51%, 100% {
    background-position: -80% 0;
    opacity: 0;
  }
}

/* 2. Эффект: Кинетическое раздвижение букв при наведении */
.brand-logo.has-hover-expand:hover .logo-title {
  letter-spacing: 9px;
  transform: translateY(-1px);
}

.brand-logo.has-hover-expand:hover .logo-subtitle {
  letter-spacing: 5px;
  color: #fff;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* 3. Эффект: Кинематографичный фокус при загрузке */
.brand-logo.has-reveal-blur {
  animation: logoBlurToFocus 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes logoBlurToFocus {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(-6px) scale(0.95);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

/* 4. Эффект: Золотое дыхание / Ambient Glow */
.brand-logo.has-glow .logo-title {
  animation: logoAmbientBreathing 4s infinite ease-in-out alternate;
}

@keyframes logoAmbientBreathing {
  0% {
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.2), 0 0 15px rgba(212, 175, 55, 0.1);
  }
  50% {
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.7), 0 0 32px rgba(212, 175, 55, 0.4), 0 0 45px rgba(212, 175, 55, 0.2);
  }
  100% {
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.2), 0 0 15px rgba(212, 175, 55, 0.1);
  }
}

/* 5. Эффект: Интерактивный 3D-Tilt на ПК */
.brand-logo.has-3d-tilt {
  perspective: 600px;
  transform-style: preserve-3d;
  display: inline-block;
  cursor: pointer;
}

.brand-logo.has-3d-tilt a {
  transform-style: preserve-3d;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1;
  flex-shrink: 0;
}

.action-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: var(--transition);
  flex-shrink: 0;
}

.action-btn:hover {
  color: var(--accent-gold);
}

.action-btn .badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-gold);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Поиск */
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-dark);
  padding: 18px 0;
  display: none;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.search-overlay.active {
  display: block;
  animation: fadeInDown 0.3s ease;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-box input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 17px;
  outline: none;
  font-family: var(--font-sans);
}

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

.close-search-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.close-search-btn:hover {
  color: #fff;
}

/* ==========================================================================
   МОБИЛЬНОЕ МЕНЮ (DRAWER)
   ========================================================================== */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -340px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #111319;
  border-right: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  transition: left 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.6);
  z-index: 100000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-overlay.active .mobile-nav-drawer {
  left: 0;
}

.mobile-nav-header {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dark);
  flex-shrink: 0;
}

.close-mobile-nav-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-mobile-nav-btn:hover {
  color: #fff;
}

.mobile-nav-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  flex-grow: 1;
  min-height: min-content;
}

.mobile-gender-switch {
  display: flex;
  background: #191b22;
  border: 1px solid var(--border-dark);
  border-radius: 30px;
  padding: 3px;
  flex-shrink: 0;
}

.mobile-gender-btn {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  color: var(--text-muted);
}

.mobile-gender-btn.active, .mobile-gender-btn:hover {
  background: var(--accent-gold);
  color: #000;
}

.mobile-menu-section {
  flex-shrink: 0;
}

.mobile-section-title {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 4px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  transition: var(--transition);
}

.mobile-nav-link i, .mobile-nav-link svg {
  color: var(--accent-gold);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent-gold);
}

.mobile-concierge-block {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
  flex-shrink: 0;
}

.mobile-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.mobile-contact-link i, .mobile-contact-link svg {
  width: 18px;
  height: 18px;
}

.mobile-concierge-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   ГЛАВНАЯ СТРАНИЦА (HERO SECTION & СПЕЦЭФФЕКТЫ)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0;
  perspective: 1000px;
}

/* Фоновый слой */
.hero-bg-layer {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform-origin: center center;
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* 1. Ken Burns (Плавное кино-масштабирование) */
.hero-section.has-ken-burns .hero-bg-layer {
  animation: heroKenBurnsAnim 22s infinite alternate ease-in-out;
}

@keyframes heroKenBurnsAnim {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.08) translate(-1.2%, -0.8%);
  }
  100% {
    transform: scale(1.04) translate(1%, 0.8%);
  }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(12, 13, 16, 0.94) 0%, rgba(12, 13, 16, 0.72) 50%, rgba(12, 13, 16, 0.94) 100%);
  pointer-events: none;
}

/* 2. Холст парящих золотых частиц */
.hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 720px;
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
  will-change: transform, opacity;
}

.hero-tag-wrap {
  margin-bottom: 18px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

/* 5. Золотой перелив на бейдже */
.hero-tag.has-badge-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: heroBadgeSweep 4.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes heroBadgeSweep {
  0%, 65% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

/* 6. Пульсирующая точка Live Collection */
.hero-live-dot {
  width: 7px;
  height: 7px;
  background: #ff4757;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 8px #ff4757;
  flex-shrink: 0;
}

.hero-live-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(255, 71, 87, 0.5);
  animation: heroDotPulse 2s infinite ease-out;
}

@keyframes heroDotPulse {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 50px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-description {
  color: #c4c6d0;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 38px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

/* 8. Золотое пульсирующее свечение главной кнопки */
.btn-gold.has-glow-pulse {
  animation: btnGoldGlowPulse 3.5s infinite ease-in-out;
}

@keyframes btnGoldGlowPulse {
  0%, 100% {
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.3), 0 4px 14px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 32px rgba(212, 175, 55, 0.7), 0 0 48px rgba(212, 175, 55, 0.3), 0 6px 20px rgba(0, 0, 0, 0.6);
  }
}

/* 7. Магнитная кнопка */
.magnetic-btn {
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease;
  will-change: transform;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 4. Каскадный Fade-Up при загрузке */
.hero-section.has-stagger-reveal .hero-tag-wrap {
  animation: heroStaggerUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.hero-section.has-stagger-reveal .hero-title {
  animation: heroStaggerUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
}

.hero-section.has-stagger-reveal .hero-description {
  animation: heroStaggerUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

.hero-section.has-stagger-reveal .hero-actions {
  animation: heroStaggerUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s backwards;
}

@keyframes heroStaggerUp {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(26px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

/* 9. Люксовый индикатор скролла */
.hero-scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.3s ease;
  user-select: none;
}

.hero-scroll-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(3px);
}

.hero-scroll-indicator .scroll-text {
  font-size: 9px;
  letter-spacing: 3.5px;
  font-weight: 800;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.hero-scroll-indicator .scroll-track {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-scroll-indicator .scroll-bar {
  width: 100%;
  height: 14px;
  background: linear-gradient(180deg, var(--accent-gold), #ffffff);
  position: absolute;
  top: -14px;
  left: 0;
  animation: heroScrollLineAnim 2.2s infinite ease-in-out;
}

@keyframes heroScrollLineAnim {
  0% {
    top: -14px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  80% {
    top: 40px;
    opacity: 1;
  }
  100% {
    top: 40px;
    opacity: 0;
  }
}

/* Блок сервисов (Privileges) */
.privileges-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-dark);
  background: #090a0d;
}

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

.privilege-card {
  text-align: center;
  padding: 20px 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  transition: var(--transition);
}

.privilege-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

.privilege-icon {
  color: var(--accent-gold);
  width: 36px;
  height: 36px;
  margin-bottom: 15px;
}

.privilege-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.privilege-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Bento Grid категорий */
.categories-section {
  padding: 90px 0;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 270px);
  gap: 26px;
  perspective: 1200px;
}

.bento-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0d12;
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}

.bento-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.15);
}

.bento-large {
  grid-row: span 2;
}

/* Фоновое фото */
.bento-bg-layer {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform-origin: center center;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
  will-change: transform;
}

/* 2. Кинематографичный Lookbook Zoom */
.bento-card.has-photo-zoom:hover .bento-bg-layer {
  transform: scale(1.08);
  filter: brightness(0.92);
}

/* 4. Бегущий золотой луч по рамке (Border Beam) */
.bento-card.has-border-beam::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0%, transparent 70%, var(--accent-gold) 85%, #ffffff 92%, var(--accent-gold) 97%, transparent 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: bentoBorderBeamSpin 4.5s linear infinite;
  pointer-events: none;
}

.bento-card.has-border-beam:hover::before {
  opacity: 1;
}

@keyframes bentoBorderBeamSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 5. Стеклянный диагональный отблеск (Glass Sheen) */
.bento-glass-sheen {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.15) 45%, rgba(255, 215, 0, 0.3) 50%, transparent 65%);
  transform: translateX(-150%) skewX(-20deg);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.bento-card.has-glass-sheen:hover .bento-glass-sheen {
  transform: translateX(150%) skewX(-20deg);
}

/* 8. Матовый стеклянный бейдж (Glass Badge) */
.bento-glass-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(12, 13, 16, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.bento-glass-badge .badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 6px var(--accent-gold);
}

/* Контентный слой */
.bento-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(0deg, rgba(12, 13, 16, 0.95) 0%, rgba(12, 13, 16, 0.5) 45%, rgba(12, 13, 16, 0.15) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 3. Многослойный параллакс контента */
.bento-card:hover .bento-overlay.has-parallax-lift {
  transform: translateZ(28px);
}

.bento-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.bento-overlay h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  margin: 4px 0 12px;
  line-height: 1.2;
  transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
}

/* 6. Золотое сияние заголовка при Hover */
.bento-card:hover .bento-overlay h3.has-text-glow {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.7), 0 0 28px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.bento-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bento-link {
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s ease;
}

.bento-link:hover {
  color: var(--accent-gold);
}

/* 7. Интерактивная золотая стрелка с пульсацией */
.bento-action-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  flex-shrink: 0;
}

.bento-action-badge i, .bento-action-badge svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s ease;
}

.bento-card:hover .bento-action-badge {
  background: var(--accent-gold);
  color: #000;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.7);
}

.bento-card:hover .bento-action-badge i,
.bento-card:hover .bento-action-badge svg {
  transform: translate(2px, -2px);
}

/* 9. Каскадное появление при скролле (Scroll Reveal) */
.bento-grid.has-scroll-reveal .bento-card {
  opacity: 0;
  transform: translateY(35px);
  filter: blur(8px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.bento-grid.has-scroll-reveal.in-view .bento-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.1s;
}

.bento-grid.has-scroll-reveal.in-view .bento-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.25s;
}

.bento-grid.has-scroll-reveal.in-view .bento-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.4s;
}

/* 10. Живое микро-парение (Ambient Float) */
.bento-grid.has-ambient-float:not(:hover) .bento-card:nth-child(1) {
  animation: bentoFloatOne 7s infinite ease-in-out alternate;
}

.bento-grid.has-ambient-float:not(:hover) .bento-card:nth-child(2) {
  animation: bentoFloatTwo 8s infinite ease-in-out alternate 1s;
}

.bento-grid.has-ambient-float:not(:hover) .bento-card:nth-child(3) {
  animation: bentoFloatThree 7.5s infinite ease-in-out alternate 2s;
}

@keyframes bentoFloatOne {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-4px); }
}

@keyframes bentoFloatTwo {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-3px); }
}

@keyframes bentoFloatThree {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-4px); }
}

/* ==========================================================================
   АКЦЕНТНЫЙ ПРОМО-БАННЕР (ATELIER & VIP BESPOKE)
   ========================================================================== */
.promo-banner-container {
  position: relative;
  z-index: 10;
}

.homepage-promo-section {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  margin: 70px 0 90px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: #0c0d12;
  perspective: 1200px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Фоновый слой и Ken Burns */
.promo-bg-layer {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform-origin: center center;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.promo-bg-layer.has-ken-burns {
  animation: promoKenBurnsAnim 24s infinite alternate ease-in-out;
}

@keyframes promoKenBurnsAnim {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.07) translate(-1%, -0.8%);
  }
  100% {
    transform: scale(1.03) translate(1%, 0.8%);
  }
}

.promo-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 13, 16, 0.95) 0%, rgba(12, 13, 16, 0.75) 45%, rgba(12, 13, 16, 0.3) 100%);
  z-index: 2;
  pointer-events: none;
}

/* 2. Золотая нить ателье (Golden Couture Thread) */
.promo-gold-thread {
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.4) 20%, #ffffff 50%, var(--accent-gold) 70%, transparent 100%);
  z-index: 5;
  box-shadow: 0 0 12px var(--accent-gold), 0 0 20px #ffffff;
  animation: promoThreadSweep 6s infinite ease-in-out;
  pointer-events: none;
}

@keyframes promoThreadSweep {
  0%, 25% {
    left: -100%;
  }
  75%, 100% {
    left: 140%;
  }
}

/* 3. Искорки роскоши (Stardust Glint) */
.promo-stardust-sparks {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.promo-stardust-sparks .spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px var(--accent-gold), 0 0 20px #ffffff;
  opacity: 0;
  animation: sparkGlintAnim 4s infinite ease-in-out;
}

.promo-stardust-sparks .spark.s1 {
  top: 25%;
  right: 20%;
  animation-delay: 0.5s;
}

.promo-stardust-sparks .spark.s2 {
  bottom: 30%;
  right: 35%;
  animation-delay: 2s;
}

.promo-stardust-sparks .spark.s3 {
  top: 60%;
  right: 15%;
  animation-delay: 3.2s;
}

@keyframes sparkGlintAnim {
  0%, 100% {
    opacity: 0;
    transform: scale(0.4);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.4);
  }
}

/* 4. Матовая стеклянная карточка (Glassmorphism & Tilt) */
.promo-content-card {
  position: relative;
  z-index: 4;
  max-width: 660px;
  padding: 38px 40px;
  border-radius: 10px;
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease;
  will-change: transform;
}

.promo-content-card.has-glassmorphism {
  background: rgba(12, 13, 16, 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.promo-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 5px 14px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

/* 6. Золотой перелив бейджа */
.promo-tag.has-badge-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: promoBadgeSweep 4.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes promoBadgeSweep {
  0%, 65% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

/* 7. Индикатор статуса стилиста */
.promo-live-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  position: relative;
}

.status-pulse-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.4);
  animation: statusPulseAnim 2s infinite ease-out;
}

@keyframes statusPulseAnim {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.promo-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 38px);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.promo-desc {
  font-size: 15px;
  color: #c4c6d0;
  line-height: 1.7;
  margin-bottom: 28px;
}

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

/* 10. Плавное всплытие при скролле */
.homepage-promo-section.has-scroll-reveal {
  opacity: 0;
  transform: translateY(35px);
  filter: blur(10px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s ease;
}

.homepage-promo-section.has-scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 768px) {
  .homepage-promo-section {
    min-height: auto;
    margin: 40px 0 60px;
    padding: 20px;
  }
  .promo-content-card {
    padding: 28px 20px;
  }
  .promo-bg-overlay {
    background: linear-gradient(0deg, rgba(12, 13, 16, 0.96) 0%, rgba(12, 13, 16, 0.85) 100%);
  }
}

/* Сетка товаров */
.catalog-section {
  padding: 90px 0;
  background: var(--bg-secondary);
}

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

.product-card {
  background: var(--bg-card);
  color: var(--text-dark);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

.product-image-wrap {
  position: relative;
  height: 360px;
  background: #f5f5f7;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.badge-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 2px;
}

.badge-tag.gold {
  background: var(--accent-gold);
  color: #111;
}

.card-media-indicators {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.media-indicator {
  background: rgba(12, 13, 16, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.5px;
}

.media-indicator.video {
  color: var(--accent-gold);
  border-color: rgba(212, 175, 55, 0.4);
}

.card-img-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(12, 13, 16, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--accent-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 5;
  opacity: 0;
}

.product-card:hover .card-img-arrow {
  opacity: 1;
}

.card-img-arrow:hover {
  background: var(--accent-gold);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.card-img-arrow.prev {
  left: 10px;
}

.card-img-arrow.next {
  right: 10px;
}

.product-image-wrap .product-fav-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: var(--transition);
  z-index: 5;
}

.product-image-wrap .product-fav-btn:hover {
  transform: scale(1.1);
  color: #e0245e;
}

.btn-fav-large {
  position: static !important;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 4px;
  background: #161820;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-fav-large:hover {
  border-color: #ff4757;
  color: #ff4757;
  transform: scale(1.04);
}

.btn-fav-large.active {
  border-color: #ff4757;
  color: #ff4757;
  background: rgba(255, 71, 87, 0.1);
}

.btn-fav-large.active svg,
.btn-fav-large.active i {
  fill: #ff4757;
  color: #ff4757;
}

.product-details {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dark-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.product-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.product-title a:hover {
  color: var(--accent-gold);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.current-price {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

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

.size-selector {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.size-btn {
  border: 1px solid var(--border-light);
  background: #fcfcfc;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.size-btn.selected, .size-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.add-to-cart-btn {
  margin-top: auto;
  background: #111;
  color: #fff;
  border: none;
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.add-to-cart-btn:hover {
  background: var(--accent-gold);
  color: #111;
}

/* ==========================================================================
   КАТАЛОГ ТОВАРОВ (CATEGORY.PHP) & БАННЕР
   ========================================================================== */
.catalog-hero-banner {
  background: linear-gradient(180deg, #131620 0%, #0c0d10 100%);
  border-bottom: 1px solid var(--border-dark);
  padding: 40px 0 30px;
  text-align: center;
}

.catalog-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-wrap: wrap;
  justify-content: center;
}

.catalog-breadcrumbs a {
  color: var(--text-muted);
  transition: var(--transition);
}

.catalog-breadcrumbs a:hover {
  color: var(--accent-gold);
}

.catalog-breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.2);
}

.catalog-breadcrumbs .current {
  color: var(--accent-gold);
  font-weight: 600;
}

.catalog-page-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.catalog-page-desc {
  max-width: 650px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.catalog-page-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding: 40px 0 90px;
  width: 100%;
}

.catalog-sidebar {
  width: 270px;
  min-width: 270px;
  max-width: 270px;
  flex-shrink: 0;
  position: sticky;
  top: 95px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.catalog-sidebar .filter-group {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.catalog-sidebar .filter-group:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.catalog-sidebar h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
  margin-bottom: 12px;
  font-weight: 700;
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-list a {
  color: var(--text-muted);
  font-size: 13px;
  display: block;
  padding: 6px 10px;
  border-radius: 4px;
  transition: var(--transition);
}

.filter-list a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.filter-list a.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  font-weight: 600;
  border-left: 3px solid var(--accent-gold);
}

.sidebar-mobile-header {
  display: none;
}

.sidebar-apply-block {
  display: none;
}

.catalog-main {
  min-width: 0;
}

.catalog-main .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.catalog-top-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 15px;
  flex-wrap: wrap;
  background: var(--bg-secondary);
  border: 1px solid var(--border-dark);
  padding: 12px 18px;
  border-radius: 6px;
}

.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: #191b22;
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.mobile-filter-btn .active-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-gold);
  border-radius: 50%;
}

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

.results-count strong {
  color: var(--accent-gold);
}

.custom-select {
  background: #111217;
  border: 1px solid var(--border-dark);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  outline: none;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.custom-select:focus {
  border-color: var(--accent-gold);
}

.no-products {
  padding: 60px 20px;
  text-align: center;
  background: var(--bg-secondary);
  border-radius: 6px;
  border: 1px solid var(--border-dark);
}

.no-products p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15px;
}

/* ==========================================================================
   СТРАНИЦА ТОВАРА (PRODUCT.PHP)
   ========================================================================== */
.product-page-container {
  padding: 40px 0 100px;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.breadcrumbs a:hover {
  color: var(--accent-gold);
}

.product-page-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-gallery {
  position: relative;
}

.product-gallery .main-image-wrap {
  width: 100%;
  height: 560px;
  background: #0f1015;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.zoom-magnifier-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: crosshair;
}

.main-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease-out;
  transform-origin: center center;
  user-select: none;
}

.product-video-wrap {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-zoom-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(12, 13, 16, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--accent-gold);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.gallery-zoom-btn:hover {
  background: var(--accent-gold);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.main-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 13, 16, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--accent-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 12;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.main-gallery-arrow:hover {
  background: var(--accent-gold);
  color: #000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.main-gallery-arrow.prev {
  left: 16px;
}

.main-gallery-arrow.next {
  right: 16px;
}

.gallery-counter-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(12, 13, 16, 0.8);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10;
  letter-spacing: 1px;
}

/* Лента миниатюр (3-7+ изображений + видео) */
.thumbnails-track-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.thumbnails-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 2px;
  flex-grow: 1;
  scrollbar-width: none;
}

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

.thumb-item {
  position: relative;
  width: 80px;
  height: 96px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #161820;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: var(--transition);
  outline: none;
}

.thumb-item:hover, .thumb-item.active {
  border-color: var(--accent-gold);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

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

.thumb-video .video-play-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(12, 13, 16, 0.9);
  color: var(--accent-gold);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.thumb-nav-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  width: 32px;
  height: 96px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.thumb-nav-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* ==========================================================================
   ПОЛНОЭКРАННЫЙ ПРОСМОТРЩИК (ULTRA-HD ZOOM LIGHTBOX)
   ========================================================================== */
.product-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
}

.product-lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 6, 8, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  width: 92vw;
  max-width: 1100px;
  height: 88vh;
  display: flex;
  flex-direction: column;
}

.lightbox-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(18, 20, 26, 0.9);
  border-radius: 6px 6px 0 0;
  border: 1px solid var(--border-dark);
  border-bottom: none;
}

.lightbox-counter {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.lightbox-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lightbox-tool-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-tool-btn:hover {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

.lightbox-tool-btn.close-btn:hover {
  background: #e0245e;
  color: #fff;
  border-color: #e0245e;
}

.lightbox-viewer {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #090a0d;
  border: 1px solid var(--border-dark);
  border-radius: 0 0 6px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}

.lightbox-viewer:active {
  cursor: grabbing;
}

.lightbox-active-img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  transition: transform 0.15s ease-out;
  transform-origin: center center;
  user-select: none;
  border-radius: 4px;
}

.lightbox-viewer video {
  max-width: 95%;
  max-height: 95%;
  outline: none;
  border-radius: 4px;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(18, 20, 26, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--accent-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.lightbox-arrow:hover {
  background: var(--accent-gold);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow.prev {
  left: -20px;
}

.lightbox-arrow.next {
  right: -20px;
}

.product-brand-large {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold);
  font-weight: 600;
}

.product-title-large {
  font-family: var(--font-serif);
  font-size: 34px;
  margin: 10px 0 20px;
  line-height: 1.25;
}

.product-price-large {
  margin-bottom: 25px;
}

.product-price-large .current-price {
  font-size: 28px;
  color: var(--accent-gold);
}

.product-price-large .old-price {
  font-size: 18px;
  margin-left: 12px;
}

.size-selection-wrap {
  margin: 25px 0;
}

.size-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 12px;
}

.size-guide-badge {
  color: var(--accent-gold);
  font-size: 12px;
}

.size-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition);
}

.size-pill.selected, .size-pill:hover {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

.purchase-buttons {
  margin-bottom: 35px;
}

.product-features-accordion {
  background: #0a0b0e;
  border: 1px solid var(--border-dark);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 30px;
}

.feature-item {
  margin-bottom: 15px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item h4 {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.feature-item h4 i, .feature-item h4 svg {
  color: var(--accent-gold);
  width: 18px;
  height: 18px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 26px;
  line-height: 1.5;
}

.product-description-text h3 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 600;
}

.product-description-text p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ==========================================================================
   МОБИЛЬНЫЙ STICKY PURCHASE BAR (PRODUCT.PHP)
   ========================================================================== */
.mobile-sticky-purchase-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: rgba(15, 16, 22, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 9990;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-sticky-purchase-bar.visible {
  transform: translateY(0);
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex-shrink: 1;
}

.sticky-bar-brand {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-bar-price {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.sticky-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-fav-sticky {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-fav-sticky:hover, .btn-fav-sticky:active {
  border-color: #ff4757;
  color: #ff4757;
}

.btn-fav-sticky.active {
  border-color: #ff4757;
  color: #ff4757;
  background: rgba(255, 71, 87, 0.15);
}

.btn-fav-sticky.active svg,
.btn-fav-sticky.active i {
  fill: #ff4757;
  color: #ff4757;
}

.btn-sticky-cart {
  padding: 10px 18px !important;
  font-size: 12px !important;
  height: 44px;
  letter-spacing: 1px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   ОФОРМЛЕНИЕ ЗАКАЗА (CHECKOUT.PHP & ORDER-SUCCESS.PHP)
   ========================================================================== */
.checkout-container {
  padding: 50px 0 100px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 50px;
  align-items: start;
}

.checkout-card, .summary-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-dark);
  padding: 30px;
  border-radius: 4px;
  margin-bottom: 25px;
}

.checkout-card h3, .summary-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input {
  background: #0b0c0e;
  border: 1px solid var(--border-dark);
  color: #fff;
  padding: 14px 16px;
  border-radius: 2px;
  outline: none;
  font-size: 15px;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--accent-gold);
}

.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 16px;
  background: #0b0c0e;
  border: 1px solid var(--border-dark);
  border-radius: 2px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.radio-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.radio-card input {
  margin-top: 3px;
  accent-color: var(--accent-gold);
}

.radio-content strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.radio-content span {
  font-size: 12px;
  color: var(--text-muted);
}

.summary-card {
  position: sticky;
  top: 100px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.summary-divider {
  height: 1px;
  background: var(--border-dark);
  margin: 15px 0;
}

.total-row {
  font-size: 20px;
  font-weight: 700;
  margin-top: 20px;
  border-top: 1px solid var(--border-dark);
  padding-top: 15px;
}

.total-amount {
  color: var(--accent-gold);
}

/* Экран подтверждения заказа */
.success-container {
  padding: 80px 0;
  text-align: center;
}

.success-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border-dark);
  padding: 50px 30px;
  border-radius: 4px;
}

.success-icon {
  color: var(--accent-gold);
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.success-card h1 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 15px;
}

.success-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* ==========================================================================
   КОРЗИНА (CART DRAWER)
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.cart-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  height: 100dvh;
  background: #111217;
  border-left: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  z-index: 100000;
}

.cart-drawer-overlay.active .cart-drawer {
  right: 0;
}

.cart-header {
  padding: 22px 25px;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.cart-header h3 {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}

.close-cart-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
}

.close-cart-btn:hover {
  color: #fff;
}

.cart-items {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: flex;
  gap: 15px;
  background: #161820;
  padding: 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.cart-item-price {
  color: var(--accent-gold);
  font-size: 13px;
  margin: 4px 0 8px;
}

.cart-footer {
  padding: 22px 25px;
  border-top: 1px solid var(--border-dark);
  background: #0c0d10;
  flex-shrink: 0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

.cart-total-row .total-price {
  color: var(--accent-gold);
  font-size: 20px;
  font-weight: 700;
}

/* ==========================================================================
   ИЗБРАННОЕ (WISHLIST DRAWER & АКТИВНЫЕ СЕРДЦА)
   ========================================================================== */
.wishlist-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.wishlist-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.wishlist-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  height: 100dvh;
  background: #111217;
  border-left: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
  z-index: 100000;
}

.wishlist-drawer-overlay.active .wishlist-drawer {
  right: 0;
}

.wishlist-header {
  padding: 22px 25px;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.wishlist-header h3 {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  margin: 0;
}

.close-wishlist-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.close-wishlist-btn:hover {
  color: #fff;
}

.wishlist-items {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wishlist-item-card {
  display: flex;
  gap: 15px;
  background: #161820;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
  transition: var(--transition);
}

.wishlist-item-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
}

.wishlist-item-thumb {
  width: 70px;
  height: 85px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #090a0d;
}

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

.wishlist-item-info {
  flex-grow: 1;
  min-width: 0;
}

.wishlist-item-brand {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 700;
  display: block;
}

.wishlist-item-title {
  font-size: 13px;
  font-weight: 600;
  margin: 2px 0 6px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wishlist-item-title a {
  color: #fff;
  text-decoration: none;
}

.wishlist-item-title a:hover {
  color: var(--accent-gold);
}

.wishlist-item-price {
  color: var(--accent-gold);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wishlist-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wishlist-btn-add {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
  background: var(--accent-gold);
  color: #000;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.wishlist-btn-add:hover {
  background: #fff;
}

.wishlist-btn-remove {
  background: none;
  border: none;
  color: #ff4757;
  font-size: 11px;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wishlist-footer {
  padding: 20px 25px;
  border-top: 1px solid var(--border-dark);
  background: #0c0d10;
  flex-shrink: 0;
}

/* Избранное: активное состояние сердечек на товарах */
.product-fav-btn.active {
  color: #ff4757;
}

.product-fav-btn.active svg,
.product-fav-btn.active i {
  fill: #ff4757;
  color: #ff4757;
}

/* ==========================================================================
   ПОДВАЛ САЙТА (FOOTER)
   ========================================================================== */
.site-footer {
  background: #040405;
  border-top: 1px solid var(--border-dark);
  padding: 80px 0 30px;
}

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

.footer-about {
  color: var(--text-muted);
  margin: 18px 0;
  font-size: 13px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  border: 1px solid var(--border-dark);
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

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

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

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-dark);
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 15px;
}

.payment-methods {
  display: flex;
  gap: 15px;
  font-size: 11px;
  letter-spacing: 1px;
  flex-wrap: wrap;
}

/* ==========================================================================
   АДАПТИВНОСТЬ / MEDIA QUERIES
   ========================================================================== */

/* Большие мониторы (>= 1400px) */
@media (min-width: 1400px) {
  .catalog-main .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

/* Ноутбуки и мониторы средних размеров (1025px - 1399px) */
@media (max-width: 1399px) and (min-width: 1025px) {
  .header-left { gap: 14px; }
  .gender-btn { padding: 5px 11px; font-size: 11px; }
  .main-nav .nav-list { gap: 12px; }
  .nav-link { font-size: 12px; letter-spacing: 0.8px; }
  .logo-title { font-size: 24px; letter-spacing: 4px; }
  
  .catalog-page-layout {
    gap: 24px;
  }
  .catalog-sidebar {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
  }
  .catalog-main .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Планшеты и компактные экраны (<= 1024px) */
@media (max-width: 1024px) {
  .desktop-only { display: none !important; }
  .mobile-menu-btn {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--text-light);
    margin-left: 0;
  }
  
  .header-container {
    height: 78px;
    width: 100%;
    max-width: 100%;
    padding: 0 22px;
  }
  .site-header.scrolled .header-container {
    height: 72px;
  }
  .logo-title { font-size: 25px; letter-spacing: 4px; }
  .logo-subtitle { font-size: 9.5px; letter-spacing: 3px; }
  
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .privileges-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  
  /* Каталог - мобильный оверлей фильтров */
  .catalog-page-layout { display: block; padding: 25px 0 60px; }
  .mobile-filter-btn { display: inline-flex; }
  
  .sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 99998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .sidebar-backdrop.active {
    display: block;
    opacity: 1;
  }
  
  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    min-width: unset;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #111217;
    border-right: 1px solid var(--border-dark);
    z-index: 99999;
    padding: 25px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: left 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
  }
  
  .catalog-sidebar.active {
    left: 0;
  }
  
  .sidebar-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-dark);
  }
  .sidebar-title {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
  }
  .close-sidebar-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
  }
  .sidebar-apply-block {
    display: block;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-dark);
  }

  /* Страница товара */
  .product-page-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .product-gallery .main-image-wrap {
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 560px;
  }

  /* Чекаут */
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .summary-card {
    position: static;
  }
}

/* Мобильные телефоны (<= 768px) */
@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }
  .top-bar-left { font-size: 11px; }
  .top-bar-right { font-size: 11px; }

  /* Шапка на мобильных устройствах */
  .header-container {
    height: 76px;
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    gap: 10px;
  }
  .site-header.scrolled .header-container {
    height: 70px;
  }
  .mobile-menu-btn {
    width: 42px;
    height: 42px;
    border-radius: 6px;
  }
  .mobile-menu-btn i, .mobile-menu-btn svg {
    width: 22px;
    height: 22px;
  }
  .brand-logo {
    padding: 2px 4px;
  }
  .logo-title {
    font-size: 24px;
    letter-spacing: 3.8px;
  }
  .logo-subtitle {
    font-size: 9px;
    letter-spacing: 2.8px;
  }
  .header-actions {
    gap: 8px;
  }
  .action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0;
  }
  .action-btn i, .action-btn svg {
    width: 19px;
    height: 19px;
  }
  .action-btn .badge {
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    font-size: 10px;
    border: 2px solid #0c0d10;
  }

  .hero-section {
    min-height: 520px;
    padding: 50px 0;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-description {
    font-size: 14px;
    margin-bottom: 25px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }

  .section-title {
    font-size: 28px;
  }
  .section-header {
    margin-bottom: 35px;
  }

  /* Bento Grid на мобильных */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 15px;
  }
  .bento-card {
    height: 220px;
  }
  .bento-large {
    grid-row: span 1;
    height: 240px;
  }
  .bento-overlay {
    padding: 20px;
  }
  .bento-overlay h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* ================== СТРАНИЦА ТОВАРА НА МОБИЛЬНЫХ ================== */
  .product-page-container {
    padding: 15px 0 90px;
  }
  .breadcrumbs {
    font-size: 11px;
    margin-bottom: 14px;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .breadcrumbs::-webkit-scrollbar {
    display: none;
  }
  .product-page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-gallery .main-image-wrap {
    height: auto;
    min-height: 380px;
    max-height: 72vh;
    aspect-ratio: 4 / 5;
    border-radius: 6px;
  }
  .thumbnails-track-wrap {
    margin-top: 10px;
    gap: 0;
  }
  .thumb-nav-btn {
    display: none !important;
  }
  .thumbnails-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px;
  }
  .thumb-item {
    width: 68px;
    height: 86px;
    scroll-snap-align: start;
    flex-shrink: 0;
    border-radius: 4px;
  }
  .main-gallery-arrow {
    width: 38px;
    height: 38px;
  }
  .main-gallery-arrow.prev {
    left: 10px;
  }
  .main-gallery-arrow.next {
    right: 10px;
  }
  .gallery-zoom-btn {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 11px;
  }
  .gallery-counter-badge {
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 10px;
  }
  .product-brand-large {
    font-size: 11px;
    letter-spacing: 2px;
  }
  .product-title-large {
    font-size: 22px;
    margin: 6px 0 12px;
    line-height: 1.3;
  }
  .product-price-large {
    margin-bottom: 18px;
  }
  .product-price-large .current-price {
    font-size: 24px;
  }
  .product-price-large .old-price {
    font-size: 15px;
  }
  .size-selection-wrap {
    margin: 18px 0;
  }
  .size-options {
    gap: 8px;
  }
  .size-pill {
    padding: 10px 16px;
    font-size: 13px;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
  }
  .purchase-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
  }
  .purchase-buttons .btn-gold {
    flex: 1;
    height: 50px;
    font-size: 13px;
    letter-spacing: 1px;
  }
  .btn-fav-large {
    min-width: 50px;
    width: 50px;
    height: 50px;
    border-radius: 4px;
  }
  .product-features-accordion {
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 6px;
  }
  .feature-item h4 {
    font-size: 13px;
  }
  .feature-item p {
    font-size: 12px;
    margin-left: 22px;
  }
  .product-description-text h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .product-description-text p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* Плавающий бар покупки на мобильных */
  .mobile-sticky-purchase-bar {
    display: flex;
  }

  /* Полноэкранный Lightbox на мобильных */
  .lightbox-content {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    border-radius: 0;
    border: none;
  }
  .lightbox-toolbar {
    border-radius: 0;
    padding: 10px 14px;
  }
  .lightbox-viewer {
    border-radius: 0;
    border: none;
  }
  .lightbox-arrow.prev {
    left: 10px;
    width: 40px;
    height: 40px;
  }
  .lightbox-arrow.next {
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .payment-methods {
    justify-content: center;
  }
}

/* Компактные смартфоны (<= 540px) */
@media (max-width: 540px) {
  .container { width: 94%; }

  .top-bar {
    padding: 6px 0;
  }
  .top-bar-left {
    display: none;
  }

  /* Шапка на компактных смартфонах */
  .header-container {
    height: 72px;
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
    gap: 6px;
  }
  .site-header.scrolled .header-container {
    height: 66px;
  }
  .mobile-menu-btn {
    width: 40px;
    height: 40px;
  }
  .mobile-menu-btn i, .mobile-menu-btn svg {
    width: 20px;
    height: 20px;
  }
  .logo-title {
    font-size: 22px;
    letter-spacing: 3.2px;
  }
  .logo-subtitle {
    font-size: 8.5px;
    letter-spacing: 2.4px;
  }
  .header-actions {
    gap: 6px;
  }
  .action-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 6px;
  }
  .action-btn i, .action-btn svg {
    width: 18px;
    height: 18px;
  }

  .privileges-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .privilege-card {
    padding: 15px;
  }

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

  .product-image-wrap {
    height: 320px;
  }
  .product-details {
    padding: 18px;
  }

  .product-gallery .main-image-wrap {
    min-height: 320px;
    max-height: 65vh;
  }
  .thumb-item {
    width: 60px;
    height: 76px;
  }

  .cart-drawer {
    max-width: 100vw;
    right: -100vw;
  }

  .checkout-card, .summary-card {
    padding: 20px 16px;
  }
  .form-group input {
    font-size: 16px; /* Предотвращение iOS zoom */
  }

  .success-card {
    padding: 35px 18px;
  }
  .success-card h1 {
    font-size: 22px;
  }
}

/* Анимации */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Language Switcher Component (Desktop & Mobile)
   ========================================================================== */
.lang-switcher-dropdown {
  position: relative;
  display: inline-block;
}

.lang-current-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  padding: 7px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.lang-current-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.lang-current-btn .chevron-icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.lang-switcher-dropdown.open .chevron-icon {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #151821;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.lang-switcher-dropdown.open .lang-menu {
  display: flex;
  animation: fadeInDown 0.2s ease;
}

.lang-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-light);
  transition: var(--transition);
}

.lang-menu-item:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
}

.lang-menu-item.active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
  font-weight: 600;
}

.lang-menu-item .check-icon {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: var(--accent-gold);
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-dark);
}

.mobile-lang-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.mobile-lang-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.mobile-lang-btn:hover,
.mobile-lang-btn.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ==========================================================================
   ПЛАВАЮЩИЙ ВИДЖЕТ МЕССЕНДЖЕРОВ & ЗВОНКА (ФИКСИРОВАН СПРАВА)
   ========================================================================== */
.floating-contact-widget {
  position: fixed;
  right: 28px;
  bottom: 30px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.floating-widget-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #aa820a);
  color: #000;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45), 0 4px 10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.floating-widget-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6), 0 4px 12px rgba(0, 0, 0, 0.6);
}

.floating-widget-toggle i,
.floating-widget-toggle svg {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toggle-icon-open {
  display: block;
}

.toggle-icon-close {
  display: none;
}

.floating-contact-widget.active .toggle-icon-open {
  display: none;
}

.floating-contact-widget.active .toggle-icon-close {
  display: block;
}

/* Пульсирующее кольцо */
.widget-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  animation: widgetPulseAnim 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  opacity: 0;
}

@keyframes widgetPulseAnim {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.floating-widget-items {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.floating-contact-widget.active .floating-widget-items {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-widget-item {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  text-decoration: none;
}

.widget-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.floating-widget-item:hover .widget-item-icon {
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.widget-item-icon i,
.widget-item-icon svg {
  width: 22px;
  height: 22px;
}

.widget-custom-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Всплывающая подсказка / Tooltip */
.widget-item-tooltip {
  background: rgba(12, 13, 16, 0.95);
  color: #fff;
  border: 1px solid var(--border-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.floating-widget-item:hover .widget-item-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .floating-contact-widget {
    right: 18px;
    bottom: 22px;
  }
  .floating-widget-toggle {
    width: 50px;
    height: 50px;
  }
  .floating-widget-toggle i,
  .floating-widget-toggle svg {
    width: 22px;
    height: 22px;
  }
  .widget-item-icon {
    width: 44px;
    height: 44px;
  }
  .widget-item-icon i,
  .widget-item-icon svg {
    width: 20px;
    height: 20px;
  }
  .widget-item-tooltip {
    display: none;
  }
}

/* ==========================================================================
   СВЕТЛАЯ ТЕМА (ROYAL CARRARA MARBLE / LIGHT MODE)
   ========================================================================== */
[data-theme="light"] {
  --bg-main: #f5f6fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --text-light: #111319;
  --text-muted: #5e626e;
  --text-dark: #121316;
  --text-dark-muted: #6b6f7b;
  --border-dark: #e1e3ea;
  --border-light: #d4d6e0;
}

[data-theme="light"] body {
  background-color: var(--bg-main);
  color: var(--text-light);
}

/* 1. ВЕРХНИЙ БАР И ШАПКА */
[data-theme="light"] .top-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-muted);
}

[data-theme="light"] .top-bar-left {
  color: #5e626e;
}

[data-theme="light"] .top-bar-right .vip-link {
  color: var(--accent-gold);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .logo-title {
  color: #111319;
}

[data-theme="light"] .brand-logo.has-shimmer .logo-title::after {
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 35%,
    #d4af37 45%,
    #ffd700 50%,
    #b38b1f 55%,
    transparent 65%,
    transparent 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.6));
}

[data-theme="light"] .gender-switch {
  background: #e9ebf2;
  border-color: #dcdfe8;
}

[data-theme="light"] .gender-btn {
  color: #555966;
}

[data-theme="light"] .gender-btn.active {
  background: var(--accent-gold);
  color: #000;
}

[data-theme="light"] .action-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #111319;
}

[data-theme="light"] .action-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--accent-gold);
}

[data-theme="light"] .action-btn .badge {
  border-color: #ffffff;
}

[data-theme="light"] .mobile-menu-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #111319;
}

[data-theme="light"] .nav-link {
  color: #4a4d57;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--accent-gold);
}

[data-theme="light"] .lang-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #111319;
}

[data-theme="light"] .lang-dropdown-menu {
  background: #ffffff;
  border-color: #e5e7ee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .lang-dropdown-menu a {
  color: #111319;
}

[data-theme="light"] .lang-dropdown-menu a:hover,
[data-theme="light"] .lang-dropdown-menu a.active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
}

/* 2. ПОИСКОВЫЙ ОВЕРЛЕЙ */
[data-theme="light"] .search-overlay {
  background: rgba(245, 246, 250, 0.98);
}

[data-theme="light"] .search-box input {
  color: #111319;
  border-bottom-color: #111319;
}

[data-theme="light"] .search-box input::placeholder {
  color: #8c909e;
}

[data-theme="light"] .search-box i,
[data-theme="light"] .search-box svg {
  color: #111319;
}

[data-theme="light"] .close-search-btn {
  color: #111319;
}

/* 3. HERO БАННЕР */
[data-theme="light"] .hero-section {
  background-color: #f5f6fa;
}

[data-theme="light"] .hero-badge {
  background: rgba(212, 175, 55, 0.15);
  color: #8a6b10;
  border-color: rgba(212, 175, 55, 0.4);
}

[data-theme="light"] .hero-title {
  color: #111319;
}

[data-theme="light"] .hero-description {
  color: #4b4f5c;
}

[data-theme="light"] .btn-outline {
  border-color: rgba(0, 0, 0, 0.2);
  color: #111319;
}

[data-theme="light"] .btn-outline:hover {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  color: #000;
}

/* 4. BENTO-СЕТКА КАТЕГОРИЙ */
[data-theme="light"] .bento-overlay {
  background: linear-gradient(to top, rgba(15, 16, 22, 0.88) 0%, rgba(15, 16, 22, 0.35) 50%, transparent 100%);
}

[data-theme="light"] .bento-overlay h3 {
  color: #ffffff;
}

[data-theme="light"] .bento-link {
  color: var(--accent-gold);
}

/* 5. ПРОМО-БАННЕР АТЕЛЬЕ & VIP КОНСЬЕРЖ */
[data-theme="light"] .homepage-promo-section {
  background: #ffffff;
  border-color: #e5e7ee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .promo-badge {
  background: rgba(212, 175, 55, 0.15);
  color: #8a6b10;
  border-color: rgba(212, 175, 55, 0.4);
}

[data-theme="light"] .promo-title {
  color: #111319;
}

[data-theme="light"] .promo-description {
  color: #4b4f5c;
}

/* 6. КАРТОЧКИ ТОВАРОВ И КАТАЛОГ */
[data-theme="light"] .product-card {
  background: #ffffff;
  border-color: #e5e7ee;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .product-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
  border-color: rgba(212, 175, 55, 0.4);
}

[data-theme="light"] .product-details {
  background: #ffffff;
}

[data-theme="light"] .product-title a {
  color: #111319;
}

[data-theme="light"] .product-brand {
  color: var(--accent-gold);
}

[data-theme="light"] .product-price .current-price {
  color: #111319;
}

[data-theme="light"] .product-price .old-price {
  color: #8c909e;
}

[data-theme="light"] .card-img-arrow {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  color: #111319;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .product-fav-btn {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  color: #111319;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .product-fav-btn.active {
  background: rgba(255, 71, 87, 0.15);
  border-color: #ff4757;
  color: #ff4757;
}

[data-theme="light"] .catalog-sidebar {
  background: #ffffff;
  border-right-color: #e5e7ee;
}

[data-theme="light"] .sidebar-mobile-header {
  border-bottom-color: #e5e7ee;
}

[data-theme="light"] .sidebar-title {
  color: var(--accent-gold);
}

[data-theme="light"] .filter-title {
  color: #111319;
}

[data-theme="light"] .filter-option label {
  color: #444752;
}

[data-theme="light"] .mobile-filter-btn {
  background: #ffffff;
  border-color: #d8dae5;
  color: #111319;
}

[data-theme="light"] .sort-select {
  background: #ffffff;
  border-color: #d8dae5;
  color: #111319;
}

[data-theme="light"] .price-input {
  background: #f7f8fa;
  border-color: #d8dae5;
  color: #111319;
}

[data-theme="light"] .page-btn {
  background: #ffffff;
  border-color: #d8dae5;
  color: #111319;
}

[data-theme="light"] .page-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

/* 7. СТРАНИЦА ТОВАРА (PRODUCT.PHP) */
[data-theme="light"] .product-page-container {
  background: transparent;
}

[data-theme="light"] .breadcrumbs a {
  color: #6b6f7b;
}

[data-theme="light"] .breadcrumbs span {
  color: #111319;
}

[data-theme="light"] .product-title-large {
  color: #111319;
}

[data-theme="light"] .product-price-large .current-price {
  color: #111319;
}

[data-theme="light"] .product-price-large .old-price {
  color: #8c909e;
}

[data-theme="light"] .size-guide-badge {
  background: rgba(212, 175, 55, 0.15);
  color: #8a6b10;
}

[data-theme="light"] .size-pill {
  background: #ffffff;
  border-color: #d8dae5;
  color: #111319;
}

[data-theme="light"] .size-pill:hover,
[data-theme="light"] .size-pill.selected {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.15);
  color: #000;
}

[data-theme="light"] .btn-fav-large {
  background: #ffffff;
  border-color: #d8dae5;
  color: #111319;
}

[data-theme="light"] .btn-fav-large.active {
  border-color: #ff4757;
  color: #ff4757;
  background: rgba(255, 71, 87, 0.15);
}

[data-theme="light"] .product-features-accordion {
  background: #ffffff;
  border-color: #e5e7ee;
}

[data-theme="light"] .feature-item h4 {
  color: #111319;
}

[data-theme="light"] .feature-item p {
  color: #555966;
}

[data-theme="light"] .product-description-text h3 {
  color: #111319;
}

[data-theme="light"] .product-description-text p {
  color: #444752;
}

[data-theme="light"] .main-gallery-arrow {
  background: rgba(255, 255, 255, 0.9);
  color: #111319;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .gallery-zoom-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #111319;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .gallery-counter-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #111319;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .thumb-item {
  background: #ffffff;
  border-color: #e1e3ea;
}

[data-theme="light"] .thumb-item.active {
  border-color: var(--accent-gold);
}

[data-theme="light"] .mobile-sticky-purchase-bar {
  background: rgba(255, 255, 255, 0.96);
  border-top-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .sticky-bar-price {
  color: #111319;
}

[data-theme="light"] .btn-fav-sticky {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: #111319;
}

[data-theme="light"] .btn-fav-sticky.active {
  border-color: #ff4757;
  color: #ff4757;
  background: rgba(255, 71, 87, 0.15);
}

/* 8. БОКОВЫЕ ОКНА (DRAWER КОРЗИНЫ, ИЗБРАННОГО И МОБИЛЬНОГО МЕНЮ) */
[data-theme="light"] .cart-drawer,
[data-theme="light"] .mobile-nav-drawer,
[data-theme="light"] .wishlist-drawer {
  background: #ffffff;
  border-color: #e5e7ee;
  color: #111319;
}

[data-theme="light"] .cart-header,
[data-theme="light"] .mobile-nav-header,
[data-theme="light"] .wishlist-header {
  border-bottom-color: #e5e7ee;
  background: #fbfbfd;
}

[data-theme="light"] .cart-header h3,
[data-theme="light"] .wishlist-header h3 {
  color: #111319;
}

[data-theme="light"] .cart-footer,
[data-theme="light"] .wishlist-footer {
  background: #fbfbfd;
  border-top-color: #e5e7ee;
}

[data-theme="light"] .cart-item,
[data-theme="light"] .wishlist-item {
  border-bottom-color: #eef0f6;
  background: #ffffff;
}

[data-theme="light"] .cart-item-title,
[data-theme="light"] .wishlist-item-title {
  color: #111319;
}

[data-theme="light"] .qty-btn {
  background: #f0f1f6;
  border-color: #d8dae5;
  color: #111319;
}

[data-theme="light"] .qty-val {
  color: #111319;
}

[data-theme="light"] .cart-total-price {
  color: #111319;
}

[data-theme="light"] .cart-total-label {
  color: #6b6f7b;
}

[data-theme="light"] .mobile-nav-link {
  color: #22242c;
}

[data-theme="light"] .mobile-nav-link:hover,
[data-theme="light"] .mobile-nav-link.active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
}

[data-theme="light"] .mobile-gender-switch {
  background: #e9ebf2;
}

[data-theme="light"] .mobile-gender-btn {
  color: #555966;
}

[data-theme="light"] .mobile-gender-btn.active {
  background: var(--accent-gold);
  color: #000;
}

/* 9. ОФОРМЛЕНИЕ ЗАКАЗА (CHECKOUT.PHP & ORDER-SUCCESS.PHP) */
[data-theme="light"] .checkout-card,
[data-theme="light"] .summary-card,
[data-theme="light"] .success-card {
  background: #ffffff;
  border-color: #e5e7ee;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .checkout-card h2,
[data-theme="light"] .summary-card h2,
[data-theme="light"] .success-card h1 {
  color: #111319;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: #f7f8fa;
  border-color: #d8dae5;
  color: #111319;
}

[data-theme="light"] .form-group label {
  color: #444752;
}

[data-theme="light"] .payment-method-card {
  background: #f7f8fa;
  border-color: #d8dae5;
}

[data-theme="light"] .payment-method-card.active {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
}

[data-theme="light"] .summary-row {
  border-bottom-color: #eef0f6;
  color: #555966;
}

[data-theme="light"] .summary-total {
  color: #111319;
}

/* 10. ПРИВИЛЕГИИ */
[data-theme="light"] .privilege-card {
  background: #ffffff;
  border-color: #e5e7ee;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .privilege-card h3 {
  color: #111319;
}

[data-theme="light"] .privilege-card p {
  color: #5e626e;
}

/* 11. ФУТЕР САЙТА */
[data-theme="light"] .footer {
  background: #ffffff;
  border-top-color: #e1e3ea;
  color: #444752;
}

[data-theme="light"] .footer-desc {
  color: #5e626e;
}

[data-theme="light"] .footer-col h4 {
  color: #111319;
}

[data-theme="light"] .footer-col ul li a {
  color: #5e626e;
}

[data-theme="light"] .footer-col ul li a:hover {
  color: var(--accent-gold);
}

[data-theme="light"] .footer-socials a {
  background: #f5f6fa;
  border-color: #d8dae5;
  color: #111319;
}

[data-theme="light"] .footer-socials a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

[data-theme="light"] .footer-bottom {
  border-top-color: #e1e3ea;
  color: #777b88;
}

[data-theme="light"] .payment-badge {
  background: #f5f6fa;
  border-color: #d8dae5;
  color: #444752;
}

/* 12. ПЛАВАЮЩИЙ ВИДЖЕТ МЕССЕНДЖЕРОВ */
[data-theme="light"] .widget-item-tooltip {
  background: #ffffff;
  color: #111319;
  border: 1px solid #e5e7ee;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* 13. ИКОНКИ И КНОПКИ ПЕРЕКЛЮЧЕНИЯ ТЕМЫ */
.theme-toggle-btn {
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .theme-icon-sun,
html:not([data-theme="light"]) .theme-icon-sun {
  display: none !important;
}

[data-theme="dark"] .theme-icon-moon,
html:not([data-theme="light"]) .theme-icon-moon {
  display: block !important;
}

[data-theme="light"] .theme-icon-moon {
  display: none !important;
}

[data-theme="light"] .theme-icon-sun {
  display: block !important;
  color: #d4af37 !important;
}

/* Кнопка темы в мобильном меню */
.mobile-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="light"] .mobile-theme-btn {
  background: #e9ebf2;
  border-color: #d8dae5;
  color: #111319;
}

.mobile-theme-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.theme-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-icon-box i,
.theme-icon-box svg {
  width: 15px;
  height: 15px;
}