:root {
  --ink: #0a0b0c;
  --ink-soft: #151617;
  --paper: #f5f2ec;
  --paper-deep: #ebe6dd;
  --warm: #c3a46d;
  --warm-light: #e7d4ab;
  --brand-cyan: #00d0ff;
  --brand-orange: #ff9d1d;
  --line: rgba(10, 11, 12, .16);
  --line-light: rgba(255, 255, 255, .2);
  --muted: #67645f;
  --serif: Arial, Helvetica, sans-serif;
  --sans: Arial, Helvetica, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--warm); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 3000; top: 10px; left: 10px; padding: 10px 14px; color: var(--ink); background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 30; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px clamp(20px, 4.6vw, 76px); color: #fff; transition: background .25s, padding .25s, color .25s, box-shadow .25s; }
.site-header.is-solid { position: fixed; color: var(--ink); background: rgba(245,242,236,.95); box-shadow: 0 1px 0 rgba(10,11,12,.1); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 700; letter-spacing: -.05em; white-space: nowrap; }
.brand > span:last-child span, .footer-brand span:not(.brand-mark) { color: var(--warm); }
.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: 12px; letter-spacing: -.06em; }
.main-nav, .header-actions { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.main-nav a, .main-nav button, .text-button { padding: 4px 0; border: 0; color: inherit; background: none; font-weight: 600; font-size: 15px; }
.main-nav a, .main-nav button { transition: opacity .2s; }
.main-nav a:hover, .main-nav button:hover, .text-button:hover { opacity: .62; }
.header-account-name {
  display: inline-flex;
  max-width: 150px;
  align-items: center;
  padding: 5px 0;
  overflow: hidden;
  border: 0;
  color: inherit;
  background: none;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.header-account-name span { overflow: hidden; text-overflow: ellipsis; }
.header-account-name::before { width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--warm-light); content: ""; flex: 0 0 auto; }
.header-role-action { border-color: rgba(255,255,255,.38); color: #fff; background: rgba(25,22,18,.62); backdrop-filter: blur(12px); }
.header-role-action:hover { color: var(--ink); background: var(--warm-light); }
.mobile-header-control { display: none; }
[hidden] { display: none !important; }
[data-header-auth][hidden], [data-header-account][hidden], [data-header-role-action][hidden] { display: none !important; }
.header-icon { position: relative; display: grid; width: 38px; height: 38px; place-items: center; padding: 0; border: 0; color: inherit; background: none; }
.header-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.45; }
.header-icon span { position: absolute; top: 2px; right: 1px; display: grid; min-width: 17px; height: 17px; place-items: center; padding: 0 4px; border-radius: 10px; color: var(--ink); background: var(--warm); font-size: 10px; font-weight: 700; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 23px; border: 1px solid transparent; border-radius: 0; color: var(--paper); background: var(--ink); font-weight: 700; font-size: 15px; letter-spacing: .01em; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: progress; opacity: .55; transform: none; }
.button-small { min-height: 40px; padding: 8px 15px; font-size: 13px; }
.button-gold { color: var(--ink); background: var(--warm); }
.button-gold:hover { background: var(--warm-light); }
.button-light { color: var(--ink); background: var(--paper); }
.button-outline-light { border-color: rgba(255,255,255,.62); color: #fff; background: transparent; }
.button-outline-light:hover { color: var(--ink); background: #fff; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 0; color: inherit; background: transparent; }
.menu-toggle span { display: block; width: 23px; height: 1px; margin: 5px auto; background: currentColor; }
.mobile-menu { display: none; }

.hero { --hero-x: 0px; --hero-y: 0px; --hero-scroll: 0px; position: relative; isolation: isolate; display: flex; min-height: min(920px, 100svh); align-items: center; justify-content: center; overflow: hidden; color: #fff; background: var(--ink); }
.hero-image { position: absolute; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.045) translate3d(var(--hero-x), calc(var(--hero-y) + var(--hero-scroll)), 0); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(110deg, rgba(1,6,10,.88) 0%, rgba(3,11,18,.42) 42%, rgba(0,0,0,.1) 70%), linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.01) 48%, rgba(0,0,0,.67) 100%); }
.hero-aurora { position: absolute; z-index: -1; inset: -35%; pointer-events: none; background: radial-gradient(circle at 49% 43%, rgba(221,185,109,.2), transparent 18%), radial-gradient(circle at 50% 43%, rgba(130,178,216,.12), transparent 34%); mix-blend-mode: screen; animation: hero-aurora 11s ease-in-out infinite alternate; }
.hero-frame { position: absolute; z-index: -1; inset: clamp(14px, 2.4vw, 38px); border: 1px solid rgba(255,255,255,.18); pointer-events: none; }
.hero-frame::before, .hero-frame::after { position: absolute; width: 17px; height: 17px; content: ""; border-color: rgba(235,203,139,.8); }
.hero-frame::before { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }.hero-frame::after { right: -1px; bottom: -1px; border-right: 1px solid; border-bottom: 1px solid; }
.hero-wordmark { position: relative; display: grid; justify-items: center; margin-top: 1vh; text-align: center; text-shadow: 0 7px 32px rgba(0,0,0,.42); animation: hero-wordmark-in 1.15s cubic-bezier(.16,.82,.26,1) both; }
.hero-wordmark::before { position: absolute; top: 50%; left: 50%; width: min(72vw, 740px); height: min(72vw, 740px); content: ""; border: 1px solid rgba(237,211,160,.16); border-radius: 50%; transform: translate(-50%, -54%); box-shadow: 0 0 100px rgba(215,179,111,.13), inset 0 0 75px rgba(215,179,111,.05); animation: hero-halo 8s linear infinite; }
.hero-monogram { position: relative; display: grid; width: clamp(58px, 5.5vw, 84px); height: clamp(58px, 5.5vw, 84px); place-items: center; margin-bottom: 22px; border: 1px solid rgba(248,231,195,.88); border-radius: 50%; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 33px); letter-spacing: -.08em; }
.hero-monogram::before { position: absolute; inset: 6px; content: ""; border: 1px solid rgba(244,211,145,.42); border-radius: inherit; }.hero-monogram span { transform: translateY(-1px); }
.hero h1 { position: relative; margin: 0; font-family: var(--serif); font-size: clamp(58px, 10vw, 155px); font-weight: 500; letter-spacing: -.075em; line-height: .82; }
.hero h1 span { color: var(--warm-light); }
.hero-wordmark-line { position: relative; display: block; width: min(43vw, 440px); height: 1px; margin-top: clamp(20px, 2.5vw, 32px); overflow: hidden; background: rgba(255,255,255,.35); }.hero-wordmark-line::after { position: absolute; inset: 0 auto 0 -36%; width: 35%; content: ""; background: linear-gradient(90deg, transparent, #ffe4a8, transparent); animation: hero-line 4.5s ease-in-out infinite; }
.hero-scroll { position: absolute; right: clamp(29px, 5vw, 82px); bottom: clamp(29px, 5vw, 75px); display: grid; width: 47px; height: 47px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; color: #fff; background: rgba(6,9,11,.22); backdrop-filter: blur(8px); transition: color .25s, background .25s, transform .25s; }
.hero-scroll:hover, .hero-scroll:focus-visible { color: var(--ink); background: var(--warm-light); transform: translateY(4px); }.hero-scroll i::after { display: block; padding-bottom: 1px; content: "↓"; font-style: normal; font-size: 21px; }
@keyframes hero-wordmark-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes hero-aurora { 0% { transform: translate3d(-2%, -1%, 0) scale(.97); opacity: .6; } 100% { transform: translate3d(3%, 2%, 0) scale(1.06); opacity: 1; } }
@keyframes hero-halo { to { transform: translate(-50%, -54%) rotate(360deg); } }
@keyframes hero-line { 0%, 20% { transform: translateX(0); } 58%, 100% { transform: translateX(390%); } }

.section { padding: clamp(75px, 11vw, 165px) clamp(20px, 9.6vw, 154px); }
.eyebrow { margin: 0 0 18px; color: #77736e; font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.eyebrow-light { color: rgba(255,255,255,.62); }
.intro { border-bottom: 1px solid var(--line); }
.intro-layout { display: grid; grid-template-columns: 1.42fr .82fr; gap: clamp(35px, 9vw, 150px); align-items: end; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5.4vw, 87px); font-weight: 500; letter-spacing: -.065em; line-height: .98; }
h2 em { color: var(--warm); font-weight: 500; }
.intro-copy { max-width: 520px; padding-bottom: 5px; }
.intro-copy p, .dealer-banner-copy p { margin: 0 0 28px; color: #353431; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.55; }
.inline-link { display: inline-flex; gap: 12px; align-items: center; padding: 0 0 8px; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink); background: none; font-weight: 700; font-size: 15px; }
.inline-link span { font-size: 19px; transition: transform .2s; }.inline-link:hover span { transform: translate(3px,-3px); }

.section-dark { color: var(--paper); background: var(--ink); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 37px; }
.section-heading h2 { font-size: clamp(38px, 4.5vw, 70px); }
.filter-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.46); color: var(--paper); background: none; font-weight: 600; font-size: 15px; }
.filter-toggle svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.filter-panel { display: grid; grid-template-columns: 1.1fr 1.1fr .9fr .8fr auto auto; gap: 10px; max-height: 0; overflow: hidden; border-bottom: 1px solid transparent; opacity: 0; transition: max-height .35s, opacity .25s, padding .25s, margin .25s; }
.filter-panel.is-open { max-height: 180px; margin: 0 0 25px; padding: 0 0 26px; border-color: var(--line-light); opacity: 1; }
.filter-panel label, .modal-form label { display: grid; gap: 7px; color: inherit; font-size: 13px; font-weight: 700; }
.filter-panel input, .filter-panel select { width: 100%; min-height: 50px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 0; color: var(--paper); background: rgba(255,255,255,.06); font-size: 16px; outline: none; }
.filter-panel input::placeholder { color: rgba(255,255,255,.48); }.filter-panel select option { color: var(--ink); }
.filter-clear { align-self: end; min-height: 48px; padding: 0 8px; border: 0; color: rgba(255,255,255,.75); background: none; font-weight: 600; font-size: 13px; }
.collection-meta { display: flex; gap: 8px; margin-bottom: 18px; color: rgba(255,255,255,.67); font-size: 14px; }.collection-meta span:first-child { color: var(--warm-light); font-weight: 700; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; min-height: 80px; }
.listing-card { position: relative; overflow: hidden; min-height: 455px; background: #161718; cursor: pointer; }
.listing-card-media { position: absolute; inset: 0; overflow: hidden; }.listing-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.1,1); }.listing-card:hover .listing-card-media img { transform: scale(1.045); }
.listing-card-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.76) 100%); }
.listing-card-body { position: absolute; inset: auto 0 0; z-index: 1; padding: 22px; color: #fff; }
.listing-badge { display: inline-flex; margin-bottom: 7px; padding: 5px 9px; color: var(--warm-light); border: 1px solid rgba(228,207,166,.6); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.listing-card h3 { max-width: 330px; margin: 0 0 12px; font-family: var(--serif); font-size: clamp(25px, 2vw, 33px); font-weight: 500; letter-spacing: -.05em; line-height: 1.05; }
.listing-specs { display: flex; flex-wrap: wrap; gap: 5px 13px; color: rgba(255,255,255,.83); font-size: 14px; }.listing-specs span:not(:last-child)::after { margin-left: 13px; content: "·"; color: var(--warm); }
.card-save { position: absolute; z-index: 2; top: 15px; right: 15px; display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid rgba(255,255,255,.46); border-radius: 50%; color: #fff; background: rgba(0,0,0,.2); backdrop-filter: blur(5px); }.card-save:hover, .card-save.active { color: var(--ink); background: var(--warm-light); border-color: var(--warm-light); }.card-save svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }.card-save.active svg { fill: currentColor; }
.collection-empty { display: grid; max-width: 620px; justify-items: start; padding: clamp(38px, 5vw, 70px) 0 10px; }.empty-mark { display: grid; width: 45px; height: 45px; place-items: center; margin-bottom: 24px; border: 1px solid var(--warm); border-radius: 50%; color: var(--warm-light); font-family: var(--serif); font-size: 17px; }.collection-empty h3 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(32px, 4vw, 53px); font-weight: 500; letter-spacing: -.055em; }.collection-empty p { max-width: 480px; margin: 0 0 28px; color: rgba(255,255,255,.68); font-size: 18px; }

.experience { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(30px, 10vw, 160px); }.experience-aside { display: flex; flex-direction: column; justify-content: space-between; }.experience-index { color: var(--warm); font-family: var(--serif); font-size: 24px; }.experience-content h2 { margin-bottom: clamp(55px, 7vw, 105px); }.experience-steps { border-top: 1px solid var(--line); margin-bottom: 35px; }.experience-steps article { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }.experience-steps article > span { color: var(--warm); font-family: var(--serif); font-size: 21px; }.experience-steps h3 { margin: 0 0 7px; font-size: 19px; }.experience-steps p { max-width: 520px; margin: 0; color: var(--muted); font-size: 17px; }
.dealer-banner { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(35px, 10vw, 155px); align-items: end; padding: clamp(70px, 10vw, 150px) clamp(20px, 9.6vw, 154px); color: #fff; background: #1d1c1a; }.dealer-banner h2 { font-size: clamp(39px, 5vw, 77px); }.dealer-banner-copy { max-width: 500px; }.dealer-banner-copy p { color: rgba(255,255,255,.72); font-size: 18px; }
.appointment-band { display: flex; flex-direction: column; align-items: center; padding-top: clamp(90px, 13vw, 190px); padding-bottom: clamp(90px, 13vw, 190px); text-align: center; }.appointment-band h2 { margin-bottom: 37px; }.appointment-band .eyebrow { margin-bottom: 23px; }
.site-footer { display: grid; grid-template-columns: auto 1fr auto auto; gap: 18px 40px; align-items: center; padding: 27px clamp(20px, 4.6vw, 76px); color: rgba(255,255,255,.66); background: var(--ink); font-size: 13px; }.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 17px; letter-spacing: -.04em; }.footer-brand .brand-mark { width: 30px; height: 30px; font-size: 11px; }.footer-brand b span { color: var(--warm); }.site-footer p { margin: 0; }.footer-links { display: flex; gap: 19px; }.footer-links a:hover { color: var(--warm-light); }.copyright { text-align: right; }
.legal-body { background: var(--paper); }.legal-header { display: flex; align-items: center; justify-content: space-between; padding: 21px clamp(20px, 5vw, 76px); border-bottom: 1px solid var(--line); }.legal-header .brand { color: var(--ink); }.legal-header a:last-child { border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 700; }.legal-page { width: min(100% - 40px, 860px); margin: 0 auto; padding: clamp(70px, 11vw, 150px) 0; }.legal-page .eyebrow { margin-bottom: 18px; }.legal-page h1 { max-width: 740px; margin: 0 0 40px; font-family: var(--serif); font-size: clamp(48px, 7vw, 90px); font-weight: 500; letter-spacing: -.07em; line-height: .93; }.legal-page section { padding: 26px 0; border-top: 1px solid var(--line); }.legal-page h2 { margin-bottom: 12px; font-family: var(--sans); font-size: 20px; font-weight: 700; letter-spacing: -.03em; }.legal-page p, .legal-page li { max-width: 700px; color: #4d4944; font-size: 17px; }.legal-page p { margin: 0; }.legal-page ul { margin: 0; padding-left: 21px; }.legal-page li + li { margin-top: 6px; }.legal-date { color: var(--muted) !important; font-size: 14px !important; }

.modal-root { position: fixed; z-index: 100; inset: 0; display: none; padding: clamp(10px, 4vw, 45px); overflow-y: auto; background: rgba(1,2,2,.72); opacity: 0; transition: opacity .2s; overscroll-behavior: contain; }.modal-root.is-open { display: grid; place-items: center; opacity: 1; }.modal-root.is-open.modal-root-wide { align-items: start; }.modal-panel { position: relative; width: min(100%, 680px); max-height: min(830px, calc(100svh - 20px)); overflow: auto; color: var(--ink); background: var(--paper); box-shadow: 0 28px 85px rgba(0,0,0,.35); animation: modal-in .25s ease both; }.modal-form { padding: clamp(28px, 5vw, 57px); }.modal-panel h2 { margin-bottom: 12px; font-size: clamp(37px, 4.5vw, 61px); }.modal-panel .eyebrow { margin-bottom: 14px; }.modal-lead { max-width: 500px; margin: 0 0 27px; color: var(--muted); font-size: 17px; }.modal-close { position: absolute; z-index: 2; top: 16px; right: 16px; display: grid; width: 39px; height: 39px; place-items: center; padding: 0 0 3px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: rgba(245,242,236,.88); font-size: 26px; font-weight: 300; line-height: 1; }.modal-close:hover { color: var(--paper); background: var(--ink); }.modal-form form { display: grid; gap: 17px; }.modal-form label { color: #2e2d2a; }.modal-form label > span { color: #85807b; font-size: 11px; font-weight: 500; }.modal-form input:not([type="checkbox"]), .modal-form textarea, .modal-form select { width: 100%; min-height: 51px; padding: 12px 13px; border: 1px solid #d0cac0; border-radius: 0; color: var(--ink); background: rgba(255,255,255,.5); font-size: 16px; outline: none; transition: border-color .2s, background .2s; }.modal-form textarea { min-height: 90px; resize: vertical; }.modal-form input:focus, .modal-form textarea:focus, .modal-form select:focus { border-color: var(--warm); background: #fff; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.form-grid.three { grid-template-columns: 1fr 1fr 1fr; }.consent { display: flex !important; align-items: start; gap: 10px; color: var(--muted) !important; font-size: 12px !important; font-weight: 500 !important; line-height: 1.45; }.consent input { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--ink); }.form-submit { margin-top: 3px; }.form-note { margin: 18px 0 0; color: #77716b; font-size: 12px; line-height: 1.5; }.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }.tab-switch { display: grid; grid-template-columns: 1fr 1fr; margin: 25px 0; border-bottom: 1px solid var(--line); }.tab-switch button { padding: 10px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: none; font-weight: 700; }.tab-switch button.active { border-color: var(--ink); color: var(--ink); }.saved-panel { width: min(100%, 710px); padding: clamp(30px, 5vw, 56px); }.saved-list { display: grid; gap: 10px; margin-top: 28px; }.saved-row { display: grid; grid-template-columns: 106px 1fr auto; gap: 15px; align-items: center; padding: 0 0 11px; border-bottom: 1px solid var(--line); cursor: pointer; }.saved-row img { width: 106px; height: 72px; object-fit: cover; }.saved-row h3 { margin: 0 0 3px; font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -.04em; }.saved-row p { margin: 0; color: var(--muted); font-size: 13px; }.saved-row button { width: 35px; height: 35px; border: 0; color: var(--ink); background: none; font-size: 21px; }.saved-empty { padding: 25px 0; color: var(--muted); }
.listing-panel { width: min(100%, 1120px); max-height: calc(100svh - 20px); background: var(--paper); }.listing-close { background: rgba(245,242,236,.95); }.listing-detail { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); }.listing-gallery { position: relative; min-height: 560px; background: #141414; }.listing-gallery > img { width: 100%; height: 100%; object-fit: cover; }.gallery-counter { position: absolute; bottom: 16px; left: 16px; padding: 7px 10px; color: #fff; background: rgba(0,0,0,.6); font-size: 12px; }.gallery-thumbs { position: absolute; right: 15px; bottom: 15px; display: flex; max-width: calc(100% - 130px); gap: 6px; overflow: auto; }.gallery-thumbs button { width: 48px; height: 38px; flex: 0 0 auto; padding: 0; border: 1px solid rgba(255,255,255,.62); background: #111; }.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }.listing-detail-content { padding: clamp(28px, 4vw, 58px); }.listing-kicker { margin: 0 0 10px; color: var(--warm); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }.listing-detail h2 { margin-bottom: 20px; font-size: clamp(39px, 4vw, 60px); }.detail-specs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 25px; border-top: 1px solid var(--line); }.detail-specs div { padding: 13px 0; border-bottom: 1px solid var(--line); }.detail-specs div:nth-child(odd) { padding-right: 14px; }.detail-specs small { display: block; color: var(--muted); font-size: 12px; }.detail-specs b { font-size: 15px; }.listing-description { margin: 0 0 25px; color: #484541; font-size: 16px; white-space: pre-line; }.detail-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }.detail-save { display: grid; width: 53px; place-items: center; border: 1px solid var(--line); color: var(--ink); background: transparent; }.detail-save.active { color: var(--paper); background: var(--ink); }.detail-save svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }.detail-save.active svg { fill: currentColor; }.listing-source { margin: 0 0 20px; color: var(--muted); font-size: 13px; }.portal-panel { width: min(100%, 800px); padding: clamp(30px, 5vw, 57px); }.portal-list { display: grid; gap: 9px; margin: 30px 0; }.portal-row { display: flex; align-items: center; justify-content: space-between; gap: 17px; padding: 14px 0; border-top: 1px solid var(--line); }.portal-row h3 { margin: 0 0 2px; font-family: var(--serif); font-size: 23px; font-weight: 500; }.portal-row p { margin: 0; color: var(--muted); font-size: 13px; }.status { flex: 0 0 auto; padding: 5px 8px; border: 1px solid #c6b99e; color: #6f572b; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }.status.published { border-color: #9ab094; color: #476842; }.status.rejected { border-color: #c9a4a0; color: #8b4740; }
.listing-panel { width: min(100%, 1120px); max-height: calc(100svh - 20px); background: var(--paper); }.listing-close { background: rgba(245,242,236,.95); }.listing-detail { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); }.listing-gallery { position: relative; min-height: 560px; background: #141414; }.listing-gallery > img { width: 100%; height: 100%; object-fit: cover; }.gallery-counter { position: absolute; bottom: 16px; left: 16px; padding: 7px 10px; color: #fff; background: rgba(0,0,0,.6); font-size: 12px; }.gallery-thumbs { position: absolute; right: 15px; bottom: 15px; display: flex; max-width: calc(100% - 130px); gap: 6px; overflow: auto; }.gallery-thumbs button { width: 48px; height: 38px; flex: 0 0 auto; padding: 0; border: 1px solid rgba(255,255,255,.62); background: #111; }.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }.listing-detail-content { padding: clamp(28px, 4vw, 58px); }.back-link { display: inline-flex; margin: 0 0 22px; padding: 0 0 6px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: none; font-size: 13px; font-weight: 700; }.listing-kicker { margin: 0 0 10px; color: var(--warm); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }.listing-detail h2 { margin-bottom: 20px; font-size: clamp(39px, 4vw, 60px); }.detail-specs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 25px; border-top: 1px solid var(--line); }.detail-specs div { padding: 13px 0; border-bottom: 1px solid var(--line); }.detail-specs div:nth-child(odd) { padding-right: 14px; }.detail-specs small { display: block; color: var(--muted); font-size: 12px; }.detail-specs b { font-size: 15px; }.listing-description { margin: 0 0 25px; color: #484541; font-size: 16px; white-space: pre-line; }.detail-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }.detail-save { display: grid; width: 53px; place-items: center; border: 1px solid var(--line); color: var(--ink); background: transparent; }.detail-save.active { color: var(--paper); background: var(--ink); }.detail-save svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }.detail-save.active svg { fill: currentColor; }.listing-source { margin: 0 0 20px; color: var(--muted); font-size: 13px; }.portal-panel { width: min(100%, 800px); padding: clamp(30px, 5vw, 57px); }.portal-list { display: grid; gap: 9px; margin: 30px 0; }.portal-row { display: flex; align-items: center; justify-content: space-between; gap: 17px; padding: 14px 0; border-top: 1px solid var(--line); }.portal-row h3 { margin: 0 0 2px; font-family: var(--serif); font-size: 23px; font-weight: 500; }.portal-row p { margin: 0; color: var(--muted); font-size: 13px; }.status { flex: 0 0 auto; padding: 5px 8px; border: 1px solid #c6b99e; color: #6f572b; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }.status.published { border-color: #9ab094; color: #476842; }.status.rejected { border-color: #c9a4a0; color: #8b4740; }
.listing-gallery { overflow: hidden; isolation: isolate; touch-action: pan-y; }
.listing-gallery-primary { display: block; width: 100%; height: 100%; min-height: inherit; background: #141414; opacity: 1; transition: opacity .2s ease; }
.listing-gallery-primary.is-loading { opacity: .48; }
.gallery-nav { position: absolute; z-index: 3; top: 50%; display: grid; width: 44px; height: 44px; place-items: center; padding: 0 0 3px; border: 1px solid rgba(255,255,255,.64); border-radius: 50%; color: #fff; background: rgba(0,0,0,.38); font-family: var(--serif); font-size: 38px; line-height: 1; transform: translateY(-50%); backdrop-filter: blur(8px); transition: background .2s, color .2s, transform .2s; }
.gallery-nav:hover, .gallery-nav:focus-visible { color: var(--ink); background: var(--warm-light); transform: translateY(-50%) scale(1.05); }
.gallery-nav-prev { left: 17px; }.gallery-nav-next { right: 17px; }
.gallery-thumbs { z-index: 3; padding-bottom: 2px; scrollbar-width: thin; }
.gallery-thumbs button { overflow: hidden; border-color: rgba(255,255,255,.48); opacity: .72; transition: opacity .18s, border-color .18s, transform .18s; }
.gallery-thumbs button:hover, .gallery-thumbs button:focus-visible, .gallery-thumbs button.is-active { border-color: var(--warm-light); opacity: 1; transform: translateY(-2px); }
.gallery-thumbs button.is-unavailable { opacity: .28; }
.listing-photo-field { display: grid; gap: 9px; padding: 15px; border: 1px solid #d0cac0; background: rgba(255,255,255,.32); }
.listing-photo-field > label { gap: 4px; }.listing-photo-field > label > span { line-height: 1.45; }
.listing-photo-field input[type="file"] { min-height: auto; padding: 10px; border-style: dashed; background: #fff; cursor: pointer; font-size: 14px; }
.listing-photo-field input[type="file"]::file-selector-button { margin-right: 11px; padding: 8px 10px; border: 0; color: #fff; background: var(--ink); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.photo-upload-help, .photo-upload-feedback { margin: 0; color: #77716b; font-size: 12px; line-height: 1.45; }
.photo-upload-feedback:empty { display: none; }.photo-upload-feedback.success { color: #37623a; }.photo-upload-feedback.error { color: #943f36; }
.photo-preview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.photo-preview-empty { grid-column: 1 / -1; margin: 2px 0; color: #77716b; font-size: 12px; }
.photo-preview { position: relative; min-width: 0; overflow: hidden; border: 1px solid #d0cac0; background: #e7e2d9; }
.photo-preview img { display: block; width: 100%; aspect-ratio: 1.18; object-fit: cover; background: #d6d0c6; }
.photo-preview p { overflow: hidden; margin: 0; padding: 6px 7px; color: #4e4b46; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.photo-preview-order { position: absolute; top: 5px; left: 5px; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: #fff; background: rgba(0,0,0,.68); font-size: 11px; font-weight: 700; }
.photo-preview button { position: absolute; top: 4px; right: 4px; display: grid; width: 25px; height: 25px; place-items: center; padding: 0 0 2px; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.72); font-size: 20px; line-height: 1; }.photo-preview button:hover, .photo-preview button:focus-visible { color: var(--ink); background: var(--warm-light); }
.toast-region { position: fixed; z-index: 250; right: 18px; bottom: 18px; display: grid; gap: 10px; max-width: min(390px, calc(100vw - 36px)); }.toast { padding: 14px 17px; color: #fff; background: #171816; box-shadow: 0 12px 35px rgba(0,0,0,.25); font-size: 14px; animation: toast-in .2s ease both; }.toast.error { color: #fff5f3; background: #6b2e27; }.toast.success { color: #eff9ee; background: #294429; }
.turnstile-slot:empty { display: none; }.turnstile-slot { min-height: 0; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) { .site-header { padding: 19px 28px; }.main-nav { gap: 19px; }.section { padding-left: 7vw; padding-right: 7vw; }.listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.filter-panel { grid-template-columns: 1fr 1fr 1fr; }.filter-panel.is-open { max-height: 400px; }.filter-panel .button, .filter-clear { align-self: auto; }.experience, .dealer-banner { grid-template-columns: 1fr; }.experience { gap: 43px; }.experience-aside { flex-direction: row; }.dealer-banner { gap: 35px; }.site-footer { grid-template-columns: auto 1fr auto; }.site-footer > p:nth-of-type(1) { display: none; }.copyright { grid-column: 2; }.listing-detail { grid-template-columns: 1fr; }.listing-gallery { min-height: min(58vw, 520px); } }
@media (max-width: 700px) { body { font-size: 16px; }.site-header { padding: 15px 18px; }.brand { gap: 8px; font-size: 16px; }.brand-mark { width: 28px; height: 28px; font-size: 10px; }.main-nav, .desktop-only { display: none; }.header-actions { gap: 4px; }.header-actions .button { min-height: 38px; padding: 8px 12px; font-size: 12px; }.header-icon { width: 36px; }.menu-toggle { display: block; }.mobile-menu { position: fixed; z-index: 25; inset: 61px 0 auto; display: grid; max-height: 0; padding: 0 18px; overflow: hidden; color: var(--ink); background: rgba(245,242,236,.98); box-shadow: 0 10px 20px rgba(0,0,0,.08); opacity: 0; transition: max-height .25s, opacity .25s, padding .25s; }.mobile-menu.is-open { max-height: 320px; padding: 15px 18px; opacity: 1; }.mobile-menu a, .mobile-menu button { padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); color: inherit; background: none; text-align: left; font-size: 17px; font-weight: 600; }.hero { min-height: 680px; min-height: 100svh; }.hero-image { object-position: 61% center; }.hero-wordmark { width: calc(100% - 36px); }.hero h1 { max-width: 100%; font-size: clamp(44px, 12.7vw, 54px); letter-spacing: -.095em; white-space: nowrap; text-shadow: 0 6px 25px rgba(0,0,0,.72); }.hero-wordmark::before { width: 121vw; height: 121vw; }.hero-monogram { width: 54px; height: 54px; margin-bottom: 16px; font-size: 20px; }.hero-wordmark-line { width: min(52vw, 225px); margin-top: 18px; }.hero-scroll { right: 28px; bottom: 27px; width: 44px; height: 44px; }.section { padding: 76px 20px; }.intro-layout { grid-template-columns: 1fr; gap: 31px; }.intro-copy p { font-size: 18px; }.section-heading { align-items: end; margin-bottom: 27px; }.section-heading h2 { font-size: 40px; }.filter-toggle { font-size: 13px; }.filter-panel { grid-template-columns: 1fr 1fr; gap: 11px; }.filter-panel label:nth-child(3), .filter-panel label:nth-child(4) { grid-column: span 1; }.filter-panel .button { grid-column: span 1; }.filter-clear { grid-column: span 1; }.listing-grid { grid-template-columns: 1fr; gap: 12px; }.listing-card { min-height: 430px; }.experience-aside { gap: 20px; }.experience-content h2 { margin-bottom: 48px; }.experience-steps article { grid-template-columns: 50px 1fr; padding: 20px 0; }.experience-steps h3 { font-size: 18px; }.experience-steps p { font-size: 16px; }.dealer-banner { padding: 77px 20px; }.dealer-banner-copy p { font-size: 17px; }.appointment-band { padding: 96px 20px; }.site-footer { grid-template-columns: 1fr auto; gap: 19px 10px; padding: 27px 20px; }.footer-links { grid-column: 1 / -1; order: 3; }.copyright { grid-column: 2; grid-row: 1; font-size: 11px; }.modal-root { padding: 0; place-items: end !important; }.modal-panel { width: 100%; max-height: min(92svh, 850px); }.modal-form, .saved-panel, .portal-panel { padding: 32px 21px 27px; }.modal-panel h2 { font-size: 39px; }.form-grid, .form-grid.three { grid-template-columns: 1fr; }.listing-panel { max-height: 94svh; }.listing-gallery { min-height: 300px; }.listing-detail-content { padding: 28px 20px; }.detail-actions { grid-template-columns: 52px 1fr; }.saved-row { grid-template-columns: 80px 1fr auto; }.saved-row img { width: 80px; height: 61px; }.saved-row h3 { font-size: 18px; }.portal-row { align-items: start; }.portal-row h3 { font-size: 20px; }.toast-region { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); } }

/* Mobile-first account header: identity and the role's primary action remain
   visible without squeezing the brand, while secondary actions stay in the
   scroll-safe menu. */
@media (max-width: 900px) {
  .site-header {
    padding-top: calc(15px + env(safe-area-inset-top));
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }
  .header-actions { min-width: 0; gap: 6px; margin-left: auto; }
  .header-actions > .header-icon,
  .header-actions > .button-gold { display: none; }
  .mobile-header-control {
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 99px;
    color: inherit;
    background: rgba(20,18,15,.28);
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    backdrop-filter: blur(12px);
    touch-action: manipulation;
  }
  .mobile-header-account { max-width: 82px; }
  .mobile-header-account span { overflow: hidden; text-overflow: ellipsis; }
  .mobile-header-account::before { width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--warm-light); content: ""; flex: 0 0 auto; }
  .mobile-header-role-action { border-color: rgba(234,215,176,.65); color: #211d18; background: var(--warm-light); }
  .site-header.is-solid .mobile-header-control { border-color: rgba(70,58,42,.2); background: rgba(255,255,255,.72); }
  .site-header.is-solid .mobile-header-account::before { background: var(--warm); }
  .site-header.is-solid .mobile-header-role-action { color: #fff; background: #8b6736; }
  .menu-toggle { min-width: 44px; min-height: 44px; touch-action: manipulation; }
  .mobile-menu {
    top: calc(61px + env(safe-area-inset-top));
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-menu.is-open {
    max-height: calc(100dvh - 61px - env(safe-area-inset-top));
    overflow-y: auto;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
  .mobile-menu a,
  .mobile-menu button { min-height: 48px; touch-action: manipulation; }
}

@media (max-width: 430px) {
  .mobile-header-control { padding-inline: 9px; font-size: 11px; }
  .mobile-header-account { max-width: 66px; }
  .mobile-header-role-action { max-width: 83px; }
}

/* Smart discovery and comparison ----------------------------------------- */
.save-search-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(70, 58, 42, .17);
  color: #625a50;
  background: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.save-search-button:hover,
.save-search-button:focus-visible { border-color: #477f84; color: #fff; background: #477f84; }
.save-search-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.card-compare {
  position: absolute;
  z-index: 7;
  top: 10px;
  left: 10px;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 99px;
  color: #fff;
  background: rgba(4, 6, 7, .68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  backdrop-filter: blur(10px);
}
.card-compare:hover,
.card-compare:focus-visible,
.card-compare.is-active { border-color: #ccebed; color: #173538; background: #ccebed; }
.card-compare > span { display: grid; width: 16px; height: 16px; place-items: center; font-size: 13px; }
.listing-card-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 11px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(70, 58, 42, .11);
  color: #736b60;
  font-size: 9px;
  font-weight: 700;
}
.listing-card-trust span { display: inline-flex; align-items: center; gap: 4px; }
.listing-card-trust i { color: #477f84; font-style: normal; }
.listing-card-trust .is-verified { color: #477f84; }
#listingGrid.view-grid .listing-card-body { min-height: 154px; }
#listingGrid.view-list .listing-card-trust { max-width: 720px; }

.compare-tray {
  position: fixed;
  z-index: 74;
  right: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  width: min(620px, calc(100vw - 32px));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 11px 10px 18px;
  border: 1px solid rgba(180, 136, 74, .32);
  color: #fff;
  background: rgba(43, 37, 30, .96);
  box-shadow: 0 18px 50px rgba(48, 36, 22, .3);
  backdrop-filter: blur(16px);
  transform: translateX(50%);
}
.compare-tray[hidden] { display: none !important; }
.compare-tray > div:first-child { display: grid; gap: 3px; }
.compare-tray small { color: #d7bd89; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.compare-tray strong { font-size: 15px; }
.compare-tray-actions { display: flex; align-items: center; gap: 6px; }
.compare-tray-actions > button:first-child { min-height: 42px; padding: 8px 10px; border: 0; color: rgba(255,255,255,.68); background: transparent; font-size: 11px; font-weight: 800; }
.compare-tray-actions .button { min-height: 44px; padding: 9px 18px; border-color: #ead7b0; color: #211d18; background: #ead7b0; }
.compare-tray-actions .button:disabled { opacity: .42; }
body.modal-open .compare-tray { opacity: 0; pointer-events: none; }

.compare-panel { width: min(100%, 1240px); padding: clamp(28px, 4vw, 54px); overflow: hidden; }
.compare-panel > h2 { max-width: 780px; }
.compare-content { min-height: 260px; }
.compare-scroll { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.compare-grid {
  display: grid;
  grid-template-columns: 138px repeat(var(--compare-columns), minmax(210px, 1fr));
  min-width: calc(138px + (var(--compare-columns) * 210px));
  border-top: 1px solid rgba(70, 58, 42, .15);
  border-left: 1px solid rgba(70, 58, 42, .15);
}
.compare-rows { display: contents; }
.compare-label,
.compare-cell,
.compare-vehicle { border-right: 1px solid rgba(70, 58, 42, .15); border-bottom: 1px solid rgba(70, 58, 42, .15); }
.compare-label { display: flex; min-height: 58px; align-items: center; padding: 12px 14px; color: #7d7468; background: #eee7dc; font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.compare-label-top { align-items: flex-end; min-height: 248px; }
.compare-cell { display: flex; min-height: 58px; align-items: center; padding: 12px 15px; color: #403a33; background: rgba(255,255,255,.45); font-size: 13px; font-weight: 750; }
.compare-cell.is-price { color: #8b6736; font-size: 17px; font-variant-numeric: tabular-nums lining-nums; }
.compare-vehicle { position: relative; display: grid; min-height: 248px; align-content: start; gap: 9px; padding: 14px; background: #fffdfa; }
.compare-vehicle > button:first-child { position: absolute; z-index: 2; top: 7px; right: 7px; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.64); border-radius: 50%; color: #fff; background: rgba(15,16,17,.68); font-size: 21px; }
.compare-vehicle img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; background: #0b0d10; }
.compare-vehicle h3 { margin: 0; font-family: var(--sans); font-size: 17px; font-weight: 800; line-height: 1.12; }
.compare-open-listing { justify-self: start; padding: 0 0 4px; border: 0; border-bottom: 1px solid #b7aa97; color: #477f84; background: transparent; font-size: 10px; font-weight: 900; }

.saved-section { margin-top: 27px; }
.saved-section + .saved-section { padding-top: 24px; border-top: 1px solid var(--line); }
.saved-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.saved-section-heading h3 { margin: 0; font-family: var(--sans); font-size: 18px; font-weight: 800; }
.saved-section-heading > span { display: grid; min-width: 28px; height: 28px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #477f84; font-size: 11px; font-weight: 900; }
.saved-search-list { display: grid; gap: 8px; margin-top: 14px; }
.saved-search-row { display: grid; grid-template-columns: minmax(0, 1fr) 42px; border: 1px solid var(--line); background: rgba(255,255,255,.38); }
.saved-search-main { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-width: 0; padding: 13px; border: 0; color: var(--ink); background: transparent; text-align: left; }
.saved-search-main > span:first-child { color: #477f84; font-size: 21px; }
.saved-search-main > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.saved-search-main strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.saved-search-main small { color: var(--muted); font-size: 10px; }
.saved-search-main i { color: #477f84; font-style: normal; }
.saved-search-main:hover { background: rgba(93,159,165,.08); }
.saved-search-remove { border: 0; border-left: 1px solid var(--line); color: #776f64; background: transparent; font-size: 20px; }
.saved-search-remove:hover { color: #fff; background: #7e4b43; }

.listing-contact-actions { display: flex; flex-wrap: wrap; grid-template-columns: none; }
.listing-contact-actions .detail-save { min-height: 52px; flex: 0 0 53px; }
.listing-contact-actions .button { flex: 1 1 118px; }
.detail-compare.is-active { border-color: #477f84; color: #fff; background: #477f84; }

@media (max-width: 980px) {
  .save-search-button > span { display: none; }
  .save-search-button { width: 48px; flex: 0 0 48px; justify-content: center; padding: 0; }
}

@media (max-width: 700px) {
  .collection-toolbar-actions { grid-template-columns: auto minmax(0, 1fr) auto; }
  .card-compare { min-height: 36px; padding: 7px 9px; font-size: 9px; }
  .listing-card-trust { font-size: 8px; }
  #listingGrid.view-grid .listing-card-body { min-height: 148px; }
  .compare-tray { bottom: max(10px, env(safe-area-inset-bottom)); min-height: 60px; gap: 8px; padding: 8px 8px 8px 13px; }
  .compare-tray small { display: none; }
  .compare-tray strong { font-size: 12px; }
  .compare-tray-actions > button:first-child { display: none; }
  .compare-tray-actions .button { min-height: 43px; padding: 8px 13px; font-size: 11px; }
  .compare-panel { height: 100svh; max-height: 100svh; padding: 30px 16px 22px; }
  .compare-panel > h2 { padding-right: 42px; font-size: 34px; }
  .compare-grid { grid-template-columns: 105px repeat(var(--compare-columns), minmax(184px, 1fr)); min-width: calc(105px + (var(--compare-columns) * 184px)); }
  .compare-label-top,
  .compare-vehicle { min-height: 224px; }
  .compare-label { padding: 10px; font-size: 9px; }
  .compare-cell { padding: 10px 12px; font-size: 12px; }
  .compare-vehicle { padding: 10px; }
  .compare-vehicle h3 { font-size: 15px; }
  .saved-search-main small { display: none; }
}
@media (max-width: 700px) { .gallery-nav { width: 38px; height: 38px; font-size: 32px; }.gallery-nav-prev { left: 11px; }.gallery-nav-next { right: 11px; }.gallery-thumbs { right: 10px; bottom: 10px; max-width: calc(100% - 96px); }.gallery-thumbs button { width: 43px; height: 34px; }.listing-photo-field { padding: 12px; }.photo-preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.portal-billing { margin: 28px 0 20px; padding: 19px; border: 1px solid var(--line); background: rgba(255,255,255,.34); }.portal-section-label { margin: 0 0 12px; color: var(--warm); font-size: 10px; font-weight: 800; letter-spacing: .16em; }.billing-state { display: flex; align-items: flex-start; gap: 10px; }.billing-state strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; }.billing-state p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }.billing-dot { width: 9px; height: 9px; flex: 0 0 auto; margin-top: 8px; border-radius: 50%; background: #817c73; }.billing-active .billing-dot { background: #4d7a50; box-shadow: 0 0 0 4px rgba(77,122,80,.12); }.billing-grace .billing-dot { background: #b17c22; box-shadow: 0 0 0 4px rgba(177,124,34,.12); }.billing-expired .billing-dot { background: #9e443a; box-shadow: 0 0 0 4px rgba(158,68,58,.11); }.portal-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }.portal-actions .button { min-height: 45px; font-size: 12px; }.portal-actions small { display: inline-block; margin-left: 4px; opacity: .74; font-size: 10px; }.portal-metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 25px; border: 1px solid var(--line); }.portal-metrics div { min-width: 0; padding: 15px 13px; border-right: 1px solid var(--line); }.portal-metrics div:last-child { border-right: 0; }.portal-metrics strong { display: block; font-family: var(--serif); font-size: 29px; font-weight: 500; line-height: 1; }.portal-metrics span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.25; }.portal-list-section { margin-top: 25px; }.portal-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }.portal-list-heading .portal-section-label { margin: 0; }.portal-list-heading .button { min-height: 40px; padding: 9px 13px; font-size: 11px; }.portal-row-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }.portal-row-action { min-height: 29px; padding: 5px 8px; border: 1px solid var(--line); color: var(--ink); background: transparent; font-size: 10px; font-weight: 700; }.portal-row-action:hover, .portal-row-action:focus-visible { border-color: var(--ink); background: var(--ink); color: var(--paper); }.portal-row-action.is-destructive { color: #8b4740; }.portal-row-action.is-destructive:hover, .portal-row-action.is-destructive:focus-visible { border-color: #8b4740; background: #8b4740; color: #fff; }
.billing-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.billing-heading .portal-section-label { margin-bottom: 12px; }.billing-sandbox-badge { padding: 5px 8px; border: 1px solid rgba(177,124,34,.34); color: #805916; background: rgba(177,124,34,.08); font-size: 9px; font-weight: 850; letter-spacing: .12em; }.billing-plan-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 18px; }.billing-plan { display: grid; gap: 4px; min-width: 0; padding: 15px; border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.48); text-align: left; }.billing-plan:hover, .billing-plan:focus-visible { border-color: var(--brand-cyan); box-shadow: 0 10px 28px rgba(26,42,47,.07); }.billing-plan:disabled { cursor: wait; opacity: .66; }.billing-plan > span { color: #36717d; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.billing-plan > strong { font-family: var(--serif); font-size: 20px; font-weight: 500; }.billing-plan > small { color: var(--muted); font-size: 11px; line-height: 1.45; }
@media (max-width: 700px) { .portal-billing { padding: 15px; }.billing-plan-grid { grid-template-columns: 1fr; }.portal-actions { display: grid; grid-template-columns: 1fr; }.portal-actions .button { width: 100%; }.portal-metrics { grid-template-columns: repeat(2, 1fr); }.portal-metrics div:nth-child(2) { border-right: 0; }.portal-metrics div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.portal-metrics strong { font-size: 24px; }.portal-metrics div { padding: 13px 9px; }.portal-list-heading { align-items: flex-start; }.portal-list-heading .button { flex: 0 0 auto; } }
.admin-portal-panel { width: min(100%, 1040px); }.admin-portal-actions { margin: 24px 0 33px; }.admin-review-section + .admin-review-section { margin-top: 34px; }.admin-count { display: inline-grid; min-width: 22px; height: 22px; place-items: center; margin-left: 7px; padding: 0 5px; border: 1px solid #c6b99e; border-radius: 99px; color: #6f572b; font-size: 10px; line-height: 1; vertical-align: middle; }.admin-dealer-list { display: grid; border-top: 1px solid var(--line); }.admin-dealer-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }.admin-dealer-main { min-width: 0; }.admin-dealer-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }.admin-dealer-heading h3 { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -.035em; }.admin-dealer-row p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }.admin-dealer-row .admin-dealer-contact { color: #4d4944; }.admin-dealer-row .admin-dealer-date { color: #817c73; font-size: 12px; }.admin-dealer-row .admin-dealer-note { max-width: 720px; margin-top: 12px; padding: 10px 12px; border-left: 2px solid var(--warm); color: #4d4944; background: rgba(202,180,133,.08); white-space: pre-line; }.admin-dealer-row > .portal-row-actions { justify-content: flex-end; min-width: 136px; margin: 0; }.status.approved { border-color: #9ab094; color: #476842; }.status.suspended { border-color: #d4ad83; color: #875f2c; }
@media (max-width: 700px) { .admin-portal-panel { padding-bottom: 34px; }.admin-dealer-row { grid-template-columns: 1fr; gap: 12px; }.admin-dealer-row > .portal-row-actions { justify-content: flex-start; min-width: 0; margin-top: 0; }.admin-dealer-heading { align-items: flex-start; }.admin-dealer-heading h3 { font-size: 22px; }.admin-portal-actions .button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Listing photo desk: the collection is intentionally unbounded. A contained,
   lazy preview rail keeps hundreds of selected files navigable without growing
   the modal or forcing all thumbnails to decode at once. */
.photo-preview-grid { max-height: min(52svh, 540px); padding: 2px; overflow: auto; scrollbar-width: thin; }
.photo-preview { display: grid; grid-template-rows: auto auto auto; border-radius: 2px; }
.photo-preview img { min-width: 0; }
.photo-preview-actions { position: absolute; top: 4px; right: 4px; display: flex; gap: 3px; }
.photo-preview .photo-preview-actions button { position: static; width: 25px; height: 25px; padding: 0; border-radius: 50%; font-family: var(--sans); font-size: 14px; line-height: 1; }
.photo-preview .photo-preview-remove { font-size: 20px !important; padding-bottom: 2px !important; }
.photo-preview .photo-preview-actions button:disabled { cursor: default; opacity: .42; }
.photo-preview small { display: block; overflow: hidden; padding: 0 7px 7px; color: #77716b; font-size: 9px; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.photo-preview-optimizing, .photo-preview-uploading { border-color: #ba9555; box-shadow: inset 0 0 0 1px rgba(186,149,85,.22); }
.photo-preview-uploaded { border-color: #9ab094; }
.photo-preview-uploaded small { color: #476842; }
.photo-preview-error { border-color: #c7837c; }
.photo-preview-error small { color: #943f36; }
@media (max-width: 700px) { .photo-preview-grid { max-height: min(48svh, 430px); }.photo-preview .photo-preview-actions button { width: 24px; height: 24px; } }

/* Intelligent location search ------------------------------------------------ */
.filter-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.filter-panel.is-open { max-height: 260px; }
.filter-location { display: grid; grid-column: span 2; align-self: end; gap: 7px; min-width: 0; }
.filter-location-label { color: inherit; font-size: 13px; font-weight: 700; }
.location-filter-trigger { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; width: 100%; min-height: 50px; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); color: var(--paper); background: rgba(255,255,255,.06); text-align: left; transition: border-color .2s, background .2s; }
.location-filter-trigger:hover, .location-filter-trigger:focus-visible, .location-filter-trigger.is-selected { border-color: var(--warm-light); background: rgba(195,164,109,.15); }
.location-filter-trigger svg { width: 21px; fill: none; stroke: var(--warm-light); stroke-width: 1.45; }
.location-filter-trigger span { display: grid; min-width: 0; gap: 1px; }
.location-filter-trigger strong { overflow: hidden; font-size: 14px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.location-filter-trigger small { overflow: hidden; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.location-filter-trigger i { color: var(--warm-light); font-size: 16px; font-style: normal; }

.location-picker-root { position: fixed; z-index: 130; inset: 0; display: none; align-items: center; justify-content: center; padding: clamp(10px, 4vw, 45px); overflow-y: auto; background: rgba(1,2,2,.8); opacity: 0; transition: opacity .2s; overscroll-behavior: contain; }
.location-picker-root.is-open { display: grid; opacity: 1; }
.location-picker-dialog { position: relative; width: min(100%, 980px); max-height: min(900px, calc(100svh - 20px)); overflow: auto; color: var(--ink); background: var(--paper); box-shadow: 0 32px 95px rgba(0,0,0,.45); animation: modal-in .25s ease both; }
.location-picker-close { position: absolute; z-index: 1010; top: 14px; right: 14px; display: grid; width: 39px; height: 39px; place-items: center; padding: 0 0 3px; border: 1px solid rgba(245,242,236,.46); border-radius: 50%; color: var(--paper); background: rgba(10,11,12,.76); font-size: 25px; font-weight: 300; line-height: 1; backdrop-filter: blur(8px); }
.location-picker-close:hover { color: var(--ink); background: var(--warm-light); }
.location-picker-actions { display: flex; justify-content: space-between; gap: 12px; padding: 17px clamp(20px, 3vw, 30px) clamp(20px, 3vw, 30px); border-top: 1px solid var(--line); background: var(--paper); }
.location-picker-reset { min-height: 48px; padding: 0 5px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; font-weight: 700; font-size: 13px; }
.location-picker-reset:disabled { cursor: progress; opacity: .55; }
.location-picker-dialog .cs-location-picker { border: 0; box-shadow: none; }
.location-picker-dialog .cs-location-picker__map .leaflet-tile-pane { filter: grayscale(.94) contrast(.9) brightness(.76); }
.location-picker-dialog .cs-location-picker__map .leaflet-control-zoom a { color: var(--ink); }

@media (max-width: 980px) {
  .filter-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-panel.is-open { max-height: 410px; }
  .filter-location { grid-column: span 2; }
}

@media (max-width: 700px) {
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .filter-panel.is-open { max-height: 530px; }
  .filter-location { grid-column: 1 / -1; }
  .location-picker-root { align-items: end; padding: 0; }
  .location-picker-dialog { width: 100%; max-height: 94svh; }
  .location-picker-actions { position: sticky; bottom: 0; padding: 13px 20px max(18px, env(safe-area-inset-bottom)); }
  .location-picker-actions .button { flex: 1 1 auto; min-height: 49px; padding: 11px 14px; font-size: 13px; }
  .location-picker-reset { flex: 0 1 auto; font-size: 12px; }
}

/* Dealer inventory import --------------------------------------------------- */
.portal-list-heading-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.portal-list-heading-actions .button { min-height: 40px; padding: 9px 13px; font-size: 11px; }
.portal-import-hint { margin: 11px 0 -8px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.bulk-import-modal { width: min(100%, 1040px); }
.bulk-import-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 25px 0; border: 1px solid var(--line); background: var(--line); }
.bulk-import-guide > div { display: grid; grid-template-columns: 25px 1fr; gap: 9px; min-width: 0; padding: 13px; background: rgba(255,255,255,.36); }
.bulk-import-guide strong { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid #aa8d55; border-radius: 50%; color: #785d29; font-family: var(--serif); font-size: 13px; font-weight: 500; }
.bulk-import-guide span { color: #514e49; font-size: 12px; line-height: 1.45; }.bulk-import-guide b { color: var(--ink); }
.bulk-import-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 15px; }.bulk-import-actions .button { min-height: 41px; padding: 9px 13px; font-size: 12px; }
.bulk-import-file { display: grid; gap: 8px; padding: 15px; border: 1px solid #d0cac0; background: rgba(255,255,255,.32); }
.bulk-import-file input[type="file"] { min-height: auto; padding: 10px; border: 1px dashed #bdb4a7; background: #fff; cursor: pointer; font-size: 14px; }
.bulk-import-file input[type="file"]::file-selector-button { margin-right: 11px; padding: 8px 10px; border: 0; color: #fff; background: var(--ink); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.bulk-import-preview { margin: 18px 0 22px; border: 1px solid var(--line); background: rgba(255,255,255,.24); }.bulk-import-empty { margin: 0; padding: 17px; color: var(--muted); font-size: 13px; }
.bulk-import-summary { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 5px 8px; align-items: baseline; padding: 14px 16px; border-bottom: 1px solid var(--line); }.bulk-import-summary strong { color: #6f572b; font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1; }.bulk-import-summary span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.bulk-import-report { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); color: #55514c; font-size: 12px; }.bulk-import-report b { color: var(--ink); }
.bulk-import-table-wrap { max-width: 100%; overflow: auto; }.bulk-import-table { width: 100%; min-width: 650px; border-collapse: collapse; text-align: left; }.bulk-import-table th { padding: 10px 13px; color: #706b64; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }.bulk-import-table td { padding: 11px 13px; border-bottom: 1px solid rgba(10,11,12,.09); vertical-align: top; color: #494640; font-size: 12px; }.bulk-import-table td:nth-child(1), .bulk-import-table td:nth-child(3) { width: 76px; color: #736e67; font-variant-numeric: tabular-nums; }.bulk-import-table b, .bulk-import-table small { display: block; }.bulk-import-table b { color: var(--ink); font-size: 13px; }.bulk-import-table small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }.bulk-import-row-invalid td, .bulk-import-row-failed td { background: rgba(157,68,55,.055); }.bulk-import-row-imported td { background: rgba(77,122,80,.055); }.bulk-import-status { display: block; color: #765f33; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.bulk-import-row-imported .bulk-import-status { color: #476842; }.bulk-import-row-invalid .bulk-import-status, .bulk-import-row-failed .bulk-import-status { color: #8b4740; }.bulk-import-more { margin: 0; padding: 10px 16px; color: var(--muted); font-size: 11px; }
@media (max-width: 700px) { .portal-list-heading { display: grid; grid-template-columns: 1fr; }.portal-list-heading-actions { justify-content: flex-start; }.portal-list-heading-actions .button { flex: 1 1 auto; }.bulk-import-modal { max-height: 94svh; }.bulk-import-guide { grid-template-columns: 1fr; }.bulk-import-summary { grid-template-columns: auto 1fr; }.bulk-import-summary strong:nth-of-type(2) { margin-top: 7px; }.bulk-import-summary span:nth-of-type(2) { margin-top: 7px; } }
.cargr-feed-modal { width: min(100%, 920px); }
.cargr-feed-state { margin: 23px 0; }
.cargr-feed-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: rgba(255,255,255,.28); }
.cargr-feed-metrics div { min-width: 0; padding: 17px; border-right: 1px solid var(--line); }
.cargr-feed-metrics div:last-child { border-right: 0; }
.cargr-feed-metrics strong { display: block; color: #5f4923; font-family: var(--serif); font-size: 31px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.cargr-feed-metrics span { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cargr-feed-ready, .cargr-feed-warning { margin-top: 10px; padding: 15px 17px; border: 1px solid rgba(77,122,80,.28); background: rgba(77,122,80,.06); }
.cargr-feed-warning { border-color: rgba(177,124,34,.32); background: rgba(177,124,34,.07); }
.cargr-feed-ready strong, .cargr-feed-warning strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.cargr-feed-ready p, .cargr-feed-warning p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.cargr-feed-url { display: grid; gap: 8px; margin-top: 17px; font-size: 12px; font-weight: 800; }
.cargr-feed-url input { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px !important; }
.cargr-feed-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.cargr-feed-actions .button { min-height: 42px; padding: 10px 14px; font-size: 11px; }
.cargr-feed-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 25px; border: 1px solid var(--line); background: var(--line); }
.cargr-feed-steps > div { display: grid; grid-template-columns: 27px 1fr; gap: 10px; min-width: 0; padding: 15px; background: rgba(255,255,255,.42); }
.cargr-feed-steps strong { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #aa8d55; border-radius: 50%; color: #785d29; font-family: var(--serif); font-size: 14px; font-weight: 500; }
.cargr-feed-steps span { color: #514e49; font-size: 12px; line-height: 1.5; }
.cargr-feed-steps a { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) { .cargr-feed-metrics { grid-template-columns: 1fr 1fr; }.cargr-feed-metrics div:nth-child(2) { border-right: 0; }.cargr-feed-metrics div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }.cargr-feed-actions { display: grid; grid-template-columns: 1fr; }.cargr-feed-actions .button { width: 100%; }.cargr-feed-steps { grid-template-columns: 1fr; } }

/* CarSpotlightGR TikTok brand system --------------------------------------- */
.brand { position: relative; }
.brand > span:last-child span, .footer-brand span:not(.brand-mark) { color: inherit; }
.brand > span:last-child::after { display: inline-block; width: 6px; height: 6px; margin: 0 0 .62em .12em; border-radius: 50%; content: ""; background: var(--brand-orange); vertical-align: middle; }
.brand-mark { position: relative; border-color: var(--brand-cyan); box-shadow: 0 0 0 2px rgba(0,208,255,.08), 0 0 18px rgba(0,208,255,.28); font-family: var(--sans); font-size: 10px; font-weight: 700; }
.brand-mark::after { position: absolute; top: 3px; right: 3px; width: 4px; height: 4px; border-radius: 50%; content: ""; background: var(--brand-orange); box-shadow: 0 0 9px rgba(255,157,29,.8); }
.button-outline { border-color: rgba(10,11,12,.35); color: var(--ink); background: transparent; }
.button-outline:hover { border-color: var(--ink); background: rgba(10,11,12,.06); }

.hero-shade { background: linear-gradient(100deg, rgba(0,2,5,.96) 0%, rgba(0,5,10,.82) 31%, rgba(0,9,16,.38) 56%, rgba(0,0,0,.1) 75%), linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.02) 45%, rgba(0,0,0,.77) 100%); }
.hero-aurora { background: radial-gradient(circle at 47% 42%, rgba(0,208,255,.22), transparent 18%), radial-gradient(circle at 64% 61%, rgba(255,138,26,.16), transparent 19%), radial-gradient(circle at 50% 43%, rgba(33,119,177,.12), transparent 38%); }
.hero-frame::before, .hero-frame::after { border-color: rgba(0,208,255,.8); }
.hero-wordmark::before { border-color: rgba(0,208,255,.23); box-shadow: 0 0 100px rgba(0,208,255,.14), inset 0 0 75px rgba(0,208,255,.06); }
.hero-monogram { border-color: rgba(0,208,255,.96); box-shadow: 0 0 28px rgba(0,208,255,.22); font-family: var(--sans); font-size: clamp(20px, 2vw, 29px); font-weight: 700; letter-spacing: -.1em; }
.hero-monogram::before { border-color: rgba(255,157,29,.58); }
.hero h1 { font-family: var(--sans); font-size: clamp(54px, 9.3vw, 145px); font-weight: 700; letter-spacing: -.092em; }
.hero h1 span { color: #fff; }
.hero h1::after { position: absolute; top: -.16em; right: -.09em; width: .1em; height: .1em; border-radius: 50%; content: ""; background: var(--brand-orange); box-shadow: 0 0 22px rgba(255,157,29,.75); }
.hero-wordmark-line::after { background: linear-gradient(90deg, transparent, var(--brand-cyan), var(--brand-orange), transparent); }
.hero-scroll:hover, .hero-scroll:focus-visible { background: var(--brand-cyan); }
.hero-tiktok { position: absolute; left: clamp(29px, 5vw, 82px); bottom: clamp(29px, 5vw, 75px); display: inline-grid; grid-template-columns: 30px auto 16px; gap: 10px; align-items: center; padding: 10px 12px 10px 10px; border: 1px solid rgba(255,255,255,.34); color: #fff; background: rgba(0,7,12,.38); backdrop-filter: blur(12px); transition: transform .22s, border-color .22s, background .22s; }
.hero-tiktok:hover, .hero-tiktok:focus-visible { border-color: var(--brand-cyan); background: rgba(0,16,25,.7); transform: translateY(-3px); }
.hero-tiktok-note { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--ink); background: linear-gradient(135deg, var(--brand-cyan), #fff 52%, var(--brand-orange)); font-size: 20px; font-weight: 700; }
.hero-tiktok small, .hero-tiktok strong { display: block; line-height: 1.15; }.hero-tiktok small { margin-bottom: 3px; color: rgba(255,255,255,.64); font-size: 8px; font-weight: 700; letter-spacing: .13em; }.hero-tiktok strong { font-size: 12px; letter-spacing: -.02em; }.hero-tiktok i { color: var(--brand-cyan); font-style: normal; font-size: 15px; }

/* Audience collections ------------------------------------------------------ */
.collection-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: -5px 0 28px; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.collection-tab { position: relative; display: grid; gap: 4px; min-height: 90px; align-content: center; padding: 17px 18px; border: 0; border-right: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.64); background: transparent; text-align: left; transition: color .2s, background .2s; }
.collection-tab:last-child { border-right: 0; }.collection-tab::after { position: absolute; right: 18px; bottom: -1px; left: 18px; height: 2px; content: ""; background: transparent; transition: background .2s; }
.collection-tab span { color: inherit; font-size: clamp(15px, 1.4vw, 19px); font-weight: 700; letter-spacing: -.035em; }.collection-tab small { color: rgba(255,255,255,.43); font-size: 11px; font-weight: 600; }
.collection-tab:hover, .collection-tab:focus-visible, .collection-tab.is-active { color: #fff; background: rgba(255,255,255,.045); }.collection-tab.is-active::after { background: linear-gradient(90deg, var(--brand-cyan), var(--brand-orange)); }.collection-tab.is-active small { color: var(--brand-cyan); }

/* Admin-curated automotive services ---------------------------------------- */
.services-section { border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #f5f2ec 0%, #ece7de 100%); }
.services-heading { display: grid; grid-template-columns: 1fr; align-items: end; margin-bottom: clamp(24px, 3vw, 38px); }
.partner-categories { display: flex; gap: 10px; margin: 0 0 clamp(30px, 5vw, 54px); overflow-x: auto; padding: 2px 0 10px; scrollbar-width: thin; }
.partner-category { flex: 0 0 auto; padding: 10px 15px; border: 1px solid rgba(12,16,18,.16); border-radius: 999px; color: #252827; background: rgba(255,255,255,.46); font-size: 14px; font-weight: 700; white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-height: 1px; }.service-grid:empty { display: none; }
.service-card { position: relative; min-height: 270px; padding: 26px; overflow: hidden; border: 1px solid rgba(10,11,12,.15); color: var(--ink); background: rgba(255,255,255,.45); transition: transform .24s, box-shadow .24s, border-color .24s; }.service-card:hover { border-color: rgba(0,208,255,.72); box-shadow: 0 18px 40px rgba(10,11,12,.09); transform: translateY(-4px); }
.service-card::after { position: absolute; right: -30px; bottom: -38px; width: 140px; height: 140px; border: 1px solid rgba(0,208,255,.22); border-radius: 50%; content: ""; }.service-card:nth-child(3n + 2)::after { border-color: rgba(255,157,29,.36); }
.service-card-kicker { position: relative; z-index: 1; margin: 0 0 42px; color: #6e6a63; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }.service-card h3 { position: relative; z-index: 1; max-width: 300px; margin: 0 0 10px; font-family: var(--serif); font-size: clamp(28px, 2.8vw, 43px); font-weight: 500; letter-spacing: -.055em; line-height: 1; }.service-card p { position: relative; z-index: 1; max-width: 310px; margin: 0; color: #57534d; font-size: 15px; line-height: 1.48; }.service-card-link { position: absolute; z-index: 2; right: 25px; bottom: 22px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(10,11,12,.32); border-radius: 50%; font-size: 18px; transition: color .2s, background .2s; }.service-card:hover .service-card-link { color: var(--ink); background: var(--brand-cyan); border-color: var(--brand-cyan); }
.services-empty { display: grid; max-width: 600px; padding: 24px 0 0; }.services-empty .empty-mark { color: var(--ink); border-color: var(--brand-cyan); }.services-empty h3 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(32px, 4vw, 51px); font-weight: 500; letter-spacing: -.055em; }.services-empty p { max-width: 520px; margin: 0; color: var(--muted); font-size: 18px; }
.coming-soon-label { width: max-content; margin-bottom: 22px; padding: 8px 12px; border: 1px solid rgba(93,159,165,.48); color: #477f84; background: rgba(255,255,255,.58); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.admin-portal-actions { display: flex; flex-wrap: wrap; gap: 10px; }.admin-portal-actions .button { margin: 0; }

@media (max-width: 1200px) and (min-width: 981px) { .main-nav, .header-actions { gap: 15px; }.main-nav a, .main-nav button { font-size: 13px; }.site-header { gap: 16px; } }
@media (max-width: 980px) { .services-heading { grid-template-columns: 1fr; gap: 20px; }.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .mobile-menu.is-open { max-height: 540px; }.hero-tiktok { bottom: 25px; left: 20px; }.hero-scroll { right: 20px; bottom: 25px; }.hero h1 { font-size: clamp(42px, 11.2vw, 54px); }.hero h1::after { right: -.12em; }.collection-tabs { grid-template-columns: 1fr; margin-bottom: 24px; }.collection-tab { min-height: 72px; padding: 14px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }.collection-tab:last-child { border-bottom: 0; }.collection-tab::after { right: 0; left: 0; }.collection-tab span { font-size: 17px; }.services-heading p:last-child { font-size: 17px; }.service-grid { grid-template-columns: 1fr; }.service-card { min-height: 238px; padding: 23px 20px; }.services-empty p { font-size: 17px; }.admin-portal-actions .button { width: 100%; } }

/* Video-led private collection and admin service tools --------------------- */
.listing-video-indicator { display: inline-flex; margin: 0 7px 7px 0; padding: 5px 8px; border: 1px solid rgba(0,208,255,.72); color: var(--brand-cyan); font-size: 9px; font-weight: 800; letter-spacing: .13em; vertical-align: top; }
.listing-video-link { display: inline-flex; align-items: center; gap: 10px; margin: -4px 0 24px; padding: 9px 0; border-bottom: 1px solid rgba(10,11,12,.45); color: var(--ink); font-size: 13px; font-weight: 800; }.listing-video-link span { color: var(--brand-cyan); font-size: 17px; transition: transform .2s; }.listing-video-link:hover span { transform: translate(3px,-3px); }
.listing-video-field { padding: 15px; border: 1px solid rgba(0,208,255,.4); background: rgba(0,208,255,.035); }.listing-video-field > span { color: #397889 !important; }
.service-admin-meta { color: #746f67 !important; font-size: 11px !important; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }.portal-row-action.danger { color: #8b4740; border-color: rgba(139,71,64,.35); }.portal-row-action.danger:hover, .portal-row-action.danger:focus-visible { border-color: #8b4740; color: #fff; background: #8b4740; }
.service-form-panel { width: min(100%, 850px); }.service-form-options { display: flex; flex-wrap: wrap; gap: 15px 22px; }.service-form-options .consent { flex: 1 1 230px; }.service-manager-panel .portal-empty { margin: 24px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 700px) { .listing-video-field { padding: 13px; }.service-form-options { display: grid; gap: 12px; } }

/* Full collection filters --------------------------------------------------- */
.filter-panel { display: block; }
.filter-panel.is-open { max-height: 1300px; padding: 0 0 28px; overflow: hidden; }
.filter-panel-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 0 0 15px; color: rgba(255,255,255,.72); }
.filter-panel-heading strong { color: #fff; font-size: 15px; letter-spacing: -.02em; }.filter-panel-heading span { color: rgba(255,255,255,.53); font-size: 12px; }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.filter-grid-primary { grid-template-columns: 1.05fr 1.05fr 1.25fr .95fr; }
.filter-group { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.filter-group-title { margin: 0 0 11px; color: var(--brand-cyan); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.filter-grid-ranges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.filter-location { display: grid; grid-column: auto; margin-top: 20px; }
.filter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 18px; }.filter-actions .button { min-height: 50px; }.filter-actions .filter-clear { min-height: 50px; padding: 0 11px; }
.filter-panel input, .filter-panel select { font-size: 15px; }.filter-panel select { appearance: auto; }
.dealer-access-note { display: flex; align-items: flex-start; gap: 11px; margin: 25px 0 20px; padding: 17px 18px; border: 1px solid rgba(0,208,255,.32); background: linear-gradient(115deg, rgba(0,208,255,.08), rgba(255,157,29,.045)); }.dealer-access-note > span { width: 9px; height: 9px; flex: 0 0 auto; margin-top: 7px; border-radius: 50%; background: var(--brand-cyan); box-shadow: 0 0 0 5px rgba(0,208,255,.1), 0 0 16px rgba(0,208,255,.45); }.dealer-access-note strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 500; }.dealer-access-note p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.48; }

@media (max-width: 980px) {
  .filter-panel.is-open { max-height: 1600px; }
  .filter-grid, .filter-grid-primary, .filter-grid-ranges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .filter-panel.is-open { max-height: 2200px; }
  .filter-panel-heading { display: grid; gap: 4px; }.filter-panel-heading strong { font-size: 16px; }.filter-panel-heading span { font-size: 12px; line-height: 1.4; }
  .filter-grid, .filter-grid-primary, .filter-grid-ranges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .filter-group { margin-top: 17px; padding-top: 16px; }
  .filter-actions { display: grid; grid-template-columns: 1fr 1fr; }.filter-actions .button, .filter-actions .filter-clear { width: 100%; }
}

/* Admin control center ------------------------------------------------------ */
.modal-back { display: inline-flex; align-items: center; min-height: 29px; margin: 0 0 19px; padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; font-size: 12px; font-weight: 800; }.modal-back:hover, .modal-back:focus-visible { border-color: var(--ink); }
.admin-dealer-access { color: #397889 !important; font-size: 11px !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-concierge-list, .admin-appointment-list { display: grid; margin-top: 26px; border-top: 1px solid var(--line); }
.admin-concierge-row { display: grid; grid-template-columns: 158px minmax(0, 1fr); gap: 17px; padding: 16px 0; border-bottom: 1px solid var(--line); }.admin-concierge-row > img { width: 158px; height: 112px; object-fit: cover; background: #1a1b1d; }.admin-concierge-main { min-width: 0; }.admin-concierge-main h3 { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.04em; }.admin-concierge-main > p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }.admin-concierge-main .admin-concierge-meta { color: #397889; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.admin-lead-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 23px 0 2px; }.admin-lead-filters button { min-height: 35px; padding: 7px 10px; border: 1px solid var(--line); color: #5b5751; background: transparent; font-size: 11px; font-weight: 800; }.admin-lead-filters button:hover, .admin-lead-filters button:focus-visible, .admin-lead-filters button.is-active { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.admin-appointment-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 17px; align-items: start; padding: 17px 0; border-bottom: 1px solid var(--line); }.admin-appointment-row h3 { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -.035em; }.admin-appointment-row p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }.admin-appointment-row .admin-appointment-contact { color: #45423d; font-weight: 700; }.admin-appointment-identity { display: grid; gap: 10px; margin: 0 0 22px; padding: 16px; border-left: 2px solid var(--brand-cyan); background: rgba(0,208,255,.045); }.admin-appointment-identity p { margin: 0; color: #4d4944; font-size: 14px; line-height: 1.5; }.admin-appointment-identity strong, .admin-appointment-identity span { display: block; }.admin-appointment-identity strong { color: var(--ink); font-family: var(--serif); font-size: 23px; font-weight: 500; }.admin-appointment-identity span { color: #56514a; font-size: 13px; }.admin-appointment-customer-note { padding: 11px 12px; border-left: 2px solid var(--warm); background: rgba(202,180,133,.1); white-space: pre-line; }.admin-appointment-history { margin-top: 3px; }.admin-appointment-history-list { padding: 13px 15px; border: 1px solid var(--line); background: rgba(255,255,255,.28); }.admin-appointment-history-list .portal-section-label { margin-bottom: 9px; }.admin-appointment-history-list p { display: flex; justify-content: space-between; gap: 15px; margin: 0; padding: 7px 0; border-top: 1px solid rgba(10,11,12,.08); color: #5b5751; font-size: 12px; }.admin-appointment-history-list p:first-of-type { border-top: 0; }.admin-appointment-history-list p span { color: #817c73; white-space: nowrap; }
.status.requested { border-color: #c6b99e; color: #6f572b; }.status.confirmed { border-color: #90b7bc; color: #276b76; }.status.completed, .status.sold { border-color: #9ab094; color: #476842; }.status.cancelled { border-color: #c9a4a0; color: #8b4740; }

@media (max-width: 700px) {
  .admin-concierge-row { grid-template-columns: 94px minmax(0, 1fr); gap: 12px; }.admin-concierge-row > img { width: 94px; height: 83px; }.admin-concierge-main h3, .admin-appointment-row h3 { font-size: 21px; }.admin-concierge-main .admin-dealer-heading { display: grid; gap: 7px; }.admin-concierge-main .status { justify-self: start; }
  .admin-lead-filters { display: grid; grid-template-columns: 1fr 1fr; }.admin-lead-filters button { width: 100%; }.admin-appointment-row { grid-template-columns: 1fr; gap: 11px; }.admin-appointment-row > .portal-row-action { justify-self: start; }.admin-appointment-history-list p { display: grid; gap: 3px; }.admin-appointment-history-list p span { white-space: normal; }
}

/* Secure account and dealer inventory workspace --------------------------- */
.auth-feedback { margin: 18px 0 4px; padding: 12px 14px; border: 1px solid rgba(0,208,255,.34); color: #315e69; background: rgba(0,208,255,.055); font-size: 14px; line-height: 1.5; }
.auth-feedback.error { border-color: rgba(139,71,64,.35); color: #7d3d36; background: rgba(139,71,64,.06); }.auth-feedback.success { border-color: rgba(77,122,80,.36); color: #41683e; background: rgba(77,122,80,.06); }
.auth-secondary-actions { display: flex; flex-wrap: wrap; gap: 8px 17px; margin-top: 16px; }.auth-secondary-actions button { min-height: 34px; padding: 2px 0; border: 0; border-bottom: 1px solid var(--line); color: #4e4a44; background: transparent; font-size: 13px; font-weight: 750; }.password-hint { margin: -5px 0 3px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.account-kind-chooser { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0 0 17px; padding: 0; border: 0; }.account-kind-chooser legend { grid-column: 1 / -1; margin-bottom: 3px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.account-kind-card { position: relative; display: block; margin: 0; cursor: pointer; }.account-kind-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }.account-kind-card span { display: grid; align-content: start; gap: 5px; min-height: 142px; padding: 17px; border: 1px solid var(--line); background: rgba(255,255,255,.34); transition: border-color .2s, background .2s, transform .2s; }.account-kind-card strong { font-family: var(--serif); font-size: 23px; font-weight: 500; }.account-kind-card small { color: var(--muted); font-size: 12px; line-height: 1.5; }.account-kind-card input:checked + span { border-color: var(--brand-cyan); background: rgba(0,208,255,.055); box-shadow: inset 0 0 0 1px rgba(0,208,255,.18); }.account-kind-card input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }.account-kind-card:hover span { transform: translateY(-1px); }
.portal-account-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: -4px 54px 27px 0; padding: 11px 0 14px; border-bottom: 1px solid var(--line); }.portal-account-bar > div:first-child { display: grid; gap: 3px; min-width: 0; }.portal-account-bar span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }.portal-account-bar strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }.portal-account-bar > div:last-child { display: flex; flex-wrap: wrap; gap: 8px 15px; justify-content: flex-end; }.portal-account-bar button { min-height: 32px; padding: 0; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; font-size: 11px; font-weight: 800; }
.dealer-listing-filters { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(170px, .55fr) auto; gap: 10px; align-items: end; margin: 18px 0 12px; padding: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.28); }.dealer-listing-filters label { gap: 5px; font-size: 11px; }.dealer-listing-filters input, .dealer-listing-filters select { min-height: 45px; font-size: 14px; }.dealer-listing-filters .button { min-height: 45px; }
.dealer-inventory-row { display: grid; grid-template-columns: 116px minmax(0,1fr) auto; gap: 15px; align-items: start; }.dealer-inventory-row > img, .portal-row-placeholder { width: 116px; height: 82px; object-fit: cover; background: #15171a; }.portal-row-placeholder { display: grid; place-items: center; color: rgba(255,255,255,.58); font-size: 11px; font-weight: 800; letter-spacing: .06em; }.dealer-inventory-main { min-width: 0; }.dealer-inventory-main h3 { overflow: hidden; margin: 0; text-overflow: ellipsis; white-space: nowrap; }.dealer-inventory-main p { margin: 4px 0; }.dealer-inventory-main small { color: #77716a; font-size: 11px; }
.portal-loading { display: grid; place-items: center; gap: 10px; min-height: 150px; color: var(--muted); }.portal-loading span { width: 27px; height: 27px; border: 2px solid var(--line); border-top-color: var(--brand-cyan); border-radius: 50%; animation: portal-spin .8s linear infinite; }.portal-loading p { margin: 0; font-size: 13px; }.portal-error { padding: 20px; border: 1px solid rgba(139,71,64,.28); background: rgba(139,71,64,.05); }.portal-error strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }.portal-error p { color: #6e4a46; }.portal-error button { min-height: 36px; border: 0; border-bottom: 1px solid currentColor; color: var(--ink); background: transparent; font-weight: 800; }
.portal-pagination { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 18px; }.portal-pagination button { min-height: 39px; padding: 8px 12px; border: 1px solid var(--line); color: var(--ink); background: transparent; font-size: 11px; font-weight: 800; }.portal-pagination button:disabled { cursor: default; opacity: .38; }.portal-pagination span { color: var(--muted); font-size: 11px; font-weight: 700; }
.listing-autosave-state { margin: 18px 0 11px; padding: 10px 12px; border-left: 2px solid #9c978e; color: #5e5a54; background: rgba(255,255,255,.28); font-size: 12px; line-height: 1.45; }.listing-autosave-state.saving { border-color: var(--brand-cyan); color: #337282; }.listing-autosave-state.pending { border-color: var(--warm); color: #725929; }.listing-autosave-state.success { border-color: #5c8a58; color: #41683e; }.listing-autosave-state.error { border-color: #a45148; color: #7d3d36; }
.listing-editor-actions { position: sticky; z-index: 3; bottom: -1px; display: grid; grid-template-columns: auto auto minmax(190px,1fr); gap: 9px; margin: 22px -1px -1px; padding: 13px 0 max(1px, env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(242,238,231,.8), var(--paper) 28%); backdrop-filter: blur(12px); }.listing-editor-actions .button { width: 100%; min-height: 49px; }
.photo-dropzone { position: relative; display: grid; min-height: 132px; place-items: center; align-content: center; gap: 6px; padding: 25px; overflow: hidden; border: 1px dashed #9d9589; color: #4e4a44; background: rgba(255,255,255,.5); text-align: center; transition: border-color .2s, background .2s, transform .2s; cursor: pointer; }.photo-dropzone strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }.photo-dropzone span { color: var(--muted); font-size: 12px; }.photo-dropzone:hover, .photo-dropzone:focus-visible, .photo-dropzone.is-dragging { border-color: var(--brand-cyan); background: rgba(0,208,255,.055); }.photo-dropzone.is-dragging { transform: scale(.995); }.photo-dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.photo-preview[draggable="true"] { cursor: grab; }.photo-preview[draggable="true"]:active { cursor: grabbing; }.photo-preview[aria-grabbed="true"] { opacity: .65; }
.status.expired { border-color: #c9a4a0; color: #8b4740; }
.portal-row-action.is-primary { border-color: rgba(0,143,171,.48); color: #286d7b; background: rgba(0,208,255,.055); }
.portal-row-action.is-primary:hover, .portal-row-action.is-primary:focus-visible { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.admin-subscription-summary { display: grid; gap: 4px; margin: 10px 0 2px; padding: 10px 12px; border-left: 2px solid var(--brand-cyan); background: rgba(0,208,255,.045); }
.admin-subscription-summary strong { color: #3d4849; font-size: 12px; }
.admin-subscription-summary span { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-subscription-summary .is-enabled { color: #41683e; }.admin-subscription-summary .is-locked { color: #8b4740; }
.admin-subscription-panel { width: min(100%, 720px); }
.admin-subscription-dealer { display: grid; gap: 4px; margin: 22px 0; padding: 15px 17px; border: 1px solid var(--line); background: rgba(255,255,255,.34); }
.admin-subscription-dealer span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-subscription-dealer strong { font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: -.035em; }
.admin-inventory-heading { align-items: center; margin-top: 26px; }.admin-inventory-heading .button { margin: 0; }
.admin-dealer-inventory-panel .portal-list { border-top: 1px solid var(--line); }

/* Account portals, private communication and owner assignment ------------- */
.listing-contact-actions { grid-template-columns: 52px repeat(4,minmax(0,1fr)); }.listing-contact-actions .button { min-width: 0; padding-inline: 12px; }.listing-call-action.is-revealed { border-color: var(--brand-cyan); color: #176879; background: rgba(0,208,255,.06); }.listing-contact-privacy { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.interaction-modal { width: min(100%, 680px); }.interaction-modal .modal-back, .account-conversation-panel .modal-back { margin-bottom: 28px; }.interaction-modal textarea, .account-conversation-reply textarea { resize: vertical; }
.private-access-note, .dealer-access-note { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 13px; align-items: center; margin: 23px 0 28px; padding: 15px 17px; border: 1px solid var(--line); background: rgba(255,255,255,.31); }.private-access-note > span, .dealer-access-note > span { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-cyan); box-shadow: 0 0 0 5px rgba(0,208,255,.09); }.private-access-note strong, .dealer-access-note strong { font-size: 14px; }.private-access-note p, .dealer-access-note p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.portal-engagement-section { margin-top: 35px; padding-top: 27px; border-top: 1px solid var(--line); }.portal-engagement-section .portal-list-heading h3 { margin: 3px 0 0; font-family: var(--serif); font-size: 27px; font-weight: 500; }.portal-channel-tabs { display: flex; flex-wrap: wrap; gap: 5px; }.portal-channel-tabs button { min-height: 38px; padding: 8px 13px; border: 1px solid var(--line); color: #58534d; background: transparent; font-size: 11px; font-weight: 800; }.portal-channel-tabs button.is-active { border-color: var(--ink); color: var(--paper); background: var(--ink); }.private-portal-tabs { margin: 0 0 18px; }.portal-channel-state { min-height: 170px; }.portal-channel-empty { display: grid; justify-items: center; min-height: 180px; place-content: center; padding: 30px 20px; border: 1px solid var(--line); background: rgba(255,255,255,.25); text-align: center; }.portal-channel-empty > span { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 11px; border: 1px solid var(--line); border-radius: 50%; color: #277284; }.portal-channel-empty h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 25px; font-weight: 500; }.portal-channel-empty p { max-width: 470px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.account-portal-metrics { grid-template-columns: repeat(6,1fr); }.account-portal-metrics div:last-child { border-right: 0; }.private-listing-list, .portal-conversation-list, .portal-offer-list, .portal-appointment-list { display: grid; border-top: 1px solid var(--line); }.private-listing-row { display: grid; grid-template-columns: 104px minmax(0,1fr) auto; gap: 14px; align-items: center; }.private-listing-row > img, .private-listing-row > .portal-row-placeholder { width: 104px; height: 74px; object-fit: cover; }.private-listing-row h3 { margin: 0 0 4px; font-size: 21px; }.private-listing-row p, .private-listing-row small { color: var(--muted); font-size: 12px; }
.portal-conversation-row, .portal-offer-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 22px; align-items: center; padding: 18px 3px; border-bottom: 1px solid var(--line); }.portal-conversation-row.has-unread { padding-left: 13px; border-left: 2px solid var(--brand-cyan); background: linear-gradient(90deg,rgba(0,208,255,.05),transparent 32%); }.portal-conversation-row h3, .portal-offer-row h3 { margin: 2px 0 5px; font-family: var(--serif); font-size: 23px; font-weight: 500; }.portal-conversation-row p:not(.portal-conversation-kicker), .portal-offer-row p:not(.portal-conversation-kicker) { display: -webkit-box; overflow: hidden; margin: 0; color: #5e5952; font-size: 13px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.portal-conversation-kicker { margin: 0; color: #347383; font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }.portal-conversation-side, .portal-offer-row > div:last-child { display: grid; justify-items: end; gap: 9px; min-width: 112px; }.portal-conversation-row time, .portal-offer-row time, .account-message time { color: var(--muted); font-size: 10px; }.portal-offer-row > div:last-child .portal-row-actions { justify-content: flex-end; margin-top: 1px; }
.portal-call-summary { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 25px; border: 1px solid var(--line); background: rgba(255,255,255,.29); }.portal-call-summary > span { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 22px; }.portal-call-summary strong { font-family: var(--serif); font-size: 38px; font-weight: 500; }.portal-call-summary p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }.portal-privacy-note { color: var(--muted); font-size: 11px; line-height: 1.55; }
.portal-appointment-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 22px; align-items: start; padding: 20px 3px; border-bottom: 1px solid var(--line); }.portal-appointment-main { min-width: 0; }.portal-appointment-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; }.portal-appointment-heading h3 { margin: 3px 0 0; font-family: var(--serif); font-size: 25px; font-weight: 500; }.portal-appointment-row > time { color: var(--muted); font-size: 10px; white-space: nowrap; }.portal-appointment-schedule { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 11px 0 0; color: #4b4741; font-size: 13px; }.portal-appointment-schedule span { color: var(--muted); }.portal-appointment-contacts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }.portal-appointment-contact { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 10px; border: 1px solid var(--line); color: #236b7a; background: rgba(255,255,255,.38); font-size: 12px; font-weight: 750; text-decoration: none; }.portal-appointment-contact[href]:hover, .portal-appointment-contact[href]:focus-visible { border-color: var(--brand-cyan); background: rgba(0,208,255,.055); }.portal-appointment-notes { margin: 11px 0 0; padding: 10px 12px; border-left: 2px solid var(--warm); color: #5c554b; background: rgba(202,180,133,.09); font-size: 13px; line-height: 1.5; white-space: pre-line; }
.account-conversation-panel { width: min(100%, 760px); }.account-conversation-state { max-height: min(46vh,440px); overflow: auto; padding: 3px 5px 3px 0; }.account-message-thread { display: grid; gap: 9px; }.account-message { display: grid; max-width: min(82%,540px); gap: 4px; padding: 13px 15px; border: 1px solid var(--line); background: rgba(255,255,255,.44); }.account-message.is-mine { justify-self: end; border-color: rgba(0,158,190,.25); background: rgba(0,208,255,.055); }.account-message.is-theirs { justify-self: start; }.account-message p { margin: 0; }.account-message-sender { color: #36717d; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.account-message > div { color: #373431; font-size: 14px; line-height: 1.55; white-space: pre-wrap; }.account-message time { justify-self: end; }.account-conversation-reply { margin-top: 19px; padding-top: 18px; border-top: 1px solid var(--line); }.account-conversation-reply .button { width: 100%; }
.private-owner-assignment { margin: 22px 0; padding: 18px; border: 1px solid rgba(0,164,196,.28); background: rgba(0,208,255,.035); }.owner-search-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; align-items: end; }.owner-search-row .button { min-height: 51px; }.owner-search-results { display: grid; gap: 7px; margin-top: 11px; }.owner-search-results button { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 12px 13px; border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.6); text-align: left; }.owner-search-results button strong { font-size: 13px; }.owner-search-results button span { color: var(--muted); font-size: 11px; }.owner-search-results button:hover, .owner-search-results button:focus-visible { border-color: var(--brand-cyan); }.owner-assignment-state { min-height: 18px; margin-top: 8px; color: #3a6e77; font-size: 12px; }.owner-assignment-state.error { color: #8b4740; }.owner-assignment-state.success { color: #41683e; }
@keyframes portal-spin { to { transform: rotate(360deg); } }

/* Private draft preview ---------------------------------------------------- */
.listing-draft-preview-panel { width: min(100%, 1080px); }.draft-preview-hero { position: relative; min-height: 420px; overflow: hidden; color: #fff; background: #0b0d10; }.draft-preview-hero > img { width: 100%; height: clamp(420px, 58vw, 650px); object-fit: cover; }.draft-preview-hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 54%, rgba(0,0,0,.68)); pointer-events: none; }.draft-preview-hero > span { position: absolute; z-index: 1; right: 18px; bottom: 17px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.45); font-size: 9px; font-weight: 800; letter-spacing: .13em; backdrop-filter: blur(10px); }.draft-preview-placeholder { display: grid; min-height: 460px; place-items: center; color: rgba(255,255,255,.74); background: radial-gradient(circle at 50% 40%, rgba(0,208,255,.13), transparent 28%), #0b0d10; font-family: var(--serif); font-size: clamp(28px,5vw,70px); }.draft-preview-copy { padding: clamp(24px,4vw,48px) 0 25px; }.draft-preview-copy h2 { max-width: 780px; margin: 0 0 15px; font-size: clamp(38px,5vw,72px); line-height: .98; }.draft-preview-copy > p:last-child { max-width: 760px; color: #4f4b45; font-size: 17px; line-height: 1.65; white-space: pre-line; }.draft-preview-specs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }.draft-preview-specs span { padding: 7px 9px; border: 1px solid var(--line); color: #4d4944; font-size: 11px; font-weight: 750; }.draft-preview-thumbs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; }.draft-preview-thumbs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #16181a; }.draft-preview-note { margin: 22px 0 0; padding: 13px 15px; border-left: 2px solid var(--brand-cyan); color: #47636a; background: rgba(0,208,255,.05); font-size: 12px; line-height: 1.5; }

@media (max-width: 700px) {
  .portal-account-bar { display: grid; margin-right: 43px; }.portal-account-bar > div:last-child { justify-content: flex-start; }
  .dealer-listing-filters { grid-template-columns: 1fr; }.dealer-listing-filters .button { width: 100%; }
  .dealer-inventory-row { grid-template-columns: 88px minmax(0,1fr); gap: 11px; }.dealer-inventory-row > img, .portal-row-placeholder { width: 88px; height: 70px; }.dealer-inventory-row > .status { grid-column: 2; justify-self: start; }.dealer-inventory-main h3 { font-size: 20px; }.dealer-inventory-main .portal-row-actions { grid-column: 1 / -1; }
  .listing-editor-actions { grid-template-columns: 1fr 1fr; }.listing-editor-actions .form-submit { grid-column: 1 / -1; }
  .photo-dropzone { min-height: 118px; padding: 18px 12px; }.photo-dropzone strong { font-size: 20px; }
  .draft-preview-hero, .draft-preview-placeholder { min-height: 300px; }.draft-preview-hero > img { height: 330px; }.draft-preview-copy > p:last-child { font-size: 15px; }.draft-preview-thumbs { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .admin-inventory-heading { display: grid; gap: 12px; }.admin-inventory-heading .button { width: 100%; }
  .account-kind-chooser { grid-template-columns: 1fr; }.account-kind-card span { min-height: 0; padding: 14px; }.account-kind-card strong { font-size: 21px; }
  .listing-contact-actions { grid-template-columns: 50px 1fr 1fr; }.listing-contact-actions .listing-call-action, .listing-contact-actions .button-dark { grid-column: auto; }.listing-contact-actions .button-dark { grid-column: 2 / -1; }.listing-contact-actions .button { min-height: 47px; padding-inline: 7px; font-size: 11px; }
  .private-access-note, .dealer-access-note { grid-template-columns: auto minmax(0,1fr); align-items: start; }.private-access-note > .button { grid-column: 1 / -1; width: 100%; }.portal-engagement-section .portal-list-heading { display: grid; gap: 13px; }.portal-channel-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }.portal-channel-tabs button { flex: 0 0 auto; min-height: 42px; }.private-portal-tabs { margin-inline: -3px; }
  .account-portal-metrics { grid-template-columns: 1fr 1fr; }.account-portal-metrics div { border-bottom: 1px solid var(--line); }.account-portal-metrics div:nth-child(even) { border-right: 0; }.account-portal-metrics div:nth-last-child(-n+2) { border-bottom: 0; }
  .private-listing-row { grid-template-columns: 78px minmax(0,1fr); align-items: start; }.private-listing-row > img, .private-listing-row > .portal-row-placeholder { width: 78px; height: 64px; }.private-listing-row > .portal-row-actions { grid-column: 2; justify-content: flex-start; }.private-listing-row h3 { font-size: 19px; }
  .portal-conversation-row, .portal-offer-row { grid-template-columns: 1fr; gap: 11px; }.portal-conversation-side, .portal-offer-row > div:last-child { justify-items: start; min-width: 0; }.portal-offer-row > div:last-child .portal-row-actions { justify-content: flex-start; }.portal-call-summary { grid-template-columns: auto 1fr; padding: 19px; }.portal-call-summary > div:last-child { grid-column: 2; }.portal-call-summary strong { font-size: 32px; }
  .portal-appointment-row { grid-template-columns: 1fr; gap: 9px; }.portal-appointment-heading { align-items: flex-start; }.portal-appointment-row > time { white-space: normal; }.portal-appointment-contacts { display: grid; grid-template-columns: 1fr; }.portal-appointment-contact { overflow-wrap: anywhere; }
  .account-conversation-state { max-height: 42svh; }.account-message { max-width: 92%; }.account-conversation-reply { padding-bottom: max(3px,env(safe-area-inset-bottom)); }
  .owner-search-row { grid-template-columns: 1fr; }.owner-search-row .button { width: 100%; }.owner-search-results button { align-items: flex-start; flex-direction: column; gap: 3px; }
}

/* Keep the complete header usable on portrait tablets without changing the
   desktop composition or collapsing the two-column vehicle collection. */
@media (min-width: 701px) and (max-width: 900px) {
  .main-nav, .desktop-only { display: none; }
  .site-header { gap: 12px; padding: 18px 28px; }
  .header-actions { gap: 8px; margin-left: auto; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .mobile-menu { position: fixed; z-index: 25; inset: calc(76px + env(safe-area-inset-top)) 0 auto; display: grid; max-height: 0; padding: 0 28px; overflow: hidden; color: var(--ink); background: rgba(245,242,236,.98); box-shadow: 0 10px 20px rgba(0,0,0,.08); opacity: 0; transition: max-height .25s, opacity .25s, padding .25s; }
  .mobile-menu.is-open { max-height: 540px; padding: 15px 28px; opacity: 1; }
  .mobile-menu a, .mobile-menu button { padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); color: inherit; background: none; text-align: left; font-size: 17px; font-weight: 600; }
  .account-portal-metrics { grid-template-columns: repeat(3,1fr); }.account-portal-metrics div { border-bottom: 1px solid var(--line); }.account-portal-metrics div:nth-child(3n) { border-right: 0; }.account-portal-metrics div:nth-last-child(-n+3) { border-bottom: 0; }
}

@media (max-width: 700px) {
  .hero-image { object-position: 78% center; }
}

/* Complete-vehicle photo presentation ------------------------------------ */
/* One sharp image is rendered per surface. No decorative duplicate or blur
   is downloaded, and the upload pipeline keeps the complete vehicle inside a
   clean 8:5 frame. */
.listing-card-media { isolation: isolate; background: #0b0d10; }
.listing-card-media .listing-card-image {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 15px 0 130px;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform .7s cubic-bezier(.2,.7,.1,1), opacity .2s;
}
.listing-card:hover .listing-card-media .listing-card-image { transform: scale(1.018); }
.listing-card-media::after { z-index: 2; }
.listing-card-body { z-index: 3; }
.card-save { z-index: 4; }

.listing-gallery { isolation: isolate; }
.listing-gallery > .listing-gallery-primary {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.listing-gallery .gallery-counter,
.listing-gallery .gallery-nav,
.listing-gallery .gallery-thumbs { z-index: 3; }

.photo-preview img,
.saved-row img,
.admin-concierge-row > img,
.dealer-inventory-row > img,
.private-listing-row > img,
.draft-preview-thumbs img {
  object-fit: contain;
  background: radial-gradient(circle at 50% 45%, #2b2e31, #111315 72%);
}
.draft-preview-hero { isolation: isolate; background: #0b0d10; }
.draft-preview-hero > .draft-preview-cover {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  height: clamp(420px, 58vw, 650px);
  padding: 18px;
  object-fit: contain;
  background: transparent;
}
.draft-preview-hero::after { z-index: 2; }
.draft-preview-hero > span { z-index: 3; }

@media (max-width: 700px) {
  .listing-card-media .listing-card-image { padding: 10px 0 125px; }
  .listing-gallery > .listing-gallery-primary { padding: 8px; }
  .draft-preview-hero > .draft-preview-cover { height: 330px; padding: 8px; }
}

/* Marketplace browse layout ----------------------------------------------- */
.collection-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 50px);
  align-items: start;
}
.collection-sidebar {
  position: sticky;
  top: 96px;
  min-width: 0;
  max-height: calc(100svh - 116px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.28) transparent;
}
.collection-results { min-width: 0; }
.filter-drawer-close { display: none; }
.filter-panel-heading > div { display: grid; gap: 3px; }

/* Desktop filters are a permanent, compact vertical control surface. */
@media (min-width: 981px) {
  .collection .filter-toggle { display: none; }
  .collection-sidebar .filter-panel {
    display: block;
    max-height: none;
    margin: 0;
    padding: 20px;
    overflow: visible;
    border: 1px solid rgba(255,255,255,.16);
    opacity: 1;
    background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  }
  .collection-sidebar .filter-panel-heading {
    display: grid;
    gap: 4px;
    padding-bottom: 18px;
  }
  .collection-sidebar .filter-grid,
  .collection-sidebar .filter-grid-primary,
  .collection-sidebar .filter-grid-ranges {
    grid-template-columns: minmax(0, 1fr);
  }
  .collection-sidebar .filter-group { margin-top: 18px; padding-top: 16px; }
  .collection-sidebar .filter-location { margin-top: 18px; }
  .collection-sidebar .filter-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .collection-sidebar .filter-actions .button,
  .collection-sidebar .filter-actions .filter-clear { width: 100%; }
}

.collection-toolbar {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.collection-toolbar .collection-meta { margin: 0; }
.listing-view-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.035);
}
.listing-view-button {
  display: inline-grid;
  min-width: 44px;
  min-height: 42px;
  place-items: center;
  padding: 8px 11px;
  border: 0;
  color: rgba(255,255,255,.62);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
}
.listing-view-button:hover,
.listing-view-button:focus-visible,
.listing-view-button.is-active,
.listing-view-button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--brand-cyan);
}

/* Grid and compact-list modes share the same semantic listing card. */
#listingGrid.view-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
#listingGrid.view-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
#listingGrid.view-list .listing-card {
  display: grid;
  grid-template-columns: minmax(250px, 36%) minmax(0, 1fr);
  min-height: 220px;
  border: 1px solid rgba(255,255,255,.1);
}
#listingGrid.view-list .listing-card-media {
  position: relative;
  inset: auto;
  min-height: 220px;
}
#listingGrid.view-list .listing-card-media .listing-card-image { padding: 12px; }
#listingGrid.view-list .listing-card-body {
  position: relative;
  inset: auto;
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 28px 76px 28px 30px;
  background: linear-gradient(120deg, #181a1b, #111314);
}
#listingGrid.view-list .listing-card h3 {
  max-width: 680px;
  font-size: clamp(27px, 2.7vw, 40px);
}
#listingGrid.view-list .card-save { top: 16px; right: 16px; }

/* Lightweight gallery controls used directly on search-result cards. */
.card-gallery-nav {
  position: absolute;
  z-index: 6;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  color: #fff;
  background: rgba(5,7,8,.52);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  touch-action: manipulation;
}
.card-gallery-nav:hover,
.card-gallery-nav:focus-visible { color: var(--ink); border-color: var(--brand-cyan); background: var(--brand-cyan); }
.card-gallery-nav.prev,
.card-gallery-nav.is-prev,
.card-gallery-nav.card-gallery-prev,
.card-gallery-nav[data-direction="-1"] { left: 12px; }
.card-gallery-nav.next,
.card-gallery-nav.is-next,
.card-gallery-nav.card-gallery-next,
.card-gallery-nav[data-direction="1"] { right: 12px; }
.card-gallery-counter {
  position: absolute;
  z-index: 6;
  right: 14px;
  bottom: 14px;
  min-width: 46px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.32);
  color: #fff;
  background: rgba(5,7,8,.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  backdrop-filter: blur(9px);
}

/* Prices remain prominent without competing with vehicle photography. */
.listing-price {
  display: block;
  margin: 4px 0 11px;
  color: var(--warm-light);
  font-family: var(--serif);
  font-size: clamp(25px, 2.1vw, 34px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
}
.listing-detail-price {
  display: block;
  margin: -7px 0 23px;
  color: #8b6a2d;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
}

/* Numbered pagination keeps the DOM bounded for large inventories. */
.collection-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: clamp(28px, 4vw, 48px);
}
.pagination-pages { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.collection-pagination button,
.collection-pagination a,
.collection-pagination .pagination-page,
.collection-pagination .pagination-prev,
.collection-pagination .pagination-next {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.23);
  color: rgba(255,255,255,.78);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  touch-action: manipulation;
}
.collection-pagination .pagination-prev,
.collection-pagination .pagination-next { padding-inline: 17px; }
.collection-pagination button:hover,
.collection-pagination button:focus-visible,
.collection-pagination a:hover,
.collection-pagination a:focus-visible,
.collection-pagination .is-active,
.collection-pagination [aria-current="page"] {
  color: var(--ink);
  border-color: var(--brand-cyan);
  background: var(--brand-cyan);
}
.collection-pagination :disabled,
.collection-pagination [aria-disabled="true"] { opacity: .38; pointer-events: none; }

/* Multi-select body styles and clear required-field guidance. */
.listing-body-options { margin: 0; padding: 18px; border: 1px solid var(--line); }
.listing-body-options legend { padding: 0 8px; color: var(--ink); font-size: 13px; font-weight: 800; }
.listing-body-options legend small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 600; }
.body-option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.listing-equipment-options { margin: 0; padding: 18px; border: 1px solid var(--line); }
.listing-equipment-options legend { padding: 0 8px; color: var(--ink); font-size: 13px; font-weight: 800; }
.listing-equipment-options legend small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 600; }
.equipment-option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.equipment-option-grid label { display: flex; align-items: center; min-height: 42px; gap: 9px; padding: 9px 11px; border: 1px solid var(--line); background: rgba(255,255,255,.4); font-size: 12px; font-weight: 700; }
.equipment-option-grid input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--ink); }
.equipment-other { margin-top: 14px; }
.listing-equipment { margin: 0 0 25px; }
.listing-equipment h3 { margin: 0 0 12px; font-size: 18px; }
.listing-equipment > div { display: flex; flex-wrap: wrap; gap: 7px; }
.listing-equipment span { padding: 7px 10px; border: 1px solid var(--line); background: rgba(255,255,255,.48); color: var(--ink); font-size: 12px; font-weight: 700; }
.body-option {
  position: relative;
  display: grid;
  min-height: 48px;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  color: #56514a;
  background: rgba(255,255,255,.35);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}
.body-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.body-option:hover,
.body-option:has(input:checked),
.body-option.is-selected { color: var(--ink); border-color: var(--brand-cyan); background: rgba(0,208,255,.09); }
.body-option:has(input:focus-visible) { outline: 2px solid var(--brand-cyan); outline-offset: 2px; }
.listing-required-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 2px solid var(--brand-cyan);
  color: #4a666d;
  background: rgba(0,208,255,.05);
  font-size: 12px;
  line-height: 1.55;
}
.input-with-suffix,
.integer-input-wrap,
.field-with-suffix { position: relative; display: block; }
.input-with-suffix input,
.integer-input-wrap input,
.field-with-suffix input { width: 100%; padding-right: 58px; }
.input-suffix,
.integer-suffix,
.field-suffix {
  position: absolute;
  right: 14px;
  bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  pointer-events: none;
}

/* Tablet/mobile filters become a touch-safe bottom drawer. */
@media (max-width: 980px) {
  .collection-layout { display: block; }
  .collection-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .collection-sidebar .filter-panel {
    --filter-drawer-pad: clamp(18px, 4vw, 34px);
    position: fixed;
    z-index: 120;
    inset: auto 0 0;
    display: block;
    max-height: min(88svh, 880px);
    margin: 0;
    padding: 24px var(--filter-drawer-pad) max(24px, env(safe-area-inset-bottom));
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(255,255,255,.16);
    border-width: 1px 0 0;
    color: var(--paper);
    background: rgba(15,17,18,.985);
    box-shadow: 0 -28px 80px rgba(0,0,0,.48);
    opacity: 0;
    visibility: hidden;
    transform: translateY(104%);
    transition: transform .28s cubic-bezier(.2,.72,.2,1), opacity .22s, visibility 0s linear .28s;
    pointer-events: none;
  }
  .collection-sidebar .filter-panel.is-open {
    max-height: min(88svh, 880px);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
    pointer-events: auto;
  }
  .collection-sidebar .filter-panel-heading {
    position: sticky;
    z-index: 2;
    top: -24px;
    margin: -24px calc(0px - var(--filter-drawer-pad)) 18px;
    padding: 21px var(--filter-drawer-pad) 15px;
    background: rgba(15,17,18,.985);
  }
  .filter-drawer-close {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.06);
    font-size: 26px;
  }
  .collection-sidebar .filter-grid,
  .collection-sidebar .filter-grid-primary,
  .collection-sidebar .filter-grid-ranges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #listingGrid.view-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #listingGrid.view-list .listing-card { grid-template-columns: minmax(220px, 38%) minmax(0, 1fr); }
  .body-option-grid, .equipment-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .collection-toolbar { align-items: flex-start; }
  .listing-view-switcher { flex: 0 0 auto; }
  .listing-view-button { min-width: 46px; min-height: 46px; }
  .collection-sidebar .filter-grid,
  .collection-sidebar .filter-grid-primary,
  .collection-sidebar .filter-grid-ranges { grid-template-columns: minmax(0, 1fr); }
  .collection-sidebar .filter-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #listingGrid.view-grid { grid-template-columns: minmax(0, 1fr); }
  #listingGrid.view-list .listing-card {
    grid-template-columns: 128px minmax(0, 1fr);
    min-height: 170px;
  }
  #listingGrid.view-list .listing-card-media { min-height: 170px; }
  #listingGrid.view-list .listing-card-media .listing-card-image { padding: 8px; }
  #listingGrid.view-list .listing-card-body { padding: 20px 52px 20px 16px; }
  #listingGrid.view-list .listing-card h3 { margin-bottom: 9px; font-size: clamp(20px, 6vw, 26px); }
  #listingGrid.view-list .listing-specs { gap: 5px; font-size: 10px; }
  #listingGrid.view-list .listing-price { font-size: 23px; }
  #listingGrid.view-list .card-save { top: 10px; right: 10px; width: 38px; height: 38px; }
  .card-gallery-nav { width: 46px; height: 46px; }
  #listingGrid.view-list .card-gallery-nav { width: 38px; height: 38px; }
  #listingGrid.view-list .card-gallery-nav.prev,
  #listingGrid.view-list .card-gallery-nav.is-prev,
  #listingGrid.view-list .card-gallery-nav[data-direction="-1"] { left: 5px; }
  #listingGrid.view-list .card-gallery-nav.next,
  #listingGrid.view-list .card-gallery-nav.is-next,
  #listingGrid.view-list .card-gallery-nav[data-direction="1"] { right: 5px; }
  #listingGrid.view-list .card-gallery-counter { right: 7px; bottom: 7px; }
  .collection-pagination { gap: 5px; }
  .collection-pagination button,
  .collection-pagination a,
  .collection-pagination .pagination-page { min-width: 46px; min-height: 46px; }
  .collection-pagination .pagination-prev,
  .collection-pagination .pagination-next { flex: 1 1 110px; }
  .body-option-grid, .equipment-option-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.listing-view-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pagination-status { padding: 0 12px; color: rgba(255,255,255,.72); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  .collection-sidebar .filter-panel,
  .listing-view-button,
  .card-gallery-nav { transition: none; }
}

/* Premium listing presentation v3 ---------------------------------------- */
/* Listing typography uses lining, tabular numerals so every price sits on a
   clean shared baseline. The editorial serif remains elsewhere in the brand. */
.listing-card h3,
.listing-price,
.listing-detail h2,
.listing-detail-price {
  font-family: var(--sans);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-style: normal;
  font-weight: 700;
  text-rendering: geometricPrecision;
}
.listing-card h3 {
  letter-spacing: -.035em;
  line-height: 1.08;
}
.listing-price {
  margin: 6px 0 12px;
  color: #f2d99d;
  font-size: clamp(27px, 2.15vw, 36px);
  letter-spacing: -.025em;
  line-height: 1.08;
}
.listing-detail h2 {
  margin-bottom: 16px;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.listing-detail-price {
  margin: 0 0 25px;
  color: #8b6a2d;
  font-size: clamp(36px, 3.8vw, 54px);
  letter-spacing: -.035em;
  line-height: 1.08;
}

/* Full-frame covers use the single, sharp, pre-framed upload. */
.listing-card-media .listing-card-image,
#listingGrid.view-list .listing-card-media .listing-card-image {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
  background: #0b0d10;
  transform: none;
}
.listing-card:hover .listing-card-media .listing-card-image {
  transform: scale(1.025);
}

/* On desktop the vehicle gallery is a fixed visual desk. Only the information
   column scrolls, keeping the image and the thumbnail rail permanently visible. */
.listing-panel > #listingDetail {
  height: 100%;
  min-height: 0;
}

@media (min-width: 981px) {
  .modal-root.is-open.modal-root-wide {
    align-items: center;
    overflow: hidden;
  }
  .listing-panel {
    width: min(calc(100vw - 48px), 1280px);
    height: min(900px, calc(100svh - 48px));
    max-height: calc(100svh - 48px);
    overflow: hidden;
  }
  .listing-detail {
    grid-template-columns: minmax(0, 1.12fr) minmax(410px, .88fr);
    height: 100%;
    min-height: 0;
  }
  .listing-gallery {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: #090b0d;
  }
  .listing-gallery > .listing-gallery-primary {
    position: absolute;
    inset: 0 0 82px;
    width: 100%;
    height: calc(100% - 82px);
    min-height: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
    background: #090b0d;
  }
  .listing-detail-content {
    height: 100%;
    min-height: 0;
    padding: clamp(40px, 4vw, 62px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(10,11,12,.32) transparent;
  }
  .listing-detail-content::-webkit-scrollbar { width: 8px; }
  .listing-detail-content::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 10px;
    background: rgba(10,11,12,.32);
    background-clip: padding-box;
  }
  .listing-gallery .gallery-thumbs {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    width: 100%;
    max-width: none;
    height: 82px;
    gap: 9px;
    align-items: center;
    padding: 12px 56px 12px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid rgba(255,255,255,.13);
    background: #090b0d;
    scrollbar-width: thin;
  }
  .listing-gallery .gallery-thumbs button {
    width: 72px;
    height: 54px;
    flex: 0 0 72px;
    border: 2px solid transparent;
    border-radius: 2px;
    opacity: .72;
  }
  .listing-gallery .gallery-thumbs button:hover,
  .listing-gallery .gallery-thumbs button:focus-visible,
  .listing-gallery .gallery-thumbs button.is-active {
    border-color: #f2d99d;
    opacity: 1;
    transform: none;
  }
  .listing-gallery .gallery-counter {
    right: 16px;
    bottom: 27px;
    left: auto;
    z-index: 5;
  }
  .listing-gallery .gallery-nav {
    top: calc(50% - 41px);
  }
}

/* Tablet and mobile keep the same priority: photo first, information below.
   The complete modal remains contained inside the viewport. */
@media (max-width: 980px) {
  .listing-panel {
    height: min(96svh, 900px);
    max-height: 96svh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .listing-detail {
    display: flex;
    height: auto;
    min-height: 0;
    flex-direction: column;
  }
  .listing-gallery {
    min-height: 0;
    height: clamp(330px, 52svh, 520px);
    flex: 0 0 auto;
  }
  .listing-gallery > .listing-gallery-primary {
    position: absolute;
    inset: 0 0 70px;
    width: 100%;
    height: calc(100% - 70px);
    min-height: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
  }
  .listing-gallery .gallery-thumbs {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    height: 70px;
    gap: 8px;
    align-items: center;
    padding: 9px 52px 9px 10px;
    background: #090b0d;
  }
  .listing-gallery .gallery-thumbs button {
    width: 64px;
    height: 48px;
    flex: 0 0 64px;
  }
  .listing-gallery .gallery-counter {
    right: 11px;
    bottom: 21px;
    left: auto;
    z-index: 5;
  }
  .listing-gallery .gallery-nav {
    top: calc(50% - 35px);
  }
  .listing-detail-content {
    min-height: 0;
    flex: 0 0 auto;
    overflow: visible;
  }
}

@media (max-width: 700px) {
  .listing-card-media .listing-card-image,
  #listingGrid.view-list .listing-card-media .listing-card-image {
    padding: 0;
  }
  .listing-panel {
    height: 100svh;
    max-height: 100svh;
  }
  .listing-gallery {
    height: clamp(290px, 46svh, 400px);
    flex-basis: clamp(290px, 46svh, 400px);
  }
  .listing-gallery .gallery-nav {
    width: 42px;
    height: 42px;
  }
  .listing-detail h2 { font-size: clamp(31px, 9.5vw, 42px); }
  .listing-detail-price { font-size: clamp(32px, 10vw, 42px); }
}

/* Marketplace card and browse refinement v5 ----------------------------- */
/* Keep every word below the photograph. The vehicle remains the hero and the
   compact information desk stays readable without covering any bodywork. */
#listingGrid.view-grid .listing-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.12);
  background: #141617;
  box-shadow: 0 18px 42px rgba(0,0,0,.16);
}
#listingGrid.view-grid .listing-card-media {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 8 / 5;
  flex: 0 0 auto;
  background: #090b0d;
}
#listingGrid.view-grid .listing-card-media::after { display: none; }
#listingGrid.view-grid .listing-card-body {
  position: relative;
  inset: auto;
  display: grid;
  min-height: 128px;
  align-content: start;
  padding: 15px 16px 16px;
  color: #fff;
  background: linear-gradient(145deg, #191b1c, #111314);
}
#listingGrid.view-grid .listing-badge {
  justify-self: start;
  margin-bottom: 7px;
  padding: 3px 7px;
  font-size: 8px;
  letter-spacing: .09em;
}
#listingGrid.view-grid .listing-video-indicator {
  position: absolute;
  top: 14px;
  right: 15px;
  margin: 0;
  font-size: 8px;
}
#listingGrid.view-grid .listing-card h3 {
  display: -webkit-box;
  max-width: calc(100% - 2px);
  min-height: 2.25em;
  margin: 0 0 4px;
  overflow: hidden;
  font-size: clamp(17px, 1.18vw, 21px);
  letter-spacing: -.028em;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
#listingGrid.view-grid .listing-price {
  margin: 1px 0 9px;
  font-size: clamp(21px, 1.55vw, 27px);
  letter-spacing: -.018em;
  line-height: 1;
}
#listingGrid.view-grid .listing-specs {
  gap: 3px 8px;
  color: rgba(255,255,255,.74);
  font-size: 10px;
  line-height: 1.35;
}
#listingGrid.view-grid .listing-specs span:not(:last-child)::after { margin-left: 8px; }
#listingGrid.view-grid .card-save {
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  background: rgba(4,6,7,.62);
}
#listingGrid.view-grid .card-gallery-nav {
  width: 38px;
  height: 38px;
  border-color: rgba(255,255,255,.64);
  background: rgba(4,6,7,.68);
  font-size: 27px;
  opacity: 1;
}
#listingGrid.view-grid .card-gallery-nav[data-direction="-1"] { left: 9px; }
#listingGrid.view-grid .card-gallery-nav[data-direction="1"] { right: 9px; }
#listingGrid.view-grid .card-gallery-counter {
  right: 10px;
  bottom: 10px;
  min-width: 42px;
  padding: 5px 7px;
}

/* Results controls sit beside the count, as a dedicated search-results
   toolbar instead of consuming valuable filter space. */
.collection-toolbar-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
.results-sort {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 13px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.66);
  background: rgba(255,255,255,.035);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.results-sort select {
  width: min(31vw, 270px);
  min-height: 40px;
  padding: 7px 34px 7px 10px;
  border: 0;
  color: #fff;
  background: #17191a;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  outline: none;
  text-transform: none;
}
.results-sort select:focus-visible {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 1px;
}
.results-sort option { color: var(--ink); background: var(--paper); }
[data-dealer-signup-field][hidden] { display: none !important; }
[data-dealer-signup-field]:not([hidden]) { display: grid; }

/* On wide screens the filter desk is fixed against the left edge of the
   collection while the rest of the width belongs to the inventory. */
@media (min-width: 981px) {
  .collection.section {
    padding-right: clamp(16px, 2.15vw, 40px);
    padding-left: clamp(16px, 2.15vw, 40px);
  }
  .collection-layout {
    grid-template-columns: clamp(224px, 18vw, 252px) minmax(0, 1fr);
    gap: clamp(16px, 1.8vw, 28px);
  }
  .collection-sidebar {
    top: 78px;
    max-height: calc(100dvh - 88px);
    padding-right: 5px;
  }
  .collection-sidebar .filter-panel { padding: 16px; }
  .collection-sidebar .filter-panel-heading { padding-bottom: 14px; }
  .collection-sidebar .filter-group { margin-top: 15px; padding-top: 13px; }
  .collection-sidebar .filter-location { margin-top: 15px; }
  #listingGrid.view-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
    gap: 14px;
  }
}

/* Keep the focused control above a mobile software keyboard. JavaScript
   updates these variables from VisualViewport when the keyboard changes. */
:root {
  --visual-viewport-height: 100dvh;
  --visual-viewport-top: 0px;
  --mobile-keyboard-inset: 0px;
}
.modal-panel,
.collection-sidebar .filter-panel,
.location-picker-dialog {
  scroll-padding-top: 84px;
  scroll-padding-bottom: 40px;
}

@media (max-width: 980px) {
  .collection-toolbar {
    flex-wrap: wrap;
    align-items: center;
  }
  .collection-toolbar-actions {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .results-sort { flex: 1 1 auto; }
  .results-sort select { width: 100%; }
  html.keyboard-open .modal-root,
  html.keyboard-open .location-picker-root {
    inset: var(--visual-viewport-top) 0 auto;
    height: var(--visual-viewport-height);
    max-height: var(--visual-viewport-height);
    padding-bottom: env(safe-area-inset-bottom);
  }
  html.keyboard-open .modal-panel {
    max-height: 100%;
    overscroll-behavior: contain;
  }
  html.keyboard-open .location-picker-dialog {
    max-height: 100%;
    overscroll-behavior: contain;
  }
  html.keyboard-open .collection-sidebar .filter-panel.is-open {
    inset: var(--visual-viewport-top) 0 auto;
    width: 100%;
    height: var(--visual-viewport-height);
    max-height: var(--visual-viewport-height);
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  html.keyboard-open .modal-panel,
  html.keyboard-open .collection-sidebar .filter-panel.is-open,
  html.keyboard-open .location-picker-dialog {
    scroll-padding-top: calc(76px + env(safe-area-inset-top));
    scroll-padding-bottom: max(32px, env(safe-area-inset-bottom));
  }
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  select,
  textarea,
  [contenteditable="true"] {
    font-size: max(16px, 1em);
    scroll-margin-top: calc(76px + env(safe-area-inset-top));
    scroll-margin-bottom: 32px;
  }
  input:focus,
  select:focus,
  textarea:focus,
  [contenteditable="true"]:focus {
    outline: 2px solid rgba(71, 127, 132, .48);
    outline-offset: 2px;
  }
}

@media (max-width: 700px) {
  .collection-toolbar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .results-sort {
    min-width: 0;
    padding-left: 10px;
  }
  .results-sort > span { display: none; }
  .results-sort select {
    min-width: 0;
    font-size: 12px;
  }
  #listingGrid.view-grid .listing-card-media { aspect-ratio: 8 / 5; }
  #listingGrid.view-grid .listing-card-body {
    min-height: 118px;
    padding: 13px 14px 14px;
  }
  #listingGrid.view-grid .listing-card h3 {
    min-height: 2.2em;
    font-size: 18px;
  }
  #listingGrid.view-grid .listing-price { font-size: 23px; }
  #listingGrid.view-grid .listing-specs { font-size: 10px; }
  #listingGrid.view-grid .card-gallery-nav {
    width: 42px;
    height: 42px;
  }
  #listingGrid.view-grid .card-save {
    width: 40px;
    height: 40px;
  }
}

/* Buyer concierge ---------------------------------------------------------- */
.buyer-assistance {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(34px, 4.2vw, 68px) clamp(20px, 5vw, 78px);
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.13);
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(0,208,255,.12), transparent 28%),
    radial-gradient(circle at 13% 110%, rgba(255,157,29,.09), transparent 34%),
    #0c0e0f;
}
.buyer-assistance::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent 4%, var(--brand-cyan) 42%, var(--brand-orange) 67%, transparent 96%);
  opacity: .62;
}
.buyer-assistance-inner {
  display: grid;
  max-width: 1510px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(30px, 6vw, 100px);
  margin: 0 auto;
}
.buyer-assistance-copy { max-width: 900px; }
.buyer-assistance-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: rgba(255,255,255,.59);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
}
.buyer-assistance-status > span,
.buyer-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #42e39b;
  box-shadow: 0 0 0 4px rgba(66,227,155,.1), 0 0 17px rgba(66,227,155,.64);
}
.buyer-assistance h2 {
  max-width: 850px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(30px, 3.7vw, 58px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.02;
}
.buyer-assistance-copy > p:not(.buyer-assistance-status) {
  max-width: 800px;
  margin: 18px 0 10px;
  color: rgba(255,255,255,.76);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
}
.buyer-assistance-copy > small {
  color: rgba(255,255,255,.43);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}
.buyer-assistance-actions { display: grid; gap: 10px; }
.buyer-assistance-actions .button {
  width: 100%;
  min-height: 58px;
  justify-content: space-between;
  gap: 13px;
  padding: 13px 17px;
}
.buyer-assistance-phone {
  border-color: rgba(0,208,255,.58);
  color: #fff;
  background: rgba(0,208,255,.055);
}
.buyer-assistance-phone:hover { border-color: var(--brand-cyan); background: rgba(0,208,255,.12); }
.buyer-assistance-phone svg {
  width: 23px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--brand-cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}
.buyer-assistance-phone > span { display: grid; min-width: 0; flex: 1; text-align: left; }
.buyer-assistance-phone small { color: rgba(255,255,255,.58); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.buyer-assistance-phone strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.buyer-assistance-callback {
  border-color: rgba(255,255,255,.32);
  color: #fff;
  background: transparent;
}
.buyer-assistance-callback:hover { border-color: #fff; background: #fff; color: var(--ink); }
.buyer-assistance-live {
  color: #061014;
  background: linear-gradient(112deg, #f8fbfc, #a8efff 54%, #fff0db);
  box-shadow: 0 17px 42px rgba(0,208,255,.1);
}
.buyer-assistance-live:hover { background: linear-gradient(112deg, #fff, #c7f5ff 54%, #fff); }
.buyer-assistance-live > span:last-child { font-size: 18px; }
[data-support-phone][hidden],
[data-support-callback][hidden] { display: none !important; }

.buyer-guide-fab {
  position: fixed;
  z-index: 70;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 10px;
  min-height: 57px;
  padding: 9px 13px;
  border: 1px solid rgba(0,208,255,.48);
  border-radius: 99px;
  color: #fff;
  background: rgba(8,12,14,.92);
  box-shadow: 0 16px 45px rgba(0,0,0,.3), inset 0 0 22px rgba(0,208,255,.035);
  backdrop-filter: blur(15px);
  transition: transform .2s, border-color .2s, opacity .2s;
}
.buyer-guide-fab:hover,
.buyer-guide-fab:focus-visible { border-color: var(--brand-cyan); transform: translateY(-3px); }
.buyer-guide-fab > span:nth-child(2) { display: grid; text-align: left; }
.buyer-guide-fab small { color: rgba(255,255,255,.47); font-size: 8px; font-weight: 800; letter-spacing: .14em; line-height: 1.2; }
.buyer-guide-fab strong { font-size: 13px; line-height: 1.3; }
.buyer-guide-fab i { color: var(--brand-cyan); font-size: 15px; font-style: normal; }
body.modal-open .buyer-guide-fab { opacity: 0; pointer-events: none; transform: translateY(8px); }

.buyer-guide-panel {
  display: grid;
  width: min(100%, 660px);
  max-height: min(820px, calc(100svh - 20px));
  grid-template-rows: auto minmax(190px, 1fr) auto auto auto;
  overflow: hidden;
  color: #fff;
  background: #0d1012;
  box-shadow: 0 35px 100px rgba(0,0,0,.56), 0 0 0 1px rgba(0,208,255,.12);
}
.buyer-guide-panel .modal-close {
  border-color: rgba(255,255,255,.22);
  color: #fff;
  background: rgba(6,9,10,.7);
}
.buyer-guide-panel .modal-close:hover { color: var(--ink); background: #fff; }
.buyer-guide-header {
  position: relative;
  padding: clamp(31px, 5vw, 49px) clamp(22px, 5vw, 46px) 25px;
  border-bottom: 1px solid rgba(255,255,255,.11);
  background:
    radial-gradient(circle at 85% 0, rgba(0,208,255,.13), transparent 37%),
    linear-gradient(145deg, #14181a, #0d1012);
}
.buyer-guide-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-orange), transparent 82%);
  opacity: .46;
}
.buyer-guide-header > p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: rgba(255,255,255,.56);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}
.buyer-guide-header h2 {
  max-width: 520px;
  margin: 0 42px 11px 0;
  font-family: var(--sans);
  font-size: clamp(29px, 4.2vw, 47px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.02;
}
.buyer-guide-header > span {
  display: block;
  max-width: 530px;
  color: rgba(255,255,255,.59);
  font-size: 13px;
  line-height: 1.5;
}
.buyer-guide-messages {
  display: grid;
  align-content: start;
  gap: 13px;
  min-height: 0;
  padding: 23px clamp(18px, 4vw, 35px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.buyer-guide-message {
  display: grid;
  max-width: min(88%, 510px);
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  justify-self: start;
}
.buyer-guide-message > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(0,208,255,.5);
  border-radius: 50%;
  color: var(--brand-cyan);
  font-size: 8px;
  font-weight: 800;
}
.buyer-guide-message > p {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.11);
  color: rgba(255,255,255,.83);
  background: rgba(255,255,255,.045);
  font-size: 14px;
  line-height: 1.5;
}
.buyer-guide-message-user {
  grid-template-columns: minmax(0, 1fr);
  justify-self: end;
}
.buyer-guide-message-user > p {
  border-color: rgba(0,208,255,.22);
  color: #061014;
  background: #b9f2ff;
}
.buyer-guide-message-loading > p::after {
  display: inline-block;
  width: 1.15em;
  overflow: hidden;
  content: "…";
  animation: buyer-guide-thinking 1.2s steps(3, end) infinite;
}
@keyframes buyer-guide-thinking { 0% { width: .25em; } 100% { width: 1.15em; } }
.buyer-guide-results {
  display: grid;
  grid-column: 1 / -1;
  gap: 7px;
  margin: 2px 0 0 38px;
}
.buyer-guide-result {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.13);
  color: #fff;
  background: rgba(255,255,255,.035);
  text-align: left;
  transition: border-color .2s, background .2s;
}
.buyer-guide-result:hover,
.buyer-guide-result:focus-visible { border-color: var(--brand-cyan); background: rgba(0,208,255,.07); }
.buyer-guide-result img {
  width: 82px;
  height: 58px;
  object-fit: cover;
  background: #1b1e20;
}
.buyer-guide-result > span { display: grid; min-width: 0; gap: 3px; }
.buyer-guide-result strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.buyer-guide-result small { color: rgba(255,255,255,.54); font-size: 10px; }
.buyer-guide-result i { color: var(--brand-cyan); font-size: 16px; font-style: normal; }
.buyer-guide-show-results {
  justify-self: start;
  min-height: 37px;
  margin-top: 3px;
  padding: 7px 11px;
  border: 1px solid rgba(0,208,255,.45);
  color: #fff;
  background: rgba(0,208,255,.06);
  font-size: 11px;
  font-weight: 750;
}
.buyer-guide-message > .buyer-guide-show-results { grid-column: 2; }
.buyer-guide-message > a.buyer-guide-show-results { display: inline-flex; align-items: center; }
.buyer-guide-prompts {
  display: flex;
  gap: 7px;
  padding: 0 clamp(18px, 4vw, 35px) 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.buyer-guide-prompts::-webkit-scrollbar { display: none; }
.buyer-guide-prompts button {
  min-height: 35px;
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 99px;
  color: rgba(255,255,255,.74);
  background: transparent;
  font-size: 11px;
  font-weight: 650;
}
.buyer-guide-prompts button:hover,
.buyer-guide-prompts button:focus-visible { border-color: var(--brand-cyan); color: #fff; }
.buyer-guide-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 49px;
  gap: 8px;
  padding: 14px clamp(18px, 4vw, 35px);
  border-top: 1px solid rgba(255,255,255,.11);
  background: #111416;
}
.buyer-guide-form input {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  color: #fff;
  background: rgba(255,255,255,.045);
  outline: 0;
}
.buyer-guide-form input::placeholder { color: rgba(255,255,255,.38); }
.buyer-guide-form input:focus { border-color: var(--brand-cyan); background: rgba(0,208,255,.055); }
.buyer-guide-send {
  width: 49px;
  min-height: 49px;
  border: 0;
  color: #061014;
  background: var(--brand-cyan);
  font-size: 23px;
  font-weight: 700;
}
.buyer-guide-send:disabled { cursor: progress; opacity: .5; }
.buyer-guide-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px 13px;
  padding: 0 clamp(18px, 4vw, 35px) 20px;
  background: #111416;
}
.buyer-guide-footer > a,
.buyer-guide-footer > button {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.buyer-guide-footer > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.buyer-guide-footer > a strong { color: var(--brand-cyan); }
.buyer-guide-footer > a:hover,
.buyer-guide-footer > button:hover { border-color: var(--brand-cyan); }
.buyer-guide-footer > small {
  grid-column: 1 / -1;
  color: rgba(255,255,255,.36);
  font-size: 9px;
  line-height: 1.4;
}

@media (max-width: 780px) {
  .buyer-assistance-inner { grid-template-columns: 1fr; gap: 24px; }
  .buyer-assistance-actions { grid-template-columns: 1fr 1fr; }
  .buyer-assistance-actions .button:only-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .buyer-assistance { padding: 37px 20px 39px; }
  .buyer-assistance h2 { font-size: clamp(30px, 9vw, 40px); }
  .buyer-assistance-copy > p:not(.buyer-assistance-status) { margin-top: 14px; font-size: 16px; }
  .buyer-assistance-copy > small { display: block; font-size: 10px; }
  .buyer-assistance-actions { grid-template-columns: 1fr; }
  .buyer-assistance-actions .button { min-height: 54px; }
  .buyer-guide-fab {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 51px;
    padding: 8px 11px;
  }
  .buyer-guide-fab small,
  .buyer-guide-fab i { display: none; }
  .buyer-guide-fab strong { font-size: 12px; }
  .buyer-guide-panel {
    width: 100%;
    max-height: min(94svh, 820px);
    border-radius: 18px 18px 0 0;
  }
  .buyer-guide-header { padding: 28px 20px 20px; }
  .buyer-guide-header h2 { font-size: 31px; }
  .buyer-guide-header > span { padding-right: 8px; font-size: 12px; }
  .buyer-guide-messages { padding: 19px 15px; }
  .buyer-guide-message { max-width: 94%; }
  .buyer-guide-message > .buyer-guide-show-results { grid-column: 2; }
  .buyer-guide-results { margin-left: 0; }
  .buyer-guide-result { grid-template-columns: 68px minmax(0, 1fr) auto; }
  .buyer-guide-result img { width: 68px; height: 51px; }
  .buyer-guide-prompts { padding: 0 15px 12px; }
  .buyer-guide-form { padding: 12px 15px; }
  .buyer-guide-footer { grid-template-columns: 1fr; padding: 0 15px calc(15px + env(safe-area-inset-bottom)); }
  .buyer-guide-footer > small { grid-column: 1; }
}

/* Dealer microsites ------------------------------------------------------ */
.listing-dealer-link {
  position: relative;
  z-index: 8;
  max-width: min(100%, 270px);
  align-items: center;
  gap: 7px;
  border-color: rgba(0,208,255,.55);
  color: #c9f6ff;
  background: rgba(0,14,18,.42);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.listing-dealer-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.listing-dealer-link i {
  flex: 0 0 auto;
  color: var(--brand-cyan);
  font-size: 11px;
  font-style: normal;
}
.listing-dealer-link:hover,
.listing-dealer-link:focus-visible {
  border-color: var(--brand-cyan);
  color: #071014;
  background: var(--brand-cyan);
}
.listing-dealer-link:hover i,
.listing-dealer-link:focus-visible i { color: currentColor; }

.listing-dealer-identity {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0 0 24px;
  padding: 12px 0 14px;
  border: 1px solid var(--line);
  border-width: 1px 0;
  transition: border-color .2s, background .2s, padding .2s;
}
.listing-dealer-identity:hover,
.listing-dealer-identity:focus-visible {
  padding-inline: 10px;
  border-color: var(--brand-cyan);
  background: rgba(0,208,255,.055);
}
.listing-dealer-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #b9b1a5;
  border-radius: 50%;
  color: #675c48;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}
.listing-dealer-avatar img { width: 100%; height: 100%; object-fit: contain; }
.listing-dealer-identity > span:nth-child(2) { display: grid; min-width: 0; }
.listing-dealer-identity small {
  color: #50737a;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
}
.listing-dealer-identity strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.listing-dealer-identity em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}
.listing-dealer-identity > i {
  grid-column: 2;
  color: #6c5a36;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

body.dealer-site-active { background: #0b0d0f; }
.dealer-site-page[hidden] { display: none !important; }
.dealer-site-page {
  min-height: 100vh;
  padding-top: 78px;
  color: #fff;
  background: #0b0d0f;
}
.dealer-microsite { overflow: hidden; }
.dealer-site-loading,
.dealer-site-error {
  display: grid;
  min-height: calc(100svh - 78px);
  place-content: center;
  justify-items: center;
  padding: 100px 24px;
  text-align: center;
}
.dealer-site-loading-mark {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(0,208,255,.5);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(0,208,255,.035), 0 0 55px rgba(0,208,255,.11);
  animation: dealer-site-pulse 1.4s ease-in-out infinite alternate;
}
.dealer-site-loading-mark span {
  color: var(--brand-cyan);
  font-family: var(--serif);
  font-size: 24px;
}
.dealer-site-loading p { margin: 0; color: rgba(255,255,255,.58); }
.dealer-site-error { color: var(--paper); }
.dealer-site-error .dealer-site-back { position: absolute; top: 110px; left: clamp(20px, 5vw, 72px); }
.dealer-site-error .empty-mark { color: var(--brand-cyan); border-color: var(--brand-cyan); }
.dealer-site-error h1 {
  max-width: 780px;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .96;
}
.dealer-site-error p { max-width: 560px; margin: 0 0 30px; color: rgba(255,255,255,.62); }
.dealer-site-back {
  z-index: 5;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  background: transparent;
  font-size: 12px;
  font-weight: 750;
}

.dealer-site-hero {
  position: relative;
  min-height: min(780px, calc(100svh - 78px));
  overflow: hidden;
  isolation: isolate;
}
.dealer-site-visual {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(260px, .62fr);
  gap: 3px;
  background: #080a0c;
}
.dealer-site-visual-main,
.dealer-site-visual-side { min-width: 0; min-height: 0; overflow: hidden; }
.dealer-site-visual-side { display: grid; grid-template-rows: 1fr 1fr; gap: 3px; }
.dealer-site-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.87) contrast(1.03);
  transform: scale(1.002);
}
.dealer-site-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,7,9,.9) 0%, rgba(4,7,9,.32) 52%, rgba(4,7,9,.42) 100%),
    linear-gradient(0deg, rgba(4,7,9,.94) 0%, transparent 58%);
}
.dealer-site-back-on-hero {
  position: absolute;
  top: clamp(28px, 5vw, 60px);
  left: clamp(20px, 5vw, 72px);
  color: rgba(255,255,255,.82);
}
.dealer-site-hero-copy {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(38px, 7vw, 92px);
  left: clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(18px, 2.5vw, 36px);
  align-items: end;
}
.dealer-site-logo {
  display: grid;
  width: clamp(82px, 9vw, 126px);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(7,9,10,.86);
  box-shadow: 0 20px 48px rgba(0,0,0,.38);
  backdrop-filter: blur(18px);
}
.dealer-site-logo img { width: 100%; height: 100%; padding: 10%; object-fit: contain; background: #fff; }
.dealer-site-monogram {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 43px);
  letter-spacing: -.08em;
}
.dealer-site-title { min-width: 0; }
.dealer-site-title > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #c8f6ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}
.dealer-site-title > p span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: #061014;
  background: var(--brand-cyan);
  font-size: 10px;
}
.dealer-site-title h1 {
  max-width: 960px;
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: clamp(48px, 7.4vw, 112px);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: .88;
  text-shadow: 0 8px 36px rgba(0,0,0,.45);
}
.dealer-site-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 18px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  font-weight: 650;
}
.dealer-site-meta span + span::before {
  margin-right: 22px;
  color: var(--brand-cyan);
  content: "•";
}
.dealer-site-inventory-jump {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 22px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.48);
  color: #fff;
  background: rgba(5,8,10,.28);
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(14px);
}
.dealer-site-inventory-jump span { color: var(--brand-cyan); font-size: 18px; }
.dealer-site-inventory-jump:hover,
.dealer-site-inventory-jump:focus-visible { color: #061014; border-color: var(--brand-cyan); background: var(--brand-cyan); }
.dealer-site-inventory-jump:hover span,
.dealer-site-inventory-jump:focus-visible span { color: currentColor; }

.dealer-site-inventory {
  padding: clamp(72px, 9vw, 135px) clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: var(--paper);
  scroll-margin-top: 75px;
}
.dealer-site-inventory-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 35px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.dealer-site-inventory-heading p,
.dealer-site-concierge p {
  margin: 0 0 9px;
  color: #56727a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
}
.dealer-site-inventory-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .9;
}
.dealer-site-inventory-heading > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.dealer-site-filters {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(150px, .8fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 30px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.45);
}
.dealer-site-filters label { display: grid; gap: 6px; min-width: 0; }
.dealer-site-filters label > span {
  color: #68635d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.dealer-site-filters input,
.dealer-site-filters select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #c9c2b8;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  outline: none;
}
.dealer-site-filters input:focus,
.dealer-site-filters select:focus { border-color: #628d96; box-shadow: 0 0 0 2px rgba(0,208,255,.12); }
.dealer-site-filters .button { min-height: 48px; padding-inline: 18px; font-size: 12px; }
.dealer-site-filter-reset {
  grid-column: 1 / -1;
  justify-self: end;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid #8f8980;
  color: #6f6a63;
  background: transparent;
  font-size: 10px;
  font-weight: 750;
}
.dealer-site-listing-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(292px, 100%), 1fr));
  gap: 16px;
}
.dealer-site-listing-grid .listing-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  border: 1px solid rgba(10,11,12,.13);
  background: #141617;
  box-shadow: 0 18px 42px rgba(0,0,0,.12);
}
.dealer-site-listing-grid .listing-card-media {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 8 / 5;
  flex: 0 0 auto;
}
.dealer-site-listing-grid .listing-card-media::after { display: none; }
.dealer-site-listing-grid .listing-card-body {
  position: relative;
  inset: auto;
  display: grid;
  min-height: 136px;
  align-content: start;
  padding: 15px 16px 17px;
  color: #fff;
  background: linear-gradient(145deg, #191b1c, #111314);
}
.dealer-site-listing-grid .listing-badge {
  justify-self: start;
  margin-bottom: 7px;
  padding: 3px 7px;
  font-size: 8px;
  letter-spacing: .08em;
}
.dealer-site-listing-grid .listing-card h3 {
  display: -webkit-box;
  min-height: 2.25em;
  margin: 0 0 4px;
  overflow: hidden;
  font-size: clamp(18px, 1.35vw, 22px);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.dealer-site-listing-grid .listing-price { margin: 1px 0 9px; font-size: clamp(22px, 1.8vw, 28px); }
.dealer-site-listing-grid .listing-specs { gap: 3px 8px; font-size: 10px; }
.dealer-site-listing-grid .listing-specs span:not(:last-child)::after { margin-left: 8px; }
.dealer-site-listing-grid .card-save { top: 10px; right: 10px; width: 40px; height: 40px; background: rgba(4,6,7,.64); }
.dealer-site-listing-grid .card-gallery-nav { width: 40px; height: 40px; background: rgba(4,6,7,.7); font-size: 28px; }
.dealer-site-listing-grid .card-gallery-prev { left: 9px; }
.dealer-site-listing-grid .card-gallery-next { right: 9px; }
.dealer-site-listing-grid .card-gallery-counter { right: 10px; bottom: 10px; }
.dealer-site-listing-grid .listing-video-indicator { position: absolute; top: 14px; right: 15px; margin: 0; font-size: 8px; }
.dealer-site-empty {
  display: grid;
  min-height: 320px;
  place-content: center;
  justify-items: center;
  text-align: center;
}
.dealer-site-empty .empty-mark { color: #56727a; border-color: var(--brand-cyan); }
.dealer-site-empty h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: clamp(33px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -.055em;
}
.dealer-site-empty p { margin: 0; color: var(--muted); }
.dealer-site-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 46px;
}
.dealer-site-pagination .button { min-height: 46px; color: var(--ink); border-color: #aaa39a; }
.dealer-site-pagination .button:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.dealer-site-pagination .button:disabled { color: var(--muted); background: transparent; }
.dealer-site-pagination span { color: var(--muted); font-size: 12px; font-weight: 700; }

.dealer-site-concierge {
  display: flex;
  min-height: 370px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(72px, 9vw, 130px) clamp(20px, 7vw, 110px);
  background:
    radial-gradient(circle at 88% 18%, rgba(0,208,255,.11), transparent 34%),
    linear-gradient(130deg, #0d1113, #08090a);
}
.dealer-site-concierge h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 6.5vw, 92px);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: .92;
}
.dealer-site-concierge .button { flex: 0 0 auto; }

@keyframes dealer-site-pulse {
  from { opacity: .58; transform: scale(.96); }
  to { opacity: 1; transform: scale(1.02); }
}

@media (max-width: 1120px) {
  .dealer-site-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dealer-site-search { grid-column: span 2; }
  .dealer-site-filters .button { align-self: end; }
}

@media (max-width: 780px) {
  .dealer-site-page { padding-top: 62px; }
  .dealer-site-hero { min-height: 680px; }
  .dealer-site-visual { display: block; }
  .dealer-site-visual-side { display: none; }
  .dealer-site-visual-main { width: 100%; height: 100%; }
  .dealer-site-visual-shade {
    background:
      linear-gradient(180deg, rgba(4,7,9,.22), rgba(4,7,9,.34) 40%, rgba(4,7,9,.96) 90%),
      linear-gradient(90deg, rgba(4,7,9,.52), transparent 76%);
  }
  .dealer-site-back-on-hero { top: 24px; }
  .dealer-site-hero-copy {
    right: 20px;
    bottom: 38px;
    left: 20px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
  }
  .dealer-site-logo { width: 76px; }
  .dealer-site-title h1 { font-size: clamp(43px, 12vw, 72px); line-height: .92; }
  .dealer-site-title > p { font-size: 7px; letter-spacing: .12em; }
  .dealer-site-meta { margin-top: 11px; font-size: 11px; }
  .dealer-site-inventory-jump { grid-column: 1 / -1; justify-content: space-between; }
  .dealer-site-inventory-heading { align-items: flex-start; }
  .dealer-site-inventory { padding: 72px 20px; }
  .dealer-site-filters { grid-template-columns: minmax(0, 1fr); padding: 13px; }
  .dealer-site-search { grid-column: auto; }
  .dealer-site-filters .button { width: 100%; }
  .dealer-site-filter-reset { justify-self: center; }
  .dealer-site-listing-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .dealer-site-pagination { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .dealer-site-pagination .button { padding-inline: 9px; font-size: 11px; }
  .dealer-site-concierge { min-height: 410px; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .dealer-site-concierge .button { width: 100%; }
  .listing-dealer-identity { grid-template-columns: 44px minmax(0, 1fr); }
  .listing-dealer-avatar { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .dealer-site-loading-mark { animation: none; }
  .dealer-site-visual img,
  .dealer-site-listing-grid .listing-card-image { transition: none; }
}

/* Privacy-first measurement consent -------------------------------------- */
.cookie-consent-root {
  position: relative;
  z-index: 92;
}
.cookie-consent[hidden],
.cookie-settings-button[hidden],
.cookie-preferences[hidden],
[data-cookie-summary-actions][hidden] {
  display: none !important;
}
.cookie-consent {
  position: fixed;
  right: clamp(14px, 2.5vw, 34px);
  bottom: clamp(14px, 2.5vw, 34px);
  left: clamp(14px, 2.5vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 70px);
  align-items: end;
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(22px, 3.1vw, 39px);
  border: 1px solid rgba(231, 212, 171, .36);
  color: #f8f5ee;
  background:
    radial-gradient(circle at 88% -20%, rgba(0, 208, 255, .15), transparent 36%),
    linear-gradient(140deg, rgba(20, 22, 23, .985), rgba(7, 9, 10, .99));
  box-shadow: 0 30px 95px rgba(0, 0, 0, .48);
}
.cookie-consent-copy {
  max-width: 700px;
}
.cookie-consent-copy > span {
  display: block;
  margin-bottom: 9px;
  color: var(--warm-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
}
.cookie-consent-copy h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.05;
}
.cookie-consent-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .73);
  font-size: 14px;
  line-height: 1.55;
}
.cookie-consent-copy a {
  display: inline-block;
  margin-top: 10px;
  border-bottom: 1px solid rgba(231, 212, 171, .55);
  color: var(--warm-light);
  font-size: 11px;
  font-weight: 750;
}
.cookie-consent-actions,
.cookie-preferences-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: min(100%, 340px);
}
.cookie-button {
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  background: rgba(255, 255, 255, .035);
  font-size: 12px;
  font-weight: 750;
}
.cookie-button:hover,
.cookie-button:focus-visible {
  border-color: var(--warm-light);
}
.cookie-button-primary {
  border-color: var(--warm);
  color: var(--ink);
  background: var(--warm);
}
.cookie-button-primary:hover,
.cookie-button-primary:focus-visible {
  background: var(--warm-light);
}
.cookie-button-text {
  grid-column: 1 / -1;
  min-height: 34px;
  border-color: transparent;
  color: rgba(255, 255, 255, .69);
  background: transparent;
}
.cookie-preferences {
  display: grid;
  min-width: min(100%, 440px);
  gap: 0;
}
.cookie-preference-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.cookie-preference-row strong,
.cookie-preference-row small {
  display: block;
}
.cookie-preference-row strong {
  color: #fff;
  font-size: 13px;
}
.cookie-preference-row small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .58);
  font-size: 10px;
}
.cookie-preference-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--warm);
}
.cookie-preference-row.is-required input {
  opacity: .7;
}
.cookie-preferences-actions {
  margin-top: 12px;
}
.cookie-settings-button {
  position: fixed;
  z-index: 80;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 14px;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .82);
  background: rgba(10, 11, 12, .88);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .22);
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

@media (max-width: 760px) {
  .cookie-consent {
    right: 0;
    bottom: 0;
    left: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    width: 100%;
    max-height: min(88svh, 720px);
    overflow-y: auto;
    padding: 23px 18px max(23px, env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }
  .cookie-consent-actions,
  .cookie-preferences,
  .cookie-preferences-actions {
    width: 100%;
    min-width: 0;
  }
}

/* The narrowest supported phones keep every header control in the viewport. */
@media (max-width: 430px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
  .site-header {
    width: 100%;
    max-width: 100vw;
    gap: 3px;
    padding-inline: 11px;
  }
  .brand {
    min-width: 28px;
    flex: 0 0 28px;
  }
  .brand > span:last-child {
    display: none;
  }
  .header-actions {
    min-width: 0;
    gap: 1px;
    margin-left: auto;
  }
  .header-actions .button {
    min-height: 37px;
    padding-inline: 9px;
    font-size: 11px;
  }
  .header-icon {
    width: 34px;
    flex: 0 0 34px;
  }
  .menu-toggle {
    width: 38px;
    flex: 0 0 38px;
  }
}

/* Light luxury palette 2026-07-30 ---------------------------------------- */
/* This final layer changes colour, light and surface treatment only. */
:root {
  --ink: #211d18;
  --ink-soft: #302a23;
  --paper: #fcfaf6;
  --paper-deep: #f1ebdf;
  --warm: #b4884a;
  --warm-light: #ead7b0;
  --brand-cyan: #5d9fa5;
  --brand-orange: #d6a05d;
  --line: rgba(70, 58, 42, .15);
  --line-light: rgba(91, 73, 48, .18);
  --muted: #70695f;
}

html { background: #eee8dc; }
body {
  background:
    radial-gradient(circle at 8% 14%, rgba(234, 215, 176, .22), transparent 29%),
    linear-gradient(180deg, #fffefa 0%, #f7f2e9 100%);
}

.site-header.is-solid {
  background: rgba(252, 250, 246, .96);
  box-shadow: 0 1px 0 rgba(103, 83, 55, .13), 0 12px 35px rgba(71, 57, 39, .06);
}
.site-header.is-solid .header-account-name::before { background: var(--warm); }
.site-header.is-solid .header-role-action { border-color: rgba(180, 136, 74, .42); color: #fff; background: #8b6736; }
.site-header.is-solid .header-role-action:hover { color: #211d18; background: #ead7b0; }
.mobile-menu {
  background: rgba(252, 250, 246, .985);
  box-shadow: 0 24px 50px rgba(66, 53, 36, .1);
}
.mobile-menu [data-header-account] { color: #6c512d; font-weight: 750; }
.mobile-menu [data-header-account]::before { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--warm); content: ""; }
.mobile-menu [data-header-role-action] { padding-inline: 13px; border-bottom: 0; color: #fff; background: #8b6736; }

.hero {
  background: #2b261f;
}
.hero-shade {
  background:
    linear-gradient(105deg, rgba(31, 24, 16, .66) 0%, rgba(40, 30, 18, .29) 42%, rgba(27, 22, 17, .07) 72%),
    linear-gradient(180deg, rgba(20, 17, 13, .27) 0%, rgba(20, 17, 13, .01) 49%, rgba(31, 23, 14, .54) 100%);
}
.hero-aurora {
  background:
    radial-gradient(circle at 46% 40%, rgba(234, 215, 176, .25), transparent 20%),
    radial-gradient(circle at 67% 57%, rgba(214, 160, 93, .14), transparent 22%),
    radial-gradient(circle at 51% 43%, rgba(93, 159, 165, .13), transparent 39%);
}
.hero-frame { border-color: rgba(255, 249, 236, .3); }
.hero-wordmark::before {
  border-color: rgba(255, 239, 207, .24);
  box-shadow: 0 0 110px rgba(230, 203, 151, .18), inset 0 0 75px rgba(255, 239, 207, .07);
}
.hero-tiktok {
  border-color: rgba(248, 226, 183, .48);
  background: rgba(43, 34, 24, .38);
}
.hero-tiktok:hover,
.hero-tiktok:focus-visible {
  border-color: var(--warm-light);
  background: rgba(43, 34, 24, .68);
}

.buyer-assistance {
  border-color: rgba(121, 95, 58, .15);
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 4%, rgba(93, 159, 165, .14), transparent 31%),
    radial-gradient(circle at 8% 110%, rgba(214, 160, 93, .18), transparent 37%),
    linear-gradient(135deg, #fffdf8 0%, #f3ecdf 100%);
}
.buyer-assistance-status { color: #777064; }
.buyer-assistance-copy > p:not(.buyer-assistance-status) { color: #4f4941; }
.buyer-assistance-copy > small { color: #81786c; }
.buyer-assistance-phone {
  border-color: rgba(93, 159, 165, .62);
  color: var(--ink);
  background: rgba(255, 255, 255, .56);
}
.buyer-assistance-phone:hover {
  border-color: var(--brand-cyan);
  background: #fff;
}
.buyer-assistance-phone small { color: #766e62; }
.buyer-assistance-callback {
  border-color: rgba(68, 56, 41, .28);
  color: var(--ink);
  background: rgba(255, 255, 255, .32);
}
.buyer-assistance-callback:hover {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}
.buyer-assistance-live {
  color: #2b241b;
  background: linear-gradient(112deg, #fff 0%, #ead7b0 54%, #e0eee9 100%);
  box-shadow: 0 17px 42px rgba(88, 69, 43, .12);
}
.buyer-assistance-live:hover {
  background: linear-gradient(112deg, #fff 0%, #f3e3c2 54%, #edf6f2 100%);
}

.collection.section-dark {
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 7%, rgba(93, 159, 165, .1), transparent 25%),
    linear-gradient(150deg, #f3ede3 0%, #fcfaf6 55%, #f6f0e6 100%);
}
.collection .eyebrow-light { color: #7e705b; }
.collection .filter-toggle {
  border-color: rgba(70, 58, 42, .32);
  color: var(--ink);
}
.collection-tabs {
  border-color: rgba(70, 58, 42, .18);
  background: rgba(255, 255, 255, .35);
}
.collection-tab {
  border-color: rgba(70, 58, 42, .14);
  color: #777064;
}
.collection-tab small { color: #91887c; }
.collection-tab:hover,
.collection-tab:focus-visible,
.collection-tab.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
}
.collection-tab.is-active small { color: #477f84; }

.collection-sidebar { scrollbar-color: rgba(91, 73, 48, .34) transparent; }
.collection-sidebar .filter-panel {
  border-color: rgba(70, 58, 42, .16);
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(234, 215, 176, .25), transparent 38%),
    rgba(255, 255, 255, .68);
  box-shadow: 0 18px 45px rgba(68, 53, 34, .07);
}
.filter-panel-heading { color: #71695e; }
.filter-panel-heading strong { color: var(--ink); }
.filter-panel-heading span { color: #8e8578; }
.filter-group { border-color: rgba(70, 58, 42, .12); }
.filter-group-title { color: #477f84; }
.filter-panel input,
.filter-panel select {
  border-color: rgba(70, 58, 42, .2);
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
}
.filter-panel input::placeholder { color: #9a9185; }
.filter-clear { color: #6e665b; }

.collection-toolbar { border-color: rgba(70, 58, 42, .15); }
.collection-meta { color: #766e62; }
.collection-meta span:first-child { color: #8a642e; }
.listing-view-switcher,
.results-sort {
  border-color: rgba(70, 58, 42, .17);
  color: #71695e;
  background: rgba(255, 255, 255, .62);
}
.listing-view-button { color: #7b7265; }
.listing-view-button:hover,
.listing-view-button:focus-visible,
.listing-view-button.is-active,
.listing-view-button[aria-pressed="true"] {
  color: #fff;
  background: #477f84;
}
.results-sort select {
  color: var(--ink);
  background: #fff;
}

#listingGrid.view-grid .listing-card,
#listingGrid.view-list .listing-card,
.dealer-site-listing-grid .listing-card {
  border-color: rgba(70, 58, 42, .14);
  background: #fffdfa;
  box-shadow: 0 18px 42px rgba(68, 53, 34, .1);
}
#listingGrid.view-grid .listing-card-body,
#listingGrid.view-list .listing-card-body,
.dealer-site-listing-grid .listing-card-body {
  color: var(--ink);
  background: linear-gradient(145deg, #fffefa 0%, #f2eadc 100%);
}
#listingGrid.view-grid .listing-specs,
#listingGrid.view-list .listing-specs,
.dealer-site-listing-grid .listing-specs {
  color: #6d655a;
}
.listing-badge {
  border-color: rgba(180, 136, 74, .46);
  color: #8c652f;
  background: rgba(255, 253, 248, .6);
}
.listing-price { color: #946b32; }
.listing-detail-price { color: #946b32; }
.pagination-status { color: #756d61; }
.collection-pagination button,
.collection-pagination a,
.collection-pagination .pagination-page,
.collection-pagination .pagination-prev,
.collection-pagination .pagination-next {
  border-color: rgba(70, 58, 42, .2);
  color: #625a50;
  background: rgba(255, 255, 255, .42);
}
.collection-pagination button:hover,
.collection-pagination button:focus-visible,
.collection-pagination a:hover,
.collection-pagination a:focus-visible,
.collection-pagination .is-active,
.collection-pagination [aria-current="page"] {
  border-color: #477f84;
  color: #fff;
  background: #477f84;
}
.collection-empty p { color: #736b60; }
.empty-mark { color: #8c652f; }

.appointment-band {
  background:
    radial-gradient(circle at 50% 0, rgba(234, 215, 176, .3), transparent 35%),
    linear-gradient(180deg, #fffefa 0%, #f7f1e7 100%);
}
.services-section {
  background:
    radial-gradient(circle at 90% 7%, rgba(93, 159, 165, .1), transparent 28%),
    linear-gradient(135deg, #f8f4ec 0%, #fffdfa 100%);
}
.partner-category,
.service-card {
  border-color: rgba(70, 58, 42, .14);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 34px rgba(68, 53, 34, .055);
}
.service-card:hover { border-color: rgba(93, 159, 165, .68); }
.service-card::after { border-color: rgba(93, 159, 165, .2); }
.service-card:nth-child(3n + 2)::after { border-color: rgba(214, 160, 93, .3); }

.dealer-banner {
  border-top: 1px solid rgba(70, 58, 42, .14);
  border-bottom: 1px solid rgba(70, 58, 42, .14);
  color: var(--ink);
  background: linear-gradient(125deg, #eee5d6 0%, #fbf8f1 100%);
}
.dealer-banner-copy p { color: #575047; }
.dealer-site-inventory {
  background:
    radial-gradient(circle at 92% 0, rgba(234, 215, 176, .2), transparent 28%),
    var(--paper);
}
.dealer-site-filters {
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 34px rgba(68, 53, 34, .055);
}
.dealer-site-concierge {
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 18%, rgba(93, 159, 165, .12), transparent 34%),
    linear-gradient(130deg, #eee5d6, #fffdf8);
}

.modal-panel,
.listing-panel {
  background: linear-gradient(145deg, #fffefa 0%, #f6f0e6 100%);
  box-shadow: 0 30px 90px rgba(58, 45, 29, .3);
}
.modal-close,
.listing-close { background: rgba(252, 250, 246, .92); }
.modal-form input:not([type="checkbox"]),
.modal-form textarea,
.modal-form select {
  border-color: rgba(70, 58, 42, .2);
  background: rgba(255, 255, 255, .78);
}
.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus { background: #fff; }

.buyer-guide-fab {
  border-color: rgba(180, 136, 74, .48);
  color: var(--ink);
  background: rgba(252, 250, 246, .94);
  box-shadow: 0 16px 45px rgba(65, 50, 32, .19), inset 0 0 22px rgba(234, 215, 176, .13);
}
.buyer-guide-fab small { color: #7f7669; }
.buyer-guide-fab i { color: #477f84; }
.buyer-guide-panel {
  color: var(--ink);
  background: #fbf8f2;
  box-shadow: 0 35px 100px rgba(59, 45, 29, .33), 0 0 0 1px rgba(180, 136, 74, .18);
}
.buyer-guide-panel .modal-close {
  border-color: rgba(70, 58, 42, .2);
  color: var(--ink);
  background: rgba(255, 255, 255, .76);
}
.buyer-guide-header {
  border-color: rgba(70, 58, 42, .12);
  background:
    radial-gradient(circle at 85% 0, rgba(93, 159, 165, .11), transparent 37%),
    linear-gradient(145deg, #fffefa, #eee5d7);
}
.buyer-guide-header > p,
.buyer-guide-header > span { color: #756d61; }
.buyer-guide-message > p {
  border-color: rgba(70, 58, 42, .12);
  color: #4e473e;
  background: rgba(255, 255, 255, .72);
}
.buyer-guide-message-user > p {
  border-color: rgba(93, 159, 165, .28);
  color: #243739;
  background: #deedeb;
}
.buyer-guide-result {
  border-color: rgba(70, 58, 42, .13);
  color: var(--ink);
  background: rgba(255, 255, 255, .65);
}
.buyer-guide-result small { color: #7e7568; }
.buyer-guide-show-results {
  border-color: rgba(93, 159, 165, .48);
  color: #355f63;
  background: rgba(93, 159, 165, .08);
}
.buyer-guide-prompts button {
  border-color: rgba(70, 58, 42, .18);
  color: #625a50;
}
.buyer-guide-prompts button:hover,
.buyer-guide-prompts button:focus-visible {
  border-color: #477f84;
  color: #355f63;
}
.buyer-guide-form,
.buyer-guide-footer { background: #f1eadf; }
.buyer-guide-form { border-color: rgba(70, 58, 42, .12); }
.buyer-guide-form input {
  border-color: rgba(70, 58, 42, .2);
  color: var(--ink);
  background: #fff;
}
.buyer-guide-form input::placeholder { color: #938a7d; }
.buyer-guide-form input:focus { background: #fff; }
.buyer-guide-send {
  color: #fff;
  background: #477f84;
}
.buyer-guide-footer > a,
.buyer-guide-footer > button {
  border-color: rgba(70, 58, 42, .18);
  color: var(--ink);
}
.buyer-guide-footer > small { color: #8a8174; }

.cookie-consent {
  border-color: rgba(180, 136, 74, .36);
  color: var(--ink);
  background:
    radial-gradient(circle at 88% -20%, rgba(93, 159, 165, .13), transparent 36%),
    linear-gradient(140deg, rgba(255, 254, 250, .99), rgba(239, 232, 220, .99));
  box-shadow: 0 30px 95px rgba(65, 50, 32, .24);
}
.cookie-consent-copy > span,
.cookie-consent-copy a { color: #8c652f; }
.cookie-consent-copy h2,
.cookie-preference-row strong { color: var(--ink); }
.cookie-consent-copy p { color: #625a50; }
.cookie-button {
  border-color: rgba(70, 58, 42, .22);
  color: var(--ink);
  background: rgba(255, 255, 255, .42);
}
.cookie-button-primary {
  border-color: var(--warm);
  color: #fff;
  background: var(--warm);
}
.cookie-button-text { color: #71695e; }
.cookie-preference-row { border-color: rgba(70, 58, 42, .12); }
.cookie-preference-row small { color: #837a6e; }
.cookie-settings-button {
  border-color: rgba(234, 215, 176, .32);
  color: #f8f2e7;
  background: rgba(47, 39, 30, .9);
}

.site-footer {
  color: rgba(255, 250, 240, .68);
  background: #2b251e;
  box-shadow: inset 0 1px 0 rgba(234, 215, 176, .16);
}

/* Persistent, role-aware super-admin listing entry ------------------------ */
[data-admin-listing-entry][hidden] { display: none !important; }
.admin-header-listing {
  border-color: rgba(234, 215, 176, .5);
  color: #fff;
  background: rgba(38, 32, 25, .76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
}
.site-header.is-solid .admin-header-listing {
  border-color: rgba(180, 136, 74, .42);
  color: #fff;
  background: #8b6736;
}
.admin-header-listing:hover,
.admin-header-listing:focus-visible { color: #211d18; background: #ead7b0; }

.admin-listing-fab {
  position: fixed;
  z-index: 72;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + 68px);
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid rgba(234, 215, 176, .58);
  border-radius: 99px;
  color: #fff;
  background: linear-gradient(125deg, rgba(52, 42, 31, .96), rgba(139, 103, 54, .97));
  box-shadow: 0 17px 42px rgba(55, 40, 22, .28), inset 0 0 0 1px rgba(255, 255, 255, .08);
  font-size: 13px;
  letter-spacing: .01em;
  backdrop-filter: blur(14px);
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.admin-listing-fab > span { font-size: 20px; font-weight: 400; line-height: 1; }
.admin-listing-fab:hover,
.admin-listing-fab:focus-visible { transform: translateY(-3px); box-shadow: 0 21px 48px rgba(55, 40, 22, .35); }
body.modal-open .admin-listing-fab { opacity: 0; pointer-events: none; transform: translateY(8px); }

.admin-listing-launcher { width: min(100%, 760px); }
.admin-listing-kind-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 25px;
}
.admin-listing-kind-grid > button {
  display: grid;
  min-height: 180px;
  align-content: end;
  gap: 7px;
  padding: 23px;
  border: 1px solid rgba(70, 58, 42, .18);
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 12%, rgba(93, 159, 165, .16), transparent 31%),
    rgba(255, 255, 255, .56);
  text-align: left;
  transition: border-color .2s, background .2s, transform .2s;
}
.admin-listing-kind-grid > button:nth-child(2) {
  background:
    radial-gradient(circle at 88% 12%, rgba(214, 160, 93, .2), transparent 31%),
    rgba(255, 255, 255, .56);
}
.admin-listing-kind-grid > button:hover,
.admin-listing-kind-grid > button:focus-visible { border-color: var(--warm); background-color: #fff; transform: translateY(-2px); }
.admin-listing-kind-grid span { align-self: start; color: #8a642e; font-family: var(--serif); font-size: 29px; }
.admin-listing-kind-grid strong { font-family: var(--serif); font-size: clamp(24px, 3vw, 31px); font-weight: 600; letter-spacing: -.035em; }
.admin-listing-kind-grid small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.admin-listing-dealer-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(70, 58, 42, .15);
  background: rgba(255, 255, 255, .48);
}
.admin-listing-dealer-picker[hidden] { display: none !important; }
.admin-listing-dealer-picker label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.admin-listing-dealer-picker .button { min-height: 51px; }
.admin-listing-dealer-picker .auth-feedback { grid-column: 1 / -1; margin: 0; }

@media (max-width: 700px) {
  .admin-listing-fab {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 61px);
    min-height: 47px;
    padding: 8px 13px;
    font-size: 12px;
  }
  .admin-listing-kind-grid { grid-template-columns: 1fr; }
  .admin-listing-kind-grid > button { min-height: 140px; padding: 19px; }
  .admin-listing-dealer-picker { grid-template-columns: 1fr; padding: 15px; }
  .admin-listing-dealer-picker .button { width: 100%; }
}

/* Final mobile header contract. Kept at the end so older responsive layers
   cannot hide the signed-in identity or shorten the scroll-safe menu. */
@media (max-width: 900px) {
  .site-header {
    padding-top: calc(15px + env(safe-area-inset-top));
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }
  .header-actions > .header-icon,
  .header-actions > .button-gold { display: none; }
  .mobile-header-control:not([hidden]) { display: inline-flex; }
  .mobile-menu.is-open {
    max-height: calc(100dvh - 61px - env(safe-area-inset-top));
    overflow-y: auto;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 700px) {
  .mobile-menu { top: calc(61px + env(safe-area-inset-top)); }
}

@media (min-width: 701px) and (max-width: 900px) {
  .mobile-menu { top: calc(76px + env(safe-area-inset-top)); }
  .mobile-menu.is-open { max-height: calc(100dvh - 76px - env(safe-area-inset-top)); }
}

@media (max-width: 430px) {
  .site-header {
    padding-right: max(11px, env(safe-area-inset-right));
    padding-left: max(11px, env(safe-area-inset-left));
  }
  .mobile-header-control { padding-inline: 9px; font-size: 11px; }
  .mobile-header-account { max-width: 66px; }
  .mobile-header-role-action { max-width: 83px; }
}

/* Opaque filter surfaces --------------------------------------------------
   The light palette must not inherit the older translucent drawer styles. */
.collection-sidebar .filter-panel {
  background-color: #fbf8f2;
  background-image: radial-gradient(circle at 100% 0, rgba(234, 215, 176, .23), transparent 38%);
}
.filter-panel input,
.filter-panel select {
  background-color: #fff;
}
.location-filter-trigger {
  border-color: rgba(70, 58, 42, .22);
  color: var(--ink);
  background: #fff;
}
.location-filter-trigger small { color: #81786c; }
.location-filter-trigger:hover,
.location-filter-trigger:focus-visible,
.location-filter-trigger.is-selected {
  border-color: #b38a4c;
  background: #fffaf0;
}
.filter-drawer-backdrop { display: none; }
.mobile-menu-backdrop { display: none; }

@media (max-width: 980px) {
  .collection-sidebar .filter-panel {
    z-index: 121;
    border-color: rgba(70, 58, 42, .2);
    color: var(--ink);
    background-color: #fbf8f2;
    background-image: radial-gradient(circle at 100% 0, rgba(234, 215, 176, .2), transparent 38%);
    box-shadow: 0 -28px 80px rgba(8, 13, 15, .36);
    backdrop-filter: none;
  }
  .collection-sidebar .filter-panel-heading {
    border-bottom: 1px solid rgba(70, 58, 42, .12);
    background: #fbf8f2;
  }
  .filter-drawer-close {
    border-color: rgba(70, 58, 42, .24);
    color: var(--ink);
    background: #fff;
  }
  .filter-drawer-close:hover,
  .filter-drawer-close:focus-visible {
    border-color: #477f84;
    color: #fff;
    background: #477f84;
  }
  .filter-drawer-backdrop {
    position: fixed;
    z-index: 119;
    inset: 0;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(7, 12, 14, .64);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility 0s linear .22s;
    pointer-events: none;
    touch-action: none;
  }
  .collection-sidebar .filter-panel.is-open + .filter-drawer-backdrop {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
    pointer-events: auto;
  }
}

/* Scroll-safe mobile navigation ----------------------------------------- */
@media (max-width: 900px) {
  .mobile-menu {
    z-index: 26;
    color: var(--ink);
    background: #fbf8f2;
    box-shadow: 0 22px 58px rgba(8, 13, 15, .22);
    overscroll-behavior: contain;
    visibility: hidden;
    pointer-events: none;
  }
  .mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
  }
  .mobile-menu-backdrop {
    position: fixed;
    z-index: 24;
    inset: calc(61px + env(safe-area-inset-top)) 0 0;
    display: block;
    background: rgba(7, 12, 14, .6);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility 0s linear .22s;
    pointer-events: none;
    touch-action: none;
  }
  .mobile-menu.is-open + .mobile-menu-backdrop {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
    pointer-events: auto;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .mobile-menu-backdrop { top: calc(76px + env(safe-area-inset-top)); }
}

/* Clear, removable active filters -------------------------------------- */
.active-filters {
  display: grid;
  gap: 11px;
  margin: 0 0 20px;
  padding: 14px 15px;
  border: 1px solid rgba(70, 58, 42, .15);
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 12px 30px rgba(68, 53, 34, .045);
}
.active-filters-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.active-filters-heading strong {
  color: #5d554b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.active-filters-heading button {
  padding: 2px 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(71, 127, 132, .42);
  color: #477f84;
  background: transparent;
  font-size: 11px;
  font-weight: 750;
}
.active-filters-heading button:hover,
.active-filters-heading button:focus-visible { color: #294f53; border-color: #294f53; }
.active-filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.active-filter-chip {
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px 8px 13px;
  border: 1px solid rgba(71, 127, 132, .38);
  border-radius: 999px;
  color: #294f53;
  background: #deecea;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
}
.active-filter-chip i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #355f63;
  background: rgba(71, 127, 132, .12);
  font-size: 17px;
  font-style: normal;
  line-height: 1;
}
.active-filter-chip:hover,
.active-filter-chip:focus-visible { border-color: #477f84; background: #cfe3e1; }

/* Account-backed favourites: outline by default, unmistakably red saved state. */
.card-save.active {
  color: #df2f4b;
  border-color: rgba(223, 47, 75, .8);
  background: rgba(255, 255, 255, .94);
}
.card-save.active:hover,
.card-save.active:focus-visible { color: #c91839; border-color: #c91839; background: #fff; }
.detail-save.active {
  color: #df2f4b;
  border-color: rgba(223, 47, 75, .55);
  background: #fff;
}
.header-icon.is-active svg { fill: #df2f4b; stroke: #df2f4b; }

/* CarSpotlightGR service campaign visual ------------------------------- */
.appointment-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr);
  align-items: stretch;
  gap: clamp(30px, 5vw, 78px);
  padding-top: clamp(62px, 8vw, 120px);
  padding-bottom: clamp(62px, 8vw, 120px);
  text-align: left;
}
.appointment-band-visual {
  min-height: clamp(420px, 40vw, 650px);
  overflow: hidden;
  border: 1px solid rgba(70, 58, 42, .13);
  background: #e9e4dc;
  box-shadow: 0 28px 70px rgba(58, 45, 30, .14);
}
.appointment-band-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.appointment-band-copy {
  display: grid;
  align-content: center;
  justify-items: start;
}
.appointment-band-copy h2 { width: 100%; max-width: 650px; margin-bottom: 37px; font-size: clamp(40px, 4.25vw, 68px); letter-spacing: -.06em; line-height: 1.02; text-wrap: balance; }
.appointment-band-copy h2 span,
.appointment-band-copy h2 em { display: block; white-space: nowrap; }
.appointment-band-copy .button { min-width: 190px; }

@media (max-width: 980px) {
  .appointment-band { grid-template-columns: 1fr; gap: 30px; }
  .appointment-band-visual { min-height: 0; aspect-ratio: 16 / 10; }
  .appointment-band-copy { padding: 12px 0 0; }
}

@media (max-width: 700px) {
  .active-filters { margin-bottom: 15px; padding: 12px; }
  .active-filters-heading { align-items: flex-start; }
  .active-filters-heading strong { padding-top: 3px; font-size: 10px; }
  .active-filter-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
  .active-filter-chip { flex: 0 0 auto; max-width: min(84vw, 320px); }
  .active-filter-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .appointment-band { padding: 70px 20px 76px; text-align: left; }
  .appointment-band-visual { aspect-ratio: 4 / 3; }
  .appointment-band-visual img { object-position: 50% center; }
  .appointment-band-copy h2 { margin-bottom: 28px; font-size: clamp(31px, 10vw, 42px); }
  .appointment-band-copy .button { width: 100%; }
}

/* Always-visible filter confirmation -----------------------------------
   The filter list is intentionally long. Keep its primary action inside the
   visible scrollport on desktop and in the mobile drawer, even while the
   customer is changing the first controls. */
.collection-sidebar .filter-actions {
  position: sticky;
  z-index: 7;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 18px -16px -16px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(70, 58, 42, .16);
  background: rgba(251, 248, 242, .98);
  box-shadow: 0 -16px 32px rgba(58, 45, 30, .12);
  backdrop-filter: blur(12px);
}
.collection-sidebar .filter-actions .button {
  width: 100%;
  min-height: 56px;
  border: 1px solid #315f63;
  color: #fff;
  background: #315f63;
  box-shadow: 0 10px 24px rgba(49, 95, 99, .2);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .015em;
}
.collection-sidebar .filter-actions .button:hover,
.collection-sidebar .filter-actions .button:focus-visible {
  border-color: #24494c;
  color: #fff;
  background: #24494c;
}
.collection-sidebar .filter-actions .filter-clear {
  width: 100%;
  min-height: 40px;
  padding: 5px 12px;
  color: #6e665b;
  background: transparent;
}
.filter-heading-apply {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid #315f63;
  border-radius: 999px;
  color: #fff;
  background: #315f63;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
.filter-heading-apply:hover,
.filter-heading-apply:focus-visible {
  border-color: #24494c;
  color: #fff;
  background: #24494c;
}

@media (min-width: 981px) {
  .collection-sidebar .filter-panel-heading {
    grid-template-columns: minmax(0, 1fr);
  }
  .collection-sidebar .filter-heading-apply {
    width: 100%;
    margin-top: 9px;
  }
}

@media (max-width: 980px) {
  .collection-sidebar .filter-panel { padding-top: 0; }
  .collection-sidebar .filter-panel-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    top: 0;
    margin-top: 0;
  }
  .collection-sidebar .filter-actions {
    position: static;
    margin-right: calc(0px - var(--filter-drawer-pad));
    margin-bottom: 0;
    margin-left: calc(0px - var(--filter-drawer-pad));
    padding-right: var(--filter-drawer-pad);
    padding-bottom: max(18px, env(safe-area-inset-bottom));
    padding-left: var(--filter-drawer-pad);
    background: #fbf8f2;
    backdrop-filter: none;
  }
}

@media (max-width: 410px) {
  .filter-panel-heading > div span { display: none; }
  .filter-heading-apply { min-height: 42px; padding-right: 12px; padding-left: 12px; }
}

/* Seller categories belong to the filter system, not the primary chrome. */
.collection-tabs-single { grid-template-columns: minmax(0, 1fr); }
.collection-tabs-single .collection-tab {
  min-height: 70px;
  border-right: 0;
  cursor: default;
}

/* Readable Arial typography, persistent form state and account clarity ----- */
body,
button,
input,
textarea,
select { font-family: Arial, Helvetica, sans-serif; }
body { letter-spacing: .012em; line-height: 1.62; }
h1,
h2,
h3,
h4,
h5,
h6 { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .005em !important; line-height: 1.08; }
p,
label,
input,
textarea,
select,
button,
a { line-height: 1.5; }
.modal-form form,
.listing-form form { gap: 20px; }
.modal-form label { gap: 9px; }
.modal-form input:not([type="checkbox"]):not([type="radio"]),
.modal-form textarea,
.modal-form select { min-height: 52px; padding-block: 13px; }
.modal-form textarea { min-height: 112px; }

.form-draft-state {
  margin: -2px 0 18px;
  padding: 11px 13px;
  border-left: 3px solid #477f84;
  color: #355f63;
  background: rgba(93, 159, 165, .09);
  font-size: 13px;
}

.greek-date-field {
  position: relative;
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  overflow: hidden;
  border: 1px solid rgba(70, 58, 42, .2);
  color: #756d61;
  background: rgba(255, 255, 255, .78);
  cursor: pointer;
}
.greek-date-field.has-value { color: var(--ink); }
.greek-date-field:focus-within {
  border-color: #477f84;
  outline: 2px solid rgba(71, 127, 132, .25);
  outline-offset: 2px;
  background: #fff;
}
.greek-date-field svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
}
.greek-date-field input[type="date"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}
.greek-date-field + small { color: var(--muted); font-size: 11px; font-weight: 400; }

/* Role-aware navigation, complete filters and resilient responsive controls. */
@media (min-width: 901px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    min-height: 86px;
    overflow: visible;
  }
  .brand { justify-self: start; }
  .main-nav {
    justify-self: center;
    justify-content: center;
    white-space: nowrap;
  }
  .main-nav a,
  .main-nav button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 8px 0;
    line-height: 1.25;
  }
  .header-actions { justify-self: end; }
}

/* One marketplace, two clear inventory modes. */
.main-nav .market-mode-link {
  position: relative;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  opacity: .78;
  transition: color .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}
.main-nav .market-mode-link:hover { opacity: 1; }
.main-nav .market-mode-link.is-active {
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .12);
  opacity: 1;
}
.site-header.is-solid .main-nav .market-mode-link.is-active {
  border-color: rgba(139, 103, 54, .3);
  color: #6c512d;
  background: rgba(234, 215, 176, .42);
}
.mobile-menu .market-mode-link.is-active {
  margin-inline: -10px;
  padding-inline: 10px;
  border-bottom-color: transparent;
  border-radius: 5px;
  color: #6c512d;
  background: #f0e4cb;
}

@media (min-width: 901px) and (max-width: 1200px) {
  .main-nav .market-mode-link { padding-inline: 9px; }
}

/* The decorative hero frame starts below the navigation and can never cross
   or visually clip the menu labels. */
.hero-frame {
  top: clamp(92px, 8vw, 116px);
  right: clamp(14px, 2.4vw, 38px);
  bottom: clamp(14px, 2.4vw, 38px);
  left: clamp(14px, 2.4vw, 38px);
}

.collection-sidebar {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  touch-action: pan-y;
}
.collection-sidebar .filter-panel { min-width: 0; }
.advanced-filter-toggle {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(70, 58, 42, .2);
  color: var(--ink);
  background: #fff;
  text-align: left;
}
.advanced-filter-toggle span { display: grid; gap: 2px; }
.advanced-filter-toggle strong { font-size: 13px; }
.advanced-filter-toggle small { color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.35; }
.advanced-filter-toggle i { color: #477f84; font-size: 22px; font-style: normal; line-height: 1; }
.advanced-filter-toggle:hover,
.advanced-filter-toggle:focus-visible,
.advanced-filter-toggle.is-open { border-color: #477f84; background: #f6fbfa; }
.advanced-filters { min-width: 0; }
.advanced-filters[hidden] { display: none !important; }
.filter-equipment-options {
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid rgba(70, 58, 42, .16);
}
.filter-equipment-options legend { padding: 0 6px; color: var(--ink); font-size: 12px; font-weight: 800; }
.filter-equipment-options legend small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 500; }
.filter-equipment-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
.filter-equipment-grid label {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(70, 58, 42, .14);
  background: rgba(255, 255, 255, .64);
  font-size: 11px;
  cursor: pointer;
}
.filter-equipment-grid input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: #477f84; }
.private-portal-tabs {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.private-portal-tabs button { flex: 0 0 auto; }
.private-simple-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.favorite-portal-row .portal-row-actions { flex-wrap: wrap; }

@media (max-width: 980px) {
  .hero-frame { top: calc(82px + env(safe-area-inset-top)); }
  .collection-sidebar { overflow: visible; scrollbar-gutter: auto; }
  .collection-sidebar .filter-panel {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  .advanced-filter-toggle { min-height: 62px; }
  .filter-equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .private-simple-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .filter-equipment-grid { grid-template-columns: minmax(0, 1fr); }
  .favorite-portal-row { grid-template-columns: 76px minmax(0, 1fr); }
  .favorite-portal-row .portal-row-actions { grid-column: 1 / -1; width: 100%; }
  .favorite-portal-row .portal-row-action { flex: 1 1 120px; }
}

/* Keep the anti-spam control in the form without letting generic input rules
   create horizontal overflow on narrow mobile screens. */
.modal-form input.honeypot {
  position: absolute;
  width: 1px !important;
  min-height: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.buyer-guide-fab-shell {
  position: fixed;
  z-index: 70;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
}
.buyer-guide-fab-shell[hidden] { display: none !important; }
.buyer-guide-fab-shell .buyer-guide-fab { position: relative; right: auto; bottom: auto; }
.buyer-guide-fab-dismiss {
  position: absolute;
  z-index: 2;
  top: -9px;
  right: -7px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(70, 58, 42, .22);
  border-radius: 50%;
  color: var(--ink);
  background: #fffefa;
  box-shadow: 0 5px 16px rgba(55, 40, 22, .18);
  font-size: 18px;
  line-height: 1;
}
body.modal-open .buyer-guide-fab-shell { opacity: 0; pointer-events: none; transform: translateY(8px); }

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, auto);
  gap: 28px 50px;
  align-items: end;
  padding-top: 42px;
  padding-bottom: 31px;
}
.footer-brand-block { display: grid; gap: 11px; }
.footer-brand-block > p { color: rgba(255, 250, 240, .55); }
.site-footer .footer-links {
  display: flex;
  grid-column: 2;
  flex-wrap: wrap;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px 20px;
  max-width: 640px;
  text-align: right;
}
.footer-links > span {
  flex: 0 0 100%;
  color: #fffaf0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-links button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}
.footer-links a:hover,
.footer-links button:hover,
.footer-links a:focus-visible,
.footer-links button:focus-visible { color: var(--warm-light); }
.site-footer .copyright {
  grid-column: 1 / -1;
  justify-self: end;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 250, 240, .12);
  width: 100%;
  text-align: right;
}

.portal-account-bar { padding-bottom: 18px; }
.portal-account-bar > div:last-child { gap: 11px 22px; }
.portal-channel-tabs { gap: 8px; }
.portal-channel-tabs button { min-height: 42px; padding: 10px 15px; font-size: 12px; }
.portal-conversation-row,
.portal-offer-row,
.portal-appointment-row { gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.portal-conversation-row p:not(.portal-conversation-kicker),
.portal-offer-row p:not(.portal-conversation-kicker),
.portal-appointment-notes { line-height: 1.62; }
.portal-request-direction {
  display: inline-flex;
  margin-top: 9px;
  color: #477f84;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 700px) {
  body { letter-spacing: .008em; }
  .buyer-guide-fab-shell {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  .site-footer { grid-template-columns: 1fr; gap: 29px; padding: 35px 20px 28px; }
  .site-footer .footer-links {
    grid-column: 1;
    justify-content: flex-end;
    justify-self: stretch;
    gap: 12px 18px;
  }
  .site-footer .copyright { grid-column: 1; }
  .portal-account-bar { align-items: flex-start; }
  .portal-account-bar > div:last-child { justify-content: flex-start; }
  .portal-conversation-row,
  .portal-offer-row,
  .portal-appointment-row { grid-template-columns: 1fr; gap: 12px; }
  .portal-conversation-side,
  .portal-offer-row > div:last-child { justify-items: start; }
  .portal-appointment-row > time { white-space: normal; }
}

/* Cross-device release pass: appointments, filters and long marketplace data. */
html { overflow-x: clip; }
body { max-width: 100%; overflow-x: clip; }
.hero-image {
  object-position: center center !important;
  transform: scale(1.015) translate3d(var(--hero-x), calc(var(--hero-y) + var(--hero-scroll)), 0);
}
.hero-shade { background: linear-gradient(180deg, rgba(3, 5, 6, .1), rgba(3, 5, 6, .08) 55%, rgba(3, 5, 6, .42)); }

.service-tiktok-link {
  display: inline-flex;
  width: fit-content;
  margin: -15px 0 25px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: #225d65;
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 800;
}
.service-tiktok-link:hover,
.service-tiktok-link:focus-visible { color: #0b252a; }
.appointment-band-copy h2 span,
.appointment-band-copy h2 em { white-space: normal; overflow-wrap: normal; word-break: normal; }

.appointment-modal { width: min(100%, 760px); }
.appointment-schedule-grid { align-items: start; }
.appointment-schedule-grid > label { min-width: 0; align-content: start; }
.appointment-schedule-grid .greek-date-field,
.appointment-schedule-grid select { height: 54px; min-height: 54px; }
.appointment-date-help {
  display: block;
  margin-top: -12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.filter-location-select { margin-bottom: 10px; }
.filter-location-select select { width: 100%; }
.dealer-document-fields {
  display: grid;
  min-width: 0;
  gap: 13px;
  margin: 2px 0;
  padding: 17px;
  border: 1px solid #d0cac0;
}
.dealer-document-fields legend { padding: 0 8px; font-size: 14px; font-weight: 800; }
.dealer-document-fields > p { margin: 0; color: var(--muted); font-size: 12px; }
.dealer-document-fields input[type="file"] {
  min-width: 0;
  min-height: 48px;
  padding: 10px;
  font-size: 13px;
}
.admin-dealer-documents {
  width: fit-content;
  margin-top: 10px !important;
  padding: 6px 9px;
  border: 1px solid #c9a4a0;
  color: #8b4740 !important;
  font-size: 11px !important;
  font-weight: 800;
}
.admin-dealer-documents.is-complete { border-color: #9ab094; color: #476842 !important; }
.portal-row-action:disabled { cursor: not-allowed; opacity: .48; }

.modal-panel,
.modal-panel *,
.listing-card,
.listing-card *,
.portal-panel,
.portal-panel * { min-width: 0; }
.listing-detail h2,
.listing-card h3,
.listing-card-title,
.portal-panel h2,
.portal-panel h3,
.portal-conversation-row p,
.portal-appointment-row p,
.modal-lead {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}
.listing-detail-content,
.portal-conversation-row,
.portal-appointment-row { overflow: hidden; }
.modal-form input,
.modal-form select,
.modal-form textarea,
.filter-panel input,
.filter-panel select { max-width: 100%; }

@media (min-width: 701px) and (max-width: 1100px) {
  .appointment-modal { width: min(92vw, 760px); }
  .appointment-modal h2 { font-size: clamp(40px, 5vw, 56px); }
  .listing-detail { grid-template-columns: minmax(0, 1fr); }
  .listing-gallery { min-height: min(58vw, 560px); }
}

@media (max-width: 700px) {
  .hero-image { transform: scale(1.02) translate3d(0, var(--hero-scroll), 0); }
  .appointment-modal { max-height: 94svh; }
  .appointment-schedule-grid { grid-template-columns: minmax(0, 1fr); }
  .appointment-date-help { margin-top: -8px; }
  .appointment-band-copy h2 { text-wrap: pretty; }
  .service-tiktok-link { margin-top: -8px; }
  .dealer-document-fields { padding: 14px; }
  .listing-card h3,
  .listing-card-title { font-size: clamp(24px, 7.5vw, 34px); line-height: 1.06; }
}

@media (max-width: 380px) {
  .modal-form,
  .saved-panel,
  .portal-panel { padding-right: 16px; padding-left: 16px; }
  .modal-panel h2 { font-size: clamp(32px, 10vw, 38px); }
  .appointment-schedule-grid select { font-size: 15px; }
}

/* Integrated marketplace filters -----------------------------------------
   On laptop and desktop the filter column belongs to the document flow, just
   like the results column. The page owns the only vertical scrollbar; the
   sidebar never creates a second, competing scroll area. */
@media (min-width: 981px) {
  .collection-layout {
    grid-template-columns: minmax(300px, 25vw) minmax(0, 1fr);
    gap: clamp(22px, 2.4vw, 38px);
  }
  .collection-sidebar {
    position: static;
    top: auto;
    align-self: start;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
    scrollbar-gutter: auto;
    touch-action: auto;
  }
  .collection-sidebar .filter-panel {
    padding: 18px;
    border-radius: 18px;
  }
  .collection-sidebar .filter-panel-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
  }
  .collection-sidebar .filter-heading-apply {
    width: auto;
    min-height: 40px;
    margin-top: 0;
    padding-inline: 14px;
  }
  .collection-sidebar .filter-group {
    margin-top: 15px;
    padding-top: 14px;
  }
  .collection-sidebar .filter-location { margin-top: 15px; }
  .collection-sidebar .filter-actions {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin: 16px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(70, 58, 42, .16);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .collection-sidebar .filter-actions .button { min-height: 50px; }
  .collection-sidebar .filter-actions .filter-clear {
    width: auto;
    min-height: 50px;
    padding-inline: 10px;
  }
}

/* Wide screens use the available space efficiently: related range fields
   sit side by side while identity and keyword searches remain full width. */
@media (min-width: 1280px) {
  .collection-layout {
    grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
  }
  .collection-sidebar .filter-grid,
  .collection-sidebar .filter-grid-primary,
  .collection-sidebar .filter-grid-ranges,
  .collection-sidebar .filter-equipment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .collection-sidebar .filter-grid-primary > label:first-child,
  .collection-sidebar .filter-grid-primary > label:last-child {
    grid-column: 1 / -1;
  }
  .collection-sidebar .filter-panel input,
  .collection-sidebar .filter-panel select {
    min-height: 46px;
    padding: 8px 11px;
    font-size: 14px;
  }
  .collection-sidebar .advanced-filter-toggle {
    min-height: 54px;
    margin-top: 15px;
  }
  .collection-sidebar .filter-equipment-options {
    margin-top: 15px;
    padding: 12px;
  }
  .collection-sidebar .filter-equipment-grid label {
    min-height: 39px;
    padding: 7px 9px;
  }
}
