/* ============================================================================
   Zuma Automotive × SBT Japan — cars listing, cards, detail spec table.
   Served from public_html/public/css/sbt-cars.css (asset('css/sbt-cars.css')).
   Everything is scoped under .zc (listing + detail) or .sb-post (post form),
   uses its own --zc-* tokens and never overrides :root / body / headings of
   layouts.site, so the site header, nav and footer are untouched.
   v=20261119f3 (fix3: link filters, chips, USD)
   ============================================================================ */

.zc, .sb-post {
  --zc-red: #C8102E;
  --zc-red-dk: #9E0C24;
  --zc-red-soft: #FDECEF;
  --zc-ink: #111827;
  --zc-ink-2: #4B5563;
  --zc-ink-3: #6B7280;
  --zc-line: #E5E7EB;
  --zc-line-2: #D1D5DB;
  --zc-bg: #F5F6F8;
  --zc-card: #FFFFFF;
  --zc-green: #1DA851;
  --zc-r: 12px;
  --zc-r-sm: 8px;
  --zc-shadow: 0 1px 2px rgba(17,24,39,.05), 0 2px 8px rgba(17,24,39,.05);
  --zc-shadow-h: 0 10px 28px rgba(17,24,39,.12);
  --zc-max: 1440px;
  --zc-side: 250px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--zc-ink);
}
.zc { background: var(--zc-bg); padding-bottom: 48px; overflow-x: clip; }
.zc *, .zc *::before, .zc *::after { box-sizing: border-box; }
.zc h1, .zc h2, .zc h3, .zc h4 { font-family: inherit; letter-spacing: -.01em; color: var(--zc-ink); margin: 0; }
.zc ul, .zc ol { list-style: none; margin: 0; padding: 0; }
.zc img { max-width: 100%; display: block; }
.zc a { color: inherit; text-decoration: none; }
.zc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zc-muted { color: var(--zc-ink-3); font-size: .88rem; }
.zc-wrap { max-width: var(--zc-max); margin: 0 auto; padding: 0 24px; }
.zc-link { color: var(--zc-red); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.zc-link:hover { text-decoration: underline; }
.zc-count { margin-left: auto; font-size: .74rem; font-weight: 700; color: var(--zc-ink-3); background: #F1F2F4; border-radius: 999px; padding: 1px 8px; min-width: 28px; text-align: center; flex-shrink: 0; }

/* ---- buttons --------------------------------------------------------- */
.zc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 18px;
  border-radius: var(--zc-r-sm); border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: .9rem;
  cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.zc-btn--primary { background: var(--zc-red); color: #fff !important; }
.zc-btn--primary:hover { background: var(--zc-red-dk); }
.zc-btn--ghost { background: #fff; color: var(--zc-ink) !important; border-color: var(--zc-line-2); }
.zc-btn--ghost:hover { border-color: var(--zc-red); color: var(--zc-red) !important; }
.zc-btn--wa { background: #25D366; color: #fff !important; }
.zc-btn--wa:hover { background: var(--zc-green); }
.zc-btn--block { width: 100%; }

/* ---- 1. hero banner -------------------------------------------------- */
.zc-hero { position: relative; color: #fff; min-height: 280px; display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(10,14,25,.92) 0%, rgba(10,14,25,.78) 45%, rgba(10,14,25,.35) 100%),
    var(--zc-hero-img, none) right center / cover no-repeat,
    radial-gradient(ellipse at 85% 30%, #7a0b1d 0%, transparent 55%),
    linear-gradient(120deg, #0b1020 0%, #1b2236 60%, #3a0a14 100%);
}
.zc-hero__inner { width: 100%; max-width: var(--zc-max); margin: 0 auto; padding: 36px 24px; display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; }
.zc-hero__eyebrow { margin: 0 0 8px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F7B2BD; }
.zc .zc-hero__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 10px; }
.zc-hero__copy { margin: 0; color: rgba(255,255,255,.82); font-size: 1rem; max-width: 560px; line-height: 1.55; }
.zc-hero__search { display: flex; gap: 8px; background: rgba(255,255,255,.12); padding: 8px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.zc-hero__search input { flex: 1; min-width: 0; height: 46px; border: 0; border-radius: 8px; padding: 0 14px; font: inherit; font-size: .95rem; color: var(--zc-ink); background: #fff; }
.zc-hero__search input:focus { outline: 3px solid rgba(200,16,46,.45); }
.zc-hero__search .zc-btn { min-height: 46px; }

/* ---- section head ---------------------------------------------------- */
.zc-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.zc-section-head h2 { font-size: 1.3rem; font-weight: 800; }
.zc-section-head h2 span { color: var(--zc-red); font-weight: 700; }

/* ---- 2. selected for you: one row × five ----------------------------- */
.zc-selected { padding: 26px 0 8px; }
.zc-selected__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }

/* ---- 3. three-part layout ------------------------------------------- */
.zc-layout { max-width: var(--zc-max); margin: 0 auto; padding: 22px 24px 0; display: grid;
  grid-template-columns: var(--zc-side) minmax(0, 1fr) var(--zc-side); grid-template-areas: "left main right";
  gap: 22px; align-items: start; }
.zc-left { grid-area: left; min-width: 0; }
.zc-main { grid-area: main; min-width: 0; }
.zc-right { grid-area: right; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* boxes (sidebars, detail page) */
.zc-box { background: var(--zc-card); border: 1px solid var(--zc-line); border-radius: var(--zc-r); padding: 14px; box-shadow: var(--zc-shadow); }
.zc .zc-box__title { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--zc-ink-2); margin: 0 0 10px; }

/* ---- left filters --------------------------------------------------- */
.zc-left__toggle { display: none; width: 100%; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: var(--zc-r);
  background: var(--zc-ink); color: #fff; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.zc-filter-body { display: flex; flex-direction: column; gap: 14px; }
.zc-makes { max-height: 360px; overflow-y: auto; margin: 0 -6px; padding: 0 6px; scrollbar-width: thin; display: flex; flex-direction: column; gap: 2px; }
.zc-make, .zc-body { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--zc-r-sm); cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--zc-ink); border: 1px solid transparent; transition: background .12s, border-color .12s; }
.zc-make:hover, .zc-body:hover { background: #F6F7F9; }
.zc-make.is-on, .zc-body.is-on, .zc-make:has(input:checked), .zc-body:has(input:checked) { background: var(--zc-red-soft); border-color: rgba(200,16,46,.35); }
.zc-make input, .zc-body input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.zc-make input:focus-visible + .zc-make__logo, .zc-body input:focus-visible + .zc-body__icon { outline: 2px solid var(--zc-red); }
.zc-make__logo { width: 34px; height: 26px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--zc-line); border-radius: 6px; padding: 2px; }
.zc-make__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.zc-make__name, .zc-body__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zc-bodies { display: flex; flex-direction: column; gap: 2px; max-height: 300px; overflow-y: auto; }
.zc-body__icon { width: 34px; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.zc-body__icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zc-body__icon:empty::before { content: ''; width: 26px; height: 12px; border: 2px solid var(--zc-ink-3); border-radius: 6px 9px 3px 3px; opacity: .55; }
.zc-bands { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.zc-radio { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 6px; font-size: .86rem; font-weight: 600; cursor: pointer; }
.zc-radio:hover { background: #F6F7F9; }
.zc-radio input { accent-color: var(--zc-red); margin: 0; }
.zc-range { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 6px; align-items: center; color: var(--zc-ink-3); }
.zc-range input, .zc-field select, .zc-field input, .zc-field textarea { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid var(--zc-line-2);
  border-radius: var(--zc-r-sm); background: #fff; font: inherit; font-size: .88rem; color: var(--zc-ink); }
.zc-field textarea { height: auto; padding: 9px 10px; resize: vertical; }
.zc-range input:focus, .zc-field select:focus, .zc-field input:focus, .zc-field textarea:focus { outline: none; border-color: var(--zc-red); box-shadow: 0 0 0 3px rgba(200,16,46,.14); }
.zc-box--fields { display: flex; flex-direction: column; gap: 10px; }
.zc-field { display: flex; flex-direction: column; gap: 4px; }
.zc-field > span { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--zc-ink-3); }
.zc-left__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

/* ---- middle: toolbar + 4-column grid --------------------------------- */
.zc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--zc-line); border-radius: var(--zc-r); padding: 10px 14px; margin-bottom: 14px; }
.zc-toolbar__count { margin: 0; font-size: .9rem; color: var(--zc-ink-2); }
.zc-toolbar__count b { color: var(--zc-ink); }
.zc-toolbar__sort { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--zc-ink-2); }
.zc-toolbar__sort select { height: 36px; padding: 0 10px; border: 1px solid var(--zc-line-2); border-radius: var(--zc-r-sm); font: inherit; font-size: .86rem; background: #fff; }
.zc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.zc-empty { grid-column: 1 / -1; background: #fff; border: 1px dashed var(--zc-line-2); border-radius: var(--zc-r); padding: 40px 20px; text-align: center; }
.zc-empty h3 { font-size: 1.1rem; margin-bottom: 6px; }
.zc-empty p { margin: 0; color: var(--zc-ink-2); }
.zc-empty a { color: var(--zc-red); font-weight: 700; }
.zc-pager { margin-top: 8px; }
.zc-pager .zuma-pagination li.active span { background: var(--zc-red); border-color: var(--zc-red); }
.zc-pager .zuma-pagination li a:hover { border-color: var(--zc-red); color: var(--zc-red); }

/* ---- car card (grid + selected) -------------------------------------- */
.zc-card { display: flex; flex-direction: column; min-width: 0; background: var(--zc-card); border: 1px solid var(--zc-line);
  border-radius: var(--zc-r); overflow: hidden; box-shadow: var(--zc-shadow); transition: box-shadow .18s, transform .18s; }
.zc-card:hover { box-shadow: var(--zc-shadow-h); transform: translateY(-2px); }
.zc-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: #EEF0F3; overflow: hidden; }
.zc-card__media > img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s; }
.zc-card:hover .zc-card__media > img { transform: scale(1.03); }
.zc img.is-ph { object-fit: contain !important; padding: 16% 18%; background: #E9EDF3; transform: none !important; }
.zc-mini img.is-ph { padding: 6px; }
.zc-card__logo { position: absolute; top: 8px; left: 8px; width: 40px; height: 28px; background: rgba(255,255,255,.95); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; padding: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.zc-card__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.zc-card__tag { position: absolute; bottom: 8px; left: 8px; background: rgba(17,24,39,.78); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zc-card__body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; flex: 1; }
.zc .zc-card__name { font-size: .9rem; font-weight: 700; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.zc-card__name a:hover { color: var(--zc-red); }
.zc-card__specs { display: flex; flex-wrap: wrap; gap: 4px; font-size: .72rem; color: var(--zc-ink-2); font-weight: 600; }
.zc-card__specs li { background: #F3F4F6; border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.zc-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; padding-top: 8px; border-top: 1px solid #F0F1F3; }
.zc-card__price { font-size: clamp(.84rem, .9vw, .98rem); font-weight: 800; color: var(--zc-red); white-space: nowrap; min-width: 0; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.zc-card__price.is-ask { color: var(--zc-ink-2); font-size: .86rem; font-weight: 700; }
.zc-card__cta { flex-shrink: 0; margin-left: auto; font-size: .78rem; font-weight: 800; color: var(--zc-red) !important; border: 1.5px solid var(--zc-red); border-radius: 6px; padding: 4px 10px; transition: background .15s, color .15s; }
.zc-card__cta:hover { background: var(--zc-red); color: #fff !important; }

/* ---- right sidebar --------------------------------------------------- */
.zc-ticks { display: flex; flex-direction: column; gap: 8px; font-size: .84rem; color: var(--zc-ink-2); line-height: 1.45; }
.zc-ticks li { position: relative; padding-left: 22px; }
.zc-ticks li::before { content: '✓'; position: absolute; left: 0; top: 2px; color: #fff; background: var(--zc-green); width: 16px; height: 16px; border-radius: 50%; font-size: .66rem; display: flex; align-items: center; justify-content: center; }
.zc-ticks b { color: var(--zc-ink); }
.zc-cta p { margin: 0 0 10px; font-size: .86rem; color: var(--zc-ink-2); line-height: 1.5; }
.zc-cta .zc-btn { width: 100%; }
.zc-links { display: flex; flex-direction: column; }
.zc-links a { display: flex; align-items: center; gap: 8px; padding: 7px 4px; border-bottom: 1px solid #F0F1F3; font-size: .86rem; font-weight: 600; }
.zc-links li:last-child a { border-bottom: 0; }
.zc-links a span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zc-links a:hover { color: var(--zc-red); }
.zc-mini { display: flex; flex-direction: column; gap: 10px; }
.zc-mini a { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 10px; align-items: center; }
.zc-mini img { width: 72px; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 6px; background: #EEF0F3; }
.zc-mini b { display: block; font-size: .8rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zc-mini small { display: block; font-size: .74rem; color: var(--zc-ink-3); font-weight: 600; }
.zc-mini a:hover b { color: var(--zc-red); }
.zc-steps { counter-reset: zcstep; display: flex; flex-direction: column; gap: 10px; }
.zc-steps li { counter-increment: zcstep; position: relative; padding-left: 34px; font-size: .82rem; line-height: 1.35; }
.zc-steps li::before { content: counter(zcstep); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--zc-red-soft); color: var(--zc-red); font-weight: 800; font-size: .78rem; display: flex; align-items: center; justify-content: center; }
.zc-steps b { display: block; color: var(--zc-ink); }
.zc-steps span { color: var(--zc-ink-3); }

/* ---- detail page: gallery + 2-column spec table ----------------------- */
.zc.zc-show { max-width: 1240px; margin: 0 auto; padding: 18px 24px 56px; background: transparent; }
.zc-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--zc-ink-3); margin-bottom: 12px; }
.zc-crumbs a:hover { color: var(--zc-red); }
.zc-show__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.zc .zc-show__head h1 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.zc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.zc-chips li { font-size: .78rem; font-weight: 700; color: var(--zc-ink-2); background: #fff; border: 1px solid var(--zc-line); border-radius: 999px; padding: 3px 10px; }
.zc-chips li.is-ok { color: var(--zc-green); border-color: rgba(29,168,81,.4); }
.zc-show__price { font-size: 1.6rem; font-weight: 800; color: var(--zc-red); white-space: nowrap; }
.zc-show__price.is-ask { color: var(--zc-ink-2); font-size: 1.2rem; }
.zc-show__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.zc-gallery__main { aspect-ratio: 4 / 3; background: #EEF0F3; border-radius: var(--zc-r); overflow: hidden; border: 1px solid var(--zc-line); }
.zc-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.zc-gallery__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.zc-gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #EEF0F3; aspect-ratio: 4 / 3; }
.zc-gallery__thumbs button.is-on, .zc-gallery__thumbs button:hover { border-color: var(--zc-red); }
.zc-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.zc-specbox { background: #fff; border: 1px solid var(--zc-line); border-radius: var(--zc-r); box-shadow: var(--zc-shadow); padding: 16px; }
.zc .zc-specbox h2, .zc.zc-show .zc-box h2 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.zc-spec { display: table; max-width: none; overflow: visible; width: 100%; border-collapse: collapse; font-size: .88rem; margin-bottom: 14px; table-layout: fixed; }
.zc-spec th, .zc-spec td { padding: 8px 10px; border-bottom: 1px solid #EEF0F3; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.zc-spec th { width: 42%; font-weight: 600; color: var(--zc-ink-3); background: #FAFAFB; }
.zc-spec td { font-weight: 700; color: var(--zc-ink); }
.zc-spec tr:nth-child(even) th { background: #F4F5F7; }
.zc-spec tr:last-child th, .zc-spec tr:last-child td { border-bottom: 0; }
.zc-spec tr.is-price td { color: var(--zc-red); font-size: 1rem; }
.zc-show__desc { margin-top: 20px; font-size: .92rem; line-height: 1.65; color: var(--zc-ink-2); }
.zc-order { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.zc-order__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zc-order__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.zc-errors { margin-top: 18px; background: var(--zc-red-soft); border: 1px solid rgba(200,16,46,.35); color: var(--zc-red-dk); border-radius: var(--zc-r-sm); padding: 12px 14px; font-size: .88rem; }

/* ---- post-a-car form (car-post.blade.php) ----------------------------- */
.sb-post { max-width: 1100px; margin: 0 auto; padding: 24px 24px 60px; }
.sbt-eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #C8102E; margin: 0 0 6px; }
.sbt-muted { color: #6B7280; }
.sb-post h1 { margin-bottom: 8px; }
.sb-post .lead { color: #4B5563; margin-bottom: 22px; }
.sb-post-form { background: #fff; border: 1px solid var(--zc-line); border-radius: var(--zc-r); box-shadow: var(--zc-shadow); padding: 22px; }
.sb-post-form .sb-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.sb-post-form .sb-field:last-child { margin-bottom: 0; }
.sb-post-form .sb-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sb-post-form .sb-field label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--zc-ink-3); font-weight: 800; }
.sb-post-form .sb-field input, .sb-post-form .sb-field select, .sb-post-form .sb-field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--zc-line-2); border-radius: var(--zc-r-sm); font: inherit; font-size: .92rem; color: var(--zc-ink); background: #fff; }
.sb-post-form .sb-field input:focus, .sb-post-form .sb-field select:focus, .sb-post-form .sb-field textarea:focus { outline: none; border-color: var(--zc-red); box-shadow: 0 0 0 3px rgba(200,16,46,.15); }
.sb-post-form .sb-field textarea { resize: vertical; }
.sb-post-form .sb-errors { background: var(--zc-red-soft); border: 1px solid rgba(200,16,46,.35); border-radius: var(--zc-r-sm); padding: 12px 14px; font-size: .85rem; color: var(--zc-red-dk); margin-bottom: 16px; }
.sb-post-form .sb-errors ul { margin: 0; padding-left: 18px; }
.sb-post-form .sb-actions { display: flex; gap: 12px; }
.sbt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 26px; border-radius: 8px; border: 1.5px solid transparent; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.sbt-btn--primary { background: #C8102E; color: #fff; }
.sbt-btn--primary:hover { background: #9E0C24; }
.sbt-btn--ghost { background: #fff; color: #111827; border-color: #D1D5DB; }

/* ======================================================================
   Responsive
   ====================================================================== */
/* 1280–1439: slightly narrower sidebars so the 4-col grid keeps room */
@media (max-width: 1439px) {
  .zc { --zc-side: 236px; }
  .zc-layout { gap: 18px; }
  .zc-grid { gap: 12px; }
}
/* 1024–1279: right sidebar drops below, grid 3 columns */
@media (max-width: 1279px) {
  .zc-layout { grid-template-columns: var(--zc-side) minmax(0, 1fr); grid-template-areas: "left main" "right right"; }
  .zc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zc-right { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; margin-top: 8px; }
  .zc-selected__row { gap: 12px; }
}
/* 768–1023: sidebars stack, grid 2 columns, selected row scrolls */
@media (max-width: 1023px) {
  .zc-hero__inner { grid-template-columns: 1fr; gap: 18px; padding: 30px 20px; }
  .zc-hero { min-height: 0; }
  .zc-wrap, .zc-layout { padding-left: 16px; padding-right: 16px; }
  .zc-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "left" "main" "right"; gap: 16px; }
  .zc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zc-selected__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .zc-selected__row > .zc-card { flex: 0 0 230px; scroll-snap-align: start; }
  .zc-selected__row > .zc-card:hover { transform: none; }
  .zc-left__toggle { display: flex; }
  .zc-filter-body { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .zc-filter-body > .zc-left__actions { grid-column: 1 / -1; }
  .zc.zc-js .zc-left:not(.is-open) .zc-filter-body { display: none; }
  .zc-left.is-open .zc-left__chev { transform: rotate(180deg); }
  .zc-makes { max-height: 260px; }
  .zc-show__grid, .zc-order { grid-template-columns: minmax(0, 1fr); }
}
/* < 768: keep 2 columns for mobile */
@media (max-width: 767px) {
  .zc-hero__search { flex-direction: column; }
  .zc-hero__search .zc-btn { width: 100%; }
  .zc-hero__search input { flex: none; width: 100%; }
  .zc-section-head h2 { font-size: 1.1rem; }
  .zc-section-head h2 span { display: block; font-size: .95rem; }
  .zc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zc-filter-body { grid-template-columns: minmax(0, 1fr); }
  .zc-right { grid-template-columns: minmax(0, 1fr); }
  .zc-selected__row > .zc-card { flex-basis: 72%; }
  .zc.zc-show { padding: 14px 16px 40px; }
  .zc-order__grid, .sb-post-form .sb-grid2 { grid-template-columns: minmax(0, 1fr); }
  .zc-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .zc-toolbar { padding: 10px 12px; }
}

/* ---- fix3: link-based filters, facet counts, chips, USD ---------------- */
.zc-make, .zc-body, .zc-band { text-decoration: none !important; }
.zc-make:focus-visible, .zc-body:focus-visible, .zc-band:focus-visible, .zc-chip:focus-visible { outline: 2px solid var(--zc-red); outline-offset: 1px; }
.zc-make.is-on .zc-count, .zc-body.is-on .zc-count, .zc-band.is-on .zc-count { background: var(--zc-red); color: #fff; }
.zc-make.is-on .zc-make__name, .zc-body.is-on .zc-body__name, .zc-band.is-on .zc-band__name { color: var(--zc-red-dk); font-weight: 800; }
.zc-x { flex-shrink: 0; font-size: .7rem; color: var(--zc-red); font-weight: 800; margin-left: -4px; }
.zc-band { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--zc-r-sm); font-size: .86rem; font-weight: 600; color: var(--zc-ink); border: 1px solid transparent; cursor: pointer; transition: background .12s, border-color .12s; }
.zc-band:hover { background: #F6F7F9; }
.zc-band.is-on { background: var(--zc-red-soft); border-color: rgba(200,16,46,.35); }
.zc-band__dot { width: 14px; height: 14px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--zc-line-2); background: #fff; }
.zc-band.is-on .zc-band__dot { border-color: var(--zc-red); box-shadow: inset 0 0 0 3px #fff; background: var(--zc-red); }
.zc-band__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zc-body.is-zero, .zc-band.is-zero { opacity: .42; cursor: default; }
.zc-body.is-zero:hover, .zc-band.is-zero:hover { background: transparent; }
.zc-filter-form { display: contents; }
.zc-range { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto; }
.zc-range__go { min-height: 38px; padding: 6px 10px; }
.zc.zc-js .zc-nojs-only { display: none; }
.zc.zc-js .zc-left__actions { grid-template-columns: 1fr; }
.zc-left__clear { display: block; text-align: center; padding: 9px 12px; border-radius: var(--zc-r); border: 1.5px dashed rgba(200,16,46,.45); background: #fff; color: var(--zc-red) !important; font-weight: 800; font-size: .86rem; }
.zc-left__clear:hover { background: var(--zc-red-soft); }
.zc-left__n { margin-left: 8px; font-size: .72rem; font-weight: 700; background: var(--zc-red); color: #fff; border-radius: 999px; padding: 1px 8px; }
.zc-results-head { margin: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.zc .zc-results-head__title { font-size: 1.25rem; font-weight: 800; line-height: 1.25; }
.zc-active { display: flex; flex-wrap: wrap; gap: 6px; }
.zc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--zc-red-soft); border: 1px solid rgba(200,16,46,.35); color: var(--zc-red-dk) !important; font-size: .8rem; font-weight: 700; line-height: 1.3; }
.zc-chip span[aria-hidden] { font-size: .68rem; }
.zc-chip:hover { background: #fff; border-color: var(--zc-red); }
.zc-chip--clear { background: #fff; border-style: dashed; color: var(--zc-ink-2) !important; }
.zc-make.is-pending, .zc-body.is-pending, .zc-band.is-pending { background: var(--zc-red-soft); border-color: var(--zc-red); }
.zc.zc-loading .zc-grid { opacity: .5; transition: opacity .15s; pointer-events: none; }
.zc-show__pricebox { text-align: right; }
.zc-show__fee { margin: 2px 0 0; font-size: .78rem; font-weight: 600; color: var(--zc-ink-3); }
@media (max-width: 1023px) {
  .zc-filter-body > .zc-left__clear, .zc-filter-form > .zc-left__actions { grid-column: 1 / -1; }
  .zc-show__pricebox { text-align: left; }
}
#stock { scroll-margin-top: 124px; }

/* ---- WhatsApp price & processing CTA (partials/whatsapp-cta) ---------- */
.zc-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 16px;
  border-radius: var(--zc-r-sm, 8px); background: #25D366; color: #fff !important; font-weight: 800; font-size: .9rem; line-height: 1.2;
  text-decoration: none !important; border: 0; box-shadow: 0 1px 2px rgba(0,0,0,.08); transition: background .15s, box-shadow .15s; cursor: pointer; }
.zc-wa:hover { background: #1DA851; color: #fff !important; box-shadow: 0 4px 12px rgba(37,211,102,.35); }
.zc-wa:focus-visible { outline: 3px solid #128C7E; outline-offset: 2px; }
.zc-wa__icon { flex-shrink: 0; }
.zc-wa__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zc-wa--full { width: 100%; min-height: 48px; font-size: .95rem; }
.zc-wa--card { width: 100%; min-height: 32px; padding: 6px 10px; gap: 6px; font-size: .78rem; border-radius: 6px; margin-top: 6px; }
.zc-wa--card .zc-wa__icon { width: 15px; height: 15px; }
.zc-cta .zc-wa, .ax-panel .zc-wa { margin-top: 4px; }
.ax-panel .zc-wa--full { margin-top: 10px; }
/* detail page: CTA under the header price */
.zc-show__pricebox { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 260px; }
.zc-show__wa { width: auto; min-width: 280px; margin-top: 4px; }
/* processing steps + continental links */
.zc-process { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
.zc-process .zc-steps { margin: 0; }
.zc-process__links .zc-links a { color: var(--zc-red-dk); font-weight: 700; }
/* mobile sticky WhatsApp bar (car detail) */
.zc-wabar { display: none; }
@media (max-width: 1023px) {
  .zc-process { grid-template-columns: minmax(0, 1fr); }
  .zc-show__pricebox { align-items: flex-start; }
}
@media (max-width: 768px) {
  .zc-show__pricebox { width: 100%; min-width: 0; }
  .zc-show__wa { width: 100%; min-width: 0; }
  .zc.zc-show { padding-bottom: 96px; }
  .zc-wabar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; align-items: center; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--zc-line);
    box-shadow: 0 -6px 18px rgba(17,24,39,.12); }
  .zc-wabar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
  .zc-wabar__info b { font-size: .82rem; color: var(--zc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .zc-wabar__info span { font-size: .9rem; font-weight: 800; color: var(--zc-red); white-space: nowrap; }
  .zc-wabar__info span.is-ask { color: var(--zc-ink-2); font-size: .82rem; }
  .zc-wabar__btn { flex-shrink: 0; min-height: 44px; padding: 10px 14px; }
}
.zc-wa--full .zc-wa__label, .zc-wa--inline .zc-wa__label { white-space: normal; text-align: center; }
.zc-wabar .zc-wa__label { white-space: nowrap; }
