@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root{
  --primary: #f9fafb;
  --background: #020617;
  /* Темніша картка (як після «зроби картку темнішою») — поля окремо нижче */
  --card-bg: #0a0f1c;
  --muted: #9ca3af;
  --border: #1f2937;
  --line: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.08);
  --muted2: rgba(255,255,255,.45);

  /* 👇 Колір/тінь карток на ВСІХ сторінках (FAQ, Contact, Reviews, Safety, How it works, тощо). Зміни тут — зміниться скрізь. */
  --content-card-bg: var(--card-bg);
  --content-card-inner-bg: rgba(255,255,255,.06);
  --content-card-inner-border: rgba(255,255,255,.12);
  --content-card-shadow: 0 4px 20px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --content-card-radius: 20px;
  --content-card-inner-radius: 16px;

  --accent: #3b82f6;
  --accent2: #ec4899;
  --good: #22c55e;
  --brand-gradient: linear-gradient(90deg, #ec4899, #3b82f6);

  --r12: 12px;
  --r16: 16px;
  --r20: 20px;
  --r24: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.25);
  --shadow2: 0 14px 40px rgba(0,0,0,.35);
  --max: 1200px;
}

/* ====== Light theme (polished, on par with dark) ====== */
body[data-theme="light"] {
  --primary: #0f172a;
  --background: #f1f5f9;
  --card-bg: #ffffff;
  --muted: #64748b;
  --border: #e2e8f0;
  --line: rgba(15, 23, 42, 0.08);
  --text: #0f172a;
  --panel: rgba(15, 23, 42, 0.04);
  --panel2: rgba(15, 23, 42, 0.06);
  --muted2: #94a3b8;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow2: 0 8px 32px rgba(15, 23, 42, 0.1);
  /* 👇 Ті самі змінні для світлої теми — один раз тут, однакові картки скрізь */
  --content-card-bg: #ffffff;
  --content-card-inner-bg: #f8fafc;
  --content-card-inner-border: #e2e8f0;
  --content-card-shadow: 0 4px 24px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.06);
}

body[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

body[data-theme="light"] .brand__text { color: var(--primary); }

body[data-theme="light"] .nav a { color: var(--muted); }
body[data-theme="light"] .nav a:hover,
body[data-theme="light"] .nav a.is-active { color: var(--primary); }

body[data-theme="light"] .btn:not(.primary):not(.btn--primary):not(.btn-primary) {
  color: var(--primary);
  border: 1px solid var(--border);
  background: #e2e8f0;
}
body[data-theme="light"] .btn:not(.primary):not(.btn--primary):not(.btn-primary):hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
/* Кнопка Search cars — як у темній темі (градієнт, білий текст) */
body[data-theme="light"] .btn.btn-primary,
body[data-theme="light"] .btn.primary {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 16px 35px rgba(59, 130, 246, 0.45);
}
body[data-theme="light"] .btn.btn-primary:hover,
body[data-theme="light"] .btn.primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.55);
}

body[data-theme="light"] .hero {
  background-color: #0f172a;
}

/* Light theme: hero block */
body[data-theme="light"] .hero-label {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
}
/* Hero-теги — такий самий прозорий стиль як у 2 карток (в обох темах) */
body[data-theme="light"] .hero .hero-tag {
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}
body[data-theme="light"] .hero .hero-tag:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
body[data-theme="light"] .hero-title {
  color: #f8fafc;
  text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 2px 12px rgba(0,0,0,.3);
}
body[data-theme="light"] .hero-subtitle,
body[data-theme="light"] .hero-meta {
  color: rgba(255, 255, 255, 0.85);
}

/* Пошукова картка в світлій темі — світла (поза hero перевизначається нижче для .hero) */
body[data-theme="light"] .search-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(16px);
}
body[data-theme="light"] .search-card .field label,
body[data-theme="light"] .search-card .search-title-row span { color: #64748b; }
body[data-theme="light"] .search-card .search-title-row h3,
body[data-theme="light"] .search-card .field input,
body[data-theme="light"] .search-card .field select { color: #0f172a; }
body[data-theme="light"] .search-card .field input,
body[data-theme="light"] .search-card .field select {
  background: #f8fafc;
  border-color: #e2e8f0;
}
body[data-theme="light"] .search-card .field input::placeholder { color: #94a3b8; }

/* Пошукова картка в hero — напівпрозора */
.hero .search-card,
body[data-theme="light"] .hero .search-card {
  background: rgba(255, 255, 255, 0) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: visible;
  border-radius: 24px;
  box-shadow: none;
  backdrop-filter: blur(8px) saturate(1.02);
}
/* Пошукова картка в hero — так само як Arbi: заголовок напівпрозорий білий */
.hero .search-card .search-title-row h3,
body[data-theme="light"] .hero .search-card .search-title-row h3 { color: rgba(255, 255, 255, 0.95); }
.hero .search-card .search-title-row span,
body[data-theme="light"] .hero .search-card .search-title-row span { color: rgba(255, 255, 255, 0.65); }
.hero .search-card .field label,
body[data-theme="light"] .hero .search-card .field label { color: rgba(255, 255, 255, 0.72); }
.hero .search-card .field input,
.hero .search-card .field select,
body[data-theme="light"] .hero .search-card .field input,
body[data-theme="light"] .hero .search-card .field select {
  background: rgba(255, 255, 255, 0) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff !important;
}
.hero .search-card .field input::placeholder,
body[data-theme="light"] .hero .search-card .field input::placeholder { color: rgba(255, 255, 255, 0.5); }

/* Картка Arbi — внутрішні міні-картки (Similar listings, VIN check) як на скріні */
.hero .hero-card-visual-header,
body[data-theme="light"] .hero .hero-card-visual-header { color: rgba(255, 255, 255, 0.7); }
.hero .hero-car-meta,
body[data-theme="light"] .hero .hero-car-meta { color: rgba(255, 255, 255, 0.65); }
.hero .hero-car-title,
.hero .hero-car-price,
.hero .hero-stat-value,
body[data-theme="light"] .hero .hero-car-title,
body[data-theme="light"] .hero .hero-car-price,
body[data-theme="light"] .hero .hero-stat-value { color: rgba(255, 255, 255, 0.95); }
.hero .hero-car-score,
body[data-theme="light"] .hero .hero-car-score { color: rgba(255, 255, 255, 0.72); }
.hero .hero-price-row strong,
.hero .hero-price-row span,
body[data-theme="light"] .hero .hero-price-row strong,
body[data-theme="light"] .hero .hero-price-row span { color: rgba(255, 255, 255, 0.95); }
.hero .hero-stat-label,
body[data-theme="light"] .hero .hero-stat-label { color: rgba(255, 255, 255, 0.68); }
.hero .hero-car-box,
body[data-theme="light"] .hero .hero-car-box {
  background: rgba(255, 255, 255, 0) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

body[data-theme="light"] .footer {
  border-top-color: var(--border);
  background: var(--background);
}

body[data-theme="light"] .card {
  box-shadow: var(--shadow);
}

body[data-theme="light"] .category-card,
body[data-theme="light"] .listing-card {
  box-shadow: var(--shadow);
}
body[data-theme="light"] .category-card:hover,
body[data-theme="light"] .listing-card:hover {
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
}

/* Картки беруть колір/тінь з --content-card-* у body[data-theme="light"] — міняй там один раз */
body[data-theme="light"] .miniStat__k { color: #0f172a; }
body[data-theme="light"] .miniStat__v { color: #64748b; }
body[data-theme="light"] .faqBody { color: #475569; }

body[data-theme="light"] .pill {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border);
  color: var(--primary);
}

body[data-theme="light"] .input,
body[data-theme="light"] .textarea {
  background: #fff;
  border-color: var(--border);
  color: var(--primary);
}
body[data-theme="light"] .input::placeholder,
body[data-theme="light"] .textarea::placeholder { color: var(--muted); }

body[data-theme="light"] .file-upload-btn {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
}
body[data-theme="light"] .file-upload-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
body[data-theme="light"] .btn.primary.file-upload-btn,
body[data-theme="light"] .btn.primary.file-upload-btn:hover {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
}

body[data-theme="light"] .tile {
  background: var(--card-bg);
  border: 1px solid var(--border);
}

body[data-theme="light"] .section-eyebrow { color: var(--muted); }
body[data-theme="light"] .section-title { color: var(--primary); }
body[data-theme="light"] .section-desc { color: var(--muted); }

body[data-theme="light"] .btn--ghost:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: var(--primary);
}

/* Light theme: form controls — light, readable (cars + all pages) */
body[data-theme="light"] .control {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 600;
}
body[data-theme="light"] .control::placeholder { color: var(--muted); }
body[data-theme="light"] .control:focus { border-color: rgba(59, 130, 246, 0.6); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }

/* Light theme: Safety page — readable text on light boxes */
body[data-theme="light"] .flag {
  background: #f1f5f9;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
body[data-theme="light"] .flag__title { color: #0f172a; }
body[data-theme="light"] .flag__text {
  color: #475569;
  font-weight: 500;
}
body[data-theme="light"] .flag__icon {
  background: #fecaca;
  color: #991b1b;
  border-color: #fca5a5;
}
body[data-theme="light"] .tipBox__title,
body[data-theme="light"] .tipBox__text {
  color: #334155;
}
body[data-theme="light"] .warnBox { background: #fef2f2; border-color: #fecaca; }
body[data-theme="light"] .warnBox__title { color: #991b1b; }
body[data-theme="light"] .warnBox__text { color: #b91c1c; }
body[data-theme="light"] .softBox__k,
body[data-theme="light"] .softBox__v {
  color: #334155;
}
body[data-theme="light"] .checklist li {
  color: #475569;
}

body[data-theme="light"] .genTile {
  border-color: rgba(15,23,42,.12);
}
body[data-theme="light"] .genTile:hover {
  border-color: rgba(37,99,235,.45);
}

/* Light theme: fix components that use hardcoded light text */
body[data-theme="light"] .muted,
body[data-theme="light"] .metaRow,
body[data-theme="light"] .carDetails__meta { color: var(--muted); }

body[data-theme="light"] .contactKey,
body[data-theme="light"] .contactVal,
body[data-theme="light"] .contactLink,
body[data-theme="light"] .kv__k,
body[data-theme="light"] .kv__v,
body[data-theme="light"] .legalToc__link,
body[data-theme="light"] .faqItem summary,
body[data-theme="light"] .timelineTitle,
body[data-theme="light"] .flag__title { color: var(--primary); }

body[data-theme="light"] .faqBody,
body[data-theme="light"] .contactRow,
body[data-theme="light"] .timelineText,
body[data-theme="light"] .flag__text,
body[data-theme="light"] .legalBody,
body[data-theme="light"] .aboutPoint__v,
body[data-theme="light"] .softBox__v { color: var(--muted); }

body[data-theme="light"] .listing-meta,
body[data-theme="light"] .listing-footer span,
body[data-theme="light"] .category-card p { color: var(--muted); }

body[data-theme="light"] .listing-title,
body[data-theme="light"] .listing-price,
body[data-theme="light"] .category-card h3 { color: var(--primary); }

body[data-theme="light"] .formCard,
body[data-theme="light"] .authCard,
body[data-theme="light"] .authSide { background: var(--card-bg); border-color: var(--border); }
/* My account card: читабельний текст у світлій темі */
body[data-theme="light"] .authCard .accountPricingCta__title,
body[data-theme="light"] .authCard .accountPricingCta__text { color: #1e293b; }
body[data-theme="light"] .authCard .authLinks .linkBtn { color: #2563eb; }
body[data-theme="light"] .authCard .muted { color: #475569; }
/* Текст у картках логіну / акаунту / профілю — ті ж відтінки, що й .accountPricingCta та .muted */
body[data-theme="light"] .authCard .h1,
body[data-theme="light"] .authCard .h2 {
  color: #1e293b;
}
body[data-theme="light"] .authCard .label,
body[data-theme="light"] .authCard .field label,
body[data-theme="light"] .authCard .form-item label:not(.option),
body[data-theme="light"] .authCard .editProfile__fieldLabel {
  color: #475569;
}

body[data-theme="light"] .ac-drawer,
body[data-theme="light"] .ac-mobilebar { background: rgba(255, 255, 255, 0.98); border-color: var(--border); }
body[data-theme="light"] .ac-drawer__links a,
body[data-theme="light"] .ac-bar-btn span { color: var(--muted); }
body[data-theme="light"] .ac-drawer__title strong,
body[data-theme="light"] .ac-bar-btn { color: var(--primary); }

body[data-theme="light"] .label,
body[data-theme="light"] .field label { color: var(--muted); }

body[data-theme="light"] select.input option { background: #fff; color: var(--primary); }

body[data-theme="light"] .newsletter-email,
body[data-theme="light"] .newsletter-form input.newsletter-email {
  background: #fff;
  border-color: var(--border);
  color: var(--primary);
}
body[data-theme="light"] .newsletter-form input.newsletter-email::placeholder { color: var(--muted); }

*
{box-sizing:border-box}
/* min-height (not height:100%) so document grows and body padding below footer is visible. */
html{ min-height: 100%; }
body{
  margin:0;
  min-height: 100%;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--primary);
  background: var(--background);
  line-height: 1.5;
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
button,input,select{font:inherit}
.container{max-width:var(--max); margin:0 auto; padding: 0 18px}

/* Header — завжди зверху при скролі */
.topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  /* Stable layer under sticky builder UI (reduces micro-shimmer when scrolling) */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* Щоб контент не ховався під шапку + відступ від кнопок до контенту внизу */
body:has(.topbar) {
  padding-top: 76px;
}
.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  min-height: 34px;
}
.actions {
  flex-shrink: 0;
}
.brand{
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary);
}
.brand__logo{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}
.brand__text{
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.nav{
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav a{
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav a:hover{ color: var(--primary); }
.nav a.is-active{ color: var(--primary); }

.actions{ display: flex; gap: 10px; align-items: center; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: all 0.18s ease;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: var(--primary);
}
.btn:hover{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.btn.primary{
  border: none;
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 16px 35px rgba(59, 130, 246, 0.45);
}
.btn.primary:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.55);
}
.btn--primary{ border: none; color: #fff; background: var(--brand-gradient); box-shadow: 0 16px 35px rgba(59, 130, 246, 0.45); }
.btn--primary:hover{ filter: brightness(1.05); }
.btn--ghost{ background: transparent; border-color: var(--border); }
.btn--ghost:hover{ border-color: var(--primary); background: rgba(255,255,255,.06); }
/* Same look as Location/condition dropdown trigger (form control style) */
.btn--control,
.btn--control.file-upload-btn{
  min-height: 42px !important;
  height: 42px !important;
  background-color: rgba(2, 6, 23, 0.7) !important;
  background-image: none !important;
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
  color: var(--primary) !important;
  border-radius: 999px !important;
  font-weight: 500 !important;
}
.btn--control:hover,
.btn--control.file-upload-btn:hover{
  background-color: rgba(2, 6, 23, 0.85) !important;
  border-color: rgba(148, 163, 184, 0.5) !important;
}
.btn--control:focus,
.btn--control.file-upload-btn:focus{
  border-color: rgba(59, 130, 246, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}
body[data-theme="light"] .btn--control,
body[data-theme="light"] .btn--control.file-upload-btn{
  background-color: #fff !important;
  background-image: none !important;
  border-color: var(--border) !important;
  color: var(--primary) !important;
}
body[data-theme="light"] .btn--control:hover,
body[data-theme="light"] .btn--control.file-upload-btn:hover{
  background-color: #f8fafc !important;
  border-color: rgba(148, 163, 184, 0.5) !important;
}
.btn.light{
  background: rgba(255,255,255,.92);
  color: #111827;
  border: 1px solid rgba(255,255,255,.18);
}
.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.75rem;
}
.dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.28);
}

/* Footer rhythm: footer-rhythm.css — flex + static footer (no fixed overlap). */
.page{ padding: 8px 0 1rem; }

/* Усі картки на всіх сторінках — один колір/тінь з --content-card-* */
.card{
  border-radius: var(--content-card-radius);
  background: var(--content-card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--content-card-shadow);
}
.card--filters{
  overflow: visible;
}

/* Find cars — layout/поведінка як раніше; палітра як у Post Car .formCard (напівпрозора картка + темніші поля) */
.card.card--cars-search{
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  border-radius: var(--r24);
  /* Поля можуть бути злегка напівпрозорі; список випадайки — суцільний, щоб не просвічували рядки під ним */
  --cars-search-field-bg: rgba(2, 6, 23, 0.65);
  --cars-search-dropdown-bg: rgba(2, 6, 23, 0.98);
  padding: 18px 20px;
  overflow: visible;
}
body[data-theme="light"] .card.card--cars-search{
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--content-card-shadow);
  --cars-search-field-bg: var(--content-card-inner-bg);
  --cars-search-dropdown-bg: #ffffff;
}

/* Post Car form: same dropdown tokens as Find cars (.card--cars-search) */
.post-car-dropdowns{
  --cars-search-field-bg: rgba(2, 6, 23, 0.65);
  --cars-search-dropdown-bg: rgba(2, 6, 23, 0.98);
}
body[data-theme="light"] .post-car-dropdowns{
  --cars-search-field-bg: var(--content-card-inner-bg);
  --cars-search-dropdown-bg: #ffffff;
}

/* ----- Post Car — split-screen listing builder ----- */
body[data-page="post-a-car"]{
  padding-bottom: 0;
  /* Live-measured fixed topbar bottom for sticky builder/preview (app.js syncPostListingStickyTopInset). */
  --arbicar-topbar-sticky-inset: 76px;
  --post-car-nav-height: 0px;
  --post-car-page-bg: #070b16;
  --post-car-page-bg-rgb: 7, 11, 22;
  --post-car-form-bg: var(--post-car-page-bg);
  --post-car-sticky-cover-bg: var(--post-car-page-bg);
  --post-car-nav-wrap-margin-bottom: 18px;
  --post-car-nav-cover-fade-bottom: 16px;
  --post-car-preview-sticky-below-topbar: 10px;
  scroll-padding-top: calc(var(--arbicar-topbar-sticky-inset) + var(--post-car-nav-height) + 16px);
  /* Stop scroll anchoring from nudging the viewport after programmatic chip jumps (syncs with app.js). */
  overflow-anchor: none;
}
/*
 * Post Car: gradient primary buttons sit beside chips / over preview — the global blue 35px spread reads
 * as a second “neon” layer on top of active chips and disabled Publish. Use neutral depth only here.
 */
body[data-page="post-a-car"] .btn.primary,
body[data-page="post-a-car"] .btn.btn-primary{
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
body[data-page="post-a-car"] .btn.primary:hover,
body[data-page="post-a-car"] .btn.btn-primary:hover{
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.36);
}
body[data-theme="light"][data-page="post-a-car"] .btn.primary,
body[data-theme="light"][data-page="post-a-car"] .btn.btn-primary{
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}
body[data-theme="light"][data-page="post-a-car"] .btn.primary:hover,
body[data-theme="light"][data-page="post-a-car"] .btn.btn-primary:hover{
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16);
}
body[data-page="post-a-car"] .btn.primary:disabled,
body[data-page="post-a-car"] .btn.btn-primary:disabled{
  box-shadow: none;
}
body[data-theme="light"][data-page="post-a-car"] .btn.primary:disabled,
body[data-theme="light"][data-page="post-a-car"] .btn.btn-primary:disabled{
  box-shadow: none;
}
/* Solid topbar on Post Car: heavy backdrop blur + sticky columns repaint together and “shimmer” on scroll */
body[data-page="post-a-car"] .topbar{
  z-index: 1100;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #0f172a;
  border-bottom-color: rgba(30, 41, 59, 0.95);
}
body[data-theme="light"] body[data-page="post-a-car"] .topbar{
  background: #ffffff;
  border-bottom-color: var(--border);
}
@media (max-width: 980px){
  body[data-page="post-a-car"]{
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}
.listingBuilder{
  position: relative;
  max-width: 100%;
  min-width: 0;
  /* Builder nav + preview column share the same sticky inset under fixed topbar (76px). Sync: app.js getListingFormStickyBelowTopbarPx */
  --listing-form-sticky-below-topbar: 0px;
}
/* Post Car vertical rhythm: see override after `.section--tight` (later rule wins). */
/* Builder header — flat on page background (no card chrome; mockup “non-card” form shell) */
.listingBuilder__nav{
  margin: 0;
  padding: 6px 0 14px;
  position: static;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* Full-width shell sticks; inner .listingBuilder__nav stays block-level 100% (fixes narrow card when stuck). */
.listingBuilder__navWrap{
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  align-self: stretch;
}
.listingBuilder__navWrap .listingBuilder__nav{
  width: 100%;
  max-width: 100%;
}
/* Post Car — unified sticky navigation panel (title + progress + tabs) */
.listingBuilder__navStuckSentinel{
  display: block;
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
  visibility: hidden;
}
body[data-page="post-a-car"] .listingBuilder__navWrap.post-car-sticky-nav{
  position: sticky;
  top: var(--arbicar-topbar-sticky-inset, 76px);
  z-index: 1000;
  isolation: isolate;
  overflow: visible;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  padding: 8px 0 12px;
  background: transparent !important;
  background-image: none !important;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-page="post-a-car"] .listingBuilder__navCover{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  bottom: calc(
    -1 * var(--post-car-nav-wrap-margin-bottom, 18px) - var(--post-car-nav-cover-fade-bottom, 16px)
  );
  z-index: 0;
  pointer-events: none;
  opacity: var(--post-car-nav-cover-opacity, 0);
  background-color: var(--post-car-sticky-cover-bg, var(--post-car-page-bg, #070b16));
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(100% - var(--post-car-nav-cover-fade-bottom, 16px)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(100% - var(--post-car-nav-cover-fade-bottom, 16px)),
    transparent 100%
  );
  transition: opacity 50ms linear;
  will-change: opacity;
  transform: translateZ(0);
}
body[data-page="post-a-car"] .listingBuilder__navWrap.post-car-sticky-nav.is-stuck .listingBuilder__navCover{
  bottom: calc(-1 * var(--post-car-nav-wrap-margin-bottom, 18px));
  -webkit-mask-image: none;
  mask-image: none;
}
@media (max-width: 980px){
  body[data-page="post-a-car"]{
    --post-car-nav-cover-fade-bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce){
  body[data-page="post-a-car"] .listingBuilder__navCover{
    transition: none;
  }
}
body[data-page="post-a-car"] .listingBuilder__navWrap.post-car-sticky-nav .listingBuilder__nav{
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 1;
}
@media (max-width: 980px){
  body[data-page="post-a-car"] .listingBuilder__navWrap.post-car-sticky-nav{
    padding: 6px 0 8px;
  }
  .listingBuilder__formCol > .listingBuilder__navStuckSentinel{
    grid-area: builderNav;
    height: 0;
  }
  body[data-page="post-a-car"] .listingBuilder__pillBar{
    margin-top: 10px;
  }
}
body[data-theme="light"] .listingBuilder__nav{
  background: transparent;
  border: none;
  box-shadow: none;
}
.listingBuilder__navRow{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  min-width: 0;
  width: 100%;
}
.listingBuilder__title{
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: rgba(248, 250, 252, 0.98);
}
body[data-theme="light"] .listingBuilder__title{
  color: var(--primary);
}
.listingBuilder__navProgress{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: 1 1 140px;
  max-width: 220px;
  min-width: 120px;
}
.listingBuilder__progressText{
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(165, 180, 252, 0.9);
}
body[data-theme="light"] .listingBuilder__progressText{
  color: #4f46e5;
}
.listingBuilder__progressTrack{
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  border: none;
}
body[data-theme="light"] .listingBuilder__progressTrack{
  background: rgba(15, 23, 42, 0.1);
}
.listingBuilder__progressFill{
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--brand-gradient);
  box-shadow: none;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Pill step bar — chips only; light tray so it’s not a second “card” on top of the header */
.listingBuilder__pillBar{
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 4px;
  margin-top: 14px;
  min-width: 0;
  padding: 4px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
body[data-theme="light"] .listingBuilder__pillBar{
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: none;
}
.listingBuilder__pillStep{
  flex: 1 1 0;
  min-width: 72px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.listingBuilder__pillStep::-moz-focus-inner{
  border: 0;
}
.listingBuilder__pillStep:hover{
  color: rgba(248, 250, 252, 0.95);
  background: rgba(255, 255, 255, 0.05);
}
/* Active = magenta / indigo glow (mockup screen 2) */
.listingBuilder__pillStep.is-active{
  color: #fff;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.35), rgba(59, 130, 246, 0.28));
  border-color: rgba(236, 72, 153, 0.55);
  box-shadow:
    0 0 0 1px rgba(236, 72, 153, 0.35),
    0 0 18px rgba(236, 72, 153, 0.35),
    0 0 28px rgba(59, 130, 246, 0.22);
}
.listingBuilder__pillStep.is-active.is-progress:not(.is-complete){
  border-color: rgba(251, 191, 36, 0.65);
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.45),
    0 0 16px rgba(251, 191, 36, 0.25);
}
.listingBuilder__pillStep.is-active.is-complete{
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow:
    0 0 0 1px rgba(52, 211, 153, 0.4),
    0 0 18px rgba(52, 211, 153, 0.22);
}
.listingBuilder__pillStep.is-complete:not(.is-active){
  color: rgba(167, 243, 208, 0.92);
}
.listingBuilder__pillStep.is-progress:not(.is-complete):not(.is-active){
  color: rgba(253, 224, 71, 0.88);
}
.listingBuilder__pillStep.is-missing:not(.is-active):not(.is-complete):not(.is-progress){
  opacity: 0.78;
}
body[data-theme="light"] .listingBuilder__pillStep{
  color: rgba(51, 65, 85, 0.88);
}
body[data-theme="light"] .listingBuilder__pillStep:hover{
  background: rgba(255, 255, 255, 0.75);
  color: var(--primary);
}
body[data-theme="light"] .listingBuilder__pillStep.is-active{
  color: #fff;
  background: linear-gradient(135deg, #db2777, #4f46e5);
  border-color: rgba(219, 39, 119, 0.5);
  box-shadow:
    0 0 0 1px rgba(79, 70, 229, 0.35),
    0 6px 20px rgba(219, 39, 119, 0.25);
}
body[data-theme="light"] .listingBuilder__pillStep.is-active.is-progress:not(.is-complete){
  background: linear-gradient(135deg, #d97706, #ea580c);
  border-color: rgba(234, 88, 12, 0.45);
  box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.35);
}
body[data-theme="light"] .listingBuilder__pillStep.is-active.is-complete{
  background: linear-gradient(135deg, #059669, #0d9488);
  border-color: rgba(16, 185, 129, 0.45);
}
.listingBuilder__pillStep:focus{
  outline: none;
}
.listingBuilder__pillStep:focus-visible{
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.9);
}
.listingBuilder__pillStep.is-active:focus-visible{
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.85),
    0 0 18px rgba(236, 72, 153, 0.45);
}
.listingBuilder__layout{
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-rows: auto;
  grid-template-areas:
    "builderLeft preview";
  column-gap: 32px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  /* Avoid overflow: clip here — it can make sticky nav resolve to a narrower width than the form column */
  overflow-x: visible;
  margin-top: 0;
}
/* Left column: one wrapper (.listingBuilder__formCol) holds sticky nav + form so widths always match */
.listingBuilder__leftCol{
  grid-area: builderLeft;
  min-width: 0;
  align-self: start;
  width: 100%;
}
.listingBuilder__formCol{
  min-width: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
/* Air under header row (no outer card — tighter to form) */
.listingBuilder__formCol > .listingBuilder__navWrap{
  margin-bottom: var(--post-car-nav-wrap-margin-bottom, 18px);
}
.listingBuilder__form{
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  width: 100%;
}
.listingBuilderSection{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  border-radius: 0;
  padding: 22px 18px 26px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: none;
}
body[data-theme="light"] .listingBuilderSection{
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none;
}
.listingBuilder__form .listingBuilderSection:last-of-type{
  border-bottom: none;
  padding-bottom: 8px;
}
/* No “active section card” glow — keeps page background continuous while scrolling */
.listingBuilderSection__head{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
body[data-theme="light"] .listingBuilderSection__head{
  border-bottom-color: rgba(15, 23, 42, 0.08);
}
.listingBuilderSection__icon{
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.22);
  color: rgba(147, 197, 253, 0.92);
}
.listingBuilderSection__titles{
  flex: 1 1 auto;
  min-width: 0;
}
.listingBuilderSection__title{
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.listingBuilderSection__hint{
  margin: 6px 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}
body[data-theme="light"] .listingBuilderSection__hint{
  color: var(--muted);
}
.listingBuilderSection__status{
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: rgba(248, 250, 252, 0.85);
  background: rgba(0, 0, 0, 0.2);
}
.listingBuilderSection__status.is-complete{
  border-color: rgba(34, 197, 94, 0.45);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
}
.listingBuilderSection__status.is-progress{
  border-color: rgba(251, 191, 36, 0.45);
  color: #fef08a;
  background: rgba(251, 191, 36, 0.1);
}
.listingBuilderSection__status.is-missing{
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
  background: rgba(248, 113, 113, 0.08);
}
.listingBuilderDropzone{
  position: relative;
  min-height: 120px;
  border-radius: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.listingBuilderDropzone.is-dragover{
  border-color: rgba(59, 130, 246, 0.75);
  background: rgba(59, 130, 246, 0.12);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.25);
}
.listingBuilderDropzone__input{
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  font-size: 0;
}
.listingBuilderDropzone__inner{
  position: relative;
  z-index: 1;
  pointer-events: none;
  padding: 28px 16px 24px;
  text-align: center;
}
.listingBuilderDropzone__inner strong{
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}
.listingBuilderDropzone__hint{
  margin: 8px 0 0;
  font-size: 0.8125rem;
}
.listingBuilderPhotoMeta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.listingBuilderCoverNote{
  margin: 10px 0 4px;
  font-size: 0.8125rem;
}
.listingBuilderVinRow{
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}
.listingBuilderVinRow .input{
  flex: 1 1 220px;
  min-width: 0;
}
.listingBuilderVinRow .btn{
  flex: 0 0 auto;
  align-self: stretch;
}
[data-field-wrap="vin"] #vinDecodeStatus{
  margin-top: 8px;
  min-height: 1.25em;
}
.listingBuilderDescTools{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.listingBuilderDescTools label{
  margin: 0;
  font-weight: 800;
  font-size: 0.875rem;
}
.listingBuilderDescMeta{
  margin-top: 8px;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.listingBuilderClearWrap{
  margin: 14px 0 0;
}
.listingBuilder__draftMsg{
  margin-top: 14px;
  font-size: 0.875rem;
}
.listingBuilder__actionMsg{
  margin: 0 0 10px;
  padding: 10px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 12px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
}
.listingBuilder__actionMsg.is-error{
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
}
.listingBuilder__actionMsg.is-saving{
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
}
body[data-theme="light"] .listingBuilder__actionMsg{
  color: #047857;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
}
body[data-theme="light"] .listingBuilder__actionMsg.is-error{
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
}
body[data-theme="light"] .listingBuilder__actionMsg.is-saving{
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.25);
}
.listingBuilder__previewActionsInner .btn.is-saving{
  opacity: 0.72;
  pointer-events: none;
}
.listingBuilder__previewCol{
  grid-area: preview;
  position: sticky;
  top: calc(var(--arbicar-topbar-sticky-inset, 76px) + var(--listing-form-sticky-below-topbar));
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  z-index: 40;
}
@media (min-width: 981px){
  .listingBuilder__previewCol{
    isolation: isolate;
  }
}
.listingBuilderPreview{
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(2, 6, 23, 0.42));
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  border-radius: var(--r24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body[data-theme="light"] .listingBuilderPreview{
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}
.listingBuilderPreview.is-highlight{
  animation: listingPreviewPulse 1.4s ease;
}
@keyframes listingPreviewPulse{
  0%{ box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.55); }
  70%{ box-shadow: 0 0 0 14px rgba(59, 130, 246, 0); }
  100%{ box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}
.listingBuilderPreview__label{
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(129, 140, 248, 0.95);
  margin-bottom: 12px;
}
.listingBuilderPreview__card{
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 23, 0.55);
}
body[data-theme="light"] .listingBuilderPreview__card{
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
}
.listingBuilderPreview__media{
  display: block;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.35);
}
.listingBuilderPreview__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listingBuilderPreview__body{
  padding: 16px 16px 18px;
}
.listingBuilderPreview__top{
  margin-bottom: 6px;
}
.listingBuilderPreview__title{
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgba(248, 250, 252, 0.96);
}
body[data-theme="light"] .listingBuilderPreview__title{
  color: var(--primary);
}
.listingBuilderPreview__price{
  font-size: 1.5rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  margin: 8px 0 6px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.listingBuilderPreview__meta{
  font-size: 0.875rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 4px;
}
body[data-theme="light"] .listingBuilderPreview__meta{
  color: var(--muted);
}
.listingBuilderPreview__specs{
  margin-top: 12px;
}
.listingBuilderPreview__chips{
  margin-top: 12px;
}
.btn--sm{
  padding: 6px 12px;
  font-size: 0.8125rem;
  border-radius: 999px;
}
/* Preview column actions: in-flow on desktop, fixed bottom bar on mobile only */
.listingBuilder__previewActions{
  margin-top: 14px;
  padding: 14px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
body[data-theme="light"] .listingBuilder__previewActions{
  border-top-color: rgba(15, 23, 42, 0.08);
}
.listingBuilder__previewActionsInner{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: stretch;
  align-items: center;
  gap: 10px;
}
.listingBuilder__previewActionsInner .btn{
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}
.listingBuilder__previewActionsInner .btn.primary{
  min-width: 0;
  flex: 1.15 1 140px;
}
@media (min-width: 981px){
  .listingBuilder__previewActions{
    position: static;
    margin-top: 16px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    box-shadow: none;
  }
  body[data-theme="light"] .listingBuilder__previewActions{
    border-top-color: rgba(15, 23, 42, 0.1);
  }
}
@media (max-width: 980px){
  /* Flatten wrappers so mobile grid keeps nav → preview → form order */
  .listingBuilder__leftCol{
    display: contents;
  }
  .listingBuilder__formCol{
    display: contents;
  }
  .listingBuilder__formCol > .listingBuilder__navWrap{
    grid-area: builderNav;
  }
  .listingBuilder__formCol > .listingBuilder__form,
  .listingBuilder__formCol > .listingBuilder__draftMsg{
    grid-area: builderForm;
  }
  .listingBuilder__layout{
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas:
      "builderNav"
      "preview"
      "builderForm";
    column-gap: 0;
    row-gap: 20px;
    margin-top: 18px;
  }
  .listingBuilder__previewCol{
    position: relative;
    top: auto;
  }
  .listingBuilder__previewActions{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    margin-top: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  }
  body[data-theme="light"] .listingBuilder__previewActions{
    background: rgba(255, 255, 255, 0.96);
    border-top-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.1);
  }
  .listingBuilder__previewActionsInner{
    max-width: var(--max);
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
  }
  .listingBuilder__previewActionsInner .btn{
    width: 100%;
  }
}
.postEngineRow{
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.postEngineRow__ico{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: rgba(255, 255, 255, 0.65);
}
body[data-theme="light"] .postEngineRow__ico{
  background: rgba(15, 23, 42, 0.05);
  color: rgba(15, 23, 42, 0.55);
}
.postEngineRow__select{
  flex: 1 1 auto;
  min-width: 0;
}
.fieldHint{
  margin: 6px 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.field__error{
  margin: 6px 0 0;
  font-size: 0.8125rem;
  font-weight: 650;
  color: #fca5a5;
}
body[data-theme="light"] .field__error{
  color: #b91c1c;
}
.field__trimOk{
  margin: 6px 0 0;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #4ade80;
  letter-spacing: 0.02em;
}
body[data-theme="light"] .field__trimOk{
  color: #15803d;
}
.field.field--invalid .input,
.field.field--invalid .textarea,
.post-car-dropdowns .field.field--invalid .custom-select .custom-select__trigger{
  border-color: rgba(248, 113, 113, 0.85) !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.22) !important;
}
.postPhotoStrip{
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.postPhotoThumb{
  flex: 0 0 92px;
  width: 92px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}
.postPhotoThumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.postQuickTags{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 8px;
}
.postQuickTags__label{
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
}
.postQuickTags__tag{
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 750;
  cursor: pointer;
}
.postQuickTags__tag:hover{
  background: rgba(255, 255, 255, 0.1);
}
body[data-theme="light"] .postQuickTags__tag{
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
}
.checkboxLabel{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 10px;
  cursor: pointer;
}
.checkboxLabel input{
  margin-top: 3px;
  flex-shrink: 0;
}
body[data-theme="light"] .checkboxLabel{
  color: var(--primary);
}
.postSellerPrivacy{
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.linkAsBtn{
  background: none;
  border: 0;
  padding: 0;
  color: rgba(96, 165, 250, 0.95);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.linkAsBtn:hover{
  color: #93c5fd;
}
.listingBuilder__previewActionsInner .btn.primary:disabled{
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
}
.postPhotoThumb--cover{
  outline: 2px solid rgba(59, 130, 246, 0.85);
  outline-offset: 2px;
}
.specRow--postPreview .specChip--ico{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.specChip__svg{
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.78;
}
.specChip__txt{
  font-weight: 800;
  font-size: 11px;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pvChips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.pvChip{
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}
body[data-theme="light"] .pvChip{
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.05);
  color: var(--primary);
}
.filters--cars-search{
  margin: 0;
}
.filters-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 22px;
  align-items: stretch;
}
.filters-grid .field{
  min-width: 0;
}
/* Model|Generation: зовнішній блок — position для панелі; внутрішній ряд — лише 2 поля (без панелі в grid) */
.filters-grid .filters-grid__model-gen{
  grid-column: span 2;
  display: block;
  position: relative;
  min-width: 0;
  overflow: visible;
}
.filters-grid__model-gen-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 22px;
  align-items: stretch;
}
@media (max-width: 980px){
  .filters-grid .filters-grid__model-gen{
    grid-column: span 1;
  }
}
@media (max-width: 620px){
  .filters-grid .filters-grid__model-gen{
    grid-column: 1 / -1;
  }
  .filters-grid__model-gen-row{
    grid-template-columns: 1fr;
  }
}
.field-label{
  display: block;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 900;
  margin: 0 0 6px;
}
body[data-theme="light"] .field-label{
  color: var(--muted);
}
.year-range{
  display: flex;
  align-items: center;
  gap: 8px;
}
.year-range .control{
  flex: 1;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}
.price-range--with-unit .price-range__slot{
  position: relative;
  flex: 1;
  min-width: 0;
}
.price-range--with-unit .price-range__slot .control{
  width: 100%;
  padding-right: 28px;
}
.price-range__unit{
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
}
body[data-theme="light"] .price-range__unit{
  color: rgba(15, 23, 42, 0.35);
}
/* Unify text inputs + triggers; smooth hover / focus ring (Drom-like outline) */
.card--cars-search .field .control,
.card--cars-search .custom-select .custom-select__trigger,
.post-car-dropdowns .custom-select .custom-select__trigger{
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.card--cars-search .field .control{
  background-color: var(--cars-search-field-bg);
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 999px;
  font-weight: 500;
  color: var(--text);
}
.card--cars-search .field .control:hover{
  border-color: rgba(186, 201, 220, 0.62);
}
.card--cars-search .field .control:focus{
  outline: none;
  border-color: rgba(59, 130, 246, 0.72);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}
/* Post Car: combobox triggers match Find cars pill fields */
.post-car-dropdowns .custom-select .custom-select__trigger{
  background-color: var(--cars-search-field-bg);
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 999px;
  font-weight: 500;
  color: var(--text);
}
.post-car-dropdowns .custom-select .custom-select__trigger::placeholder{
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
}
body[data-theme="light"] .post-car-dropdowns .custom-select .custom-select__trigger{
  background-color: var(--cars-search-field-bg);
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--primary);
}
body[data-theme="light"] .post-car-dropdowns .custom-select .custom-select__trigger::placeholder{
  color: rgba(15, 23, 42, 0.45);
}
.card--cars-search .custom-select .custom-select__trigger:hover,
.post-car-dropdowns .custom-select .custom-select__trigger:hover{
  border-color: rgba(186, 201, 220, 0.62);
}
.card--cars-search .custom-select .custom-select__trigger:focus,
.post-car-dropdowns .custom-select .custom-select__trigger:focus{
  outline: none;
  border-color: rgba(59, 130, 246, 0.72);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}
.card--cars-search .field .control::placeholder{
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
}
body[data-theme="light"] .card--cars-search .field .control::placeholder{
  color: rgba(15, 23, 42, 0.45);
}
body[data-theme="light"] .card--cars-search .field .control{
  background-color: var(--cars-search-field-bg);
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--primary);
}
body[data-theme="light"] .card--cars-search .field .control:hover{
  border-color: rgba(100, 116, 139, 0.5);
}
body[data-theme="light"] .card--cars-search .custom-select .custom-select__trigger:hover,
body[data-theme="light"] .post-car-dropdowns .custom-select .custom-select__trigger:hover{
  border-color: rgba(100, 116, 139, 0.5);
}
body[data-theme="light"] .card--cars-search .field .control:focus,
body[data-theme="light"] .card--cars-search .custom-select .custom-select__trigger:focus,
body[data-theme="light"] .post-car-dropdowns .custom-select .custom-select__trigger:focus{
  border-color: rgba(59, 130, 246, 0.65);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.card--cars-search button.custom-select__trigger.custom-select__trigger--muted,
.post-car-dropdowns .custom-select__trigger.custom-select__trigger--muted{
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
}
body[data-theme="light"] .card--cars-search button.custom-select__trigger.custom-select__trigger--muted,
body[data-theme="light"] .post-car-dropdowns .custom-select__trigger.custom-select__trigger--muted{
  color: rgba(15, 23, 42, 0.45);
}
/* Disabled Make/Model/Generation: без «забороненого» курсора (лише приглушений вигляд). */
.card--cars-search .custom-select--disabled .custom-select__input.control,
.card--cars-search .custom-select--disabled .custom-select__input.control:disabled,
.post-car-dropdowns .custom-select--disabled .custom-select__input.control,
.post-car-dropdowns .custom-select--disabled .custom-select__input.control:disabled{
  opacity: 0.5;
  cursor: default !important;
}
.card--cars-search [data-generation-picker].generation-picker--disabled .generation-picker__trigger,
.card--cars-search [data-generation-picker].generation-picker--disabled .generation-picker__trigger:disabled{
  opacity: 0.5;
  cursor: default !important;
}

/* Theme toggle: SVG icon (avoid OS tooltip on emoji) */
.theme-toggle .theme-toggle__icon{
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

/* Find cars + Post car: випадайки в тон полів; список з відступами й «плитками» */
.card--cars-search .custom-select,
.post-car-dropdowns .custom-select{
  position: relative;
  z-index: 1;
}
.card--cars-search .custom-select.is-open,
.post-car-dropdowns .custom-select.is-open{
  z-index: 50;
}
body[data-page="post-a-car"] .post-car-dropdowns .custom-select.is-open{
  z-index: 1300;
}
.card--cars-search .custom-select__dropdown,
.post-car-dropdowns .custom-select__dropdown{
  background: var(--cars-search-dropdown-bg);
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
}
.card--cars-search .custom-select.is-open .custom-select__dropdown,
.post-car-dropdowns .custom-select.is-open .custom-select__dropdown{
  max-height: 392px;
}
.card--cars-search .custom-select--filterable.is-open .custom-select__dropdown,
.post-car-dropdowns .custom-select--filterable.is-open .custom-select__dropdown{
  max-height: 412px;
}
.card--cars-search .custom-select__list,
.post-car-dropdowns .custom-select__list{
  padding: 8px 6px;
  max-height: 352px;
}
.card--cars-search .custom-select--filterable .custom-select__list,
.post-car-dropdowns .custom-select--filterable .custom-select__list{
  max-height: 372px;
}
.card--cars-search .custom-select__option,
.post-car-dropdowns .custom-select__option{
  position: relative;
  padding: 9px 14px 9px 28px;
  margin: 2px 4px;
  border-radius: 12px;
  border-bottom: none;
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
/* Галочка в лівому відступі; усі рядки починаються там само, де «Any» після ✓ */
.card--cars-search .custom-select__option.is-selected::before,
.post-car-dropdowns .custom-select__option.is-selected::before{
  content: "✓";
  opacity: 0.9;
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  line-height: 1;
}
.card--cars-search .custom-select__option:hover,
.post-car-dropdowns .custom-select__option:hover{
  background: rgba(255, 255, 255, 0.08);
}
.card--cars-search .custom-select__option.is-selected,
.post-car-dropdowns .custom-select__option.is-selected{
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.96);
}
.card--cars-search .custom-select__group-label,
.post-car-dropdowns .custom-select__group-label{
  padding: 6px 14px 4px 28px;
  margin: 4px 4px 0;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: rgba(148, 163, 184, 0.65);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
}
body[data-theme="light"] .card--cars-search .custom-select__group-label,
body[data-theme="light"] .post-car-dropdowns .custom-select__group-label{
  color: rgba(100, 116, 139, 0.75);
}
body[data-theme="light"] .card--cars-search .custom-select__dropdown,
body[data-theme="light"] .post-car-dropdowns .custom-select__dropdown{
  background: var(--cars-search-dropdown-bg);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}
body[data-theme="light"] .card--cars-search .custom-select__option,
body[data-theme="light"] .post-car-dropdowns .custom-select__option{
  border-bottom: none;
}
body[data-theme="light"] .card--cars-search .custom-select__option:hover,
body[data-theme="light"] .post-car-dropdowns .custom-select__option:hover{
  background: rgba(15, 23, 42, 0.06);
}
body[data-theme="light"] .card--cars-search .custom-select__option.is-selected,
body[data-theme="light"] .post-car-dropdowns .custom-select__option.is-selected{
  background: rgba(59, 130, 246, 0.14);
  color: var(--primary);
}

.card--cars-search .cars-search-submit{
  margin: 0;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-self: center;
}
.card--cars-search .cars-search-submit .searchBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
}
@media (max-width: 980px){
  .filters-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card--cars-search .cars-search-submit{
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}
@media (max-width: 620px){
  .card.card--cars-search{
    padding: 16px;
  }
  .filters-grid{
    grid-template-columns: 1fr;
  }
  .card--cars-search .cars-search-submit .searchBtn{
    width: 100%;
  }
}

.section-title{
  margin: 26px 0 10px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.section-sub{
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.6;
  font-size: 0.9rem;
}

.hero{
  position:relative;
  border-radius: 28px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  margin-top: 18px;
}
.hero__bg{
  position:absolute; inset:0;
  background: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=2200&q=80") center/cover no-repeat;
  filter: blur(14px) saturate(.75);
  transform: scale(1.08);
}
.hero__overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(5,7,22,.86) 0%, rgba(5,7,22,.70) 44%, rgba(5,7,22,.78) 100%),
    radial-gradient(700px 380px at 22% 30%, rgba(59, 130, 246, .2), transparent 60%),
    radial-gradient(700px 380px at 75% 25%, rgba(255,79,216,.14), transparent 60%);
}
.hero__content{
  position:relative;
  display:grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  padding: 22px;
  align-items:stretch;
}
@media (max-width: 980px){
  .hero__content{grid-template-columns: 1fr}
}

.h1{
  margin: 6px 0 8px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary);
}
@media (max-width: 620px){ .h1{ font-size: 1.75rem; } }
.h1 .accent{
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead{
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.6;
  font-size: 0.98rem;
  max-width: 560px;
}
.h2{ font-size: 1.25rem; font-weight: 700; margin: 0 0 8px; color: var(--primary); }
.h3{ font-size: 1rem; font-weight: 600; margin: 0 0 8px; color: var(--primary); }
.text{ color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.metaRow{
  display:flex; gap:16px; flex-wrap:wrap;
  margin: 14px 0 12px;
  color: rgba(255,255,255,.62);
  font-weight: 800;
  font-size: 12px;
}
.metaRow span{display:flex; align-items:center; gap:8px}
.metaRow i{
  width:6px;height:6px;border-radius:999px;background: rgba(255,255,255,.22);
  display:inline-block;
}

.searchCard{
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--r24);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}
.searchTop{
  display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap;
  margin-bottom: 10px;
}
.searchTop strong{font-size: 13px; font-weight: 950}
.searchTop span{color: var(--muted); font-weight: 750; font-size: 12px}

.filters{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.filters__row{
  display: grid;
  gap: 14px 18px;
  align-items: end;
}
.filters__row .field{
  min-width: 0;
}
.filters-actions{
  margin-top: 4px;
}
.filters-actions .searchBtn{
  min-width: 140px;
}
.price-range{
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-range .control{
  flex: 1;
  min-width: 0;
  color: var(--primary);
}
.price-range .control::placeholder{
  color: var(--primary);
}
.price-range .control{
  -moz-appearance: textfield;
}
.price-range .control::-webkit-outer-spin-button,
.price-range .control::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
/* Приховати стрілки в number полях (Post Car: Price, Mileage) */
.input.no-spinner,
.no-spinner{
  -moz-appearance: textfield;
}
.input.no-spinner::-webkit-outer-spin-button,
.input.no-spinner::-webkit-inner-spin-button,
.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
.price-range__sep{
  flex-shrink: 0;
  color: rgba(255,255,255,.45);
  font-weight: 700;
  font-size: 13px;
}
body[data-theme="light"] .price-range .control,
body[data-theme="light"] .price-range .control::placeholder{
  color: var(--primary);
}
body[data-theme="light"] .price-range__sep{
  color: var(--muted);
}

/* Custom select (City) — плавне відкриття списку, як Generation ( .field input ) */
.custom-select{
  position: relative;
  width: 100%;
}
.custom-select.is-open{
  z-index: 100;
}
.custom-select__trigger{
  width: 100%;
  height: 42px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background-color: rgba(2, 6, 23, 0.7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  color: var(--text);
  padding: 0 40px 0 16px;
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  text-align: left;
  cursor: pointer;
  appearance: none;
  display: flex;
  align-items: center;
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.custom-select__trigger:hover{
  border-color: rgba(148, 163, 184, 0.5);
}
.custom-select__trigger:focus{
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.custom-select.is-open .custom-select__trigger{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 15l-6-6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.custom-select__dropdown{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 100;
  background: rgba(2, 6, 23, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  overflow: hidden;
  overscroll-behavior: contain;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height .22s ease, opacity .18s ease, visibility .18s ease;
  pointer-events: none;
}
.custom-select.is-open .custom-select__dropdown{
  max-height: 304px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Make/Model: type in main field + scrollable list (Drom-style combobox) */
.custom-select--filterable.is-open .custom-select__dropdown{
  max-height: 320px;
}
.custom-select--filterable .custom-select__list{
  max-height: 304px;
}
/* Combobox: same chrome as trigger button, but text cursor */
.custom-select__trigger.custom-select__input{
  cursor: text;
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  font: inherit;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.25;
  padding-top: 0;
  padding-bottom: 0;
}
.custom-select__trigger.custom-select__input::placeholder{
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}
body[data-theme="light"] .custom-select__trigger.custom-select__input::placeholder{
  color: rgba(15, 23, 42, 0.45);
}
/* Список з прокруткою — колесо / тач працює; смуга прокрутки прихована */
.custom-select__list{
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.custom-select__list::-webkit-scrollbar{
  width: 0;
  height: 0;
}
.custom-select__option{
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  transition: background .1s ease;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.custom-select__group-label{
  padding: 6px 14px 4px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: rgba(148, 163, 184, 0.62);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  border-bottom: none;
}
body[data-theme="light"] .custom-select__group-label{
  color: rgba(100, 116, 139, 0.78);
}
.custom-select__option:last-child{
  border-bottom: none;
}
.custom-select__option:hover{
  background: rgba(255,255,255,.06);
}
.custom-select__option.is-selected{
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.95);
}
.custom-select__option.is-selected::before{
  content: "✓ ";
  opacity: .9;
}

body[data-theme="light"] .custom-select__trigger{
  background: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  border-color: rgba(148, 163, 184, .35);
  color: var(--primary);
}
body[data-theme="light"] .custom-select.is-open .custom-select__trigger{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 15l-6-6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
body[data-theme="light"] .custom-select__dropdown{
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 12px 40px rgba(15, 23, 42, .12);
}
body[data-theme="light"] .custom-select__option{
  color: var(--primary);
  border-bottom-color: var(--border);
}
body[data-theme="light"] .custom-select__option:hover{
  background: rgba(15, 23, 42, .06);
}
body[data-theme="light"] .custom-select__option.is-selected{
  background: rgba(59, 130, 246, .12);
  color: var(--primary);
}

/* Generation — тригер у колонці; панель у .filters-grid__model-gen на ширину Model+Generation */
.field--generation .custom-select--generation-picker{
  position: relative;
  width: 100%;
}
.field--generation .custom-select--generation-picker .custom-select__trigger.generation-picker__trigger{
  width: 100%;
  text-align: left;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.filters-grid__model-gen.is-open .field--generation .custom-select--generation-picker .custom-select__trigger{
  border-color: rgba(59, 130, 246, 0.72);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}
.filters-grid__model-gen .generation-picker__panel{
  /* JS ставить position:fixed + left/top/width від .filters-grid__model-gen — лишається в viewport */
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 200;
  width: 100%;
  max-width: min(100%, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  max-height: min(82vh, 620px);
  overflow: auto;
  /* Ховаємо візуальний скролбар, залишаючи прокрутку жестами/коліщатком */
  scrollbar-width: none; /* Firefox */
}
.filters-grid__model-gen .generation-picker__panel::-webkit-scrollbar{
  width: 0;
  height: 0;
  overscroll-behavior: contain;
  container-type: inline-size;
  container-name: genpicker;
}
body[data-theme="light"] .generation-picker__panel{
  background: #fff;
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}
.generation-picker__loading,
.generation-picker__hint{
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.generation-picker__grid.genGrid{
  /* Використовуємо базову сітку genGrid (2 колонки на десктопі, 1 на мобайлі) */
  max-height: none;
  padding: 0;
  gap: 12px;
}

/* Generation picker: 2×2 grid; arrows overlay edges so the grid uses full panel width (even inset from popover border only). */
.generation-picker__rail{
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
}
.generation-picker__rail .generation-picker__grid.genGrid{
  width: 100%;
  min-width: 0;
}
/* Edge nav: sits over the photo strip — trail reads as dimming the image, not the panel chrome. */
.generation-picker__scroll-btn{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  min-width: 56px;
  margin: 0;
  padding: 0;
  z-index: 4;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(248, 250, 252, 0.98);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
.generation-picker__scroll-btn--prev{
  left: 0;
}
.generation-picker__scroll-btn--next{
  right: 0;
}
/* JS ставить hidden на prev/next на першій/останній сторінці; без !important наш display:inline-flex перебиває UA [hidden] і стрілка лишається видимою. */
.generation-picker__scroll-btn[hidden]{
  display: none !important;
  pointer-events: none !important;
  visibility: hidden;
}
.generation-picker__scroll-btn::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
  /* Feather top/bottom so the glow doesn’t cut off hard at the rail edges. */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 7%,
    rgba(0, 0, 0, 0.85) 14%,
    #000 20%,
    #000 80%,
    rgba(0, 0, 0, 0.85) 86%,
    rgba(0, 0, 0, 0.35) 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 7%,
    rgba(0, 0, 0, 0.85) 14%,
    #000 20%,
    #000 80%,
    rgba(0, 0, 0, 0.85) 86%,
    rgba(0, 0, 0, 0.35) 93%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
/* Matte trail: багато зупинок α — менше смугастого banding при переході у прозорість. */
.generation-picker__scroll-btn--prev::before{
  background: linear-gradient(
    to right,
    rgba(9, 9, 11, 0.93) 0%,
    rgba(9, 9, 11, 0.82) 6%,
    rgba(24, 24, 27, 0.68) 14%,
    rgba(39, 39, 42, 0.54) 22%,
    rgba(55, 55, 62, 0.42) 32%,
    rgba(71, 71, 78, 0.3) 42%,
    rgba(90, 90, 98, 0.2) 52%,
    rgba(113, 113, 122, 0.12) 64%,
    rgba(140, 140, 148, 0.06) 76%,
    rgba(180, 180, 186, 0.02) 88%,
    transparent 100%
  );
}
.generation-picker__scroll-btn--next::before{
  background: linear-gradient(
    to left,
    rgba(9, 9, 11, 0.93) 0%,
    rgba(9, 9, 11, 0.82) 6%,
    rgba(24, 24, 27, 0.68) 14%,
    rgba(39, 39, 42, 0.54) 22%,
    rgba(55, 55, 62, 0.42) 32%,
    rgba(71, 71, 78, 0.3) 42%,
    rgba(90, 90, 98, 0.2) 52%,
    rgba(113, 113, 122, 0.12) 64%,
    rgba(140, 140, 148, 0.06) 76%,
    rgba(180, 180, 186, 0.02) 88%,
    transparent 100%
  );
}
.generation-picker__scroll-btn svg{
  position: relative;
  z-index: 1;
  transition: opacity 0.32s ease, filter 0.32s ease;
  filter: none;
}
@media (hover: hover) {
  /* Ледь видно в спокої; повна видимість і легка тінь лише при наведенні на зону стрілки. */
  .generation-picker__scroll-btn:not([hidden]) svg{
    opacity: 0.14;
  }
  .generation-picker__scroll-btn:not([hidden]):hover:not(:disabled)::before{
    opacity: 1;
  }
  .generation-picker__scroll-btn:not([hidden]):hover:not(:disabled) svg{
    opacity: 1;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
  }
}
@media (hover: none) {
  /* Touch: hint without full hide. */
  .generation-picker__scroll-btn svg{
    opacity: 0.45;
  }
  .generation-picker__scroll-btn::before{
    opacity: 0.35;
  }
}
.generation-picker__scroll-btn:focus-visible{
  outline: 2px solid rgba(59, 130, 246, 0.75);
  outline-offset: -2px;
}
.generation-picker__scroll-btn:focus-visible::before{
  opacity: 0.9;
}
.generation-picker__scroll-btn:focus-visible svg{
  opacity: 1;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
.generation-picker__scroll-btn:disabled{
  cursor: default;
  pointer-events: none;
}
.generation-picker__scroll-btn:disabled svg{
  opacity: 0.1;
}
.generation-picker__scroll-btn:disabled::before{
  opacity: 0 !important;
}
/* Viewport: clips to one page; no scrollbars. */
.generation-picker__grid.genGrid.genGrid--arbicar-rail{
  display: block;
  overflow: hidden;
  padding: 0;
  max-height: none;
  scrollbar-width: none;
}
.generation-picker__grid.genGrid.genGrid--arbicar-rail::-webkit-scrollbar{
  display: none;
}
.generation-picker__track{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: calc(var(--gen-picker-pages, 1) * 100%);
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.generation-picker__page{
  flex: 0 0 calc(100% / var(--gen-picker-pages, 1));
  box-sizing: border-box;
  min-width: 0;
  min-height: clamp(360px, 58vh, 540px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 0;
  align-content: stretch;
  align-items: stretch;
}
/* Picker tiles: photo edge-to-edge; copy over image (bottom meta). */
.genGrid--arbicar-rail .genTile{
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  overflow: hidden;
}
.genGrid--arbicar-rail .genTile__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  border-radius: inherit;
  z-index: 0;
}
.genGrid--arbicar-rail .genTile__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.genGrid--arbicar-rail .genTile__meta{
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 12px 12px;
  background: linear-gradient(
    to top,
    rgba(2, 6, 23, 0.94) 0%,
    rgba(2, 6, 23, 0.55) 45%,
    rgba(2, 6, 23, 0) 100%
  );
  z-index: 2;
}
.genGrid--arbicar-rail .genTile__line{
  color: rgba(226, 232, 240, 0.88);
}

body[data-theme="light"] .generation-picker__scroll-btn{
  color: #0f172a;
}
body[data-theme="light"] .generation-picker__scroll-btn--prev::before{
  background: linear-gradient(
    to right,
    rgba(24, 24, 27, 0.86) 0%,
    rgba(39, 39, 42, 0.72) 8%,
    rgba(63, 63, 70, 0.55) 18%,
    rgba(82, 82, 91, 0.4) 30%,
    rgba(113, 113, 122, 0.26) 44%,
    rgba(140, 140, 148, 0.14) 58%,
    rgba(180, 180, 186, 0.06) 74%,
    rgba(220, 220, 224, 0.02) 88%,
    transparent 100%
  );
}
body[data-theme="light"] .generation-picker__scroll-btn--next::before{
  background: linear-gradient(
    to left,
    rgba(24, 24, 27, 0.86) 0%,
    rgba(39, 39, 42, 0.72) 8%,
    rgba(63, 63, 70, 0.55) 18%,
    rgba(82, 82, 91, 0.4) 30%,
    rgba(113, 113, 122, 0.26) 44%,
    rgba(140, 140, 148, 0.14) 58%,
    rgba(180, 180, 186, 0.06) 74%,
    rgba(220, 220, 224, 0.02) 88%,
    transparent 100%
  );
}
body[data-theme="light"] .genGrid--arbicar-rail .genTile__meta{
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.72) 42%,
    rgba(255, 255, 255, 0) 100%
  );
}
body[data-theme="light"] .genGrid--arbicar-rail .genTile__years{
  color: #0f172a;
}
body[data-theme="light"] .genGrid--arbicar-rail .genTile__line{
  color: rgba(51, 65, 85, 0.92);
}
@media (hover: none) {
  body[data-theme="light"] .generation-picker__scroll-btn svg{
    opacity: 0.65;
  }
}

.field label{
  display:block;
  font-size: 11px;
  letter-spacing:.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 900;
  margin: 0 0 6px;
}
.control{
  width:100%;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background-color: rgba(0,0,0,.18);
  color: var(--text);
  padding: 0 12px;
  font-weight: 900;
  outline:none;
}
.control:focus{border-color: rgba(59, 130, 246, .6)}
.searchBtn{ height: 42px; border-radius: 999px; }

/* Ensure custom-select trigger = Generation (override .control) */
.custom-select__trigger.control{
  padding: 0 40px 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background-color: rgba(2, 6, 23, 0.7);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  font-size: 0.9rem;
  font-weight: 500;
}
.custom-select.is-open .custom-select__trigger.control{
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.custom-select--filterable .custom-select__trigger.custom-select__input.control{
  padding-top: 0;
  padding-bottom: 0;
  min-height: 42px;
  height: 42px;
}
.custom-select--filterable .custom-select__trigger.custom-select__input.control:focus{
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.tags{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 12px;
}

.previewCard{
  border-radius: var(--r24);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  padding: 14px;
}
.previewTop{
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  color: var(--muted);
  font-weight: 850;
  font-size: 12px;
  margin-bottom: 10px;
}
.previewBox{
  border-radius: 18px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  padding: 14px;
}
.previewTitle{font-weight: 950; font-size: 14px}
.previewLine{margin-top: 6px; color: var(--muted); font-weight: 750; font-size: 12px}
.previewPriceRow{
  display:flex; justify-content:space-between; gap:10px; align-items:flex-end;
  margin-top: 10px;
}
.previewPrice{font-weight: 980; font-size: 22px}
.previewRight{color: var(--muted); font-weight: 850; font-size: 12px}
.grid4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px){.grid4{grid-template-columns: repeat(2,1fr)}}
@media (max-width: 620px){.grid4{grid-template-columns: 1fr}}

.tile{
  padding: 16px;
  border-radius: var(--content-card-inner-radius);
  background: var(--content-card-inner-bg);
  border: 1px solid var(--content-card-inner-border);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.tile h3{margin:0 0 8px; font-weight: 950; font-size: 14px}
.tile p{margin:0; color: var(--muted); font-weight: 750; font-size: 12px; line-height: 1.6}

.footer{
  /* doubled again vs previous step (75→150, 27/36→54/72) */
  margin-top: 150px;
  padding: 54px 0 72px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8rem;
  background: var(--background);
}

/* Lists / tables */
.list{
  display:grid;
  gap: 10px;
}
.row{
  display:flex; justify-content:space-between; gap:12px; align-items:center;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
}
.row small{color: var(--muted); font-weight: 800}
.badge{
  font-weight: 950;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
}

/* Cars listing */
.resultsTop{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: 14px;
  margin-bottom: 24px;
}
.resultsTop .section-sub{ margin: 0; }
.resultsTop .btn{ flex-shrink: 0; }
.cardsGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}
.cardsGrid > *{
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
@media (max-width: 1100px){.cardsGrid{grid-template-columns: repeat(3, minmax(0, 1fr))}}
@media (max-width: 820px){.cardsGrid{grid-template-columns: repeat(2, minmax(0, 1fr))}}
@media (max-width: 520px){.cardsGrid{grid-template-columns: minmax(0, 1fr)}}

.listingCard{
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
  transition: transform .12s ease;
}
.listingCard:hover{transform: translateY(-2px)}
.listingCard--withFav{
  position: relative;
  display: flex;
  flex-direction: column;
}
.listingCard--withFav .listingCard__hit{
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 1;
}
.listingCard--withFav .listingCard__fav{
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
}
.thumb{aspect-ratio: 16/10; background: rgba(255,255,255,.03)}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb .thumb-placeholder{
  width:100%;
  height:100%;
  min-height:80px;
  background: rgba(59, 130, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb .thumb-placeholder__icon{
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(255,255,255,.5);
  line-height: 1;
}
.resultsTop__btn{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
}
.resultsTop__btn:hover{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.35);
}
.lMeta{
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.lMeta__title{
  font-weight: 950;
  font-size: 13px;
  line-height: 1.35;
}
.lMeta__row{
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}
.lName{font-weight: 950; font-size: 13px; line-height: 1.35}
.lPrice{font-weight: 980; font-size: 15px; letter-spacing: -0.02em}
.lCity{color: var(--muted); font-weight: 800; font-size: 12px; line-height: 1.4}

/* Car page */
.twoCol{
  display:grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 16px;
  align-items:start;
}
@media (max-width: 980px){.twoCol{grid-template-columns: 1fr}}
.gallery{
  border-radius: var(--r24);
  overflow:hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.mainImg{position:relative; aspect-ratio: 16/9; background: rgba(255,255,255,.03)}
.mainImg img{width:100%;height:100%;object-fit:cover}
.mainImg--placeholder{display:flex;align-items:center;justify-content:center;min-height:180px}
.mainImg--placeholder .thumb-placeholder__icon{font-size:48px;color:rgba(255,255,255,.4)}
.count{
  position:absolute; right:12px; bottom:12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 950; font-size: 12px;
  backdrop-filter: blur(10px);
}
.thumbs{display:flex; gap:10px; padding: 12px; overflow:auto; border-top: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03)}
.tbtn{
  width:96px;height:64px;border-radius: 14px; overflow:hidden;
  border: 2px solid transparent; background: rgba(255,255,255,.04);
  cursor:pointer; flex:0 0 auto; padding:0;
}
.tbtn[aria-current="true"]{border-color: rgba(59, 130, 246, .8)}
.tbtn img{width:100%;height:100%;object-fit:cover}
.aside{position:sticky; top: 92px}
@media (max-width: 980px){.aside{position:static}}

.specs{list-style:none; padding:0; margin: 12px 0 8px; display:grid; gap: 8px}
.spec{
  display:grid;
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  align-items:center;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
}
.spec__label{color: var(--muted); font-weight: 900; font-size: 12px}
.spec__value{font-weight: 950; font-size: 12px; white-space: nowrap}
.spec svg{width:18px;height:18px;stroke: rgba(255,255,255,.55); fill:none; stroke-width:2}

.formCard{
  padding: 16px;
  border-radius: var(--r24);
  overflow: visible;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.formRow{display:grid; gap:10px; margin-top: 10px}
.formRow2{display:grid; grid-template-columns: 1fr 1fr; gap:10px}
@media (max-width: 620px){.formRow2{grid-template-columns: 1fr}}
.help{color: var(--muted); font-weight: 750; font-size: 12px; line-height:1.6}
.hr{height:1px;background:rgba(255,255,255,.10); margin: 14px 0}

.accordion{display:grid; gap:10px}
.accItem{
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.accBtn{
  width:100%;
  text-align:left;
  background: transparent;
  border:0;
  color: var(--text);
  padding: 14px 14px;
  font-weight: 950;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.accBody{
  padding: 0 14px 14px;
  color: var(--muted);
  font-weight: 750;
  line-height:1.7;
  font-size: 13px;
  display:none;
}
.accItem.open .accBody{display:block}
/* ===== Generation picker (Drom-like tiles, ArbiCar style) ===== */
.modal{
  position: fixed;
  inset: 0;
  z-index: 120;
  display:none;
}
.modal.is-open{display:block}
.modal__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}
.modal__panel{
  position:relative;
  max-width: 980px;
  margin: 70px auto;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  overflow:hidden;
}
@media (max-width: 1000px){
  .modal__panel{margin: 40px 14px}
}
.modal__top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.modal__title{font-weight:980; font-size: 14px}
.modal__sub{color: var(--muted); font-weight: 750; font-size: 12px; margin-top:4px}

/* ===== Auth modal (Login or register for free) — match mockup screen 2 ===== */
.authModal{
  z-index: 140;
}
.authModal .modal__backdrop{
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(0,0,0,.58);
}
.authModal .modal__panel.authModal__panel,
.authModal__panel{
  max-width: 440px;
  width: calc(100% - 28px);
  margin: max(48px, 10vh) auto max(32px, 5vh);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(22, 26, 38, .98), rgba(8, 10, 16, .99));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 32px 90px rgba(0,0,0,.72);
  overflow: hidden;
}
.authModal__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 28px 28px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.authModal__title{
  margin: 0;
  padding-right: 8px;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.3;
  color: #fff;
  letter-spacing: -0.02em;
}
.authModal__close{
  flex-shrink: 0;
  margin: -6px -8px 0 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255,255,255,.9);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.authModal__close:hover{ background: rgba(255,255,255,.08); color: #fff; }
.authModal__body{
  padding: 8px 28px 28px;
}
.authModal__intro{
  margin: 0 0 1.125rem;
  color: rgba(255,255,255,.68);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.55;
}
.authModal__label{
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
}
.authModal__otp{
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: clamp(6px, 2vw, 10px);
  margin-bottom: 0.15rem;
}
.authModal__otpCell{
  flex: 1 1 0;
  min-width: 0;
  max-width: 3.25rem;
  aspect-ratio: 1;
  padding: 0 !important;
  text-align: center;
  font-size: clamp(1.15rem, 4.2vw, 1.45rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.authModal__body .input.authModal__otpCell:focus{
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.45);
}
.authModal__body .input{
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: 12px 14px;
}
.authModal__body .input::placeholder{
  color: rgba(255,255,255,.38);
}
.authModal__body .input:focus{
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.45);
}
/* Same as topbar "Post Car" (.btn.primary): brand gradient + glow */
.authModal .authModal__primary{
  width: 100%;
  margin-top: 1.25rem;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 16px 35px rgba(59, 130, 246, 0.45);
  transition: all 0.18s ease;
}
.authModal .authModal__primary:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.55);
}
.authModal__or{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.25rem 0 1rem;
  width: 100%;
}
.authModal__orLine{
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.12);
  min-width: 12px;
}
.authModal__orText{
  flex-shrink: 0;
  color: rgba(255,255,255,.4);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.authSocial--modal{
  margin: 0;
  padding: 0;
  border: 0;
}
.authSocial__buttons--stack{
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
}
/* Social: icon left, label visually centered (screen 2) */
.authModal .btn--social-wide.authModal__socialBtn{
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  padding: 0.75rem 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  text-decoration: none;
  justify-content: stretch;
}
.authModal .btn--social-wide.authModal__socialBtn:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.authModal .authModal__socialBtn .authSocial__iconSvg{
  grid-column: 1;
  justify-self: center;
  width: 22px;
  margin: 0;
}
.authModal .authModal__socialLabel{
  grid-column: 2;
  text-align: center;
  justify-self: stretch;
}
.authModal .authModal__socialSpacer{
  grid-column: 3;
  width: 40px;
}
/* Fallback if social buttons used outside modal */
.btn--social-wide:not(.authModal__socialBtn){
  width: 100%;
  justify-content: flex-start;
  padding: 0.8rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-md, 12px);
}
.authSocial__iconSvg{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  flex-shrink: 0;
}
.authModal__msg{
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  font-weight: 650;
  color: #f87171;
}
.authModal__msg--ok{
  color: #86efac;
}
.authModal__msg[hidden]{ display: none !important; }
.authModal__row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
}
.authModal__secondary{
  flex: 1;
  min-width: 120px;
}
.authModal__back{
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
body.auth-modal-open{
  overflow: hidden;
}

.genGrid{
  padding: 18px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-height: 64vh;
  overflow:auto;
  overscroll-behavior: contain;
}
@media (max-width: 820px){
  .genGrid{grid-template-columns: 1fr}
}
.genTile{
  width:100%;
  text-align:left;
  border: 1px solid rgba(15,23,42,.55);
  background: transparent;
  border-radius: 20px;
  overflow:hidden;
  cursor:pointer;
  padding:0;
  position: relative;
}
.genTile:hover{background: rgba(255,255,255,.05)}
.genTile[aria-current="true"]{
  border-color: rgba(59, 130, 246, .5);
  box-shadow: 0 18px 55px rgba(59, 130, 246, .2);
}
/* 3:2 like many OEM press shots + cover = fills card (Drom-style), no side bars.
   Minor edge crop only when source ratio differs; fix at asset level for perfect fit. */
.genTile__img{
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #020617;
  overflow: hidden;
  display: block;
  line-height: 0;
}
.genTile__img img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.95) contrast(1.02);
}
.genTile__meta{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: auto;
  padding: 10px 12px 16px;
  display:flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(to bottom, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.45) 65%, rgba(15,23,42,0) 100%);
  pointer-events: none;
}
.genTile__years{
  font-weight:980;
  font-size: 14px;
  color:#f9fafb;
}
.genTile__line{
  color: rgba(226,232,240,.96);
  font-weight: 750;
  font-size: 12px;
  line-height: 1.35;
}

/* =========================
   Arbi Sticker Launcher (bottom-right)
========================= */

.arbiSticker {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;

  width: 110px;
  height: 110px;

  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  border-radius: 50%;
  /* Safari/WebKit: default button chrome can hide custom circular launcher */
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  /* Promote to own layer — fixes occasional missing fixed UI in Safari */
  transform: translateZ(0);
  backface-visibility: hidden;

  filter: drop-shadow(0 22px 70px rgba(0,0,0,.55));
  transform-origin: 50% 100%;

  animation: arbiFloat 4.8s ease-in-out infinite,
             arbiWiggle 13s ease-in-out infinite;
}

.arbiSticker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(1.19);
}

.arbiSticker:hover {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.04);
}


.arbiSticker:active {
  transform: translateY(0) scale(1.00);
}

.arbiSticker:focus-visible {
  outline: none;
  box-shadow: 0 0 0 6px rgba(59, 130, 246, .25);
}

/* subtle aura */
.arbiSticker::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(59, 130, 246, .25), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(236, 72, 153, .15), transparent 55%);
  opacity: .55;
  z-index: -1;
  pointer-events:none;
}

@keyframes arbiFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes arbiWiggle {
  0%, 100% { rotate: 0deg; }
  8%       { rotate: 2deg; }
  16%      { rotate: -2deg; }
  24%      { rotate: 1deg; }
  32%      { rotate: 0deg; }
}

@media (prefers-reduced-motion: reduce){
  .arbiSticker { animation: none; }
}
/* =========================
   Arbi sticker + panel (ADD-ON)
========================= */

.arbiPanel{
  position: fixed;
  right: 18px;
  bottom: 120px;
  width: 360px;
  max-width: calc(100vw - 36px);
  height: 520px;
  max-height: calc(100vh - 160px);
  z-index: 9999;

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  overflow: hidden;

  display: none;
}
.arbiPanel.open{ display: flex; flex-direction: column; }

.arbiHead{
  padding: 12px 12px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.arbiTitle{ display:flex; align-items:center; gap:10px; }
.arbiBadge{
  font-size: 11px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  padding: 4px 8px;
  border-radius: 999px;
  opacity: .9;
}
.arbiClose{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85);
  border-radius: 999px;
  padding: 8px 10px;
  cursor:pointer;
  font-weight: 800;
}

.arbiBody{
  padding: 12px;
  overflow:auto;
  flex: 1;
}
.arbiMsg{ display:flex; gap:10px; margin-bottom: 10px; }
.arbiBubble{
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.86);
  font-weight: 650;
  line-height: 1.45;
  font-size: 13px;
  white-space: pre-wrap;
}
.arbiMsg.me{ justify-content:flex-end; }
.arbiMsg.me .arbiBubble{
  background: rgba(59, 130, 246, .15);
  border-color: rgba(59, 130, 246, .25);
}

.arbiFoot{
  padding: 10px 10px 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  display:flex;
  gap: 10px;
  align-items:center;
}
.arbiInput{
  flex: 1;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.88);
  border-radius: 14px;
  padding: 12px 12px;
  font-weight: 700;
  font-size: 13px;
  outline:none;
}
.arbiSend{
  border: none;
  cursor:pointer;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
  background: var(--brand-gradient);
}

/* Світла тема: панель Arbi — ті самі токени, що Contact (.contactCard / .contactRow) */
body[data-theme="light"] .arbiPanel {
  border: 1px solid var(--border);
  background: var(--content-card-bg);
  backdrop-filter: none;
  box-shadow: var(--content-card-shadow);
}
body[data-theme="light"] .arbiHead {
  border-bottom-color: var(--border);
}
body[data-theme="light"] .arbiTitle strong {
  color: var(--primary);
  font-weight: 800;
}
body[data-theme="light"] .arbiBadge {
  border: 1px solid var(--content-card-inner-border);
  background: var(--content-card-inner-bg);
  color: var(--muted);
  opacity: 1;
}
body[data-theme="light"] .arbiClose {
  border: 1px solid var(--border);
  background: #fff;
  color: #475569;
}
body[data-theme="light"] .arbiClose:hover {
  background: var(--content-card-inner-bg);
  color: var(--primary);
  border-color: var(--content-card-inner-border);
}
body[data-theme="light"] .arbiBubble {
  border: 1px solid var(--content-card-inner-border);
  background: var(--content-card-inner-bg);
  color: var(--primary);
  font-weight: 600;
}
body[data-theme="light"] .arbiMsg.me .arbiBubble {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--primary);
}
body[data-theme="light"] .arbiFoot {
  border-top-color: var(--border);
}
body[data-theme="light"] .arbiInput {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
}
body[data-theme="light"] .arbiInput::placeholder {
  color: var(--muted);
  opacity: 1;
}
body[data-theme="light"] .arbiSend {
  color: #fff;
}

/* Sticker — круг +20%, фото всередині +10% */
.arbiSticker{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 110px;
  height: 110px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  border-radius: 50%;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 22px 70px rgba(0,0,0,.55));
  transform-origin: 50% 100%;
  animation: arbiFloat 4.8s ease-in-out infinite;
}
.arbiSticker img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.19);
}

@keyframes arbiFloat{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}
/* =========================
   How it works page (ADD-ON)
========================= */

.section--tight{ padding: 44px 0 52px; }

/*
 * Post Car — must come *after* `.section--tight` or 44px top padding wins and the “Create your listing”
 * block sits ~60–80px below the fixed topbar (screen 1). Tighter stack matches screen 2.
 */
@media (min-width: 981px){
  body[data-page="post-a-car"] .section.section--tight.listingBuilder{
    padding-top: 10px;
    padding-bottom: 48px;
  }
}
@media (max-width: 980px){
  body[data-page="post-a-car"] .section.section--tight.listingBuilder{
    padding-top: 20px;
    padding-bottom: 32px;
  }
}
body[data-page="post-a-car"] main.container.page{
  padding-top: 0;
  background: transparent;
}
@media (min-width: 981px){
  body[data-page="post-a-car"] main.container.page{
    max-width: min(calc(100vw - 36px), calc(var(--max) + var(--arbi-rail-width)));
  }
}
/* Form column: same canvas as body — no boxed panel behind the listing builder */
body[data-page="post-a-car"] .listingBuilder,
body[data-page="post-a-car"] .listingBuilder__layout,
body[data-page="post-a-car"] .listingBuilder__leftCol,
body[data-page="post-a-car"] .listingBuilder__formCol,
body[data-page="post-a-car"] .listingBuilder__form{
  background-color: transparent;
}

.pageHead{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.pageHead__card{ width: 100%; }

.stepsGrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.stepCard{
  padding: 20px;
  border-radius: var(--content-card-radius);
  border: 1px solid var(--border);
  background: var(--content-card-bg);
  box-shadow: var(--content-card-shadow);
}
.stepCard__num{
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, .35);
}
.stepCard .h3{ font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; color: var(--primary); }
.stepCard .text{ margin: 0 0 12px; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.stepCard .list{ list-style-type: disc; }
.stepCard .list li::marker{ color: var(--muted); }

.list{
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.55;
  font-size: 0.875rem;
}

.miniCard{
  padding: 18px;
  border-radius: var(--content-card-radius);
  border: 1px solid var(--border);
  background: var(--content-card-bg);
  box-shadow: var(--content-card-shadow);
}
.miniCard__title{
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.miniCard__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.miniStat{
  border: 1px solid var(--content-card-inner-border);
  background: var(--content-card-inner-bg);
  border-radius: var(--content-card-inner-radius);
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.miniStat__k{ font-weight: 700; font-size: 0.85rem; color: var(--primary); }
.miniStat__v{ font-weight: 500; font-size: 0.8rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }

.ctaRow{ margin-top: 24px; }
.ctaCard{
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-radius: var(--content-card-radius);
  border: 1px solid var(--border);
  background: var(--content-card-bg);
  box-shadow: var(--content-card-shadow);
}
.ctaCard__actions{ display: flex; gap: 10px; flex-wrap: wrap; }

.footer__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-weight: 500;
}
.footer__links{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  row-gap: 8px;
}
.footer__links a{ color: var(--muted); text-decoration: none; }
.footer__links a:hover{ color: var(--primary); }
.dotSep{
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--muted);
  margin: 0 10px;
  transform: translateY(-2px);
}

@media (max-width: 980px){
  .pageHead{ grid-template-columns: 1fr; }
  .stepsGrid{ grid-template-columns: 1fr; }
  .ctaCard{ flex-direction: column; align-items: stretch; }
  .footer__inner{ flex-direction: column; align-items: center; text-align: center; }
  .footer__links{ justify-content: center; }
}
/* =========================
   FAQ + Contact (ADD-ON)
========================= */

.pageHead--single{ grid-template-columns: 1fr !important; }
.faqGrid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.faqCard{
  padding: 20px;
  border-radius: var(--content-card-radius);
  background: var(--content-card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--content-card-shadow);
}
.faqCard .h2{ font-size: 1.1rem; font-weight: 700; margin: 0 0 14px; color: var(--primary); }
.faqItem{
  border: 1px solid var(--content-card-inner-border);
  background: var(--content-card-inner-bg);
  border-radius: var(--content-card-inner-radius);
  padding: 12px 14px;
  margin-top: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.faqItem summary{
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}
.faqItem summary::-webkit-details-marker{ display:none; }
.faqBody{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--content-card-inner-bg);
  border: 1px solid var(--content-card-inner-border);
  color: var(--muted);
  font-weight: 500;
  line-height: 1.55;
  font-size: 0.9rem;
}

.contactGrid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  margin-top: 18px;
}
.contactCard{
  padding: 20px;
  border-radius: var(--content-card-radius);
  background: var(--content-card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--content-card-shadow);
}
.contactCard .h2{ font-size: 1.1rem; font-weight: 700; margin: 0 0 14px; color: var(--primary); }
.contactRow{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 14px 16px;
  margin-top: 10px;
  border-radius: var(--content-card-inner-radius);
  background: var(--content-card-inner-bg);
  border: 1px solid var(--content-card-inner-border);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.contactRow:first-of-type{ margin-top: 0; }
.contactKey{ font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.contactVal{ color: var(--primary); font-weight: 600; font-size: 0.95rem; }
.contactLink{ color: var(--primary); text-decoration: none; }
.contactCard .muted{ color: var(--muted); font-weight: 500; font-size: 0.8rem; margin-top: 4px; }

/* Reviews page: each review in a card */
body[data-page="reviews"] main.page .card {
  padding: 20px;
}
/* Перший блок "Average rating" — та сама картка, що й рядки відгуків */
body[data-page="reviews"] main.page .card > .row:first-of-type {
  padding: 14px 16px;
  border-radius: var(--content-card-inner-radius);
  background: var(--content-card-inner-bg);
  border: 1px solid var(--content-card-inner-border);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  margin: 0 0 12px;
}
body[data-page="reviews"] main.page .card .list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding-left: 0;
  list-style: none;
}
body[data-page="reviews"] main.page .card .list > .row {
  padding: 14px 16px;
  border-radius: var(--content-card-inner-radius);
  background: var(--content-card-inner-bg);
  border: 1px solid var(--content-card-inner-border);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  align-items: flex-start;
}
body[data-page="reviews"] main.page .card .list > .row > div > div:first-child { font-weight: 700; color: var(--primary); font-size: 0.95rem; }
body[data-page="reviews"] main.page .card .list > .row small { color: var(--muted); font-size: 0.8rem; font-weight: 500; }
/* Reviews row cards use --content-card-inner-bg from theme */
body[data-theme="light"] body[data-page="reviews"] main.page .card .list > .row > div > div:first-child { color: #0f172a; }
body[data-theme="light"] body[data-page="reviews"] main.page .card .list > .row small { color: #64748b; }

.formGrid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}
.field--full{ grid-column: 1 / -1; }
.label{
  display:block;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.78);
  margin-bottom: 6px;
}
.input, .textarea{
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.6);
  color: var(--primary);
  padding: 10px 14px;
  outline: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input:focus, .textarea:focus{
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.formCard select.input,
select.input{
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
/* File upload — custom button in site style (no native "Choose file" / locale text) */
.file-upload-wrap{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.file-upload-wrap input[type="file"]{
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.file-upload-btn{
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.7);
  color: var(--primary);
  cursor: pointer;
}
.file-upload-btn:hover{
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.4);
}
.btn.primary.file-upload-btn{
  background: var(--brand-gradient);
  border: none;
  color: #fff;
  box-shadow: 0 16px 35px rgba(59, 130, 246, 0.45);
}
.btn.primary.file-upload-btn:hover{
  background: var(--brand-gradient);
  border: none;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.55);
}
.file-upload-text{
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.formActions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

@media (max-width: 980px){
  .faqGrid{ grid-template-columns: 1fr; }
  .contactGrid{ grid-template-columns: 1fr; }
  .formGrid{ grid-template-columns: 1fr; }
}
/* =========================
   About page (ADD-ON)
========================= */

.aboutGrid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.aboutCard{
  padding: 20px;
  border-radius: var(--content-card-radius);
  background: var(--content-card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--content-card-shadow);
}
.aboutCard .h2{ font-size: 1.1rem; font-weight: 700; margin: 0 0 12px; color: var(--primary); }
.aboutCard .text{ margin: 0 0 12px; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

.aboutPoints{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.aboutPoint{
  border: 1px solid var(--content-card-inner-border);
  background: var(--content-card-inner-bg);
  border-radius: var(--content-card-inner-radius);
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.aboutPoint__k{ font-weight: 700; font-size: 0.8rem; color: var(--primary); margin: 0; }
.aboutPoint__v{ margin-top: 3px; font-weight: 500; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }

.badgeRow{ display:flex; gap:10px; flex-wrap: wrap; margin-top: 12px; }

.aboutTimeline{ display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.timelineItem{
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: var(--content-card-inner-radius);
  background: var(--content-card-inner-bg);
  border: 1px solid var(--content-card-inner-border);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.timelineDot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 4px;
  background: rgba(59, 130, 246, .9);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, .2);
}
.timelineTitle{ font-weight: 700; font-size: 0.95rem; color: var(--primary); margin: 0; }
.timelineText{ color: var(--muted); font-weight: 500; font-size: 0.85rem; margin-top: 2px; line-height: 1.4; }

.ctaInline{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

@media (max-width: 980px){
  .aboutGrid{ grid-template-columns: 1fr; }
  .aboutPoints{ grid-template-columns: 1fr; }
}
/* =========================
   Safety page (ADD-ON)
========================= */

.safetyGrid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.safetyCard{
  padding: 20px;
  border-radius: var(--content-card-radius);
  border: 1px solid var(--border);
  background: var(--content-card-bg);
  box-shadow: var(--content-card-shadow);
}
.safetyCard .h2{ font-size: 1.1rem; font-weight: 700; margin: 0 0 12px; color: var(--primary); }
.safetyCard .text{ margin: 0 0 12px; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

.safetyList{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.flag{
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--content-card-inner-border);
  background: var(--content-card-inner-bg);
  border-radius: var(--content-card-inner-radius);
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.flag__icon{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 14px;
  color: #fff;
  background: #f87171;
  border: 1px solid #fca5a5;
  flex-shrink: 0;
}
.flag__title{ font-weight: 700; font-size: 0.95rem; color: var(--primary); margin: 0; }
.flag__text{ margin: 4px 0 0; color: var(--muted); font-weight: 500; font-size: 0.85rem; line-height: 1.5; }

.checklist{
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.checklist li{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255,255,255,.78);
  font-weight: 650;
  line-height: 1.55;
  font-size: 13px;
}
.check{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-top: 4px;
  background: rgba(59, 130, 246, .9);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, .2);
}

.tipBox, .warnBox{
  margin-top: 12px;
  border-radius: var(--content-card-inner-radius);
  padding: 12px 14px;
  border: 1px solid var(--content-card-inner-border);
  background: var(--content-card-inner-bg);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.tipBox__title, .warnBox__title{
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary);
  margin: 0;
}
.tipBox__text, .warnBox__text{
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.5;
}
.warnBox{
  border-color: rgba(248,113,113,.35);
  background: rgba(254,226,226,.25);
}
.warnBox__title{ color: #b91c1c; }
.warnBox__text{ color: #991b1b; }

.twoCol{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.softBox{
  border: 1px solid var(--content-card-inner-border);
  background: var(--content-card-inner-bg);
  border-radius: var(--content-card-inner-radius);
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.softBox__k{ font-weight: 700; font-size: 0.8rem; color: var(--primary); margin: 0; }
.softBox__v{ margin-top: 3px; font-weight: 500; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }

@media (max-width: 980px){
  .safetyGrid{ grid-template-columns: 1fr; }
  .twoCol{ grid-template-columns: 1fr; }
}
/* =========================
   Legal pages (Terms / Privacy) (ADD-ON)
========================= */

.legalMeta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.legalLayout{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}

.legalCard{ padding: 16px; }

.legalToc__title{
  font-weight: 950;
  font-size: 13px;
  opacity: .9;
  margin-bottom: 10px;
}

.legalToc__link{
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.86);
  font-weight: 800;
  font-size: 13px;
  margin-top: 10px;
  text-decoration: none;
}

.legalToc__link:hover{
  border-color: rgba(59, 130, 246, .4);
  background: rgba(59, 130, 246, .12);
}

.legalBody .legalSection{
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.legalBody .legalSection:first-child{
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

@media (max-width: 980px){
  .legalLayout{ grid-template-columns: 1fr; }
}
/* =========================
   My account (tabs) (ADD-ON)
========================= */

/* Quick pricing CTA inside My Account */
.accountPricingCta{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(59, 130, 246, .12);
  display:flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.accountPricingCta__title{
  font-weight: 950;
  font-size: 13px;
  opacity: .95;
  margin: 0;
}
.accountPricingCta__text{
  margin: 4px 0 0;
  color: rgba(255,255,255,.92);
  font-weight: 650;
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 620px){
  .accountPricingCta{ flex-direction: column; align-items: stretch; }
}


.accountLayout{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}
.accountLayout--noSidebar{
  grid-template-columns: 1fr;
  /* Login / guest: horizontal center only; sit just under the header */
  align-items: start;
  justify-items: center;
  padding-top: 1rem;
}
.accountLayout--noSidebar .accountMain{
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.accountLayout--noSidebar .authShell{
  grid-template-columns: 1fr;
  margin-top: 0;
  width: 100%;
  max-width: 520px;
  justify-items: stretch;
}
.accountSidebar{
  position: sticky;
  top: 88px; /* нижче фіксованого topbar, щоб при скролі меню не ховалось під шапку */
}
.accountNav{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.accountNav__link{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background .15s, color .15s;
}
.accountNav__link:hover{
  background: rgba(255,255,255,.06);
  color: var(--primary);
}
.accountNav__link--active{
  background: rgba(59, 130, 246, .15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, .3);
}
.accountNav__icon{
  font-size: 1.1rem;
  opacity: .9;
}
@media (max-width: 768px){
  .accountLayout{ grid-template-columns: 1fr; }
  .accountSidebar{ position: static; }
  .accountNav{ flex-direction: row; flex-wrap: wrap; }
  .accountNav__link{ flex: 1; min-width: 140px; justify-content: center; }
}
body[data-theme="light"] .accountNav__link:hover{
  background: rgba(15, 23, 42, .06);
  color: var(--primary);
}
body[data-theme="light"] .accountNav__link--active{
  background: rgba(59, 130, 246, .12);
  color: #2563eb;
  border-color: rgba(59, 130, 246, .35);
}

.authShell{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  margin-top: 14px;
}

.authCard{ padding: 16px; }
.authSide{ padding: 16px; }

/* ===== Drupal messages: summary strip + success toasts + inline field errors ===== */
.visually-hidden{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.ac-msg-stack--inCard{
  margin-bottom: 1rem;
}
.ac-msg-stack--inCard:empty{
  display: none;
}
.ac-msg-stack--inCard .ac-msg{
  box-shadow: none;
}
.ac-drupal-messages{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ac-msg{
  border-radius: var(--radius-md);
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}
.ac-msg__inner{
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem 0.9rem;
}
.ac-msg__main{
  flex: 1;
  min-width: 0;
}
.ac-msg__title{
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  opacity: 0.95;
}
.ac-msg__glyph{
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 800;
}
.ac-msg__glyph--error{
  background: rgba(248, 113, 113, 0.22);
  color: #fecdd3;
}
.ac-msg__glyph--error::before{
  content: "!";
}
.ac-msg__glyph--warning{
  background: rgba(250, 204, 21, 0.18);
  color: #fef08a;
}
.ac-msg__glyph--warning::before{
  content: "!";
}
.ac-msg__glyph--status{
  background: rgba(74, 222, 128, 0.2);
  color: #bbf7d0;
}
.ac-msg__glyph--status::before{
  content: "✓";
  font-size: 0.75rem;
}
.ac-msg__list{
  margin: 0.15rem 0 0;
  padding-left: 1.15rem;
}
.ac-msg__item{
  margin: 0.2rem 0 0;
}
.ac-msg__item:first-child{
  margin-top: 0;
}
.ac-msg__body{
  margin: 0;
}
.ac-msg__body :first-child{
  margin-top: 0;
}
.ac-msg__body :last-child{
  margin-bottom: 0;
}
.ac-msg--error{
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.38);
  color: #fecaca;
}
.ac-msg--warning{
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(250, 204, 21, 0.35);
  color: #fef9c3;
}
.ac-msg--status{
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(74, 222, 128, 0.4);
  color: #bbf7d0;
}
/* Single toast stack (system_messages_block): all types top-right; in-card copy stays in flow */
main.page .ac-drupal-messages,
main.container.page .ac-drupal-messages{
  position: fixed;
  top: 88px;
  right: 20px;
  max-width: min(380px, calc(100vw - 40px));
  z-index: 140;
  flex-direction: column;
  align-items: stretch;
}
main.page .ac-drupal-messages .ac-msg,
main.container.page .ac-drupal-messages .ac-msg{
  box-shadow: var(--shadow2);
  animation: ac-msg-toast-in 0.28s ease-out;
}
main.page .ac-drupal-messages .ac-msg--status .ac-msg__inner,
main.container.page .ac-drupal-messages .ac-msg--status .ac-msg__inner{
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
main.page .ac-drupal-messages .ac-msg--status .ac-msg__glyph,
main.container.page .ac-drupal-messages .ac-msg--status .ac-msg__glyph{
  margin-top: 0;
}
.ac-msg-stack--inCard .ac-drupal-messages{
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  max-width: none !important;
  z-index: auto !important;
}
.ac-msg-stack--inCard .ac-drupal-messages .ac-msg{
  box-shadow: none !important;
  animation: none !important;
}
/* Guest /my-account: hide duplicate toast — any .ac-drupal-messages in main, then restore in-card only (does not rely on block class or :has) */
body[data-page="my-account"]:not(.user-logged-in) main.page .ac-drupal-messages,
body[data-page="my-account"]:not(.user-logged-in) main.container.page .ac-drupal-messages{
  display: none !important;
}
body[data-page="my-account"]:not(.user-logged-in) main.page .ac-msg-stack--inCard .ac-drupal-messages,
body[data-page="my-account"]:not(.user-logged-in) main.container.page .ac-msg-stack--inCard .ac-drupal-messages{
  display: flex !important;
}
@keyframes ac-msg-toast-in{
  from{
    opacity: 0;
    transform: translateY(-8px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
.ac-msg--toast-out{
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
/* Inline validation under fields */
.authCard .form-item--error .input,
body[data-page="user-pass"] .form-item--error .input,
body[data-page="user-register"] .form-item--error .input,
body[data-page="my-account"] .form-item--error .input,
body[data-page="user-edit"] .form-item--error .input{
  border-color: rgba(248, 113, 113, 0.65) !important;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.22);
}
.authCard .form-item--error-message,
body[data-page="user-pass"] .form-item--error-message,
body[data-page="user-register"] .form-item--error-message,
body[data-page="my-account"] .form-item--error-message,
body[data-page="user-edit"] .form-item--error-message{
  font-size: 0.8125rem;
  color: #fca5a5;
  margin-top: 0.35rem;
  line-height: 1.35;
}
body[data-theme="light"] .ac-msg--error{
  background: rgba(254, 226, 226, 0.95);
  border-color: rgba(248, 113, 113, 0.45);
  color: #991b1b;
}
body[data-theme="light"] .ac-msg__glyph--error{
  background: rgba(248, 113, 113, 0.28);
  color: #7f1d1d;
}
body[data-theme="light"] .ac-msg--warning{
  background: rgba(254, 249, 195, 0.95);
  border-color: rgba(234, 179, 8, 0.45);
  color: #854d0e;
}
body[data-theme="light"] .ac-msg__glyph--warning{
  background: rgba(234, 179, 8, 0.28);
  color: #713f12;
}
body[data-theme="light"] .ac-msg--status{
  background: rgba(220, 252, 231, 0.98);
  border-color: rgba(34, 197, 94, 0.45);
  color: #166534;
}
body[data-theme="light"] .ac-msg__glyph--status{
  background: rgba(34, 197, 94, 0.22);
  color: #166534;
}
body[data-theme="light"] .authCard .form-item--error-message,
body[data-theme="light"][data-page="user-pass"] .form-item--error-message,
body[data-theme="light"][data-page="user-register"] .form-item--error-message,
body[data-theme="light"][data-page="my-account"] .form-item--error-message,
body[data-theme="light"][data-page="user-edit"] .form-item--error-message{
  color: #b91c1c;
}
@media (max-width: 980px){
  main.page .ac-drupal-messages,
  main.container.page .ac-drupal-messages{
    left: 16px;
    right: 16px;
    max-width: none;
    top: 80px;
  }
}

/* ===== Edit profile (/user/%/edit) — mockup card + profile photo ===== */
body[data-page="user-edit"] .region-content .block-page-title-block,
body[data-page="user-edit"] .block-page-title-block{
  display: none !important;
}
body[data-page="user-edit"]{
  --arbicar-edit-card-bg: var(--content-card-bg);
  /* Як на Contact: сірувато-синя рамка var(--border), без фіолетового */
  --arbicar-edit-input-bg: rgba(2, 6, 23, 0.6);
  --arbicar-edit-input-border: var(--border);
}
body[data-page="user-edit"] main.page{
  padding-top: 0.35rem;
  padding-bottom: 1rem;
}
/* Tighter top band on profile so card + sidebar sit closer to header (vs default .section--tight 44px) */
body[data-page="user-edit"] .accountSection.section--tight{
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}
body[data-page="saved-cars"] main.page,
body[data-page="my-publications"] main.page,
body[data-page="pricing"] main.page{
  padding-top: 0.35rem;
  padding-bottom: 1rem;
}
body[data-page="saved-cars"] .accountSection.section--tight,
body[data-page="my-publications"] .accountSection.section--tight,
body[data-page="pricing"] .accountSection.section--tight{
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}
/* Keep Arbi launcher + chat above profile layout / sidebars. */
body[data-page="user-edit"] .arbiSticker,
body[data-page="user-edit"] .arbiPanel{
  z-index: 10050;
}
body[data-page="saved-cars"] .arbiSticker,
body[data-page="saved-cars"] .arbiPanel,
body[data-page="my-publications"] .arbiSticker,
body[data-page="my-publications"] .arbiPanel,
body[data-page="pricing"] .arbiSticker,
body[data-page="pricing"] .arbiPanel{
  z-index: 10050;
}
body[data-page="user-edit"] .editProfileSection{
  padding-top: 0.25rem;
}
body[data-page="user-edit"] .accountLayout:not(.accountLayout--noSidebar) .editProfileSection--myAccount{
  padding-top: 0;
  margin-top: 0;
}
body[data-page="user-edit"] .accountLayout:not(.accountLayout--noSidebar) .editProfileSection--myAccount .authShell{
  margin-top: 0 !important;
}
@media (max-width: 768px){
  body[data-page="user-edit"] .accountLayout:not(.accountLayout--noSidebar) .editProfileSection--myAccount{
    margin-top: 0;
  }
}
body[data-page="user-edit"] .authShell{
  grid-template-columns: 1fr;
  max-width: 520px;
  margin-left: 0;
  margin-right: auto;
  width: 100%;
}
body[data-page="user-edit"] .editProfileCard{
  padding: 28px 26px 32px;
  border-radius: var(--content-card-radius);
  background: var(--arbicar-edit-card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--content-card-shadow);
}
body[data-page="user-edit"] .editProfileCard,
body[data-page="user-edit"] form.editProfileForm{
  --input-bg-color: var(--arbicar-edit-input-bg);
  --input-fg-color: var(--primary);
  --input-border-color: var(--arbicar-edit-input-border);
}
body[data-page="user-edit"] .editProfileCard .h1{
  margin-top: 0.35rem;
}
body[data-page="user-edit"] .editProfile__fieldLabel,
body[data-page="user-edit"] .editProfileCard .label{
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: 0.45rem;
  display: block;
}
/* Однорядкові — пігулка як Contact */
body[data-page="user-edit"] .editProfileCard .input,
body[data-page="user-edit"] .editProfileForm .input,
body[data-page="user-edit"] .editProfileCard input[type="text"],
body[data-page="user-edit"] .editProfileCard input[type="email"],
body[data-page="user-edit"] .editProfileCard input[type="password"],
body[data-page="user-edit"] .editProfileCard input[type="tel"],
body[data-page="user-edit"] .editProfileCard input[type="search"],
body[data-page="user-edit"] .editProfileCard input[type="url"],
body[data-page="user-edit"] .editProfileCard input.form-element,
body[data-page="user-edit"] .editProfileCard .form-control:not(textarea),
body[data-page="user-edit"] .password-confirm input[type="password"],
body[data-page="user-edit"] .password-parent input[type="password"],
body[data-page="user-edit"] .js-password-confirm input[type="password"],
body[data-page="user-edit"] .form-type-password-confirm input[type="password"]{
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid var(--arbicar-edit-input-border);
  background: var(--arbicar-edit-input-bg);
  color: var(--primary);
  padding: 10px 18px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-text-fill-color: var(--primary);
}
body[data-page="user-edit"] .editProfileCard textarea,
body[data-page="user-edit"] .editProfileCard textarea.form-element,
body[data-page="user-edit"] .editProfileForm textarea{
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-lg);
  border: 1px solid var(--arbicar-edit-input-border);
  background: var(--arbicar-edit-input-bg);
  color: var(--primary);
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-text-fill-color: var(--primary);
  min-height: 120px;
  resize: vertical;
}
body[data-page="user-edit"] .editProfileCard select,
body[data-page="user-edit"] .editProfileCard select.form-element,
body[data-page="user-edit"] .editProfileForm select{
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-lg);
  border: 1px solid var(--arbicar-edit-input-border);
  background: var(--arbicar-edit-input-bg);
  color: var(--primary);
  padding: 10px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
body[data-page="user-edit"] .editProfileCard .form-element:not(input):not(textarea):not(select),
body[data-page="user-edit"] .editProfileForm .form-element:not(input):not(textarea):not(select){
  border-radius: var(--radius-lg);
  border: 1px solid var(--arbicar-edit-input-border);
  background: var(--arbicar-edit-input-bg);
}
body[data-page="user-edit"] .editProfileCard .input:focus,
body[data-page="user-edit"] .editProfileForm .input:focus,
body[data-page="user-edit"] .editProfileCard input:focus,
body[data-page="user-edit"] .editProfileCard textarea:focus,
body[data-page="user-edit"] .editProfileCard select:focus,
body[data-page="user-edit"] .editProfileForm textarea:focus,
body[data-page="user-edit"] .editProfileForm select:focus,
body[data-page="user-edit"] .editProfileCard .form-element:focus,
body[data-page="user-edit"] .editProfileForm .form-element:focus,
body[data-page="user-edit"] .editProfileCard .form-control:focus,
body[data-page="user-edit"] .editProfileForm .form-control:focus,
body[data-page="user-edit"] .password-confirm input:focus{
  outline: none;
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
body[data-page="user-edit"] .editProfile__hint{
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}
body[data-page="user-edit"] .editProfile__passwordPair .form-item{
  margin-bottom: 0.75rem;
}
body[data-page="user-edit"] .password-strength,
body[data-page="user-edit"] .password-confirm,
body[data-page="user-edit"] .password-suggestions{
  color: rgba(255,255,255,.65);
  font-size: 0.8125rem;
  margin-top: 0.35rem;
}
body[data-page="user-edit"] .password-strength__meter{
  background: rgba(255,255,255,.12);
  border-radius: 6px;
  margin-top: 6px;
}
body[data-page="user-edit"] .editProfile__photoBlock{
  margin-bottom: 0.5rem;
}
body[data-page="user-edit"] .editProfile__photo .image-preview,
body[data-page="user-edit"] .editProfile__photo img.image-style-thumbnail,
body[data-page="user-edit"] .editProfile__photo img[data-drupal-selector]{
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,.12);
  max-width: 140px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}
body[data-page="user-edit"] .editProfile__photo .js-form-managed-file{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
body[data-page="user-edit"] .editProfileCard .js-form-managed-file .form-submit,
body[data-page="user-edit"] .editProfileCard .form-managed-file .button{
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
}
body[data-page="user-edit"] .editProfileCard .js-form-managed-file .form-submit:hover,
body[data-page="user-edit"] .editProfileCard .form-managed-file .button:hover{
  background: rgba(255,255,255,.12);
}
body[data-page="user-edit"] .editProfile__details{
  margin-top: 1rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 0 14px 12px;
  background: rgba(0,0,0,.22);
}
body[data-page="user-edit"] .editProfile__details > summary{
  padding: 12px 0;
  font-weight: 700;
  cursor: pointer;
  color: rgba(255,255,255,.82);
  list-style-position: outside;
}
body[data-page="user-edit"] .editProfileCard table{
  width: 100%;
  font-size: 0.85rem;
  color: rgba(255,255,255,.88);
}
body[data-page="user-edit"] .editProfileCard th,
body[data-page="user-edit"] .editProfileCard td{
  border: 1px solid rgba(255,255,255,.08);
  padding: 10px 8px;
}
body[data-page="user-edit"] .editProfile__actions{
  margin-top: 1.5rem;
  padding-top: 0;
}
body[data-page="user-edit"] .editProfileCard .formActions .btn.primary{
  min-width: 120px;
  background: linear-gradient(90deg, #ff5fc0 0%, #9b59ff 52%, #4d8eff 100%);
  box-shadow: 0 16px 40px rgba(155, 89, 255, 0.35);
}
body[data-page="user-edit"] .editProfileCard a.button--danger,
body[data-page="user-edit"] .editProfileCard .button--danger{
  margin-left: 8px;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(248,113,113,.45);
  color: #fca5a5;
  background: rgba(248,113,113,.08);
}
body[data-theme="light"][data-page="user-edit"]{
  --arbicar-edit-input-bg: var(--background);
  --arbicar-edit-input-border: var(--border);
}
body[data-theme="light"][data-page="user-edit"] .editProfileCard{
  background: var(--content-card-bg);
  border-color: var(--border);
}
body[data-theme="light"][data-page="user-edit"] .editProfileCard .input,
body[data-theme="light"][data-page="user-edit"] .editProfileCard input[type="text"],
body[data-theme="light"][data-page="user-edit"] .editProfileCard input[type="email"],
body[data-theme="light"][data-page="user-edit"] .editProfileCard input[type="password"],
body[data-theme="light"][data-page="user-edit"] .editProfileCard textarea,
body[data-theme="light"][data-page="user-edit"] .editProfileCard select,
body[data-theme="light"][data-page="user-edit"] .editProfileCard .form-element,
body[data-theme="light"][data-page="user-edit"] .editProfileCard .form-control,
body[data-theme="light"][data-page="user-edit"] .password-confirm input[type="password"],
body[data-theme="light"][data-page="user-edit"] .password-parent input[type="password"]{
  background: var(--arbicar-edit-input-bg);
  color: var(--primary);
  border-color: var(--arbicar-edit-input-border);
  -webkit-text-fill-color: var(--primary);
}
body[data-theme="light"][data-page="user-edit"] .editProfile__fieldLabel,
body[data-theme="light"][data-page="user-edit"] .editProfileCard .label{
  color: #475569;
}
body[data-theme="light"][data-page="user-edit"] .editProfileCard .h1{
  color: #1e293b;
}
body[data-theme="light"][data-page="user-edit"] .editProfileCard .lead{
  color: #475569;
}
body[data-theme="light"][data-page="user-edit"] .editProfile__hint{
  color: var(--muted);
}
body[data-theme="light"][data-page="user-edit"] .description,
body[data-theme="light"][data-page="user-edit"] .form-item__description{
  color: var(--muted) !important;
}
body[data-theme="light"][data-page="user-edit"] .password-strength,
body[data-theme="light"][data-page="user-edit"] .password-confirm,
body[data-theme="light"][data-page="user-edit"] .password-suggestions{
  color: var(--muted);
}
body[data-theme="light"][data-page="user-edit"] .password-strength__meter{
  background: rgba(15, 23, 42, 0.08);
}
body[data-theme="light"][data-page="user-edit"] .editProfile__photo .image-preview,
body[data-theme="light"][data-page="user-edit"] .editProfile__photo img.image-style-thumbnail,
body[data-theme="light"][data-page="user-edit"] .editProfile__photo img[data-drupal-selector]{
  border-color: rgba(15, 23, 42, 0.12);
}
body[data-theme="light"][data-page="user-edit"] .editProfileCard .js-form-managed-file .form-submit,
body[data-theme="light"][data-page="user-edit"] .editProfileCard .form-managed-file .button{
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(15, 23, 42, 0.04);
  color: var(--primary);
}
body[data-theme="light"][data-page="user-edit"] .editProfileCard .js-form-managed-file .form-submit:hover,
body[data-theme="light"][data-page="user-edit"] .editProfileCard .form-managed-file .button:hover{
  background: rgba(15, 23, 42, 0.07);
}
body[data-theme="light"][data-page="user-edit"] .editProfile__details{
  border-color: var(--border);
  background: rgba(15, 23, 42, 0.03);
}
body[data-theme="light"][data-page="user-edit"] .editProfile__details > summary{
  color: var(--primary);
}
body[data-theme="light"][data-page="user-edit"] .editProfileCard table{
  color: var(--primary);
}
body[data-theme="light"][data-page="user-edit"] .editProfileCard th,
body[data-theme="light"][data-page="user-edit"] .editProfileCard td{
  border-color: var(--border);
}
body[data-theme="light"][data-page="user-edit"] .editProfileCard input::placeholder,
body[data-theme="light"][data-page="user-edit"] .editProfileCard textarea::placeholder{
  color: #94a3b8;
  opacity: 1;
}

.authTabs{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.authTab{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  color: rgba(255,255,255,.85);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 900;
  cursor: pointer;
}
.authTab.is-active{
  border-color: rgba(59, 130, 246, .5);
  background: rgba(59, 130, 246, .15);
}

.authPanel{ display: none; }
.authPanel.is-active{ display: block; }

/* Password field with show/hide toggle — icon inside field, equal padding top/right/bottom */
.password-input-wrap {
  position: relative;
  width: 100%;
}
.password-input-wrap .input {
  padding-right: 44px;
  width: 100%;
  box-sizing: border-box;
}
.password-input-wrap .password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  line-height: 0;
  z-index: 1;
  box-sizing: border-box;
}
/* Center icon in input: shift up slightly so top/bottom padding look equal */
.password-input-wrap:has(.form-item) .password-toggle {
  top: calc(1.5em + 6px + 0.95em);
  transform: translateY(-50%);
}
.password-input-wrap .password-toggle:hover { color: rgba(255, 255, 255, 0.9); }
body[data-theme="light"] .password-input-wrap .password-toggle {
  color: rgba(15, 23, 42, 0.45);
}
body[data-theme="light"] .password-input-wrap .password-toggle:hover {
  color: rgba(15, 23, 42, 0.88);
}
.password-input-wrap .password-toggle__icon { display: inline-flex; align-items: center; justify-content: center; }
.password-input-wrap .password-toggle__icon svg { display: block; }

/* Reset password page (user/password) — same style as My account */
body[data-page="user-pass"] main .user-pass-form {
  max-width: 480px;
  margin-top: 1rem;
}
body[data-page="user-pass"] main .form-item {
  margin-bottom: 0.5rem;
}

/* Create account page (user/register) — social block + form */
body[data-page="user-register"] main form.user-register-form {
  max-width: 480px;
  margin-top: 1rem;
}

.authLinks{
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Social login (Google, Apple, Facebook) — same card style */
.authSocial {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.authSocial__label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.authSocial__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn--social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.6);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.btn--social:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn--google .authSocial__icon { color: #ea4335; }
.btn--apple .authSocial__icon { color: #fff; }
.btn--facebook .authSocial__icon { color: #1877f2; }

.linkBtn{
  border: 0;
  background: transparent;
  padding: 0;
  color: #3b82f6;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
}
.linkBtn:hover{ text-decoration: underline; opacity: 0.9; }
/* У темній темі — світлий акцент для Forgot password / Create account */
body:not([data-theme="light"]) .authCard .linkBtn {
  color: #93c5fd;
}

.checkRow{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255,255,255,.78);
  font-weight: 650;
  font-size: 13px;
  line-height: 1.5;
}
.checkRow a{ color: rgba(255,255,255,.92); text-decoration: none; }



@media (max-width: 980px){
  .authShell{ grid-template-columns: 1fr; }
}
/* =========================
   404 page (ADD-ON)
========================= */

.nfCard{ padding: 18px; max-width: 860px; margin: 0 auto; }
.nfActions{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
/* Active nav for topbar */
.topbar .nav a.is-active{
  color: var(--primary);
  font-weight: 600;
}
/* =========================
   Cars data-driven UI (ADD-ON)
========================= */

.carCard__media{ display:block; border-radius: 18px; overflow:hidden; }
.carCard__media img{ width:100%; height:210px; object-fit:cover; display:block; }
.carCard__ph{ width:100%; height:210px; border-radius:18px; background: rgba(255,255,255,.06); }

.carCard__body{ padding: 12px 14px; }
.carCard__top{ display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.carCard__title{ font-weight: 950; }
.carCard__price{ margin-top:6px; font-weight: 950; font-size: 18px; }
.carCard__meta{ margin-top:4px; color: rgba(255,255,255,.65); font-weight: 650; font-size: 12px; }

/* Listing / card Save = same as Post Car (.btn.primary); saved state = Unsave chip */
.listingCard__fav.arbicar-fav-save,
.carFav.arbicar-fav-save,
.btn.arbicar-fav-save{
  border: none;
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 0.8125rem;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
}
.listingCard__fav.arbicar-fav-save:hover,
.carFav.arbicar-fav-save:hover,
.btn.arbicar-fav-save:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.listingCard__fav.arbicar-fav-unsave,
.carFav.arbicar-fav-unsave,
.btn.arbicar-fav-unsave{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  color: rgba(255,255,255,.86);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 0.8125rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  line-height: 1.2;
}
.listingCard__fav.arbicar-fav-unsave:hover,
.carFav.arbicar-fav-unsave:hover,
.btn.arbicar-fav-unsave:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
body[data-theme="light"] .listingCard__fav.arbicar-fav-unsave,
body[data-theme="light"] .carFav.arbicar-fav-unsave,
body[data-theme="light"] .btn.arbicar-fav-unsave{
  border-color: var(--border);
  background: rgba(15,23,42,.06);
  color: var(--primary);
}
body[data-theme="light"] .listingCard__fav.arbicar-fav-unsave:hover,
body[data-theme="light"] .carFav.arbicar-fav-unsave:hover,
body[data-theme="light"] .btn.arbicar-fav-unsave:hover{
  background: rgba(15,23,42,.1);
  border-color: var(--border);
}

.specRow{ display:flex; gap:8px; flex-wrap:wrap; margin-top: 10px; }
.specRow--big{ margin-top: 12px; }
.specChip{
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: 12px;
  color: rgba(255,255,255,.82);
}

.carDetails__head{ padding: 14px 16px; }
.carDetails__headTop{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px 20px; align-items:start; }
.carDetails__price{ font-weight: 950; font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.carDetails__meta{ margin-top:6px; color: rgba(255,255,255,.65); font-weight: 650; font-size: 12px; }
.carDetails__headActions,
.carDetails__headAside{ display:flex; flex-direction:column; gap:10px; align-items:flex-end; }

.carDetails__grid{
  display:grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
  margin-top: 12px;
}
.carGal{ padding: 10px; }
.carGal__item{ display:block; border-radius: 16px; overflow:hidden; }
.carGal__item img{ width:100%; height:260px; object-fit:cover; display:block; margin-bottom:10px; border-radius:16px; }

.carSide{ padding: 16px; }
/* Right card styles in css/car-details-sidebar.css (loads after this file) */
.kv{ margin-top: 10px; display:grid; gap: 8px; }
.kv__row{ display:flex; justify-content:space-between; gap:10px; border-top: 1px solid rgba(255,255,255,.06); padding-top: 10px; }
.kv__row:first-child{ border-top:0; padding-top:0; }
.kv__k{ color: rgba(255,255,255,.65); font-weight: 750; }
.kv__v{ font-weight: 850; }

.carDesc{ padding: 14px 16px; grid-column: 1; grid-row: 2; }

@media (max-width: 980px){
  .carDetails__grid{ grid-template-columns: 1fr; }
  .carCard__media img{ height: 200px; }
}

/* =========================================================
   Variant A (legacy home sections) — compatibility layer
   Purpose: allows the v0-style homepage markup to use the V1 design tokens.
   ========================================================= */

.btn-primary{
  background: var(--brand-gradient);
  color: #fff;
  border: 0;
  box-shadow: 0 16px 35px rgba(59, 130, 246, 0.45);
}
.btn-primary:hover{ filter: brightness(1.05); transform: translateY(-1px); }
.btn-outline{
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}
.btn-outline:hover{ background: rgba(255,255,255,.06); }

.hero{
  position: relative;
  padding: 52px 0 64px;
  min-height: 520px;
  overflow: hidden;
  background-color: #020617;
}
/* Один шар для фону — без псевдоелементів, щоб кути не давали артефактів */
.hero__bg-layer{
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 28px;
  overflow: hidden;
  background-image:
    linear-gradient(
      to bottom,
      rgba(2, 6, 23, 0.35) 0%,
      rgba(15, 23, 42, 0.5) 50%,
      rgba(2, 6, 23, 0.4) 100%
    ),
    url("hero-bg.jpg?v=2");
  background-size: cover, cover;
  background-position: center, center center;
  background-repeat: no-repeat, no-repeat;
  pointer-events: none;
}
body[data-theme="light"] .hero__bg-layer {
  background-image:
    linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.4) 0%,
      rgba(30, 41, 59, 0.5) 50%,
      rgba(15, 23, 42, 0.45) 100%
    ),
    url("hero-bg.jpg?v=2");
}
.hero > .container{ position: relative; z-index: 1; }

.hero-inner{
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 26px;
  align-items: start;
}
@media (max-width: 980px){
  .hero{ padding-top: 62px; }
  .hero-inner{ grid-template-columns: 1fr; }
}

.hero-left{
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.hero-label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: fit-content;
}
.hero-label-dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--good);
}
.hero-title{
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--primary);
  text-shadow: 0 1px 3px rgba(0,0,0,.35), 0 2px 12px rgba(0,0,0,.25);
}
.hero-title .hero-highlight{
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.hero-subtitle{
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}
.hero-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}
.hero-meta-dot{
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--muted);
  margin-right: 6px;
  vertical-align: middle;
}

.hero-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, color 0.2s;
}
.hero .hero-tag:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.hero-tag .dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45,212,191,.12);
}

.hero-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.hero-tags span,
.hero-tags .hero-tag{
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.hero-tags .bullet{
  width: 6px; height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}

.search-card{
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  margin-top: 4px;
}
.search-title-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.search-title-row h3{
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}
.search-title-row span{
  font-size: 0.8rem;
  color: var(--muted);
}
.search-title{ font-weight: 600; margin: 0; }
.search-hint{ color: var(--muted); font-size: 0.8rem; margin: 0; }

.search-form{
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr .9fr auto;
  gap: 12px;
  align-items: end;
}
@media (max-width: 980px){
  .search-form{ grid-template-columns: 1fr 1fr; }
  .search-form .search-submit{ grid-column: 1 / -1; }
}

.field label{
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 6px;
}
.field input,
.field select{
  width: 100%;
  min-height: 42px;
  padding: 10px 14px 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.7);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.field input{
  background-image: none;
  padding-right: 16px;
}
.field select{
  cursor: pointer;
}
.field input::placeholder{
  color: var(--muted);
}
.field input:focus,
.field select:focus{
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-submit .btn,
.search-submit button{
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 600;
}

.hero-card-visual{
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.hero-card-visual-header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,.66);
  font-size: 12px;
  margin-bottom: 12px;
}
.hero-car-box{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(0,0,0,.22);
  padding: 14px;
}
.hero-car-title{
  font-weight: 700;
  margin: 0 0 6px;
}
.hero-car-meta{
  color: rgba(255,255,255,.60);
  font-size: 12px;
  margin: 0 0 10px;
}
.hero-car-price-row{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 0;
}
.hero-car-price{
  font-size: 24px;
  font-weight: 800;
}
.hero-car-score{
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.hero-stats,
.hero-car-stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.hero-stat-card{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(0,0,0,.18);
  padding: 10px 12px;
}
.hero-stat-label{
  display: block;
  color: rgba(255,255,255,.65);
  font-size: 11px;
  margin: 0 0 4px;
}
.hero-stat-value{
  font-weight: 700;
  margin: 0;
  font-size: 0.9rem;
}
.stat-card{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(0,0,0,.18);
  padding: 10px 12px;
}
.stat-title{
  color: rgba(255,255,255,.65);
  font-size: 11px;
  margin: 0 0 6px;
}
.stat-value{
  font-weight: 700;
  margin: 0;
}
.stat-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-size: 12px;
}

.section-header{
  margin: 44px 0 18px;
}
.section-eyebrow{
  color: rgba(255,255,255,.60);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.section-title{
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.section-desc{
  color: var(--muted);
  margin: 0;
}
.page-content .section-body{
  margin-top: 8px;
}
.page-content .section-body p{
  margin: 0 0 0.75em;
}
.page-content .section-body p:last-child{
  margin-bottom: 0;
}

.categories-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .categories-grid{ grid-template-columns: 1fr 1fr; }
}
a.category-card{
  text-decoration: none;
  color: inherit;
  display: block;
}
.category-card{
  border: 1px solid var(--border);
  background: var(--content-card-bg);
  border-radius: var(--content-card-radius);
  box-shadow: var(--content-card-shadow);
  padding: 14px;
  text-decoration: none;
  color: var(--text);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.category-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.category-icon{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(59, 130, 246, .25), rgba(255,79,216,.18));
  border: 1px solid rgba(255,255,255,.10);
  margin-bottom: 10px;
}
.category-card h3{
  margin: 0 0 6px;
  font-size: 14px;
}
.category-card p{
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.listings-header-row{
  margin-bottom: 28px;
}
.listings-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .listings-grid{ grid-template-columns: 1fr; }
}
.listing-card{
  border: 1px solid var(--border);
  background: var(--content-card-bg);
  border-radius: var(--content-card-radius);
  box-shadow: var(--content-card-shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.listing-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.listing-img{
  height: 150px;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.listing-body{ padding: 12px 14px; }
.listing-top{
  display:flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.listing-title{
  font-weight: 700;
  margin: 0;
}
.listing-price{
  font-weight: 800;
  margin: 0;
}
.listing-meta{
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0 0;
}

.how-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}
@media (max-width: 980px){
  .how-grid{ grid-template-columns: 1fr; }
}
.how-text-highlight{
  border: 1px solid var(--border);
  background: var(--content-card-bg);
  border-radius: var(--content-card-radius);
  padding: 18px;
  box-shadow: var(--content-card-shadow);
}
.how-text-highlight h3{ margin: 0 0 8px; }
.how-text-highlight p{ margin: 0; color: var(--muted); }

.how-steps{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.step-card{
  border: 1px solid var(--border);
  background: var(--content-card-bg);
  border-radius: var(--content-card-radius);
  padding: 18px;
  display: flex;
  gap: 14px;
  box-shadow: var(--content-card-shadow);
}
.step-number{
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(99, 102, 241, .35);
}
.step-card h3,
.step-card h4{ margin: 2px 0 6px; font-weight: 700; }
.step-card p{ margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

.testimonials-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .testimonials-grid{ grid-template-columns: 1fr; }
}
.testimonial-card{
  border: 1px solid var(--border);
  background: var(--content-card-bg);
  border-radius: var(--content-card-radius);
  padding: 18px;
  box-shadow: var(--content-card-shadow);
}
.testimonial-card p{ margin: 0 0 12px; color: rgba(255,255,255,.82); }
.testimonial-author{ font-weight: 700; margin: 0; }
.testimonial-role{ color: var(--muted); margin: 2px 0 0; font-size: 12px; }

.newsletter{
  margin: 48px 0 10px;
}
.newsletter-box{
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}
@media (max-width: 980px){
  .newsletter-box{ flex-direction: column; align-items: stretch; gap: 20px; }
}
.newsletter-title{
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 6px;
}
.newsletter-desc{
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.newsletter-form{
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-shrink: 0;
}
@media (max-width: 980px){
  .newsletter-form{ flex-direction: row; flex-wrap: wrap; justify-content: stretch; }
}
.newsletter-email,
.newsletter-form input.newsletter-email{
  min-width: 220px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.12);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.newsletter-form input::placeholder{
  color: var(--muted);
}
.newsletter-email:focus,
.newsletter-form input.newsletter-email:focus{
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.newsletter-submit{
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

/* =========================
   Pricing page (ADD-ON)
========================= */

.plansGrid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 1160px){
  .plansGrid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px){
  .plansGrid{ grid-template-columns: 1fr; }
}

.planCard{ display: flex; flex-direction: column; padding: 16px; border-radius: 24px; }
.planCard--featured{
  border-color: rgba(59, 130, 246, .4);
  background: linear-gradient(180deg, rgba(59, 130, 246, .15), rgba(255,255,255,.04));
}

.planTop{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}
.planKicker{
  color: rgba(255,255,255,.65);
  font-weight: 850;
  font-size: 12px;
}
.planTitle{
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 980;
  letter-spacing: -.2px;
}

.planPriceRow{ display:flex; align-items:baseline; gap:10px; margin-top: 12px; }
.planPrice{ font-size: 34px; font-weight: 980; letter-spacing: -.4px; }
.planUnit{ color: rgba(255,255,255,.62); font-weight: 750; font-size: 13px; }

.planSub{ margin: 10px 0 0; color: rgba(255,255,255,.75); font-weight: 650; line-height: 1.6; font-size: 13px; }
.planList{ margin-top: 10px; }

.planActions{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; }
.planActions .btn{ min-width: 0; flex: 1; justify-content: center; }
.planActions .btn.primary,
.planActions .btn--plan-secondary{ min-height: 44px; font-size: 0.9rem; font-weight: 600; }
.planFine{ margin-top: 10px; color: rgba(255,255,255,.55); font-weight: 650; font-size: 12px; line-height: 1.6; }

/* =========================
   Post Car — premium redesign (2026)
========================= */
body[data-page="post-a-car"]{
  --arbi-rail-width: clamp(96px, 7vw, 112px);
  --arbi-accent-pink: #ec4899;
  --arbi-accent-purple: #a855f7;
  --arbi-accent-blue: #3b82f6;
  --post-car-page-bg: #070b16;
  --post-car-page-bg-rgb: 7, 11, 22;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(236, 72, 153, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 0%, rgba(59, 130, 246, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(139, 92, 246, 0.08), transparent 55%),
    #070b16;
}
body[data-theme="light"][data-page="post-a-car"]{
  --post-car-page-bg: #f1f5f9;
  --post-car-page-bg-rgb: 241, 245, 249;
  --post-car-form-bg: var(--post-car-page-bg);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(236, 72, 153, 0.06), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 0%, rgba(59, 130, 246, 0.08), transparent 50%),
    #f1f5f9;
}
body[data-page="post-a-car"] .topbar .actions > .btn.primary{
  background: var(--brand-gradient);
  border: none;
  color: #fff;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.28);
}
.post-car-page-shell{
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--arbi-rail-width);
  gap: 0;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.post-car-main-content{
  min-width: 0;
}
.post-car-arbi-rail{
  position: relative;
  min-height: 1px;
}
@media (max-width: 980px){
  .post-car-page-shell{
    grid-template-columns: 1fr;
  }
  .post-car-arbi-rail{
    display: none;
  }
}
body[data-page="post-a-car"] .arbiSticker{
  width: 76px;
  height: 76px;
  right: max(12px, calc((100vw - min(calc(var(--max) + var(--arbi-rail-width)), calc(100vw - 36px))) / 2) + 10px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px) + 16px);
  border: none;
  box-shadow: none;
  animation: arbiFloat 4.8s ease-in-out infinite;
}
body[data-page="post-a-car"] .arbiSticker::after{
  display: none;
}
@media (min-width: 981px){
  body[data-page="post-a-car"] .arbiSticker{
    right: max(14px, calc((100vw - min(calc(var(--max) + var(--arbi-rail-width)), calc(100vw - 36px))) / 2) + 12px));
    bottom: 28px;
    width: 80px;
    height: 80px;
  }
  body[data-page="post-a-car"] .arbiPanel{
    right: max(14px, calc((100vw - min(calc(var(--max) + var(--arbi-rail-width)), calc(100vw - 36px))) / 2) + 8px));
  }
}
body[data-page="post-a-car"] .listingBuilder__layout{
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  column-gap: clamp(20px, 2.4vw, 32px);
}
body[data-page="post-a-car"] .listingBuilder__leftCol,
body[data-page="post-a-car"] .listingBuilder__formCol,
body[data-page="post-a-car"] .listingBuilder__form,
body[data-page="post-a-car"] .listingBuilderSection{
  overflow: visible;
}
body[data-page="post-a-car"] .listingBuilder__previewCol{
  z-index: 30;
}
@media (min-width: 981px){
  body[data-page="post-a-car"] .listingBuilder__previewCol{
    top: calc(var(--arbicar-topbar-sticky-inset, 76px) + var(--post-car-preview-sticky-below-topbar, 10px));
  }
}
body[data-page="post-a-car"] .listingBuilder__previewSticky{
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
@media (min-width: 981px){
  body[data-page="post-a-car"] .listingBuilder__previewCol{
    max-height: calc(
      100vh - var(--arbicar-topbar-sticky-inset, 76px) - var(--post-car-preview-sticky-below-topbar, 10px) - 16px
    );
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  body[data-page="post-a-car"] .listingBuilder__previewSticky{
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    gap: 12px;
  }
  body[data-page="post-a-car"] .listingBuilderPreview{
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  body[data-page="post-a-car"] .listingBuilderPreview__card{
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  body[data-page="post-a-car"] .listingBuilderPreview__media{
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body[data-page="post-a-car"] .listingBuilderPreview__media img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  body[data-page="post-a-car"] .listingBuilderPreview__body{
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
  }
  body[data-page="post-a-car"] .listingBuilderPreview__body::-webkit-scrollbar{
    width: 5px;
  }
  body[data-page="post-a-car"] .listingBuilderPreview__body::-webkit-scrollbar-thumb{
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
  }
  body[data-page="post-a-car"] .listingBuilder__previewActions{
    flex: 0 0 auto;
    margin-top: 0;
    padding-top: 12px;
  }
}
.listingBuilder__progressStep{
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(226, 232, 240, 0.88);
  margin-bottom: 8px;
}
body[data-theme="light"] .listingBuilder__progressStep{
  color: #475569;
}
.listingBuilder__navProgress{
  align-items: flex-start;
  max-width: 280px;
}
.listingBuilder__progressTrack{
  height: 6px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.listingBuilder__progressFill{
  background: linear-gradient(90deg, #ec4899, #a855f7, #3b82f6);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.35);
}
.listingBuilder__tabHint{
  margin: 12px 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.92);
  line-height: 1.45;
}
body[data-theme="light"] .listingBuilder__tabHint{
  color: var(--muted);
}
.listingBuilder__pillBar{
  border-radius: 18px;
  padding: 6px;
  gap: 6px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.listingBuilder__pillStep{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 84px;
  padding: 10px 8px 9px;
  border-radius: 14px;
  font-size: 0.6875rem;
}
.listingBuilder__pillIcon{
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}
.listingBuilder__pillLabel{
  line-height: 1.1;
}
body[data-page="post-a-car"] .listingBuilder__pillStep.is-active,
body[data-page="post-a-car"] .listingBuilder__pillStep.is-active.is-progress:not(.is-complete),
body[data-page="post-a-car"] .listingBuilder__pillStep.is-active.is-complete{
  color: #fff;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.28), rgba(59, 130, 246, 0.22));
  border: 1px solid rgba(236, 72, 153, 0.45);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.28),
    0 0 18px rgba(236, 72, 153, 0.28),
    0 0 28px rgba(59, 130, 246, 0.16);
}
body[data-theme="light"][data-page="post-a-car"] .listingBuilder__pillStep.is-active,
body[data-theme="light"][data-page="post-a-car"] .listingBuilder__pillStep.is-active.is-progress:not(.is-complete),
body[data-theme="light"][data-page="post-a-car"] .listingBuilder__pillStep.is-active.is-complete{
  color: #0f172a;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.14), rgba(59, 130, 246, 0.12));
  border-color: rgba(236, 72, 153, 0.35);
}
body[data-page="post-a-car"] .listingBuilderSection{
  border-radius: 20px;
  padding: 18px 18px 20px;
  margin-bottom: 0;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.82), rgba(7, 11, 22, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
body[data-theme="light"][data-page="post-a-car"] .listingBuilderSection{
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
body[data-page="post-a-car"] .listingBuilder__form{
  gap: 14px;
}
.listingBuilderSection__head{
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.listingBuilderSection__icon{
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(59, 130, 246, 0.14));
  border-color: rgba(147, 197, 253, 0.22);
}
.listingBuilderSection__status.is-required{
  border-color: rgba(236, 72, 153, 0.35);
  color: #fbcfe8;
  background: rgba(236, 72, 153, 0.1);
}
.listingBuilderSection__status.is-optional{
  border-color: rgba(148, 163, 184, 0.35);
  color: rgba(226, 232, 240, 0.75);
  background: rgba(255, 255, 255, 0.04);
}
.field__req{
  color: #f472b6;
  font-weight: 800;
}
.field__opt{
  color: rgba(148, 163, 184, 0.85);
  font-weight: 600;
  font-size: 0.8125em;
  text-transform: lowercase;
}
body[data-page="post-a-car"] .post-car-dropdowns .field label{
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.88);
  margin-bottom: 8px;
}
body[data-page="post-a-car"] .post-car-dropdowns .input,
body[data-page="post-a-car"] .post-car-dropdowns .textarea,
body[data-page="post-a-car"] .post-car-dropdowns .custom-select__trigger{
  min-height: 46px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(248, 250, 252, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
body[data-page="post-a-car"] .post-car-dropdowns .custom-select__trigger:focus,
body[data-page="post-a-car"] .post-car-dropdowns .input:focus,
body[data-page="post-a-car"] .post-car-dropdowns .textarea:focus{
  outline: none;
  border-color: rgba(96, 165, 250, 0.65);
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
body[data-theme="light"][data-page="post-a-car"] .post-car-dropdowns .input,
body[data-theme="light"][data-page="post-a-car"] .post-car-dropdowns .textarea,
body[data-theme="light"][data-page="post-a-car"] .post-car-dropdowns .custom-select__trigger{
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}
.listingBuilderPreview{
  padding: 20px 18px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(12, 18, 36, 0.95), rgba(7, 11, 22, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 48px rgba(0, 0, 0, 0.35);
}
.listingBuilderPreview__label{
  letter-spacing: 0.16em;
  color: rgba(167, 139, 250, 0.95);
  margin-bottom: 14px;
}
.listingBuilderPreview__card{
  border-radius: 18px;
  background: rgba(4, 8, 20, 0.72);
  overflow: hidden;
}
body[data-page="post-a-car"] .listingBuilderPreview__card{
  overflow: visible;
}
.listingBuilderPreview__body{
  padding: 16px 14px 14px;
}
.listingBuilderPreview__media{
  position: relative;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
}
.listingBuilderPreview__photoPlaceholder{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 16px;
  text-align: center;
  background:
    radial-gradient(circle at 0% 0%, rgba(236, 72, 153, 0.14), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.94));
  overflow: hidden;
}
.listingBuilderPreview__photoGlow{
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.55;
}
.listingBuilderPreview__photoGlow--tl{
  top: 8px;
  left: 8px;
  background: rgba(236, 72, 153, 0.45);
}
.listingBuilderPreview__photoGlow--br{
  right: 8px;
  bottom: 8px;
  background: rgba(59, 130, 246, 0.45);
}
.listingBuilderPreview__photoCorner{
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}
.listingBuilderPreview__photoCorner--tl{
  top: 10px;
  left: 10px;
  border-top: 2px solid rgba(236, 72, 153, 0.55);
  border-left: 2px solid rgba(236, 72, 153, 0.55);
  border-radius: 3px 0 0 0;
}
.listingBuilderPreview__photoCorner--tr{
  top: 10px;
  right: 10px;
  border-top: 2px solid rgba(59, 130, 246, 0.45);
  border-right: 2px solid rgba(59, 130, 246, 0.45);
  border-radius: 0 3px 0 0;
}
.listingBuilderPreview__photoCorner--bl{
  bottom: 10px;
  left: 10px;
  border-bottom: 2px solid rgba(236, 72, 153, 0.4);
  border-left: 2px solid rgba(236, 72, 153, 0.4);
  border-radius: 0 0 0 3px;
}
.listingBuilderPreview__photoCorner--br{
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid rgba(59, 130, 246, 0.4);
  border-right: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 0 0 3px 0;
}
.listingBuilderPreview__photoPlaceholder[hidden]{
  display: none !important;
}
.listingBuilderPreview__photoSvg{
  position: relative;
  z-index: 1;
  width: min(210px, 82%);
  height: auto;
  max-height: 72px;
  color: rgba(203, 213, 225, 0.68);
  margin-bottom: 4px;
  filter: drop-shadow(0 0 14px rgba(236, 72, 153, 0.12)) drop-shadow(0 0 18px rgba(59, 130, 246, 0.1));
}
.listingBuilderPreview__photoTitle{
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.88);
}
.listingBuilderPreview__photoHint{
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(148, 163, 184, 0.78);
}
.listingBuilderPreview__addPhotos{
  position: relative;
  z-index: 1;
  margin-top: 6px;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(167, 139, 250, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.15s ease;
}
.listingBuilderPreview__addPhotos:hover{
  color: #ec4899;
}
.listingBuilderPreview__addPhotos:focus-visible{
  outline: 2px solid rgba(96, 165, 250, 0.75);
  outline-offset: 3px;
  border-radius: 4px;
}
.listingBuilderPreview__media img{
  position: relative;
  z-index: 1;
}
.listingBuilderPreview__media img[hidden]{
  display: none !important;
}
.listingBuilderPreview__title{
  font-size: 1.25rem;
  font-weight: 900;
}
body[data-page="post-a-car"] .listingBuilderPreview__title.is-placeholder{
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.72);
}
body[data-theme="light"][data-page="post-a-car"] .listingBuilderPreview__title.is-placeholder{
  color: rgba(100, 116, 139, 0.82);
}
body[data-page="post-a-car"] .listingBuilderPreview__top{
  margin-bottom: 0;
}
.listingBuilderPreview__trim{
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 650;
  color: rgba(203, 213, 225, 0.82);
}
.listingBuilderPreview__trim[hidden]{
  display: none !important;
}
.listingBuilderPreview__divider{
  width: 56px;
  height: 3px;
  margin: 10px 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ec4899, #3b82f6);
}
body[data-page="post-a-car"] .listingBuilderPreview__price{
  margin-top: 12px;
}
body[data-page="post-a-car"] .listingBuilderPreview__price.is-empty{
  background: none;
  color: rgba(148, 163, 184, 0.42);
  -webkit-text-fill-color: rgba(148, 163, 184, 0.42);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
}
.listingBuilderPreview__location{
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 12px;
  font-size: 0.875rem;
  font-weight: 650;
  color: rgba(203, 213, 225, 0.85);
}
.listingBuilderPreview__location[hidden]{
  display: none !important;
}
.listingBuilderPreview__locIco{
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(147, 197, 253, 0.9);
}
body[data-page="post-a-car"] .listingBuilderPreview__specs,
body[data-page="post-a-car"] .post-preview-specs{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 14px;
  margin-top: 12px;
}
body[data-page="post-a-car"] .pvSpecChip,
body[data-page="post-a-car"] .post-preview-spec{
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.35;
  color: rgba(226, 232, 240, 0.94);
}
body[data-page="post-a-car"] .pvSpecChip--full,
body[data-page="post-a-car"] .post-preview-spec--wide,
body[data-page="post-a-car"] #pvEngineChip:not([hidden]){
  grid-column: 1 / -1;
}
body[data-page="post-a-car"] .pvSpecChip__ico,
body[data-page="post-a-car"] .post-preview-spec__icon,
body[data-page="post-a-car"] .post-preview-detail__icon{
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: block;
  object-fit: contain;
  object-position: center;
}
body[data-page="post-a-car"] #pvBodyChip .pvSpecChip__ico,
body[data-page="post-a-car"] #pvBodyChip .post-preview-spec__icon,
body[data-page="post-a-car"] #pvBodyChip .post-preview-detail__icon{
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
}
body[data-page="post-a-car"] .pvSpecChip__text,
body[data-page="post-a-car"] .post-preview-spec__text{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pvSpecChip[hidden]{
  display: none !important;
}
@media (max-width: 768px){
  body[data-page="post-a-car"] .pvSpecChip__ico,
  body[data-page="post-a-car"] .post-preview-spec__icon,
  body[data-page="post-a-car"] .post-preview-detail__icon{
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }
  body[data-page="post-a-car"] #pvBodyChip .pvSpecChip__ico,
  body[data-page="post-a-car"] #pvBodyChip .post-preview-spec__icon,
  body[data-page="post-a-car"] #pvBodyChip .post-preview-detail__icon{
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
  }
}
.listingBuilderPreview__vinNote{
  margin: 10px 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(148, 163, 184, 0.55);
}
.listingBuilderPreview__vinNote.is-added{
  color: rgba(134, 239, 172, 0.65);
  font-size: 0.6875rem;
}
.listingBuilderPreview__vinNote[hidden]{
  display: none !important;
}
body[data-page="post-a-car"] .listingBuilderPreview__chips #pvChipVin{
  display: none !important;
}
.btn--outline-secondary{
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(248, 250, 252, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.btn--outline-secondary:hover{
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
body[data-page="post-a-car"] .btn--publish.primary{
  background: var(--brand-gradient);
  border: none;
  color: #fff;
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.28);
}
body[data-page="post-a-car"] .btn--publish.primary:disabled{
  opacity: 0.45;
  filter: grayscale(0.15);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
@media (max-width: 980px){
  body[data-page="post-a-car"]{
    --arbi-rail-width: 0px;
    padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
  }
  body[data-page="post-a-car"] main.container.page{
    max-width: var(--max);
  }
  body[data-page="post-a-car"] .listingBuilder__layout{
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  body[data-page="post-a-car"] .listingBuilderPreview__specs{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  body[data-page="post-a-car"] .arbiSticker{
    width: 68px;
    height: 68px;
    right: max(12px, env(safe-area-inset-right, 0px) + 10px);
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}


/* ===== My Account MVP (dashboard, publications, messages) ===== */
.accountDashboard__header{ margin-bottom: 1.25rem; }
.accountDashboard__title{ margin-top: 0.35rem; }
.accountDashboard__lead{ margin-bottom: 0; }
.accountStatGrid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 1.25rem 0 1.5rem;
}
.accountStatCard{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 14px;
  background: var(--content-card-bg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s;
}
.accountStatCard:hover{
  border-color: rgba(59, 130, 246, .45);
  transform: translateY(-1px);
}
.accountStatCard__label{
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.accountStatCard__value{
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary);
}
.accountStatCard__value--text{
  font-size: 1.15rem;
  font-weight: 700;
}
.accountStatCard__hint{
  font-size: 0.82rem;
  color: var(--muted);
}
.accountDashboard__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 900px){
  .accountStatGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px){
  .accountStatGrid{ grid-template-columns: 1fr; }
}

.publicationList{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 1rem;
}
.publicationRow{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px;
  align-items: start;
}
.publicationRow__thumb{
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,.04);
}
.publicationRow__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.publicationRow__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.publicationRow__title{ margin: 0; font-size: 1.05rem; }
.publicationRow__title a{ color: inherit; text-decoration: none; }
.publicationRow__title a:hover{ color: #60a5fa; }
.publicationRow__status{
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.publicationRow__status--active{
  color: #4ade80;
  border-color: rgba(74, 222, 128, .35);
  background: rgba(74, 222, 128, .08);
}
.publicationRow__status--pending,
.publicationRow__status--draft{
  color: #fbbf24;
  border-color: rgba(251, 191, 36, .35);
  background: rgba(251, 191, 36, .08);
}
.publicationRow__badges{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.publicationRow__vehicleStatus{
  font-size: 0.6875rem;
  opacity: 0.95;
}
.publicationRow__badges .publicationRow__status{
  flex-shrink: 0;
}
.publicationRow__badges .vehicleStatusBadge{
  flex-shrink: 0;
}
.vehicleStatusBadge{
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(203, 213, 225, 0.85);
}
.vehicleStatus--active{
  color: #4ade80;
  border-color: rgba(74, 222, 128, .35);
  background: rgba(74, 222, 128, .08);
}
.vehicleStatus--rebuilt{
  color: #fbbf24;
  border-color: rgba(251, 191, 36, .45);
  background: rgba(251, 191, 36, .12);
}
.vehicleStatus--salvage{
  color: #f87171;
  border-color: rgba(248, 113, 113, .45);
  background: rgba(248, 113, 113, .12);
}
.vehicleStatus--unspecified{
  color: var(--muted);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.listingBuilderPreview__vehicleStatus{
  margin: 6px 0 2px;
}
.arbiBubble.is-error{
  color: #f87171;
  border-color: rgba(248,113,113,.35);
  background: rgba(248,113,113,.08);
}
.arbiBubble a{
  color: #93c5fd;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.arbiSuggest{
  padding: 0 10px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.arbiPanel--listing .arbiSuggest{
  border-top: none;
  padding-top: 2px;
}
.arbiSuggest__chip{
  appearance: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(226,232,240,.92);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.8125rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.arbiSuggest__chip:hover{
  border-color: rgba(96,165,250,.45);
  background: rgba(96,165,250,.08);
}
body[data-theme="light"] .arbiSuggest__chip{
  border-color: var(--content-card-inner-border);
  background: rgba(15,23,42,.03);
  color: var(--text);
}
body[data-theme="light"] .arbiSuggest__chip:hover{
  border-color: rgba(59,130,246,.35);
  background: rgba(59,130,246,.06);
}
.carDetails__vehicleStatus{
  margin-top: 10px;
}
.carDetails__vehicleStatusNote{
  margin: 6px 0 0;
  font-size: 0.8125rem;
  color: rgba(251, 191, 36, 0.92);
  line-height: 1.35;
}
.publicationRow__meta{
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.publicationRow__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn--danger{
  border-color: rgba(248, 113, 113, .45);
  color: #f87171;
}
.btn--danger:disabled{ opacity: .45; }
@media (max-width: 620px){
  .publicationRow{ grid-template-columns: 1fr; }
  .publicationRow__thumb{ max-width: 200px; }
}

.accountEmptyState{
  margin-top: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 520px;
}
.accountEmptyState__icon{
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}
.accountEmptyState__iconWrap{
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(59, 130, 246, .25);
}
.accountEmptyState__title{
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.accountEmptyState__text{
  margin: 0 0 1.25rem;
  color: var(--muted);
}
.accountEmptyState--inMessages{
  margin-top: 0;
  max-width: 400px;
}
.accountPageHead{ margin-bottom: 0.5rem; }
.input--placeholder{
  opacity: .65;
  cursor: not-allowed;
  font-style: italic;
}

.messagesShell{
  padding: 0;
  overflow: hidden;
  margin-top: 0.75rem;
}
.messagesDemoBanner{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #fbbf24;
  background: rgba(251, 191, 36, .1);
  border-bottom: 1px solid rgba(251, 191, 36, .25);
}
.messagesLayout{
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  min-height: 520px;
}
.messagesList{
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  background: rgba(2, 6, 23, .25);
}
.messagesList__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.messagesList__title{ margin: 0; font-size: 0.95rem; font-weight: 700; }
.messagesList__count{
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(59, 130, 246, .15);
  color: #60a5fa;
}
.messagesList__items{
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 460px;
}
.messagesList__empty{ padding: 2rem 1.25rem; text-align: center; }
.messagesList__emptyText{ margin: 0; color: var(--muted); font-size: 0.9rem; }
.messagesConvCard{
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: start;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}
.messagesConvCard:hover,
.messagesConvCard.is-active{ background: rgba(59, 130, 246, .08); }
.messagesConvCard.is-active{ box-shadow: inset 3px 0 0 #3b82f6; }
.messagesConvCard__thumb{
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
}
.messagesConvCard__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-placeholder--sm{
  width: 100%;
  height: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.messagesConvCard__body{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.messagesConvCard__row{
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.messagesConvCard__name{
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.messagesConvCard__time{ font-size: 0.72rem; color: var(--muted); flex-shrink: 0; }
.messagesConvCard__vehicle{
  font-size: 0.78rem;
  color: #60a5fa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.messagesConvCard__preview{
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.messagesConvCard__badge{
  align-self: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5fc0, #4d8eff);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.messagesDetail{
  display: flex;
  flex-direction: column;
  min-height: 520px;
}
.messagesDetail__back{
  align-self: flex-start;
  margin: 10px 12px 0;
  display: none;
}
.messagesLayout--mobileDetail .messagesDetail__back{ display: inline-flex; }
.messagesThread{
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.messagesThread.is-active{ display: flex; }
.messagesThread__head{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.messagesThread__headThumb{
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
}
.messagesThread__buyer{ margin: 0; font-size: 1rem; }
.messagesThread__vehicle{ margin: 2px 0 0; font-size: 0.82rem; color: var(--muted); }
.messagesThread__body{
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.messagesListingCard{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 16px 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, background .15s ease;
}
.messagesListingCard:hover{
  border-color: rgba(59, 130, 246, .35);
  background: rgba(59, 130, 246, .06);
}
.messagesListingCard__thumb{
  flex: 0 0 56px;
  width: 56px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
}
.messagesListingCard__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.messagesListingCard__body{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.messagesListingCard__title{
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.messagesListingCard__price{
  font-size: .82rem;
  color: var(--muted);
}
.messagesListingCard__linkLabel{
  flex: 0 0 auto;
  font-size: .75rem;
  color: rgba(59, 130, 246, .95);
  white-space: nowrap;
}
.messagesThread__emptyHint{
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}
.accountEmptyState__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.messagesCompose--disabled .messagesCompose__hint{
  margin-top: 8px;
}
.messagesBubble{
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.messagesBubble--buyer{
  align-self: flex-start;
  background: rgba(255, 255, 255, .04);
  border-bottom-left-radius: 4px;
}
.messagesBubble--seller{
  align-self: flex-end;
  background: rgba(59, 130, 246, .12);
  border-color: rgba(59, 130, 246, .25);
  border-bottom-right-radius: 4px;
}
.messagesBubble__text{ margin: 0 0 6px; font-size: 0.9rem; line-height: 1.45; }
.messagesBubble__time{ display: block; font-size: 0.7rem; color: var(--muted); }
.messagesBubble--ghost{
  height: 36px;
  min-width: 120px;
  opacity: .25;
  pointer-events: none;
}
.messagesThread--empty{
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}
.messagesPreviewHint{ margin-top: 1.5rem; text-align: center; opacity: .5; }
.messagesPreviewHint__row{
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.messagesPreviewHint__label{
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.messagesCompose{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, .2);
}
.messagesCompose__input{
  grid-column: 1 / -1;
  resize: vertical;
  min-height: 44px;
  opacity: .7;
}
.messagesCompose__send{
  justify-self: end;
  opacity: .55;
  cursor: not-allowed;
}
.messagesCompose__hint{
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 768px){
  .accountNav{
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .accountNav__link{
    flex: 0 0 auto;
    min-width: auto;
    padding: 10px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .messagesLayout{
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .messagesList{
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .messagesList__items{ max-height: 280px; }
  .messagesLayout--mobileDetail .messagesList{ display: none; }
  .messagesDetail{ min-height: 420px; }
}

/* Post Car — photo thumb controls + preview description (functional only) */
.postPhotoThumb{
  position: relative;
}
.postPhotoThumb--draggable{
  cursor: grab;
}
.postPhotoThumb--dragging{
  opacity: 0.55;
}
.postPhotoThumb__actions{
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  display: flex;
  gap: 4px;
  justify-content: space-between;
}
.postPhotoThumb__btn{
  border: 0;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.625rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
  cursor: pointer;
}
.postPhotoThumb__btn--remove{
  min-width: 22px;
  padding: 2px 4px;
  font-size: 0.875rem;
  line-height: 1;
}
body[data-page="post-a-car"] .listingBuilderPreview__desc{
  margin: 10px 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ——— Cars grid: preview-style listing cards ——— */
.listingNoImage{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
  padding: 20px 16px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(236, 72, 153, 0.1), transparent 50%),
    rgba(15, 23, 42, 0.72);
  color: rgba(148, 163, 184, 0.88);
  overflow: hidden;
}
.listingNoImage--compact{
  min-height: 0;
  padding: 16px 12px;
}
.listingNoImage__glow{
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(28px);
  opacity: 0.45;
}
.listingNoImage__glow--tl{
  top: -30px;
  left: -20px;
  background: rgba(59, 130, 246, 0.35);
}
.listingNoImage__glow--br{
  right: -20px;
  bottom: -30px;
  background: rgba(236, 72, 153, 0.28);
}
.listingNoImage__svg{
  position: relative;
  z-index: 1;
  width: min(140px, 70%);
  height: auto;
  opacity: 0.55;
}
.listingNoImage__label{
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(203, 213, 225, 0.78);
}
.listingNoImage__hint{
  position: relative;
  z-index: 1;
  margin: 4px 0 0;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.65);
}
.cardsGrid .listingCard--preview{
  display: block;
  text-decoration: none;
  color: inherit;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.cardsGrid .listingCard--preview.listingCard--withFav{
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}
.cardsGrid .listingCard--preview:hover{
  transform: none;
}
.cardsGrid .listingCard--preview .listingCard__hit{
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.cardsGrid .listingCard--preview .listingCard__hit:hover{
  transform: translateY(-2px);
}
.cardsGrid .listingCard--preview .listingBuilderPreview__card{
  height: 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.12s ease;
}
.cardsGrid .listingCard--preview .listingCard__hit:hover .listingBuilderPreview__card{
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}
.cardsGrid .listingBuilderPreview__media{
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.cardsGrid .listingBuilderPreview__media img{
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  object-fit: cover;
}
.cardsGrid .listingBuilderPreview__body{
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.cardsGrid .listingBuilderPreview__media .listingNoImage{
  aspect-ratio: 16 / 9;
}
.cardsGrid .listingBuilderPreview__title{
  font-size: 1.05rem;
}
.cardsGrid .listingBuilderPreview__price{
  font-size: 1.35rem;
  margin-top: 10px;
}
.cardsGrid .post-preview-specs,
.cardsGrid .listingBuilderPreview__specs{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 10px;
  margin-top: 12px;
}
.cardsGrid .pvSpecChip,
.cardsGrid .post-preview-spec{
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.35;
  color: rgba(226, 232, 240, 0.94);
}
.cardsGrid .pvSpecChip--full,
.cardsGrid .post-preview-spec--wide{
  grid-column: 1 / -1;
}
.cardsGrid .pvSpecChip__ico,
.cardsGrid .post-preview-spec__icon{
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}
.cardsGrid .pvSpecChip--body .pvSpecChip__ico,
.cardsGrid .pvSpecChip--body .post-preview-spec__icon{
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
}
.cardsGrid .pvSpecChip__text,
.cardsGrid .post-preview-spec__text{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mainImg--placeholder .listingNoImage{
  min-height: 180px;
  aspect-ratio: 16 / 9;
}

.carDetails__head{
  padding: 14px 16px;
  margin-top: 8px;
}
.carDetails__headTop{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 20px;
  align-items: start;
}
.carDetails__title{
  margin: 0;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: rgba(248, 250, 252, 0.98);
}
.carDetails__trim{
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 650;
  color: rgba(203, 213, 225, 0.82);
}
.carDetails__meta{
  margin-top: 6px;
  color: rgba(148, 163, 184, 0.92);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.carDetails__seller{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(203, 213, 225, 0.88);
}
.carDetails__sellerType{
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.85);
}
.carDetails__headAside{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.carDetails__price{
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 980;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.carDetails__actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.carDetails__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 14px;
  align-items: start;
  margin-top: 12px;
}
.carDetails__gallery{
  grid-column: 1;
  grid-row: 1;
}
.carDetails__grid .carDetailsSidebar,
.carDetails__grid .aside{
  grid-column: 2;
  grid-row: 1 / -1;
}
.carDetails__grid .carDesc,
.carDetails__description{
  grid-column: 1;
  grid-row: 2;
  padding: 14px 16px;
  margin-top: 0;
}
.carDesc__title{
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.carDesc__body{
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: rgba(226, 232, 240, 0.92);
  white-space: normal;
  word-break: break-word;
}
.carDesc__body p{
  margin: 0 0 0.85em;
}
.carDesc__body p:last-child{
  margin-bottom: 0;
}
.carDesc__empty{
  margin: 0;
  color: rgba(148, 163, 184, 0.78);
  font-style: italic;
}
.carDesc__hr{
  margin: 18px 0;
}
.carDesc__safetyTitle{
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 900;
}
.carDesc__safetyList{
  margin: 0;
  padding-left: 1.15em;
}
.carDesc__safetyList li{
  margin-bottom: 0.5em;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.88);
  font-size: 0.875rem;
}
.carDesc__safetyLink{
  margin: 14px 0 0;
  font-size: 0.875rem;
  font-weight: 750;
}
.carDesc__safetyLink a{
  color: rgba(147, 197, 253, 0.95);
  text-decoration: none;
}
.carDesc__safetyLink a:hover{
  text-decoration: underline;
}
@media (max-width: 980px){
  .carDetails__headTop{
    grid-template-columns: 1fr;
  }
  .carDetails__headAside{
    align-items: flex-start;
    width: 100%;
  }
  .carDetails__price{
    white-space: normal;
  }
  .carDetails__actions{
    justify-content: flex-start;
    width: 100%;
  }
  .carDetails__grid{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .carDetails__gallery,
  .carDetails__grid .carDetailsSidebar,
  .carDetails__grid .aside,
  .carDetails__grid .carDesc,
  .carDetails__description{
    grid-column: 1;
    grid-row: auto;
  }
}
@media (max-width: 520px){
  .carDetails__head{
    padding: 12px 14px;
  }
  .carDetails__actions .btn{
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    justify-content: center;
  }
  .carDetails__grid .carDesc,
  .carDetails__description{
    padding: 14px 16px;
  }
}
