/* Customer pages use Bootstrap forms in the OVERDRIVE palette, type and square shapes.
   The overrides are scoped to .customer-site; administration keeps the g theme from tokens.css. */
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/overdrive/fonts/bebas-neue-latin.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/overdrive/fonts/bebas-neue-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
.customer-site {
  --g-bg: #101011;
  --g-surface: #18181a;
  --g-subtle: #222223;
  --g-text: #f6f0e4;
  --g-muted: #c7c1b7;
  --g-border: #565250;
  --g-control-border: #7f786f;
  --g-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23c7c1b7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  --g-accent: #e32c25;
  --g-accent-hover: #c4231d;
  --g-accent-ink: #ff6b63;
  --g-on-accent: #fff;
  --g-radius: 0;
  --g-radius-sm: 0;
  --g-display: 'Bebas Neue', var(--g-font);
  /* tokens.css resolves these on :root, so they must be restated where the g values change. */
  --bs-body-bg: var(--g-bg);
  --bs-body-color: var(--g-text);
  --bs-secondary-color: var(--g-muted);
  --bs-tertiary-bg: var(--g-subtle);
  --bs-border-color: var(--g-border);
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-border-radius-xl: 0;
  --bs-link-color: var(--g-accent-ink);
  --bs-link-hover-color: var(--g-accent-ink);
  --bs-emphasis-color: var(--g-text);
}
.customer-site { margin: 0; background: var(--g-bg); color: var(--g-text); font-family: var(--g-font); font-size: 16px; line-height: 1.6; }
.customer-site *, .customer-site *::before, .customer-site *::after { box-sizing: border-box; }
.customer-site a { color: inherit; }
.customer-site h1, .customer-site h2, .customer-site h3, .customer-site p, .customer-site dl { margin-top: 0; }
.customer-site h1, .customer-site h2, .customer-site h3 { font-weight: 650; letter-spacing: -.035em; line-height: 1.16; overflow-wrap: anywhere; }
.customer-site h1 { font-size: clamp(2.5rem, 4.2vw, 4rem); }
.customer-site h2 { font-size: clamp(1.8rem, 2.5vw, 2.5rem); }
.customer-site h1, .customer-site h2 { font-family: var(--g-display); font-weight: 400; letter-spacing: .01em; line-height: .98; }
/* Bebas is condensed, so page titles and section headings need more size than Manrope did. */
.customer-site main h1 { font-size: clamp(2.75rem, 4.6vw, 4.5rem); }
.customer-site :is(.vehicle-description, .vehicle-information, .equipment-section, .section-heading, .about-content, .visit-copy) h2 { font-size: clamp(2rem, 2.8vw, 2.6rem); }
.customer-site img { max-width: 100%; display: block; }
.customer-site address { font-style: normal; }
.customer-site button, .customer-site input, .customer-site select, .customer-site textarea { font: inherit; }
.customer-site [hidden] { display: none !important; }
.site-container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.visit-layout > *, .detail-top > *, .vehicle-content > *, .contact-layout > *, .about-intro > *, .about-content > * { min-width: 0; }
.customer-site :focus-visible { outline: 3px solid var(--g-accent-ink); outline-offset: 4px; }
.customer-site .btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 11px 20px; border-radius: var(--g-radius-sm); font-size: .95rem; font-weight: 650; line-height: 1.35; white-space: nowrap; text-decoration: none; transition: background-color .16s, border-color .16s, transform .16s; }
.customer-site .btn-primary { color: var(--g-bg); background: var(--g-text); border-color: var(--g-text); font-weight: 800; }
.customer-site .btn-primary:hover { color: #000; background: #fff; border-color: #fff; }
.customer-site .btn-primary:active { color: #000; background: #d2cbbf; border-color: #d2cbbf; }
.customer-site .btn-outline-secondary { color: var(--g-text); background: transparent; border-color: var(--g-border); }
.customer-site .btn-outline-secondary:hover { color: var(--g-text); background: var(--g-subtle); border-color: var(--g-muted); }
.customer-site .btn:active { transform: scale(.98); }
.customer-site .btn:disabled { cursor: progress; opacity: .7; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; font-weight: 650; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--g-accent-ink); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.eyebrow { color: var(--g-accent-ink); font-size: .75rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 16px; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 20; padding: 14px 20px; background: var(--g-surface); border: 2px solid var(--g-accent); border-radius: var(--g-radius-sm); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--g-bg); border-bottom: 1px solid var(--g-border); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 170px; min-width: 170px; height: 50px; }
.brand-mark img { object-fit: contain; width: 160px; height: 49px; }
.primary-navigation { margin-left: auto; display: flex; align-items: center; gap: 32px; }
.primary-navigation a { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .9rem; font-weight: 650; }
.primary-navigation a:hover, .primary-navigation a[aria-current="page"] { color: var(--g-accent-ink); }
.primary-navigation a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.menu-toggle { display: none !important; }
.hero-intro { font-size: 1.075rem; color: var(--g-muted); max-width: 45ch; margin-bottom: 28px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { margin-bottom: 10px; }
.section-heading p:not(.eyebrow) { color: var(--g-muted); margin-bottom: 0; }
.section-heading > a { flex-shrink: 0; }
.car-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }


.car-card { min-width: 0; background: var(--g-surface); border: 1px solid var(--g-border); border-radius: var(--g-radius); overflow: hidden; }
.car-card-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--g-subtle); }
.car-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .22s; }
.car-card:hover .car-card-photo img { transform: scale(1.025); }
.car-card-content { padding: 22px; }
.car-card-heading { display: flex; align-items: start; gap: 10px; justify-content: space-between; }
.car-card h3 { font-size: 1.2rem; letter-spacing: -.025em; margin-bottom: 14px; line-height: 1.35; }
.car-card h3 a { text-decoration: none; }
.car-card h3 a:hover { color: var(--g-accent-ink); }
.car-card-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; list-style: none; padding: 0; margin: 0 0 20px; color: var(--g-muted); font-size: .8rem; }
.car-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--g-border); padding-top: 15px; }
.car-price { font-size: 1.08rem; white-space: nowrap; font-weight: 750; letter-spacing: -.02em; }
.car-card-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; font-size: .8rem; font-weight: 650; text-decoration: none; }
.car-card:hover .car-card-link { color: var(--g-accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.status-label { color: var(--g-muted); font-size: .75rem; font-weight: 650; padding: 3px 9px; background: var(--g-subtle); border: 1px solid var(--g-border); border-radius: var(--g-radius-sm); }
.services-section { padding-block: 68px; border-block: 1px solid var(--g-border); background: var(--g-subtle); }
.services-intro h2 { max-width: 450px; margin-bottom: 20px; }
.services-intro > p:not(.eyebrow) { max-width: 47ch; color: var(--g-muted); }
.service-list { margin-bottom: 0; }
.service-list > div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--g-border); }
.service-list > div:first-child { padding-top: 0; }
.service-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.service-list dt { display: flex; gap: 12px; align-items: start; font-size: .95rem; font-weight: 650; }
.service-list dt i { color: var(--g-accent-ink); font-size: 1.15rem; }
.service-list dd { margin: 0; color: var(--g-muted); font-size: .9rem; }
.visit-section { padding-block: 74px; }
.visit-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 76px; align-items: center; }
.visit-map { min-width: 0; border: 1px solid var(--g-border); border-radius: var(--g-radius); overflow: hidden; background: var(--g-subtle); }
.visit-map iframe { display: block; width: 100%; height: 400px; border: 0; }
.visit-copy .map-provider-note { margin-top: 20px; margin-bottom: 0; font-size: .8rem; }
.visit-copy > p:not(.eyebrow) { color: var(--g-muted); max-width: 42ch; margin-bottom: 22px; }
.visit-copy address { margin-bottom: 26px; font-weight: 600; font-size: .9rem; }
.site-footer { background: var(--g-bg); border-top: 1px solid var(--g-border); padding-block: 52px 22px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-main h2 { font-size: .85rem; letter-spacing: 0; font-weight: 750; margin: 0 0 14px; }
.footer-main > div > a:not(.brand-mark) { display: block; padding: 6px 0; font-size: .8rem; color: var(--g-muted); text-decoration: none; width: fit-content; }
.footer-main > div > a:hover { color: var(--g-accent-ink); text-decoration: underline; }
.footer-main p, .footer-main address { color: var(--g-muted); font-size: .8rem; margin: 18px 0 0; }
.footer-bottom { border-top: 1px solid var(--g-border); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--g-muted); font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.breadcrumb-nav { padding-block: 27px; }
.breadcrumb-nav ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; padding: 0; margin: 0; gap: 8px 12px; color: var(--g-muted); font-size: .75rem; }
.breadcrumb-nav li { display: flex; gap: 12px; align-items: center; min-width: 0; }
.breadcrumb-nav a { min-height: 32px; display: inline-flex; align-items: center; text-decoration: none; }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-nav i { font-size: .55rem; }
.page-heading { padding-block: 12px 35px; }
.page-heading h1 { font-size: clamp(2.5rem, 3.6vw, 3.4rem); margin-bottom: 18px; }
.page-heading > p:not(.eyebrow) { color: var(--g-muted); max-width: 65ch; margin-bottom: 0; }
.inventory-browser { display: grid; grid-template-columns: 246px minmax(0, 1fr); gap: 36px; align-items: start; }
.filters { background: var(--g-surface); border: 1px solid var(--g-border); border-radius: var(--g-radius); }
.filter-content { padding: 22px; }
.filter-drawer-summary { display: none; }
.filter-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.filter-top h2 { font-size: 1.05rem; letter-spacing: -.02em; margin: 0; }
.filter-clear { background: none; border: none; color: var(--g-muted); font-size: .75rem; padding: 0; }
.filter-price { margin-bottom: 18px; }
.filter-price .form-label { font-weight: 600; font-size: .82rem; }
.filter-group { border-top: 1px solid var(--g-border); }
.filter-group summary { min-height: 48px; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; font-weight: 650; cursor: pointer; gap: 10px; list-style: none; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary i { font-size: .7rem; }
.filter-group[open] summary i { transform: rotate(180deg); }
.filter-group fieldset { margin: 0 0 12px; }
.filter-option { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.filter-option label { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex: 1; min-height: 44px; font-size: .78rem; line-height: 1.4; cursor: pointer; }
.filter-option label span { color: var(--g-muted); font-size: .7rem; }
.customer-site .form-check-input { flex-shrink: 0; background-color: var(--g-surface); border-color: var(--g-control-border); width: 19px; height: 19px; margin: 0; border-radius: 5px; cursor: pointer; }
.customer-site .form-check-input:checked { background-color: var(--g-accent); border-color: var(--g-accent); }
.customer-site .form-control, .customer-site .form-select { min-height: 48px; border: 1px solid var(--g-control-border); background-color: var(--g-surface); color: var(--g-text); border-radius: var(--g-radius-sm); font-size: .9rem; }
.customer-site .form-control::placeholder { color: var(--g-muted); opacity: 1; }
.customer-site .form-control:focus, .customer-site .form-select:focus { border-color: var(--g-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--g-accent) 18%, transparent); }
.customer-site .form-select { padding-right: 36px; }
.customer-site .form-select option { color: var(--g-text); background: var(--g-surface); }
.filter-submit { margin-top: 16px; width: 100%; }
.customer-site.js-ready .filter-submit { display: none; }
.search-label { display: block; font-size: .8rem; font-weight: 650; margin-bottom: 8px; }
.search-input { display: flex; align-items: center; gap: 12px; position: relative; }
.search-input > i { position: absolute; left: 16px; color: var(--g-muted); }
.search-input input { padding-left: 44px; min-width: 0; }
.result-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 24px 0; }
.result-toolbar > p { font-weight: 650; font-size: .9rem; margin: 0; }
.sort-control { display: flex; align-items: center; gap: 12px; }
.sort-control label { font-size: .75rem; color: var(--g-muted); }
.sort-control select { width: 180px; font-size: .75rem !important; min-height: 44px !important; }
.listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.listing-help { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-block: 62px; padding: 32px 0; border-top: 1px solid var(--g-border); }
.listing-help h2 { font-size: 1.4rem; }
.listing-help p { margin-bottom: 0; color: var(--g-muted); font-size: .9rem; }
.empty-state { text-align: center; padding: 56px 24px; background: var(--g-surface); border: 1px solid var(--g-border); border-radius: var(--g-radius); }
.empty-state h2, .empty-state h3 { font-size: 1.4rem; margin-bottom: 12px; }
.empty-state p { color: var(--g-muted); font-size: .9rem; margin-bottom: 24px; }
.photo-unavailable { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 100%; height: 100%; min-height: 180px; color: var(--g-muted); background: var(--g-subtle); font-size: .8rem; }
.photo-unavailable i { font-size: 2rem; }
.detail-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 10px; }
.gallery-stage { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--g-radius); overflow: hidden; background: var(--g-subtle); }
.gallery-stage > img { width: 100%; height: 100%; object-fit: contain; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; }
.gallery-controls .btn { width: 44px; min-height: 44px; padding: 8px; }
.gallery-controls p { margin: 0; color: var(--g-muted); font-size: .78rem; }
.gallery-thumbnails { position: relative; display: flex; gap: 10px; overflow-x: auto; padding: 7px 3px 12px; margin-top: 10px; scrollbar-width: thin; }
.gallery-thumbnail { width: 84px; aspect-ratio: 4 / 3; flex-shrink: 0; padding: 0; background: var(--g-subtle); border: 2px solid transparent; border-radius: var(--g-radius-sm); overflow: hidden; cursor: pointer; opacity: .7; }
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbnail[aria-current="true"] { border-color: var(--g-accent); opacity: 1; }
.gallery-thumbnail:hover { opacity: 1; }
.vehicle-summary { padding-top: 8px; }
.vehicle-summary h1 { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.15; margin-bottom: 14px; }
.vehicle-summary .eyebrow { font-size: .68rem; }
.vehicle-subtitle { font-size: .9rem; color: var(--g-muted); margin-bottom: 24px; }
.vehicle-price { font-size: 2rem; font-weight: 750; letter-spacing: -.04em; margin: 24px 0; }
.vehicle-key-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-block: 24px; margin-bottom: 24px; border-block: 1px solid var(--g-border); }
.vehicle-key-facts dt { color: var(--g-muted); font-size: .73rem; font-weight: 400; margin-bottom: 4px; }
.vehicle-key-facts dd { font-size: .98rem; font-weight: 650; margin: 0; }
.booking-cta { width: 100%; }
.summary-note { font-size: .76rem; color: var(--g-muted); text-align: center; padding-inline: 12px; margin-top: 14px; }
.summary-phone { margin-top: 12px; }
.sold-notice { border: 1px solid var(--g-border); border-radius: var(--g-radius); background: var(--g-subtle); padding: 24px; }
.sold-notice h2, .sold-notice h3 { font-size: 1.3rem; }
.sold-notice p { color: var(--g-muted); font-size: .85rem; }
.vehicle-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 54px; }
.vehicle-content h2 { font-size: 1.65rem; margin-bottom: 24px; }
.vehicle-description { padding-right: 20px; }
.vehicle-description p { font-size: .9rem; line-height: 1.8; overflow-wrap: anywhere; }
.spec-groups { display: grid; gap: 28px; }
.spec-group { border-top: 1px solid var(--g-border); padding-top: 18px; }
.spec-group h3 { font-size: .95rem; letter-spacing: -.01em; margin-bottom: 16px; }
.spec-group dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 24px; margin-bottom: 0; }
.spec-group dt { color: var(--g-muted); font-size: .72rem; font-weight: 400; }
.spec-group dd { font-size: .85rem; margin: 3px 0 0; overflow-wrap: anywhere; }
.equipment-section { margin-top: 38px; }
.equipment-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 20px; list-style: none; padding: 0; margin: 0; font-size: .8rem; }
.equipment-list li { display: flex; align-items: baseline; gap: 9px; overflow-wrap: anywhere; }
.equipment-list i { color: var(--g-accent-ink); }
.related-section { margin-block: 64px; }
.contact-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 86px; padding-block: 20px 66px; align-items: start; }
.contact-intro h1 { font-size: clamp(2.5rem, 3.5vw, 3.4rem); margin-bottom: 22px; }
.contact-lead { color: var(--g-muted); max-width: 46ch; margin-bottom: 30px; }
.contact-methods { display: grid; gap: 24px; }
.contact-methods > a, .contact-methods > div { display: flex; align-items: start; gap: 16px; text-decoration: none; font-weight: 650; }
.contact-methods i { color: var(--g-accent-ink); padding-top: 8px; font-size: 1.25rem; }
.contact-methods small { display: block; font-size: .75rem; color: var(--g-muted); font-weight: 400; margin-bottom: 4px; }
.contact-methods address { font-size: .95rem; margin-bottom: 0; }
.contact-methods a:hover { color: var(--g-accent-ink); }
.contact-advice { margin-top: 36px; padding-top: 25px; border-top: 1px solid var(--g-border); }
.contact-advice h2 { font-size: 1.15rem; }
.contact-advice p { font-size: .88rem; color: var(--g-muted); max-width: 45ch; margin: 0; }
.contact-advice a { font-size: .85rem; margin-top: 10px; }
.contact-form-panel { background: var(--g-surface); border: 1px solid var(--g-border); border-radius: var(--g-radius); padding: 36px; }
.contact-form-panel > h2 { font-size: 1.45rem; margin-bottom: 28px; }
.contact-fields { display: grid; gap: 22px; }
.contact-field .form-label { font-size: .9rem; font-weight: 650; line-height: 1.5; margin-bottom: 8px; }
.required-label { font-size: .72rem; font-weight: 400; color: var(--g-muted); }
.form-hint { color: var(--g-muted); font-size: .875rem; margin-top: 7px; }
.form-hint:empty { display: none; }
.form-date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.privacy-field { display: grid; grid-template-columns: 19px minmax(0, 1fr); align-items: start; gap: 8px 12px; }
.privacy-field input { margin-top: 3px !important; }
.privacy-field label { font-size: .875rem; line-height: 1.65; cursor: pointer; }
.privacy-field a { text-underline-offset: 3px; }
.privacy-field .field-error { grid-column: 2; }
.field-error { color: var(--g-accent-ink); font-size: .75rem; margin-top: 6px; }
.field-error:empty { display: none; }
.customer-site [aria-invalid="true"] { border-color: var(--g-accent); }
.form-status { padding: 18px; border: 1px solid var(--g-border); border-radius: var(--g-radius-sm); background: var(--g-subtle); margin-bottom: 24px; font-size: .88rem; }
.form-status[data-state="error"] { border-color: var(--g-accent); }
.form-status h3 { font-size: 1.1rem; margin-bottom: 8px; }
.form-status p { margin-bottom: 0; }
.form-submit { width: fit-content; min-width: 175px; }
.booking-car { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; text-decoration: none; align-items: center; background: var(--g-surface); border: 1px solid var(--g-border); border-radius: var(--g-radius); overflow: hidden; padding: 16px; }
.booking-car img { width: 132px; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--g-radius-sm); }
.booking-car h2 { font-size: 1rem; margin-bottom: 7px; }
.booking-car p { color: var(--g-muted); font-size: .72rem; margin-bottom: 7px; }
.booking-car strong { font-size: .95rem; }
.booking-car .photo-unavailable { min-height: 99px; border-radius: var(--g-radius-sm); }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding-block: 18px 50px; }
.about-intro img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--g-radius); }
.about-intro h1 { font-size: clamp(2.5rem, 3.8vw, 3.6rem); margin-bottom: 24px; }
.about-content { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; border-top: 1px solid var(--g-border); padding-block: 50px 74px; }
.about-content h2 { font-size: 2rem; }
.about-content p { color: var(--g-muted); max-width: 65ch; margin-bottom: 22px; }
.about-content .button-row { margin-top: 30px; }
.legal-content { max-width: 750px; margin: 14px 0 74px; }
.legal-content h1 { font-size: clamp(2.25rem, 3.5vw, 3.3rem); margin-bottom: 34px; }
.legal-content h2 { font-size: 1.2rem; margin-top: 32px; margin-bottom: 12px; }
.legal-content p { font-size: .95rem; line-height: 1.8; color: var(--g-muted); }
.not-found-content { max-width: 680px; padding-block: 46px 90px; }
.not-found-content p:not(.eyebrow) { color: var(--g-muted); margin-bottom: 28px; }
@media (min-width: 769px) { .filter-drawer:not([open]) > .filter-content { display: block; } }
@media (max-width: 1100px) { .visit-layout { gap: 48px; } .car-card-content { padding: 18px; } .car-card-bottom { align-items: start; flex-direction: column; gap: 0; } .inventory-browser { grid-template-columns: 222px minmax(0, 1fr); gap: 28px; } .detail-top { gap: 32px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .contact-layout { gap: 48px; } .contact-form-panel { padding: 28px; } }
@media (max-width: 768px) {
  .site-container { width: calc(100% - 40px); }
  .header-inner { min-height: 80px; gap: 12px; flex-wrap: wrap; padding-block: 12px; }
  .brand-mark { width: 145px; min-width: 145px; height: 44px; }
  .brand-mark img { width: 134px; height: 41px; }
  .customer-site .menu-toggle { display: inline-flex !important; margin-left: auto; min-height: 44px; padding: 9px 12px; font-size: .8rem; gap: 7px; }
  .primary-navigation { display: none; width: 100%; margin: 0; order: 4; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--g-border); padding-block: 10px; }
  .primary-navigation.is-open { display: flex; }
  .primary-navigation a { min-height: 48px; padding-inline: 12px; }
  .customer-site:not(.js-ready) .primary-navigation { display: flex; }
  .visit-layout, .detail-top, .vehicle-content, .contact-layout, .about-intro, .about-content { grid-template-columns: minmax(0, 1fr); }
  .hero-intro { font-size: 1rem; max-width: 52ch; margin-bottom: 22px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .section-heading > a { margin-top: 8px; }
  .section-heading h2 { font-size: 1.85rem; }
  .car-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .car-card-content { padding: 22px; }
  .car-card-bottom { flex-direction: row; align-items: center; gap: 12px; }
  .car-card h3 { font-size: 1.22rem; }
  .services-section { padding-block: 40px; }
  .service-list > div { gap: 20px; }
  .visit-section { padding-block: 40px; }
  .visit-layout { gap: 28px; }
  .visit-copy { order: -1; }
  .visit-map iframe { height: 320px; }
  .visit-copy h2 { font-size: 2rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 28px; padding-bottom: 28px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .breadcrumb-nav { padding-block: 20px; }
  .page-heading { padding-block: 5px 28px; }
  .page-heading .eyebrow { margin-bottom: 10px; }
  .page-heading h1 { margin-bottom: 14px; font-size: 2.5rem; }
  .inventory-browser { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .filters { background: var(--g-surface); }
  .filter-drawer-summary { display: flex; min-height: 54px; align-items: center; gap: 10px; padding: 13px 18px; font-weight: 650; font-size: .9rem; cursor: pointer; list-style: none; }
  .filter-drawer-summary::-webkit-details-marker { display: none; }
  .filter-drawer-summary > i:last-child { margin-left: auto; font-size: .8rem; }
  .filter-drawer-summary span { font-size: .75rem; color: var(--g-muted); }
  .filter-content { padding: 0 18px 18px; }
  .filter-top { border-top: 1px solid var(--g-border); padding-top: 10px; }
  .filter-top h2 { display: none; }
  .filter-clear { margin-left: auto; }
  .filter-group fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .search-input { gap: 8px; }
  .search-input .btn { padding-inline: 14px; }
  .result-toolbar { gap: 12px; margin-block: 20px; }
  .sort-control { gap: 6px; }
  .sort-control label { display: none; }
  .sort-control select { width: 170px; }
  .listing-help { display: block; margin-block: 30px; padding-top: 28px; }
  .listing-help a { margin-top: 22px; }
  .detail-top { gap: 28px; margin-top: 0; }
  .vehicle-summary { padding-top: 0; }
  .vehicle-summary h1 { font-size: 2.3rem; }
  .vehicle-summary .eyebrow { margin-bottom: 12px; }
  .vehicle-price { margin-block: 20px; font-size: 1.8rem; }
  .vehicle-key-facts { margin-bottom: 22px; }
  .vehicle-content { gap: 34px; margin-top: 32px; }
  .vehicle-description { padding: 0; }
  .vehicle-content h2 { font-size: 1.6rem; margin-bottom: 20px; }
  .related-section { margin-block: 40px; }
  .contact-layout { gap: 34px; padding-block: 5px 40px; }
  .contact-intro h1 { font-size: 2.55rem; margin-bottom: 20px; }
  .contact-lead { font-size: .95rem; max-width: 60ch; }
  .contact-methods { gap: 18px; }
  .contact-advice { margin-top: 28px; }
  .contact-form-panel { padding: 24px; }
  .contact-form-panel > h2 { font-size: 1.3rem; margin-bottom: 24px; }
  .contact-fields { gap: 19px; }
  .form-submit { width: 100%; }
  .about-intro { gap: 28px; padding-block: 5px 32px; }
  .about-intro h1 { font-size: 2.7rem; }
  .about-content { gap: 10px; padding-block: 32px 44px; }
  .about-content h2 { font-size: 1.7rem; margin-bottom: 18px; }
  .legal-content { margin-block: 10px 40px; }
  .legal-content h1 { font-size: 2.25rem; overflow-wrap: anywhere; }
}
@media (max-width: 420px) { .site-container { width: calc(100% - 32px); } .header-inner { gap: 8px; } .customer-site .menu-toggle span { display: none; } .customer-site .menu-toggle { padding: 10px; width: 44px; } .button-row { gap: 10px 18px; } .car-price { font-size: 1rem; } .car-card-content { padding: 18px; } .service-list > div { grid-template-columns: minmax(0, 1fr); gap: 8px; } .contact-form-panel { padding: 20px; } .booking-car { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 12px; } .booking-car img { width: 100px; } .equipment-list { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .customer-site *, .customer-site *::before, .customer-site *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .car-card:hover .car-card-photo img { transform: none; } }

/* Native date/time inputs must fit narrow screens without pushing the form. */
.form-date-row > *, .contact-field { min-width: 0; }
.contact-field .form-control { min-width: 0; max-width: 100%; }
@media (max-width: 480px) { .form-date-row { grid-template-columns: minmax(0, 1fr); } }

/* PHP frontend: staff login, password reset, logout and appointment confirmation. */
.account-page { padding-block: 40px 72px; }
.account-panel { max-width: 560px; margin-inline: auto; }
.account-panel h1 { margin-bottom: 18px; }
.account-panel > p { color: var(--g-muted); }
.account-panel .text-link { justify-self: start; }
.appointment-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 24px; }
.form-status ul { margin: 6px 0 0; padding-left: 1.2em; }
