/* ═══════════════════════════════════════════════════
   DTV MOTORS — Auction Search Page
   ═══════════════════════════════════════════════════ */

/* ── Hero ── */
.auction-hero {
  position: relative;
  padding: 8rem 0 3rem;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 640px) { .auction-hero { padding: 10rem 0 3.5rem; } }
.auction-hero__glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 36rem; height: 20rem;
  background: radial-gradient(ellipse, rgba(242,196,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.auction-hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2rem; color: var(--text-white); margin-bottom: 0.75rem;
}
@media (min-width: 640px) { .auction-hero__title { font-size: 2.75rem; } }
.auction-hero__subtitle {
  font-size: 1rem; color: var(--text-secondary);
  max-width: 36rem; margin: 0 auto; line-height: 1.6;
}
@media (min-width: 640px) { .auction-hero__subtitle { font-size: 1.125rem; } }

/* ── Filters ── */
.auction-filters {
  background: var(--surface-800); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.auction-filters__row {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.auction-filters__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .auction-filters__grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.auction-field label {
  display: block; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted); margin-bottom: 0.25rem;
}
.auction-field select {
  width: 100%; padding: 0.5rem 0.75rem; font-size: 0.875rem;
  background: var(--surface-700); color: var(--text-primary);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
  font-family: var(--font-body); cursor: pointer; appearance: auto;
}
.auction-field select:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(242,196,0,0.12);
}
.auction-field select:disabled {
  opacity: 0.4; cursor: not-allowed;
}

/* ── Pills ── */
.auction-pills { display: flex; gap: 0.375rem; flex-wrap: wrap; }
.auction-pill {
  padding: 0.4rem 1rem; font-size: 0.8125rem; font-weight: 600;
  background: var(--surface-700); color: var(--text-secondary);
  border: 1px solid var(--border-subtle); border-radius: 2rem;
  cursor: pointer; transition: all 0.2s; font-family: var(--font-body);
}
.auction-pill:hover { border-color: var(--brand-500); color: var(--text-primary); }
.auction-pill--active {
  background: var(--brand-500); border-color: var(--brand-500);
  color: var(--surface-950); font-weight: 700;
}

.auction-sort {
  padding: 0.4rem 0.75rem; font-size: 0.8125rem;
  background: var(--surface-700); color: var(--text-secondary);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
  font-family: var(--font-body); cursor: pointer;
}
.auction-result-count {
  font-size: 0.875rem; color: var(--text-muted); font-weight: 600;
}

/* ── Grid ── */
.auction-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) {
  .auction-grid { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
}

/* ── Card ── */
.auction-card {
  background: var(--surface-800); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; transition: all 0.25s ease;
}
.auction-card:hover {
  border-color: var(--border-brand); transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.auction-card__image {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: var(--surface-700);
}
.auction-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.auction-card:hover .auction-card__image img { transform: scale(1.05); }
.auction-card__source {
  position: absolute; top: 0.5rem; left: 0.5rem;
  padding: 0.2rem 0.5rem; font-size: 0.625rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 0.25rem; backdrop-filter: blur(4px);
  background: rgba(0,0,0,0.7); color: #fff;
}
.auction-card__source--copart {
  background: rgba(37,99,235,0.85);
}
.auction-card__source--iaai {
  background: rgba(239,68,68,0.85);
}
.auction-card__body { padding: 0.875rem; }
.auction-card__title {
  font-size: 0.9rem; font-weight: 600; color: var(--text-white);
  margin-bottom: 0.25rem; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.auction-card__meta {
  font-size: 0.75rem; color: var(--text-muted);
  margin-bottom: 0.625rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.auction-card__damage { color: #ef4444; font-weight: 600; }
.auction-card__bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.auction-card__bid {
  font-family: var(--font-display); font-size: 1.125rem;
  font-weight: 700; color: var(--brand-500);
}
.auction-card__date {
  font-size: 0.6875rem; color: var(--text-muted); font-weight: 600;
}

/* ── Skeleton ── */
.auction-card--skeleton { pointer-events: none; }
.auction-card--skeleton .auction-card__image { aspect-ratio: 4/3; }
.skeleton-pulse {
  background: linear-gradient(90deg, var(--surface-700) 25%, var(--surface-600) 50%, var(--surface-700) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}
.skeleton-line {
  background: linear-gradient(90deg, var(--surface-700) 25%, var(--surface-600) 50%, var(--surface-700) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
  border-radius: 0.25rem;
}
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Empty ── */
.auction-empty {
  text-align: center; padding: 4rem 1rem;
  color: var(--text-muted);
}
.auction-empty h3 { color: var(--text-secondary); margin-bottom: 0.5rem; }

/* ── Pagination ── */
.auction-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 2rem;
}
.auction-page-btn {
  width: 2.5rem; height: 2.5rem; display: flex;
  align-items: center; justify-content: center;
  background: var(--surface-800); border: 1px solid var(--border-subtle);
  border-radius: 0.5rem; color: var(--text-primary);
  cursor: pointer; transition: all 0.2s;
}
.auction-page-btn:hover:not(:disabled) {
  border-color: var(--brand-500); background: rgba(242,196,0,0.06);
}
.auction-page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.auction-page-info {
  font-size: 0.875rem; font-weight: 600; color: var(--text-secondary);
}

/* ── CTA Banner ── */
.auction-cta {
  margin-top: 3rem; padding: 2.5rem; text-align: center;
  background: linear-gradient(135deg, rgba(242,196,0,0.06), rgba(242,196,0,0.02));
  border: 1px solid rgba(242,196,0,0.12);
  border-radius: var(--radius-lg);
}
.auction-cta h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; color: var(--text-white); margin-bottom: 0.5rem;
}
.auction-cta p {
  font-size: 0.9375rem; color: var(--text-secondary);
  max-width: 32rem; margin: 0 auto; line-height: 1.6;
}

/* ── Search Bar ── */
.auction-search {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 1rem; background: var(--surface-700);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
}
.auction-search svg { flex-shrink: 0; color: var(--text-muted); }
.auction-search input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-primary); font-size: 0.9375rem; font-family: var(--font-body);
}
.auction-search input::placeholder { color: var(--text-muted); }
.auction-search:focus-within { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(242,196,0,0.12); }
.auction-search__clear {
  background: none; border: none; color: var(--text-muted); font-size: 1.25rem;
  cursor: pointer; padding: 0 0.25rem; line-height: 1;
}

/* ── Card as link ── */
.auction-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ══════════════════════════════════════════════════
   LISTING DETAIL PAGE
   ══════════════════════════════════════════════════ */

/* ── Breadcrumb ── */
.listing-breadcrumb {
  padding: 5.5rem 0 0.5rem;
}
@media (min-width: 640px) { .listing-breadcrumb { padding: 6.5rem 0 0.75rem; } }
.listing-breadcrumb__link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.8125rem; font-weight: 600; color: var(--text-muted);
  text-decoration: none; transition: color 0.2s;
}
.listing-breadcrumb__link:hover { color: var(--brand-500); }
.listing-breadcrumb__link svg { transition: transform 0.2s; }
.listing-breadcrumb__link:hover svg { transform: translateX(-2px); }

/* ── Header: Title + Price row ── */
.listing-header {
  display: flex; flex-direction: column; gap: 0.75rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .listing-header {
    flex-direction: row; justify-content: space-between; align-items: flex-end;
    gap: 1.5rem;
  }
}
.listing-header__left { flex: 1; min-width: 0; overflow: hidden; }
.listing-header__platform {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.listing-header__badge {
  padding: 0.2rem 0.6rem; font-size: 0.6875rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 0.3rem;
}
.listing-header__badge--copart {
  background: rgba(37,99,235,0.15); color: #60a5fa;
}
.listing-header__badge--iaai {
  background: rgba(239,68,68,0.15); color: #f87171;
}
.listing-header__seller {
  padding: 0.2rem 0.6rem; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-radius: 0.3rem;
  background: rgba(255,255,255,0.06); color: var(--text-secondary);
}
.listing-header__seller--insurance { background: rgba(16,185,129,0.12); color: #34d399; }
.listing-header__seller--dealer { background: rgba(59,130,246,0.12); color: #60a5fa; }
.listing-header__seller--finance { background: rgba(168,85,247,0.12); color: #c084fc; }
.listing-header__seller--non_insurance { background: rgba(239,68,68,0.12); color: #f87171; }
.listing-header__lot {
  font-size: 0.6875rem; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.02em; white-space: nowrap;
}
.listing-header__vin {
  font-size: 0.6875rem; font-weight: 500; color: var(--text-muted);
  font-family: 'DM Sans', monospace; letter-spacing: 0.03em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .listing-header__vin { max-width: 10rem; }
}
.listing-header__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; color: var(--text-white); margin: 0; line-height: 1.15;
  word-break: break-word;
}
@media (min-width: 640px) { .listing-header__title { font-size: 2rem; } }

.listing-header__right {
  display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0;
  flex-wrap: wrap;
}
.listing-header__price {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 700; color: var(--brand-500); white-space: nowrap;
}
@media (min-width: 640px) { .listing-header__price { font-size: 1.75rem; } }
.listing-header__state {
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 2rem; white-space: nowrap;
  background: rgba(242,196,0,0.12); color: var(--brand-400);
}
.listing-header__state--ended {
  background: rgba(239,68,68,0.12); color: #f87171;
}

/* ── Body: Gallery + Sidebar ── */
.listing-body {
  display: grid; grid-template-columns: 1fr;
  gap: 1.25rem;
  overflow: hidden;
}
@media (min-width: 960px) {
  .listing-body { grid-template-columns: 1fr 21rem; }
}
@media (min-width: 1100px) {
  .listing-body { grid-template-columns: 1fr 23rem; }
}

/* ── Gallery ── */
.listing-gallery { overflow: hidden; min-width: 0; }
.listing-gallery__main {
  position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--surface-900);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
}
.listing-gallery__main img {
  width: 100%; height: 100%; object-fit: contain;
}
.listing-gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff; font-size: 1.375rem; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; opacity: 0.7;
}
.listing-gallery__arrow:hover { background: rgba(0,0,0,0.8); opacity: 1; }
.listing-gallery__arrow--prev { left: 0.625rem; }
.listing-gallery__arrow--next { right: 0.625rem; }
.listing-gallery__counter {
  position: absolute; bottom: 0.625rem; left: 50%; transform: translateX(-50%);
  font-size: 0.6875rem; font-weight: 600; color: rgba(255,255,255,0.65);
  background: rgba(0,0,0,0.5); padding: 0.2rem 0.625rem; border-radius: 1rem;
  backdrop-filter: blur(4px);
}
.listing-gallery__thumbs {
  display: flex; gap: 0.375rem; padding: 0.625rem 0; overflow-x: auto;
  scrollbar-width: thin; scrollbar-color: var(--surface-600) transparent;
}
.listing-gallery__thumbs::-webkit-scrollbar { height: 4px; }
.listing-gallery__thumbs::-webkit-scrollbar-track { background: transparent; }
.listing-gallery__thumbs::-webkit-scrollbar-thumb { background: var(--surface-600); border-radius: 2px; }
.listing-gallery__thumb {
  width: 4.5rem; height: 3.375rem; object-fit: cover; border-radius: 0.375rem;
  border: 2px solid transparent; cursor: pointer; flex-shrink: 0;
  opacity: 0.45; transition: all 0.15s;
}
.listing-gallery__thumb:hover { opacity: 0.8; }
.listing-gallery__thumb--active { opacity: 1; border-color: var(--brand-500); }

/* ── Sidebar ── */
.listing-sidebar {
  display: flex; flex-direction: column; gap: 1rem;
}
.listing-sidebar__card {
  background: var(--surface-800); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 1.25rem;
}
.listing-sidebar__card--actions {
  display: flex; flex-direction: column; gap: 0.625rem;
  background: linear-gradient(135deg, rgba(242,196,0,0.04), rgba(242,196,0,0.01));
  border-color: rgba(242,196,0,0.1);
}
.listing-sidebar__heading {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.875rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 0 0 0.75rem; padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border-subtle);
}
.listing-sidebar__specs {
  display: flex; flex-direction: column; gap: 0;
}
.listing-sidebar__spec {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.4375rem 0; font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.listing-sidebar__spec:last-child { border-bottom: none; }
.listing-sidebar__spec-label {
  color: var(--text-muted); font-weight: 500; flex-shrink: 0; margin-right: 1rem;
}
.listing-sidebar__spec-value {
  color: var(--text-primary); font-weight: 600; text-align: right;
  word-break: break-word; max-width: 55%; overflow-wrap: break-word;
}
.listing-sidebar__btn {
  width: 100%; justify-content: center;
  padding: 0.75rem 1.25rem; font-size: 0.9375rem;
}
.listing-sidebar__contact {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.5rem; font-size: 0.8125rem; font-weight: 600;
  color: var(--brand-500); text-decoration: none; transition: opacity 0.2s;
}
.listing-sidebar__contact:hover { opacity: 0.8; }

/* ── Sidebar sticky on desktop ── */
@media (min-width: 960px) {
  .listing-sidebar {
    position: sticky; top: 6rem; align-self: start;
    max-height: calc(100vh - 7rem); overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: var(--surface-600) transparent;
  }
}

/* ── Mini Calculator ── */
.listing-sidebar__card--calc {
  background: var(--surface-800);
  border-color: var(--border-subtle);
}
.listing-calc__input-row { margin-bottom: 0.75rem; }
.listing-calc__label {
  display: block; font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
  margin-bottom: 0.375rem; text-transform: uppercase; letter-spacing: 0.03em;
}
.listing-calc__input-wrap {
  display: flex; align-items: center;
  background: var(--surface-700); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: border-color 0.2s;
}
.listing-calc__input-wrap:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(242,196,0,0.12);
}
.listing-calc__prefix {
  padding: 0 0 0 0.75rem; font-size: 1rem; font-weight: 700;
  color: var(--brand-500); flex-shrink: 0;
}
.listing-calc__input {
  flex: 1; padding: 0.625rem 0.75rem; background: none; border: none;
  outline: none; color: var(--text-white); font-size: 1rem;
  font-family: var(--font-display); font-weight: 700;
  -moz-appearance: textfield;
}
.listing-calc__input::-webkit-outer-spin-button,
.listing-calc__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.listing-calc__input::placeholder { color: var(--text-muted); font-weight: 400; }
.listing-calc__results { margin-bottom: 0.75rem; }
.listing-calc__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.3125rem 0; font-size: 0.8125rem;
}
.listing-calc__row span:first-child { color: var(--text-muted); font-weight: 500; }
.listing-calc__row span:last-child { color: var(--text-primary); font-weight: 600; }
.listing-calc__row--sub {
  padding-top: 0.5rem; margin-top: 0.25rem;
  border-top: 1px solid var(--border-subtle);
}
.listing-calc__row--sub span:last-child { color: var(--text-white); }
.listing-calc__divider {
  height: 1px; background: var(--border-subtle); margin: 0.5rem 0;
}
.listing-calc__row--total {
  padding: 0.5rem 0;
}
.listing-calc__row--total span:first-child { color: var(--text-white); font-weight: 700; }
.listing-calc__row--total span:last-child {
  color: var(--brand-500); font-weight: 700; font-size: 1.125rem;
  font-family: var(--font-display);
}
.listing-calc__note {
  font-size: 0.6875rem; color: var(--text-muted); line-height: 1.4;
  margin: 0.375rem 0 0; font-style: italic;
}

/* ── Share Dropdown ── */
.listing-share {
  display: flex; flex-direction: column; gap: 0.25rem;
  background: var(--surface-700); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); padding: 0.375rem;
  margin-top: 0.25rem;
}
.listing-share__option {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.5rem 0.75rem; font-size: 0.8125rem; font-weight: 600;
  color: var(--text-primary); border: none; background: none;
  border-radius: 0.375rem; cursor: pointer; text-decoration: none;
  font-family: var(--font-body); transition: background 0.15s;
}
.listing-share__option:hover { background: var(--surface-600); }
.listing-share__option svg { flex-shrink: 0; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════
   Popular Makes + Latest Carousels
   ═══════════════════════════════════════════════════ */

/* ── Section label ── */
.section-label {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.8125rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ── Popular Makes Grid ── */
.popular-makes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.625rem;
}
@media (max-width: 900px) { .popular-makes { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .popular-makes { grid-template-columns: repeat(3, 1fr); } }

.popular-make {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; padding: 1rem 0.5rem;
  background: var(--surface-800);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.25s;
  font-family: var(--font-body);
}
.popular-make:hover {
  border-color: var(--border-brand);
  background: rgba(242,196,0,0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.popular-make__icon {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.625rem;
  transition: all 0.25s;
}
.popular-make:hover .popular-make__icon {
  transform: scale(1.1);
}
.popular-make__icon img {
  max-width: 100%; max-height: 100%; object-fit: contain;
}
.popular-make__name {
  font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: color 0.25s;
}
.popular-make:hover .popular-make__name { color: var(--text-white); }
.popular-make--active {
  border-color: var(--brand-500);
  background: rgba(242,196,0,0.06);
}
.popular-make--active .popular-make__name { color: var(--brand-400); }

/* ── Carousel Header ── */
.carousel-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.75rem;
}
.carousel-header__dot {
  display: inline-block; width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
}
.carousel-header__dot--copart { background: #2563eb; box-shadow: 0 0 6px rgba(37,99,235,0.5); }
.carousel-header__dot--iaai { background: #f97316; box-shadow: 0 0 6px rgba(249,115,22,0.5); }

.carousel-nav { display: flex; gap: 0.375rem; }
.carousel-btn {
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-800); border: 1px solid var(--border-subtle);
  border-radius: 0.5rem; color: var(--text-secondary);
  cursor: pointer; transition: all 0.2s;
}
.carousel-btn:hover:not(:disabled) {
  border-color: var(--brand-500); color: var(--text-white);
  background: rgba(242,196,0,0.06);
}
.carousel-btn:disabled { opacity: 0.25; cursor: not-allowed; }

/* ── Carousel Track ── */
.carousel-track {
  display: flex; gap: 0.75rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }

/* ── Carousel Card ── */
.carousel-card {
  flex: 0 0 15rem; scroll-snap-align: start;
  background: var(--surface-800);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden; transition: all 0.25s;
  display: flex; flex-direction: column;
}
@media (max-width: 560px) { .carousel-card { flex: 0 0 12.5rem; } }
.carousel-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.carousel-card--skeleton { pointer-events: none; }
.carousel-card__img {
  position: relative; aspect-ratio: 16/10;
  overflow: hidden; background: var(--surface-700);
}
.carousel-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s;
}
.carousel-card:hover .carousel-card__img img { transform: scale(1.05); }
.carousel-card__badge {
  position: absolute; top: 0.375rem; left: 0.375rem;
  padding: 0.15rem 0.4rem; font-size: 0.5625rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 0.2rem; backdrop-filter: blur(4px);
}
.carousel-card__badge--copart {
  background: rgba(37,99,235,0.85); color: #fff;
}
.carousel-card__badge--iaai {
  background: rgba(239,68,68,0.85); color: #fff;
}
.carousel-card__body { padding: 0.625rem 0.75rem; flex:1; }
.carousel-card__title {
  font-size: 0.8rem; font-weight: 600; color: var(--text-white);
  line-height: 1.3; margin-bottom: 0.2rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.carousel-card__meta {
  font-size: 0.6875rem; color: var(--text-muted);
  margin-bottom: 0.375rem;
}
.carousel-card__bottom-row {
  display: flex; justify-content: space-between; align-items: center;
}
.carousel-card__price {
  font-family: var(--font-display); font-size: 0.9375rem;
  font-weight: 700; color: var(--brand-500);
}
.carousel-card__price--green { color: #10b981; }
.carousel-card__timer {
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.02em;
  color: #f59e0b; background: rgba(245,158,11,0.1);
  padding: 0.15rem 0.4rem; border-radius: 0.25rem;
  white-space: nowrap; font-family: var(--font-display);
}

/* ── Timer on main auction grid cards ── */
.auction-card__timer {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.02em;
  color: #f59e0b; background: rgba(245,158,11,0.1);
  padding: 0.15rem 0.5rem; border-radius: 0.25rem;
  white-space: nowrap; font-family: var(--font-display);
}
.auction-card__timer[x-text="'LIVE'"],
.carousel-card__timer[x-text="'LIVE'"] {
  color: #10b981; background: rgba(16,185,129,0.15);
}
/* JS will add --live class dynamically */
.auction-card__timer.timer--live,
.carousel-card__timer.timer--live {
  color: #10b981; background: rgba(16,185,129,0.15);
}
