/* ============================================
   re:Seller — Apple Liquid Glass Design
   ============================================ */

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

:root {
  --blur: 16px;
  --glass-bg: rgba(255,255,255,0.10);
  --glass-border: rgba(255,255,255,0.22);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.28);
  --accent: #007AFF;
  --accent2: #5AC8FA;
  --text: #F5F5F7;
  --text-muted: rgba(245,245,247,0.55);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --topbar-h: 44px;
  --header-h: 68px;
  --brandnav-h: 52px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  background: #050505;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── Blobs ── */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: blobFloat 12s ease-in-out infinite;
  will-change: transform;
}
.blob-1 { width: 700px; height: 700px; background: radial-gradient(circle, #007AFF 0%, transparent 70%); top: -250px; left: -200px; }
.blob-2 { width: 550px; height: 550px; background: radial-gradient(circle, #5856D6 0%, transparent 70%); top: 25%; right: -180px; animation-duration: 16s; animation-direction: reverse; }
.blob-3 { width: 450px; height: 450px; background: radial-gradient(circle, #FF2D55 0%, transparent 70%); bottom: 5%; left: 10%; animation-duration: 14s; animation-delay: 4s; }
.blob-4 { width: 400px; height: 400px; background: radial-gradient(circle, #30D158 0%, transparent 70%); bottom: 30%; right: 5%; animation-duration: 18s; animation-delay: 8s; opacity: 0.3; }

@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-40px) scale(1.06); }
  66% { transform: translate(-20px,25px) scale(0.96); }
}

/* ── Glass ── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.18);
}

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ── Helpers ── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2), #AF52DE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title { font-size: clamp(28px,4vw,48px); font-weight: 800; letter-spacing: -1.5px; }
.section-sub { color: var(--text-muted); font-size: 16px; margin-top: 8px; }

/* ═════════════════════════════════════════
   TOP BAR
═════════════════════════════════════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--topbar-h);
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  will-change: transform;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.topbar-link:hover { color: var(--text); }
.topbar-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar-sep { width: 1px; height: 16px; background: rgba(255,255,255,0.15); }
.topbar-phone { font-size: 12px; font-weight: 600; color: var(--text); text-decoration: none; transition: color 0.2s; }
.topbar-phone:hover { color: var(--accent2); }
.topbar-socials { display: flex; align-items: center; gap: 10px; }
.social-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.social-icon:hover { background: rgba(255,255,255,0.18); color: var(--text); transform: scale(1.1); }
.social-icon svg { width: 14px; height: 14px; }

/* ═════════════════════════════════════════
   HEADER
═════════════════════════════════════════ */
.header {
  position: sticky;
  top: var(--topbar-h);
  z-index: 190;
  height: var(--header-h);
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  box-shadow: none;
  will-change: transform;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 8px;
}
.logo span { color: var(--accent); }

.search-bar {
  flex: 1;
  max-width: 480px;
  height: 40px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.search-bar:focus-within {
  border-color: rgba(0,122,255,0.5);
  background: rgba(255,255,255,0.12);
}
.search-icon { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-clear { background: none; border: none; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; padding: 0; }
.search-clear svg { width: 16px; height: 16px; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}
.header-phone svg { width: 18px; height: 18px; color: var(--accent); }
.header-phone:hover { color: var(--accent2); }

.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  position: relative;
  transition: transform 0.2s;
  background: rgba(255,255,255,0.1);
}
.icon-btn:hover { transform: scale(1.1); background: rgba(255,255,255,0.18); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 18px; height: 18px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ═════════════════════════════════════════
   BRAND NAV
═════════════════════════════════════════ */
.brandnav {
  position: sticky;
  top: calc(var(--topbar-h) + var(--header-h));
  z-index: 180;
  height: var(--brandnav-h);
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.09);
  border-top: none; border-left: none; border-right: none; border-radius: 0;
  box-shadow: none;
  overflow-x: auto;
  scrollbar-width: none;
  will-change: transform;
}
.brandnav::-webkit-scrollbar { display: none; }
.brandnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}
.brand-menu {
  list-style: none;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}
.brand-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 100%;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.brand-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
  border-radius: 2px 2px 0 0;
}
.brand-item:hover > .brand-link { color: var(--text); }
.brand-item:hover > .brand-link::after { transform: scaleX(1); }
.brand-link.brand-active { color: var(--text) !important; }
.brand-link.brand-active::after { transform: scaleX(1) !important; background: var(--accent); }


/* Dropdown */
.dropdown {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 300px;
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(18,18,18,0.96);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.12);
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34,1.4,0.64,1);
  z-index: 300;
}
.brand-item:hover > .dropdown,
.dropdown.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
}
.dropdown-item:hover { background: rgba(255,255,255,0.08); }
.di-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.di-icon svg { width: 20px; height: 20px; }
.dropdown-item div { display: flex; flex-direction: column; }
.dropdown-item strong { font-size: 13px; font-weight: 700; }
.dropdown-item span { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.dropdown-list { display: flex; flex-direction: column; gap: 2px; min-width: 200px; }
.dropdown-item-sm {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
}
.dropdown-item-sm:hover { color: var(--text); background: rgba(255,255,255,0.07); }

/* ═════════════════════════════════════════
   HERO
═════════════════════════════════════════ */
.hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--topbar-h) - var(--header-h) - var(--brandnav-h));
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent2);
  margin-bottom: 28px;
  background: rgba(90,200,250,0.08);
  border: 1px solid rgba(90,200,250,0.25);
}
.hero-title {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 8px 32px rgba(0,122,255,0.4);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  background: #0063D0;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,122,255,0.5);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
}
.trust-item svg { width: 16px; height: 16px; color: #34C759; flex-shrink: 0; }

/* Hero phone mockup */
.hero-visual { flex: 0 0 auto; display: flex; justify-content: center; }
.hero-phone-wrap { position: relative; display: flex; justify-content: center; }

.hphone {
  width: 260px; height: 520px;
  border-radius: 48px;
  padding: 14px;
  position: relative;
  animation: phoneFloat 6s ease-in-out infinite;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -1px 0 rgba(255,255,255,0.07);
}
@keyframes phoneFloat {
  0%,100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-18px) rotate(1.5deg); }
}
.hphone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.hphone-pill {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 28px;
  background: #000;
  border-radius: 50px;
  z-index: 10;
}
.hphone-wall { position: absolute; inset: 0; }
.hphone-ui {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 50px 10px 10px;
}
.hphone-time {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1px;
  text-align: center;
  color: white;
  margin-bottom: 12px;
}
.hphone-appgrid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 4px;
}
.ha-icon {
  aspect-ratio: 1;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--c1), var(--c2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.ha-icon svg { width: 26px; height: 26px; }
.hphone-dock {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 28px;
  margin: 4px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  z-index: 5;
  border: 1px solid rgba(255,255,255,0.2);
}
.hd-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--c1), var(--c2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.hd-icon svg { width: 24px; height: 24px; }
.hero-glow {
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 160px;
  background: radial-gradient(ellipse at center, rgba(0,122,255,0.5) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

/* ═════════════════════════════════════════
   ABOUT SECTION
═════════════════════════════════════════ */
.about-section { padding: 40px 0; position: relative; z-index: 1; }
.about-section .section-title { margin-bottom: 36px; }

.stats-slider-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.about-stats {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  align-items: stretch;
}
.astat-item {
  flex-shrink: 0;
  border-radius: var(--radius);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: transform 0.3s;
}
.astat-item:hover { transform: translateY(-4px); }
.astat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #5856D6);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,122,255,0.3);
  margin-bottom: 6px;
  flex-shrink: 0;
}
.astat-icon svg { width: 22px; height: 22px; color: white; }
.astat-value {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.astat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  transition: transform 0.3s;
}
.about-feature:hover { transform: translateY(-3px); }
.about-feature--wide { grid-column: 1 / -1; }
.af-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #5856D6);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0,122,255,0.3);
}
.af-icon svg { width: 22px; height: 22px; color: white; }
.about-feature p { font-size: 15px; line-height: 1.65; color: var(--text-muted); padding-top: 10px; }

/* ═════════════════════════════════════════
   BRANDS SECTION
═════════════════════════════════════════ */
.brands-section { padding: 40px 0; position: relative; z-index: 1; }
.brands-section .section-title { margin-bottom: 28px; }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.brand-card {
  border-radius: var(--radius);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  min-height: 140px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.18);
}
.brand-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
}
.brand-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-color, var(--text));
  height: 48px;
}
.bc-svg-apple { width: 40px; height: 40px; }
.samsung-text { font-size: 16px; font-weight: 800; letter-spacing: 1px; color: var(--brand-color); }
.dyson-text { font-size: 20px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--brand-color); }
.ps-icon { width: 48px; height: 48px; color: var(--brand-color); }
.honor-text { font-size: 16px; font-weight: 900; letter-spacing: 2px; color: var(--brand-color); }
.xiaomi-text { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: var(--brand-color); }
.oneplus-text { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; color: var(--brand-color); }
.bc-svg-oneplus { width: 52px; height: 52px; color: var(--brand-color); }
.google-icon { width: 40px; height: 40px; }
.brand-card-name { font-size: 13px; font-weight: 600; color: var(--text-muted); }

/* ═════════════════════════════════════════
   CATALOG
═════════════════════════════════════════ */
.catalog { padding: 60px 0 80px; position: relative; z-index: 1; }
.catalog-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 48px; }

/* Brand sections */
.brand-section { margin-bottom: 64px; }
.brand-section:last-child { margin-bottom: 0; }
.brand-section.brand-hidden { display: none; }
.brand-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
}
.bs-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.bs-icon svg { width: 26px; height: 26px; flex-shrink: 0; }
.bs-name { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; }
.bs-count { font-size: 13px; color: var(--text-muted); margin-top: 2px; display: block; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.18);
  backdrop-filter: blur(var(--blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}
.featured-card {
  border-color: rgba(90,200,250,0.3);
  box-shadow: var(--glass-shadow), 0 0 0 1px rgba(90,200,250,0.2), inset 0 1px 0 rgba(255,255,255,0.18);
}

/* Badges */
.product-badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5;
}
.badge-new { background: rgba(52,199,89,0.15); border: 1px solid rgba(52,199,89,0.4); color: #34C759; }
.badge-pro { background: rgba(90,200,250,0.15); border: 1px solid rgba(90,200,250,0.4); color: var(--accent2); }
.badge-year { background: rgba(255,149,0,0.15); border: 1px solid rgba(255,149,0,0.4); color: #FF9500; }
.badge-ultra { background: rgba(255,45,85,0.15); border: 1px solid rgba(255,45,85,0.4); color: #FF2D55; }

/* Product phone visuals */
.product-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px 20px;
  min-height: 200px;
}
.pv-frame {
  position: relative;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
  overflow: hidden;
  transition: transform 0.4s ease;
}
.product-card:hover .pv-frame { transform: scale(1.05) translateY(-5px); }
.apple-visual .pv-frame { width: 110px; height: 200px; border-radius: 26px; }
.apple-visual.pro-vis .pv-frame { border-color: rgba(172,158,130,0.4); background: rgba(172,158,130,0.06); border-width: 2px; }
.samsung-visual .pv-frame { width: 108px; height: 200px; border-radius: 20px; }
.samsung-ultra-frame { border-radius: 14px !important; width: 112px !important; }

.pv-notch-pill {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 13px;
  background: rgba(0,0,0,0.95);
  border-radius: 50px;
  z-index: 5;
}
.pv-punch-hole {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: rgba(0,0,0,0.9);
  border-radius: 50%;
  z-index: 5;
}
.pv-wall { position: absolute; inset: 0; }
.pv-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  transition: transform 0.4s ease;
}
.pv-icon svg { width: 44px; height: 44px; }
.product-card:hover .pv-icon { transform: scale(1.05) translateY(-5px); }

/* ── Recommended carousel ── */
.rec-carousel-wrap { position: relative; }
.rec-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 16px;
}
.rec-carousel::-webkit-scrollbar { display: none; }
.rec-card {
  flex-shrink: 0;
  width: 155px;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(var(--blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
  text-decoration: none;
  color: var(--text);
  user-select: none;
}
.rec-card:hover { transform: translateY(-6px); box-shadow: 0 22px 52px rgba(0,0,0,0.5); }
.rec-visual {
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 10px 10px;
}
.rec-info {
  padding: 10px 13px 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.rec-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 5px;
  color: var(--text);
}
.rec-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}
.rec-price span { font-size: 12px; font-weight: 500; color: var(--text-muted); margin-left: 1px; }
.rec-nav {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}
.rec-nav-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  color: white;
}
.rec-nav-btn:hover { background: rgba(255,255,255,0.2); }
.rec-nav-btn svg { width: 15px; height: 15px; }

/* Product info */
.product-info {
  padding: 4px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-brand {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); margin-bottom: 4px;
}
.product-name { font-size: 17px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 4px; }
.product-specs { font-size: 11px; color: var(--text-muted); line-height: 1.5; margin-bottom: 14px; }
.product-colors { display: flex; gap: 8px; margin-bottom: 16px; }
.cdot {
  width: 16px; height: 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
}
.cdot:hover { transform: scale(1.2); }
.cdot[data-active="true"] {
  border-color: white;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
  transform: scale(1.15);
}
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 8px;
}
.product-price { font-size: 17px; font-weight: 800; letter-spacing: -0.5px; }
.product-price span { font-size: 13px; }
.buy-btn {
  padding: 9px 16px;
  border-radius: 50px;
  background: var(--accent);
  border: none;
  color: white;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0,122,255,0.35);
  white-space: nowrap;
}
.buy-btn:hover { background: #0063D0; transform: scale(1.05); }
.buy-btn:active { transform: scale(0.97); }

/* ═════════════════════════════════════════
   FEATURES STRIP
═════════════════════════════════════════ */
.features-strip { padding: 80px 0; position: relative; z-index: 1; }
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fstrip-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px;
  border-radius: var(--radius);
  transition: transform 0.3s;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.18);
  backdrop-filter: blur(var(--blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
}
.fstrip-item:hover { transform: translateY(-4px); }
.fstrip-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #5856D6);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0,122,255,0.3);
}
.fstrip-icon svg { width: 22px; height: 22px; color: white; }
.fstrip-item > div { display: flex; flex-direction: column; gap: 4px; }
.fstrip-item strong { font-size: 15px; font-weight: 700; }
.fstrip-item span { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ═════════════════════════════════════════
   FOOTER
═════════════════════════════════════════ */
.footer { padding: 0 24px 24px; position: relative; z-index: 1; }
.footer-glass {
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 60px 0 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(var(--blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--glass-shadow);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 0 48px;
  margin-bottom: 48px;
}
.footer-logo { font-size: 26px; font-weight: 900; letter-spacing: -1px; margin-bottom: 14px; }
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.fsocial-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 50px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
}
.fsocial-btn:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.fsocial-btn svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 16px; color: var(--text); text-transform: uppercase; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-contacts { display: flex; flex-direction: column; gap: 14px; }
.fcontact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-muted);
  text-decoration: none; transition: color 0.2s; line-height: 1.5;
}
.fcontact-item:hover { color: var(--text); }
.fcontact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-legal { font-size: 12px !important; max-width: 400px; text-align: right; }

/* ═════════════════════════════════════════
   CART SIDEBAR
═════════════════════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 500;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.active { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 380px; height: 100vh;
  z-index: 510;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  border-right: none;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.34,1.2,0.64,1);
  background: rgba(15,15,15,0.96);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.cart-sidebar.active { transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cart-header h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.cart-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.cart-close:hover { background: rgba(255,255,255,0.2); }
.cart-close svg { width: 16px; height: 16px; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent; }
.cart-empty {
  height: 100%; min-height: 300px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  color: var(--text-muted);
}
.cart-empty svg { width: 56px; height: 56px; opacity: 0.35; }
.cart-empty p { font-size: 15px; font-weight: 500; }
.cart-line {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 10px;
}
.cart-line-name { font-size: 14px; font-weight: 600; flex: 1; }
.cart-line-price { font-size: 14px; font-weight: 700; color: var(--accent2); white-space: nowrap; }
.cart-line-remove {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,59,48,0.1);
  border: 1px solid rgba(255,59,48,0.2);
  color: #FF3B30;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.cart-line-remove:hover { background: rgba(255,59,48,0.25); }
.cart-line-remove svg { width: 12px; height: 12px; }
.cart-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 14px;
}
.cart-total { font-size: 16px; font-weight: 700; }
.cart-total strong { font-size: 22px; color: var(--accent2); }
.cart-order-btn { width: 100%; justify-content: center; }

/* ═════════════════════════════════════════
   SEARCH DROPDOWN
═════════════════════════════════════════ */
.search-dropdown {
  position: fixed;
  top: calc(var(--topbar-h) + var(--header-h) + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  max-width: calc(100vw - 48px);
  border-radius: var(--radius);
  padding: 12px;
  z-index: 400;
  display: none;
  background: rgba(20,20,20,0.96);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.search-dropdown.active { display: block; }
.sdrop-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  color: var(--text);
}
.sdrop-item:hover { background: rgba(255,255,255,0.08); }
.sdrop-item-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sdrop-item-icon svg { width: 18px; height: 18px; }
.sdrop-item div { display: flex; flex-direction: column; gap: 2px; }
.sdrop-item strong { font-size: 14px; font-weight: 700; }
.sdrop-item span { font-size: 12px; color: var(--text-muted); }

/* ═════════════════════════════════════════
   LOGIN BUTTON
═════════════════════════════════════════ */
.login-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 40px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s;
  background: rgba(255,255,255,0.1);
  white-space: nowrap;
}
.login-btn:hover { background: rgba(255,255,255,0.18); transform: translateY(-1px); }
.login-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.login-btn.admin-mode {
  border-color: rgba(0,122,255,0.5);
  background: rgba(0,122,255,0.12);
  color: var(--accent2);
}
.login-btn.admin-mode:hover { background: rgba(0,122,255,0.22); }

/* ═════════════════════════════════════════
   MODAL
═════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-box {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  padding: 32px;
  background: rgba(16,16,16,0.97);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 32px 80px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  transform: scale(0.96) translateY(16px);
  transition: transform 0.28s cubic-bezier(0.34,1.4,0.64,1);
}
.modal-overlay.active .modal-box { transform: scale(1) translateY(0); }
.modal-box--wide { max-width: 600px; }
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-head h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.modal-close-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.modal-close-btn:hover { background: rgba(255,255,255,0.2); }
.modal-close-btn svg { width: 14px; height: 14px; }

/* ═════════════════════════════════════════
   FORM
═════════════════════════════════════════ */
.btn-ghost { cursor: pointer; font-family: inherit; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label {
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(0,122,255,0.5);
  background: rgba(255,255,255,0.1);
}
.form-group select { cursor: pointer; }
.form-group select option { background: #1a1a1a; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 70px; line-height: 1.55; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
.form-actions .btn-ghost {
  flex: 1; justify-content: center;
  padding: 12px 20px; font-size: 14px;
}
.form-actions .btn-primary {
  flex: 2; justify-content: center;
  padding: 12px 20px; font-size: 14px;
}
.login-error {
  font-size: 13px; color: #FF3B30;
  min-height: 20px; margin-bottom: 8px; text-align: center;
}
.file-upload-area { display: block; position: relative; cursor: pointer; }
.file-upload-area input[type="file"] {
  position: absolute; inset: 0; opacity: 0;
  cursor: pointer; z-index: 2; padding: 0; border: none; background: none;
}
.file-upload-ui {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px;
  border: 2px dashed rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 13px;
  transition: all 0.2s; text-align: center;
}
.file-upload-area:hover .file-upload-ui { border-color: rgba(0,122,255,0.45); color: var(--text); }
.file-upload-ui svg { width: 26px; height: 26px; }
.photo-preview {
  width: 100%; max-height: 140px;
  object-fit: cover; border-radius: var(--radius-sm); display: block;
}

/* ═════════════════════════════════════════
   ADD PRODUCT BUTTON + ADMIN DELETE
═════════════════════════════════════════ */
.add-product-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; padding: 10px 22px; flex-shrink: 0;
}
.add-product-btn svg { width: 16px; height: 16px; }
.product-admin-delete {
  position: absolute;
  top: 12px; left: 12px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,59,48,0.15);
  border: 1px solid rgba(255,59,48,0.3);
  color: #FF3B30;
  cursor: pointer;
  display: none;
  align-items: center; justify-content: center;
  z-index: 6;
  transition: background 0.2s;
}
.product-admin-delete:hover { background: rgba(255,59,48,0.3); }
.product-admin-delete svg { width: 13px; height: 13px; }
body.admin-logged .product-admin-delete { display: flex; }

/* ═════════════════════════════════════════
   BANNER SLIDER
═════════════════════════════════════════ */
.banner-section {
  padding: 16px 0 0;
  position: relative;
  z-index: 1;
}
.banner-slider {
  position: relative;
}
.slider-viewport {
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 16/6;
  background: rgba(255,255,255,0.05);
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}
.promo-banner-section {
  padding: 40px 0 32px;
}
.promo-banner-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  line-height: 0;
}
.promo-banner-img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.slide-cta-btn {
  position: absolute;
  bottom: 10%;
  left: 6%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #fff;
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  transition: transform 0.18s, box-shadow 0.18s;
  z-index: 2;
}
.slide-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.22);
  color: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.slider-arrow:hover { background: rgba(0,0,0,0.82); border-color: rgba(255,255,255,0.45); }
.slider-arrow svg { width: 20px; height: 20px; }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 10;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}
.dot.active {
  background: white;
  width: 26px;
  border-radius: 4px;
}
#statsDots, #reviewsDots {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  justify-content: center;
}

/* ═════════════════════════════════════════
   HOME CATALOG SECTIONS (Recommended / New)
═════════════════════════════════════════ */
.home-catalog-section {
  padding: 36px 0;
  position: relative;
  z-index: 1;
}
#recommended {
  padding-top: 20px;
}
#recommended .section-title {
  margin-bottom: 20px;
}
.reviews-section {
  padding: 36px 0;
  position: relative;
  z-index: 1;
}
.empty-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 56px 32px;
  border-radius: var(--radius-xl);
  text-align: center;
  color: var(--text-muted);
}
.empty-section svg { width: 48px; height: 48px; opacity: 0.5; }
.empty-section p { font-size: 15px; max-width: 380px; line-height: 1.6; }

/* ═════════════════════════════════════════
   CATALOG PAGE (catalog.html)
═════════════════════════════════════════ */
.catalog-page-hero {
  padding: 32px 0 0;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.5; }
.breadcrumb span { color: var(--text); font-weight: 600; }
.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
}

/* ═════════════════════════════════════════
   HEADER CATALOG BUTTON
═════════════════════════════════════════ */
.header-catalog-btn {
  padding: 0 16px;
  height: 40px;
  font-size: 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.header-catalog-btn svg { width: 14px; height: 14px; }
.call-btn {
  padding: 0 12px;
  height: 32px;
  font-size: 12px;
  white-space: nowrap;
  gap: 5px;
}
.call-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.call-modal-error { font-size: 13px; color: #FF3B30; min-height: 18px; margin-bottom: 8px; text-align: center; }
.call-success { text-align: center; padding: 16px 0 8px; }
.call-success svg { color: #34C759; }
.hdr-cat-wrap { position: relative; }

/* ── Catalog Mega-menu ── */
.hdr-mega-overlay {
  display: none; position: fixed; inset: 0; z-index: 340;
  background: rgba(0,0,0,0.45);
}
.hdr-mega-overlay.active { display: block; }

.hdr-mega {
  position: fixed; z-index: 350;
  display: flex;
  background: rgba(16,16,18,0.97);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.10);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34,1.4,0.64,1);
}
.hdr-mega.is-open { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }

.hmm-topbar {
  display: none; align-items: center; gap: 8px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.hmm-topbar-title { flex: 1; text-align: center; font-weight: 700; font-size: 15px; }
.hmm-back, .hmm-close {
  background: none; border: none; color: var(--accent); font-size: 13px;
  font-weight: 600; cursor: pointer; padding: 4px 0; display: flex;
  align-items: center; gap: 3px; font-family: inherit; min-width: 58px;
}
.hmm-back svg { width: 18px; height: 18px; }
.hmm-close { color: var(--text-muted); justify-content: flex-end; }
.hmm-close svg { width: 20px; height: 20px; }

.hmm-brands {
  padding: 10px; display: flex; flex-direction: column;
  gap: 2px; min-width: 210px;
}
.hmm-row, .hmm-all-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text); font-size: 14px;
  font-weight: 600; background: none; border: none; cursor: pointer;
  transition: background 0.15s; width: 100%; text-align: left;
  font-family: inherit;
}
.hmm-row:hover, .hmm-all-row:hover, .hmm-row.hmm-active { background: rgba(255,255,255,0.08); }
.hmm-icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3); font-size: 11px;
  font-weight: 900; color: white; letter-spacing: -0.3px;
  overflow: hidden;
}
.hmm-icon svg { width: 17px; height: 17px; }
.hmm-arrow { margin-left: auto; width: 15px; height: 15px; opacity: 0.35; flex-shrink: 0; transition: opacity 0.15s; }
.hmm-row.hmm-active .hmm-arrow { opacity: 0.8; }
.hmm-sep { height: 1px; background: rgba(255,255,255,0.07); margin: 4px 6px; }

.hmm-models {
  padding: 10px; border-left: 1px solid rgba(255,255,255,0.07);
  min-width: 300px; display: none;
}
.hmm-models.is-visible { display: block; }
.hmm-panel { display: none; }
.hmm-panel.is-active { display: block; }

@media (max-width: 768px) {
  .hdr-mega {
    position: fixed; left: 0 !important; right: 0; top: auto !important;
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    width: 100% !important; min-width: unset;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    flex-direction: column;
    opacity: 1; transform: translateY(calc(100% + 10px));
    transition: transform 0.35s cubic-bezier(0.25,1,0.5,1);
    max-height: 75vh; overflow: hidden;
  }
  .hdr-mega.is-open { transform: translateY(0); }
  .hmm-topbar { display: flex; }
  .hmm-brands { min-width: unset; width: 100%; overflow-y: auto; }
  .hmm-models {
    display: block; border-left: none; border-top: 1px solid rgba(255,255,255,0.07);
    min-width: unset; padding: 10px 14px; overflow-y: auto;
  }
  .hdr-mega:not(.hmm-at-l2) .hmm-models { display: none; }
  .hdr-mega.hmm-at-l2 .hmm-brands { display: none; }
  .hdr-mega.hmm-at-l2 .hmm-models { display: block; }
  .hmm-row, .hmm-all-row { padding: 11px 12px; font-size: 15px; }
  .hmm-icon { width: 38px; height: 38px; border-radius: 10px; font-size: 12px; }
  .hmm-icon svg { width: 20px; height: 20px; }
}

/* ═════════════════════════════════════════
   SCROLL REVEAL
═════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═════════════════════════════════════════
   RESPONSIVE
═════════════════════════════════════════ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .topbar-left .delivery-tag { display: none; }
  .header-phone span { display: none; }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  :root { --topbar-h: 0px; }
  .topbar { display: none; }
  .hero { flex-direction: column-reverse; text-align: center; padding: 40px 24px 60px; gap: 40px; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .about-features { grid-template-columns: 1fr; }
  .about-feature--wide { grid-column: auto; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 0 24px; gap: 28px; }
  .footer-bottom { padding: 20px 24px; flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; }
  .cart-sidebar { width: 100%; border-radius: var(--radius-xl) var(--radius-xl) 0 0; top: auto; bottom: 0; height: 85vh; transform: translateY(100%); }
  .cart-sidebar.active { transform: translateY(0); }
}
@media (max-width: 640px) {
  .header-about-btn { display: none; }
}
@media (max-width: 480px) {
  .header-inner { gap: 10px; padding: 0 14px; }
  .header-actions { gap: 8px; }
  .products-grid { grid-template-columns: 1fr; }
  .hphone { width: 220px; height: 440px; }
  .brand-link { padding: 0 10px; font-size: 13px; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .login-btn span { display: none; }
  .login-btn { padding: 0 12px; min-width: 40px; justify-content: center; }
  .header-catalog-btn span { display: none; }
  .header-catalog-btn { padding: 0 12px; min-width: 40px; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .catalog-header { align-items: flex-start; flex-direction: column; }
  .slider-viewport { aspect-ratio: 4/3; }
  .slider-arrow { width: 36px; height: 36px; }
  .slider-arrow svg { width: 16px; height: 16px; }
  .slide-cta-btn { font-size: 12px; padding: 10px 18px; gap: 6px; }

  .about-features {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    gap: 12px;
    grid-template-columns: unset;
  }
  .about-feature {
    min-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .about-feature--wide {
    min-width: 260px;
    grid-column: auto;
  }
}

/* ═════════════════════════════════════════
   REVIEWS CAROUSEL
═════════════════════════════════════════ */
.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}
.reviews-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  padding: 10px 22px;
  white-space: nowrap;
  flex-shrink: 0;
}
.reviews-slider-wrap {
  position: relative;
  overflow: hidden;
}
.reviews-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 210px;
}
.review-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 400% 100%;
  animation: rv-shimmer 1.6s ease-in-out infinite;
}
@keyframes rv-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.rv-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rv-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.rv-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rv-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rv-date {
  font-size: 12px;
  color: var(--text-muted);
}
.rv-ya-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,102,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rv-stars {
  display: flex;
  gap: 3px;
}
.rv-text {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
}
@media (max-width: 1023px) {
  .review-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 639px) {
  .review-card { flex-basis: 100%; }
  .reviews-head { flex-direction: column; align-items: flex-start; }
}

/* ── Header О нас btn ── */
.header-about-btn {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* ── Page Hero ── */
.page-hero-section {
  padding: 72px 0 48px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.page-hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── About Info Cards ── */
.about-info-section {
  padding: 0 0 64px;
  position: relative;
  z-index: 1;
}
.about-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 639px) {
  .about-info-grid { grid-template-columns: 1fr; }
}
.about-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
}
.ainfo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,122,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.ainfo-icon svg { width: 22px; height: 22px; }
.about-info-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.about-info-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Gallery ── */
.about-gallery-section {
  padding: 0 0 64px;
  position: relative;
  z-index: 1;
}
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass-bg);
}
.gallery-item--tall {
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 220px;
  transition: transform 0.4s ease;
}
.gallery-item--tall img { min-height: 460px; }
.gallery-item:hover img { transform: scale(1.03); }
@media (max-width: 767px) {
  .about-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: unset;
  }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item img, .gallery-item--tall img { min-height: 180px; }
}
@media (max-width: 479px) {
  .about-gallery { grid-template-columns: 1fr; }
}

/* ── Map section ── */
.about-map-section {
  padding: 0 0 80px;
  position: relative;
  z-index: 1;
}
.about-map-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  margin-top: 32px;
  align-items: start;
}
@media (max-width: 899px) {
  .about-map-layout { grid-template-columns: 1fr; }
}
.about-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 440px;
  background: var(--glass-bg);
}
.about-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.about-map-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.map-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
}
.mci-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0,122,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.mci-icon svg { width: 18px; height: 18px; }
.mci-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.mci-value {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  text-decoration: none;
}

/* ── Mobile Bottom Navigation ── */
.mobile-bottomnav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 480;
  background: rgba(12, 12, 14, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255,255,255,0.07);
  height: 62px;
  align-items: stretch;
  justify-content: space-around;
}
.mbn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: rgba(255,255,255,0.42);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
  position: relative;
  padding: 0;
  font-family: inherit;
}
.mbn-item svg { width: 23px; height: 23px; transition: transform 0.15s; }
.mbn-item:active svg { transform: scale(0.88); }
.mbn-item.mbn-active { color: #007AFF; }
.mbn-icon-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.mbn-badge {
  position: absolute;
  top: -5px;
  right: -9px;
  background: #FF3B30;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
@media (max-width: 768px) {
  .mobile-bottomnav { display: flex; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .brandnav { display: none !important; }
  .header-catalog-btn,
  .header-about-btn,
  .call-btn,
  .login-btn,
  .cart-btn { display: none !important; }
}
.mci-phone:hover { color: var(--accent); }

/* ══════════════════════════════════════════
   MOBILE: disable backdrop-filter to prevent
   black-box GPU compositing bug on Android
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Blobs: keep animation (transform is GPU-safe), just reduce blur slightly */
  .bg-blob {
    filter: blur(90px);
    opacity: 0.5;
  }

  /* Sticky/fixed nav — backdrop-filter on these causes black rect artifacts on Android */
  .topbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8,8,8,0.97);
  }
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(12,12,20,0.97);
  }
  .brandnav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8,8,14,0.97);
  }

  /* Search bar has its own backdrop-filter separate from .glass */
  .search-bar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(38,38,56,0.92);
    border-color: rgba(255,255,255,0.14);
  }

  /* Mobile bottom nav */
  .mobile-bottomnav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10,10,14,0.99);
  }

  /* Rec carousel cards */
  .rec-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(22,22,36,0.92);
  }

  /* Glass cards and surfaces */
  .glass {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(26,26,40,0.90);
  }

  /* Product cards */
  .product-card.glass {
    background: rgba(20,20,34,0.92);
  }

  /* Dropdown (catalog mega-menu on mobile) */
  .hdr-mega {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(14,14,22,0.99);
  }
}

/* ── Catalog filters ── */
.catalog-filters-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}
.cf-group { position: relative; }
.cf-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.cf-pill:hover { background: rgba(255,255,255,0.14); }
.cf-pill-active { background: rgba(0,122,255,0.18) !important; border-color: rgba(0,122,255,0.5) !important; color: #5AC8FA; }
.cf-count {
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cf-chevron { transition: transform 0.2s; opacity: 0.6; }
.cf-group.cf-open .cf-chevron { transform: rotate(180deg); }
.cf-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  border-radius: 16px;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 100;
}
.cf-group.cf-open .cf-panel { display: flex; }
.cf-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s;
}
.cf-option:hover { background: rgba(255,255,255,0.08); }
.cf-option input[type="checkbox"] { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }
.cf-color-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s;
}
.cf-color-opt:hover { background: rgba(255,255,255,0.08); }
.cf-color-opt input[type="checkbox"] { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }
.cf-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.cf-reset {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 50px;
  background: rgba(255,59,48,0.15);
  border: 1px solid rgba(255,59,48,0.35);
  color: #FF6B6B;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.cf-reset:hover { background: rgba(255,59,48,0.25); }
.cf-no-results {
  color: var(--text-muted);
  font-size: 14px;
  padding: 20px 0;
  display: none;
}

/* ── Sub-dropdown (level 3: specific models) ── */
.ditem-wrap,
.ditem-wrap-sm { position: relative; }

.sub-dropdown {
  position: fixed;
  min-width: 195px;
  padding: 8px;
  background: rgba(14,14,20,0.98);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-6px);
  transition: opacity 0.15s ease, visibility 0.15s, transform 0.15s ease;
  z-index: 350;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sub-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(0);
}
.sub-item {
  display: block;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}
.sub-item:hover {
  background: rgba(255,255,255,0.09);
  color: var(--text);
}
/* Series-level card filter */
.series-hidden { display: none !important; }
@media (max-width: 768px) {
  .sub-dropdown {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(14,14,20,0.99);
  }
}
