/* ==========================================================================
   Samad Motors - Components CSS (amadmotors.com Architectural Standard)
   Hero Slider, Vehicle Product Cards, Category Feature Banners,
   Financial Estimator, and Showroom Service Modules.
   ========================================================================== */

/* ==========================================================================
   1. FULL-BLEED CINEMATIC HERO SLIDER
   ========================================================================== */
.hero-slider-stage {
  position: relative;
  background: var(--zinc-950);
  color: #ffffff;
  height: clamp(520px, 78vh, 660px);
  min-height: 520px;
  max-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .hero-slider-stage {
    height: clamp(540px, 80vh, 680px);
    min-height: 540px;
  }
}

/* Individual Slides */
.hero-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide-item.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Full Bleed Backdrop Image with Directional Dark Gradient */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.02);
  transition: transform 7s ease-out;
}

.hero-slide-item.active .hero-slide-bg img {
  transform: scale(1.05);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(9, 9, 11, 0.96) 0%, 
    rgba(9, 9, 11, 0.88) 42%, 
    rgba(9, 9, 11, 0.35) 75%,
    rgba(9, 9, 11, 0.15) 100%
  );
  z-index: 2;
}

.hero-red-accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 32%;
  max-width: 380px;
  background: var(--red-600);
  z-index: 10;
}

/* Slide Content Grid */
.hero-content-wrap {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 6rem 0 7rem 0;
}

.hero-text-col {
  max-width: 680px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red-500);
  margin-bottom: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--red-500);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.hero-title span {
  color: var(--red-500);
}

.hero-tagline {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e4e4e7;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

/* Minimalist Spec Pills */
.hero-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xs);
  font-size: 0.68rem;
  font-weight: 500;
  color: #f4f4f5;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

/* Direct Price Badge */
.hero-price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-price-tag .price-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--zinc-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Slide Navigation Bar & Thumbnails */
.hero-bottom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 1.25rem 0;
  background: linear-gradient(0deg, rgba(9, 9, 11, 0.95), transparent);
}

.hero-controls-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-counter-display {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.hero-counter-display span {
  color: var(--red-500);
}

.hero-arrow-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-nav-arrow {
  width: 44px;
  height: 44px;
  background: rgba(24, 24, 27, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  border-radius: var(--radius-xs);
}

.hero-nav-arrow:hover {
  background: var(--red-600);
  border-color: var(--red-600);
}

/* Hero Thumbnail Dock */
.hero-thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

.hero-thumb-btn {
  background: rgba(24, 24, 27, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xs);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.hero-thumb-btn:hover {
  background: rgba(39, 39, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-thumb-btn.active {
  background: rgba(220, 38, 38, 0.2);
  border-color: var(--red-600);
}

.hero-thumb-btn img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.hero-thumb-btn .thumb-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
}

.hero-thumb-btn .thumb-price {
  font-size: 0.75rem;
  color: var(--zinc-400);
  margin-top: 2px;
}

/* ==========================================================================
   2. INVENTORY GRID & PRODUCT CARDS (amadmotors.com exact card styling)
   ========================================================================== */
.inventory-section {
  background: var(--warm-bg);
  padding: 6rem 0;
}

.filter-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-bottom: 2.5rem;
  padding-bottom: 0.5rem;
}

.filter-pill {
  padding: 0.6rem 1.35rem;
  background: #ffffff;
  border: 1px solid var(--zinc-300);
  border-radius: var(--radius-xs);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--zinc-700);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  border-color: var(--zinc-950);
  color: var(--zinc-950);
}

.filter-pill.active {
  background: var(--zinc-950);
  color: #ffffff;
  border-color: var(--zinc-950);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
}

/* Card */
.vehicle-card {
  background: #ffffff;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  container-type: inline-size;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.vehicle-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--zinc-100);
}

.vehicle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-img-wrap img {
  transform: scale(1.035);
}

.card-year-tag {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--zinc-950);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.45rem 0.95rem;
}

.card-status-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

.card-status-tag .badge-green,
.badge-green {
  background: #dcfce7 !important;
  color: #166534 !important;
  border: 1px solid #86efac !important;
  font-weight: 800 !important;
}

.card-color-tag {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(9, 9, 11, 0.85);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
}

/* Card Body */
.vehicle-card-body,
.bike-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vehicle-make,
.bike-card-type {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red-600);
}

.vehicle-title,
.bike-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--zinc-950);
  margin-top: 0.2rem;
  line-height: 1.2;
}

.vehicle-title a:hover,
.bike-card-title a:hover {
  color: var(--red-600);
}

/* Color Swatch Selector */
.swatch-picker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--zinc-500);
}

.swatch-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px var(--zinc-300);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.swatch-circle:hover {
  transform: scale(1.15);
}

.swatch-circle.active {
  box-shadow: 0 0 0 2px var(--red-600);
}

/* Specs Matrix */
.vehicle-specs-grid,
.bike-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  border-top: 1px solid var(--zinc-200);
  border-bottom: 1px solid var(--zinc-200);
  padding: 0.75rem 0;
  margin: 1rem 0;
}

.vehicle-spec-item,
.spec-cell {
  display: flex;
  flex-direction: column;
}

.v-spec-label,
.spec-cell-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zinc-500);
}

.v-spec-value,
.spec-cell-val {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--zinc-950);
  margin-top: 1px;
}

/* Card Bottom */
.vehicle-card-bottom,
.bike-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  gap: 0.5rem;
}

.vehicle-price,
.bike-price {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--zinc-950);
  white-space: nowrap;
}

.vehicle-actions,
.bike-card-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

/* Container query for cards under 340px width */
@container (max-width: 340px) {
  .vehicle-card-bottom,
  .bike-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--zinc-100);
  }

  .vehicle-card-bottom > div:first-child,
  .bike-price-wrap {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
  }

  .vehicle-card-bottom > div:first-child span:first-child,
  .bike-price-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--zinc-400);
    letter-spacing: 0.05em;
  }

  .vehicle-price,
  .bike-price {
    font-size: 1.15rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .vehicle-actions,
  .bike-card-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
  }

  .vehicle-actions .btn,
  .bike-card-actions .btn {
    min-width: 0;
    padding: 0.52rem 0.5rem;
    font-size: 0.73rem;
    font-weight: 700;
    justify-content: center;
    white-space: nowrap;
  }

  .vehicle-actions .btn-whatsapp,
  .bike-card-actions .btn-whatsapp {
    flex: 1 1 52%;
  }

  .vehicle-actions .btn-outline,
  .bike-card-actions .btn-outline {
    flex: 1 1 48%;
  }

  .vehicle-actions .btn-admin-edit,
  .bike-card-actions .btn-admin-edit {
    flex: 0 0 auto !important;
  }
}

/* Media query fallback for all mobile viewports <= 640px */
@media (max-width: 640px) {
  .vehicle-card-body,
  .bike-card-body {
    padding: 1.1rem 1rem;
  }

  .vehicle-card-bottom,
  .bike-card-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding-top: 0.75rem;
    margin-top: auto;
    border-top: 1px solid var(--zinc-100);
  }

  .vehicle-card-bottom > div:first-child,
  .bike-price-wrap {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
  }

  .vehicle-card-bottom > div:first-child span:first-child,
  .bike-price-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--zinc-400);
    letter-spacing: 0.05em;
  }

  .vehicle-price,
  .bike-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--zinc-950);
    white-space: nowrap;
    line-height: 1.2;
  }

  .vehicle-actions,
  .bike-card-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
  }

  .vehicle-actions .btn,
  .bike-card-actions .btn {
    min-width: 0;
    padding: 0.52rem 0.5rem;
    font-size: 0.73rem;
    font-weight: 700;
    justify-content: center;
    white-space: nowrap;
  }

  .vehicle-actions .btn-whatsapp,
  .bike-card-actions .btn-whatsapp {
    flex: 1 1 52%;
  }

  .vehicle-actions .btn-outline,
  .bike-card-actions .btn-outline {
    flex: 1 1 48%;
  }

  .vehicle-actions .btn-admin-edit,
  .bike-card-actions .btn-admin-edit {
    flex: 0 0 auto !important;
  }
}

/* Compatibility aliases for inventory pages */
.bike-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
}

.bike-card {
  background: #ffffff;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  container-type: inline-size;
}

.bike-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.bike-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--zinc-100);
}

.bike-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bike-card:hover .bike-card-img-wrap img {
  transform: scale(1.035);
}

.bike-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
  white-space: nowrap !important;
}

.bike-card-color-tag {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(9, 9, 11, 0.85);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-xs);
}

.bike-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.filter-btn {
  padding: 0.5rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--zinc-300);
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--zinc-700);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--zinc-950);
  color: var(--zinc-950);
}

.filter-btn.active {
  background: var(--zinc-950);
  color: #ffffff;
  border-color: var(--zinc-950);
}

/* ==========================================================================
   3. CATEGORY DIRECTION BANNERS ("Built for how you move")
   ========================================================================== */
.direction-section {
  background: #ffffff;
  padding: 6rem 0;
}

.direction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.direction-card {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  background: var(--zinc-950);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-xs);
}

.direction-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.direction-card:hover img {
  transform: scale(1.04);
}

.direction-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.3) 60%, transparent 100%);
  z-index: 2;
}

.direction-content {
  position: relative;
  z-index: 3;
  padding: 1.75rem;
}

.direction-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red-500);
  margin-bottom: 0.35rem;
}

.direction-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.direction-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
}

.direction-desc {
  font-size: 0.78rem;
  color: var(--zinc-300);
  margin-top: 0.4rem;
  max-width: 400px;
  line-height: 1.45;
}

.direction-arrow-box {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.direction-card:hover .direction-arrow-box {
  background: var(--red-600);
  border-color: var(--red-600);
}

/* ==========================================================================
   4. FINANCIAL CALCULATOR SLIDER (Architectural Clean Style)
   ========================================================================== */
.finance-section {
  background: #ffffff;
  border-top: 1px solid var(--zinc-200);
  border-bottom: 1px solid var(--zinc-200);
}

.finance-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-box {
  background: var(--warm-bg);
  border: 1px solid var(--zinc-200);
  padding: 1.75rem;
  border-radius: var(--radius-xs);
}

.calc-row {
  margin-bottom: 1.5rem;
}

.calc-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.calc-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zinc-800);
}

.calc-val-display {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--red-600);
}

.calc-range-input {
  width: 100%;
  height: 4px;
  background: var(--zinc-300);
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--red-600);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.calc-term-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.term-btn {
  flex: 1;
  padding: 0.55rem 0.5rem;
  background: #ffffff;
  border: 1px solid var(--zinc-300);
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--zinc-700);
  cursor: pointer;
  transition: all 0.15s ease;
}

.term-btn:hover {
  border-color: var(--zinc-950);
}

.term-btn.active {
  background: var(--zinc-950);
  color: #ffffff;
  border-color: var(--zinc-950);
}

/* Result Box */
.calc-result-card {
  background: var(--zinc-950);
  color: #ffffff;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-xs);
  border-top: 4px solid var(--red-600);
}

.calc-result-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--zinc-400);
  margin-bottom: 0.4rem;
}

.calc-result-amount {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.calc-result-amount span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--zinc-400);
}

.calc-breakdown-list {
  margin: 1.25rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.78rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  color: var(--zinc-300);
}

.breakdown-item strong {
  color: #ffffff;
  font-weight: 700;
}

/* ==========================================================================
   5. SHOWROOM & WORKSHOP SERVICES GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-xs);
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--red-600);
}

.service-icon {
  width: 28px;
  height: 28px;
  color: var(--red-600);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--zinc-950);
  margin-bottom: 0.35rem;
}

.service-card p {
  font-size: 0.78rem;
  color: var(--zinc-600);
  line-height: 1.55;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .direction-grid, .finance-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero-thumb-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-slide-overlay {
    background: linear-gradient(180deg, 
      rgba(9, 9, 11, 0.94) 0%, 
      rgba(9, 9, 11, 0.85) 60%, 
      rgba(9, 9, 11, 0.96) 100%
    );
  }
  .hero-slider-stage {
    height: auto;
    min-height: 520px;
  }
  .hero-slide-item.active {
    position: relative;
    min-height: 520px;
  }
  .hero-slide-bg img {
    object-position: center center;
  }
  .hero-red-accent-bar {
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    max-width: 220px;
  }
  .hero-content-wrap {
    padding: 3.25rem 0 4.5rem 0;
  }
  .hero-text-col {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-eyebrow {
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-eyebrow::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--red-500);
  }
  .hero-eyebrow::before {
    width: 18px;
  }
  .hero-title {
    font-size: 1.32rem;
    line-height: 1.15;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-tagline,
  .hero-desc {
    font-size: 0.8rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-pills-row {
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-price-tag {
    justify-content: center;
    align-items: baseline;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-thumb-row {
    display: none;
  }
  .hero-actions-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions-row .btn {
    width: auto;
    flex: 0 0 auto;
    max-width: fit-content;
    padding: 0.44rem 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    justify-content: center;
    white-space: nowrap;
  }
  .vehicle-grid,
  .bike-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .bike-card-title {
    font-size: 0.92rem;
  }
  .bike-price {
    font-size: 1.08rem;
  }
  .filter-tabs {
    gap: 0.35rem;
    padding-bottom: 0.65rem;
  }
  .filter-btn {
    padding: 0.42rem 0.8rem;
    font-size: 0.68rem;
  }
  .finance-grid {
    padding: 1.5rem 1.15rem !important;
  }
}

@media (max-width: 480px) {
  .hero-content-wrap {
    padding: 2.25rem 0 2.75rem 0;
  }
  .hero-text-col {
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }
  .hero-title {
    font-size: 1.16rem;
    line-height: 1.15;
    text-align: center;
  }
  .hero-tagline,
  .hero-desc {
    font-size: 0.75rem;
    line-height: 1.45;
    text-align: center;
    margin-bottom: 0.65rem;
  }
  .hero-pills-row {
    justify-content: center;
    gap: 0.28rem;
    margin-bottom: 0.85rem;
  }
  .hero-pill {
    font-size: 0.58rem;
    padding: 0.15rem 0.4rem;
  }
  .hero-price-tag {
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  .hero-actions-row {
    justify-content: center;
    gap: 0.38rem;
  }
  .hero-actions-row .btn {
    padding: 0.38rem 0.68rem;
    font-size: 0.66rem;
    gap: 0.32rem;
  }
  .hero-actions-row .btn svg {
    width: 13px;
    height: 13px;
  }
  .bike-card-title {
    font-size: 0.86rem;
  }
  .bike-price {
    font-size: 1rem;
  }
  .calc-result-amount {
    font-size: 1.55rem;
  }
}

/* ==============================================================================
   Single Bike Deep Dive View (bike-details.php)
   ============================================================================== */
.bike-breadcrumb-bar {
  background: var(--zinc-950);
  color: var(--zinc-400);
  font-size: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.bike-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bike-breadcrumb-list::-webkit-scrollbar {
  display: none;
}

.bike-breadcrumb-list a {
  color: var(--zinc-300);
  flex-shrink: 0;
  transition: color 0.15s ease;
  text-decoration: none;
}

.bike-breadcrumb-list a:hover {
  color: #ffffff;
}

.bc-chevron {
  color: var(--zinc-600);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.bc-active {
  color: #ffffff;
  font-weight: 700;
  flex-shrink: 0;
}

.bike-header-block {
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 100%;
}

.bike-badges-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.bike-badges-row .badge {
  font-size: 0.68rem;
  padding: 0.28rem 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 9999px !important;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.bike-title-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4.5vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  color: var(--zinc-950);
  word-break: break-word;
  letter-spacing: -0.015em;
}

.bike-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  color: var(--zinc-600);
  max-width: 100%;
  flex-wrap: wrap;
}

.color-swatch-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-600);
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #cbd5e1;
  flex-shrink: 0;
}

.bike-gallery-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.75rem;
  width: 100%;
  max-width: 100%;
}

.bike-gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #09090b;
  width: 100%;
}

.bike-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-count-pill {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gallery-thumbs-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: #f8fafc;
  border-top: 1px solid var(--border-light, #e2e8f0);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gallery-thumb-item {
  width: 76px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.bike-mobile-quick-card {
  display: none;
  background: #ffffff;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.bike-specs-card,
.bike-overview-card,
.bike-features-card,
.bike-pricing-box {
  background: #ffffff;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.bike-specs-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.86rem;
}

.bike-specs-table tr {
  border-bottom: 1px solid var(--zinc-100);
}

.bike-specs-table tr:last-child {
  border-bottom: none;
}

.bike-specs-table td {
  padding: 0.7rem 0;
  vertical-align: middle;
  word-break: break-word;
}

.spec-key {
  color: var(--zinc-500);
  font-weight: 600;
  width: 44%;
  padding-right: 0.5rem !important;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.spec-val {
  color: var(--zinc-950);
  font-weight: 700;
  width: 56%;
  font-size: 0.84rem;
  text-align: right;
}

.bike-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 0.65rem;
}

.bike-quick-stats-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bike-stat-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
}

.bike-stat-pill-label {
  font-size: 0.64rem;
  text-transform: uppercase;
  color: var(--zinc-500);
  font-weight: 700;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.15rem;
}

.bike-stat-pill-val {
  font-size: 0.84rem;
  color: var(--zinc-950);
  font-weight: 700;
  display: block;
}

/* Mobile Sticky Bottom CTA Bar */
.mobile-bike-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--zinc-200);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: 0.65rem 1rem;
  z-index: 990;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mobile-bike-bar-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mobile-bike-bar-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--zinc-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-bike-bar-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--zinc-950);
  line-height: 1;
}

.mobile-bike-bar-cta {
  flex-shrink: 0;
}

/* Compact & Reduced Action Buttons */
.bike-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.bike-btn-whatsapp {
  width: 100%;
  justify-content: center;
  padding: 0.48rem 0.85rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  height: 38px !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.22);
}

.bike-secondary-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  width: 100%;
}

.bike-btn-secondary {
  width: 100%;
  justify-content: center;
  padding: 0.38rem 0.5rem !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  height: 32px !important;
  border-radius: 5px !important;
  text-transform: uppercase !important;
  background: #ffffff;
  color: var(--zinc-800);
  border: 1px solid var(--zinc-300);
  transition: all 0.15s ease;
}

.bike-btn-secondary:hover {
  background: var(--zinc-100);
  border-color: var(--zinc-400);
  color: var(--zinc-950);
}

@media (max-width: 900px) {
  .bike-mobile-quick-card {
    display: block;
  }
  .bike-sticky-aside {
    display: none;
  }
  .mobile-bike-bottom-bar {
    display: flex;
  }
  /* On bike details page, hide the circular floating WhatsApp button completely so it never blocks text */
  body.has-bike-bottom-bar .whatsapp-float,
  body.bike-detail-view .whatsapp-float {
    display: none !important;
  }
  body.has-bike-bottom-bar {
    padding-bottom: 4rem !important;
  }
}

@media (max-width: 640px) {
  .bike-specs-card,
  .bike-overview-card,
  .bike-features-card,
  .bike-pricing-box,
  .bike-mobile-quick-card {
    padding: 1.15rem 0.95rem;
  }
  .spec-key {
    width: 42%;
    font-size: 0.75rem;
  }
  .spec-val {
    width: 58%;
    font-size: 0.82rem;
  }
  .bike-badges-row .badge {
    font-size: 0.64rem;
    padding: 0.22rem 0.52rem;
  }
  .bike-btn-whatsapp {
    height: 35px !important;
    font-size: 0.74rem !important;
    padding: 0.4rem 0.7rem !important;
  }
  .bike-btn-secondary {
    height: 30px !important;
    font-size: 0.67rem !important;
    padding: 0.28rem 0.38rem !important;
    gap: 0.25rem !important;
  }
  .mobile-bike-bottom-bar {
    padding: 0.45rem 0.85rem;
    height: 48px;
  }
  .mobile-bike-bar-price {
    font-size: 0.96rem;
  }
  .mobile-bike-bar-cta .btn {
    padding: 0.38rem 0.7rem !important;
    font-size: 0.72rem !important;
    height: 30px !important;
  }
}

/* ==============================================================================
   Trade-In & Showroom Advantages Card (sell-trade-in.php)
   ============================================================================== */
.showroom-info-card {
  background: var(--zinc-950);
  color: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.trade-in-form-card {
  background: #ffffff;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.showroom-info-card .section-headline,
.showroom-info-card h3 {
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 1.15rem;
}

.showroom-info-card .showroom-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.showroom-info-card .showroom-detail-item > svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #f87171;
  margin-top: 0.15rem;
}

.showroom-detail-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
  background: rgba(220, 38, 38, 0.18);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.showroom-detail-icon svg {
  width: 15px;
  height: 15px;
}

.showroom-detail-text {
  flex: 1;
  min-width: 0;
}

.showroom-info-card h4,
.showroom-detail-text h4 {
  font-family: var(--font-display);
  font-size: 0.80rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #ffffff;
  margin: 0 0 0.2rem 0;
  line-height: 1.25;
}

.showroom-info-card p,
.showroom-detail-text p {
  color: #94a3b8;
  font-size: 0.76rem;
  line-height: 1.48;
  margin: 0;
}

.showroom-info-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.15rem;
  margin-top: 1.15rem;
}

.showroom-info-footer p {
  color: #94a3b8;
  font-size: 0.76rem;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.showroom-info-footer .btn {
  width: 100%;
  height: 36px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
}

/* Mobile & Tablets (< 768px) */
@media (max-width: 768px) {
  .showroom-info-card,
  .trade-in-form-card {
    padding: 1.05rem 0.85rem !important;
  }

  .showroom-info-card .section-headline,
  .showroom-info-card h3 {
    font-size: 0.80rem !important;
    letter-spacing: 0.03em !important;
    margin-bottom: 0.75rem !important;
  }

  .showroom-info-card .showroom-detail-item {
    gap: 0.55rem !important;
    margin-bottom: 0.75rem !important;
  }

  .showroom-detail-icon {
    width: 24px !important;
    height: 24px !important;
    border-radius: 4px !important;
    margin-top: 0.05rem !important;
  }

  .showroom-detail-icon svg,
  .showroom-info-card .showroom-detail-item > svg {
    width: 12px !important;
    height: 12px !important;
  }

  .showroom-info-card h4,
  .showroom-detail-text h4 {
    font-size: 0.68rem !important;
    letter-spacing: 0.02em !important;
    margin-bottom: 0.12rem !important;
    line-height: 1.25 !important;
  }

  .showroom-info-card p,
  .showroom-detail-text p {
    font-size: 0.66rem !important;
    line-height: 1.4 !important;
    color: #94a3b8 !important;
  }

  .showroom-info-footer {
    padding-top: 0.75rem !important;
    margin-top: 0.75rem !important;
  }

  .showroom-info-footer p {
    font-size: 0.66rem !important;
    margin-bottom: 0.45rem !important;
    line-height: 1.38 !important;
  }

  .showroom-info-footer .btn {
    height: 32px !important;
    font-size: 0.68rem !important;
    padding: 0.35rem 0.7rem !important;
  }
}

/* Ultra-compact Phones (< 380px) */
@media (max-width: 380px) {
  .showroom-info-card,
  .trade-in-form-card {
    padding: 0.9rem 0.7rem !important;
  }

  .showroom-info-card .section-headline,
  .showroom-info-card h3 {
    font-size: 0.74rem !important;
  }

  .showroom-info-card h4,
  .showroom-detail-text h4 {
    font-size: 0.64rem !important;
  }

  .showroom-info-card p,
  .showroom-detail-text p {
    font-size: 0.62rem !important;
    line-height: 1.35 !important;
  }

  .showroom-detail-icon {
    width: 20px !important;
    height: 20px !important;
  }

  .showroom-detail-icon svg,
  .showroom-info-card .showroom-detail-item > svg {
    width: 10px !important;
    height: 10px !important;
  }
}
