/* Public accessibility and progressive enhancement behavior, no page layout. */
:focus-visible{outline:3px solid #3071ca;outline-offset:4px}.ak-hide-empty:empty{display:none}.ak-test-notice{padding:8px 16px;background:#fff1cb;color:#292318;text-align:center;font:14px/1.5 system-ui}.ak-gallery-dialog{border:0;border-radius:12px;max-width:95vw;max-height:95vh;padding:16px;background:#17191b;color:#fff}.ak-gallery-dialog::backdrop{background:#000c}.ak-gallery-dialog img{max-width:100%;max-height:75vh;object-fit:contain}.ak-gallery-dialog button{min-height:48px;min-width:48px;cursor:pointer}.ak-gallery-thumbs{display:flex;gap:12px;flex-wrap:wrap}.ak-gallery-thumbs button{padding:0;border:2px solid transparent;min-width:64px;min-height:64px;background:none;cursor:pointer}.ak-gallery-thumbs img{width:96px;height:72px;object-fit:cover}.ak-gallery-thumbs button:focus-visible{border-color:#3071ca}.ak-public-filter{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.ak-public-filter label{display:grid;gap:6px;flex:1 1 160px;font-weight:650}.ak-public-filter input,.ak-public-filter select,.ak-public-filter button{font:inherit;min-height:48px;padding:10px;border:1px solid #b0b1ad;border-radius:8px;min-width:0;width:100%}.ak-public-filter button{width:auto;background:#181a1b;color:white}.ak-public-filter a{min-height:48px;display:flex;align-items:center}.ak-filter-result{font-weight:650}.ak-no-results{padding:24px;border:1px solid #d5d3ca;border-radius:12px}.ak-gallery-button{display:block;padding:0;border:0;width:100%;background:none;cursor:zoom-in}.ak-gallery-button img{width:100%;height:auto}.primary-nav[data-open=true]{display:block}.menu-toggle{min-width:48px;min-height:48px}img{max-width:100%}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@media(forced-colors:active){a,button,input,select{border-color:ButtonText}.status-badge{border:1px solid CanvasText}}@media(max-width:767px){.primary-nav[data-open=true]{display:block;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid #ccc;padding:16px;z-index:100}.primary-nav[data-open=true] ul{display:flex;flex-direction:column}.primary-nav[data-open=true] a{min-height:48px;display:flex;align-items:center}}
.ak-compare-controls{display:flex;gap:12px;padding:12px 0}.ak-compare-controls button{min-height:48px;border:1px solid #8a8a85;border-radius:8px;background:white;color:#111;padding:10px 16px;font:inherit}.compare input[type=range]{min-height:48px;cursor:ew-resize}.compare-base img{filter:none}.compare-base::after{display:none}

/* Fixed contact actions belong exclusively to the front page, even without JavaScript. */
body:not(.home) .mobile-actions{display:none!important}
/* Progressive server-rendered filters; usable with keyboard and without JavaScript. */
.aa-tag-body .ak-public-filter{display:block;padding:24px;background:#fff;border:1px solid #dededb;border-radius:14px;margin:20px 0}
.ak-filter-basic{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}
.ak-filter-advanced{margin-top:18px;border-top:1px solid #dededb;padding-top:6px}
.ak-filter-advanced summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;cursor:pointer;font-weight:700;list-style:none}
.ak-filter-advanced summary::-webkit-details-marker{display:none}
.ak-filter-advanced summary span{font-size:26px;color:#c62832;transition:transform 160ms ease}
.ak-filter-advanced[open] summary span{transform:rotate(45deg)}
.ak-filter-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:12px 0}
.ak-filter-actions{display:flex;gap:16px;align-items:end;margin-top:18px;flex-wrap:wrap}
.ak-filter-actions label{flex:0 1 260px}
.aa-tag-body .ak-public-filter button{background:#c62832;color:#fff;padding:12px 24px;min-height:48px;border-color:#c62832;font-weight:700;cursor:pointer}
.aa-tag-body .ak-public-filter button:hover{background:#b9222b;border-color:#b9222b}
.ak-filter-actions a{color:#111;padding:10px 4px;text-decoration:underline;text-underline-offset:4px}
.ak-filter-note{font-size:14px;line-height:1.6;margin:16px 0 0;color:#51534f}
.ak-filter-validation{padding:12px 16px;border-left:3px solid #c62832;background:#fff;color:#111}
@media(max-width:1023px){.ak-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.ak-filter-basic{grid-template-columns:repeat(2,minmax(0,1fr))}.ak-filter-basic>label:first-child{grid-column:1/-1}}
@media(max-width:479px){.aa-tag-body .ak-public-filter{padding:16px}.ak-filter-basic,.ak-filter-fields{grid-template-columns:1fr}.ak-filter-actions{display:grid;grid-template-columns:1fr;gap:12px}.ak-filter-actions a{justify-content:center}.ak-filter-actions label{width:100%}}
.ak-vehicle-videos{margin:32px 0}.ak-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.ak-video-grid figure{margin:0;min-width:0}.ak-video-grid video{width:100%;aspect-ratio:16/9;object-fit:contain;background:#111;border-radius:12px}.ak-video-grid figcaption{margin-top:8px;color:#555}@media(max-width:767px){.ak-video-grid{grid-template-columns:1fr}}
.vehicle-detail-layout>div{min-width:0;width:100%;max-width:100%}.ak-native-gallery-slot,.ak-video-slot{min-width:0;width:100%;max-width:100%}.ak-native-gallery-slot .swiper{min-width:0;width:100%;max-width:100%;overflow:hidden}.ak-video-slot .ak-vehicle-videos{width:100%;max-width:100%}
.ak-native-gallery-slot .swiper-button-prev,.ak-native-gallery-slot .swiper-button-next{color:#c62832;min-width:44px;min-height:44px}.ak-native-gallery-slot .swiper-pagination-bullet-active{background:#c62832}

.ak-native-gallery-slot .swiper-pagination-bullet{width:24px!important;height:24px!important;margin:4px!important;background:radial-gradient(circle,#555 0 4px,transparent 4.5px);opacity:1}.ak-native-gallery-slot .swiper-pagination-bullet-active{background:radial-gradient(circle,#c62832 0 5px,transparent 5.5px)}

/* Vehicle photography: full frame, predictable controls and a visible thumbnail strip. */
.ak-native-gallery-slot .ee-gallery-swiper{padding:0!important;width:100%;position:relative}
.ak-native-gallery-slot .ee-gallery-item{aspect-ratio:4/3!important;height:auto!important;background:#f3f3f1;border-radius:12px;overflow:hidden}
.ak-native-gallery-slot .ee-gallery-item-figure{width:100%!important;height:100%!important;padding:0!important;position:relative!important}
.ak-native-gallery-slot .ee-gallery-item img{width:100%!important;height:100%!important;object-fit:contain!important;position:absolute;inset:0}
.ak-native-gallery-slot .swiper-pagination{display:none!important}
.ak-native-gallery-slot .swiper-button-prev,.ak-native-gallery-slot .swiper-button-next{position:absolute;top:50%;margin-top:-24px;width:48px;height:48px;border-radius:50%;background:#fff;box-shadow:0 2px 12px #0002;z-index:5}
.ak-native-gallery-slot .swiper-button-prev{left:10px}.ak-native-gallery-slot .swiper-button-next{right:10px}
.ak-native-gallery-slot .swiper-button-prev:after,.ak-native-gallery-slot .swiper-button-next:after{font-size:20px;font-weight:700}
.ak-gallery-controls{width:100%;min-width:0;margin-top:12px}
.ak-gallery-status{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:16px;line-height:1.5}
.ak-gallery-status a{display:flex;align-items:center;min-height:44px;color:#17191b;text-decoration:underline;text-underline-offset:4px}
.ak-gallery-rail{display:flex;gap:10px;overflow-x:auto;padding:5px 3px 12px;scrollbar-width:thin}
.ak-gallery-rail a{display:block;flex:0 0 88px;width:88px;height:68px;border:2px solid transparent;border-radius:8px;overflow:hidden;opacity:.7}
.ak-gallery-rail a[aria-current=true]{border-color:#c62832;opacity:1}
.ak-gallery-rail img{width:100%;height:100%;object-fit:cover;display:block}
.breadcrumbs a{display:inline-flex;align-items:center;min-height:44px}
/* The Oxygen comparison's image overlay is decorative; it must never cover links elsewhere. */
.compare-base,.compare-overlay{pointer-events:none}
@media(max-width:767px){.vehicle-detail-layout{display:flex!important;flex-direction:column}.vehicle-detail-layout .vehicle-side-card{position:static!important;width:100%;max-width:100%;margin:0 0 24px}.vehicle-side-card .muted,.ak-filter-note{font-size:16px}}

@media(min-width:768px){.vehicle-detail-layout>.vehicle-side-card{grid-column:2;grid-row:1}.vehicle-detail-layout>div{grid-column:1;grid-row:1}}

@media(max-width:767px){.vehicle-side-card{padding:20px!important}.vehicle-side-card>.status-badge{display:none}.vehicle-side-card .side-price{margin-top:0}.vehicle-side-card .side-contact{grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.vehicle-side-card .side-meta{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:14px;font-size:16px}.vehicle-side-card .side-meta>span:first-child{display:none}}
/* Paired ranges keep the five agreed categories compact on phones. */
@media(max-width:479px){.ak-public-filter>.ak-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ak-public-filter>.ak-filter-fields>label:last-child{grid-column:1/-1}.ak-public-filter>.ak-filter-fields label{font-size:15px}.ak-public-filter>.ak-filter-fields input{min-width:0;width:100%}}

/* Oxygen's vehicle slider intentionally stages adjacent slides outside the viewport. Clip them at the native gallery viewport so they cannot widen the document. */
.ak-native-gallery-slot{min-width:0;max-width:100%;overflow:hidden}
.ak-native-gallery-slot .swiper,.ak-native-gallery-slot .swiper-container{max-width:100%;overflow:hidden}
/* Oxygen's vehicle slider stages adjacent slides outside the viewport. Clip them at its native viewport so they cannot widen the document. */
.ak-native-gallery-slot{min-width:0;max-width:100%;overflow:hidden}
.ak-native-gallery-slot .swiper,.ak-native-gallery-slot .swiper-container{max-width:100%;overflow:hidden}

.ak-filter-disclosure{border:1px solid #d5d3ca;border-radius:12px;padding:0 14px;background:#fff}.ak-filter-disclosure>summary{min-height:48px;display:flex;align-items:center;cursor:pointer;font-weight:700}.ak-filter-disclosure[open]>summary{border-bottom:1px solid #e3e1da}.ak-filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 0}.ak-filter-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;margin:0;padding:10px;border:1px solid #e3e1da;border-radius:9px}.ak-filter-range legend{padding:0 5px;font-size:15px;font-weight:700}.ak-filter-range label{min-width:0;font-size:14px}.ak-filter-range input{width:100%;min-width:0;min-height:48px;font-size:16px}.ak-filter-fields>label{grid-column:1/-1}.ak-filter-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-bottom:14px}.ak-filter-actions button{min-height:48px}.ak-filter-actions a{min-height:44px;display:inline-flex;align-items:center}@media(max-width:479px){.ak-filter-fields{grid-template-columns:1fr}.ak-filter-range{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Make the compact contact and social links in Oxygen footer comfortable to tap. */
footer a[href^="mailto:"],footer a[href*="facebook.com"],footer a[href*="instagram.com"]{display:inline-flex;align-items:center;min-height:44px}

footer a[href^="mailto:"],footer a[href*="facebook.com"],footer a[href*="instagram.com"]{display:inline-flex!important;align-items:center;min-height:44px!important;height:auto!important}

/* Keep the two contact addresses on separate lines with distinct tap targets. */
footer a[href^="mailto:"]{display:flex!important;width:fit-content;max-width:100%;overflow-wrap:anywhere}
footer a[href^="mailto:"]+a[href^="mailto:"]{margin-top:8px}
