:root {
  /* Brand palette */
  --brand-navy: #0A1A3F;
  --brand-blue: #2346D6;
  --brand-blue-hover: #1A37B0;
  --accent-yellow: #FFC85C;
  --accent-yellow-soft: #FFF4DC;
  --accent-orange: #FF653F;

  --accent-color: var(--brand-blue);
  --accent-hover: var(--brand-blue-hover);
  --bs-link-color: var(--brand-blue);
  --bs-link-color-rgb: 35, 70, 214;
  --bs-link-hover-color: var(--brand-blue-hover);
  --bs-link-hover-color-rgb: 26, 55, 176;
  --bs-heading-color: #000;
  --bs-secondary-color: #909090;
  /* Slightly rounded buttons, fields and alerts site-wide */
  --bs-border-radius: 0.5rem;
  --bs-border-radius-sm: 0.375rem;
  --bs-border-radius-lg: 0.75rem;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #555;
}

h1, h2, h3, h4, h5, h6 {
  color: #000;
}

/* Tom Select custom styles */
.ts-wrapper.single .ts-control {
  border-radius: var(--bs-border-radius);
  padding: 0.8rem 0.75rem;
  min-height: calc(1.5em + 0.75rem + 2px);
}

.ts-wrapper .ts-control {
  border-radius: var(--bs-border-radius);
}

.ts-wrapper .ts-dropdown {
  border-radius: var(--bs-border-radius);
}

.ts-wrapper.single .ts-control::after {
  border-color: #333 transparent transparent transparent;
}

.ts-wrapper .ts-control input {
  font-size: 1rem;
}
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: #000;
  }

  .btn-rounded {
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
}

.btn-lg {
  font-size: 1rem;
}

.btn-dark {
  background-color: #000;
  color: #fff;
  border: none;
}

.btn-dark:hover {
  background-color: #333;
}

.btn-white {
  background-color: #fff;
  color: #000;
  border: none;
}

.btn-white:hover {
  background-color: #f5f7f9;
}

.btn-outline {
  background-color: transparent;
  color: #000;
  border: 2px solid #000;
}

.btn-outline:hover {
  background-color: #000;
  color: #fff;
}


.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: #000 !important;
}

.navbar .nav-link {
  font-weight: 300;
}

.navbar-nav .nav-item {
  margin-right: 26px;
}

.navbar-nav .nav-item:last-child {
  margin-right: 0;
}

/* 2-line Hamburger Menu with X animation */
.hamburger-2line {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.hamburger-2line:focus {
  box-shadow: none;
  outline: none;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease;
  position: absolute;
}

.hamburger-line:first-child {
  transform: translateY(-5px);
}

.hamburger-line:last-child {
  transform: translateY(5px);
}

/* X animation when open */
.hamburger-2line[aria-expanded="true"] .hamburger-line:first-child {
  transform: rotate(45deg);
}

.hamburger-2line[aria-expanded="true"] .hamburger-line:last-child {
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------------
   Transparent navbar (homepage) — sits on top of the hero slider.
   Theme is set per slide via data-nav-theme="light|dark" on each
   .swiper-slide; JS toggles .nav-theme-light / .nav-theme-dark here.
   ------------------------------------------------------------------ */
.navbar.navbar-transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1045; /* above mobile menu backdrop (1040) */
  background: transparent;
  transition: background-color 0.3s ease;
}

/* Soft top shade so light items stay legible on bright photos */
.navbar-transparent::before {
  content: "";
  position: absolute;
  inset: 0 0 -60px 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
}

.navbar-transparent.nav-theme-light::before {
  opacity: 1;
}

/* Logo swap */
.navbar-logo--light {
  display: none;
}

.navbar-transparent.nav-theme-light .navbar-logo--dark {
  display: none;
}

.navbar-transparent.nav-theme-light .navbar-logo--light {
  display: inline-block;
}

/* Hamburger color */
.navbar-transparent .hamburger-line {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.navbar-transparent.nav-theme-light .hamburger-line {
  background-color: #fff;
}

/* Desktop link colors (mobile links live in the light dropdown) */
@media (min-width: 768px) {
  .navbar-transparent .nav-link {
    transition: color 0.3s ease, opacity 0.2s ease;
  }

  .navbar-transparent.nav-theme-light .nav-link {
    color: #fff !important;
  }

  .navbar-transparent .nav-link:hover {
    opacity: 0.75;
  }
}

/* Mobile: when the menu is open, give the bar a solid background */
@media (max-width: 767.98px) {
  .navbar-transparent:has(.navbar-collapse.show) {
    background: #f5f7f9;
  }

  .navbar-transparent:has(.navbar-collapse.show)::before {
    opacity: 0;
  }

  .navbar-transparent.nav-theme-light:has(.navbar-collapse.show) .navbar-logo--dark {
    display: inline-block;
  }

  .navbar-transparent.nav-theme-light:has(.navbar-collapse.show) .navbar-logo--light {
    display: none;
  }

  .navbar-transparent.nav-theme-light:has(.navbar-collapse.show) .hamburger-line {
    background-color: #000;
  }
}

/* Sign up pill button (navbar) */
.nav-signup {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-signup:hover,
.nav-signup:focus-visible {
  background: #333;
  color: #fff !important;
}

.nav-signup-arrow {
  transition: transform 0.2s ease;
}

.nav-signup:hover .nav-signup-arrow {
  transform: translateX(3px);
}

/* On dark hero slides, invert so the pill stands out */
@media (min-width: 768px) {
  .navbar-transparent.nav-theme-light .nav-signup {
    background: #fff;
    color: #111 !important;
  }

  .navbar-transparent.nav-theme-light .nav-signup:hover {
    background: #e9ecef;
  }
}

@media (max-width: 767.98px) {
  .nav-signup {
    margin: 0.5rem 0 0.25rem;
  }
}

/* Sign Out button styling */
.nav-signout {
  font-size: 1rem;
  font-weight: 300;
  text-decoration: none;
  padding: 0.5rem 1rem;
  vertical-align: baseline;
}

/* Mobile menu overlay */
@media (max-width: 767.98px) {
  .nav-signout {
    padding: 0.5rem 0;
  }

  .navbar-logo {
    height: 26px !important;
  }

  /* Make navbar container relative for absolute positioning */
  .navbar > .container {
    position: static;
  }

  .navbar {
    position: relative;
  }

  /* Overlay menu styles */
  .navbar-collapse.collapse {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f5f7f9;
    z-index: 1050;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .navbar-collapse.collapse.show {
    max-height: 500px;
    transition: max-height 0.35s ease-in;
  }

  .navbar-collapse .navbar-nav {
    padding: 1rem 1.5rem;
  }

  .navbar-collapse .navbar-nav:first-child {
    padding-top: 1.5rem;
  }

  .navbar-collapse .navbar-nav:last-child {
    padding-bottom: 1.5rem;
    border-top: 1px solid #ddd;
  }

  /* Menu backdrop */
  .menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .menu-backdrop.show {
    opacity: 1;
    visibility: visible;
  }
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 92vh;
  min-height: 500px;
  max-height: 800px;
}

.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  opacity: 0 !important;
  transition: opacity 0.8s ease;
}

.hero-swiper .swiper-slide-active {
  opacity: 1 !important;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

@media (max-width: 767px) {
  .hero-slide-overlay--none {
    background: none;
  }
}

.hero-slide-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
}

.hero-slide-heading {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  max-width: 550px;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-slide-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  margin-bottom: 1.5rem;
}


/* Pagination dots - Rivian style */
.hero-swiper-pagination {
  position: absolute;
  bottom: 22px !important;
  left: 50% !important;
  width: auto !important;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 18px;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 10px;
  opacity: 1;
  transition: all 0.4s ease;
  margin: 0 !important;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: #111;
  width: 28px;
}

@media (max-width: 767.98px) {
  .hero-swiper {
    height: 85vh;
    min-height: 450px;
    max-height: 650px;
  }

  .hero-slide-content {
    top: auto;
    bottom: 80px;
    transform: none;
  }

  .hero-slide-heading {
    font-size: 1.85rem;
  }

  .hero-slide-text {
    font-size: 0.95rem;
  }

  .hero-slider .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }

  .hero-swiper-pagination {
    bottom: 24px;
  }
}

.form-control {
  padding: 0.8rem 0.75rem;
  line-height: 1.5;
}

.fw-900 {
  font-weight: 900 !important;
}


/* Truck Card Styles */
.truck-card-img {
  height: 200px;
  object-fit: cover;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Show Page - Image Gallery */
.truck-gallery .main-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #f0f0f0;
  border-radius: 4px;
}

.truck-gallery .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .truck-gallery .main-image {
    height: 280px;
  }
}

.truck-thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.truck-thumbnail:hover,
.truck-thumbnail.active {
  border-color: #000;
}

.thumbnail-row {
  padding-bottom: 10px;
}

/* Show Page - Details */
.truck-details table th {
  width: 120px;
  color: #666;
  font-weight: 500;
}

.price-tag {
  padding: 10px 0;
  border-bottom: 1px solid #dee2e6;
}

/* Filter Sidebar */
.filter-sidebar {
  position: sticky;
  top: 20px;
}

.filter-sidebar .form-control-sm,
.filter-sidebar .form-select-sm,
.form-select-sm {
  line-height: 1.5;
  padding: 0.8rem 0.75rem;
  height: auto;
}


.filter-form .form-label {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Featured Listings */
.featured-listings {
  background-color: #f8f9fa;
}

/* Active Filters */
.active-filters .badge {
  font-weight: normal;
}

/* VIN Decoder */
.vin-status {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

#vin-input::placeholder {
  text-transform: none;
}

/* Accent Color Utilities */
.text-accent {
  color: var(--accent-color) !important;
}

.bg-accent {
  background-color: var(--accent-color) !important;
}

.btn-accent {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: #fff;
}

.btn-outline-accent {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-outline-accent:hover {
  background-color: var(--accent-color);
  color: #fff;
}

.border-accent {
  border-color: var(--accent-color) !important;
}

/* Search Input */
.search-input {
  border-radius: var(--bs-border-radius);
  border: 1px solid #ddd;
  padding: 0.8rem 0.75rem;
  line-height: 1.5;
  background-color: #f8f9fa;
}

.search-input:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}

.search-input + .btn-outline-secondary {
  border-color: #ddd;
}

/* Category Pills - Horizontally Scrollable */
.category-pills-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.category-pills-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.category-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  width: max-content;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border: 1px solid #ddd;
  border-radius: var(--bs-border-radius);
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.category-pill:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.category-pill.active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  font-weight: 500;
}

/* Filter Sidebar - Updated */
.filter-sidebar {
  position: sticky;
  top: 20px;
  background: #fff;
}

.filter-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.filter-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.filter-section-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile Filter Toggle */
.filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  margin-bottom: 1rem;
}

.filter-toggle:focus {
  outline: none;
}

.filter-toggle .filter-title {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-arrow {
  transition: transform 0.3s ease;
}

.filter-toggle[aria-expanded="true"] .filter-arrow {
  transform: rotate(180deg);
}

/* Vehicle Cards */
.vehicle-card {
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.vehicle-card:hover {
  border-color: #cfd4da;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.vehicle-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef0f2;
}

.vehicle-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(90deg, #e8e8e8 25%, #ddd 50%, #e8e8e8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.vehicle-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 6px;
  color: #fff;
  background: rgba(17, 17, 17, 0.82);
}

.vehicle-badge-new {
  top: 10px;
  left: 10px;
}

.vehicle-badge-photos {
  bottom: 10px;
  right: 10px;
  font-weight: 500;
  background: rgba(17, 17, 17, 0.65);
}

.vehicle-card-body {
  padding: 0.875rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.vehicle-eyebrow {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vehicle-year-model {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.25rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vehicle-specs {
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vehicle-dot {
  margin: 0 0.4rem;
  color: #9ca3af;
  font-size: 0.7rem;
  vertical-align: 1px;
}

.vehicle-card-footer {
  margin-top: auto;
}

.vehicle-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 0.15rem;
  letter-spacing: -0.01em;
}

.vehicle-price-empty {
  font-size: 1.05rem;
  font-weight: 600;
  color: #6b7280;
}

.vehicle-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vehicle-location svg {
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .vehicle-card-body { padding: 0.75rem 0.75rem 0.875rem; }
  .vehicle-year-model { font-size: 0.95rem; }
  .vehicle-specs { font-size: 0.8rem; }
  .vehicle-price { font-size: 1.15rem; }
  .vehicle-badge { font-size: 0.7rem; padding: 4px 6px; }
}

/* Location Filter Section */
.location-filter-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.location-display {
  cursor: pointer;
  padding: 0.75rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: background-color 0.2s ease;
}

.location-display:hover {
  background: #e9ecef;
}

.location-icon {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-text {
  font-size: 0.95rem;
  line-height: 1.3;
}

.location-radius {
  font-size: 0.8rem;
  color: #666;
  margin-top: 2px;
}

.edit-icon {
  color: #666;
  flex-shrink: 0;
}

.location-prompt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem;
  background: #f8f9fa;
  border: 1px dashed #ccc;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  color: #333;
}

.location-prompt:hover {
  background: #e9ecef;
  border-color: var(--accent-color);
}

.location-prompt span {
  flex-grow: 1;
  text-align: left;
}

/* Location Modal */
.zip-input-field {
  background: #f8f9fa;
  border: none;
  border-bottom: 2px solid #ddd;
  border-radius: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.zip-input-field:focus {
  background: #f8f9fa;
  border-bottom-color: var(--accent-color);
  box-shadow: none;
}

.radius-section .form-range {
  height: 8px;
}

.radius-section .form-range::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.radius-section .form-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.radius-value {
  color: var(--accent-color);
}

/* Category Grid Section */
.category-grid-section {
  background-color: #fff;
  padding: 3rem 0;
}

.category-grid-section .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.category-grid-section .section-subtitle {
  color: #666;
  margin-bottom: 2rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 576px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  aspect-ratio: 3 / 2;
  background: #f5f5f5;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.category-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
  padding: 2rem 0.75rem 0.3rem;
  pointer-events: none;
}

.category-card-label {
  color: #000;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 575.98px) {
  .category-card-label {
    font-size: 0.75rem;
  }

  .category-card-overlay {
    padding: 3rem 0.75rem 0.1rem;
  }
}

/* View all categories link */
.view-all-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: 2px dashed #ddd;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.2s ease;
  aspect-ratio: 3 / 2;
}

.view-all-categories:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: #fff;
}

/* Category placeholder when image is missing */
.category-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

/* Modal Backdrop */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.3) !important;
}

.modal-backdrop.show {
  opacity: 1 !important;
}

/* Toast Notifications */
.toast-container {
  z-index: 1100;
}

.toast {
  min-width: 280px;
  max-width: 350px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-body {
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
}

@media (max-width: 575.98px) {
  .toast-container {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    padding: 1rem !important;
  }

  .toast {
    min-width: 90vw;
    max-width: 90vw;
  }
}

/* Pagination - Dark/Black style */
.page-link {
  color: #000;
}

.page-link:hover {
  color: #000;
  background-color: #e9ecef;
}

.page-item.active .page-link {
  background-color: #000;
  border-color: #000;
  color: #fff;
}

.page-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.15);
}

/* Dashboard cards */
.card {
  border: none;
  background-color: #f5f7f9;
}

/* Heading size utilities */
.h2 {
  font-size: 2rem;
}

/* Main content spacing */
.main-content {
  position: relative;
  padding-top: 2rem;
}

.main-content.no-top-padding {
  padding-top: 0;
}

/* Bootstrap alert colors */
.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.alert-primary {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

/* Alert slide container - slides in from right */
.alert-slide-container {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1050;
  max-width: 400px;
}

.alert-slide-container .alert {
  animation: slideInRight 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Footer */
@media (max-width: 767.98px) {
  .footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }
}

footer .nav-link {
  font-weight: 300;
}

/* Photo reorder drag and drop */
.sortable-ghost {
  opacity: 0.4;
}

.sortable-chosen {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sortable-drag {
  opacity: 1;
}

.photo-item {
  transition: transform 0.15s ease;
}

.photo-item:hover {
  transform: scale(1.05);
}

/* Why Haulver Section */
.why-haulver {
  background-color: #fff;
}

.why-haulver .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(54, 104, 212, 0.1);
}

.why-haulver .feature-icon img {
  width: 56px;
  height: 56px;
}

/* How It Works Section */
.how-it-works {
  background-color: #f8f9fa;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
}

/* Any Business Section */
.any-business {
  background: url("/images/flames-food-truck-wide-angle-2.webp") no-repeat center top/cover;
  min-height: 600px;
  display: flex;
  align-items: flex-start;
  padding: 4rem 0;
}

@media (max-width: 767.98px) {
  .any-business {
    background-image: url("/images/food-truck-for-sale-mobile.webp");
  }
}


/* Comparison Links Section */
.comparison-links-section {
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.comparison-links-header {
  font-weight: 600;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.comparison-link-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  background-color: #f5f7f9;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.2s ease;
  height: 100%;
  position: relative;
}

.comparison-link-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #333;
}

.comparison-link-site-name {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.3;
}

.comparison-link-badge {
  font-size: 0.7rem;
  line-height: 1.3;
}

.comparison-link-badge.supported {
  color: #28a745;
}

.comparison-link-badge.unsupported {
  color: #999;
}

.comparison-link-arrow {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  color: #ccc;
  transition: color 0.2s ease;
}

.comparison-link-card:hover .comparison-link-arrow {
  color: var(--accent-color);
}

/* Seller CTA Section */
.seller-cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.seller-cta h2 {
  font-weight: 700;
  color: #fff;
}

.seller-cta .lead {
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Guides Index Hero */
.guides-hero {
  background: url("/images/orange-antique-truck-banner.jpg") no-repeat left center/cover;
  padding: 6rem 0;
  color: #fff;
  position: relative;
}

.guides-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.guides-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.guides-hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .guides-hero {
    padding: 3rem 0;
  }

  .guides-hero-title {
    font-size: 1.75rem;
  }

  .guides-hero-description {
    font-size: 1rem;
  }
}

/* About Page */
.about-hero {
  background: url("/images/orange-antique-truck-banner.jpg") no-repeat left center/cover;
  padding: 6rem 0;
  color: #fff;
  position: relative;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.about-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
}

.about-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-highlight {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

@media (max-width: 767.98px) {
  .about-hero {
    padding: 3rem 0;
  }

  .about-hero-title {
    font-size: 1.75rem;
  }
}

/* Guide Cards */
.guide-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.guide-card-image {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
}

.guide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.guide-card:hover .guide-card-image img {
  transform: scale(1.03);
}

.guide-card-body {
  padding: 0.75rem 0;
}

.guide-card-date {
  font-size: 0.8rem;
}

.guide-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.guide-card-title-link {
  text-decoration: none;
  color: inherit;
}

.guide-card-title-link:hover .guide-card-title {
  color: var(--accent-color);
}

.guide-card-excerpt {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Contact Page */
.contact-page-bg,
.contact-page-bg .navbar {
  background-color: #f7e6df !important;
}

.contact-page-bg footer.border-top,
.contact-page-bg .navbar.border-bottom {
  border-color: #c9a68e !important;
}

.contact-page {
  padding-top: 1rem;
  overflow-x: hidden;
}

.contact-container {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.contact-heading {
  font-size: 2.5rem;
  font-weight: 700;
}

.contact-subtext {
  font-size: 1.05rem;
  max-width: 480px;
}

.contact-info-item {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #c9a68e;
}

.contact-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-card-text {
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.contact-form-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-form-subtitle {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.contact-form-card .form-control {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
}

.contact-form-card .form-control:focus {
  background-color: #fff;
  border-color: var(--accent-color);
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .contact-heading {
    font-size: 1.75rem;
  }
}

/* Guide Article */
.guide-article {
  line-height: 1.75;
}

.guide-article p {
  margin-bottom: 1.25rem;
}

.guide-article h2 {
  margin-top: 2.5rem;
}

.guide-article ul {
  margin-bottom: 1.25rem;
}

.guide-article ul li {
  margin-bottom: 0.5rem;
}

/* Guide Price Table */
.guide-price-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 0;
}

.guide-price-table thead th {
  background-color: var(--accent-color);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e6e6e6;
  vertical-align: middle;
}

.guide-price-table tbody td {
  padding: 0.85rem 1rem;
  font-size: 0.925rem;
  color: #333;
  border: 1px solid #e6e6e6;
  vertical-align: middle;
}

.guide-price-table tbody tr:nth-child(even) td {
  background-color: #f7f7f8;
}

/* Guide CTA */
.guide-cta {
  background-color: #f5f7f9;
  border-radius: 12px;
  padding: 2.5rem 2rem;
}

/* Guide FAQ */
.guide-faq h3 {
  font-weight: 600;
}

.guide-faq p {
  color: #444;
}

/* Listings page: heading, chips, toolbar */
.results-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

.results-near {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--bs-link-color, #2563eb);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid #cfd4da;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 0.85rem;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.filter-chip:hover {
  border-color: #111;
  color: #111;
}

.filter-chip.active,
.filter-chip.applied {
  border-color: #111;
  background: #111;
  color: #fff;
}

.filter-chip.applied {
  background: #f1f3f5;
  color: #111;
  border-color: #cfd4da;
}

.filter-chip.applied:hover {
  border-color: #111;
}

.filter-chip-x {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.75;
}

.chip-clear {
  font-size: 0.85rem;
  color: #6b7280;
  margin-left: 0.25rem;
}

.chip-clear:hover {
  color: #111;
}

.category-pill-count {
  margin-left: 0.3rem;
  opacity: 0.65;
  font-size: 0.8rem;
}

.results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.results-count {
  font-size: 1rem;
  color: #374151;
}

.results-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.results-sort .form-select {
  width: auto;
}

.location-filter-section .form-control,
.location-filter-section .form-select {
  min-width: 0;
}

@media (min-width: 992px) {
  .filter-apply-btn { display: none; }
}

@media (max-width: 575.98px) {
  .results-title { font-size: 1.3rem; }
  .results-near { font-size: 0.95rem; white-space: normal; }
  .chip-row:not(.chip-row-applied) {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .chip-row:not(.chip-row-applied)::-webkit-scrollbar { display: none; }
}

/* Card seller line */
.vehicle-seller {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid #eef0f2;
  font-size: 0.8rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vehicle-seller-native {
  color: #111;
  font-weight: 600;
}

.vehicle-seller-native svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

.vehicle-seller-cta {
  color: var(--accent-color);
}

.vehicle-location-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sell form: photo uploader */
.photo-pick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.photo-pick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1 1 160px;
  padding: 0.85rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

/* "Take photos" only makes sense on phones/tablets */
@media (hover: hover) and (pointer: fine) {
  .photo-pick-camera { display: none; }
  .photo-pick-library { flex: 0 1 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.photo-grid:empty {
  display: none;
}

.photo-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #eef0f2;
  overflow: hidden;
}

.photo-tile-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tile-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  font-size: 11px;
  color: #6b7280;
  text-align: center;
  word-break: break-all;
}

.photo-grid .photo-tile:first-child::before {
  content: "Main";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 1px 6px;
  font-size: 10px;
  color: #fff;
  background: rgba(17, 17, 17, 0.8);
}

.photo-tile.is-uploading .photo-tile-img {
  opacity: 0.55;
}

.photo-tile-progress {
  display: none;
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.photo-tile.is-uploading .photo-tile-progress {
  display: block;
}

.photo-tile-bar {
  width: 0;
  height: 100%;
  background: #111;
  transition: width 0.2s ease;
}

.photo-tile-retry {
  display: none;
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(185, 28, 28, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.photo-tile.is-failed .photo-tile-retry {
  display: block;
}

.photo-tile-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 3;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.75);
  color: #fff;
  font-size: 16px;
  line-height: 26px;
  padding: 0;
}

/* Sell form: VIN scan, specs, description helper */
.vin-scan-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--accent-color);
  text-decoration: none;
}

.vin-scan-btn:hover {
  text-decoration: underline;
}

.vin-scan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1rem;
  margin-top: 0.25rem;
}

.vin-scan-intro {
  flex-basis: 100%;
  font-size: 0.85rem;
  color: #6c757d;
}

/* Computers have no camera to point at a sticker: just offer the upload */
@media (hover: hover) and (pointer: fine) {
  .vin-scan-camera { display: none; }
}

.specs-details summary {
  cursor: pointer;
  padding: 0.5rem 0;
}

.description-assist-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

/* Truck collage background (sell, login, register) */
.collage-page {
  position: relative;
  isolation: isolate;
  padding: 3rem 0 4rem;
}

.truck-collage {
  position: absolute;
  inset: -2rem 0 0;  /* reach up under the main-content top padding */
  z-index: -1;
  overflow: hidden;
  background: #2a2a2a;
}

/* Stays put while the form scrolls, but only within the page section */
.truck-collage-grid {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  padding: 0 16px;
  overflow: hidden;
}

.truck-collage-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.42);
}

.truck-collage-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.truck-collage-col:nth-child(odd) {
  margin-top: -90px;
}

.truck-collage-col:nth-child(3n) {
  margin-top: -40px;
}

.truck-collage-card {
  flex: none;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.truck-collage-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.truck-collage-cutout img {
  object-fit: contain;
  padding: 8%;
  mix-blend-mode: multiply; /* drop the off-white box around cutouts */
}

.collage-panel {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1199.98px) {
  .truck-collage-grid { grid-template-columns: repeat(5, 1fr); }
  .truck-collage-col:nth-child(n+6) { display: none; }
}

/* Phones: no collage (its lazy images never download), plain form */
@media (max-width: 767.98px) {
  .truck-collage { display: none; }
  .collage-page { padding: 1rem 0 2rem; }
  .collage-panel {
    padding: 0.5rem 0;
    box-shadow: none;
    border-radius: 0;
  }
}

/* Saved trucks (heart) and saved searches */
.vehicle-card-wrap {
  position: relative;
  height: 100%;
}

.fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: #222;
  transition: transform 0.15s ease, color 0.15s ease;
}

.fav-btn .fav-icon path {
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: fill 0.15s ease;
}

.fav-btn.is-saved { color: #e0245e; }
.fav-btn.is-saved .fav-icon path { fill: currentColor; }
.fav-btn:active { transform: scale(0.9); }

.fav-btn-card {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.fav-btn-card:hover { color: #e0245e; }

.fav-btn-inline {
  flex: none;
  padding: 0.4rem 0.85rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.fav-btn-inline:hover { border-color: #e0245e; color: #e0245e; }

.results-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.save-search-form { margin: 0; }

.save-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid #222;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.save-search-btn:hover { background: #222; color: #fff; }

.nav-saved {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ===== Sell on Haulver (homepage) ===== */
.sell-paths {
  background: var(--brand-navy);
  color: #fff;
  padding: 5rem 0;
}

.sell-paths-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.sell-paths-head h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.sell-paths-head p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin: 0;
}

.sell-path-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #fff;
  text-decoration: none;
}

.sell-path-media {
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
}

.sell-path-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sell-path-card:hover { color: #fff; }
.sell-path-card:hover .sell-path-img { transform: scale(1.04); }

.sell-path-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 1.75rem 0.25rem 0;
}

.sell-path-eyebrow,
.marketing-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.sell-path-eyebrow { color: var(--accent-yellow); }

.sell-path-body h3 {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.sell-path-body p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.sell-path-body .sell-path-btn { margin-top: auto; }

.sell-path-btn,
.marketing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.sell-path-btn,
.marketing-btn-light {
  background: #fff;
  color: #111;
}

.sell-path-card:hover .sell-path-btn,
.marketing-btn-light:hover { background: #e9e9e9; color: #111; }

.marketing-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(4px);
}

.marketing-btn-ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }

/* ===== Marketing pages (/sell-my-truck, /dealers) ===== */
.marketing-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #111 var(--hero-image) center / cover no-repeat;
  isolation: isolate;
}

.marketing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.82) 100%);
}

.marketing-hero-inner {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.marketing-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.marketing-hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin-bottom: 2rem;
}

.marketing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.marketing-h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.marketing-answer {
  max-width: 820px;
}

.marketing-answer p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #333;
}

.marketing-facts {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.marketing-facts li {
  background: var(--accent-yellow-soft);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.1rem;
}

.marketing-facts strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
}

.marketing-facts li:first-child { background: var(--accent-yellow); }

.marketing-facts span { color: rgba(10, 26, 63, 0.75); font-size: 0.95rem; }

.split-row + .split-row { margin-top: 4.5rem; }

.split-img {
  width: 100%;
  aspect-ratio: 9 / 10;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.split-title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 0.25rem;
}

.split-subtitle {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #a3a3a3;
  margin-bottom: 1.75rem;
}

.split-body p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #222;
  max-width: 560px;
}

.marketing-tips { background: #f4f5f7; }
.marketing-tips h3 { font-weight: 700; margin-bottom: 0.75rem; }

.faq-list { max-width: 860px; margin: 0 auto; }
.marketing-faq .marketing-h2 { text-align: center; }

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 1.1rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0.75rem 0 0; color: #444; line-height: 1.7; max-width: 760px; }

.marketing-cta {
  background: var(--brand-navy);
  color: #fff;
  padding: 5rem 0;
}

.marketing-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.marketing-cta p { color: rgba(255, 255, 255, 0.75); font-size: 1.1rem; margin-bottom: 1.75rem; }
.marketing-cta .marketing-cta-note { font-size: 0.95rem; margin: 1.5rem 0 0; }
.marketing-cta .marketing-cta-note a { color: #fff; }

.marketing-steps-section { background: #252826; color: #fff; padding: 4.5rem 0 !important; }
.marketing-steps-section .marketing-h2,
.marketing-steps-section h3 { color: #fff; }
.marketing-steps-section .text-muted { color: rgba(255, 255, 255, 0.65) !important; }

.marketing-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.marketing-steps li {
  counter-increment: step;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
}

.marketing-steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-yellow);
  color: var(--brand-navy);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.marketing-steps h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; }
.marketing-steps p { color: rgba(255, 255, 255, 0.72); margin: 0; }

.dealer-apply-intro {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
}

.dealer-apply-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  object-position: 60% 70%;
}

.dealer-apply-intro-body { padding: 2.5rem; }

.dealer-apply-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.dealer-apply-intro ul { padding-left: 1.1rem; color: #333; }
.dealer-apply-intro li::marker { color: var(--accent-orange); }

.dealer-apply-form {
  background: #0d0d0e;
  border-radius: 24px;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dealer-apply-form > input[type="submit"] { align-self: flex-start; }

.dealer-apply-form-head { margin-bottom: 1.5rem; }
.dealer-apply-form-head h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.dealer-apply-form-head p { color: rgba(255, 255, 255, 0.6); margin: 0; }

.dealer-apply-form .form-control,
.dealer-apply-form .form-select {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 12px;
  padding: 0.95rem 1rem;
}

.dealer-apply-form .form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.dealer-apply-form .form-control::placeholder { color: rgba(255, 255, 255, 0.6); }
.dealer-apply-form .form-select:invalid,
.dealer-apply-form .form-select option[value=""] { color: rgba(255, 255, 255, 0.6); }
.dealer-apply-form .form-select option { background: #1c1c1e; color: #fff; }

.dealer-apply-disclaimer {
  margin: auto 0 0;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.dealer-apply-disclaimer a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; }
.dealer-apply-disclaimer a:hover { color: #fff; }

.dealer-apply-form .form-control:focus,
.dealer-apply-form .form-select:focus {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .marketing-facts { grid-template-columns: repeat(2, 1fr); }
  .marketing-steps { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .sell-paths { padding: 3.5rem 0; }
  .sell-path-body { padding-top: 1.25rem; }
  .marketing-hero { min-height: 560px; }
  .marketing-hero-inner { padding-bottom: 2.5rem; }
  .split-row + .split-row { margin-top: 3rem; }
  .split-img { aspect-ratio: 4 / 3; }
  .dealer-apply-intro-body,
  .dealer-apply-form { padding: 1.75rem; }
}

/* Spreadsheet columns table (/dealers, dealer import page) */
.import-columns > :not(caption) > * > * { padding: 0.9rem 0.75rem; }
