:root {
  --bg-dark: #060911;
  --bg-surface: #0c1220;
  --bg-card: #111827;
  --bg-card-hover: #172136;
  --bg-input: #090e1a;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-active: rgba(225, 29, 72, 0.55);
  --primary: #e11d48;
  --primary-bright: #ff2a4b;
  --primary-glow: rgba(225, 29, 72, 0.35);
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  --accent-blue: #3b82f6;
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 7px;
  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at 10% 10%, rgba(225, 29, 72, 0.10), transparent 35%),
    radial-gradient(circle at 90% 8%, rgba(59, 130, 246, 0.08), transparent 35%),
    linear-gradient(180deg, #060911 0%, #0a0f1d 100%);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Custom Dark Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #070b14;
}
::-webkit-scrollbar-thumb {
  background: #26334d;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-bright);
}

/* SVG Icon Utility */
.svg-icon {
  width: 17px;
  height: 17px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.svg-icon.sm {
  width: 14px;
  height: 14px;
}
.svg-icon.lg {
  width: 20px;
  height: 20px;
}

/* Professional Broadcast Wave Indicator (Replaces Red Dot Emoji) */
.broadcast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  position: relative;
}
.broadcast-icon svg {
  width: 18px;
  height: 18px;
  color: currentColor;
}
.broadcast-wave {
  animation: wavePulse 1.6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes wavePulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* Top Executive Bar */
.top-promo-bar {
  background: linear-gradient(90deg, #080d1a 0%, #161f33 50%, #080d1a 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 28px;
  font-size: 0.81rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.promo-left, .promo-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-pill-mini {
  background: linear-gradient(135deg, #ff2a4b 0%, #be123c 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.71rem;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 12px rgba(225, 29, 72, 0.45);
}

.top-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 500;
}

.status-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.top-auth-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 4px 11px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.top-auth-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.top-auth-link.accent {
  background: rgba(225, 29, 72, 0.16);
  border-color: rgba(225, 29, 72, 0.45);
  color: #fda4af;
}
.top-auth-link.accent:hover {
  background: var(--primary);
  color: #fff;
}

/* Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6, 9, 17, 0.90);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.brand-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}
.brand-logo:hover {
  transform: translateY(-1px);
}
.brand-logo img {
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 12px;
}

.nav-btn {
  background: transparent;
  color: #94a3b8;
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-btn.active {
  color: #fff;
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.nav-btn.live-nav {
  color: #fda4af;
}
.nav-btn.live-nav.active, .nav-btn.live-nav:hover {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.25), rgba(159, 18, 57, 0.25));
  border-color: rgba(225, 29, 72, 0.5);
  color: #fff;
}

.nav-counter {
  background: var(--primary);
  color: #fff;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
}

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

/* Language & Currency Switchers */
.switcher-group {
  display: inline-flex;
  background: #0c1220;
  border: 1px solid var(--border-color);
  border-radius: 9px;
  padding: 3px;
}

.lang-btn, .curr-btn {
  background: transparent;
  color: #94a3b8;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active, .curr-btn.active {
  background: var(--primary);
  color: #fff;
}

/* Executive Buttons */
.btn-primary {
  background: linear-gradient(135deg, #ff2a4b 0%, #be123c 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.87rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.28);
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.45);
}

.btn-secondary {
  background: #111827;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 10px 15px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.87rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.22);
  transition: var(--transition);
}
.btn-success:hover {
  transform: translateY(-1px);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 28px;
}

/* Hero Banner */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  margin-bottom: 26px;
}

.hero-card {
  background: linear-gradient(145deg, #0f172a 0%, #090d18 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}
.hero-card::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: #fda4af;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 6px 13px;
  border-radius: 8px;
  width: fit-content;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.hero-title span {
  background: linear-gradient(90deg, #ff2a4b, #fb7185, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: #94a3b8;
  font-size: 0.96rem;
  margin-bottom: 22px;
  max-width: 95%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.stat-box h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
.stat-box p {
  font-size: 0.77rem;
  color: #94a3b8;
}

/* Featured Live Stage */
.hero-live-stage {
  background: #080c17;
  border: 1px solid rgba(225, 29, 72, 0.4);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 330px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}
.hero-live-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  transition: transform 0.6s ease;
}
.hero-live-stage:hover .hero-live-video {
  transform: scale(1.03);
}
.hero-live-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(6, 9, 17, 0.75) 0%, rgba(6, 9, 17, 0.15) 45%, rgba(6, 9, 17, 0.95) 100%);
  height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.live-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.viewer-count-pill {
  background: rgba(12, 18, 32, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.77rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   REDESIGNED AUTOMOTIVE FILTER COCKPIT (Custom Dark UI, No Native White Dropdowns)
   ============================================================ */
.filter-panel {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.95) 0%, rgba(11, 16, 29, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-top: 2px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  position: relative;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 14px;
}

.filter-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(225, 29, 72, 0.14);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: #ff2a4b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.condition-tabs {
  display: inline-flex;
  background: #070b14;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 4px;
}

.cond-tab {
  background: transparent;
  color: #94a3b8;
  border: none;
  padding: 7px 16px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}
.cond-tab:hover {
  color: #fff;
}
.cond-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.35);
}

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

.filter-field-box {
  background: #080d19;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.filter-field-box:hover, .filter-field-box.open {
  border-color: rgba(225, 29, 72, 0.45);
  background: #0b1120;
}

.filter-field-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Custom Dark Searchable Dropdown Component */
.custom-dd-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 2px 0;
}

.custom-dd-trigger span.placeholder {
  color: #94a3b8;
  font-weight: 600;
}

.custom-dd-chevron {
  width: 16px;
  height: 16px;
  color: #64748b;
  transition: transform 0.2s ease;
}
.filter-field-box.open .custom-dd-chevron {
  transform: rotate(180deg);
  color: var(--primary-bright);
}

.custom-dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #0f172a;
  border: 1px solid rgba(225, 29, 72, 0.45);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  z-index: 500;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: ddFadeIn 0.16s ease;
}

.filter-field-box.open .custom-dd-menu {
  display: flex;
}

@keyframes ddFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.custom-dd-search-wrap {
  padding: 10px;
  background: #090e1a;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-dd-search {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.85rem;
  font-family: inherit;
  width: 100%;
  outline: none;
}

.custom-dd-list {
  max-height: 250px;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.custom-dd-option {
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s ease;
}

.custom-dd-option:hover {
  background: rgba(225, 29, 72, 0.15);
  color: #fff;
}

.custom-dd-option.selected {
  background: var(--primary);
  color: #fff;
}

.custom-dd-count {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.07);
  color: #94a3b8;
  padding: 1px 7px;
  border-radius: 99px;
}
.custom-dd-option.selected .custom-dd-count {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}

/* Clean Range Inputs inside Filter Boxes */
.range-inputs-inline {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 8px;
}
.range-divider {
  height: 16px;
  background: rgba(255, 255, 255, 0.12);
}
.clean-num-input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  width: 100%;
  outline: none;
}
.clean-num-input::placeholder {
  color: #64748b;
  font-weight: 500;
}

/* Standard Form Inputs (Modals) */
.form-control {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-control label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.form-input, .form-select {
  background: #080d19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.form-select option {
  background-color: #0f172a;
  color: #f8fafc;
  padding: 8px;
}
.form-input:focus, .form-select:focus {
  border-color: var(--primary-bright);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.16);
}

/* Filter Footer Chips & Counter */
.filter-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 12px;
}

.quick-toggles {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chip-toggle {
  background: #080d19;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.chip-toggle:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.chip-toggle.active {
  background: rgba(225, 29, 72, 0.16);
  border-color: var(--primary-bright);
  color: #fff;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.22);
}

/* Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 16px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 800;
}

/* Live Showroom Strip */
.live-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.live-card {
  background: linear-gradient(165deg, #131c31 0%, #0b1120 100%);
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.live-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-bright);
  box-shadow: 0 18px 40px rgba(225, 29, 72, 0.25);
}
.live-card-media {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.live-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.live-card:hover .live-card-media img {
  transform: scale(1.06);
}
.live-ring-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ff2a4b 0%, #be123c 100%);
  color: #fff;
  font-size: 0.71rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 7px;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.65);
}
.live-viewers-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(6, 9, 17, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.live-card-body {
  padding: 16px;
}

/* Car Grid Cards */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.car-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}
.car-card.tier-vip {
  border-color: rgba(245, 158, 11, 0.4);
}
.car-media {
  position: relative;
  height: 195px;
  overflow: hidden;
  background: #080d19;
}
.car-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.car-card:hover .car-media img {
  transform: scale(1.06);
}
.card-badges-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.badge-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.badge-tier {
  font-size: 0.67rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-vip {
  background: linear-gradient(135deg, #f59e0b, #b45309);
  color: #fff;
}
.badge-premium {
  background: linear-gradient(135deg, #6366f1, #4338ca);
  color: #fff;
}
.badge-new {
  background: #059669;
  color: #fff;
}
.fav-icon-btn {
  pointer-events: auto;
  background: rgba(11, 17, 32, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.fav-icon-btn:hover, .fav-icon-btn.active {
  background: rgba(225, 29, 72, 0.2);
  border-color: var(--primary-bright);
  color: #ff2a4b;
}

.card-badges-bottom {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
}
.badge-fin {
  background: rgba(9, 14, 26, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.car-body {
  padding: 16px;
}
.car-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.car-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
}
.car-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 5px;
}
.car-specs {
  font-size: 0.83rem;
  color: #94a3b8;
  margin-bottom: 12px;
}
.car-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: #64748b;
}

/* Pricing & Salons */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}
.price-card.featured {
  background: linear-gradient(160deg, #1a163a 0%, #0f172a 100%);
  border: 1.5px solid var(--primary-bright);
}
.old-competitor-price {
  font-size: 0.82rem;
  color: #f87171;
  text-decoration: line-through;
  font-weight: 600;
}
.our-price {
  font-size: 2.15rem;
  font-weight: 900;
  color: #fff;
  margin: 6px 0 14px;
}
.feature-list {
  list-style: none;
  margin: 16px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.87rem;
  color: #cbd5e1;
}

.salons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
}
.salon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition);
}
.salon-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}
.salon-cover {
  height: 145px;
  position: relative;
}
.salon-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.salon-body {
  padding: 18px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 14, 0.86);
  backdrop-filter: blur(14px);
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.modal-backdrop.open {
  display: flex;
}
.modal-window {
  background: #0c1220;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  width: 100%;
  max-width: 1140px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.8);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  background: rgba(12, 18, 32, 0.96);
  backdrop-filter: blur(10px);
  z-index: 10;
}
.close-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid var(--border-color);
  width: 34px;
  height: 34px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.close-btn:hover {
  background: var(--primary);
  color: #fff;
}

.live-studio-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  min-height: 520px;
}
.live-video-pane {
  background: #04070e;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
}
.live-video-pane video {
  width: 100%;
  height: 100%;
  max-height: 540px;
  object-fit: cover;
}
.live-controls-bar {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(12, 18, 32, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.live-chat-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--border-color);
  background: #080d18;
  max-height: 600px;
}
.chat-messages {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 0.84rem;
}
.chat-bubble.seller {
  background: rgba(225, 29, 72, 0.14);
  border-color: rgba(225, 29, 72, 0.4);
}
.chat-input-row {
  padding: 12px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--primary-bright);
  color: #fff;
  padding: 13px 18px;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  font-size: 0.86rem;
  font-weight: 600;
}

.footer {
  margin-top: 60px;
  background: #04070e;
  border-top: 1px solid var(--border-color);
  padding: 36px 28px;
}

@media (max-width: 1150px) {
  .hero-section { grid-template-columns: 1fr; }
  .filter-grid { grid-template-columns: repeat(2, 1fr); }
  .live-studio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .filter-grid { grid-template-columns: 1fr; }
}
