/* UX pass, 14 Nov 2026 — phone-first fixes for the public site.
   Linked from <head> after the inline styles. Stylesheets linked later from <body> (public-2/3/5) and
   navy-refresh.css share class names with rules here, so anything that must win is prefixed "html body". */

/* ── car page: what the price includes, contact buttons under the price ── */
html body .ux-price-note{font-size:14px;line-height:1.5;color:#4e535b;margin:-.35rem 0 1.15rem}
html body .ux-cta{display:grid;gap:.6rem;margin:0 0 1.5rem}
html body .ux-cta a{display:flex;align-items:center;justify-content:center;min-height:50px;width:100%;text-align:center;margin:0}
html body .lux-status{white-space:normal;line-height:1.5}

/* ── description: three lines, then "Read more" ── */
html body .ux-desc{margin:0 0 1.2rem}
html body .ux-desc .lux-detail-desc{margin-bottom:.2rem}
html body .ux-clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html body .ux-more{background:none;border:0;padding:0;min-height:44px;font:inherit;font-size:14px;font-weight:600;color:var(--navy,#0b1a33);text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* ── arriving cars: how to reserve ── */
html body .ux-reserve{margin:0 0 1.3rem;padding:18px;border:1px solid #e1d4b8;border-radius:10px;background:#f7f3e9;color:var(--navy,#0b1a33)}
html body .ux-reserve h2{font-size:16px;font-weight:600;margin:0 0 .4rem;letter-spacing:-.01em}
html body .ux-reserve p{font-size:14px;line-height:1.6;margin:0 0 .9rem;color:#3d4450}
html body .ux-reserve a{display:flex;align-items:center;justify-content:center;min-height:48px;width:100%}

/* ── gallery: placeholders while photos load, tap to enlarge ── */
html body .lux-thumbs img{background:#e9ecf1}
html body .lux-gallery-main img{cursor:zoom-in}
.ux-lightbox{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:rgba(5,10,20,.96)}
.ux-lightbox img{max-width:100vw;max-height:100vh;max-height:100dvh;object-fit:contain;touch-action:pinch-zoom}
.ux-lightbox button{position:absolute;border:0;color:#fff;background:rgba(255,255,255,.16);cursor:pointer;display:flex;align-items:center;justify-content:center}
.ux-lb-close{top:max(10px,env(safe-area-inset-top));right:10px;width:48px;height:48px;border-radius:50%;font-size:30px;line-height:1}
.ux-lb-nav{top:50%;transform:translateY(-50%);width:48px;height:64px;border-radius:8px;font-size:22px}
.ux-lb-prev{left:6px}.ux-lb-next{right:6px}
.ux-lb-count{position:absolute;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translateX(-50%);color:#fff;font-size:14px;letter-spacing:.04em}

/* ── inventory toolbar: desktop keeps the one-row layout; the wrappers vanish ── */
.ux-filter-row,.ux-filters,.ux-pair{display:contents}
.ux-filter-btn,.ux-count{display:none}
html body .dtoolbar>.ux-filter-row>select{order:8}
html body .dtoolbar>.dclear{order:9}

/* ── pinned contact bar: phones only ── */
.ux-bar{display:none}

/* section routes land below the fixed header */
html body #sold,html body .dfin{scroll-margin-top:calc(7rem + var(--ng-strip-height))}

@media (max-width:767px){
  /* header: one 56px row, no strip */
  html:root{--ng-strip-height:0px}
  html body .ng-serving{display:none}
  html body header.hdr-light>div.h-24{height:56px}
  html body header.hdr-light img.h-16{height:38px;width:auto}
  html body header.hdr-light button[aria-controls="mobile-menu"]{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;margin-right:-10px}
  html body>.pt-24{padding-top:64px}
  html body .dhero{padding-top:84px}
  html body #about,html body #contact,html body #financing,html body #sold,html body .dfin{scroll-margin-top:64px}

  /* car page */
  html body .lux-crumbs{font-size:14px;padding:.2rem 0}
  html body .lux-crumbs a{display:inline-flex;align-items:center;min-height:44px}
  html body .lux-detail-sub{font-size:14px}
  html body .lux-specs dt{font-size:14px;letter-spacing:.01em;text-transform:none}
  html body .lux-specs dd{font-size:15px}
  html body .ng-spec-note{font-size:14px}
  html body .lux-detail-links{gap:0 1.25rem;margin-top:.6rem}
  html body .lux-detail-links a,html body .lux-detail-links button{display:inline-flex;align-items:center;min-height:44px;font-size:14px;letter-spacing:.02em;text-transform:none;text-decoration:underline;text-underline-offset:3px;color:#3d4450}
  html body .lux-gal-count .lux-gal-hint{display:none}
  html body #financing button[aria-pressed]{min-height:44px}

  .ux-bar{display:grid;grid-template-columns:1.7fr 1fr;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:60;
    padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e1d4b8;box-shadow:0 -6px 20px rgba(11,26,51,.12)}
  .ux-bar a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:10px;font-size:15px;font-weight:600;text-decoration:none;letter-spacing:.01em}
  .ux-bar-wa{background:var(--navy,#0b1a33);color:#fff}
  .ux-bar-call{background:#fff;color:var(--navy,#0b1a33);border:1.5px solid var(--navy,#0b1a33)}
  html[data-ux-bar] body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  html[data-ux-bar] body #zara-fab{bottom:78px !important;bottom:calc(78px + env(safe-area-inset-bottom)) !important}

  /* inventory: search + Filter + sort on one screen, filters in a drawer */
  html body .dinv-head{padding-top:1rem;padding-bottom:.9rem}
  html body .dinv-head .dcount{display:none}
  html body .dtoolbar{gap:8px}
  html body .dtoolbar .dinput-search{width:100%;min-height:46px}
  .ux-filter-row{display:flex;gap:8px;width:100%}
  .ux-filter-btn{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 14px;border:1px solid var(--line,#dfe3ea);border-radius:10px;background:#fff;font:inherit;font-size:14px;font-weight:600;color:var(--ink,#0b1a33);white-space:nowrap;cursor:pointer}
  .ux-filter-btn[aria-expanded="true"]{border-color:var(--navy,#0b1a33)}
  .ux-filter-n{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--navy,#0b1a33);color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
  html body .ux-filter-row>select{flex:1;min-width:0;min-height:46px}
  .ux-filters{display:none;width:100%}
  .ux-filters.open{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  html body .ux-filters .dinput{min-width:0;width:100%;min-height:46px}
  .ux-pair{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:end}
  html body .ux-filters .budget-filter{display:flex;flex-direction:column;gap:4px;font-size:13px;min-width:0}
  html body .ux-filters .dseg{grid-column:1/-1;display:flex}
  html body .ux-filters .dseg button{flex:1;min-height:44px}
  html body .dtoolbar>.dclear{min-height:44px}
  html body #budget-note{display:none}
  html body #budget-note.open{display:block;font-size:13px}
  .ux-count{display:block;margin:.7rem 0 0;font-size:14px;color:#4e535b}
  .ux-count b{color:var(--navy,#0b1a33)}

  /* inventory cards: two per row — photo, year make model, mileage, price, availability */
  html body .dinv-head+.dsec{padding-top:1rem}
  html body .ux-inv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  html body .ux-inv-grid .dcard-body{padding:10px 10px 12px;gap:4px}
  html body .ux-inv-grid .dcard-title{font-size:14px;line-height:1.3;font-weight:600;letter-spacing:-.01em}
  html body .ux-inv-grid .dcard-sub{display:none}
  html body .ux-inv-grid .dcard-specs{display:block;border:0;padding:0;font-size:13px}
  html body .ux-inv-grid .dcard-specs>span{display:none}
  html body .ux-inv-grid .dcard-specs>span.ux-km{display:flex}
  html body .ux-inv-grid .dcard-price{padding-top:2px}
  html body .ux-inv-grid .dcard-price b{font-size:14px;line-height:1.3}
  html body .ux-inv-grid .dcard-go,html body .ux-inv-grid .dcard-count,html body .ux-inv-grid .dcard-price small{display:none}
  html body .ux-inv-grid .pill{top:6px;left:6px;font-size:11px;padding:3px 8px}
  html body .ux-inv-grid .price-reduced-badge{font-size:11px}
}
