/* High-contrast controls for the custom dark dealership theme. */
body .johns-calculator .johns-field-group{height:38px;align-items:stretch}
body .johns-calculator .johns-field-group input{margin:0!important;height:38px!important;min-width:0;box-sizing:border-box;flex:1 1 auto;border-radius:0 6px 6px 0!important}
body .johns-calculator .johns-field-prefix{height:38px;box-sizing:border-box;margin:0;flex:0 0 38px;min-width:38px;line-height:1;background:#e9ecef;color:#222;border-radius:6px 0 0 6px}
body .j-shell .j-yellow,body .j-shell .j-actions .j-yellow,body .j-gallery-controls button,body .johns-content .johns-btn,body .johns-screen input[type=submit]{background:#f4ef16!important;color:#111!important;border:1px solid #f4ef16;cursor:pointer}
body .johns-screen .main-btn,body .johns-screen .johns-action,body .johns-screen .button,body .johns-button{background:#f4ef16!important;color:#111!important;border-color:#f4ef16!important}
body .j-shell .j-yellow:hover,body .j-gallery-controls button:hover,body .johns-screen input[type=submit]:hover,body .johns-screen .main-btn:hover,body .johns-screen .johns-action:hover,body .johns-button:hover{background:#fff96b!important;color:#111!important}
body .j-shell .j-actions>a:not(.j-yellow),body .j-shell .j-actions>button:not(.j-yellow){background:#343c45;color:#fff;border:1px solid #a8b0b9}
body .j-tabs a,body .j-tabs button{background:#222a32;color:#fff;border-color:#8c969f}
body .j-tabs .active,body .j-tabs a:hover,body .j-tabs button:hover{background:#f4ef16;color:#111;border-color:#f4ef16}
body .j-paging a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;background:#f4ef16;color:#111;border:1px solid #f4ef16;border-radius:6px;text-decoration:none}
body .johns-prev,body .johns-next{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:42px;background:#171d23;color:#fff;border:1px solid #a8b0b9;border-radius:7px;box-shadow:0 2px 8px #0006}
body .johns-prev:hover,body .johns-next:hover{background:#f4ef16;color:#111;border-color:#f4ef16}
body .johns-menu-button{background:#171d23;color:#fff;border-color:#a8b0b9}
body .johns-header summary::after{color:#f4ef16}
body .j-gallery-thumbs button{border-color:#7d8792}
body .j-gallery-thumbs button.active{border-color:#f4ef16;outline:1px solid #f4ef16}
body .j-vdp-section .ion-checkmark-circled{color:#f4ef16}
body .modal-content .close{color:#fff;opacity:1;text-shadow:none}
body .modal-content .btn-secondary,body .modal-content .btn-default{background:#3b4550;color:#fff;border:1px solid #a8b0b9}
body .modal-content .main-btn,body .modal-content .btn-primary{background:#f4ef16;color:#111;border-color:#f4ef16}
body .j-shell :is(a,button):focus-visible,body .johns-screen :is(a,button,input[type=submit]):focus-visible,body .johns-prev:focus-visible,body .johns-next:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #171d23}
body .j-shell button:disabled,body .johns-screen button:disabled,body .johns-screen input[type=submit]:disabled{opacity:1!important;background:#c5c9cd!important;color:#30363c!important;border-color:#c5c9cd!important;cursor:not-allowed}

/* Give the shared browse links a consistent dark surface over lot photography. */
body nav.cpl-seo-links[aria-label="Browse vehicles and dealership information"]{width:fit-content;max-width:calc(100% - 32px);margin:20px auto;padding:8px 18px;gap:8px 18px;justify-content:center;align-items:center;background:rgba(12,18,23,.94);border:1px solid rgba(244,239,22,.35);border-radius:10px;box-shadow:0 4px 16px rgba(0,0,0,.55)}
body nav.cpl-seo-links[aria-label="Browse vehicles and dealership information"] a{display:inline-flex;align-items:center;min-height:44px;padding:4px 2px;color:#f4ef16;font-weight:600;line-height:1.4;text-shadow:0 1px 2px #000;text-decoration:none}
body nav.cpl-seo-links[aria-label="Browse vehicles and dealership information"] a:hover{color:#fff97b;text-decoration:underline;text-underline-offset:4px}
body nav.cpl-seo-links[aria-label="Browse vehicles and dealership information"] a:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:3px}

/* Compact home carousel pricing, matching inventory disclosures. */
body .johns-vehicle .johns-spotlight-price{padding:9px 10px;text-align:right;font:600 16px/1.4 "Segoe UI",Arial,sans-serif;color:#fff}
body .johns-vehicle .j-price-breakdown>div{display:flex;justify-content:space-between;gap:6px;margin:4px 0;font-size:12px}
body .johns-vehicle .j-price-breakdown>div:first-child{display:block;color:#f4ef16;font-size:23px;font-weight:800;margin:0 0 6px}
body .johns-vehicle .j-price-total{border-top:1px solid #ffffff60;padding-top:5px}
body .johns-vehicle .j-price-breakdown small{display:block;text-align:left;font-size:10px;font-weight:400;line-height:1.4;color:#eee;margin-top:7px;white-space:normal}

/* Full-size vehicle photo links. */
body .j-gallery .slides a,body .j-gallery .slides a img{cursor:pointer}
/* Vehicle photo lightbox. */
body dialog.johns-photo-lightbox{position:fixed;inset:0;width:96vw;max-width:1500px;height:94dvh;max-height:94dvh;margin:auto;padding:12px;background:#10161c;color:#fff;border:1px solid #ffffff50;border-radius:12px;box-shadow:0 10px 60px #000b;overflow:hidden}
body dialog.johns-photo-lightbox::backdrop{background:rgba(0,0,0,.9)}
body .johns-lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;height:48px;gap:12px}
body .johns-lightbox-stage{position:relative;height:calc(100% - 48px);display:flex;align-items:center;justify-content:center}
body .johns-lightbox-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:8px}
body .johns-photo-lightbox button{background:#f4ef16;color:#000;border:1px solid #f4ef16;border-radius:7px;padding:10px 14px;min-width:44px;min-height:44px;font:700 16px/1.2 Arial,sans-serif;cursor:pointer}
body .johns-photo-lightbox button:focus-visible{outline:3px solid #fff;outline-offset:3px}
body .johns-lightbox-prev,body .johns-lightbox-next{position:absolute;top:50%;transform:translateY(-50%);z-index:1;box-shadow:0 2px 10px #0008}
body .johns-lightbox-prev{left:5px}body .johns-lightbox-next{right:5px}
body .johns-photo-lightbox [hidden]{display:none!important}

/* Readable navigation over the dealership photograph on every page. */
body nav.cpl-seo-links,body nav.cpl-seo-pager{background:rgba(12,18,23,.94);border:1px solid rgba(244,239,22,.35);border-radius:10px;box-shadow:0 4px 16px rgba(0,0,0,.55);color:#fff;gap:12px;align-items:center}
body nav.cpl-seo-links a,body nav.cpl-seo-pager a{color:#f4ef16;font-weight:600;text-shadow:0 1px 3px #000}
body nav.cpl-seo-links a:hover,body nav.cpl-seo-pager a:hover{color:#fff97b;text-decoration:underline;text-underline-offset:4px}
body .johns-section-heading>a{text-shadow:0 2px 4px #000;background:rgba(12,18,23,.94);border-radius:8px;padding:10px 14px;box-shadow:0 3px 12px #0008}
body .johns-visit-overview{background:rgba(12,18,23,.96);padding:26px;border:1px solid #ffffff26;border-radius:12px;box-shadow:0 4px 18px #0006}
body .johns-visit-details .johns-hours{max-width:100%;margin-top:20px}
body .johns-visit-details .johns-hours div{font-size:20px;line-height:1.5;padding:9px 0;gap:16px}
body .johns-visit-details .johns-hours dt,body .johns-visit-details .johns-hours dd{color:#fff}
@media(max-width:650px){body .johns-visit-overview{padding:18px 12px}body .johns-visit-details .johns-hours div{font-size:17px;gap:10px}}

/* Breadcrumb edges align with the vehicle cards and shared page wrapper. */
body nav.cpl-seo-links[aria-label="Breadcrumb"]{box-sizing:border-box;width:min(1140px,calc(100% - 40px));max-width:none;margin:24px auto;padding:16px}
