:root {
  --ink: #0f172a; --muted: #64748b; --line: #e5e8ee; --bg: #f5f6f8; --card: #fff;
  --brand: #1e3a5f; --brand-d: #16293f; --brand-l: #eaf0f8; --amber: #d97706; --green: #15803d; --wa: #1fa855;
  --on: #fff; --r: 14px; --shadow: 0 1px 2px rgba(15,23,42,.05), 0 4px 14px rgba(15,23,42,.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
.wrap { width: 100%; max-width: 1840px; margin: 0 auto; padding: 0 clamp(16px, 3.4vw, 72px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* ── Header ── */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-size: 16px; letter-spacing: -.01em; }
.brand small { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.top-nav { display: flex; align-items: center; gap: 6px; }
.top-nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: 14px; }
.top-nav a:hover { background: var(--bg); text-decoration: none; }
.top-nav .pill { background: var(--brand); color: var(--on); }
.top-nav .pill:hover { background: var(--brand-d); }

/* ── Hero / dealer header ── */
.hero { background: radial-gradient(1200px 400px at 85% -10%, color-mix(in srgb, var(--brand) 78%, #fff) 0, transparent 60%), linear-gradient(160deg, var(--brand-d), var(--brand)); color: var(--on); padding: 44px 0 78px; }
.hero h1 { font-size: clamp(26px, 5vw, 42px); max-width: 720px; }
.hero p { margin: 12px 0 0; max-width: 620px; color: color-mix(in srgb, var(--on) 80%, transparent); font-size: clamp(15px, 2.4vw, 18px); }
.dealer-head { background: linear-gradient(160deg, var(--brand-d), var(--brand)); color: #fff; padding: 28px 0 64px; }
.dealer-id { display: flex; align-items: center; gap: 16px; }
.dealer-id img, .dealer-id i { width: 64px; height: 64px; border-radius: 14px; background: #fff; object-fit: contain; padding: 4px; }
.dealer-id i { display: grid; place-items: center; font-style: normal; font-size: 26px; font-weight: 800; color: var(--brand); }
.dealer-id h1 { font-size: clamp(22px, 4vw, 30px); }
.dealer-id p { margin: 4px 0 0; color: #cbd8ea; }

/* ── Search ── */
.finder { margin-top: -50px; padding-bottom: 56px; position: relative; }
.search { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; border: 1px solid var(--line); }
.search-row { display: flex; gap: 10px; }
.search .q { flex: 1; }
.search input[type=search], .search select { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; background: #fff; color: var(--ink); }
.search input[type=search]:focus, .search select:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 20px; border-radius: 12px; background: var(--brand); color: var(--on); font-weight: 600; font-size: 15px; border: 1px solid var(--brand); cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--brand-d); text-decoration: none; }
.btn.ghost { background: #fff; color: var(--brand); border-color: var(--line); }
.btn.ghost:hover { background: var(--brand-l); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.wa:hover { background: #178a46; }
.types { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 2px; scrollbar-width: none; }
.types::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; }
.chip:hover { background: var(--bg); text-decoration: none; }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--on); }
.more { margin-top: 10px; }
.more summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: 14px; padding: 6px 2px; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: " ▾"; }
.more[open] summary::after { content: " ▴"; }
.filters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 10px 0 4px; }
.filters label { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; flex-direction: column; gap: 4px; text-transform: uppercase; letter-spacing: .04em; }
.filters .btn { grid-column: 1 / -1; }

.results-head { display: flex; align-items: center; justify-content: space-between; margin: 22px 2px 12px; color: var(--muted); }
.results-head b { color: var(--ink); }
.clear { font-weight: 600; font-size: 14px; }

/* ── Cards ── */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card { background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); color: inherit; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; }
.card:hover { text-decoration: none; box-shadow: 0 8px 24px rgba(15,23,42,.12); transform: translateY(-2px); }
.card-img { position: relative; aspect-ratio: 4 / 3; background: #e8ecf2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.noimg { display: grid; place-items: center; width: 100%; height: 100%; color: #94a3b8; font-size: 13px; background: repeating-linear-gradient(45deg, #eef1f5, #eef1f5 10px, #e8ecf2 10px, #e8ecf2 20px); }
.noimg.big { aspect-ratio: 4 / 3; font-size: 16px; }
.grade { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.grade.inline { position: static; display: inline-block; box-shadow: none; border: 1px solid var(--line); margin-bottom: 10px; }
.g-a { color: var(--green); } .g-b { color: #1d4ed8; } .g-c { color: var(--amber); } .g-d { color: #b91c1c; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.price { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price small, .big-price small { font-size: 11px; font-weight: 600; color: var(--green); background: #e8f5ec; padding: 2px 8px; border-radius: 999px; letter-spacing: 0; }
.card-title { font-size: 15px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 0; color: var(--muted); font-size: 13px; }
.card .meta { flex-wrap: nowrap; overflow: hidden; font-size: 12.5px; }
.card .meta span { white-space: nowrap; }
.meta span + span::before { content: "•"; margin: 0 7px; color: #b6bfcc; }
.by { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); min-width: 0; }
.by span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.by b { color: var(--ink); font-weight: 600; }
.by img, .by i { width: 22px; height: 22px; border-radius: 6px; flex: none; object-fit: contain; background: var(--brand-l); }
.by i { display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: var(--brand); }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 26px; flex-wrap: wrap; }
.pager a, .pager b, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; font-weight: 600; }
.pager a { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pager a:hover { background: var(--brand-l); text-decoration: none; }
.pager b { background: var(--brand); color: var(--on); }
.empty { text-align: center; padding: 56px 16px; background: var(--card); border: 1px dashed #cdd5e0; border-radius: var(--r); }
.empty.tall { margin: 56px 0; }
.empty h1, .empty h2 { font-size: 20px; } .empty p { color: var(--muted); margin: 8px 0 18px; }

/* ── Detail ── */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); padding: 16px 0 12px; overflow: hidden; white-space: nowrap; }
.crumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.detail { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "buy" "info"; padding-bottom: 28px; }
.gallery { grid-area: gallery; min-width: 0; } .buy { grid-area: buy; min-width: 0; } .info { grid-area: info; min-width: 0; }
.info .panel.first { margin-top: 0; }
.main-img { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: #e8ecf2; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); color: var(--ink); }
.nav.prev { left: 10px; } .nav.next { right: 10px; }
.count { position: absolute; right: 10px; bottom: 10px; background: rgba(15,23,42,.72); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.thumbs { display: flex; gap: 8px; margin: 10px 0 0; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.thumbs button { flex: none; width: 84px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #e8ecf2; cursor: pointer; opacity: .75; }
.thumbs button.on { border-color: var(--brand); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-top: 16px; box-shadow: var(--shadow); }
.panel h2 { font-size: 16px; margin-bottom: 12px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; margin: 0; }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.desc { margin: 0 0 12px; white-space: pre-line; color: #1e293b; }
.desc:last-child { margin-bottom: 0; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--brand-l); color: var(--brand); font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.buy .panel { margin-top: 0; }
.buy h1 { font-size: 22px; }
.big-price { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 6px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dealer { display: flex; align-items: center; gap: 12px; margin: 16px 0 14px; padding: 12px; background: var(--bg); border-radius: 12px; color: inherit; }
.dealer:hover { text-decoration: none; background: var(--brand-l); }
.visit-link { color: var(--brand); font-weight: 600; }
.dealer img, .dealer i { width: 48px; height: 48px; border-radius: 12px; background: #fff; object-fit: contain; flex: none; }
.dealer i { display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--brand); font-size: 20px; }
.dealer div { display: flex; flex-direction: column; min-width: 0; } .dealer span { color: var(--muted); font-size: 13px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions .ghost { grid-column: 1 / -1; }
.addr, .safe { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.safe { padding-top: 12px; border-top: 1px solid var(--line); }
.more-from { padding: 8px 0 44px; } .more-from h2 { font-size: 20px; margin-bottom: 14px; } .more-from p { margin: 16px 2px 0; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(15,23,42,.08); }
.bar-price { flex: 1; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.bar .btn { height: 44px; padding: 0 18px; }

.foot { border-top: 1px solid var(--line); background: #fff; padding: 26px 0 90px; color: var(--muted); font-size: 13.5px; }
.foot p { margin: 0 0 8px; max-width: 760px; } .foot b { color: var(--ink); }

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .price { font-size: 21px; }
}
@media (min-width: 900px) {
  .detail { grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "gallery buy" "info buy"; grid-template-rows: auto 1fr; gap: 0 28px; align-items: start; }
  .info .panel.first { margin-top: 16px; }
  .sticky { position: sticky; top: 76px; }
  .bar { display: none; }
  .foot { padding-bottom: 28px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .filters { grid-template-columns: repeat(5, 1fr) auto; align-items: end; }
  .filters .btn { grid-column: auto; }
  .search { padding: 18px; }
}
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }

/* ── A shop's own website ── */
.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: inline-block; } }
.shop-brand img, .shop-brand i { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 2px; flex: none; }
.shop-brand i { display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--brand); background: var(--brand-l); }
.shop-brand b { font-size: 16px; } .shop-brand small { max-width: 38ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-brand span { min-width: 0; }
.shop-hero { padding: 36px 0 82px; }
.shop-id { display: flex; align-items: center; gap: 18px; }
.shop-id img, .shop-id i { width: 84px; height: 84px; border-radius: 18px; background: #fff; object-fit: contain; padding: 6px; flex: none; box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.shop-id i { display: grid; place-items: center; font-style: normal; font-size: 36px; font-weight: 800; color: var(--brand); }
.shop-hero h1 { font-size: clamp(26px, 5vw, 40px); }
.shop-hero .lead { margin: 6px 0 0; font-size: clamp(15px, 2.4vw, 18px); }
.chips-on { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0 !important; }
.chips-on span { background: color-mix(in srgb, var(--on) 14%, transparent); padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--on); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-actions .btn { height: 44px; }
.btn.light { background: #fff; color: var(--brand-d); border-color: #fff; }
.btn.light:hover { background: color-mix(in srgb, #fff 88%, var(--brand)); }
.btn.outline { background: transparent; border-color: color-mix(in srgb, var(--on) 55%, transparent); color: var(--on); }
.btn.outline:hover { background: color-mix(in srgb, var(--on) 14%, transparent); }
.about-visit { display: grid; gap: 16px; grid-template-columns: 1fr; padding-bottom: 56px; margin-top: -20px; }
.about-visit .panel { margin-top: 0; }
.visit { margin: 0 0 16px; } .visit div { padding: 9px 0; border-bottom: 1px solid var(--line); } .visit dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; } .visit dd { margin: 2px 0 0; font-weight: 500; }
.actions.three { grid-template-columns: repeat(3, 1fr); }
.actions.three .btn { padding: 0 10px; }
.shop-foot .foot-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.shop-foot .foot-name { font-weight: 700; color: var(--ink); font-size: 15px; }
.shop-foot p { margin: 0 0 4px; }
@media (min-width: 900px) {
  .about-visit { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
  .about-visit.alone { grid-template-columns: 1fr; }
  .about-visit.alone .inq-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 80px); align-items: start; padding: 26px 30px; }
  .about-visit.alone .inq-panel h2 { font-size: 20px; }
  .inq-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .shop-foot .foot-grid { grid-template-columns: 1fr 1fr; align-items: end; } .shop-foot .credit { text-align: right; }
}

@media (max-width: 480px) { .card .meta span:nth-child(3) { display: none; } }

/* ── Loading animations: a progress bar when you move between pages, shimmering photo placeholders that fade the picture in, a soft page fade ── */
.nav-loader { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 80; pointer-events: none; opacity: 0; transition: opacity .25s; }
.nav-loader.on { opacity: 1; }
.nav-loader i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #f59e0b)); box-shadow: 0 0 10px color-mix(in srgb, var(--brand) 60%, transparent); transition: transform .25s ease-out; border-radius: 0 2px 2px 0; }
main { animation: pfade .35s ease-out both; }
@keyframes pfade { from { opacity: 0; } to { opacity: 1; } }
.card-img, .main-img, .thumbs button { background: linear-gradient(90deg, #e6ebf2 25%, #f3f6fa 40%, #e6ebf2 65%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.card-img.loaded, .main-img.loaded, .thumbs button.loaded { animation: none; background: #e8ecf2; }
html.js .card-img img, html.js .main-img img, html.js .thumbs img { opacity: 0; transition: opacity .4s ease; }
html.js .card-img img.loaded, html.js .main-img img.loaded, html.js .thumbs img.loaded { opacity: 1; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.card, .panel { animation: rise .45s ease-out both; }
.grid .card:nth-child(2) { animation-delay: .04s; } .grid .card:nth-child(3) { animation-delay: .08s; } .grid .card:nth-child(4) { animation-delay: .12s; }
.grid .card:nth-child(n+5) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.btn.busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-color: var(--on) transparent var(--on) transparent; animation: spin .7s linear infinite; }
.btn.ghost.busy::after, .btn.light.busy::after { border-color: var(--brand) transparent var(--brand) transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { main, .card, .panel, .card-img, .main-img, .thumbs button, .btn.busy::after { animation: none !important; } .nav-loader i { transition: none; } html.js .card-img img, html.js .main-img img, html.js .thumbs img { transition: none; } }

/* ── Full-page layout: use the whole width of a wide screen ── */
main { flex: 1 0 auto; }
.foot { flex: none; }
.grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
@media (max-width: 639px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .grid { gap: 20px; } }
@media (min-width: 900px) { .detail { grid-template-columns: minmax(0, 1fr) clamp(380px, 28vw, 520px); } }
.shop-hero { padding: clamp(36px, 5vw, 72px) 0 clamp(90px, 8vw, 120px); }
.hero-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
.hero-card { display: none; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 460px); gap: clamp(32px, 5vw, 96px); }
  .hero-card { display: block; background: color-mix(in srgb, var(--on) 12%, transparent); border: 1px solid color-mix(in srgb, var(--on) 26%, transparent); border-radius: 20px; padding: 24px 26px; color: var(--on); backdrop-filter: blur(6px); }
  .hero-card .hc-title { margin: 0 0 6px; font-weight: 700; font-size: 17px; color: var(--on); }
  .hero-card dl { margin: 0; } .hero-card dl div { padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--on) 22%, transparent); }
  .hero-card dl div:first-child { border-top: 0; }
  .hero-card dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; font-weight: 600; }
  .hero-card dd { margin: 3px 0 0; font-weight: 500; font-size: 15.5px; color: var(--on); overflow-wrap: anywhere; }
  .hero-card a { color: var(--on); text-decoration: underline; text-underline-offset: 3px; }
}
.shop-id img, .shop-id i { width: clamp(84px, 7vw, 112px); height: clamp(84px, 7vw, 112px); }
.shop-hero h1 { font-size: clamp(28px, 4vw, 52px); }
.shop-hero .lead { font-size: clamp(16px, 1.6vw, 21px); }
.search { padding: clamp(14px, 1.6vw, 24px); }
html { scroll-behavior: smooth; }

/* The inquiry form on a shop's website. The "hp" field is a trap for bots: people never see it. */
.inq { display: grid; gap: 12px; }
.inq label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted, #5b6470); }
.inq input, .inq textarea { font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: inherit; width: 100%; }
.inq input:focus, .inq textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.inq .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 11px 13px; border-radius: 10px; font-size: 14px; margin-bottom: 12px; }
.notice.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.notice.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.inq-panel { margin-top: 16px; }

.inq-intro p { margin: 0 0 14px; color: var(--muted, #5b6470); font-size: 14.5px; line-height: 1.55; max-width: 44ch; }
@media (max-width: 899px) { .inq-two { grid-template-columns: 1fr; } }

/* A photo on a vehicle's page: its caption (front, back, odometer…) and the full-size view that opens when it is tapped. */
.main-img .cap { position: absolute; left: 10px; bottom: 10px; background: rgba(15,23,42,.72); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.main-img .cap.empty { display: none; }
.main-img { cursor: zoom-in; }
.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8,12,20,.94); display: grid; place-items: center; padding: 56px 12px 52px; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; opacity: 0; transition: opacity .2s; }
.lb-img.on { opacity: 1; }
.lb-spin { position: absolute; width: 38px; height: 38px; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: lbspin .8s linear infinite; }
@keyframes lbspin { to { transform: rotate(360deg); } }
.lb-x, .lb-nav { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; border-radius: 50%; line-height: 1; }
.lb-x:hover, .lb-nav:hover { background: rgba(255,255,255,.28); }
.lb-x { top: 12px; right: 12px; width: 44px; height: 44px; font-size: 28px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 34px; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; color: rgba(255,255,255,.85); font-size: 14px; }
