/* Wild Camel — design tokens & UI (local wcat) */

:root {
  /* Trademark palette: sky blue on white */
  --wc-ink: #0f1b2d;
  --wc-ink-soft: #2a3a52;
  --wc-muted: #6a7a90;
  --wc-line: #d9e6f5;
  --wc-surface: #ffffff;
  --wc-bg: #f4f8fd;
  --wc-accent: #2f8ae8;
  --wc-accent-hover: #1f74ce;
  --wc-accent-soft: #e5f2fe;
  --wc-brand-sky: #48a0f8;
  --wc-brand-sky-soft: #d7ebfe;
  --wc-ok: #2f6b4f;
  --wc-radius: 14px;
  --wc-radius-sm: 10px;
  --wc-shadow: 0 8px 24px rgba(72, 160, 248, 0.14);
  --wc-font: "Manrope", system-ui, -apple-system, sans-serif;
  --wc-safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

html {
  -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  background: var(--wc-bg);
  color: var(--wc-ink);
  font-family: var(--wc-font);
  font-feature-settings: "ss01" on;
}

main {
  flex: 1;
    display: flex;
    flex-direction: column;
  min-height: 0;
  padding-bottom: calc(64px + var(--wc-safe-bottom));
}

@media (min-width: 768px) {
  main {
    padding-bottom: 0;
  }
}

.container {
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}

/* Header brand */
.wc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--wc-accent);
  min-width: 0;
}

.wc-brand:hover {
  color: var(--wc-accent-hover);
}

.wc-brand__mark {
  height: 2.35rem;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.wc-brand--sm .wc-brand__mark {
  height: 1.9rem;
}

.wc-brand__name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
    white-space: nowrap;
}

@media (max-width: 380px) {
  .wc-brand__name {
    letter-spacing: 0.04em;
    font-size: 0.85rem;
  }
}

/* Header */
.wc-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wc-line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.wc-header__start {
    display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.wc-header__back {
  display: inline-flex;
    align-items: center;
    justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--wc-accent-soft);
  color: var(--wc-accent);
  text-decoration: none;
  font-size: 1.15rem;
  cursor: pointer;
  flex-shrink: 0;
}

.wc-header__back:hover {
  background: var(--wc-brand-sky-soft);
  color: var(--wc-accent-hover);
}

.wc-header a {
  color: var(--wc-ink-soft);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.wc-header a:hover,
.wc-header a.is-active {
  color: var(--wc-accent);
}

.wc-header .wc-nav-icon {
  color: var(--wc-accent);
}

.wc-header .wc-brand,
.wc-header .wc-brand:hover {
  color: var(--wc-accent);
}

/* Footer / bottom nav */
.footer {
  background: var(--wc-ink);
  color: #e8f2fc;
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
  margin-top: auto;
}

.wc-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--wc-line);
  padding-bottom: var(--wc-safe-bottom);
  backdrop-filter: blur(10px);
}

.wc-bottom-nav a {
  color: var(--wc-muted);
  font-weight: 600;
}

.wc-bottom-nav a.is-active,
.wc-bottom-nav a:hover {
  color: var(--wc-accent);
}

/* Buttons */
.wc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: var(--wc-radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.1;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.wc-btn:active {
  transform: scale(0.98);
}

.wc-btn-primary {
  background: var(--wc-accent);
  color: #fff;
}

.wc-btn-primary:hover {
  background: var(--wc-accent-hover);
  color: #fff;
}

.wc-btn-ghost {
  background: transparent;
  color: var(--wc-ink);
  border-color: var(--wc-line);
}

.wc-btn-ghost:hover {
  border-color: var(--wc-accent);
  color: var(--wc-accent);
}

.wc-btn-block {
  width: 100%;
}

/* ===== Car cards ===== */
.wc-cars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .wc-cars-grid {
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 1024px) {
  .wc-cars-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .wc-cars-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.wc-car-card {
  background: var(--wc-surface);
  border: 1px solid var(--wc-line);
  border-radius: var(--wc-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: none;
  animation: wc-card-in 0.35s ease both;
  transition: border-color 0.2s ease;
}

.wc-cars-grid .wc-car-card:nth-child(1) { animation-delay: 0.02s; }
.wc-cars-grid .wc-car-card:nth-child(2) { animation-delay: 0.05s; }
.wc-cars-grid .wc-car-card:nth-child(3) { animation-delay: 0.08s; }
.wc-cars-grid .wc-car-card:nth-child(4) { animation-delay: 0.11s; }
.wc-cars-grid .wc-car-card:nth-child(5) { animation-delay: 0.14s; }
.wc-cars-grid .wc-car-card:nth-child(6) { animation-delay: 0.17s; }
.wc-cars-grid .wc-car-card:nth-child(7) { animation-delay: 0.2s; }
.wc-cars-grid .wc-car-card:nth-child(8) { animation-delay: 0.23s; }
.wc-cars-grid .wc-car-card:nth-child(n+9) { animation-delay: 0.26s; }

.wc-car-card:hover {
  border-color: var(--wc-accent);
}

.wc-car-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--wc-accent-soft);
  overflow: hidden;
}

.wc-car-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  object-position: center;
  display: block;
}

.wc-car-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--wc-muted);
  gap: 0.35rem;
  font-size: 0.8rem;
  background: linear-gradient(160deg, var(--wc-accent-soft), #f4f8fd);
}

.wc-car-card__body {
  padding: 0.75rem 0.8rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.wc-car-card__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--wc-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wc-car-card__meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--wc-muted);
  line-height: 1.35;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
}

.wc-car-card__meta-sep {
  opacity: 0.45;
}

.wc-car-card__hp {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--wc-accent);
  font-weight: 700;
}

.wc-car-card__hp i {
  font-size: 0.95em;
}

.wc-car-card__price {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--wc-ink);
}

.wc-car-card__note {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--wc-muted);
  font-weight: 500;
}

.wc-car-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.45rem;
}

.wc-car-card__actions .wc-btn {
  min-height: 36px;
  padding: 0.45rem 0.5rem;
  font-size: 0.8rem;
  width: 100%;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .wc-car-card__actions {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .wc-car-card__actions .wc-btn {
    min-height: 40px;
    padding: 0.5rem 0.4rem;
    font-size: 0.85rem;
  }
}

@media (min-width: 640px) {
  .wc-car-card__title {
    font-size: 0.95rem;
  }
  .wc-car-card__meta {
    font-size: 0.82rem;
  }
  .wc-car-card__price {
    font-size: 1.55rem;
  }
}

/* Legacy class bridges */
.card-img-container {
  aspect-ratio: 4 / 3;
  height: auto;
  overflow: hidden;
  background: var(--wc-accent-soft);
}

.price-highlight {
  color: var(--wc-ink);
  font-weight: 800;
}

.back-to-top {
    position: fixed;
  bottom: calc(80px + var(--wc-safe-bottom));
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--wc-accent);
  color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  box-shadow: var(--wc-shadow);
    opacity: 0;
    visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(8px);
  z-index: 35;
  border: none;
}

@media (min-width: 768px) {
  .back-to-top {
    bottom: 24px;
  }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
  background: var(--wc-accent-hover);
}

/* ===== Filters ===== */
.filter-container {
  z-index: 25;
  margin-bottom: 0.75rem;
}

.filter-container .absolute.z-10 {
  z-index: 26;
}

.wc-filters__panel {
  background: var(--wc-surface);
  border: 1px solid var(--wc-line);
  border-radius: var(--wc-radius);
  padding: 1rem 1.1rem 1.15rem;
}

.wc-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.wc-filters__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--wc-ink);
}

.wc-filters__title i {
  color: var(--wc-accent);
}

.wc-filters__reset {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  border: 1px solid var(--wc-line);
  background: #fff;
  color: var(--wc-ink);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.wc-filters__reset:hover {
  border-color: var(--wc-accent);
  color: var(--wc-accent);
  background: var(--wc-accent-soft);
}

.wc-filters__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

@media (min-width: 640px) {
  .wc-filters__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .wc-filters__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .wc-filters__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .wc-filters__grid { grid-template-columns: repeat(9, minmax(0, 1fr)); }
}

.wc-filter-trigger,
.filter-btn.wc-filter-trigger {
  position: relative;
  width: 100%;
  min-height: 3.35rem;
    display: flex;
    flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.55rem 1.5rem 0.55rem 0.75rem;
  border: 1px solid var(--wc-line);
  border-radius: var(--wc-radius-sm);
  background: #f7fbff;
  color: var(--wc-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.wc-filter-trigger:hover:not(:disabled),
.filter-btn.wc-filter-trigger:hover:not(:disabled) {
  border-color: var(--wc-accent);
  background: #fff;
}

.wc-filter-trigger.is-active {
  border-color: var(--wc-accent);
  background: var(--wc-accent-soft);
}

.wc-filter-trigger__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--wc-muted);
  line-height: 1.1;
}

.wc-filter-trigger.is-active .wc-filter-trigger__label {
  color: var(--wc-accent);
}

.wc-filter-trigger__value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--wc-ink);
  line-height: 1.2;
  max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-filter-trigger__chevron {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  font-size: 0.65rem;
  color: var(--wc-muted);
}

.wc-filter-menu {
  margin-top: 0.35rem;
  width: 100%;
  min-width: 11rem;
  max-height: 16rem;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--wc-line);
  border-radius: var(--wc-radius-sm);
  box-shadow: var(--wc-shadow);
  padding: 0.35rem;
}

.wc-filter-menu--price {
  min-width: 14rem;
  padding: 0.75rem;
}

.wc-filter-menu__search {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 0.25rem 0.25rem 0.45rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid var(--wc-line);
}

.wc-filter-menu__list {
  max-height: 12rem;
  overflow-y: auto;
}

.wc-filter-menu__item {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wc-ink-soft);
  text-decoration: none;
}

.wc-filter-menu__item:hover {
  background: var(--wc-accent-soft);
  color: var(--wc-accent);
}

.wc-filter-menu__item.is-selected,
.wc-filter-menu__item.bg-blue-100 {
  background: var(--wc-accent-soft);
  color: var(--wc-accent);
}

.wc-filter-input,
.wc-filter-select {
  width: 100%;
  border: 1px solid var(--wc-line);
  border-radius: 10px;
  background: #fff;
  color: var(--wc-ink);
  padding: 0.55rem 0.7rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wc-filter-input:focus,
.wc-filter-select:focus {
  border-color: var(--wc-accent);
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.15);
}

.wc-filter-price-row {
    display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.wc-filter-price-row label {
  flex: 0 0 3.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--wc-muted);
}

.wc-filter-price-actions {
  display: flex;
  gap: 0.4rem;
}

.wc-filter-price-actions .wc-btn {
  flex: 1;
  padding: 0.5rem 0.65rem;
  font-size: 0.8rem;
}

.wc-results-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
    justify-content: space-between;
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  background: var(--wc-surface);
  border: 1px solid var(--wc-line);
  border-radius: var(--wc-radius);
}

@media (min-width: 640px) {
  .wc-results-bar {
    flex-direction: row;
    align-items: center;
  }
}

.wc-results-bar__lead {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

@media (min-width: 640px) {
  .wc-results-bar__lead {
    flex: 1;
  }
}

.wc-catalog-hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--wc-muted);
  letter-spacing: -0.01em;
}

.wc-catalog-hint[data-state="filtered"] {
  color: var(--wc-accent);
}

.wc-mfilters-bar__lead {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.wc-results-bar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.wc-results-bar__count {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--wc-ink-soft);
}

.wc-results-bar__count span {
  color: var(--wc-accent);
  font-weight: 800;
}

.wc-results-bar__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wc-results-bar__sort label {
  font-size: 0.8rem;
    font-weight: 600;
  color: var(--wc-muted);
  white-space: nowrap;
}

.wc-results-bar__sort .wc-filter-select {
  min-width: 10rem;
}

/* Desktop filters sheet */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#desktop-filters-sheet.wc-dfilters-sheet {
  position: fixed !important;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

#desktop-filters-sheet.wc-dfilters-sheet.hidden {
  display: none !important;
  pointer-events: none;
}

.wc-dfilters-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.wc-dfilters-sheet.hidden {
  display: none !important;
}

.wc-dfilters-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
}

.wc-dfilters-sheet__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  max-width: 100%;
  height: 100%;
  background: var(--wc-surface);
  border-left: 1px solid var(--wc-line);
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
  animation: wc-dfilters-in 0.2s ease;
}

@keyframes wc-dfilters-in {
  from {
    opacity: 0.6;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.wc-dfilters-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--wc-line);
  flex-shrink: 0;
}

.wc-dfilters-sheet__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.wc-dfilters-sheet__head-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  max-width: 70%;
}

.wc-dfilters-sheet__head-actions .wc-filters__reset span {
  display: inline;
}

@media (max-width: 380px) {
  .wc-dfilters-sheet__head-actions .wc-filters__reset span {
    display: none;
  }
}

.wc-dfilters-sheet__close {
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  border-radius: 999px;
  background: var(--wc-accent-soft);
  color: var(--wc-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
}

.wc-dfilters-sheet__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.1rem 1.25rem;
}

.wc-dfilters-sheet__body .wc-filters__grid {
  grid-template-columns: 1fr;
}

.wc-dfilters-sheet__body .relative {
  position: relative;
}

/* В панели меню идут потоком, чтобы не обрезались overflow */
.wc-dfilters-sheet__body .wc-filter-menu {
        position: static;
  width: 100%;
  margin-top: 0.4rem;
  box-shadow: none;
}

.wc-dfilters-sheet__foot {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  gap: 0.55rem;
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--wc-line);
  background: var(--wc-surface);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
}

.wc-dfilters-sheet__foot .wc-btn {
  flex: 1 1 0;
  min-width: 0;
  font-weight: 700;
}

.wc-dfilters-sheet__foot .wc-btn-ghost {
  background: #fff;
  border-color: var(--wc-line);
  color: var(--wc-ink);
}

body.wc-dfilters-open {
  overflow: hidden;
}

/* Mobile filter bar */
.wc-mfilters-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--wc-line);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1rem;
}

.wc-mfilters-bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wc-mfilters-bar__count {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wc-mfilters-bar__count span {
  color: var(--wc-accent);
}

.wc-mfilters-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  background: var(--wc-accent);
  color: #fff;
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.wc-mfilters-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.wc-mfilters-chips:empty {
  display: none;
  margin: 0;
}

.wc-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--wc-accent-soft);
  color: var(--wc-accent);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Mobile fullscreen sheet */
.wc-mfilters-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: var(--wc-bg);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

#mobile-filters.wc-mfilters-sheet.hidden {
  display: flex !important;
  opacity: 0;
  transform: translateY(18px);
  visibility: hidden;
  pointer-events: none;
}

.wc-mfilters-sheet__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--wc-line);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.wc-mfilters-sheet__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.wc-mfilters-sheet__head-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.wc-mfilters-sheet__close {
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  border-radius: 999px;
  background: var(--wc-accent-soft);
  color: var(--wc-ink-soft);
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.wc-mfilters-sheet__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1rem 6.5rem;
}

.wc-mfilters-section {
  background: var(--wc-surface);
  border: 1px solid var(--wc-line);
  border-radius: var(--wc-radius);
  padding: 0;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.wc-mfilters-section__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.9rem;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--wc-ink);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.wc-mfilters-section__toggle i {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--wc-muted);
  transition: transform 0.18s ease;
}

.wc-mfilters-section.is-open .wc-mfilters-section__toggle i {
  transform: rotate(180deg);
}

.wc-mfilters-section__body {
  padding: 0 0.9rem 0.9rem;
}

.wc-mfilters-section__body[hidden] {
  display: none !important;
}

.wc-mfilters-section h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--wc-ink);
}

.wc-mfilters-search {
  margin-bottom: 0.65rem;
}

.wc-mfilters-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.wc-mfilters-options--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wc-mfilters-options--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wc-mfilters-options .filter-option {
  border: 1px solid var(--wc-line);
  border-radius: 12px;
  background: #f7fbff;
  color: var(--wc-ink-soft);
  padding: 0.7rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wc-mfilters-options .filter-option.bg-blue-100,
.wc-mfilters-options .filter-option.border-blue-500,
.wc-mfilters-options .filter-option.is-selected {
  background: var(--wc-accent-soft) !important;
  border-color: var(--wc-accent) !important;
  color: var(--wc-accent) !important;
}

.wc-mfilters-sheet__foot {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0.85rem 1rem calc(0.85rem + var(--wc-safe-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--wc-line);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.wc-mfilters-sheet__foot .wc-btn {
  min-height: 2.9rem;
  min-width: 0;
  font-weight: 700;
}

.wc-mfilters-sheet__foot #mobile-resetFilters {
  flex: 0 1 auto;
  white-space: nowrap;
  background: #fff;
  border: 1.5px solid var(--wc-line);
  color: var(--wc-ink);
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

.wc-mfilters-sheet__foot #mobile-applyFilters {
  flex: 1 1 0;
  min-width: 0;
}

.wc-mfilters-sheet__foot #mobile-apply-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* ===== Car detail gallery ===== */
.wc-gallery {
  position: relative;
  background: #111;
  border-radius: var(--wc-radius);
  overflow: hidden;
}

.wc-gallery__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.wc-gallery__viewport:active {
  cursor: grabbing;
}

.wc-gallery__track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.wc-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f1b2d;
  pointer-events: none;
}

.wc-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
}

.wc-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(8, 16, 28, 0.42);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.wc-gallery__nav:hover {
  background: rgba(56, 189, 248, 0.82);
  border-color: transparent;
}

.wc-gallery__nav:active {
  transform: translateY(-50%) scale(0.94);
}

.wc-gallery__nav--prev { left: 10px; }
.wc-gallery__nav--next { right: 10px; }

.wc-gallery__counter {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  background: rgba(8, 16, 28, 0.55);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}

@media (max-width: 767px) {
  .wc-gallery__nav {
    width: 38px;
    height: 38px;
    background: rgba(8, 16, 28, 0.32);
  }
}

/* Lightbox */
.wc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 9, 8, 0.94);
  display: none;
  flex-direction: column;
  touch-action: none;
}

.wc-lightbox.is-open {
  display: flex;
}

.wc-lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  color: #fff;
  font-weight: 600;
}

.wc-lightbox__stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.wc-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-lightbox__nav--prev { left: 10px; }
.wc-lightbox__nav--next { right: 10px; }

.wc-lightbox__close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
}

/* Detail page layout helpers */
.wc-detail-back {
  margin-bottom: 0.75rem;
}

.wc-detail-back__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--wc-ink-soft);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  padding: 0.25rem 0;
  text-decoration: none;
}

.wc-detail-back__btn:hover {
  color: var(--wc-accent);
}

.wc-detail-shell {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 0.75rem 1.5rem;
}

@media (min-width: 768px) {
  .wc-detail-shell {
    padding: 1.25rem 1.5rem 2rem;
  }
}

.wc-detail-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
        line-height: 1.2;
    }
    
@media (min-width: 768px) {
  .wc-detail-title {
    font-size: 1.75rem;
  }
}

.wc-panel {
  background: var(--wc-surface);
  border: 1px solid var(--wc-line);
  border-radius: var(--wc-radius);
  padding: 1rem;
}

.wc-detail-price {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.25rem 0 0.85rem;
}

.wc-sticky-cta {
  position: sticky;
  bottom: calc(64px + var(--wc-safe-bottom) + 8px);
  z-index: 20;
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .wc-sticky-cta {
    bottom: 1rem;
  }
}

.spec-row {
  border-bottom: 1px solid var(--wc-line);
  padding: 0.65rem 0;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row > .flex {
  align-items: flex-start;
  gap: 0.75rem;
}

.spec-row .text-gray-600 {
  flex-shrink: 0;
}

.spec-row .text-gray-900 {
  text-align: right;
  max-width: 58%;
  word-break: break-word;
  line-height: 1.35;
}

.wc-spec-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wc-accent);
  font-size: 1.05rem;
  line-height: 1;
}

.wc-spec-icon i {
  line-height: 1;
}

.wc-car-card--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wc-car-card--link:hover {
  border-color: var(--wc-accent);
}

/* Soften default blue accents site-wide in wcat */
.text-blue-500,
.text-blue-600,
.hover\:text-blue-500:hover,
.hover\:text-blue-600:hover {
  color: var(--wc-accent) !important;
}

.bg-blue-500,
.bg-blue-600,
.hover\:bg-blue-600:hover,
.hover\:bg-blue-700:hover {
  background-color: var(--wc-accent) !important;
}

.bg-blue-50 {
  background-color: var(--wc-accent-soft) !important;
}

.from-blue-600 {
  --tw-gradient-from: #3d3832 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(61 56 50 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-blue-800 {
  --tw-gradient-to: var(--wc-ink) var(--tw-gradient-to-position);
}

/* ===== Page chrome ===== */
.wc-hero {
  background:
    radial-gradient(90% 80% at 92% 8%, rgba(72, 160, 248, 0.18), transparent 52%),
    linear-gradient(145deg, #ffffff 0%, #eef6ff 55%, #dff0ff 100%);
  color: var(--wc-ink);
  border-radius: var(--wc-radius);
  padding: 1.35rem 1.15rem;
  margin-bottom: 1rem;
  border: 1px solid var(--wc-line);
  display: grid;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .wc-hero {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 1.75rem 1.75rem;
    gap: 1.5rem;
  }
}

.wc-hero--compact {
  display: block;
  padding: 1.25rem 1.15rem;
}

.wc-hero__content {
  min-width: 0;
}

.wc-hero__mark {
  height: 2.75rem;
  width: auto;
  margin-bottom: 0.65rem;
  display: block;
}

.wc-hero__brand {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wc-accent);
}

.wc-hero__title {
  margin: 0 0 0.5rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--wc-accent);
}

@media (min-width: 768px) {
  .wc-hero__title {
    font-size: 2.1rem;
  }
}

.wc-hero__text {
  margin: 0 0 1rem;
  color: var(--wc-ink-soft);
  font-size: 1rem;
  max-width: 36rem;
  font-weight: 600;
}

.wc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wc-hero .wc-btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(72, 160, 248, 0.35);
  color: var(--wc-accent-hover);
}

.wc-hero .wc-btn-ghost:hover {
  background: #fff;
  border-color: var(--wc-accent);
}

.wc-hero__badge {
  display: none;
  justify-content: center;
}

@media (min-width: 768px) {
  .wc-hero__badge {
    display: flex;
  }
}

.wc-hero__badge img {
  width: min(100%, 300px);
  height: auto;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(72, 160, 248, 0.18);
  border: 1px solid var(--wc-line);
  background: #fff;
  image-rendering: auto;
  padding: 0;
  object-fit: contain;
}

.wc-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .wc-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.wc-stat {
  background: var(--wc-surface);
  border: 1px solid var(--wc-line);
  border-radius: var(--wc-radius);
  padding: 1rem;
  text-align: center;
}

.wc-stat__num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--wc-accent);
  letter-spacing: -0.03em;
}

.wc-stat__label {
  margin-top: 0.2rem;
  color: var(--wc-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.wc-section-title {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wc-section-subtitle {
  margin: 1rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.wc-prose {
  margin: 0 0 0.75rem;
  color: var(--wc-ink-soft);
  line-height: 1.55;
  font-size: 0.95rem;
}

.wc-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wc-checklist li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.4rem;
  color: var(--wc-ink-soft);
  font-weight: 600;
}

.wc-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--wc-accent);
}

.wc-panel--cta {
  text-align: center;
  margin-bottom: 1rem;
}

.wc-popular-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .wc-popular-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .wc-popular-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.wc-popular-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--wc-line);
  border-radius: var(--wc-radius);
  padding: 0;
  overflow: hidden;
  background: var(--wc-surface);
  animation: wc-card-in 0.35s ease both;
  transition: border-color 0.2s ease;
}

.wc-popular-grid .wc-popular-card:nth-child(1) { animation-delay: 0.04s; }
.wc-popular-grid .wc-popular-card:nth-child(2) { animation-delay: 0.1s; }
.wc-popular-grid .wc-popular-card:nth-child(3) { animation-delay: 0.16s; }

.wc-popular-card:hover {
  border-color: var(--wc-accent);
}

.wc-popular-card__media {
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 0;
  background: var(--wc-accent-soft);
  overflow: hidden;
  display: block;
}

.wc-popular-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.wc-popular-card__fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 10rem;
  background: linear-gradient(145deg, var(--wc-accent-soft), #f4f8fd 55%, var(--wc-brand-sky-soft));
}

.wc-popular-card__body {
  padding: 0.85rem 0.9rem 1rem;
}

.wc-popular-card h3 {
  margin: 0.2rem 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--wc-ink-soft);
  line-height: 1.3;
}

.wc-popular-card__meta {
  margin: 0;
  color: var(--wc-muted);
  font-size: 0.82rem;
}

.wc-popular-card__price {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--wc-ink);
}

.wc-panel--cta h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.wc-panel--cta p {
  margin: 0 0 0.9rem;
  color: var(--wc-muted);
}

.wc-note {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: var(--wc-radius);
  border: 1px solid var(--wc-line);
  background: var(--wc-accent-soft);
  color: var(--wc-ink-soft);
  font-size: 0.9rem;
}

.wc-note i {
  color: var(--wc-accent);
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.wc-note p {
  margin: 0;
}

.wc-partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .wc-partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.wc-partner-card {
  border: 1px solid var(--wc-line);
  border-radius: var(--wc-radius-sm);
  padding: 0.9rem;
  background: #f7fbff;
}

.wc-partner-card__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.wc-partner-card__head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.wc-partner-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wc-accent-soft);
  color: var(--wc-accent);
  font-size: 1.2rem;
  line-height: 1;
}

.wc-partner-card__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.wc-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wc-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--wc-line);
  border-radius: var(--wc-radius-sm);
  text-decoration: none;
  color: inherit;
  background: #f7fbff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

a.wc-contact-link:hover {
  border-color: var(--wc-accent);
  background: var(--wc-accent-soft);
}

.wc-contact-link__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wc-ink);
  color: #fff;
  flex-shrink: 0;
  font-size: 1.15rem;
}

.wc-contact-link strong {
  display: block;
  font-size: 0.95rem;
}

.wc-contact-link small {
  display: block;
  color: var(--wc-muted);
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.wc-map {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--wc-radius-sm);
  overflow: hidden;
  border: 1px solid var(--wc-line);
  background: var(--wc-accent-soft);
}

.wc-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.wc-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: max-content;
  align-items: start;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .wc-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .wc-reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.wc-review-card {
  background: var(--wc-surface);
  border: 1px solid var(--wc-line);
  border-radius: var(--wc-radius);
  overflow: hidden;
  display: block;
  height: auto;
  align-self: start;
}

.wc-review-card__media {
  aspect-ratio: 4 / 3;
  background: var(--wc-accent-soft);
  overflow: hidden;
}

.wc-review-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc-review-card__body {
  padding: 1rem;
}

.wc-review-card__author {
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.wc-review-card__meta {
  margin: 0 0 0.45rem;
  color: var(--wc-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.wc-review-card__text {
  margin: 0;
  color: var(--wc-ink-soft);
  white-space: pre-line;
  line-height: 1.5;
  font-size: 0.92rem;
}

/* Pagination */
.wc-pagination {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.wc-pagination__btn {
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--wc-line);
  background: var(--wc-surface);
  color: var(--wc-ink-soft);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wc-pagination__btn:hover {
  border-color: var(--wc-accent);
  color: var(--wc-accent);
  background: var(--wc-accent-soft);
}

.wc-pagination__btn.is-current {
  background: var(--wc-accent);
  border-color: var(--wc-accent);
  color: #fff;
}

.wc-pagination__btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.wc-pagination__ellipsis {
  padding: 0 0.25rem;
  color: var(--wc-muted);
  font-weight: 700;
}

.wc-load-more {
  display: flex;
  justify-content: center;
  padding: 0.5rem 1rem 1.75rem;
}

.wc-load-more__btn {
  min-width: 12rem;
  min-height: 2.75rem;
}

.wc-car-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes wc-card-in {
    from {
        opacity: 0;
    transform: translateY(10px);
    }
    to {
        opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wc-car-card,
  .wc-popular-card {
    animation: none;
  }

  #mobile-filters.wc-mfilters-sheet {
    transition: none;
  }

  .wc-sub-popup.is-open .wc-sub-popup__dialog,
  .wc-sub-popup.is-open .wc-sub-popup__close {
    animation: none;
  }
}

/* ===== Subscribe popup (Telegram / MAX) ===== */
.wc-sub-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 27, 45, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.wc-sub-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wc-sub-popup__shell {
  position: relative;
  width: min(100%, 22.5rem);
}

.wc-sub-popup__close {
  position: absolute;
  top: -2.35rem;
  right: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  opacity: 0.92;
}

.wc-sub-popup__close:hover,
.wc-sub-popup__close:focus-visible {
  opacity: 1;
  outline: none;
  background: rgba(255, 255, 255, 0.12);
}

.wc-sub-popup__dialog {
  background: var(--wc-surface);
  border: 1px solid var(--wc-line);
  border-radius: 1.35rem;
  box-shadow: 0 18px 48px rgba(15, 27, 45, 0.22);
  padding: 1.45rem 1.35rem 1.35rem;
  text-align: center;
}

.wc-sub-popup.is-open .wc-sub-popup__dialog {
  animation: wc-sub-pop 0.28s ease both;
}

.wc-sub-popup.is-open .wc-sub-popup__close {
  animation: wc-sub-fade 0.28s ease both;
}

@keyframes wc-sub-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wc-sub-fade {
  from { opacity: 0; }
  to { opacity: 0.92; }
}

.wc-sub-popup__title {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 4.2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--wc-ink);
}

.wc-sub-popup__benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.1rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.wc-sub-popup__benefits li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--wc-ink-soft);
  white-space: nowrap;
}

.wc-sub-popup__benefits i {
  color: var(--wc-accent);
  font-size: 1.05rem;
}

.wc-sub-popup__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wc-sub-popup__btn {
  min-height: 3rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.wc-sub-popup__btn--max {
  background: var(--wc-ink);
  color: #fff;
  border-color: var(--wc-ink);
}

.wc-sub-popup__btn--max:hover {
  background: #1a2b44;
  color: #fff;
  border-color: #1a2b44;
}

