/* ==========================================================================
   SIKKIM AUTO MART — Design System & Stylesheet
   Theme: Matte Carbon, Electric Orange & Amber Glow (Ranipool, Sikkim)
   Includes: Front-End UI + Complete Admin Panel Components
   ========================================================================== */

:root {
  /* Color Palette */
  --bg: #090a0d;
  --bg-elevated: #111319;
  --bg-card: #151821;
  --bg-card-hover: #1b1f2b;
  --bg-soft: #1d212c;
  --bg-glass: rgba(21, 24, 33, 0.85);
  
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(255, 107, 0, 0.4);
  
  --text: #f3f5f9;
  --text-dim: #cbd2e0;
  --muted: #919bb0;
  --muted-2: #626a7a;
  
  /* Brand Accents */
  --accent: #ff6b00;
  --accent-rgb: 255, 107, 0;
  --accent-2: #ff9100;
  --accent-gradient: linear-gradient(135deg, #ff6b00 0%, #ff3d00 50%, #ff9100 100%);
  --accent-glow: 0 0 25px rgba(255, 107, 0, 0.4);
  --gold: #f59e0b;
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --whatsapp: #25d366;
  --call-color: #3b82f6;

  /* Shadows & Radius */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-orange: 0 10px 30px rgba(255, 107, 0, 0.28);
  
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Layout */
  --header-h: 84px;
  --container: 1200px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 80px;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* Top Announcement Bar */
.top-bar {
  background: #060709;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  padding: 6px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
}
.top-location svg {
  color: var(--accent);
}
.top-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
}
.top-contacts a:hover {
  color: var(--accent);
}

.top-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}
.top-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text-dim);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.top-social-link.instagram:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.top-social-link.facebook:hover {
  background: #1877f2;
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(9, 10, 13, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo Styling */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo-img {
  height: 58px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  border: none;
  background: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.65));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}
.logo:hover .brand-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 18px rgba(255, 107, 0, 0.55));
}
.footer-logo-img {
  height: 68px;
  max-width: 260px;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-transform: uppercase;
}
.logo-title span {
  color: var(--accent);
}
.logo-sub {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Nav Links */
.nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 992px) {
  .nav {
    display: flex;
  }
}
.nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}
.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--bg-soft);
}
.nav a.active {
  color: var(--accent-2);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-actions .btn-phones {
  display: none;
}
@media (min-width: 768px) {
  .header-actions .btn-phones {
    display: inline-flex;
  }
}

.menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
@media (min-width: 992px) {
  .menu-btn {
    display: none;
  }
}
.menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-weight: 500;
  font-size: 15px;
}
.mobile-nav a.active {
  color: var(--accent);
}
.mobile-nav-contacts {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(255, 107, 0, 0.45);
  filter: brightness(1.08);
}

.btn-ghost {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover {
  filter: brightness(1.1);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.btn-call {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.btn-danger {
  background: #dc2626;
  color: #fff;
}
.btn-danger:hover {
  background: #b91c1c;
}

.btn-success {
  background: #10b981;
  color: #fff;
}

.btn-full {
  width: 100%;
}
.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}
.btn-lg {
  padding: 15px 28px;
  font-size: 15.5px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 70px 0 90px;
  overflow: hidden;
  background: #090a0d;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(9, 10, 13, 0.96) 0%, rgba(9, 10, 13, 0.82) 36%, rgba(9, 10, 13, 0.28) 68%, rgba(9, 10, 13, 0.08) 100%),
    linear-gradient(180deg, rgba(9, 10, 13, 0.25) 0%, transparent 35%, rgba(9, 10, 13, 0.92) 100%),
    url("assets/hero-bg.jpg?v=3") right 30% center / cover no-repeat;
  opacity: 1;
  filter: contrast(1.08) saturate(1.15) brightness(1.02);
  z-index: 1;
}

@media (max-width: 991px) {
  .hero-backdrop {
    background: 
      linear-gradient(180deg, rgba(9, 10, 13, 0.75) 0%, rgba(9, 10, 13, 0.55) 45%, rgba(9, 10, 13, 0.95) 100%),
      url("assets/hero-bg.jpg?v=3") 70% center / cover no-repeat;
  }
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 2;
  mask-image: linear-gradient(to right, rgba(0,0,0,0.4) 0%, transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 650px;
  margin-left: 0;
}

.hero-tagline-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 107, 0, 0.14);
  border: 1px solid var(--border-accent);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  backdrop-filter: blur(8px);
}
.hero-tagline-wrap .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-tagline {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 650px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.hero h1 .text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #c9d1d9;
  max-width: 580px;
  line-height: 1.65;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Quick Search Card */
.hero-search-box {
  background: rgba(18, 21, 29, 0.90);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 107, 0, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 650px;
}

.search-type-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.search-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}
.search-tab:hover {
  color: var(--text);
  background: var(--bg-soft);
}
.search-tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
}

.hero-search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) {
  .hero-search-grid {
    grid-template-columns: 1.2fr 1fr 1fr auto;
    align-items: end;
  }
}

.search-field {
  display: grid;
  gap: 6px;
}
.search-field label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.search-field select,
.search-field input {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}
.search-field select:focus,
.search-field input:focus {
  border-color: var(--accent);
}

/* Quick Trust Highlights */
.trust-strip {
  background: #0d0f14;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .trust-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.trust-item h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.trust-item p {
  font-size: 12px;
  color: var(--muted);
}

/* 5-Pillar Showcase */
.section-services {
  padding: 80px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-head .eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--muted);
  font-size: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 107, 0, 0.12);
  background: var(--bg-card-hover);
}

.service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.18), rgba(255, 61, 0, 0.05));
  border: 1px solid var(--border-accent);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.service-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.service-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  margin-bottom: 6px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.service-pill {
  font-size: 11px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-dim);
  font-weight: 500;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}
.service-link:hover {
  gap: 10px;
}

/* Vehicle Grid & Cards */
.section-inventory {
  padding: 80px 0;
  background: #0c0e13;
}

.inventory-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 680px) {
  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1050px) {
  .vehicle-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vehicle-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.vehicle-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #1c202d 0%, #090a0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease;
  display: block;
}
.vehicle-card:hover .card-media img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}
.badge-featured {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}
.badge-sold {
  background: #dc2626;
  color: #fff;
}
.badge-reg {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #fbbf24;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--text);
}

.card-pricing {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.card-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-2);
}
.card-emi {
  font-size: 12px;
  color: var(--muted);
}
.card-emi strong {
  color: var(--text-dim);
}

.card-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.spec-chip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 6px 8px;
  border-radius: 8px;
  text-align: center;
}
.spec-chip span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
}
.spec-chip strong {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}


/* Exchange & Sell Banner Section */
.section-exchange-banner {
  padding: 60px 0;
  background: #090a0d;
}
.exchange-box {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.12) 0%, rgba(21, 24, 33, 0.95) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 860px) {
  .exchange-box {
    grid-template-columns: 1.4fr 1fr;
    padding: 48px;
  }
}
.exchange-box h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.exchange-box p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.exchange-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.exchange-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.exchange-feature svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Testimonials / Why Choose Us */
.section-why {
  padding: 80px 0;
  background: #0f1117;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: 0.2s;
}
.why-card:hover {
  border-color: var(--border-strong);
}
.why-step-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(255, 107, 0, 0.12);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.why-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.why-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Customer Reviews & Testimonials */
.section-reviews {
  padding: 80px 0;
  background: #0b0c11;
  border-top: 1px solid var(--border);
  position: relative;
}
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.reviews-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rating-summary-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.rating-summary-pill strong {
  color: var(--text);
  font-size: 14.5px;
}
.btn-outline-accent {
  background: rgba(255, 107, 0, 0.12);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.4);
  transform: translateY(-2px);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md), 0 0 20px rgba(255, 107, 0, 0.1);
  background: var(--bg-card-hover);
}
.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.review-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
}
.review-vehicle-tag {
  font-size: 11px;
  background: rgba(255, 107, 0, 0.12);
  color: var(--accent-2);
  border: 1px solid var(--border-accent);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.review-text {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}
.review-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff3d00);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}
.review-author-info strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  line-height: 1.2;
}
.review-author-info span {
  font-size: 11.5px;
  color: var(--muted);
}
.review-verified-badge {
  color: #10b981;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.status-spam {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Page Hero (Internal Pages: Vehicles, Gallery, Contact, About, Sell) */
.page-hero {
  padding: 44px 0 20px;
  position: relative;
}
.page-hero .eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin-bottom: 14px;
  color: var(--text);
}
.page-hero p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 720px;
  margin: 0;
}

/* Listing Page Layout */
.listing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 20px 0 70px;
}
@media (min-width: 860px) {
  .listing-layout {
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 28px 0 80px;
  }
}

/* Mobile Filter Bar & Drawer */
.mobile-filter-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
@media (min-width: 860px) {
  .mobile-filter-bar {
    display: none;
  }
}
.mobile-search-input-wrap {
  flex: 1;
}
.mobile-search-input-wrap input {
  width: 100%;
  height: 42px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  box-sizing: border-box;
}
.mobile-search-input-wrap input:focus {
  border-color: var(--accent);
}
.mobile-filter-toggle-btn {
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
}
.mobile-filter-count-badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 99px;
  line-height: 1.3;
}
.mobile-filter-close-btn {
  display: none;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.mobile-filter-close-btn:hover {
  color: var(--text);
}
.mobile-filter-apply-wrap {
  display: none;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.filter-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

@media (max-width: 859px) {
  .filter-sidebar {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: var(--bg-elevated);
    padding: 24px 20px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    border: none;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    animation: filterSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .filter-sidebar.open {
    display: block;
  }
  @keyframes filterSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .mobile-filter-close-btn {
    display: block;
  }
  .mobile-filter-apply-wrap {
    display: block;
  }
}

.filter-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.filter-title-row h3 {
  font-size: 17px;
  font-weight: 700;
}
.btn-reset {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}
.btn-reset:hover {
  background: rgba(255, 107, 0, 0.1);
}

.filter-group {
  margin-bottom: 16px;
}
.filter-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.filter-group select,
.filter-group input {
  width: 100%;
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  box-sizing: border-box;
}
.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--accent);
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.catalog-count {
  font-size: 14px;
  color: var(--muted);
}
.catalog-count strong {
  color: var(--text);
}
.catalog-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.catalog-sort select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--text);
  font-size: 12.5px;
  outline: none;
  height: 36px;
}

/* Vehicle Detail Page */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 24px 0 80px;
}
@media (min-width: 992px) {
  .detail-layout {
    grid-template-columns: 1.35fr 0.95fr;
  }
}

.detail-gallery {
  display: grid;
  gap: 12px;
}
.gallery-main-view {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #000;
  aspect-ratio: 16 / 10;
  position: relative;
}
.gallery-main-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.thumb-btn {
  border: 2px solid transparent;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  aspect-ratio: 16 / 10;
  transition: 0.2s;
}
.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-btn.active {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.4);
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.detail-tagline {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.detail-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
}
.detail-price-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.price-large {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-2);
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 480px) {
  .detail-specs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.detail-spec-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.detail-spec-card span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.detail-spec-card strong {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

/* Forms & Cards */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}

/* Upload Dropzone */
.upload-box {
  border: 2px dashed var(--border-strong);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}
.upload-box:hover {
  border-color: var(--accent);
  background: var(--bg-soft);
}
.upload-box input {
  display: none;
}
.upload-icon {
  color: var(--accent);
  margin-bottom: 10px;
}
.upload-box p {
  font-size: 13px;
  color: var(--muted);
}
.upload-box p strong {
  color: var(--text);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.preview-grid img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Contact Page Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 24px 0 80px;
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1.2fr 1fr;
  }
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  height: 320px;
  margin-bottom: 24px;
  background: var(--bg-card);
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  display: grid;
  gap: 14px;
}
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-info-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-row p strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}
.contact-info-row p span,
.contact-info-row p a {
  font-size: 13px;
  color: var(--muted);
}
.contact-info-row p a:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: #060709;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-about p {
  font-size: 13.5px;
  line-height: 1.6;
  margin-top: 14px;
  color: var(--muted);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-links {
  display: grid;
  gap: 10px;
}
.footer-links a {
  font-size: 13.5px;
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-social-wrap {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-soft);
  transition: all 0.25s ease;
}
.footer-social-btn svg {
  flex-shrink: 0;
}
.footer-social-btn.instagram {
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.25), rgba(253, 29, 29, 0.25));
  border-color: rgba(253, 29, 29, 0.4);
}
.footer-social-btn.instagram:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(253, 29, 29, 0.4);
  color: #fff;
}
.footer-social-btn.facebook {
  background: rgba(24, 119, 242, 0.2);
  border-color: rgba(24, 119, 242, 0.4);
}
.footer-social-btn.facebook:hover {
  background: #1877f2;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
  color: #fff;
}

/* Contact page social cards */
.social-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.social-channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s ease;
}
.social-channel-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.social-channel-card.instagram:hover {
  border-color: #fd1d1d;
  box-shadow: 0 8px 25px rgba(253, 29, 29, 0.25);
}
.social-channel-card.facebook:hover {
  border-color: #1877f2;
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.25);
}
.social-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  flex-shrink: 0;
}
.social-channel-icon.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}
.social-channel-icon.facebook {
  background: #1877f2;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.developer-signature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.developer-signature .signature-name {
  font-weight: 700;
  color: var(--accent);
  background: linear-gradient(135deg, #ff7b00 0%, #ffa500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.developer-signature .signature-name:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

.footer-admin-link {
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  opacity: 0.7;
}
.footer-admin-link:hover {
  opacity: 1;
  color: var(--accent);
}

/* Mobile Sticky Bottom Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(13, 15, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-strong);
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 12px;
}
@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}
.bar-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 10px;
  text-align: center;
}
.bar-action.call {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
  margin-right: 6px;
}
.bar-action.wa {
  background: #25d366;
  color: #fff;
}

/* Floating Quick Dialers */
.float-dock {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: none;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 992px) {
  .float-dock {
    display: flex;
  }
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.float-btn:hover {
  transform: scale(1.1);
}
.float-btn.wa {
  background: #25d366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.float-btn.call {
  background: var(--accent-gradient);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #1e2430;
  border: 1px solid var(--border-accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.empty-state {
  padding: 60px 20px;
  text-align: center;
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}
.empty-state h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.empty-state p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

/* Public Enquiry Modal */
.public-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.public-modal-backdrop.open {
  display: flex;
}
.public-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.public-modal-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.public-modal-head h3 {
  font-size: 17.5px;
  font-weight: 700;
}
.public-modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
.public-modal-close:hover {
  color: #fff;
}
.public-modal-body {
  padding: 22px;
}
.modal-vehicle-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 18px;
}
.modal-vehicle-preview img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}
.modal-vehicle-preview strong {
  font-size: 14px;
  display: block;
}
.modal-vehicle-preview span {
  font-size: 13px;
  color: var(--accent-2);
  font-weight: 700;
}

/* ==========================================================================
   ADMIN PANEL STYLES (Clean & User-Friendly Management Dashboard)
   ========================================================================== */

.admin-body {
  background: #08090c;
  color: var(--text);
  min-height: 100vh;
}

.admin-header {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-strong);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.admin-header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-shrink: 1;
}
.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-danger-outline {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.btn-danger-outline:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

.admin-badge {
  background: rgba(255, 107, 0, 0.15);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 4px;
}

@media (max-width: 640px) {
  .admin-header {
    padding: 8px 0;
  }
  .admin-header-brand .logo-title {
    font-size: 14.5px;
  }
  .admin-header-brand .logo-sub {
    display: none;
  }
  .admin-header-brand .brand-logo-img {
    width: 32px;
    height: 32px;
  }
  .admin-badge {
    display: none;
  }
  .admin-header-actions {
    gap: 6px;
  }
  .admin-header-actions .btn {
    padding: 5px 10px;
    font-size: 12px;
    height: 34px;
  }
  .admin-signout-btn {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.5);
    color: #f87171;
    font-weight: 700;
  }
}

@media (max-width: 380px) {
  .admin-header-actions .btn {
    padding: 5px 8px;
    font-size: 11px;
  }
}

.admin-nav-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding: 14px 0 0;
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.admin-nav-tabs::-webkit-scrollbar {
  display: none;
}
.admin-tab-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: 0.2s;
  flex-shrink: 0;
}
.admin-tab-btn:hover {
  color: var(--text);
}
.admin-tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.admin-tab-badge {
  background: var(--bg-soft);
  color: var(--text-dim);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 99px;
  font-weight: 700;
}

/* Admin Dashboard Overview Cards (Responsive 2-col on phone, 4-col on tablet/desktop) */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (min-width: 900px) {
  .admin-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
  }
}
.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
@media (min-width: 640px) {
  .admin-stat-card {
    padding: 20px;
  }
}
.admin-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}
.admin-stat-label {
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 4px;
}
.admin-stat-val {
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.admin-stat-sub {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 4px;
}

/* Admin Tables */
.admin-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}
.admin-table-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.admin-table-header h3 {
  font-size: 16.5px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .admin-table-header {
    flex-direction: column;
    align-items: stretch;
  }
}
.admin-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-table-wrapper::-webkit-scrollbar {
  height: 6px;
}
.admin-table-wrapper::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.2);
}
.admin-table-wrapper::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  min-width: 600px;
}
.admin-table th {
  background: #0d0f15;
  color: var(--muted);
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  vertical-align: middle;
}
.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.table-vehicle-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.table-vehicle-img {
  width: 52px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.status-available {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.status-sold {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.status-new {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.status-contacted {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Enquiry Type Badges in Admin Table */
.enquiry-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.enquiry-badge-testdrive {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.28);
}
.enquiry-badge-offer {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.28);
}
.enquiry-badge-loan {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.28);
}
.enquiry-badge-exchange {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.28);
}
.enquiry-badge-inspect {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.28);
}
.enquiry-badge-general {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.table-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.table-actions .btn {
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
}

/* Admin Modals & Direct Upload */
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}
@media (min-width: 640px) {
  .admin-photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }
}
.admin-photo-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.admin-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  transition: transform 0.15s ease, background 0.15s ease;
  line-height: 1;
}
.admin-photo-remove:hover {
  transform: scale(1.15);
  background: #ef4444;
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.admin-modal-backdrop.open {
  display: flex;
}
.admin-modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  animation: modalScaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.admin-modal-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  flex-shrink: 0;
}
.admin-modal-head h3 {
  font-size: 17px;
  font-weight: 700;
}
.admin-modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 4px;
}
.admin-modal-close:hover {
  color: var(--text);
}
.admin-modal-body {
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 640px) {
  .admin-modal-head {
    padding: 14px 16px;
  }
  .admin-modal-body {
    padding: 16px 14px;
  }
}

/* Responsive Form Grids */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.form-grid-2-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .form-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
  }
  .form-grid-2-1 {
    grid-template-columns: 2fr 1fr;
    gap: 14px;
  }
}

/* Admin Login Card */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at center, rgba(255, 107, 0, 0.12) 0%, transparent 60%),
              var(--bg);
}
.admin-login-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

/* ==========================================================================
   PUBLIC GALLERY & VIDEO SHOWCASE STYLES
   ========================================================================== */

.gallery-controls-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 40px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.gallery-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.gallery-tab {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  user-select: none;
}
.gallery-tab:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.gallery-tab.active {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.4);
  transform: translateY(-1px);
}

.gallery-type-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 60px;
}
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s;
  cursor: pointer;
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  border-color: var(--border-accent);
}

.gallery-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
}
.gallery-card.is-vertical .gallery-card-media {
  aspect-ratio: 9 / 12;
}
.gallery-card-media img,
.gallery-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-card-media img,
.gallery-card:hover .gallery-card-media video {
  transform: scale(1.05);
}

.gallery-badge-top {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
  flex-wrap: wrap;
}

.gallery-pill {
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gallery-pill.media-type-image {
  background: rgba(13, 15, 20, 0.82);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.gallery-pill.media-type-video {
  background: rgba(220, 38, 38, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.gallery-pill.media-type-vertical {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.gallery-pill.category-pill {
  background: rgba(255, 107, 0, 0.85);
  color: #fff;
}

.gallery-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.9);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 0 24px rgba(255, 107, 0, 0.6);
  transition: transform 0.25s ease, background 0.2s, opacity 0.25s ease;
  z-index: 2;
  pointer-events: none;
}
.gallery-card:hover .gallery-play-btn {
  opacity: 0.15;
  transform: scale(0.88);
}

.gallery-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.gallery-card-caption {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.gallery-card-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-size: 12px;
  color: var(--muted-2);
}
.gallery-card-customer {
  font-weight: 600;
  color: var(--accent-2);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Lightbox & Video Modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gallery-modal.open {
  display: flex;
}
.gallery-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.gallery-modal-content {
  position: relative;
  z-index: 2;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transition: max-width 0.3s ease;
}
.gallery-modal.is-vertical .gallery-modal-content {
  max-width: 440px;
}
.gallery-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.15s, background 0.15s;
}
.gallery-modal-close:hover {
  transform: scale(1.1);
  background: #ff3d00;
}
.gallery-modal-media-holder {
  background: #000;
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-modal.is-vertical .gallery-modal-media-holder {
  aspect-ratio: 9 / 16;
  max-height: 72vh;
  min-height: 480px;
}
.gallery-modal-media-holder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-modal-media-holder video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  outline: none;
}
.gallery-modal-media-holder iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.gallery-modal-info {
  padding: 22px 26px;
}
.gallery-modal-badge {
  margin-bottom: 8px;
}
.gallery-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.gallery-modal-caption {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.gallery-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted-2);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* Showroom Bottom CTA Banner / Box */
.gallery-cta-box,
.sell-cta-box {
  margin: 60px 0 70px;
  padding: 36px 40px;
  background: linear-gradient(135deg, rgba(23, 27, 38, 0.95), rgba(15, 17, 23, 0.98));
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 107, 0, 0.08);
}
.gallery-cta-box .cta-content h3,
.sell-cta-box h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.gallery-cta-box .cta-content p,
.sell-cta-box p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0;
}
.gallery-cta-box .cta-actions,
.sell-cta-box .cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .gallery-cta-box,
  .sell-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
    margin: 44px 0 50px;
    gap: 20px;
  }
  .gallery-cta-box .cta-actions,
  .sell-cta-box .cta-actions {
    width: 100%;
  }
  .gallery-cta-box .cta-actions .btn,
  .sell-cta-box .cta-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   ADMIN GALLERY & TOOLBAR PRECISION ALIGNMENT
   ========================================================================== */

.admin-toolbar-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-toolbar-wrap input,
.admin-toolbar-wrap select {
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13.5px;
  color: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.admin-toolbar-wrap input:focus,
.admin-toolbar-wrap select:focus {
  border-color: var(--accent);
}

.admin-toolbar-wrap .btn {
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .admin-toolbar-wrap {
    width: 100%;
  }
  .admin-toolbar-wrap input[type="text"],
  .admin-toolbar-wrap input[type="search"] {
    width: 100%;
    flex: 1 1 100%;
  }
  .admin-toolbar-wrap select {
    flex: 1 1 calc(50% - 6px);
    min-width: 120px;
  }
  .admin-toolbar-wrap .btn {
    flex: 1 1 auto;
  }
}

.modal-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 520px) {
  .modal-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.gal-upload-dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: 10px;
  background: var(--bg-soft);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.gal-upload-dropzone:hover {
  border-color: var(--accent);
  background: rgba(255, 107, 0, 0.05);
}
.gal-upload-dropzone input {
  display: none;
}

.gal-featured-toggle-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  cursor: pointer;
  flex-wrap: wrap;
  gap: 8px;
}
.gal-featured-toggle-box label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  user-select: none;
}

.modal-actions-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 480px) {
  .modal-actions-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   SIKKIM AUTO MART — CLEAN & ORGANIZED MOBILE STYLING (No Crowding)
   ========================================================================== */

/* Completely Disable Sticky Bottom Bar */
.mobile-bottom-bar {
  display: none !important;
}

@media (max-width: 768px) {
  /* 1. Remove Bottom Gap */
  body {
    padding-bottom: 0 !important;
  }
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* 2. Hide Cluttered Top Bar on Mobile */
  .top-bar {
    display: none !important;
  }

  /* 3. Sleek Site Header & Logo */
  .site-header {
    height: 58px !important;
  }
  .header-inner {
    gap: 10px !important;
  }
  .brand-logo-img {
    height: 40px !important;
    max-width: 160px !important;
  }
  .logo-title {
    font-size: 14px !important;
  }
  .logo-sub {
    font-size: 8.5px !important;
  }
  .menu-btn {
    width: 38px !important;
    height: 38px !important;
  }

  /* 4. Hero Section — Spacious & Clean */
  .hero {
    min-height: auto !important;
    padding: 24px 0 32px !important;
  }
  .hero-backdrop {
    background: 
      linear-gradient(180deg, rgba(9, 10, 13, 0.90) 0%, rgba(9, 10, 13, 0.78) 50%, rgba(9, 10, 13, 0.98) 100%),
      url("assets/hero-bg.jpg?v=3") center center / cover no-repeat !important;
  }
  .hero-content {
    gap: 16px !important;
    max-width: 100% !important;
  }
  .hero-tagline-wrap {
    padding: 3px 10px !important;
    margin-bottom: 6px !important;
    gap: 6px !important;
    display: inline-flex !important;
  }
  .hero-tagline {
    font-size: 10.5px !important;
    letter-spacing: 0.04em !important;
  }
  .hero h1 {
    font-size: 1.65rem !important;
    line-height: 1.22 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 8px !important;
  }
  .hero p.lead {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    color: #b5bfcd !important;
    margin-bottom: 14px !important;
  }

  /* Clean 2-Button Hero CTA */
  .hero-cta-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .hero-cta-group .btn {
    padding: 11px 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }

  /* 5. Inventory Search Box */
  .hero-search-box {
    padding: 14px 16px !important;
    border-radius: 12px !important;
    margin-top: 8px !important;
    background: rgba(18, 21, 29, 0.96) !important;
  }
  .search-type-tabs {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .search-type-tabs::-webkit-scrollbar {
    display: none !important;
  }
  .search-tab {
    padding: 6px 12px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
  }
  .hero-search-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .hero-search-grid .search-field:nth-child(1),
  .hero-search-grid .search-field:nth-child(2) {
    grid-column: span 1 !important;
  }
  .hero-search-grid .search-field:nth-child(3) {
    grid-column: 1 / -1 !important;
  }
  .hero-search-grid button[type="submit"] {
    grid-column: 1 / -1 !important;
    padding: 12px !important;
    font-size: 14px !important;
    height: 44px !important;
  }
  .search-field label {
    font-size: 11px !important;
    margin-bottom: 3px !important;
  }
  .search-field select,
  .search-field input {
    height: 38px !important;
    font-size: 12.5px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
  }

  /* 6. Section Headers */
  .section-header {
    margin-bottom: 22px !important;
  }
  .section-tagline {
    font-size: 10.5px !important;
    padding: 3px 9px !important;
  }
  .section-title {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
  }
  .section-desc {
    font-size: 0.84rem !important;
  }

  /* 7. Single Column Vehicle Cards Grid */
  .vehicle-grid,
  .inventory-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .vehicle-card {
    border-radius: 12px !important;
  }
  .vehicle-card-img-wrap {
    height: 195px !important;
  }
  .vehicle-card-body {
    padding: 14px 16px !important;
  }
  .vehicle-card-title {
    font-size: 15.5px !important;
  }
  .vehicle-price-current {
    font-size: 17px !important;
  }

  /* 8. Neat Floating WhatsApp Button */
  .float-btn.wa {
    bottom: 22px !important;
    right: 18px !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 22px !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
  }

  /* 9. Clean Forms & Detail Pages */
  .sell-form-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .detail-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .detail-main-img-wrap {
    height: 230px !important;
  }
}

/* ==========================================================================
   TOP BAR (CENTERED ADDRESS) & CLEAN REMOVAL OF FLOATING BUTTONS
   ========================================================================== */

/* Top Announcement Bar (Centered Showroom Address) */
.top-bar {
  background: #060709;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-dim);
  padding: 8px 0;
  text-align: center;
}
.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.top-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}
.top-location svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Main Home Page Hero Location Banner */
.hero-location-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.28);
  color: #ff9100;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 12px;
}
.hero-location-banner svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Floating Quick Dialers & Mobile Bottom Bar - Completely Removed */
.mobile-bottom-bar,
.float-dock,
.float-btn {
  display: none !important;
}

@media (max-width: 768px) {
  /* Centered Address Top Bar on Mobile */
  .top-bar {
    display: block !important;
    padding: 6px 12px !important;
    text-align: center !important;
    font-size: 11px !important;
  }
  .top-location {
    font-size: 11px !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    line-height: 1.35 !important;
  }
}
