/* MotorBoard App Styles
   Design tokens match the landing page */

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

:root {
  --ink: #0a0a0a;
  --paper: #fafaf8;
  --accent: #e63312;
  --accent-dark: #c42b0e;
  --grey-100: #f4f4f2;
  --grey-200: #e8e8e4;
  --grey-400: #9c9c94;
  --grey-600: #5c5c58;
  --grey-800: #2c2c28;
  --green: #1a7a3a;
  --green-bg: #e8f5ec;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.app-nav {
  border-bottom: 1px solid var(--grey-200);
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  text-decoration: none;
  color: var(--grey-600);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-link:hover { color: var(--ink); background: var(--grey-100); }
.nav-link.active { color: var(--ink); background: var(--grey-100); }
.nav-user { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.5rem; }
.nav-user-name { font-size: 0.85rem; color: var(--grey-600); }
.nav-logout { color: var(--grey-400) !important; font-size: 0.82rem !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--ink); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline {
  background: white;
  color: var(--ink);
  border-color: var(--grey-200);
}
.btn-outline:hover { border-color: var(--grey-400); }
.btn-danger {
  background: white;
  color: var(--accent);
  border-color: var(--grey-200);
}
.btn-danger:hover { background: #fef2f0; border-color: var(--accent); }
.btn-full { width: 100%; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; }

/* ---- FORMS ---- */
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-800);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: white;
  transition: border-color 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey-400); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.form-hint {
  font-size: 0.82rem;
  color: var(--grey-400);
  margin-top: 0.35rem;
}
.input-with-prefix {
  position: relative;
}
.input-prefix {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--grey-400);
  font-weight: 600;
  font-size: 0.9rem;
}
.input-with-prefix input { padding-left: 1.75rem; }
.input-reg {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  max-width: 220px;
}

/* ---- ALERTS ---- */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.alert-error { background: #fef2f0; color: var(--accent); border: 1px solid #fcd5cf; }
.alert-success { background: var(--green-bg); color: var(--green); border: 1px solid #c8e6cf; }

/* ---- CONTRACT NOTICE ---- */
.dealer-contract-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--grey-50, #f8f8f6);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 0.875rem 1.125rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--grey-800);
  line-height: 1.5;
}
.dealer-contract-notice svg { flex-shrink: 0; margin-top: 1px; color: var(--accent); }

/* ---- CONTAINER ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- PAGE HEADER ---- */
.page-header {
  background: white;
  border-bottom: 1px solid var(--grey-200);
  padding: 2.5rem 0;
  margin-bottom: 2rem;
}
.page-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-header p {
  color: var(--grey-600);
  font-size: 1rem;
  margin-top: 0.35rem;
}
.page-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---- AUTH PAGES ---- */
.auth-page {
  display: flex;
  justify-content: center;
  padding: 4rem 2rem;
}
.auth-card {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
}
.auth-card-wide { max-width: 640px; }
.auth-card h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.auth-sub {
  color: var(--grey-600);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.auth-form { margin-top: 1.5rem; }
.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--grey-600);
}
.auth-switch a { color: var(--accent); text-decoration: none; font-weight: 500; }
.auth-switch a:hover { text-decoration: underline; }

/* ---- SELLER TYPE PICKER ---- */
.seller-type-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.seller-type-option input { display: none; }
.seller-type-card {
  border: 2px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.seller-type-option.selected .seller-type-card,
.seller-type-option input:checked + .seller-type-card {
  border-color: var(--accent);
  background: #fef8f7;
}
.seller-type-card:hover { border-color: var(--grey-400); }
.seller-type-icon { margin-bottom: 0.5rem; color: var(--grey-600); }
.seller-type-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.seller-type-card p { font-size: 0.82rem; color: var(--grey-600); }

/* ---- LISTING FORM ---- */
.listing-form { padding-bottom: 4rem; }
.form-section {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.form-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--grey-200);
}
.form-actions {
  text-align: center;
  padding: 1rem 0;
}
.form-actions .form-hint { margin-top: 0.75rem; }

/* ---- PHOTO UPLOAD ---- */
.photo-upload-area { margin-top: 1rem; }
.photo-upload-trigger {
  border: 2px dashed var(--grey-200);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.photo-upload-trigger:hover { border-color: var(--accent); background: #fef8f7; }
.photo-upload-trigger span { font-size: 0.9rem; color: var(--grey-600); }
.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.photo-preview {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--grey-200);
}
.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.photo-preview:first-child::after {
  content: 'Main';
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* ---- SEARCH LAYOUT ---- */
.search-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  padding-bottom: 4rem;
}
.search-filters {
  position: sticky;
  top: 80px;
  align-self: start;
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.filters-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.filters-close { display: none; background: none; border: none; cursor: pointer; font-size: 1.2rem; }
.filter-form .form-group { margin-bottom: 0.85rem; }
.filter-form label { font-size: 0.82rem; }
.filter-form input, .filter-form select { padding: 0.55rem 0.75rem; font-size: 0.85rem; }
.price-range-inputs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.price-range-inputs span { color: var(--grey-400); font-size: 0.82rem; }
.price-range-inputs input { flex: 1; }

/* ---- SEARCH RESULTS ---- */
.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.search-results-count {
  font-size: 0.9rem;
  color: var(--grey-600);
}
.search-results-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.sort-select {
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--ink);
  background: white;
  cursor: pointer;
}
.filter-toggle-mobile { display: none; }

/* ---- VEHICLE GRID ---- */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.vehicle-card {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s;
  box-shadow: var(--shadow);
}
.vehicle-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.vehicle-card-img {
  aspect-ratio: 16/10;
  background: var(--grey-100);
  background-size: cover;
  background-position: center;
  position: relative;
}
.no-photo-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--grey-400);
  font-size: 0.85rem;
}
.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-dealer { background: var(--ink); color: white; }
.badge-private { background: var(--grey-100); color: var(--grey-600); }
.vehicle-card-body { padding: 1rem 1.25rem 1.25rem; }
.vehicle-card-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.vehicle-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.vehicle-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--grey-600);
}
.vehicle-card-meta span {
  display: flex;
  align-items: center;
}
.vehicle-card-meta span:not(:last-child)::after {
  content: '\00B7';
  margin-left: 0.5rem;
  color: var(--grey-400);
}
.vehicle-card-location {
  font-size: 0.8rem;
  color: var(--grey-400);
  margin-top: 0.5rem;
}

/* ---- VEHICLE DETAIL ---- */
.vehicle-detail { padding-bottom: 4rem; }
.breadcrumb {
  padding: 1.5rem 0 1rem;
  font-size: 0.85rem;
  color: var(--grey-400);
}
.breadcrumb a { color: var(--grey-600); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.vehicle-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
.gallery {
  margin-bottom: 2rem;
}
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grey-100);
  aspect-ratio: 16/10;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-no-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--grey-400);
  font-size: 0.9rem;
}
.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.15s;
  flex-shrink: 0;
}
.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--accent);
  opacity: 1;
}

.detail-section {
  margin-bottom: 2rem;
}
.detail-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--grey-200);
}
.description-text {
  font-size: 0.95rem;
  color: var(--grey-600);
  line-height: 1.7;
}
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--grey-100);
}
.spec-label { color: var(--grey-600); font-size: 0.9rem; }
.spec-value { font-weight: 600; font-size: 0.9rem; }

/* ---- PRICE/SELLER/ENQUIRY PANELS ---- */
.price-panel {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.price-panel-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.price-panel-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.price-panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--grey-600);
}
.price-panel-meta span:not(:last-child)::after {
  content: '\00B7';
  margin-left: 0.5rem;
  color: var(--grey-400);
}

.seller-panel {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.seller-panel-header { margin-bottom: 1rem; }
.seller-panel-header .badge { position: static; margin-bottom: 0.5rem; display: inline-block; }
.seller-panel-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}
.seller-location { font-size: 0.85rem; color: var(--grey-600); margin-top: 0.2rem; }

.enquiry-panel {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.enquiry-panel h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ---- DASHBOARD ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.stat-card-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}
.stat-card-label {
  font-size: 0.85rem;
  color: var(--grey-600);
  margin-top: 0.2rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
}
.empty-state h2 {
  font-family: 'Space Grotesk', sans-serif;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.empty-state p { color: var(--grey-600); margin-bottom: 1.5rem; }

.dashboard-listings { padding-bottom: 2rem; }
.dashboard-listings h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.listing-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}
.listing-row-img {
  width: 100px;
  height: 68px;
  border-radius: 6px;
  background: var(--grey-100);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.no-img-sm { font-size: 0.7rem; color: var(--grey-400); }
.listing-row-info { flex: 1; min-width: 0; }
.listing-row-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}
.listing-row-title:hover { color: var(--accent); }
.listing-row-meta { font-size: 0.82rem; color: var(--grey-600); margin-top: 0.15rem; }
.listing-row-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--grey-600);
}
.listing-row-status { min-width: 70px; }
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}
.status-active { background: var(--green-bg); color: var(--green); }
.status-sold { background: var(--grey-100); color: var(--grey-600); }
.status-draft { background: #fff3cd; color: #856404; }
.listing-row-actions {
  display: flex;
  gap: 0.5rem;
}

/* ---- PAGINATION ---- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 2rem 0;
}
.pagination button {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--grey-200);
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--grey-600);
  transition: all 0.15s;
}
.pagination button:hover { border-color: var(--grey-400); color: var(--ink); }
.pagination button.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---- EMPTY SEARCH RESULTS ---- */
.empty-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--grey-600);
}
.empty-results svg { margin-bottom: 1rem; }
.empty-results h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

/* ---- FOOTER ---- */
.app-footer {
  border-top: 1px solid var(--grey-200);
  padding: 2rem;
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-inner .logo { font-size: 1.1rem; margin-bottom: 0.5rem; display: block; }
.footer-inner p { font-size: 0.85rem; color: var(--grey-400); }

/* ---- LOADING SPINNER ---- */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--grey-200);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .vehicle-detail-grid { grid-template-columns: 1fr; }
  .search-layout { grid-template-columns: 1fr; }
  .search-filters {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    border-radius: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s;
  }
  .search-filters.open { transform: translateX(0); }
  .filters-close { display: block; }
  .filter-toggle-mobile { display: flex; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; border-bottom: 1px solid var(--grey-200); padding: 1rem; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  .seller-type-picker { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .listing-row { flex-wrap: wrap; }
  .listing-row-stats { width: 100%; }
  .listing-row-actions { width: 100%; justify-content: flex-end; }
  .page-header h1 { font-size: 1.5rem; }
  .page-header-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .container { padding: 0 1rem; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
}

/* ---- NO PHOTO SVG PLACEHOLDER ---- */
.no-photo-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: var(--grey-100);
}

/* ---- CATEGORY BAR ---- */
.cat-bar {
  background: white;
  border-bottom: 1px solid var(--grey-200);
  position: sticky;
  top: 61px;
  z-index: 99;
}
.cat-bar-inner {
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-bar-inner::-webkit-scrollbar { display: none; }
.cat-bar-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-600);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.cat-bar-link:hover { color: var(--ink); border-bottom-color: var(--grey-200); }
.cat-bar-link.active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }

/* ---- CATEGORY PAGE HEADERS ---- */
.category-header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.category-header-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}
.page-header-motorbike {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.page-header-motorbike h1,
.page-header-motorbike p { color: white; }
.page-header-commercial {
  background: linear-gradient(135deg, #1e3a2f 0%, #2d5a40 100%);
}
.page-header-commercial h1,
.page-header-commercial p { color: white; }
.page-header-motorhome {
  background: linear-gradient(135deg, #1a3347 0%, #2c5364 100%);
}
.page-header-motorhome h1,
.page-header-motorhome p { color: white; }
.page-header-classic {
  background: linear-gradient(135deg, #2c1810 0%, #5c3317 100%);
}
.page-header-classic h1,
.page-header-classic p { color: white; }
.page-header-classic .category-header-icon {
  background: rgba(255,198,0,0.15);
  color: #ffc600;
}
.page-header-motorbike p,
.page-header-commercial p,
.page-header-motorhome p,
.page-header-classic p { color: rgba(255,255,255,0.75); }

/* ---- CATEGORY PICKER (SELL FORM) ---- */
.category-picker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 0;
}
.category-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  background: white;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-600);
  text-align: center;
  transition: all 0.15s;
  user-select: none;
}
.category-option:hover {
  border-color: var(--grey-400);
  color: var(--ink);
}
.category-option.selected {
  border-color: var(--accent);
  color: var(--ink);
  background: #fde8e4;
}
.category-option.selected svg { stroke: var(--accent); }
.category-option svg { flex-shrink: 0; }

/* ---- CLASSIC FIELDS BANNER ---- */
.classic-fields-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff8e6;
  border: 1px solid #f5d87a;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #7a5f00;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.classic-fields-banner svg { stroke: #c49a00; flex-shrink: 0; }

/* ---- FORM ROW 2 COLS ---- */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---- FOOTER COLUMNS (updated) ---- */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 3rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-400);
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--grey-600);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--ink); }
.footer-copy { font-size: 0.82rem; color: var(--grey-400); }
.footer-inner { text-align: left; }
.footer-inner .logo { display: inline-block; font-size: 1.2rem; margin-bottom: 0; }

/* ---- SEARCH FILTERS sticky adjustment for cat bar ---- */
.search-filters {
  top: 110px !important;
}

/* ---- RESPONSIVE (category additions) ---- */
@media (max-width: 900px) {
  .category-picker { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .category-picker { grid-template-columns: repeat(2, 1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  .cat-bar-inner { padding: 0 1rem; }
}

/* ======================================================
   SERVICES DIRECTORY
   ====================================================== */

/* ---- Services Hero ---- */
.services-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: white;
  padding: 4rem 0 3rem;
}
.services-hero-inner { max-width: 640px; }
.services-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(230, 51, 18, 0.15);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.services-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: white;
}
.services-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 2rem; }
.services-search-form { width: 100%; }
.services-search-inputs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.services-search-inputs input,
.services-search-inputs select {
  flex: 1;
  min-width: 140px;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: white;
  color: var(--ink);
  outline: none;
}
.services-search-inputs .btn { flex-shrink: 0; }

/* ---- Section title ---- */
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

/* ---- Category cards grid ---- */
.service-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.service-cat-card {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-cat-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.service-cat-icon { margin-bottom: 0.35rem; }
.service-cat-label { font-weight: 600; font-size: 0.95rem; }
.service-cat-desc { font-size: 0.82rem; color: var(--grey-600); line-height: 1.4; }
.service-cat-count { font-size: 0.78rem; color: var(--grey-400); margin-top: 0.2rem; }

/* ---- Service listings grid ---- */
.service-listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { border-color: var(--grey-400); box-shadow: var(--shadow-md); }
.service-card-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--grey-100);
  position: relative;
}
.service-card-no-photo { display: flex; align-items: center; justify-content: center; height: 100%; }
.service-card-rating-badge {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.75);
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
}
.service-card-body { padding: 1rem; flex: 1; }
.service-card-name { font-weight: 600; font-size: 1rem; margin-bottom: 0.3rem; }
.service-card-meta { font-size: 0.82rem; color: var(--grey-600); display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.service-card-tags { display: flex; gap: 0.3rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.service-tag-sm {
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--grey-100);
  color: var(--grey-600);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}
.service-tag {
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--grey-100);
  color: var(--grey-600);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}
.service-card-desc { font-size: 0.83rem; color: var(--grey-600); line-height: 1.4; }

/* ---- Services CTA band ---- */
.services-cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, #c42b0e 100%);
  padding: 3rem 0;
  margin-top: 1rem;
}
.services-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.services-cta-inner h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 700; color: white; margin-bottom: 0.4rem; }
.services-cta-inner p { color: rgba(255,255,255,0.8); }
.services-cta-actions { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }

/* ---- Services search bar (category page) ---- */
.services-search-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  margin-bottom: 1.5rem;
}
.services-search-bar input,
.services-search-bar select {
  flex: 1;
  min-width: 120px;
  border: none;
  outline: none;
  padding: 0.4rem 0.5rem;
  font-size: 0.9rem;
  background: transparent;
}

/* ---- Stars ---- */
.stars { display: inline-flex; gap: 1px; }
.star { color: #d1d5db; font-size: 0.95rem; }
.star.filled { color: #f59e0b; }
.star.half { color: #fbbf24; }
.rating-count { font-size: 0.85rem; color: var(--grey-600); }

/* ---- Listing detail page ---- */
.listing-detail-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}
.listing-detail-main {}
.listing-detail-sidebar {}
.listing-gallery { border-radius: var(--radius); overflow: hidden; }
.listing-gallery-main {
  height: 380px;
  background-size: cover;
  background-position: center;
  background-color: var(--grey-100);
  transition: background-image 0.2s;
}
.listing-no-photo { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--grey-400); }
.listing-gallery-thumbs { display: flex; gap: 4px; margin-top: 4px; }
.listing-gallery-thumb {
  flex: 1;
  height: 80px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.listing-gallery-thumb:hover { opacity: 0.8; }
.listing-gallery-more {
  flex: 1;
  height: 80px;
  background: rgba(0,0,0,0.5);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}
.listing-detail-card {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.listing-detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.listing-detail-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; }
.listing-detail-location { color: var(--grey-600); font-size: 0.9rem; margin-top: 0.25rem; }

/* Opening hours table */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.35rem 0; font-size: 0.88rem; }
.hours-day-cell { font-weight: 600; width: 50px; color: var(--grey-800); }

/* Contact card (sidebar) */
.listing-contact-card {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: 80px;
}
.listing-contact-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--grey-100);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  transition: color 0.15s;
}
.contact-row:last-child { border-bottom: none; }
.contact-row:hover { color: var(--accent); }
.contact-phone svg, .contact-email svg, .contact-website svg, .contact-directions svg { color: var(--grey-400); flex-shrink: 0; }

/* Reviews */
.review-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-100);
}
.review-card:last-child { border-bottom: none; }
.review-card-header { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.review-name { font-weight: 600; font-size: 0.9rem; }
.review-stars { color: #f59e0b; }
.review-date { font-size: 0.8rem; color: var(--grey-400); margin-left: auto; }
.review-text { font-size: 0.88rem; color: var(--grey-700, #3c3c38); line-height: 1.55; }

/* Review mini (dashboard) */
.review-mini { padding: 0.75rem 0; border-bottom: 1px solid var(--grey-100); }
.review-mini:last-child { border-bottom: none; }
.review-mini-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; }
.review-mini-name { font-weight: 600; font-size: 0.85rem; }
.review-mini-stars { color: #f59e0b; font-size: 0.85rem; }
.review-mini-text { font-size: 0.83rem; color: var(--grey-600); }
.review-mini-date { font-size: 0.78rem; color: var(--grey-400); margin-top: 0.2rem; }

/* Services registration checkboxes */
.services-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.service-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.1s;
}
.service-checkbox-label:has(input:checked) {
  background: #fde8e4;
  border-color: var(--accent);
  color: var(--accent);
}
.service-checkbox-label input { accent-color: var(--accent); }

/* Opening hours grid */
.opening-hours-grid { display: flex; flex-direction: column; gap: 0.5rem; }
.hours-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.hours-day { font-weight: 600; font-size: 0.85rem; width: 36px; flex-shrink: 0; }
.hours-closed { display: flex; align-items: center; gap: 0.3rem; font-size: 0.82rem; min-width: 70px; }
.hours-input { width: 80px; padding: 0.3rem 0.5rem; border: 1px solid var(--grey-200); border-radius: 4px; font-size: 0.82rem; }

/* Photos grid */
.photos-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.photo-thumb { position: relative; width: 80px; height: 80px; border-radius: 8px; overflow: hidden; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-remove {
  position: absolute; top: 2px; right: 2px;
  background: rgba(0,0,0,0.6); color: white;
  border: none; border-radius: 50%; width: 20px; height: 20px;
  cursor: pointer; font-size: 0.65rem; display: flex; align-items: center; justify-content: center;
}

/* Form section divider */
.form-section-divider {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1.25rem 0 0.5rem;
  border-top: 1px solid var(--grey-200);
  margin-top: 0.75rem;
}

/* Pricing plan cards */
.pricing-plan-card {
  background: white;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.15s;
}
.pricing-plan-card.plan-active { border-color: var(--accent); }
.pricing-plan-header { margin-bottom: 1.5rem; }
.pricing-plan-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.pricing-plan-price { margin-top: 0.75rem; display: flex; align-items: baseline; gap: 0.3rem; }
.price-amount { font-size: 3rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.03em; }
.price-period { color: var(--grey-600); font-size: 0.95rem; }
.pricing-plan-vat { font-size: 0.85rem; color: var(--grey-600); margin-top: 0.25rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.pricing-features li { font-size: 0.9rem; color: var(--grey-700, #3c3c38); }
.pricing-plan-note { font-size: 0.82rem; color: var(--grey-600); }

/* Pricing toggle */
.pricing-toggle {
  display: inline-flex;
  background: var(--grey-100);
  border-radius: 100px;
  padding: 0.2rem;
}
.toggle-btn {
  background: none;
  border: none;
  padding: 0.45rem 1.25rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--grey-600);
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.toggle-btn.active { background: white; color: var(--ink); box-shadow: var(--shadow); }
.save-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--green-bg);
  color: var(--green);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}

/* ---- Services dashboard grid ---- */
.dashboard-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.dashboard-card {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.dashboard-card-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.dashboard-card-header h3 { font-weight: 700; font-size: 1rem; }
.stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--grey-400); font-weight: 600; }
.stat-value { font-size: 1.6rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }

/* ---- RESPONSIVE: services ---- */
@media (max-width: 900px) {
  .listing-detail-layout { grid-template-columns: 1fr; }
  .listing-detail-sidebar { position: static; }
  .listing-contact-card { position: static; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-sidebar { order: -1; }
}
@media (max-width: 700px) {
  .service-cats-grid { grid-template-columns: repeat(2, 1fr); }
  .service-listings-grid { grid-template-columns: 1fr; }
  .services-hero h1 { font-size: 1.8rem; }
  .services-search-inputs { flex-direction: column; }
  .services-cta-inner { flex-direction: column; }
  .listing-gallery-main { height: 240px; }
  .listing-detail-layout { padding: 1rem 1rem 4rem; }
}
@media (max-width: 500px) {
  .services-checkboxes { grid-template-columns: 1fr; }
  .hours-row { flex-wrap: wrap; }
}

/* ---- Distance badge on listing cards ---- */
.badge-distance {
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  backdrop-filter: blur(4px);
}
.badge-distance-unknown {
  background: rgba(0,0,0,0.35);
  font-style: italic;
}
.vehicle-card-img { position: relative; }

/* ---- Location filter inputs ---- */
.filter-location-group { border-top: 1px solid var(--grey-200); padding-top: 0.75rem; margin-top: 0.25rem; }
.filter-location-group > label { font-weight: 600; font-size: 0.85rem; color: var(--grey-700); margin-bottom: 0.4rem; display: block; }
.location-input-row { display: flex; gap: 0.4rem; align-items: stretch; }
.location-input-row input { flex: 1; min-width: 0; }
.btn-location-icon:hover { background: var(--grey-100) !important; }

/* ---- DVLA Registration Lookup ---- */
.dvla-lookup-section {
  background: linear-gradient(135deg, #003399 0%, #0050cc 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.dvla-lookup-label {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.dvla-lookup-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.reg-plate-input-wrap {
  display: flex;
  align-items: stretch;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid #FFD700;
  background: #FFD700;
  max-width: 260px;
}
.reg-plate-gb {
  background: #003399;
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.6rem;
  letter-spacing: 0.02em;
  font-family: 'Space Grotesk', sans-serif;
  min-width: 32px;
}
.reg-plate-input-wrap input {
  background: #FFD700;
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  border: none;
  padding: 0.5rem 0.75rem;
  outline: none;
  width: 180px;
}
.reg-plate-input-wrap input::placeholder { color: rgba(0,0,0,0.35); }
.dvla-confirm-banner {
  background: white;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-left: 4px solid var(--green);
}
.dvla-confirm-text {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}
.dvla-confirm-actions { display: flex; gap: 0.5rem; }

/* ---- Spec Groups (Detail Page) ---- */
.spec-group {
  margin-bottom: 1.5rem;
}
.spec-group:last-child { margin-bottom: 0; }
.spec-group-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-400);
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--grey-100);
}
.spec-group .specs-grid {
  gap: 0;
}

/* ---- Seller phone display ---- */
.seller-phone-number {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey-600);
  margin-top: 0.5rem;
  letter-spacing: 0.03em;
}
.call-seller-btn {
  width: 100%;
  margin-bottom: 0.25rem;
}

/* ---- Advertisement slots ---- */
.ad-slot {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: white;
  border: 1px solid var(--grey-200);
}
.ad-label-bar {
  display: flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  background: var(--grey-100);
  border-bottom: 1px solid var(--grey-200);
}
.ad-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--grey-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Banner ad — vehicle detail right column */
.ad-banner-slot {
  margin-top: 1rem;
}
.ad-banner-link {
  display: block;
}
.ad-banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: cover;
  transition: opacity 0.15s;
}
.ad-banner-img:hover { opacity: 0.92; }

/* Sidebar ad — search/browse pages */
.ad-sidebar-slot {
  margin-top: 1.25rem;
}
.ad-sidebar-link {
  display: block;
}
.ad-sidebar-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  transition: opacity 0.15s;
}
.ad-sidebar-img:hover { opacity: 0.92; }

/* Homepage sponsor */
.ad-homepage-sponsor {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.ad-sponsor-link {
  display: block;
}
.ad-sponsor-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: cover;
  transition: opacity 0.15s;
}
.ad-sponsor-img:hover { opacity: 0.92; }

/* Max 2 ad slots per page enforced in route logic */
