/* Mobile refinement; shared forms and their submission routes remain intact. */
footer #newsletter input[type=submit]{-webkit-appearance:none;appearance:none;background:#a20d07!important;background-image:linear-gradient(#a20d07,#860500)!important;color:#fff!important;border:1px solid #750500!important;border-radius:3px!important;min-height:44px;padding:9px 15px;font:inherit;cursor:pointer}
footer #newsletter input[type=submit]:hover{background:#860500!important}
footer #newsletter input[type=submit]:focus-visible{outline:2px solid #444;outline-offset:3px}
.cs-neighbor-arrow,.cs-pagination-mobile,.cs-mobile-makes,.cs-mobile-menu-review{display:none}
.cs-thumb-toggle{display:none}
.cs-pagination-desktop{display:contents}
.cs-inventory-loading:empty{display:none}
body #cs-photo-viewer{top:var(--cs-visual-top,0px);bottom:auto;height:var(--cs-visual-height,100%);max-height:var(--cs-visual-height,100%)}
@media(max-width:650px){
 body:is(.cs-site-wide,.cs-inventory-wide,.cs-layout-preview) #container>header{position:relative;min-height:97px!important;height:auto!important;padding-bottom:12px!important;box-sizing:border-box}
 body:is(.cs-site-wide,.cs-inventory-wide,.cs-layout-preview) #container>header>a{display:flex!important;align-items:center;flex:0 1 calc(100% - 110px)!important;width:calc(100% - 110px)!important;max-width:calc(100% - 110px)!important;height:85px;margin:0!important}
 body:is(.cs-site-wide,.cs-inventory-wide,.cs-layout-preview) #container>header #logo{display:block;width:230px!important;max-width:100%!important;height:85px!important;object-fit:contain;object-position:left center;margin:0!important}
 body:is(.cs-site-wide,.cs-inventory-wide,.cs-layout-preview) #container>header .cs-menu-toggle{position:absolute;right:10px;top:42.5px;transform:translateY(-50%);margin:0!important;min-height:44px;padding:8px 10px!important;font-size:13px!important;max-width:105px}
 body.cs-layout-preview #detail .cs-detail-title-row{flex-direction:row!important;align-items:center!important;gap:10px!important}
 body.cs-layout-preview #detail .cs-detail-title-row .cs-detail-intro{flex:1 1 0;min-width:0}
 body.cs-layout-preview #detail .cs-detail-title-row .cs-vehicle-neighbors{flex:0 0 auto;flex-wrap:nowrap!important;gap:2px!important;align-items:center;justify-content:flex-end}
 body.cs-layout-preview #detail .cs-vehicle-neighbors a{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:0!important;font:20px/1 Arial,sans-serif;color:#666}
 .cs-neighbor-words{display:none}.cs-neighbor-arrow{display:inline}
 .cs-pagination-desktop{display:none}.cs-pagination-mobile{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:3px;max-width:100%;margin:0 auto}
 body .cs-archive-pages .cs-pagination-mobile a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:0;box-sizing:border-box;font-size:14px;line-height:1}
 body .cs-archive-pages .cs-pagination-mobile>span{padding:0;min-width:0;font-size:13px;line-height:1}
 body .cs-archive-toolbar>p{font-size:13px;line-height:1.5;margin:12px 0;white-space:nowrap}
 .cs-mobile-inventory-filter.cs-has-mobile-replacement{display:none!important}
 .cs-mobile-makes{display:block;margin:12px 0 16px;color:#333;font:14px/1.5 Arial,sans-serif}
 .cs-mobile-makes details{border-top:1px solid #ddd;border-bottom:1px solid #ddd;background:#fafafa}
 .cs-mobile-makes summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;min-height:48px;padding:10px 4px;box-sizing:border-box;font-weight:600}
 .cs-mobile-makes summary::-webkit-details-marker{display:none}.cs-mobile-makes summary:after{content:'+';color:#777;font-size:23px;font-weight:600}.cs-mobile-makes details[open]>summary:after{content:'−'}
 .cs-mobile-makes .cs-make-links{display:block;padding:0 4px 8px;margin:0;background:#fff}
 .cs-mobile-makes .cs-make-links a{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:8px 12px;border-top:1px solid #eee;color:#333;text-decoration:none;box-sizing:border-box}
 .cs-mobile-makes .cs-make-links a[aria-current=page]{border-left:3px solid #a20d07;background:#f7f3f1;color:#8e0904;font-weight:600}
 .cs-mobile-makes .cs-make-links a[aria-current=page]:after{content:'✓'}
 .cs-mobile-makes .cs-make-shortcuts{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:5px}
 .cs-mobile-makes .cs-make-shortcuts a{display:inline-flex;align-items:center;min-height:44px;color:#8e0904;text-underline-offset:3px}
 .cs-mobile-makes label{display:block;font-weight:600;margin-bottom:6px}
 .cs-mobile-makes select{appearance:auto;-webkit-appearance:menulist;width:100%;min-height:48px;padding:9px 12px;border:1px solid #bbb;border-radius:3px;background:#fff;color:#333;font:inherit}
 .cs-mobile-makes a:focus-visible,.cs-mobile-makes summary:focus-visible,.cs-mobile-makes select:focus-visible{outline:2px solid #a20d07;outline-offset:2px}
 .cs-mobile-menu-review{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px;background:#faf5e9;border:1px dashed #bba878;font:12px/1.4 Arial,sans-serif;margin-top:10px}
 .cs-mobile-menu-review button{min-height:36px;padding:5px 9px;background:#fff;border:1px solid #aaa;color:#333;border-radius:3px}.cs-mobile-menu-review button[aria-pressed=true]{background:#444;color:#fff}
}
@media(orientation:landscape) and (max-height:500px) and (max-width:1100px){
 #cs-photo-viewer .cs-viewer-toolbar{padding:2px max(8px,env(safe-area-inset-right)) 2px max(8px,env(safe-area-inset-left));gap:6px;min-height:48px;flex-wrap:nowrap}
 #cs-photo-viewer .cs-viewer-toolbar button{font-size:12px;min-height:44px;padding:6px 9px}
 #cs-photo-viewer .cs-viewer-caption{display:none}
 #cs-photo-viewer .cs-thumb-toggle:not([hidden]){display:inline-flex;align-items:center;justify-content:center}
 #cs-photo-viewer #cs-photo-thumbs{display:none}
 #cs-photo-viewer.cs-show-thumbs #cs-photo-thumbs{display:flex}
 #cs-photo-viewer #cs-photo-thumbs{gap:6px;padding:2px max(8px,env(safe-area-inset-right)) 3px max(8px,env(safe-area-inset-left));height:47px}
 #cs-photo-viewer #cs-photo-thumbs button{flex-basis:60px;width:60px;height:42px;min-height:0;padding:1px}
 #cs-photo-viewer #cs-photo-thumbs img{width:54px;height:36px}
 #cs-photo-viewer #cs-photo-stage{min-height:0}
 #cs-photo-viewer #cs-prev{left:max(4px,env(safe-area-inset-left))}#cs-photo-viewer #cs-next{right:max(4px,env(safe-area-inset-right))}
}
