/* ===== Font (disimpan di server sendiri, subset latin) ===== */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }

/* ===== Token ===== */
:root {
  --brand: #C8102E;            /* ditimpa dari Pengaturan > Warna merek */
  --ink: #15212C;
  --ink-soft: #3A4955;
  --muted: #5E6B77;
  --paper: #EEF1F4;
  --surface: #FFFFFF;
  --section: #FFFFFF;
  --header-bg: #FFFFFF; --header-fg: #15212C; --header-fg-soft: #3A4955; --header-line: rgba(21,33,44,.14);
  --footer-bg: #15212C; --footer-fg: rgba(255,255,255,.78); --footer-fg-strong: #FFFFFF; --footer-line: rgba(255,255,255,.16);
  --line: #D6DCE2;
  --wa: #168A47;
  --wa-hover: #127339;
  --radius-s: 4px;
  --radius-m: 10px;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.005em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.is-hidden { display: none !important; }
.empty { padding: 2rem 0; color: var(--muted); }

/* ===== Tombol ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .6rem 1.15rem;
  border: 2px solid transparent; border-radius: var(--radius-s); font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { filter: brightness(.92); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.icon { flex: none; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); color: var(--header-fg); border-bottom: 1px solid var(--header-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { text-decoration: none; display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.brand-name { font: 700 1.5rem/1 var(--font-display); }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: .5rem .65rem; text-decoration: none; font-weight: 500; color: var(--header-fg-soft); border-bottom: 3px solid transparent; }
.site-nav li a:hover { color: var(--header-fg); }
.site-nav li a[aria-current="page"] { color: var(--header-fg); border-bottom-color: var(--brand); }
.header-wa { min-height: 40px; padding: .45rem .9rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--header-fg); content: ""; }
.nav-toggle-bar { top: 21px; } .nav-toggle-bar::before { top: -7px; left: 0; } .nav-toggle-bar::after { top: 7px; left: 0; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--header-bg);
    border-bottom: 1px solid var(--header-line); padding: .5rem 20px 1.25rem; display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav li a { padding: .75rem 0; border-bottom: 1px solid var(--header-line); }
  .site-nav li a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 4px 0 0 var(--brand); padding-left: .75rem; border-bottom-color: var(--header-line); }
  .header-wa { margin-top: 1rem; min-height: 48px; }
}

/* ===== Hero ===== */
.hero-slider { position: relative; background: var(--ink); }
.slides { position: relative; }
.slide { display: none; position: relative; }
.slide.is-active { display: block; }
.slide img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; }
@media (max-width: 700px) { .slide img { aspect-ratio: 4 / 3; } }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 2.5rem; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.5); pointer-events: none; }
.slide-caption h2 { font-size: clamp(1.75rem, 5vw, 3.5rem); max-width: 16ch; margin-bottom: .25rem; }
.slide-caption p { font-size: 1.125rem; max-width: 40ch; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: .9rem; display: flex; gap: .4rem; }
.slider-dots button { width: 28px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.slider-dots button[aria-selected="true"] { background: #fff; }

.hero-text { background: var(--ink); color: #fff; padding: clamp(3rem, 9vw, 6rem) 0; border-bottom: 6px solid var(--brand); }
.hero-text h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); max-width: 14ch; }
.hero-text p { font-size: 1.25rem; max-width: 46ch; color: #C9D2DA; }
.hero-text .btn-ghost { border-color: #fff; color: #fff; }
.hero-text .btn-ghost:hover { background: #fff; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ===== Section ===== */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-tight { padding-top: 1.5rem; }
.section-alt { background: var(--section); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
.section-head .section-title { margin: 0; }
.link-more { font-weight: 600; color: var(--ink); text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
.page-head { background: var(--section); border-bottom: 1px solid var(--line); padding: 2rem 0 1.5rem; }
.page-head h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: .25rem; }
.page-lead { color: var(--muted); max-width: 65ch; }
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: .5rem; }
.crumbs a { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.chip { display: inline-block; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ===== Kartu mobil & label harga ===== */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.car-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; transition: border-color .15s; }
.car-card:hover { border-color: #9AA6B1; }
.car-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.car-card-media { background: linear-gradient(180deg, #F7F9FA, #E6EAEE); aspect-ratio: 16 / 10; }
.car-card-media img { width: 100%; height: 100%; object-fit: contain; padding: .75rem; }
.img-placeholder { width: 100%; height: 100%; min-height: 120px; background: #E1E6EB; }
.car-card-body { padding: .9rem 1rem 1rem; border-top: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; }
.car-card-cat { font-size: .875rem; color: var(--muted); }
.car-card-name { font-size: 1.6rem; margin: .1rem 0 .75rem; }
.car-card-link:hover .car-card-name { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.car-card-actions { display: grid; gap: .5rem; padding: 0 1rem 1rem; }
.btn-card { min-height: 42px; padding: .5rem .75rem; font-size: .95rem; width: 100%; }
.btn-soft { background: #E3EAF1; color: var(--ink); }
.btn-soft:hover { background: #D3DDE7; }

.price-tag { margin: auto 0 0; display: flex; flex-direction: column; border-left: 4px solid var(--brand); padding-left: .65rem; }
.price-from { font-size: .875rem; color: var(--muted); line-height: 1.2; }
.price-value { font: 700 1.75rem/1.05 var(--font-display); font-variant-numeric: tabular-nums; }
.price-ask { font-size: 1.35rem; color: var(--ink-soft); }
.price-tag-lg { margin: 1.25rem 0; }
.price-tag-lg .price-value { font-size: clamp(2.25rem, 5vw, 3.25rem); }

/* ===== Promo & artikel ===== */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.promo-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; text-decoration: none; }

.promo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.promo-card-body { padding: 1rem 1.1rem 1.25rem; }
.promo-card h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.promo-card p { color: var(--ink-soft); margin-bottom: .5rem; }
.promo-until { font-size: .95rem; font-weight: 600; color: var(--brand) !important; margin: 0; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.article-card a { display: block; text-decoration: none; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }

.article-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card-body { padding: 1rem 1.1rem 1.25rem; }
.article-card time { font-size: .9rem; color: var(--muted); }
.article-card h3 { font-size: 1.45rem; margin: .2rem 0 .4rem; }
.article-card p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.pagination a { font-weight: 600; }

.credit-band { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: var(--ink); color: #fff; padding: 2rem; border-radius: var(--radius-m); }
.credit-band p { color: #C9D2DA; max-width: 60ch; margin: 0; }

/* ===== Detail mobil ===== */
.car-hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.5rem; padding-top: 2rem; padding-bottom: 1rem; align-items: start; }
@media (max-width: 860px) { .car-hero { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 1rem; } }
.gallery-main { background: linear-gradient(180deg, #F7F9FA, #E2E7EC); border: 1px solid var(--line); border-radius: var(--radius-m); aspect-ratio: 16 / 10; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: .5rem; list-style: none; padding: 0; margin: .6rem 0 0; overflow-x: auto; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-s); background: var(--surface); cursor: pointer; width: 96px; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--brand); }
.gallery-thumbs img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; }
.car-title { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: .25rem; }
.car-lead { font-size: 1.15rem; color: var(--ink-soft); }
.car-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.price-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.price-table th, .price-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { font-size: .9rem; color: var(--muted); font-weight: 600; background: #F6F8F9; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table .num { text-align: right; width: 1%; white-space: nowrap; }
.price-table td:last-child:not(.num) { width: 1%; white-space: nowrap; }
.price-cell { font: 700 1.3rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.link-wa { color: var(--wa); font-weight: 600; }

.car-body { display: grid; grid-template-columns: 1fr 400px; gap: 2.5rem; padding-top: 1rem; padding-bottom: 3rem; align-items: start; }
@media (max-width: 960px) { .car-body { grid-template-columns: 1fr; } }
.car-credit { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius-m); padding: 1.25rem; position: sticky; top: 88px; }
@media (max-width: 960px) { .car-credit { position: static; } }
.car-credit .section-title { font-size: 1.6rem; }
.spec-list { display: grid; grid-template-columns: 1fr; margin: 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 500; }
.specs { margin-top: 2rem; }

.prose { max-width: 70ch; }
.prose img { border-radius: var(--radius-s); margin: 1rem 0; }
.prose h2 { font-size: 1.9rem; margin-top: 1.5em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.3em; }
.prose a { color: var(--brand); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose blockquote { margin: 1.25rem 0; padding-left: 1rem; border-left: 4px solid var(--line); color: var(--ink-soft); }
.prose table { border-collapse: collapse; width: 100%; } .prose td, .prose th { border: 1px solid var(--line); padding: .4rem .6rem; }


/* ===== Pricelist ===== */
.pl-group { margin-bottom: 3rem; scroll-margin-top: 90px; }
.pl-group-title { font-size: 2rem; padding-bottom: .4rem; border-bottom: 3px solid var(--ink); }
.pl-car { margin-bottom: 1.75rem; }
.pl-car-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.pl-car-head img { width: 96px; aspect-ratio: 16 / 10; object-fit: contain; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); }
.pl-car-head h3 { font-size: 1.6rem; margin: 0; }
.pl-car-head h3 a { text-decoration: none; }
.pl-car-head h3 a:hover { text-decoration: underline; text-decoration-color: var(--brand); }

/* ===== Simulasi kredit ===== */
.credit { display: grid; gap: 1.25rem; }
.page-head + .section .credit { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius-m); padding: 1.5rem; }
.credit-fields { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field input:not([type="range"]), .field select { width: 100%; min-height: 46px; padding: .55rem .75rem; font: inherit; color: var(--ink);
  border: 1px solid #B9C2CB; border-radius: var(--radius-s); background: #fff; }
.field input:focus, .field select:focus { border-color: var(--ink); }
.dp-row { display: flex; align-items: center; gap: 1rem; }
.dp-row input { flex: 1; accent-color: var(--brand); height: 32px; }
.dp-row output { font: 700 1.4rem/1 var(--font-display); min-width: 3.2ch; text-align: right; }
.tenor-options { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }
.tenor-options label { position: relative; }
.tenor-options input { position: absolute; opacity: 0; inset: 0; }
.tenor-options span { display: inline-block; padding: .5rem .9rem; border: 1px solid #B9C2CB; border-radius: var(--radius-s); cursor: pointer; font-weight: 500; background: #fff; }
.tenor-options input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.tenor-options input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.credit-result { background: var(--paper); border-radius: var(--radius-m); padding: 1rem 1.1rem; }
.credit-result dl { margin: 0 0 .75rem; }
.credit-result dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.credit-result dt { color: var(--muted); }
.credit-result dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.credit-installment { display: flex; flex-direction: column; border-left: 4px solid var(--brand); padding-left: .75rem; margin: 0; }
.credit-installment span { font-size: .95rem; color: var(--muted); }
.credit-installment span + strong + span { color: var(--ink-soft); font-size: .95rem; }
.credit-installment strong { font: 700 clamp(2rem, 6vw, 2.6rem)/1.05 var(--font-display); font-variant-numeric: tabular-nums; }
.credit-note { font-size: .875rem; color: var(--muted); margin: .75rem 0 0; }
.credit-contact { display: grid; gap: .85rem; }
.hp { position: absolute; left: -9999px; }

/* ===== Artikel ===== */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; padding-top: 2rem; padding-bottom: 3rem; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.article-title { font-size: clamp(2.25rem, 5vw, 3.25rem); max-width: 22ch; }
.article-cover { width: 100%; border-radius: var(--radius-m); margin: 1rem 0 1.5rem; }
.article .prose { font-size: 1.125rem; }
.article-cta { margin-top: 2.5rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--wa); border-radius: var(--radius-s); }
.side-title { font-size: 1.4rem; margin-top: 1rem; }
.side-cars { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.side-cars .car-card-name { font-size: 1.35rem; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.side-list a { text-decoration: none; font-weight: 500; }
.side-list a:hover { text-decoration: underline; }

/* ===== Kontak ===== */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius-m); padding: 1.5rem; }
.sales-photo { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; margin-bottom: 1rem; }
.sales-name { font: 700 1.9rem/1.1 var(--font-display); }
.contact-list { margin: 0 0 1.25rem; }
.contact-list div { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: .9rem; color: var(--muted); }
.contact-list dd { margin: 0; font-weight: 500; }
.map-embed iframe { width: 100%; min-height: 380px; border: 0; border-radius: var(--radius-m); }

/* ===== Footer ===== */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); padding: 3rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-name { font: 700 1.75rem/1.1 var(--font-display); color: var(--footer-fg-strong); }
.footer-head { font-weight: 600; color: var(--footer-fg-strong); margin-bottom: .5rem; }
.footer-list, .footer-social { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: .2rem 0; }
.footer-social { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.site-footer a { color: var(--footer-fg-strong); text-decoration-color: var(--footer-line); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .35rem 1.5rem; border-top: 1px solid var(--footer-line); margin-top: 2rem; padding-top: 1rem; font-size: .9rem; }

/* ===== Bar aksi (Beranda, Telepon, WA, Pricelist) ===== */
.action-bar { position: fixed; z-index: 45; display: flex; gap: .4rem; }
.ab-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; text-decoration: none; color: #fff;
  font-size: .8rem; font-weight: 600; line-height: 1.1; border-radius: var(--radius-m); }
.ab-item svg { width: 22px; height: 22px; }
.ab-call { background: var(--brand); }
.ab-wa { background: var(--wa); }
.ab-price { background: #1F4E79; }
.ab-item:hover { filter: brightness(1.1); }

/* HP & tablet: bar penuh di bawah layar */
@media (max-width: 860px) {
  .action-bar { left: 0; right: 0; bottom: 0; padding: .45rem .5rem calc(.45rem + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(21,33,44,.08); }
  .ab-item { flex: 1 1 0; min-width: 0; min-height: 52px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
/* Desktop: deretan tombol melayang di kanan bawah */
@media (min-width: 861px) {
  .action-bar { right: 20px; bottom: 20px; padding: .4rem; background: var(--surface); border: 1px solid var(--line);
    border-radius: 14px; box-shadow: 0 8px 24px rgba(21,33,44,.18); }
  .ab-item { width: 74px; height: 62px; }
}

/* ===== Kartu mobil 2 kolom di HP ===== */
@media (max-width: 600px) {
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .car-card-media img { padding: .4rem; }
  .car-card-body { padding: .6rem .65rem .7rem; }
  .car-card-cat { font-size: .75rem; }
  .car-card-name { font-size: 1.2rem; margin: 0 0 .45rem; overflow-wrap: anywhere; }
  .price-tag { border-left-width: 3px; padding-left: .45rem; }
  .price-from { font-size: .72rem; }
  .price-value { font-size: clamp(.9rem, 4vw, 1.2rem); white-space: nowrap; }
  .price-ask { font-size: 1rem; }
  .car-card-actions { gap: .4rem; padding: 0 .65rem .7rem; }
  .btn-card { min-height: 38px; padding: .4rem .5rem; font-size: .82rem; gap: .35rem; }
  .btn-card .icon { width: 16px; height: 16px; }
  .chips { gap: .35rem; margin-bottom: 1rem; }
  .chip { padding: .25rem .65rem; font-size: .85rem; }
}
@media (max-width: 370px) {
  .wrap { padding: 0 12px; }
  .car-grid { gap: .5rem; }
  .car-card-body { padding: .55rem .5rem .6rem; }
  .car-card-actions { padding: 0 .5rem .6rem; }
  .price-tag { padding-left: .35rem; }
  .price-value { font-size: .92rem; letter-spacing: -0.01em; }
  .car-card-name { font-size: 1.1rem; }
}
@media (max-width: 600px) {
  .price-table { min-width: 0; font-size: .9rem; }
  .price-table th, .price-table td { padding: .55rem .6rem; }
  .price-cell { font-size: 1.05rem; }
}
@media (min-width: 861px) { .site-footer { padding-bottom: 6.5rem; } }
