/* ============================================
   STYLE.CSS — Full site styles
   Star Car Japan — BE FORWARD style
   ============================================ */

/* ============================================
   TOP BAR (Black bar at very top)
   ============================================ */

#top-bar {
  background: #000000;
  color: #ffffff;
  font-size: 11px;
  height: 30px;
  line-height: 30px;
  border-bottom: 1px solid #333;
}

#top-bar .top-bar-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

#top-bar .top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
}

#top-bar .top-bar-left span {
  color: #cccccc;
}

#top-bar .top-bar-left .site-title {
  color: #ffffff;
  font-weight: bold;
  font-size: 11px;
}

#top-bar .top-bar-left .divider {
  color: #555;
  margin: 0 4px;
}

#top-bar .top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
}

#top-bar .top-bar-right select {
  background: #222;
  color: #fff;
  border: 1px solid #444;
  padding: 1px 4px;
  font-size: 11px;
  height: 22px;
  cursor: pointer;
}

#top-bar .top-bar-right label {
  color: #aaa;
}

/* ============================================
   HEADER (Logo + Search + Nav)
   ============================================ */

#site-header {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
}

.header-main {
  max-width: 1260px;
  margin: 0 auto;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* LOGO */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.header-logo:hover {
  text-decoration: none;
}

.logo-icon {
  width: 60px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text-main {
  font-size: 22px;
  font-weight: 900;
  color: #e8380d;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1;
}

.logo-text-sub {
  font-size: 9px;
  color: #666;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* SEARCH BAR */
.header-search {
  flex: 1;
  display: flex;
  align-items: center;
  border: 2px solid #e8380d;
  height: 38px;
  max-width: 620px;
}

.search-by-dropdown {
  border: none;
  border-right: 1px solid #ddd;
  background: #f8f8f8;
  color: #333;
  padding: 0 8px;
  height: 100%;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  min-width: 100px;
  outline: none;
  appearance: auto;
}

.search-input {
  flex: 1;
  border: none;
  padding: 0 10px;
  font-size: 13px;
  color: #333;
  height: 100%;
  outline: none;
}

.search-input::placeholder {
  color: #999;
}

.search-icon-btn {
  background: #e8380d;
  border: none;
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.search-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.search-icon-btn:hover {
  background: #cc2e09;
}

/* HEADER RIGHT */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-right a {
  color: #333;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.header-right a:hover {
  color: #e8380d;
  text-decoration: none;
}

.header-right .favorites-icon,
.header-right .login-icon {
  font-size: 16px;
}

.fav-count {
  background: #e8380d;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 1px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

#site-nav {
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 2px solid #e8380d;
}

.nav-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 36px;
  font-size: 13px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  border-right: 1px solid #eee;
  gap: 4px;
  white-space: nowrap;
}

.nav-item:first-child {
  border-left: 1px solid #eee;
}

.nav-item:hover {
  background: #f5f5f5;
  color: #e8380d;
  text-decoration: none;
}

.nav-item.active {
  background: #e8380d;
  color: #ffffff;
}

.nav-item .nav-icon {
  font-size: 14px;
}

.nav-item .nav-arrow {
  font-size: 9px;
  color: #999;
  margin-left: 2px;
}

.nav-item.active .nav-arrow {
  color: #ffcccc;
}

/* ============================================
   MAIN CONTENT WRAPPER (3-column)
   ============================================ */

#page-content {
  max-width: 1260px;
  margin: 0 auto;
  padding: 10px;
}

.three-col-layout {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* LEFT SIDEBAR */
.sidebar-left {
  width: 190px;
  flex-shrink: 0;
}

/* CENTER CONTENT */
.main-content {
  flex: 1;
  min-width: 0;
}

/* RIGHT SIDEBAR */
.sidebar-right {
  width: 190px;
  flex-shrink: 0;
}

/* ============================================
   SIDEBAR BANNERS (Left side promos)
   ============================================ */

.sidebar-banner {
  margin-bottom: 8px;
  border: 1px solid #ddd;
  overflow: hidden;
  cursor: pointer;
}

.sidebar-banner img {
  width: 100%;
  display: block;
}

.promo-banner-1 {
  background: linear-gradient(135deg, #ff6b00, #e8380d);
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  color: #fff;
}

.promo-banner-1 .promo-small {
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
}

.promo-banner-1 .promo-large {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.promo-banner-1 .promo-mid {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.promo-banner-1 .promo-btn {
  margin-top: 6px;
  background: #000;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-banner-2 {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  color: #fff;
}

.promo-banner-2 .promo-large {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffd700;
}

.promo-banner-2 .promo-mid {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
}

.promo-banner-2 .promo-sub {
  font-size: 10px;
  color: #aaa;
  margin-top: 4px;
}

.promo-banner-2 .promo-btn {
  margin-top: 6px;
  background: #e8380d;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-banner-3 {
  background: linear-gradient(135deg, #0a4d2b, #1a7a45);
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  color: #fff;
}

.promo-banner-3 .promo-num {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: #ffd700;
}

.promo-banner-3 .promo-text {
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
}

.promo-banner-3 .promo-sub {
  font-size: 9px;
  color: #aaffaa;
  margin-top: 4px;
}

.promo-banner-3 .promo-btn {
  margin-top: 6px;
  background: #fff;
  color: #0a4d2b;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sidebar section titles — base style. Mobile gets a richer treatment
   (gradient + chevron) inside the @media (max-width: 768px) block. */
.sidebar-section-title {
  background: #555;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 8px 4px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  position: relative;     /* anchor point for the desktop & mobile chevron */
  list-style: none;       /* hide native <summary> marker */
  cursor: pointer;
}
.sidebar-section-title::-webkit-details-marker { display: none; }
.sidebar-section-title::marker { content: ""; }
/* Desktop chevron (subtle — sections are always open here) */
@media (min-width: 769px) {
  .sidebar-section-title::after { content: ""; }   /* no chevron on desktop */
}

.sidebar-links {
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  margin-bottom: 8px;
}

.sidebar-links a {
  display: block;
  padding: 5px 8px;
  font-size: 12px;
  color: #0066cc;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
}

.sidebar-links a:hover {
  background: #f9f9f9;
  color: #e8380d;
  text-decoration: underline;
}

.sidebar-links a::before {
  content: "▶ ";
  font-size: 8px;
  color: #e8380d;
}

/* ============================================
   RIGHT SIDEBAR — Create Account
   ============================================ */

.create-account-widget {
  background: #fff;
  border: 1px solid #ddd;
  margin-bottom: 8px;
}

.create-account-widget .widget-title {
  background: #f5a623;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.create-account-widget .widget-sub {
  font-size: 11px;
  color: #fff;
  padding: 6px 12px 4px;
  background: #f5a623;
  opacity: 0.9;
}

.ca-features {
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px 4px;
}

.ca-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
}

.ca-feature .ca-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5a623;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
}

.ca-feature .ca-label {
  font-size: 10px;
  color: #333;
  line-height: 1.2;
}

.create-account-widget .ca-btn {
  display: block;
  margin: 4px 12px 12px;
  background: #e8380d;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  padding: 10px;
  text-decoration: none;
  text-transform: uppercase;
}

.create-account-widget .ca-btn:hover {
  background: #cc2e09;
  text-decoration: none;
}

/* ============================================
   SEARCH FORM PANEL
   ============================================ */

.search-form-panel {
  background: #fff;
  border: 1px solid #ddd;
  margin-bottom: 10px;
}

.search-form-title {
  background: #e8380d;
  color: #fff;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-form-title .title-left {
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-form-title .title-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}

.search-form-title .deals-label {
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}

.search-form-title input[type="checkbox"] {
  cursor: pointer;
  width: 13px;
  height: 13px;
}

.deals-badge {
  background: #ff9900;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 1px 6px;
  border-radius: 2px;
  text-transform: uppercase;
}

.search-form-body {
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.search-form-fields {
  flex: 1;
}

.search-form-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}

.search-form-row:last-child {
  margin-bottom: 0;
}

.field-group {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.field-group label {
  font-size: 12px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  min-width: 46px;
}

.field-group select {
  flex: 1;
  height: 28px;
  border: 1px solid #ccc;
  padding: 0 4px;
  font-size: 12px;
  color: #333;
  background: #fff;
  outline: none;
  cursor: pointer;
}

.field-group select:focus {
  border-color: #e8380d;
}

.year-range {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.year-range label {
  font-size: 12px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  min-width: 36px;
}

.year-range select {
  flex: 1;
  height: 28px;
  border: 1px solid #ccc;
  padding: 0 4px;
  font-size: 12px;
  color: #333;
  background: #fff;
  outline: none;
  cursor: pointer;
}

.year-range .tilde {
  color: #999;
  font-size: 14px;
  padding: 0 2px;
}

.search-form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.big-search-btn {
  background: #222222;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  padding: 0 24px;
  height: 62px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.big-search-btn:hover {
  background: #000;
}

.items-match {
  font-size: 11px;
  color: #999;
  text-align: center;
  white-space: nowrap;
}

.items-match strong {
  color: #e8380d;
}

/* ============================================
   VEHICLE LIST — Sort/View Controls
   ============================================ */

.list-controls {
  background: #fff;
  border: 1px solid #ddd;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.list-controls .match-count {
  font-size: 12px;
  color: #333;
  flex: 1;
}

.list-controls .match-count strong {
  color: #e8380d;
}

.list-controls label {
  font-size: 11px;
  color: #666;
  white-space: nowrap;
}

.list-controls select {
  border: 1px solid #ccc;
  padding: 2px 4px;
  font-size: 12px;
  height: 24px;
  color: #333;
  cursor: pointer;
  outline: none;
}

.view-toggle {
  display: flex;
  gap: 2px;
}

.view-btn {
  width: 26px;
  height: 24px;
  border: 1px solid #ccc;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: #666;
}

.view-btn.active {
  background: #e8380d;
  color: #fff;
  border-color: #e8380d;
}

.view-btn:hover:not(.active) {
  background: #f5f5f5;
}

/* ============================================
   VEHICLE CARDS — Horizontal List Row
   ============================================ */

.vehicle-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vehicle-row {
  background: #fff;
  border: 1px solid #dddddd;
  margin-bottom: 6px;
  display: flex;
  overflow: hidden;
}

.vehicle-row:hover {
  border-color: #e8380d;
  box-shadow: 0 1px 4px rgba(232, 56, 13, 0.15);
}

/* Column 1: Image */
.vr-image-col {
  width: 190px;
  flex-shrink: 0;
  position: relative;
  background: #f5f5f5;
}

.vr-image-col .car-img {
  /* CIS auction photos are uniformly 4:3 (800×600).  Pin the
     container's aspect-ratio to 4/3 so `object-fit: cover` produces
     zero crop and the entire car is always visible.  Previously we
     hardcoded 190×143 (≈1.33) which was OK on desktop but every
     fluid layout below (grid view, stacked mobile) re-stretched the
     box to a different ratio and started clipping the car. */
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.vr-image-col .fav-btn {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  padding: 0;
}

.vr-image-col .fav-btn:hover {
  background: #e8380d;
}

.vr-image-col .fav-btn.active {
  background: #e8380d;
}

.vr-ref-badge {
  background: #333;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  text-align: center;
  letter-spacing: 0.5px;
}

.vr-stock-badge {
  background: #e8380d;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 1px 6px;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.vr-stock-badge.new {
  background: #28a745;
}

.vr-stock-badge.hot {
  background: #e8380d;
}

/* "AVAILABILITY" replaces "IN STOCK" — light/yellowish green */
.vr-stock-badge.available {
  background: #7cc242;
  color: #fff;
}

/* Column 2: Specs */
.vr-specs-col {
  flex: 1;
  padding: 8px 10px;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  min-width: 0;
}

.vr-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 7px;
  line-height: 1.3;
}

.vr-title .year-part {
  color: #e8380d;
}

/* Specs mini-table */
.specs-table {
  width: 100%;
  border: 1px solid #ddd;
  font-size: 11px;
  margin-bottom: 7px;
  table-layout: fixed;
}

.specs-table th {
  background: #f5f5f5;
  color: #999;
  font-weight: normal;
  text-align: center;
  padding: 3px 4px;
  border: 1px solid #e0e0e0;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
}

.specs-table td {
  color: #333;
  font-weight: bold;
  text-align: center;
  padding: 3px 4px;
  border: 1px solid #e0e0e0;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.specs-table .location-cell {
  color: #333;
  font-size: 10px;
}

.vr-features {
  font-size: 11px;
  color: #666;
  line-height: 1.5;
}

.vr-features .feature-tag {
  display: inline-block;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  color: #555;
  font-size: 10px;
  padding: 1px 5px;
  margin: 1px 2px 1px 0;
}

/* Column 3: Price + INQUIRY */
.vr-price-col {
  width: 175px;
  flex-shrink: 0;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
}

.price-label {
  font-size: 11px;
  color: #999;
  line-height: 1;
}

.fob-price {
  font-size: 21px;
  font-weight: bold;
  color: #e8380d;
  line-height: 1.2;
  margin-bottom: 4px;
}

.price-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 5px 0;
}

.total-price-val {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

/* "Varies by destination" — shown instead of a total on the card,
   since the real total depends on the Step 1 shipping choice. */
.total-cost-varies {
  font-size: 12px;
  font-weight: 700;
  color: #7cc242;
  font-style: italic;
}

.cif-label {
  font-size: 10px;
  color: #999;
  margin-top: 2px;
  line-height: 1.3;
}

.inquiry-btn {
  display: block;
  width: 100%;
  background: #e8380d;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  padding: 8px 0;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: auto;
  letter-spacing: 0.5px;
  text-decoration: none;
  margin-top: 8px;
}

.inquiry-btn:hover {
  background: #cc2e09;
  text-decoration: none;
  color: #fff;
}

/* Hot badge on image */
.img-badges {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.img-badge {
  font-size: 9px;
  font-weight: bold;
  padding: 1px 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.img-badge.hot {
  background: #e8380d;
}

.img-badge.new {
  background: #28a745;
}

.img-badge.stock {
  background: #f5a623;
}

/* ============================================
   GRID VIEW (alternate layout)
   ============================================ */

.vehicle-list.grid-view {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.vehicle-list.grid-view .vehicle-row {
  flex-direction: column;
  margin-bottom: 0;
}

.vehicle-list.grid-view .vr-image-col {
  width: 100%;
}

.vehicle-list.grid-view .vr-image-col .car-img {
  /* aspect-ratio inherited from .vr-image-col .car-img above (4/3) */
  width: 100%;
  height: auto;
}

.vehicle-list.grid-view .vr-price-col {
  width: 100%;
  border-top: 1px solid #eee;
}

.vehicle-list.grid-view .vr-specs-col {
  border-right: none;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  padding: 12px 0;
  font-size: 12px;
}

.page-btn {
  min-width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  background: #fff;
  color: #0066cc;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.page-btn.active {
  background: #e8380d;
  color: #fff;
  border-color: #e8380d;
  font-weight: bold;
}

.page-btn:hover:not(.active) {
  background: #f5f5f5;
}

/* ============================================
   FEATURED BANNERS (horizontal below search)
   ============================================ */

.feature-banners {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  overflow-x: auto;
}

.feature-banner {
  flex: 1;
  min-width: 140px;
  background: #222;
  color: #fff;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px;
  cursor: pointer;
  border: 1px solid #ddd;
  text-decoration: none;
}

.feature-banner:hover {
  text-decoration: none;
  opacity: 0.9;
}

.feature-banner .fb-icon {
  font-size: 20px;
  margin-bottom: 3px;
}

.feature-banner .fb-title {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
}

.feature-banner .fb-sub {
  font-size: 9px;
  color: #ccc;
}

.fb-live-auction { background: linear-gradient(135deg, #1a1a2e, #c0392b); }
.fb-kei { background: linear-gradient(135deg, #2c3e50, #3498db); }
.fb-earn { background: linear-gradient(135deg, #e8380d, #ff7700); }
.fb-special { background: linear-gradient(135deg, #1a472a, #2d8a4e); }
.fb-new { background: linear-gradient(135deg, #4a0080, #7b2fbe); }

/* ============================================
   ANNOUNCEMENT BANNER
   ============================================ */

.announcement-bar {
  background: #fff8e1;
  border: 1px solid #ffe082;
  padding: 8px 12px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #333;
}

.announcement-bar .ann-title {
  color: #e8380d;
  font-weight: bold;
  margin-right: 6px;
}

/* ============================================
   PAGE SECTIONS — inner pages
   ============================================ */

.page-section {
  background: #fff;
  border: 1px solid #ddd;
  margin-bottom: 10px;
}

.section-title-bar {
  background: #e8380d;
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-body {
  padding: 16px;
}

/* ============================================
   INQUIRY FORMS
   ============================================ */

.inquiry-form {
  max-width: 700px;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.form-group label {
  font-size: 12px;
  font-weight: bold;
  color: #333;
}

.form-group label .required {
  color: #e8380d;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid #ddd;
  padding: 6px 8px;
  font-size: 13px;
  color: #333;
  outline: none;
  background: #fff;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #e8380d;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit-btn {
  background: #e8380d;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 30px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

.form-submit-btn:hover {
  background: #cc2e09;
}

.form-note {
  font-size: 11px;
  color: #666;
  margin-top: 8px;
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 8px 10px;
}

/* ============================================
   HOW TO BUY page
   ============================================ */

.steps-list {
  counter-reset: step-counter;
  padding: 8px 0;
}

.step-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  counter-increment: step-counter;
}

.step-item:last-child {
  border-bottom: none;
}

.step-num {
  width: 36px;
  height: 36px;
  background: #e8380d;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
}

.step-content h3 {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
}

/* ============================================
   ABOUT page
   ============================================ */

.about-stats {
  display: flex;
  gap: 0;
  border: 1px solid #ddd;
  margin-bottom: 14px;
  background: #fff;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  border-right: 1px solid #ddd;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 24px;
  font-weight: bold;
  color: #e8380d;
  display: block;
}

.stat-label {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  padding: 0;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  user-select: none;
}

.faq-question:hover {
  background: #fafafa;
  color: #e8380d;
}

.faq-question::before {
  content: "Q. ";
  color: #e8380d;
  font-size: 14px;
}

.faq-question .faq-arrow {
  font-size: 11px;
  color: #999;
  transition: transform 0.2s;
}

.faq-question.open .faq-arrow {
  transform: rotate(90deg);
}

.faq-answer {
  display: none;
  padding: 10px 14px 10px 28px;
  font-size: 12px;
  color: #555;
  line-height: 1.7;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.faq-answer.open {
  display: block;
}

.faq-answer::before {
  content: "A. ";
  color: #0066cc;
  font-weight: bold;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
  background: #fff;
  border: 1px solid #eee;
  padding: 5px 10px;
  margin-bottom: 8px;
  font-size: 11px;
  color: #999;
}

.breadcrumb a {
  color: #0066cc;
}

.breadcrumb span {
  margin: 0 4px;
  color: #ccc;
}

/* ============================================
   SUCCESS MESSAGE
   ============================================ */

.success-msg {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 12px 16px;
  font-size: 13px;
  margin-top: 10px;
  display: none;
}

.success-msg.visible {
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */

#site-footer {
  background: #1a1a1a;
  color: #ccc;
  margin-top: 20px;
  padding-top: 0;
}

.footer-top {
  background: #111;
  padding: 6px 0;
  border-bottom: 1px solid #2a2a2a;
}

.footer-top-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
}

.footer-payment {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-payment span {
  color: #888;
  white-space: nowrap;
}

.pay-badge {
  background: #333;
  color: #ccc;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 8px;
  border: 1px solid #444;
  letter-spacing: 0.5px;
}

.footer-main {
  max-width: 1260px;
  margin: 0 auto;
  padding: 18px 10px 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.2fr;
  gap: 20px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 4px;
}

.footer-col ul li a {
  color: #999;
  font-size: 11px;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-col-about {
  /* wider column */
}

.footer-col-about .footer-logo-text {
  font-size: 18px;
  font-weight: 900;
  color: #e8380d;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.footer-col-about p {
  font-size: 11px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-social {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.social-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.social-btn:hover {
  opacity: 0.8;
  text-decoration: none;
}

.social-fb { background: #3b5998; }
.social-tw { background: #1da1f2; }
.social-yt { background: #ff0000; }
.social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 10px;
  text-align: center;
}

.footer-bottom-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #666;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom-inner a {
  color: #777;
  font-size: 11px;
}

.footer-bottom-inner a:hover {
  color: #aaa;
}

.footer-links-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   MULTI-STEP INQUIRY
   ============================================ */

.step-indicator {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  overflow: hidden;
}

.step-ind-item {
  flex: 1;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  background: #f5f5f5;
  color: #999;
  border-right: 1px solid #ddd;
}

.step-ind-item:last-child {
  border-right: none;
}

.step-ind-item.active {
  background: #e8380d;
  color: #fff;
}

.step-ind-item.done {
  background: #555;
  color: #fff;
}

.step-content-panel {
  display: none;
}

.step-content-panel.active {
  display: block;
}

.step-nav-btns {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.btn-next {
  background: #e8380d;
  color: #fff;
  border: none;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-prev {
  background: #888;
  color: #fff;
  border: none;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-next:hover { background: #cc2e09; }
.btn-prev:hover { background: #666; }

/* Vehicle summary card in step 2 */
.vehicle-summary-card {
  display: flex;
  gap: 12px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 14px;
}

.vehicle-summary-card img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
}

.vehicle-summary-info h3 {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.vehicle-summary-info .price {
  font-size: 18px;
  font-weight: bold;
  color: #e8380d;
  margin: 4px 0;
}

/* ============================================
   RESPONSIVE (basic mobile)
   ============================================ */

/* ============================================
   WHATSAPP BUTTON
   ============================================ */

.whatsapp-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  background: #25D366 !important;
  color: #fff !important;
  padding: 5px 14px !important;
  border-radius: 3px;
  font-size: 12px !important;
  font-weight: bold;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s;
}

.whatsapp-btn:hover {
  background: #1fba59 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.wa-icon {
  width: 16px;
  height: 16px;
  fill: #fff;
  flex-shrink: 0;
}

/* ============================================
   TRUST PAGE
   ============================================ */

.trust-hero {
  background: #1a1a1a;
  padding: 40px 10px;
  text-align: center;
  margin-bottom: 8px;
}

.trust-hero-inner {
  max-width: 750px;
  margin: 0 auto;
}

.trust-hero-badge {
  display: inline-block;
  background: rgba(232,56,13,0.15);
  border: 1px solid rgba(232,56,13,0.4);
  color: #ff9882;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 14px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.trust-hero-title {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.trust-hero-title span {
  color: #e8380d;
}

.trust-hero-desc {
  font-size: 13px;
  color: #aaa;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Trust cards grid */
.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.trust-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e8e8e8;
  background: #fff;
  transition: border-color 0.15s;
}

.trust-card:hover {
  border-color: #e8380d;
}

.trust-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #e8380d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.trust-card-body h4 {
  font-size: 13px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.trust-card-body p {
  font-size: 11px;
  color: #666;
  line-height: 1.6;
}

/* Promise section */
.trust-promise {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.trust-promise-text {
  flex: 1;
}

.trust-promise-text > p {
  font-size: 12px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 14px;
}

.trust-promise-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-promise-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: bold;
  color: #333;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}

.trust-promise-list li:last-child {
  border-bottom: none;
}

.trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: #e8380d;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

.trust-promise-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.trust-stat-box {
  background: #1a1a1a;
  padding: 14px 20px;
  text-align: center;
  min-width: 130px;
}

.trust-stat-num {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #e8380d;
  line-height: 1.1;
}

.trust-stat-label {
  display: block;
  font-size: 10px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Trust CTA */
.trust-cta {
  background: #e8380d;
  padding: 28px 20px;
  text-align: center;
  margin-top: 12px;
}

.trust-cta h3 {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.trust-cta p {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.trust-cta-btn {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 8px 28px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.15s, color 0.15s;
}

.trust-cta-btn:hover {
  background: #fff;
  color: #e8380d;
  text-decoration: none;
}

/* ============================================
   RESPONSIVE (basic mobile)
   ============================================ */

@media (max-width: 768px) {
  body { min-width: 0; }

  .trust-cards-grid {
    grid-template-columns: 1fr;
  }

  .trust-promise {
    flex-direction: column;
  }

  .trust-promise-stats {
    flex-direction: row;
    width: 100%;
  }

  .trust-stat-box {
    flex: 1;
    min-width: 0;
  }

  .trust-hero-title {
    font-size: 24px;
  }
  
  .three-col-layout {
    flex-direction: column;
  }
  
  .sidebar-left,
  .sidebar-right {
    width: 100%;
  }

  .vehicle-row {
    flex-direction: column;
  }
  
  .vr-image-col {
    width: 100%;
  }

  .vr-image-col .car-img {
    /* Keep the 4/3 aspect-ratio from the desktop rule so the whole
       car is visible on phones too — earlier we forced height: 200px
       which on a ~360px-wide card gave a 1.8:1 box and chopped the
       roof / wheels off the 4:3 source photo. */
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  
  .vr-price-col {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  
  .header-main {
    flex-wrap: wrap;
  }
  
  .header-search {
    order: 3;
    width: 100%;
    max-width: 100%;
  }
  
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  
  .search-form-row {
    flex-wrap: wrap;
  }
}

/* ============================================
   ADDITIONS — Sidebar chips, dropdown nav,
   premium/kei banners, FX & shipping widgets,
   range-group search fields
   ============================================ */

/* ---- Navigation dropdown (Be Forward style) ---- */
.nav-item-wrap {
  position: relative;
  display: inline-block;
}
.nav-item-wrap.has-dropdown:hover > .nav-dropdown,
.nav-item-wrap.has-dropdown:focus-within > .nav-dropdown {
  display: block;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  background: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 720px;
  padding: 14px 18px;
}
.nav-dropdown-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.nav-dropdown-inner-narrow {
  grid-template-columns: repeat(2, 1fr);
  min-width: auto;
}
.nav-dd-col h5 {
  font-size: 11px;
  font-weight: 900;
  color: #e8380d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
}
.nav-dd-col a {
  display: block;
  font-size: 12px;
  color: #333;
  padding: 4px 2px;
  text-decoration: none;
}
.nav-dd-col a:hover {
  color: #e8380d;
  background: #fafafa;
}

/* ---- Make chips with logo-style badges ---- */
.make-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.make-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid #eee;
  background: #fff;
  text-decoration: none;
  font-size: 11px;
  color: #333;
  transition: border-color 0.15s, background 0.15s;
}
.make-chip:hover {
  border-color: #e8380d;
  background: #fff7f5;
}
.make-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Brand-logo PNG sizing inside .make-chip / .make-grid.
   Keeps the dataset's transparent PNGs from blowing up the chip. */
.make-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.make-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Tabler-icons body-type silhouettes inside .type-chip.
   Inherits stroke color from the chip; sized to match the old
   inline SVG silhouettes. */
.type-icon-img {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}
/* lipis/flag-icons SVG flags inside country chips and the top-bar.
   4×3 aspect ratio is preserved by the SVG itself. */
.country-flag-img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border: 1px solid #ddd;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.make-name {
  font-weight: 600;
}

/* ---- Price chips (Shop by Price) ---- */
.price-list,
.type-list,
.country-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.price-chip,
.type-chip,
.country-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: #fafafa;
  border: 1px solid #eee;
  border-left: 3px solid #e8380d;
  text-decoration: none;
  font-size: 12px;
  color: #333;
}
.price-chip:hover,
.type-chip:hover,
.country-chip:hover {
  background: #fff3e0;
  border-color: #e8380d;
}
.price-chip-arrow {
  color: #e8380d;
  font-weight: 900;
}
.type-chip {
  gap: 8px;
  justify-content: flex-start;
}
.type-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8380d;
  color: #fff;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
}
.type-name {
  font-weight: 600;
}
.country-name {
  font-weight: 600;
}
.country-count {
  font-size: 11px;
  color: #666;
  background: #fff;
  border: 1px solid #ddd;
  padding: 1px 6px;
  border-radius: 10px;
}

/* Inventory-derived count badges on Make / Type / Price chips and on
   the header / footer Make-Type lists.  Same visual language as
   .country-count so the sidebar reads consistently. */
.make-count,
.type-count,
.price-chip-count {
  font-size: 11px;
  color: #666;
  background: #fff;
  border: 1px solid #ddd;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: auto;
}
.nav-count {
  font-size: 10px;
  color: #999;
  font-weight: 500;
  margin-left: 4px;
}

/* ------------------------------------------------------------
   Coming-Soon (no-stock) state.
   Applied to: feature toggles in the search form
              (.deals-label.coming-soon, .deals-badge inside),
              the right-sidebar Premium banner (.premium-banner.coming-soon),
              the left-sidebar Nearly New banner (.promo-banner-2.coming-soon),
              and individual nav items (.nav-coming-soon).
   The whole element fades, the cursor switches to not-allowed, and any
   inner button becomes a non-clickable <span>.
   ------------------------------------------------------------ */
.coming-soon,
.nav-coming-soon {
  opacity: 0.45;
  filter: grayscale(0.6);
  cursor: not-allowed !important;
  pointer-events: none;
}
.coming-soon input[type="checkbox"][disabled] {
  cursor: not-allowed;
}
.nav-coming-soon {
  display: block;
  padding: 4px 0;
  font-size: 12px;
  color: #888;
}
.nav-coming-soon em {
  font-style: normal;
  font-size: 10px;
  color: #aaa;
  letter-spacing: 0.4px;
}
.promo-btn-disabled,
.premium-btn-disabled {
  display: inline-block;
  background: #555 !important;
  color: #ccc !important;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: not-allowed;
}

/* ------------------------------------------------------------
   Empty-results state — shown when the active filter combination
   yields zero matches.  Lives inside #vehicleList so the surrounding
   pagination + sort controls stay in place.
   ------------------------------------------------------------ */
.empty-results {
  text-align: center;
  padding: 60px 20px;
  background: #fafafa;
  border: 1px dashed #ddd;
  color: #555;
}
.empty-results .empty-icon {
  font-size: 36px;
  color: #e8380d;
  margin-bottom: 8px;
}
.empty-results h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #222;
}
.empty-results p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
}
.empty-results .empty-active {
  margin-top: 14px;
  font-size: 11px;
  color: #888;
  font-style: italic;
}
.empty-reset-btn {
  margin-top: 18px;
  background: #e8380d;
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
  transition: background 0.15s;
}
.empty-reset-btn:hover { background: #cc2e09; }

/* Auction grade row inside the vehicle-card specs table.
   Exterior score is on the left, interior rank on the right;
   the cell spans 3 columns so the visual rhythm of the rest of
   the table is preserved. */
.specs-table-grade th {
  background: #fafafa;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #555;
  padding: 6px 8px;
  text-align: left;
}
.auction-grade-cell {
  font-size: 12px;
  padding: 6px 8px;
  color: #333;
}
.auction-grade-cell .ag-ext strong { color: #e8380d; font-weight: 800; }
.auction-grade-cell .ag-int strong { color: #1a1a1a; font-weight: 800; }

/* ============================================================
   MOBILE / RESPONSIVE
   --------------------------------------------------------------
   Two breakpoints:
     - 768px: tablet — search form 3-cols collapse to 2 then 1.
     - 480px: phone  — sidebar stacks above main, top bar becomes
                       icon-only; vd-thumbs strip becomes scrollable.
   ============================================================ */

/* --- Tablet & smaller (≤ 768px) --- */
@media (max-width: 768px) {
  /* Top bar wraps; status counters keep their place */
  #top-bar .top-bar-inner { flex-wrap: wrap; gap: 6px; }
  .top-bar-right { order: 2; flex-wrap: wrap; }
  .top-bar-right select { font-size: 11px; padding: 2px 4px; }

  /* Header search: stack the make dropdown above the input */
  .header-main { flex-wrap: wrap; gap: 8px; }
  .header-search { flex: 1 1 100%; }

  /* Search form: collapse 3-col rows to 2 columns */
  .search-form-row { flex-wrap: wrap; }
  .search-form-row .field-group,
  .search-form-row .range-group {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  /* Three-col layout becomes single column — keep display:flex so the
     `order` reorder rules at the bottom of this file still apply. */
  .three-col-layout { display: flex; flex-direction: column; }
  .sidebar-left, .sidebar-right { width: 100%; max-width: none; }
}

/* --- Phone (≤ 480px) --- */
@media (max-width: 480px) {
  /* Search form: every row is single-column */
  .search-form-row .field-group,
  .search-form-row .range-group { flex: 1 1 100%; }

  /* Detail-page hero gallery: thumbnails become a horizontal strip
     that scrolls instead of wrapping to multiple rows */
  .vd-thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .vd-thumb { flex: 0 0 auto; width: 72px; height: 54px; }

  /* Vehicle cards: collapse 3-col card layout to stacked rows */
  .vehicle-list .vehicle-card { flex-direction: column; }
  .vr-img-col, .vr-info-col, .vr-price-col {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  /* Top bar: hide labels, leave only the dropdowns */
  .top-bar-right label { display: none; }

  /* Footer: stack columns */
  .footer-main { flex-direction: column; }
  .footer-col { width: 100% !important; margin-bottom: 16px; }
}

/* ---- Premium & Kei banners (right sidebar) ---- */
.premium-banner .premium-banner-inner {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #fff;
  padding: 14px 12px;
  text-align: center;
}
.premium-label {
  font-size: 10px;
  letter-spacing: 3px;
  color: #d4af37;
  font-weight: 900;
  text-transform: uppercase;
}
.premium-title {
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}
.premium-count {
  font-size: 11px;
  color: #ccc;
  margin: 6px 0 8px;
}
.premium-btn {
  display: inline-block;
  padding: 6px 14px;
  background: #d4af37;
  color: #1a1a1a;
  font-weight: 900;
  font-size: 11px;
  text-decoration: none;
  letter-spacing: 0.5px;
  border-radius: 2px;
}
.kei-banner .kei-banner-inner {
  background: linear-gradient(135deg, #0b6e7f, #0a8e9c);
  color: #fff;
  padding: 12px;
  text-align: center;
}
.kei-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #cfeef2;
}
.kei-title {
  font-size: 13px;
  font-weight: 900;
  margin-top: 2px;
}
.kei-sub {
  font-size: 11px;
  color: #e8f6f9;
  margin: 6px 0 8px;
}
.kei-sub strong {
  color: #ffd700;
  font-size: 13px;
}
.kei-btn {
  display: inline-block;
  padding: 5px 12px;
  background: #fff;
  color: #0b6e7f;
  font-weight: 900;
  font-size: 11px;
  text-decoration: none;
  border-radius: 2px;
}

/* ---- FX widget ---- */
.fx-widget {
  border: 1px solid #ddd;
  background: #fff;
  margin-bottom: 10px;
}
.fx-widget-head {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fx-widget-title {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333;
}
.fx-badge {
  font-size: 9px;
  padding: 2px 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.fx-weekly {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.fx-crisis {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}
.fx-widget-body {
  padding: 8px 10px;
}
.fx-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 11px;
  color: #555;
  border-bottom: 1px dashed #eee;
}
.fx-row:last-child {
  border-bottom: none;
}
.fx-row strong {
  color: #111;
  font-weight: 700;
}
.fx-widget-foot {
  padding: 4px 10px;
  font-size: 10px;
  color: #999;
  background: #fafafa;
  border-top: 1px solid #eee;
}

/* ---- Shipping lead-time widget ---- */
.shipping-widget {
  border: 1px solid #ddd;
  background: #fff;
  margin-bottom: 10px;
}
.shipping-widget-head {
  background: #003580;
  color: #fff;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.shipping-widget-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.shipping-widget-table td {
  padding: 5px 10px;
  border-bottom: 1px dashed #eee;
  color: #333;
}
.shipping-widget-table td:last-child {
  text-align: right;
  color: #666;
  white-space: nowrap;
}
.shipping-widget-foot {
  padding: 6px 10px;
  font-size: 10px;
  color: #555;
  background: #f8f8f8;
  border-top: 1px solid #eee;
}
.shipping-widget-foot strong {
  color: #e8380d;
}

/* ---- Range-group search fields ---- */
/* ---- Range group (Price / Mileage / Year ranges) ----
   Layout: label spans full row above; below, [from-select] ~ [to-select]
   sit on a single line.  Implemented with CSS Grid to avoid the previous
   flex-column / inline-block conflict. */
.range-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 4px;
  row-gap: 3px;
  flex: 1;
  min-width: 0;
}
.range-group > label {
  grid-column: 1 / -1;
  font-size: 11px;
  color: #555;
  font-weight: 600;
  margin: 0;
}
.range-group select {
  width: 100%;
  min-width: 0;
  height: 28px;
  border: 1px solid #ccc;
  padding: 0 4px;
  font-size: 12px;
  background: #fff;
  cursor: pointer;
}
.range-group select:focus { border-color: #e8380d; outline: none; }
.range-group .tilde {
  color: #999;
  font-size: 14px;
  text-align: center;
  padding: 0 2px;
}

/* Search-button-only field-group (no label).
   Used for the SEARCH submit button on the bottom row of the search form. */
.field-group-button {
  flex: 0 0 auto;
}
.field-group-button label { display: none; }
.field-group-button .big-search-btn {
  height: 32px;
  padding: 0 18px;
  white-space: nowrap;
}

/* ---- Premium / Nearly toggle badges ---- */
.premium-toggle .premium-badge {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #d4af37;
  border: 1px solid #d4af37;
}
.nearly-toggle .nearly-badge {
  background: #0b6e7f;
}

/* ---- Clickable vehicle card cursor ---- */
.vehicle-row.clickable {
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.vehicle-row.clickable:hover {
  box-shadow: 0 4px 16px rgba(232, 56, 13, 0.15);
  border-color: #e8380d;
}
.inline-premium {
  display: inline-block;
  background: #1a1a1a;
  color: #d4af37;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  margin-left: 6px;
  letter-spacing: 1px;
  vertical-align: middle;
}

/* ---- Feature banner premium variant ---- */
.feature-banner.fb-premium {
  background: linear-gradient(135deg, #1a1a1a, #444);
  color: #fff;
}
.feature-banner.fb-premium .fb-title {
  color: #d4af37;
}

/* ---- Vehicles header (replaces inline style) ---- */
.vehicles-header {
  font-size: 13px;
  font-weight: 900;
  color: #333;
  border-bottom: 2px solid #e8380d;
  padding-bottom: 4px;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

/* ---- Ship estimate panel (inquiry step 1) ---- */
.ship-estimate {
  background: #f8fafc;
  border: 1px solid #dbe3eb;
  padding: 10px 12px;
  margin-top: 8px;
  margin-bottom: 12px;
}
.ship-estimate-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 3px 0;
  color: #333;
}
.ship-estimate-line span {
  color: #666;
}
.ship-estimate-line strong {
  color: #111;
}

/* ==========================================================
   SOLD OUT STATE  (vehicle card)
   ========================================================== */
.vehicle-row.sold-row { opacity: 0.82; cursor: not-allowed; }
.vehicle-row.sold-row .car-img { filter: grayscale(0.6) brightness(0.9); }
.vr-image-col { position: relative; }
.sold-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.sold-overlay span {
  background: #1a1a1a;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 2px;
  padding: 6px 16px;
  border: 2px solid #fff;
  transform: rotate(-8deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.vr-stock-badge.sold {
  background: #1a1a1a !important;
  color: #fff !important;
  border-color: #1a1a1a !important;
}
.inquiry-btn-disabled {
  background: #999 !important;
  color: #fff !important;
  cursor: not-allowed !important;
  border: none;
  padding: 8px 18px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.5px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

/* ==========================================================
   CONTACT BUTTON IN HEADER (replaces Login/Favorites)
   ========================================================== */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f5f5f5;
  color: #333 !important;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid #ddd;
}
.contact-btn:hover {
  background: #e8380d;
  color: #fff !important;
  border-color: #e8380d;
}

/* ==========================================================
   VEHICLE DETAIL PAGE
   ========================================================== */
.vd-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  padding: 16px;
}
@media (max-width: 900px) {
  .vd-top { grid-template-columns: 1fr; }
}

.vd-gallery { display: flex; flex-direction: column; gap: 8px; }
.vd-main-img {
  /* aspect-ratio: 4/3 matches the 800×600 / 1024×768 source photos
     so the entire car stays visible at every viewport width — the
     old fixed height: 320px chopped the top/bottom on most layouts. */
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #ddd;
  background: #f5f5f5;
}
/* Thumbnail strip below the detail-page hero photo.
   .vd-thumb is a <button> wrapping an <img>, so styling lives on both. */
.vd-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.vd-thumb {
  width: 88px;
  height: 66px;
  padding: 0;
  border: 2px solid #ddd;
  background: #f5f5f5;
  cursor: pointer;
  opacity: 0.7;
  overflow: hidden;
  transition: opacity 0.15s, border-color 0.15s;
}
.vd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vd-thumb.active,
.vd-thumb:hover { border-color: #e8380d; opacity: 1; }
.vd-thumb:focus-visible { outline: 2px solid #e8380d; outline-offset: 2px; }

.vd-keyfacts { display: flex; flex-direction: column; gap: 12px; }
.vd-ref { font-size: 11px; color: #999; letter-spacing: 0.5px; }
.vd-ref strong { color: #333; font-weight: 900; }

.vd-price-block {
  background: linear-gradient(135deg, #fff4f0, #ffe6dc);
  border: 1px solid #f7b89f;
  padding: 14px 16px;
}
.vd-price-label { font-size: 11px; color: #666; font-weight: 700; letter-spacing: 0.5px; }
.vd-price-val  { font-size: 30px; color: #e8380d; font-weight: 900; line-height: 1.1; margin: 2px 0; }
.vd-price-note { font-size: 11px; color: #888; }

.vd-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.vd-quick > div {
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}
.vd-quick span { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.vd-quick strong { font-size: 13px; color: #222; font-weight: 800; }

.vd-features-wrap { display: flex; flex-wrap: wrap; gap: 4px; }
.vd-feature {
  font-size: 11px;
  background: #fff4ec;
  border: 1px solid #f3c2a8;
  color: #c04a00;
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 600;
}

/* ---- Specs table ---- */
.vd-specs-table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
}
.vd-specs-table th, .vd-specs-table td {
  border: 1px solid #e0e0e0;
  padding: 8px 12px;
  text-align: left;
  vertical-align: middle;
}
.vd-specs-table th {
  background: #f6f6f6;
  color: #555;
  font-weight: 700;
  width: 32%;
}
.vd-specs-table td { color: #222; }

/* ==========================================================
   PRICE CALCULATOR
   ========================================================== */
.vd-calc-wrap .section-title-bar { background: #1a1a1a; }
.vd-calc-intro {
  font-size: 12px;
  color: #555;
  margin-bottom: 14px;
  line-height: 1.7;
}
.vd-calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}
@media (max-width: 900px) {
  .vd-calc-grid { grid-template-columns: 1fr; }
}

.vd-calc-inputs { display: flex; flex-direction: column; gap: 10px; }
.vd-calc-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 10px;
}
.vd-calc-row label { font-size: 12px; color: #333; font-weight: 700; }
.vd-calc-row select {
  width: 100%;
  padding: 6px 8px;
  font-size: 12px;
  border: 1px solid #bbb;
  background: #fff;
}

.vd-calc-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px dashed #ddd;
  padding-top: 10px;
  margin-top: 6px;
}
.vd-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #e0e0e0;
  background: #fafafa;
  font-size: 12px;
  color: #333;
  line-height: 1.5;
  cursor: pointer;
}
.vd-check input { margin-top: 2px; }
.vd-check strong { font-weight: 800; }
.vd-check em { font-style: normal; color: #888; font-size: 11px; margin-left: 4px; }
.vd-check small { color: #777; font-size: 11px; display: block; margin-top: 2px; }
.vd-check-fixed {
  background: #e9f6ee;
  border-color: #7fc290;
}
.vd-check-fixed strong { color: #1a6b32; }

/* ---- Live total output ---- */
.vd-calc-output {
  background: #fff;
  border: 2px solid #e8380d;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vd-calc-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #e8380d;
  text-transform: uppercase;
  border-bottom: 1px solid #f3c2a8;
  padding-bottom: 6px;
}
.vd-calc-table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
}
.vd-calc-table td {
  padding: 6px 0;
  border-bottom: 1px dashed #eee;
}
.vd-calc-table td:first-child { color: #555; }
.vd-calc-table td:last-child  { text-align: right; color: #222; font-weight: 700; }

.vd-calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e8380d;
  color: #fff;
  padding: 10px 12px;
  margin-top: 4px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, box-shadow 0.15s;
}
.vd-calc-total-row:hover,
.vd-calc-total-row:focus-visible {
  background: #c92e09;
  box-shadow: 0 0 0 2px rgba(232, 56, 13, 0.35);
  outline: none;
}
.vd-calc-total-row span { font-size: 11px; letter-spacing: 0.5px; font-weight: 700; text-transform: uppercase; }
.vd-calc-total-row strong { font-size: 20px; font-weight: 900; }
.vd-calc-total-row::after {
  content: "↑";
  display: inline-block;
  margin-left: 8px;
  font-size: 14px;
  opacity: 0.85;
  font-weight: 900;
}

/* Border-pulse highlight applied by scrollToCalcInputs() when the
   user taps the TOTAL COST row.  Pulses an orange glow around the
   Step 1 inputs so they can re-enter destination + method. */
.vd-calc-inputs {
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.vd-calc-inputs-flash {
  animation: vdCalcFlashPulse 1.6s ease-out;
}
@keyframes vdCalcFlashPulse {
  0%   { border-color: #e8380d; box-shadow: 0 0 0 0   rgba(232, 56, 13, 0.55); }
  35%  { border-color: #ff7a3d; box-shadow: 0 0 0 12px rgba(232, 56, 13, 0.0);  }
  60%  { border-color: #e8380d; box-shadow: 0 0 0 0   rgba(232, 56, 13, 0.45); }
  100% { border-color: transparent; box-shadow: 0 0 0 0 rgba(232, 56, 13, 0);   }
}

.vd-inquiry-btn {
  display: block;
  text-align: center;
  background: #1a1a1a;
  color: #fff !important;
  padding: 12px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  margin-top: 4px;
}
.vd-inquiry-btn:hover { background: #333; }

.vd-calc-disc {
  font-size: 10px;
  color: #888;
  line-height: 1.5;
  margin-top: 4px;
}

/* ==========================================================
   TRUST CARD — text-label badge (replaces emoji icon)
   ========================================================== */
.trust-card-label {
  background: #e8380d;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-radius: 4px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ==========================================================
   LEFT SIDEBAR — branded wordmark chips (Browse by Make)
   Photo-thumbnail type chips (Shop by Type)
   Flag-prefixed country chips (Available by Country)
   ========================================================== */
.make-logo-wrap {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  flex-shrink: 0;
}
.make-logo-wrap svg {
  display: block;
}

.type-silhouette {
  width: 46px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 3px;
  flex-shrink: 0;
  padding: 2px;
}
.type-silhouette svg {
  display: block;
  width: 100%;
  height: 100%;
}

.country-flag {
  font-size: 16px;
  line-height: 1;
  margin-right: 6px;
  flex-shrink: 0;
}
.country-chip {
  gap: 4px;
}

/* ==========================================================
   VEHICLE DETAIL — HERO PHOTO
   ========================================================== */
.vd-hero-body {
  padding: 0 !important;
}
.vd-hero {
  width: 100%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #eee;
}
.vd-hero-img {
  /* aspect-ratio: 4/3 — same reasoning as .vd-main-img.  We drop
     `max-height: 460px` because combined with object-fit: cover it
     was clipping ~80–100px off the top/bottom of the car on
     900–1200px-wide hero containers. */
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.vd-keyfacts-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 18px;
  padding: 16px;
  align-items: center;
  background: #fafafa;
  border-top: 1px solid #eee;
}
.vd-keyfacts-strip .vd-ref {
  font-size: 12px;
  color: #666;
}
.vd-keyfacts-strip .vd-ref strong {
  color: #e8380d;
  font-size: 14px;
  display: block;
}
.vd-price-block {
  background: #fff;
  border: 1px solid #eee;
  border-left: 3px solid #e8380d;
  padding: 10px 14px;
}
.vd-price-label {
  font-size: 10px;
  color: #666;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.vd-price-val {
  font-size: 26px;
  font-weight: 900;
  color: #e8380d;
  line-height: 1.1;
  margin: 2px 0;
}
.vd-price-note {
  font-size: 10px;
  color: #888;
}
.vd-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-size: 11px;
}
.vd-quick > div {
  background: #fff;
  border: 1px solid #eee;
  padding: 6px 8px;
}
.vd-quick span {
  color: #888;
  display: block;
  font-size: 10px;
}
.vd-quick strong {
  color: #222;
  font-size: 12px;
}

/* ==========================================================
   VEHICLE DETAIL — FULL SPECS TABLE
   ========================================================== */
.vd-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 4px;
}
.vd-specs-table th,
.vd-specs-table td {
  border: 1px solid #ddd;
  padding: 7px 10px;
  text-align: left;
  vertical-align: top;
}
.vd-specs-table th {
  background: #f5f5f5;
  color: #555;
  font-weight: 700;
  width: 35%;
}
.vd-specs-note {
  font-size: 11px;
  color: #888;
  margin-top: 8px;
  font-style: italic;
}

/* ==========================================================
   VEHICLE DETAIL — FEATURES GRID (Be Forward style)
   ========================================================== */
.vd-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 16px;
  margin-top: 4px;
}
.vd-feat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  font-size: 12px;
  border-bottom: 1px dotted #eee;
}
.vd-feat-mark {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  border-radius: 3px;
  flex-shrink: 0;
}
.vd-feat-row.on .vd-feat-mark {
  background: #2e7d32;
  color: #fff;
}
.vd-feat-row.off .vd-feat-mark {
  background: #f0f0f0;
  color: #bbb;
}
.vd-feat-row.on .vd-feat-label {
  color: #222;
  font-weight: 600;
}
.vd-feat-row.off .vd-feat-label {
  color: #aaa;
}

/* ==========================================================
   VEHICLE DETAIL — TWO-STEP WIZARD (Step 1 + Step 2)
   ========================================================== */
.vd-step-wrap .section-title-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vd-step-num {
  background: #fff;
  color: #e8380d;
  font-weight: 900;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

/* ---- Step 2 quote form ---- */
.vd-quote-form {
  background: #fafafa;
  border: 1px solid #eee;
  padding: 14px 16px;
}
.vd-quote-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}
.vd-quote-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #555;
  margin-bottom: 4px;
}
.vd-quote-field input,
.vd-quote-field select {
  width: 100%;
  padding: 7px 8px;
  border: 1px solid #ccc;
  font-size: 12px;
  background: #fff;
  box-sizing: border-box;
}
.vd-quote-field input:focus,
.vd-quote-field select:focus {
  outline: none;
  border-color: #e8380d;
}
.vd-quote-spacer {
  visibility: hidden;
}

/* Emphasised "Referring Agent" field — slightly higher visual weight
   than the other Step 2 inputs so customers introduced by an agent
   notice the dropdown, but not so loud that direct buyers feel a
   field is missing.  The field is optional; when empty we fall back
   to the system default code (A001) without bothering the user. */
.vd-quote-agent label {
  color: #c92e09;
}
.vd-quote-agent .vd-quote-agent-hint {
  color: #888;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 4px;
}
.vd-quote-agent select {
  border: 1.5px solid #e8380d;
  background: #fff8f4;
  font-weight: 700;
}
.vd-quote-agent select:focus {
  border-color: #e8380d;
  box-shadow: 0 0 0 2px rgba(232, 56, 13, 0.18);
}
.vd-quote-btn {
  width: 100%;
  padding: 14px 18px;
  background: #25d366;           /* WhatsApp green */
  color: #fff;
  border: none;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.15s;
}
.vd-quote-btn:hover {
  background: #128c7e;
}
.vd-quote-note {
  font-size: 11px;
  color: #777;
  margin-top: 8px;
  line-height: 1.5;
}

/* ============================================================
   PRICE CALCULATOR — top-of-page panel
   Sits ABOVE the SEARCH FOR CARS panel on the home page.
   Left side: form inputs (Country/Port, Method, add-ons)
   Right side: live "Current Search" summary
   ============================================================ */
.price-calc-panel {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-top: 4px solid #0a4892;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.price-calc-header {
  display: flex;
  justify-content: space-between;
  background: #f3f6fb;
  border-bottom: 1px solid #d8d8d8;
  padding: 8px 14px;
}
.pc-title,
.pc-current-title {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.6px;
  color: #0a4892;
}
.pc-current-title {
  color: #444;
  border-left: 3px solid #e8380d;
  padding-left: 8px;
}
.price-calc-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
}
.pc-form {
  padding: 12px 14px;
  border-right: 1px dashed #d8d8d8;
}
.pc-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-start;
}
.pc-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pc-field label {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  margin-bottom: 3px;
}
.pc-field select {
  height: 30px;
  border: 1px solid #c7c7c7;
  background: #fff;
  font-size: 13px;
  padding: 0 6px;
}
.pc-method { max-width: 220px; }
.pc-extras {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
}
.pc-chk {
  font-size: 12px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.pc-chk input { transform: scale(0.9); }
.pc-yn {
  color: #888;
  font-size: 10px;
  margin-left: auto;
}
.pc-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  justify-content: flex-end;
}
.pc-reset-btn,
.pc-calc-btn {
  border: none;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 8px 22px;
  cursor: pointer;
  text-transform: uppercase;
}
.pc-reset-btn {
  background: #e0e0e0;
  color: #333;
}
.pc-reset-btn:hover { background: #d0d0d0; }
.pc-calc-btn {
  background: #e8380d;
  color: #fff;
}
.pc-calc-btn:hover { background: #c52d08; }

.pc-current {
  padding: 12px 14px;
  background: #fafbfd;
}
.pc-current-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  font-size: 12px;
}
.pc-sum-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted #e2e2e2;
  padding: 3px 0;
}
.pc-sum-k {
  font-weight: 700;
  color: #555;
}
.pc-sum-v {
  color: #222;
  text-align: right;
  max-width: 60%;
  overflow-wrap: anywhere;
}
.pc-sum-cat {
  grid-column: 1 / -1;
  background: #fff7e6;
  border-bottom: none;
  padding: 4px 6px;
  margin-top: 2px;
}
.pc-sum-cat .pc-sum-v { color: #e8380d; font-weight: 700; }

@media (max-width: 900px) {
  .price-calc-body { grid-template-columns: 1fr; }
  .pc-form { border-right: none; border-bottom: 1px dashed #d8d8d8; }
  .pc-current-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE / RESPONSIVE — Comprehensive page-by-page rules
   --------------------------------------------------------------
   Three breakpoints, applied in order:
     1024px : tablet portrait
     768px  : large phone landscape / small tablet
     480px  : standard phone portrait
   These rules sit at the very end of the file so they override
   anything earlier without `!important` whenever possible.
   ============================================================ */

/* ───────────────────────────────────────────────
   PAGE SECTION ACCORDION (<details>/<summary>)
   --------------------------------------------------
   Used by the home-page Price Calculator block, the
   detail-page step wraps, and any other section we
   want to collapse on mobile.  Always-open on desktop.
   ─────────────────────────────────────────────── */
.page-section-details { display: block; }
.page-section-details > .page-section-summary {
  list-style: none;
  cursor: pointer;
  position: relative;
}
.page-section-details > .page-section-summary::-webkit-details-marker { display: none; }
.page-section-details > .page-section-summary::marker { content: ""; }
@media (min-width: 769px) {
  .page-section-details .page-section-details-body { display: block !important; }
  /* Hide the section summary entirely on desktop — the original
     section title bars inside renderPriceCalculator etc. already
     label the area. */
  .page-section-details > .page-section-summary { display: none; }
}

/* ─── 1024px : tablet portrait ─── */
@media (max-width: 1024px) {
  /* Three-column main layout collapses to single column.
     Reorder so the customer sees ACTUAL CARS first, not filter chips:
       1. main-content (search form + vehicle list)
       2. sidebar-left (filter accordions)
       3. sidebar-right (FX widget, lead-time table) */
  .three-col-layout {
    flex-direction: column;
    gap: 16px;
  }
  .three-col-layout > .main-content   { order: 1; }
  .three-col-layout > .sidebar-left   { order: 2; }
  .three-col-layout > .sidebar-right  { order: 3; }
  .sidebar-left, .sidebar-right, .main-content {
    width: 100%;
    max-width: none;
  }
  /* Mobile-only summary for the Price Calculator wrapper */
  .page-section-details > .page-section-summary {
    display: block;
    background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
    color: #fff;
    padding: 14px 44px 14px 16px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 2px solid #e8380d;
  }
  .page-section-details > .page-section-summary::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #e8380d;
    border-bottom: 2px solid #e8380d;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s;
  }
  .page-section-details[open] > .page-section-summary::after {
    transform: translateY(-25%) rotate(-135deg);
  }
  .page-section-details:not([open]) > .page-section-details-body { display: none; }
  .page-section-details[open] > .page-section-details-body { display: block; }
  /* Vehicle-detail hero + spec table side-by-side becomes stacked */
  .vd-hero-body { flex-direction: column; gap: 14px; }
  /* keyfacts-strip uses CSS Grid (1fr 1fr 2fr on desktop) — at this
     breakpoint we collapse to a single column so the 6 quick-info
     cards (Year/Mileage/Engine/Trans/Fuel/Steering) wrap onto the
     full available width instead of being crushed into the 2fr
     column.  The previous rule used `flex-direction: column` which
     has no effect on a grid parent — that was the cause of the
     ~11px horizontal page overflow on narrow phones. */
  .vd-keyfacts-strip {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
  }
  /* Search form 6-col grid → 3 col */
  .search-form-fields .search-form-row {
    flex-wrap: wrap;
  }
  /* Inquiry form layouts */
  .form-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .form-row > * {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }
  /* Trust + About columns -> single column */
  .trust-cards-grid,
  .about-grid,
  .htb-cards { grid-template-columns: 1fr 1fr; }
}

/* ───────────────────────────────────────────────
   SIDEBAR SECTIONS (<details>/<summary> accordion)
   --------------------------------------------------
   Desktop: every section is forced open via CSS so the layout
   matches the previous div-based version exactly.
   Mobile (≤768px): native <details> behaviour kicks in — sections
   collapse to header-only until tapped.  Sections marked
   `.sidebar-section-open` stay expanded as a "first-view teaser"
   so the page isn't a wall of closed headers.
   ─────────────────────────────────────────────── */
.sidebar-section { display: block; margin-bottom: 12px; }
.sidebar-section > .sidebar-section-title {
  display: block;
  cursor: pointer;
  list-style: none;       /* hide default disclosure marker on Chrome */
  position: relative;
}
.sidebar-section > .sidebar-section-title::-webkit-details-marker { display: none; }
.sidebar-section > .sidebar-section-title::marker { content: ""; }
/* Desktop: ignore the closed state entirely so existing visuals
   stay intact.  Override happens inside the 768px MQ below. */
@media (min-width: 769px) {
  .sidebar-section .sidebar-section-body { display: block !important; }
}

/* ───────────────────────────────────────────────
   HAMBURGER MENU (mobile-only nav toggle)
   --------------------------------------------------
   Hidden on desktop, visible at ≤768px.  When tapped,
   toggles `.nav-open` on #site-nav which switches the
   horizontal nav-inner into a full-width drop-down list.
   ─────────────────────────────────────────────── */
.nav-hamburger {
  display: none;        /* hidden on desktop, overridden in 768px MQ below */
  width: 40px;
  height: 36px;
  background: transparent;
  border: 0;
  padding: 8px 6px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  margin-left: 4px;
}
.nav-hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #e8380d;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
/* When menu open: morph 3 bars into an X */
#site-nav.nav-open .nav-hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#site-nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
#site-nav.nav-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ─── 768px : small tablet / phone landscape ─── */
@media (max-width: 768px) {
  /* ---- TOP BAR: hide entirely on mobile (Currency/Country move
         into the hamburger menu; status counters not useful on phone). */
  #top-bar { display: none; }

  /* ---- HEADER: tight single-row layout with hamburger.
         WhatsApp/Contact stay visible as compact icon-only buttons. */
  .header-main {
    flex-wrap: wrap;
    padding: 8px 10px;
    gap: 8px;
    align-items: center;
  }
  .header-logo { order: 1; flex: 0 0 auto; }
  .header-right { order: 2; margin-left: auto; gap: 6px; }
  .header-search { order: 3; flex: 1 1 100%; max-width: none; }

  /* Compact WhatsApp/Contact buttons on phone — icon only, no label */
  .whatsapp-btn { padding: 6px 10px; font-size: 0; }
  .whatsapp-btn .wa-icon { width: 18px; height: 18px; margin: 0; }
  .contact-btn  { padding: 6px 10px; font-size: 0; }
  .contact-btn span { font-size: 16px !important; }

  /* Show hamburger button and reset the nav layout for mobile */
  .nav-hamburger { display: flex; }

  #site-nav {
    position: relative;
    border-bottom: 2px solid #e8380d;
  }
  /* Default state on mobile: nav items hidden behind the hamburger */
  #site-nav .nav-inner {
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border-top: 1px solid #eee;
    padding: 0;
  }
  /* Open state: full-width vertical list */
  #site-nav.nav-open .nav-inner {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 90;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
  #site-nav .nav-item {
    width: 100%;
    height: auto;
    padding: 12px 16px;
    border-left: 0 !important;
    border-bottom: 1px solid #eee;
    font-size: 14px;
  }
  /* Wrap items hold dropdowns — make them full-width in the column */
  #site-nav .nav-item-wrap { width: 100%; display: block; }
  #site-nav .nav-item-wrap .nav-item { display: flex; }
  /* Mobile dropdowns become inline accordions (always visible
     when their parent wrap is "open" via :focus-within). */
  #site-nav .nav-dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    border-top: 1px dashed #eee;
    background: #fafafa;
    min-width: 0;
    padding: 8px 16px 12px 30px;
  }
  #site-nav .nav-dropdown-inner,
  #site-nav .nav-dropdown-inner-narrow {
    display: block;
  }
  #site-nav .nav-dd-col { margin-bottom: 8px; }
  #site-nav .nav-dd-col h5 {
    font-size: 11px;
    margin-bottom: 4px;
  }
  #site-nav .nav-dd-col a {
    padding: 6px 0;
    font-size: 13px;
  }

  /* ---- SIDEBAR ACCORDION (<details> closes by default on mobile) ----
     Each .sidebar-section starts CLOSED; tapping the title opens it.
     Sections marked `.sidebar-section-open` stay open as a teaser so
     the first scroll above the fold isn't a wall of headers. */
  .sidebar-section[open] > .sidebar-section-body { display: block; }
  .sidebar-section:not([open]) > .sidebar-section-body { display: none; }
  /* Force the "open" sections (first one only) to stay open on mobile.
     We use a JS pass after render to remove the open attribute from
     non-teaser sections — see closeNonTeaserSections() in app.js. */
  .sidebar-section > .sidebar-section-title {
    background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
    color: #fff;
    padding: 14px 44px 14px 16px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0;
    border-radius: 0;
    border-bottom: 2px solid #e8380d;
  }
  /* Chevron — drawn as a CSS triangle for guaranteed cross-platform render
     (the "▾" glyph wasn't reliably visible on every Android font stack).
     Two stacked triangles + transform create a clean ↓ that flips to ↑
     when the parent <details> is open. */
  .sidebar-section > .sidebar-section-title::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #e8380d;
    border-bottom: 2px solid #e8380d;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s;
  }
  .sidebar-section[open] > .sidebar-section-title::after {
    transform: translateY(-25%) rotate(-135deg);
  }
  .sidebar-section .sidebar-section-body {
    padding: 10px;
    background: #fafafa;
    border-left: 3px solid #e8380d;
  }

  /* Nav dropdown menus: drop the multi-column layout, stack */
  .nav-dropdown {
    min-width: 100%;
    left: 0;
    right: 0;
  }
  .nav-dropdown-inner,
  .nav-dropdown-inner-narrow {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  /* Hide nav arrow chevrons to save space */
  #site-nav .nav-arrow { display: none; }

  /* Vehicle list cards: 3 columns -> stacked */
  .vehicle-card, .vehicle-row {
    flex-direction: column;
  }
  .vr-img-col, .vr-image-col, .vr-info-col, .vr-specs-col, .vr-price-col {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
  }
  .vr-img-col img, .car-img {
    /* Drop the legacy `max-height: 240px` cap — combined with
       aspect-ratio: 4/3 it was chopping ~60px off the bottom of the
       car on wider phones (e.g. 400px-wide → natural height 300px,
       capped to 240px → 1.67:1 box → cover-crops the 4:3 source). */
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  /* Spec table inside the card: smaller text, tight padding */
  .specs-table th, .specs-table td {
    font-size: 11px;
    padding: 4px 6px;
  }

  /* Search form on phones:
       - Stack search-form-body so the "335 vehicles match" indicator
         flows under the fields instead of next to them
       - Each field-group / range-group occupies its own row
       - SEARCH button spans full width */
  .search-form-body {
    flex-direction: column;
    align-items: stretch;
  }
  .search-form-fields .field-group,
  .search-form-fields .range-group {
    flex: 1 1 100%;
  }
  /* Range-group keeps its grid layout but the parent constraint shrinks */
  .range-group { width: 100%; }
  .field-group-button { flex: 1 1 100%; }
  .field-group-button .big-search-btn {
    width: 100%;
    height: 40px;
    font-size: 14px;
  }
  .search-form-submit {
    width: 100%;
    padding-top: 6px;
  }
  .search-form-submit .items-match {
    text-align: center;
  }

  /* Detail page calculator grid → single column */
  .vd-calc-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .vd-calc-inputs, .vd-calc-output {
    width: 100%;
  }
  .vd-specs-table th, .vd-specs-table td {
    font-size: 12px;
    padding: 5px 6px;
  }
  .vd-features-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Inquiry pages: form rows always full width */
  .form-row > * { flex: 1 1 100%; }
  .inquiry-form input, .inquiry-form select, .inquiry-form textarea {
    font-size: 14px; /* prevents iOS zoom on focus */
  }

  /* FAQ: question text smaller, answer keeps line height */
  .faq-question { font-size: 13px; padding: 10px 12px; }
  .faq-answer  { font-size: 12px; padding: 10px 12px; }

  /* Footer: 2-col grid for compactness */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px 12px; }
  .footer-col-about { grid-column: 1 / -1; }    /* About spans full width */

  /* Trust / How-to-buy / About: single column */
  .trust-cards-grid,
  .about-grid,
  .htb-cards { grid-template-columns: 1fr; }
  .trust-hero-title { font-size: 22px; line-height: 1.3; }
}

/* ─── 480px : phone portrait ─── */
@media (max-width: 480px) {
  /* Top bar collapses further: hide labels, keep dropdowns inline */
  .top-bar-right label { display: none; }
  .top-bar-right { font-size: 10px; }
  .site-title { font-size: 11px; }

  /* Header: WhatsApp/Contact icons only (text hidden on tightest phones) */
  .whatsapp-btn { padding: 6px 8px; }
  .contact-btn  { padding: 6px 8px; }
  .header-logo .logo-text-sub { display: none; }
  .header-logo .logo-text-main { font-size: 14px; }
  .logo-icon { width: 36px; height: 28px; }

  /* Detail-page hero gallery: thumbnails scroll horizontally */
  .vd-thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    /* Constrain the strip to the parent body width so the row of
       overflowing thumbnails doesn't push the page wider — without
       this, .vd-thumb children with `flex: 0 0 auto` extend beyond
       the viewport and create horizontal page scroll. */
    max-width: 100%;
  }
  .vd-thumb { flex: 0 0 auto; width: 64px; height: 48px; }

  /* Quick-info cards: drop from 3 cols to 2 cols on narrow phones so
     "Steering R-Hand" and "Mileage 229,000 km" stop forcing overflow. */
  .vd-quick { grid-template-columns: 1fr 1fr; }

  /* Vehicle card price block: shrink text */
  .fob-price { font-size: 18px; }
  .total-price-val { font-size: 16px; }
  .price-label { font-size: 10px; }

  /* Search form text size */
  .search-form-title .title-left { font-size: 13px; }
  .field-group label { font-size: 11px; }

  /* Detail page features grid → single column */
  .vd-features-grid { grid-template-columns: 1fr; }

  /* Step 2 quote form: stack the two-up rows on narrow phones so the
     Country + Referring Agent fields don't get crammed */
  .vd-quote-row { grid-template-columns: 1fr; }
  .vd-quote-spacer { display: none; }

  /* Footer: single column (no more 2-col split) */
  .footer-main { grid-template-columns: 1fr; }
  .footer-col-about { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }

  /* Empty-results state: less padding */
  .empty-results { padding: 30px 12px; }
  .empty-results h3 { font-size: 16px; }
  .empty-results p  { font-size: 12px; }

  /* Pagination: smaller buttons */
  .pagination button { padding: 6px 10px; font-size: 12px; min-width: 32px; }
}
