.muted { color: var(--muted); }
:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #17202a;
  --muted: #5e6b78;
  --line: #dbe3ec;
  --primary: #ff9900;
  --dark: #111827;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  background: #232f3e;
  color: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-desktop { display: block; }
.topbar-mobile { display: none; }
.credit-report-banner {
  background: #800020;
  color: #fff;
  padding: 8px 0;
  text-align: center;
}
.credit-report-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.credit-report-link {
  color: inherit;
  text-decoration: none;
  display: block;
}
.credit-report-link:hover {
  opacity: 0.95;
}
.credit-report-text {
  font-size: 0.9rem;
  font-weight: 600;
}
.credit-report-logo {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.95;
}
.credit-report-logo-img {
  height: 24px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
}
.topbar-grid {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 16px;
  align-items: center;
}
.logo { font-size: 1.35rem; font-weight: 800; }
.logo span { color: var(--primary); }
.searchbar { display: grid; grid-template-columns: 1fr 120px; gap: 8px; }
.searchbar input, .searchbar button, input, select, textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.searchbar button, .btn.primary { background: var(--primary); border: none; }
.nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-trigger:hover {
  text-decoration: underline;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 4px 0 0;
  padding: 8px 0;
  min-width: 160px;
  background: var(--dark);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu li {
  margin: 0;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.cart-icon {
  position: relative;
  font-size: 1.4rem;
  margin-left: 4px;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #ef4444;
  color: #ffffff;
  border-radius: 999px;
  font-size: .7rem;
  padding: 2px 5px;
  min-width: 16px;
  text-align: center;
}
.flash { margin-top: 14px; padding: 12px 16px; border-radius: 10px; }
.flash.success { background: #e8fff3; border: 1px solid #bfe6d1; }
.flash.error { background: #fff1f0; border: 1px solid #f0b8b3; }
.breadcrumbs {
  font-size: .85rem;
  color: var(--muted);
  margin: 20px 0 20px;
}
.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.crumb-sep {
  margin: 0 6px;
}
.hero {
  margin: 32px 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  background: linear-gradient(135deg, #101827, #1c2940);
  color: white;
  border-radius: 20px;
  padding: 28px;
}
.hero h1 { font-size: 2.6rem; line-height: 1.05; margin-top: 0; }
.hero-actions, .action-row, .stack { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-panel { display: grid; gap: 12px; }
.mini-stat, .stat-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 16px;
}
.mini-stat span, .stat-card span { display: block; color: #cbd5e1; }
.mini-stat strong, .stat-card strong { font-size: 1.2rem; }
h1, h2 { margin: 24px 0 16px; }
.grid.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card, .panel, .summary, .form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(17,24,39,.04);
}
.card-body, .panel, .summary, .form-card { padding: 16px; }
.thumb, .hero-image {
  min-height: 150px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dfe8f5, #eef3fa);
  color: #4d5f73;
  border-radius: 16px 16px 0 0;
  font-weight: 700;
}
.thumb.small { min-height: 100px; }
.thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  display: block;
}
.thumb.small img {
  height: 100px;
  border-radius: 10px;
}
.hero-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff2df;
  color: #7a4b00;
  font-size: .8rem;
  margin-bottom: 8px;
}
.price { font-size: 1.35rem; font-weight: 800; }
.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  white-space: nowrap;
}
.btn.blue {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #ffffff;
}
.btn.blue:hover {
  background: #1d4ed8;
}
.catalog-layout, .detail-grid, .cart-layout, .checkout-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 20px;
  align-items: start;
}
.detail-grid {
  grid-template-columns: 1.2fr .8fr;
  align-items: flex-start;
  gap: 32px;
}

/* Product page - Amazon-style layout */
.product-fit-bar {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.product-fit-badge {
  color: #0066c0;
  font-weight: 600;
}
.product-fit-sep {
  margin: 0 8px;
  color: var(--line);
}
.product-fit-text {
  color: var(--text);
}
.product-layout {
  display: grid;
  grid-template-columns: minmax(400px, 1.1fr) minmax(280px, 1fr) 340px;
  gap: 28px;
  align-items: start;
  margin-bottom: 48px;
}
.product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
}
.product-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-thumb {
  width: 80px;
  height: 80px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-thumb.active {
  border-color: var(--primary);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-thumb span {
  font-size: 0.65rem;
  text-align: center;
  padding: 4px;
}
.product-main-image {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-image-link {
  display: block;
  width: 100%;
  height: 100%;
}
.product-image-placeholder {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}
.product-fullview {
  font-size: 0.85rem;
  margin: 0;
}
.product-fullview a {
  color: #0066c0;
}
.product-fullview a:hover {
  text-decoration: underline;
}
.product-see-all-btn {
  background: none;
  border: none;
  color: #0066c0;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
}
.product-see-all-btn:hover {
  text-decoration: underline;
}

/* Product carousel modal */
.product-carousel-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.product-carousel-modal.open {
  display: flex;
}
.product-carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}
.product-carousel-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
}
.product-carousel-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: #fff;
  color: #333;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}
.product-carousel-close:hover {
  background: #f0f0f0;
}
.product-carousel-prev,
.product-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 32px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}
.product-carousel-prev {
  left: -60px;
}
.product-carousel-next {
  right: -60px;
}
.product-carousel-prev:hover,
.product-carousel-next:hover {
  background: #fff;
}
.product-carousel-slide {
  max-width: 85vw;
  max-height: 85vh;
}
.product-carousel-slide img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}
.product-carousel-counter {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.9rem;
}
@media (max-width: 700px) {
  .product-carousel-prev {
    left: 8px;
  }
  .product-carousel-next {
    right: 8px;
  }
  .product-carousel-close {
    top: 8px;
    right: 8px;
  }
}
.ask-echo {
  margin-top: 12px;
}
.ask-echo-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #e8f4fc;
  border: 1px solid #b8d4e8;
  border-radius: 10px;
  color: #0066c0;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}
.ask-echo-btn:hover {
  background: #d4ebf7;
}
.ask-echo-icon {
  font-size: 1.1rem;
}

/* Echo AI Sidebar */
.echo-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 9997;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.echo-sidebar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.echo-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.echo-sidebar.open {
  transform: translateX(0);
}
.echo-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.echo-sidebar-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.echo-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.echo-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.echo-close:hover {
  background: #e5e7eb;
}
.echo-chat {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.echo-message {
  max-width: 90%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.echo-message p {
  margin: 0;
}
.echo-bot {
  background: #f3f4f6;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.echo-user {
  background: #0066c0;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.echo-suggestions {
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
}
.echo-suggestion {
  padding: 8px 12px;
  background: #e8f4fc;
  border: 1px solid #b8d4e8;
  border-radius: 8px;
  color: #0066c0;
  font-size: 0.8rem;
  cursor: pointer;
}
.echo-suggestion:hover {
  background: #d4ebf7;
}
.echo-input-wrap {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: #f9fafb;
}
.echo-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.95rem;
}
.echo-input:focus {
  outline: none;
  border-color: #0066c0;
}
.echo-send {
  width: 44px;
  height: 44px;
  border: none;
  background: #0066c0;
  color: #fff;
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
}
.echo-send:hover {
  background: #005aad;
}
.carfax-btn {
  display: block;
  margin-top: 12px;
  text-decoration: none;
}
.carfax-btn img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
}
.carfax-btn:hover img {
  opacity: 0.9;
}

/* Vehicle archives - card layout */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.archive-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.archive-card-link {
  text-decoration: none;
  color: inherit;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.archive-thumb {
  position: relative;
  aspect-ratio: 4/3;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.archive-thumb span {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 16px;
}
.archive-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff9900;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 1;
}
.archive-body {
  padding: 16px;
  flex: 1;
}
.archive-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}
.archive-mileage {
  font-size: 0.9rem;
  margin: 0 0 4px;
  color: var(--text);
}
.archive-type {
  font-size: 0.85rem;
  margin: 0 0 8px;
  color: var(--muted);
}
.archive-carfax-badge {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.archive-price {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.archive-financing {
  font-size: 0.85rem;
  margin: 0 0 4px;
  color: var(--muted);
}
.archive-economy {
  font-size: 0.85rem;
  margin: 0;
  color: #007600;
}
.archive-add-form {
  padding: 0 16px 16px;
}
.archive-add-btn {
  width: 100%;
  padding: 14px;
  background: #ffd814;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
}
.archive-add-btn:hover {
  background: #f7ca00;
}

.echo-loading p {
  color: var(--muted);
  font-style: italic;
}
.product-info {
  max-width: 600px;
}
.product-info-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}
.product-share {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
}
.product-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 6px;
}
.product-brand {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 12px;
}
.product-price-block {
  margin-bottom: 20px;
}
.product-price-main {
  margin-bottom: 8px;
}
.product-price {
  font-size: 1.4rem;
  font-weight: 700;
}
.product-delivery-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  margin-bottom: 20px;
}
.spec-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
}
.spec-table td:first-child {
  color: var(--muted);
  width: 120px;
}
.product-about h3 {
  font-size: 0.95rem;
  margin: 0 0 10px;
}
.product-about ul {
  margin: 0 0 14px;
  padding-left: 18px;
}
.product-about li {
  margin-bottom: 6px;
  line-height: 1.4;
  font-size: 0.85rem;
}
.product-about p {
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0 0 8px;
}
.product-buy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.product-buy-price {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.product-buy-delivery-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 6px;
}
.product-buy-schedule {
  font-size: 0.8rem;
  margin: 0 0 6px;
}
.product-buy-schedule a {
  color: #0066c0;
}
.product-buy-address {
  font-size: 0.8rem;
  margin: 0 0 10px;
}
.product-stock {
  color: #007600;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 14px;
}
.product-buy-form {
  margin-bottom: 12px;
}
.btn-add-cart {
  width: 100%;
  padding: 14px;
  background: #ffd814;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}
.btn-add-cart:hover {
  background: #f7ca00;
}
.btn-buy-now {
  width: 100%;
  padding: 14px;
  background: #ff9900;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}
.btn-buy-now:hover {
  background: #e88b00;
}
.product-seller {
  font-size: 0.8rem;
  margin: 14px 0 6px;
}
.product-seller a {
  color: #0066c0;
}
.product-returns, .product-secure {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 4px;
}
.product-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-actions .btn {
  text-align: center;
  padding: 8px;
  font-size: 0.85rem;
}
.related-title {
  font-size: 1.25rem;
  margin: 24px 0 16px;
}
.product-related {
  margin-bottom: 48px;
}
.product-gallery-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filters .form-card, .form-wrap .form-card, .narrow .form-card { display: grid; gap: 12px; }
.filters .form-card {
  padding-bottom: 24px;
}
.filters .form-card .btn.primary {
  width: auto;
  align-self: flex-start;
  padding: 10px 16px;
  font-size: .9rem;
  max-width: 140px;
}
.filters select {
  width: 100%;
  max-width: 100%;
}

/* Amazon-style filter sidebar */
.filters-amazon .filters-form {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.filters-amazon .filter-section {
  padding: 12px 18px;
  border-bottom: 1px solid #eaeded;
}
.filters-amazon .filter-section:last-of-type {
  border-bottom: none;
}
.filters-amazon .filter-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f1111;
  margin: 0 0 10px;
  padding: 0;
  letter-spacing: 0.01em;
}
.filters-amazon .filter-section-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filters-amazon .filter-input,
.filters-amazon .filter-select {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.875rem;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  background: #fff;
  color: #0f1111;
}
.filters-amazon .filter-input:focus,
.filters-amazon .filter-select:focus {
  outline: none;
  border-color: #007185;
  box-shadow: 0 0 0 2px rgba(0, 113, 133, 0.2);
}
.filters-amazon .filter-input::placeholder {
  color: #565959;
}
.filters-amazon .filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  color: #0f1111;
  padding: 2px 0;
}
.filters-amazon .filter-check input {
  width: 16px;
  height: 16px;
  accent-color: #007185;
  cursor: pointer;
}
.filters-amazon .filter-check:hover {
  color: #007185;
}
.filters-amazon .filter-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.filters-amazon .filter-price-input {
  flex: 1;
  min-width: 70px;
}
.filters-amazon .filter-price-sep {
  font-size: 0.8rem;
  color: #565959;
}
.filters-amazon .filter-price-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.filters-amazon .filter-price-link {
  font-size: 0.875rem;
  color: #007185;
  text-decoration: none;
  padding: 2px 0;
}
.filters-amazon .filter-price-link:hover {
  text-decoration: underline;
  color: #c7511f;
}
.filters-amazon .filter-price-link.is-active {
  color: #c7511f;
  font-weight: 600;
}
.filters-amazon .filter-see-more-btn {
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 0.8rem;
  color: #007185;
  cursor: pointer;
  text-align: left;
  margin-top: 4px;
}
.filters-amazon .filter-see-more-btn:hover {
  text-decoration: underline;
  color: #c7511f;
}
.filters-amazon .filter-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 16px;
}
.filters-amazon .filter-apply-btn {
  background: #ffd814;
  color: #0f1111;
  border: none;
  padding: 8px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(15, 17, 17, 0.15);
}
.filters-amazon .filter-apply-btn:hover {
  background: #f7ca00;
}
.filters-amazon .filter-clear-link {
  font-size: 0.8rem;
  color: #007185;
  text-decoration: none;
}
.filters-amazon .filter-clear-link:hover {
  text-decoration: underline;
  color: #c7511f;
}
.form-wrap { max-width: 720px; }
.form-wrap.register-wide { max-width: 100%; }
.form-wrap.narrow { max-width: 420px; }

/* Registration page - professional clean design */
.register-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0 48px;
}
.register-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.register-card h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 28px;
  color: var(--text);
}
.preapproval-vehicle-type {
  margin: 0 0 20px;
  padding: 12px 16px;
  background: rgba(255, 153, 0, 0.1);
  border-radius: 8px;
  font-size: 0.95rem;
}
.register-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.register-section {
  margin-bottom: 28px;
}
.register-section:last-of-type {
  margin-bottom: 0;
}
.register-section h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f1f3;
}
.register-section h3:not(:first-child) {
  margin-top: 8px;
}
.register-form .form-field {
  margin-bottom: 18px;
}
.register-form .form-field:last-child {
  margin-bottom: 0;
}
.register-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.register-form input,
.register-form select {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.register-form input::placeholder {
  color: #9ca3af;
}
.register-form input:focus,
.register-form select:focus {
  outline: none;
  border-color: #0066c0;
  box-shadow: 0 0 0 2px rgba(0, 102, 192, 0.15);
}
.register-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.register-form .form-row .form-field {
  margin-bottom: 0;
}
.register-form .form-row:last-child {
  margin-bottom: 0;
}
.register-form .inline-group {
  display: flex;
  gap: 10px;
}
.register-form .inline-group select,
.register-form .inline-group input {
  flex: 1;
}
.register-submit {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #f0f1f3;
}
.btn-register {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}
.btn-register:hover {
  background: #e88b00;
}
.register-footer {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--muted);
}
.register-footer a {
  color: #0066c0;
}
.register-footer a:hover {
  text-decoration: underline;
}
.form-card.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}
.form-card.two-col h3,
.form-card.two-col .full-row {
  grid-column: 1 / -1;
}
.form-card.two-col .inline-group {
  display: flex;
  gap: 8px;
}
.spec-grid, .dashboard-grid, .stat-grid {
  display: grid;
  gap: 10px;
}
.spec-grid { grid-template-columns: repeat(2, 1fr); margin-top: 12px; }
.spec-grid > div, .list-row, .line-item {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 12px;
}
.detail-buy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.detail-buy h1 {
  margin-bottom: 4px;
}
.detail-buy .price {
  margin-top: 4px;
}
.detail-buy .action-row {
  margin-top: 4px;
}
.dashboard-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stat-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 20px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.admin-table th { font-weight: 600; color: var(--muted); font-size: 0.85rem; }
.admin-table tbody tr:hover { background: rgba(0, 0, 0, 0.02); }
.admin-table a { color: #0066c0; }
.list-row, .line-item, .line-item.compact {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.list-row.admin-inventory-row {
  grid-template-columns: 32px 1fr auto auto auto 1fr;
}
.line-item { grid-template-columns: 120px 1fr auto; }
.empty-state, .summary { padding: 20px; }
/* Footer - Amazon-style */
.footer {
  margin-top: 48px;
  background: #232f3e;
  color: #fff;
}
.footer-back-top {
  display: block;
  text-align: center;
  padding: 14px 0;
  background: #37475a;
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s;
}
.footer-back-top:hover {
  background: #485769;
  color: #fff;
}
.footer-back-top-icon {
  display: inline-block;
  margin-right: 4px;
  font-size: 0.75rem;
}
.footer-main {
  padding: 36px 0 24px;
}
.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
  max-width: 800px;
  margin-bottom: 28px;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-col a {
  color: #ddd;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-links-col a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-lang-region {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #ccc;
}
.footer-signin {
  text-align: center;
  margin: 0 0 20px;
  font-size: 0.95rem;
}
.footer-signin a {
  color: #ff9900;
  text-decoration: none;
}
.footer-signin a:hover {
  text-decoration: underline;
}
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
  font-size: 0.8rem;
}
.footer-legal a {
  color: #ff9900;
  text-decoration: none;
}
.footer-legal a:hover {
  text-decoration: underline;
}
.footer-copyright {
  text-align: center;
  font-size: 0.75rem;
  color: #999;
  margin: 0 0 4px;
}
.footer-address {
  text-align: center;
  font-size: 0.75rem;
  color: #999;
  margin: 0;
}

/* Legal pages (Privacy, etc.) */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 48px;
}
.legal-page h1 {
  font-size: 1.75rem;
  margin: 0 0 8px;
}
.legal-effective {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 32px;
}
.legal-page h2 {
  font-size: 1.1rem;
  margin: 32px 0 12px;
  color: var(--text);
}
.legal-page h3 {
  font-size: 1rem;
  margin: 20px 0 8px;
  color: var(--text);
}
.legal-page p, .legal-page li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 12px;
}
.legal-page ul, .legal-page ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.legal-page a {
  color: #0066c0;
}
.legal-page a:hover {
  text-decoration: underline;
}
.legal-page .legal-final {
  margin-top: 24px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 8px;
}
.legal-page .legal-note {
  margin-top: 24px;
  padding: 16px;
  background: rgba(255, 153, 0, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
}

/* Account page - Amazon-style layout */
.account-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 0 48px;
}
.account-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 28px;
  color: var(--text);
}
.account-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.account-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.account-card:hover {
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.08);
  border-color: #c4cbd4;
}
.account-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f4fc;
  color: #0066c0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.account-card-icon svg {
  width: 28px;
  height: 28px;
}
.account-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.account-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}
.account-recent {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.account-recent h2 {
  font-size: 1.25rem;
  margin: 0 0 20px;
}
.account-recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.account-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.account-panel h3 {
  font-size: 1rem;
  margin: 0 0 14px;
}
.account-panel .list-row {
  margin-bottom: 8px;
}
.account-panel .list-row:last-child {
  margin-bottom: 0;
}

/* Login & Security panel */
.security-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  max-width: 720px;
}
.security-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.security-row:last-of-type {
  border-bottom: none;
}
.security-label {
  font-weight: 600;
  color: var(--text);
}
.security-value {
  color: var(--text);
}
.security-action .btn {
  padding: 8px 14px;
  font-size: 0.9rem;
}
.security-hint {
  grid-column: 2 / -1;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 8px 0 0;
}
.security-edit-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}
.security-edit-form input[type="text"],
.security-edit-form input[type="email"],
.security-edit-form input[type="tel"],
.security-edit-form input[type="password"] {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 200px;
}
.security-edit-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: 280px;
}
.security-edit-form label input {
  width: 100%;
}
.security-row .security-action {
  min-width: 0;
}
.security-edit-form-password {
  flex-direction: column;
  width: 100%;
  max-width: 320px;
}
.security-edit-form-password .btn {
  margin-top: 4px;
}
.security-row-editing .security-action {
  grid-column: 2 / -1;
}

@media (max-width: 600px) {
  .security-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .security-action {
    grid-column: 1;
  }
}
@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
  .product-buy {
    position: static;
  }
  .account-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .topbar-grid, .hero, .catalog-layout, .detail-grid, .cart-layout, .checkout-layout {
    grid-template-columns: 1fr;
  }
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
  .form-card.two-col {
    grid-template-columns: 1fr;
  }
  .searchbar { grid-template-columns: 1fr; }
  .topbar-desktop { display: none !important; }
  .topbar-mobile { display: block !important; }
}

/* Mobile header - Amazon-style */
.topbar-mobile {
  background: #232f3e;
  color: #fff;
  padding: 0;
}
.topbar-mobile-row {
  padding: 10px 16px;
}
.topbar-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}
.topbar-mobile-logo img {
  height: 32px;
  width: auto;
}
.topbar-mobile-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-mobile-signin {
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
}
.topbar-mobile-signin:hover {
  text-decoration: underline;
}
.topbar-mobile-icon {
  color: #fff;
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar-mobile-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}
.topbar-mobile-cart .cart-badge {
  top: -4px;
  right: -8px;
  background: #f90;
  color: #232f3e;
  font-size: 0.65rem;
  padding: 1px 4px;
  min-width: 14px;
}
.topbar-mobile-search {
  padding: 8px 16px 12px;
}
.topbar-mobile-searchbar {
  display: flex;
  gap: 0;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.topbar-mobile-searchbar input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  border-radius: 8px 0 0 8px;
  font-size: 0.95rem;
}
.topbar-mobile-searchbar input::placeholder {
  color: #767676;
}
.topbar-mobile-search-btn {
  padding: 12px 16px;
  background: #febd69;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar-mobile-search-btn svg {
  width: 20px;
  height: 20px;
  stroke: #232f3e;
}
.topbar-mobile-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 16px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.topbar-mobile-nav::-webkit-scrollbar {
  display: none;
}
.topbar-mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.topbar-mobile-nav a:hover {
  text-decoration: underline;
}
/* Inventory category cards */
.inventory-category-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.inventory-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.inventory-category-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.15);
}
.inventory-category-img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
}
.inventory-category-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.inventory-category-label {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}
@media (max-width: 900px) {
  .inventory-category-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .inventory-category-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }
  .inventory-category-card {
    padding: 12px;
  }
  .inventory-category-label {
    font-size: 0.9rem;
  }
}

/* Get Pre-Approved intro & pill */
.preapproval-intro-wrap {
  text-align: center;
  margin: 24px 0 12px;
}
.preapproval-intro {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
}
.preapproval-pill-wrap {
  text-align: center;
  margin: 12px 0 32px;
}
.preapproval-pill {
  display: inline-block;
  padding: 18px 48px;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 153, 0, 0.35);
}
.preapproval-pill:hover {
  background: #e88b00;
  transform: scale(1.02);
}
.preapproval-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.preapproval-modal.open {
  opacity: 1;
  visibility: visible;
}
.preapproval-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.preapproval-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.preapproval-modal-content h3 {
  margin: 0 0 24px;
  font-size: 1.25rem;
}
.preapproval-radios {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.preapproval-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
}
.preapproval-radio:hover {
  border-color: var(--primary);
  background: rgba(255, 153, 0, 0.06);
}
.preapproval-radio input {
  margin: 0;
}
.preapproval-type-form .btn {
  width: 100%;
}

/* Sell or Trade card (home page) */
.sell-trade-card {
  display: block;
  margin: 24px 0 32px;
  background: linear-gradient(135deg, #D50084, #9B0062);
  border-radius: 16px;
  padding: 24px 32px;
  color: #fff;
  text-align: center;
  border: none;
  box-shadow: 0 6px 20px rgba(213, 0, 132, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.sell-trade-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(213, 0, 132, 0.35);
  color: #fff;
}
.sell-trade-card-label {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.sell-trade-card-desc {
  display: block;
  font-size: 0.95rem;
  opacity: 0.95;
}

/* Sell or Trade page */
.sell-hero {
  background: linear-gradient(135deg, #101827, #1c2940);
  color: #fff;
  border-radius: 20px;
  padding: 36px 40px;
  margin: 80px 0 32px;
}
.sell-hero h1 {
  font-size: 2.2rem;
  margin: 0 0 12px;
}
.sell-hero p {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.95;
}
.sell-trade-form-section {
  margin: 32px 0;
}
.sell-trade-form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
}
.sell-trade-form-card h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}
.sell-trade-form-subtitle {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 0.95rem;
}
.sell-trade-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sell-trade-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sell-trade-form-group label {
  font-weight: 600;
  font-size: 0.9rem;
}
.sell-trade-form-group input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.sell-trade-form-hint {
  font-size: 0.8rem;
  color: var(--muted);
}
.sell-trade-form-section-label {
  font-weight: 600;
  margin: 16px 0 0;
  font-size: 0.95rem;
}
.sell-trade-submit {
  margin-top: 8px;
  padding: 14px 24px;
  font-size: 1rem;
}
.sell-trade-privacy-note {
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.sell-paid-section {
  text-align: center;
  padding: 40px 24px;
  margin: 40px 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.sell-paid-section h2 {
  margin: 0 0 8px;
  font-size: 1.75rem;
}
.sell-paid-tagline {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.sell-paid-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
}
.sell-paid-stars {
  color: #f59e0b;
}
.sell-how-it-works {
  margin: 48px 0;
}
.sell-how-it-works h2 {
  margin: 0 0 24px;
  font-size: 1.5rem;
}
.sell-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}
.sell-step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.sell-step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}
.sell-step-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.sell-step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.sell-voucher-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}
.sell-how-paid {
  margin: 48px 0;
}
.sell-how-paid h2 {
  margin: 0 0 24px;
  font-size: 1.5rem;
}
.sell-paid-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.sell-paid-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.sell-paid-step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.sell-paid-step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.sell-amount-example {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 24px;
  max-width: 320px;
  margin: 0 auto;
}
.sell-amount-label {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: var(--muted);
}
.sell-amount-value {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 4px;
}
.sell-amount-from, .sell-amount-email {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.sell-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.sell-promo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.sell-promo-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}
.sell-promo-card p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.sell-newsletter {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, #101827, #1c2940);
  color: #fff;
  border-radius: 16px;
}
.sell-newsletter h2 {
  margin: 0 0 8px;
  color: #fff;
}
.sell-newsletter p {
  margin: 0;
  opacity: 0.9;
}

/* How it Works page */
.howitworks-hero {
  margin: 48px 0 56px;
  text-align: center;
}
.howitworks-hero h2 {
  margin: 0 0 16px;
  font-size: 1.75rem;
}
.howitworks-hero-intro {
  margin: 0 0 32px;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.howitworks-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.howitworks-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.howitworks-step h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}
.howitworks-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.howitworks-myths {
  margin: 56px 0;
}
.howitworks-myths h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}
.howitworks-myths h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--muted);
}
.howitworks-myths > p {
  margin: 0 0 24px;
  max-width: 640px;
}
.howitworks-myths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.howitworks-myth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.howitworks-myth-card h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.howitworks-myth-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.howitworks-stories {
  margin: 56px 0;
  text-align: center;
  padding: 40px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.howitworks-stories h2 {
  margin: 0 0 16px;
}
.howitworks-quote {
  margin: 0;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
}
.howitworks-compare {
  margin: 56px 0;
}
.howitworks-compare h2 {
  margin: 0 0 8px;
}
.howitworks-compare > p {
  margin: 0 0 24px;
  color: var(--muted);
}
.howitworks-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.howitworks-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 400px;
}
.howitworks-table th,
.howitworks-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.howitworks-table th {
  font-weight: 600;
  background: rgba(0,0,0,0.03);
}
.howitworks-table td:first-child {
  font-weight: 500;
}
.howitworks-table td:nth-child(2),
.howitworks-table td:nth-child(3) {
  text-align: center;
}
.howitworks-table td:nth-child(2) {
  color: #16a34a;
}
.howitworks-table td:nth-child(3) {
  color: #dc2626;
}
.howitworks-cta {
  margin: 56px 0;
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, #101827, #1c2940);
  color: #fff;
  border-radius: 16px;
}
.howitworks-cta h2 {
  margin: 0 0 16px;
  color: #fff;
}
.howitworks-cta p {
  margin: 0 0 24px;
  opacity: 0.95;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.howitworks-cta .btn {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #fff;
}
.howitworks-cta .btn:hover {
  background: #1d4ed8;
  color: #fff;
}
.howitworks-faq {
  margin: 56px 0;
}
.howitworks-faq h2 {
  margin: 0 0 24px;
}
.howitworks-faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.howitworks-faq-item {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.howitworks-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.howitworks-faq-item h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.howitworks-faq-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}
.howitworks-newsletter {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, #D50084, #9B0062);
  color: #fff;
  border-radius: 16px;
}
.howitworks-newsletter h2 {
  margin: 0 0 8px;
  color: #fff;
}
.howitworks-newsletter p {
  margin: 0;
  opacity: 0.95;
}

/* Dealer Canada page hero (FAQs, Services, Contact) */
.dc-page-hero {
  background: linear-gradient(135deg, #D50084, #9B0062);
  color: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  margin: 48px 0 40px;
  text-align: center;
}
.dc-page-hero h1 {
  margin: 0 0 12px;
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
}
.dc-page-hero p {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.95;
}
.dc-btn-primary {
  background: #D50084 !important;
  border-color: #B80070 !important;
  color: #fff !important;
}
.dc-btn-primary:hover {
  background: #B80070 !important;
  color: #fff !important;
}

/* FAQs page */
.faqs-hero {
  margin: 40px 0 56px;
}
.faqs-hero h2 {
  margin: 0 0 24px;
  font-size: 1.75rem;
}
.faqs-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.faqs-feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faqs-feature-card:hover {
  box-shadow: 0 8px 24px rgba(213,0,132,0.12);
  border-color: rgba(213,0,132,0.3);
}
.faqs-feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}
.faqs-feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.faqs-unlock {
  margin: 56px 0;
}
.faqs-unlock h2 {
  margin: 0 0 24px;
  font-size: 1.5rem;
}
.faqs-unlock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.faqs-unlock-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faqs-unlock-item:hover {
  box-shadow: 0 8px 24px rgba(213,0,132,0.12);
  border-color: rgba(213,0,132,0.3);
}
.faqs-unlock-item h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.faqs-unlock-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.faqs-tagline {
  margin: 48px 0;
  text-align: center;
}
.faqs-tagline h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #D50084;
  font-weight: 700;
}
.faqs-finance {
  margin: 56px 0;
  padding: 40px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.faqs-finance-tagline {
  color: #D50084 !important;
}
.faqs-finance h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
}
.faqs-finance p {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.5;
}
.faqs-finance-tagline {
  margin-top: 16px !important;
  font-weight: 600;
}
.faqs-finance .btn {
  margin-top: 20px;
  display: inline-block;
}
.faqs-general {
  margin: 56px 0;
}
.faqs-general h2 {
  margin: 0 0 24px;
  font-size: 1.5rem;
}
.faqs-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faqs-faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.faqs-faq-item:last-child {
  border-bottom: none;
}
.faqs-faq-item h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
}
.faqs-faq-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}
.faqs-lenders {
  margin: 56px 0;
  padding: 40px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.faqs-lenders h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}
.faqs-lenders > p {
  margin: 0 0 24px;
  color: var(--muted);
}
.faqs-lenders-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.faqs-lenders-list span {
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.faqs-newsletter {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, #D50084, #9B0062);
  color: #fff;
  border-radius: 16px;
}
.faqs-newsletter h2 {
  margin: 0 0 8px;
  color: #fff;
}
.faqs-newsletter p {
  margin: 0;
  opacity: 0.95;
}

/* Services page */
.services-hero {
  margin: 40px 0 56px;
  text-align: center;
  padding: 40px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.services-hero h1 {
  margin: 0 0 8px;
  font-size: 2rem;
}
.services-hero h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 600;
}
.services-hero p {
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.services-tires-search {
  margin: 56px 0;
  padding: 40px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.services-tires-search h2 {
  margin: 0 0 24px;
  font-size: 1.5rem;
}
.services-tire-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.services-tire-links .btn {
  padding: 14px 24px;
  font-weight: 600;
  background: #D50084 !important;
  border-color: #B80070 !important;
  color: #fff !important;
}
.services-tire-links .btn:hover {
  background: #B80070 !important;
  color: #fff !important;
}
.services-shop-tires {
  margin: 56px 0;
  padding: 40px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.services-shop-tires h2 {
  margin: 0 0 20px;
  font-size: 1.5rem;
}
.services-tire-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.services-tire-brand {
  padding: 14px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.services-tire-brand:hover {
  border-color: rgba(213,0,132,0.4);
  box-shadow: 0 4px 12px rgba(213,0,132,0.15);
}
.services-our-services {
  margin: 56px 0;
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.services-schedule-form .btn {
  background: #D50084 !important;
  border-color: #B80070 !important;
  color: #fff !important;
}
.services-schedule-form .btn:hover {
  background: #B80070 !important;
  color: #fff !important;
}
.services-schedule-form .btn {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.services-our-services h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}
.services-our-services h3 {
  margin: 24px 0 12px;
  font-size: 1.2rem;
}
.services-our-services > p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.5;
}
.services-schedule-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 560px;
  margin-bottom: 16px;
}
.services-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.services-form-row label {
  font-weight: 500;
  font-size: 0.9rem;
}
.services-form-row input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.services-form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.services-hours {
  margin: 56px 0;
  padding: 40px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.services-hours h2 {
  margin: 0 0 24px;
  font-size: 1.5rem;
}
.services-hours-grid {
  display: grid;
  max-width: 400px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
}
.services-hour-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.services-hour-row:last-child {
  border-bottom: none;
}
.services-day {
  font-weight: 500;
}
.services-time {
  text-align: right;
  color: var(--muted);
}
.services-newsletter {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, #D50084, #9B0062);
  color: #fff;
  border-radius: 16px;
}
.services-newsletter h2 {
  margin: 0 0 8px;
  color: #fff;
}
.services-newsletter p {
  margin: 0;
  opacity: 0.95;
}

/* Contact page */
.contact-main {
  margin: 40px 0 56px;
}
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-hero {
  margin: 0;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.contact-hero h2 {
  margin: 0 0 12px;
  font-size: 1.75rem;
}
.contact-hero > p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.5;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 0;
}
.contact-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form-row label {
  font-weight: 500;
  font-size: 0.9rem;
}
.contact-form-row input,
.contact-form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.contact-form-row textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-form-full {
  grid-column: 1 / -1;
}
.contact-form .btn {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.contact-details {
  margin: 0;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.contact-details h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
}
.contact-details > p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.5;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-info-item {
  padding-left: 16px;
  border-left: 3px solid #D50084;
}
.contact-info-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #D50084;
  font-weight: 600;
}
.contact-info-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.contact-info-item a {
  color: #D50084;
}
.contact-info-item a:hover {
  text-decoration: underline;
}
.contact-follow {
  margin: 48px 0;
  padding: 24px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-follow h2 {
  margin: 0;
  font-size: 1.5rem;
}
.contact-offices {
  margin: 56px 0;
}
.contact-offices h2 {
  margin: 0 0 24px;
  font-size: 1.5rem;
}
.contact-offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.contact-office-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.contact-office-card:hover {
  box-shadow: 0 8px 24px rgba(213,0,132,0.12);
  border-color: rgba(213,0,132,0.3);
}
.contact-office-card h3 {
  margin: 0 0 16px;
  font-size: 1.2rem;
}
.contact-office-address {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}
.contact-map-link {
  display: inline-block;
  margin-bottom: 12px;
  color: #D50084;
  font-weight: 600;
}
.contact-map-link:hover {
  text-decoration: underline;
}
.contact-office-email,
.contact-office-phone {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.contact-office-email a {
  color: #D50084;
}
.contact-newsletter {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, #D50084, #9B0062);
  color: #fff;
  border-radius: 16px;
}
.contact-newsletter h2 {
  margin: 0 0 8px;
  color: #fff;
}
.contact-newsletter p {
  margin: 0;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .contact-offices-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
  .services-schedule-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .howitworks-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .howitworks-myths-grid {
    grid-template-columns: 1fr;
  }
  .faqs-features-grid,
  .faqs-unlock-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .howitworks-steps {
    grid-template-columns: 1fr;
  }
  .sell-steps-grid {
    grid-template-columns: 1fr;
  }
  .sell-paid-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sell-promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .account-cards {
    grid-template-columns: 1fr;
  }
  .register-card {
    padding: 24px 20px;
  }
  .register-form .form-row {
    grid-template-columns: 1fr;
  }
}
