/* Consumer-facing type scale. Load after the theme and integration styles. */
:root{--text-body:1.0625rem;--text-control:1rem;--text-detail:.875rem;--text-small:.8125rem;}
html{font-size:100%;}
body{font-size:var(--text-body);line-height:1.65;}
.header nav{font-size:1rem;gap:24px;line-height:1.5;}
.header nav a{font-weight:600;}
.call-button{font-size:1rem;}
.header .saved-nav{font-size:.9375rem;height:44px;padding:0 12px;}
.header .saved-nav small{font-size:.8125rem;min-width:22px;height:22px;}
.utility.dealer-contact-bar{font-size:.875rem;min-height:40px;line-height:1.6;}
.dealer-contact-bar .utility-contact-icon{width:15px;height:15px;}
.preview-label{font-size:.75rem;}
.eyebrow,.hero .eyebrow,.section-head .eyebrow{font-size:.75rem;letter-spacing:.13em;line-height:1.6;}
.hero p{font-size:1.0625rem;max-width:420px;}
.hero-search input{font-size:1rem;padding:12px 0;}
.hero-search .btn{font-size:.9375rem;min-height:48px;}
.hero-chips a{font-size:.875rem;padding:6px 13px;}
.hero-caption{font-size:.75rem;letter-spacing:.08em;}
.hero-bottom{font-size:.8125rem;}
.btn,.vehicle-card .btn{font-size:.9375rem;min-height:46px;line-height:1.45;padding:12px 20px;}
.text-link{font-size:.9375rem;line-height:1.5;}
.quick-paths h3{font-size:1rem;line-height:1.4;}
.quick-paths p{font-size:.875rem;line-height:1.5;}
.quick-paths a{padding-top:12px;padding-bottom:12px;}
.section-head p,.why-intro{font-size:1rem;line-height:1.7;}
.reasons h3{font-size:1.375rem;line-height:1.35;}
.reasons p{font-size:1rem;line-height:1.75;}
.reasons .number{font-size:.875rem;}
.journey p{font-size:1rem;line-height:1.6;}
.shop-heading-row p{font-size:1rem;}
.shop-heading-row .text-link{font-size:.9375rem;}
.shop-tabs button{font-size:1rem;min-height:46px;padding:10px 25px;}
.shop-panel-meta p{font-size:.9375rem;line-height:1.6;}
.shop-panel-meta>span{font-size:.8125rem;}
.shop-options a{padding:15px;min-height:54px;}
.shop-option-label{font-size:1rem;line-height:1.5;}
.shop-option-count{font-size:.8125rem;min-width:28px;height:28px;}
.card-info,.inventory-layout .card-info{padding:21px;}
.card-info h3,.inventory-layout .card-info h3{font-size:1.5rem;line-height:1.25;letter-spacing:-.03em;}
.card-year,.detail-sidebar .card-year{font-size:.8125rem;letter-spacing:.06em;line-height:1.6;}
.card-trim{font-size:.9375rem;line-height:1.5;min-height:23px;}
.tags{gap:7px;padding:14px 0;}
.tags span,.tags a{font-size:.8125rem;line-height:1.5;padding:4px 8px;}
.tags .text-button{font-size:.8125rem!important;line-height:1.5;}
.card-price{gap:8px;flex-wrap:wrap;}
.card-price strong,.inventory-layout .card-price strong{font-size:1.875rem;line-height:1.3;}
.card-price small,.inventory-layout .card-price small{font-size:.8125rem;line-height:1.5;}
.card-tag,.photo-count{font-size:.75rem;line-height:1.5;padding:4px 8px;}
.vehicle-card .icon-button.save-button{font-size:.875rem;height:40px;min-width:86px;}
.vehicle-card .save-button .ui-icon{width:20px;height:20px;}
.photo-control{width:36px;height:44px;font-size:26px;}
.photo-placeholder{font-size:.9375rem;}
.inventory-note,.result-footer{font-size:.8125rem;line-height:1.7;}
.inventory-layout{grid-template-columns:245px minmax(0,1fr);gap:30px;}
.filter-top h2{font-size:1.25rem;line-height:1.4;}
.filter-top .text-button{font-size:.875rem;}
.filter-group>label,.filter-group>legend{font-size:.9375rem;line-height:1.5;}
.filter-group select,.filter-group input[type=search],.filter-group input[type=number]{font-size:1rem;min-height:46px;padding:10px;}
.range-label{font-size:.8125rem;line-height:1.6;gap:10px;flex-wrap:wrap;}
.check-label{font-size:.875rem!important;line-height:1.55;}
.inventory-toolbar h2{font-size:1.25rem;line-height:1.4;}
.inventory-toolbar p{font-size:.875rem;line-height:1.5;}
.toolbar-actions,.toolbar-actions label[for=sort]{font-size:.875rem;}
.toolbar-actions select{font-size:.9375rem;min-height:44px;max-width:220px;}
.inventory-view-toggle button{font-size:.9375rem;min-height:40px;padding:9px 12px;}
.inventory-view-toggle button .ui-icon{width:18px;height:18px;}
.active-filters button{font-size:.875rem;padding:7px 11px;min-height:36px;}
.mobile-filter-button{font-size:.9375rem;min-height:44px;}
.inventory-back,.vehicle-action{font-size:.9375rem;min-height:44px;}
.toolbar-vehicle>span{font-size:1rem;line-height:1.5;}
.toolbar-vehicle small{font-size:.8125rem;line-height:1.5;}
.detail-sidebar h1{font-size:2.125rem;line-height:1.15;}
.detail-subtitle{font-size:.9375rem;line-height:1.6;}
.detail-sidebar .detail-price{font-size:2.5rem;line-height:1.25;margin-top:18px;}
.detail-sidebar h2{font-size:1.5rem;line-height:1.3;}
.detail-sidebar .intro{font-size:.9375rem;line-height:1.65;}
.fine-print,.detail-sidebar .fine-print{font-size:.8125rem;line-height:1.7;}
.form-field{font-size:.9375rem;line-height:1.5;margin-bottom:15px;}
.form-field input,.form-field textarea,.form-field select{font-size:1rem;line-height:1.5;min-height:46px;padding:11px;}
.form-field textarea{min-height:104px;}
.consent{font-size:.8125rem;line-height:1.7;}
.sidebar-call,.sidebar-extra{font-size:.9375rem;line-height:1.6;}
.detail-tabs button{font-size:1rem;line-height:1.5;padding-bottom:17px;}
.detail-tabs{gap:30px;}
.vdp-content-heading h2{font-size:1.75rem;line-height:1.3;}
.vdp-content-heading>p{font-size:.875rem;}
.vehicle-identifiers>div{font-size:.875rem;gap:9px;line-height:1.6;flex-wrap:wrap;}
.vehicle-identifiers strong{overflow-wrap:anywhere;}
.vehicle-identifiers .ui-icon{width:18px;height:18px;}
.specification-grid>div{padding:15px 0;gap:14px;align-items:flex-start;}
.specification-grid dt,.specification-grid dd{font-size:1rem;line-height:1.6;}
.specification-grid dt{flex-shrink:1;}
.specification-grid dt .ui-icon{width:20px;height:20px;margin-top:3px;}
.specification-grid dd{max-width:60%;}
.feature-chips>div{font-size:.9375rem;line-height:1.6;padding:13px 16px;}
.feature-chips .ui-icon{width:20px;height:20px;}
.description{font-size:1.0625rem;line-height:1.85;}
.description-collapsed{max-height:190px;}
.description-toggle{font-size:.9375rem;min-height:46px;}
.content-page>p{font-size:1.0625rem;line-height:1.75;}
.content-card p{font-size:1rem;line-height:1.75;}
.calculator-result p{font-size:.875rem;line-height:1.6;}
.hours-table{font-size:1rem;line-height:1.6;}
.visit-item strong{font-size:.9375rem;line-height:1.5;}
.visit-item p,.visit-item a{font-size:1rem;line-height:1.65;}
.visit-item .text-link{font-size:.875rem!important;}
.visit-item a[href="#hours"]{font-size:.875rem!important;}
.map-load p{font-size:.875rem;}
dialog p{font-size:1rem;line-height:1.7;}
.toast{font-size:.9375rem;line-height:1.5;}
.integration-links,.dealer-settings-details{font-size:.9375rem;}
.structured-footer .footer-dealer-name{font-size:1.25rem;line-height:1.45;}
.structured-footer .footer-phone{font-size:1rem;line-height:1.5;}
.structured-footer address{font-size:1rem;line-height:1.75;}
.structured-footer .footer-directions{font-size:.9375rem;}
.structured-footer .footer-link-group{gap:14px;}
.structured-footer .footer-link-group h2{font-size:1.25rem;line-height:1.4;margin-bottom:12px;}
.structured-footer .footer-link-group a,.structured-footer .footer-cookie-button{font-size:1rem;line-height:1.6;}
.structured-footer .footer-bottom{font-size:.875rem;line-height:1.6;}
.structured-footer .staging-note{font-size:.8125rem;line-height:1.7;}
.structured-footer .dealer-settings-details{font-size:.9375rem;}
.structured-footer .footer-powered-badge .powered-label{font-size:.875rem;font-weight:700;}
@media(max-width:1350px){.inventory-layout .vehicles{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:1180px){
 .header{height:88px;}
 .header nav{display:none;position:absolute;left:0;right:0;top:88px;background:var(--cpl-surface);border-bottom:1px solid var(--line);padding:18px 5vw;box-shadow:0 18px 30px var(--cpl-color-00000011);}
 .header nav.open{display:flex;flex-direction:column;align-items:stretch;gap:0;}
 .header nav a{padding:13px 6px;font-size:1.0625rem;}
 .menu-toggle{display:inline-flex;font-size:24px;}
}
@media(max-width:1050px){.inventory-layout{grid-template-columns:220px minmax(0,1fr);gap:22px;}.toolbar-vehicle{display:none;}.specification-grid{grid-template-columns:1fr;}.inventory-toolbar{flex-wrap:wrap;}.toolbar-actions{width:100%;justify-content:flex-start;}.toolbar-actions .inventory-view-toggle{margin-left:auto;}}
@media(max-width:800px){.inventory-layout{grid-template-columns:205px minmax(0,1fr);gap:18px;}.inventory-layout .vehicles{grid-template-columns:1fr;}.quick-paths h3{font-size:1rem;}.quick-paths p{font-size:.875rem;}.shop-options{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){
 body{font-size:1rem;}
 .header{height:78px;}
 .header nav{top:78px;}
 .header-actions{gap:7px;}
 .header .saved-nav{padding:0 8px;height:42px;}
 .header .saved-nav-label{display:none;}
 .header .saved-nav small{font-size:.75rem;min-width:18px;height:20px;}
 .utility.dealer-contact-bar{font-size:.75rem;padding:8px 4.5vw;min-height:36px;}
 .dealer-contact-bar .utility-contact-items{gap:4px 8px;}
 .dealer-contact-bar .utility-contact-icon{width:13px;height:13px;}
 .hero .eyebrow{font-size:.75rem;}
 .hero p{font-size:1rem;max-width:100%;}
 .hero-content{padding:38px 22px 105px;}
 .hero-search{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 0;padding:8px;}
 .hero-search input{font-size:1rem;width:100%;min-width:0;min-height:44px;}
 .hero-search .btn{grid-column:1/-1;width:100%;justify-content:center;font-size:.875rem;min-height:46px;padding:11px 13px;}
 .hero-chips a{font-size:.8125rem;}
 .hero-caption{font-size:.75rem;max-width:75%;}
 .hero-bottom{font-size:.75rem;}
 .quick-paths{grid-template-columns:1fr 1fr;}
 .quick-paths a{padding:18px 7px!important;align-items:flex-start;}
 .quick-paths p{font-size:.8125rem;max-width:none;margin-top:5px;}
 .quick-paths h3{font-size:.9375rem;}
 .quick-paths .quick-icon{width:30px;height:30px;}
 .section-head{flex-wrap:wrap;gap:14px;}
 .section-head .text-link{font-size:.9375rem;margin-top:0;}
 .section-head .eyebrow,.eyebrow{font-size:.75rem;}
 .section-head p,.why-intro,.reasons p,.journey p{font-size:1rem;}
 .shop-heading-row{flex-wrap:wrap;}
 .shop-heading-row p{font-size:.9375rem;max-width:none;}
 .shop-heading-row .eyebrow{font-size:.75rem;}
 .shop-heading-row .text-link{font-size:.875rem;margin-top:0;}
 .shop-tabs{gap:2px;}
 .shop-tabs button{font-size:.9375rem;padding:10px 7px;min-height:46px;}
 .shop-panel-meta p{font-size:.875rem;max-width:none;}
 .shop-panel-meta>span{font-size:.8125rem;}
 .shop-options a{padding:12px 10px;gap:7px;}
 .shop-option-label{font-size:.9375rem;}
 .shop-option-count{font-size:.75rem;min-width:24px;height:24px;}
 .inventory-layout{display:block;padding-top:24px;}
 .inventory-layout .vehicles{grid-template-columns:1fr;}
 .card-info h3,.inventory-layout .card-info h3{font-size:1.5rem;}
 .card-price strong,.inventory-layout .card-price strong{font-size:1.875rem;}
 .card-price small,.inventory-layout .card-price small{font-size:.8125rem;}
 .toolbar-actions label[for=sort]{font-size:.875rem;margin-left:0;flex-wrap:wrap;}
 .toolbar-actions select{font-size:.9375rem;max-width:190px;}
 .inventory-view-toggle{margin-left:auto;}
 .mobile-filter-button{font-size:.9375rem;}
 .filters{width:min(360px,92vw);}
 .filter-top{gap:10px;}
 .filter-top h2{font-size:1.1875rem;}
 .filter-close{min-width:36px;}
 .vehicle-action-group{grid-template-columns:1.35fr 1fr 1fr;}
 .inventory-back,.vehicle-action{font-size:.9375rem;}
 .vehicle-action{gap:6px;padding:10px 7px;}
 .detail-sidebar h1{font-size:2rem;}
 .detail-sidebar .intro{font-size:.9375rem;}
 .detail-sidebar .fine-print{font-size:.8125rem;}
 .detail-tabs{gap:23px;}
 .detail-tabs button{font-size:.9375rem;}
 .vdp-content-heading h2{font-size:1.625rem;}
 .vehicle-identifiers>div{font-size:.875rem;}
 .specification-grid dt,.specification-grid dd{font-size:.9375rem;}
 .specification-grid dt .ui-icon{width:18px;height:18px;}
 .feature-chips>div{font-size:.9375rem;padding:12px;}
 .description{font-size:1rem;}
 .form-field{font-size:.9375rem;}
 .form-field input,.form-field textarea,.form-field select{font-size:1rem;}
 .content-page>p{font-size:1rem;}
 .structured-footer .footer-link-group h2{font-size:1.125rem;}
 .structured-footer .footer-link-group a,.structured-footer .footer-cookie-button{font-size:.9375rem;}
 .structured-footer .footer-bottom{font-size:.8125rem;}
 .structured-footer .staging-note{font-size:.8125rem;}
 .structured-footer .footer-powered-badge .powered-label{font-size:.875rem;}
}
.breadcrumb{font-size:.875rem;line-height:1.6;}.page-intro p{font-size:1rem;line-height:1.7;}.content-page p[style*="font-size"]{font-size:1rem!important;}.content-card .fine-print{font-size:.8125rem;}

/* Mobile inventory and VDP containment: shrink grid items rather than clipping controls. */
.detail-grid,.detail-left,.detail-gallery,.detail-content,.detail-sidebar{min-width:0;max-width:100%}
.detail-gallery{width:100%;box-sizing:border-box}
.detail-photo,.detail-photo .vehicle-photo-frame{min-width:0;width:100%;max-width:100%;overflow:hidden}
.thumbnails{width:100%;min-width:0;max-width:100%;box-sizing:border-box;overscroll-behavior-inline:contain}
@media(max-width:800px){
 .inventory-view-toggle{display:none!important}
 .detail-grid{grid-template-columns:minmax(0,1fr)}
 .detail-grid>*{min-width:0;max-width:100%}
 .detail-tabs{max-width:100%;overflow-x:auto;gap:20px}
 .detail-tabs button{flex-shrink:0}
 .filter-top{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:12px;align-items:center}
 .filter-top h2{min-width:0;margin:0;line-height:1.3}
 .filter-top .filter-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-size:16px;line-height:1}
 .filter-close svg{width:20px;height:20px;stroke:currentColor;stroke-width:2;fill:none}
 .vehicle-identifiers{max-width:100%;flex-wrap:wrap}
 .vehicle-identifiers>div{min-width:0;max-width:100%}
 .specification-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .specification-grid>div{min-width:0}
 .specification-grid dd{overflow-wrap:anywhere}
 .detail-sidebar,.detail-toolbar,.vehicle-action-group{min-width:0;max-width:100%}
 .detail-sidebar input,.detail-sidebar textarea{min-width:0;max-width:100%;box-sizing:border-box}
}
@media(max-width:420px){.specification-grid{grid-template-columns:minmax(0,1fr)}.vehicle-action-group{grid-template-columns:repeat(3,minmax(0,1fr))}.vehicle-action{min-width:0}.vehicle-action span{white-space:normal}.inventory-back{justify-content:center}}
/* High-contrast navigation: color plus a persistent underline identifies the current section. */
.header nav a{position:relative;transition:color .15s ease}.header nav a::after{content:"";position:absolute;left:0;right:0;bottom:8px;height:3px;border-radius:2px;background:var(--cpl-nav-accent,var(--accent));transform:scaleX(0);transform-origin:center;transition:transform .15s ease}.header nav a:hover,.header nav a:focus-visible,.header nav a.is-current{color:var(--cpl-nav-accent,var(--accent));font-weight:700}.header nav a:hover::after,.header nav a:focus-visible::after,.header nav a.is-current::after{transform:scaleX(1)}@media(max-width:1180px){.header nav a:hover,.header nav a:focus-visible,.header nav a.is-current{background:color-mix(in srgb,var(--cpl-nav-accent,var(--accent)) 9%,var(--cpl-surface));border-radius:6px}.header nav a::after{left:6px;right:auto;top:10px;bottom:10px;width:3px;height:auto;transform:scaleY(0)}.header nav a:hover::after,.header nav a:focus-visible::after,.header nav a.is-current::after{transform:scaleY(1)}.header nav.open a{padding-left:18px}}@media(prefers-reduced-motion:reduce){.header nav a,.header nav a::after{transition:none}}

.p2-server-content h1{margin-bottom:24px}.p2-server-content h2{font-size:24px;margin:22px 0 12px}.p2-server-content p{font-size:17px;line-height:1.7;margin:12px 0}.p2-server-content a{text-decoration:underline}.p2-server-photo{max-width:100%;width:650px;height:auto;border-radius:12px}.p2-server-inventory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.p2-server-inventory article{min-width:0;padding:20px;border:1px solid var(--line);border-radius:12px}.p2-server-inventory img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.p2-server-specs>div,.p2-hours>div{display:flex;gap:24px;margin:8px 0}.p2-server-specs dt,.p2-hours dt{min-width:130px;font-weight:600}@media(max-width:800px){.p2-server-inventory{grid-template-columns:minmax(0,1fr)}}

/* Lynnway homepage media */
.lynnway-video-section{padding-top:56px;padding-bottom:32px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,600px);gap:48px;align-items:center}
.lynnway-video-copy h2{margin:16px 0 22px}
.lynnway-video-copy>p{font-size:1.0625rem;line-height:1.75;margin:0 0 18px}
.lynnway-video-media{width:100%;max-width:600px;justify-self:end;min-width:0}
.lynnway-video-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px 24px;margin-top:28px}
@media(max-width:960px){.lynnway-video-section{grid-template-columns:minmax(0,1fr);gap:28px}.lynnway-video-media{justify-self:start}}
.lynnway-video-frame{position:relative;aspect-ratio:16/9;width:100%;max-width:600px;overflow:hidden;border-radius:20px;background:#101820;box-shadow:0 16px 48px rgba(16,24,32,.12)}
.lynnway-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.lynnway-video-link{margin-top:18px}
.hero:before{background-position:center center}
@media(max-width:640px){.lynnway-video-section{padding-top:36px}.lynnway-video-frame{border-radius:12px}}

.lynnway-video-frame video{display:block;width:100%;height:100%;object-fit:contain;background:#101820}
.lynnway-video-caption{font-size:1rem;margin:16px 0 0;color:var(--ink,#202733)}
.lynnway-video-link{display:flex;flex-wrap:wrap;gap:12px 28px}

/* Restored Lynnway identity, with its white background and full lettering. */
body>.header .dealer-logo{width:210px;height:70px;max-width:210px;max-height:70px;clip-path:none;object-fit:contain}
.structured-footer .dealer-logo{width:210px;height:70px;clip-path:none;object-fit:contain;background:#fff;border-radius:6px}
@media(max-width:800px){body>.header .dealer-logo{width:156px;height:52px;max-width:156px;max-height:52px}.structured-footer .dealer-logo{width:180px;height:60px}}

/* Native, keyboard-accessible Services navigation. */
.care-nav-menu{position:relative;flex-shrink:0;font-size:.9375rem;font-weight:650}
.care-nav-menu>summary{cursor:pointer;list-style:none;white-space:nowrap;padding:12px 0}
.care-nav-menu>summary::-webkit-details-marker{display:none}
.care-nav-menu>summary::after{content:"";display:inline-block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 0 3px 9px}
.care-nav-menu[open]>summary::after{transform:rotate(225deg);margin-bottom:0}
.header nav .care-nav-links{position:absolute;top:100%;right:0;z-index:100;min-width:215px;padding:8px;background:#fff;border:1px solid #e5dce0;border-radius:12px;box-shadow:0 12px 30px #2b1b201a;display:block}
.header nav .care-nav-links a{display:block;padding:12px 14px;font-size:.9375rem;white-space:nowrap;border-radius:7px}
.header nav .care-nav-links a:hover{background:#f7f3f5}
.care-nav-menu:has(a.is-current)>summary{color:var(--accent,#a30b27)}
@media(min-width:1101px) and (max-width:1400px){body>.header nav{gap:18px}body>.header{column-gap:18px}}
@media(max-width:1100px){.care-nav-menu{width:100%}.header nav .care-nav-links{position:static;box-shadow:none;border:0;padding:0 0 8px 12px;min-width:0}.care-nav-menu>summary{padding:12px 0}}

@media(min-width:1101px) and (max-width:1400px){body>.header .saved-nav-label{display:none}body>.header nav>a,body>.header .call-button{white-space:nowrap}}

.vehicle-card .card-price .price-disclosure,.detail-sidebar>.price-disclosure{font-size:.875rem;line-height:1.5}
.price-disclosure>span:last-child{font-weight:650;color:var(--ink,#2b1b20)}
.price-total-note{font-size:.875rem!important;line-height:1.65}

/* Direct homepage destinations for customer service and detailing. */
.home-care-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;padding-top:38px;padding-bottom:12px}
.home-care-card{display:grid;grid-template-columns:35% minmax(0,1fr);overflow:hidden;border:1px solid #e5dce0;border-radius:18px;background:#fff;text-decoration:none;color:var(--ink,#2b1b20);transition:box-shadow .18s ease,border-color .18s ease}
.home-care-card>img{display:block;width:100%;height:100%;min-height:220px;object-fit:cover}
.home-care-card>div{padding:26px 24px;align-self:center}
.home-care-card .eyebrow{font-size:.75rem;line-height:1.6;letter-spacing:.08em}
.home-care-card h2{font:750 1.625rem/1.2 var(--heading,Manrope,sans-serif);letter-spacing:-.035em;margin:12px 0}
.home-care-card p{font-size:1rem;line-height:1.65;margin:0 0 18px;color:#655c61}
.home-care-card .text-link{font-size:.9375rem}
.home-care-card:hover{border-color:var(--accent,#a30b27);box-shadow:0 12px 28px #2b1b2010}
.home-care-card:focus-visible{outline:3px solid var(--accent,#a30b27);outline-offset:4px}
.vehicle-savings{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;margin:14px 0 12px;font-size:.875rem;line-height:1.5}
.vehicle-retail{color:#655c61}
.vehicle-retail s{text-decoration-thickness:1px;text-decoration-color:#8b8186}
.vehicle-savings-amount{display:inline-block;background:#eaf5eb;color:#24672e;padding:5px 10px;border-radius:7px;font-weight:750;font-size:.9375rem}
.detail-sidebar>.vehicle-savings{margin:16px 0 8px}
@media(max-width:1000px){.home-care-card{grid-template-columns:1fr}.home-care-card>img{height:180px;min-height:0}.home-care-card>div{padding:24px}}
@media(max-width:640px){.home-care-links{grid-template-columns:1fr;gap:20px;padding-top:28px}.home-care-card{grid-template-columns:32% minmax(0,1fr)}.home-care-card>img{height:100%;min-height:210px}.home-care-card>div{padding:22px 18px}.home-care-card h2{font-size:1.5rem}}

/* CARFAX links on current inventory and vehicle layouts. */
.card-info>.dealer-carfax,.detail-sidebar>.dealer-carfax{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:14px;padding:8px;border:1px solid #e5dce0;border-radius:8px;background:#fff;color:var(--ink,#2b1b20);font-weight:700;text-decoration:none}
.dealer-carfax img{display:block;width:140px;max-width:100%;height:50px;object-fit:contain}
.dealer-carfax:focus-visible{outline:3px solid var(--accent,#a30b27);outline-offset:3px}

/* Keep the down-payment assumption centered directly below the estimated payment. */
.payment-with-down{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;max-width:100%}
.card-price .payment-with-down strong{display:block}
.card-price .payment-down,.inventory-layout .card-price .payment-down,.detail-sidebar .payment-down{display:block;color:#79666e;font-size:.75rem;font-weight:400;line-height:1.5;text-align:center;white-space:nowrap}
.detail-sidebar .payment-with-down{width:max-content;margin:18px 0 16px}
.detail-sidebar .payment-with-down .detail-price{margin:0}

/* Social profiles sit at the far right of the dealership contact strip. */
.utility-social-links{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin-left:20px;flex:0 0 auto}
.utility-social-links[hidden]{display:none}
.utility-social-links a{display:flex;align-items:center;justify-content:center;width:28px;height:28px;color:inherit;text-decoration:none;border-radius:5px;opacity:.95}
.utility-social-links svg{display:block;width:16px;height:16px}
.utility-social-links a:hover{background:#ffffff1f;opacity:1}
.utility-social-links a:focus-visible{outline:2px solid white;outline-offset:2px}
@media(max-width:650px){html .utility.dealer-contact-bar.has-social-links{gap:10px}.utility.has-social-links .utility-contact-items{display:flex;justify-content:flex-start;flex:1;min-width:0;width:auto}.utility.has-social-links .utility-address{display:none}.utility-social-links{margin-left:auto;gap:3px}.utility-social-links a{width:28px;height:28px}.utility-social-links svg{width:15px;height:15px}}

/* Separate the street address from the social profile links. */
.utility-social-links::before{content:"";display:block;flex:0 0 1px;width:1px;height:16px;margin-right:10px;background:currentColor;opacity:.4}
@media(max-width:650px){.utility-social-links::before{display:none}}

/* Explore actions match the red dealership contact banner. */
.btn.explore-button{background:var(--accent,#a90000);border-color:var(--accent,#a90000);color:#fff}
.btn.explore-button:hover{background:var(--cpl-accent-hover,var(--accent,#a90000));border-color:var(--cpl-accent-hover,var(--accent,#a90000));color:#fff}

/* Keep the racing flag within the logo section of the header. */
body>.header .brand{align-self:stretch;padding:8px 18px;background:#151719 url("lynnway-checkered-flag.jpg") center/cover no-repeat;border-radius:5px;min-width:0}
body>.header .brand .dealer-logo{background:#fff;border-radius:3px}
@media(max-width:800px){body>.header .brand{padding:6px 10px;flex:0 1 190px}body>.header .brand .dealer-logo{width:156px;max-width:100%;height:auto;max-height:42px}}
/* Anchor the Explore action and following CARFAX badge to the card bottom. */
.vehicle-card{display:flex;flex-direction:column}
.vehicle-card .card-photo{flex-shrink:0}
.vehicle-card .card-info{display:flex;flex-direction:column;flex:1;align-self:stretch;min-width:0}
.vehicle-card .card-info>.explore-button{margin-top:auto}

/* Full-width racing flag across the dealership menu bar. */
body>.header{background:#151719 url("lynnway-checkered-flag.jpg") center/cover no-repeat;border-radius:0;color:#fff}
body>.header .brand{background:none;border-radius:0}
body>.header .brand .dealer-logo{border-radius:0}
body>.header nav a,body>.header .call-button,body>.header .menu-toggle{color:#fff}
body>.header .saved-nav{background:transparent;color:#fff;border-color:#ffffff66}
body>.header .saved-nav small{background:#ffffff26;color:#fff}
body>.header .care-nav-menu>summary{color:#fff}
body>.header nav .care-nav-links a{color:var(--ink,#2b1b20)}
@media(max-width:1180px){body>.header nav.open a,body>.header nav.open .care-nav-menu>summary{color:var(--ink,#2b1b20)}}

/* Light the flag independently so the logo and controls keep their own colors. */
body>.header{isolation:isolate;background:#151719}
body>.header::before{content:"";position:absolute;inset:0;z-index:-1;background:url("lynnway-checkered-flag.jpg") center/cover no-repeat;filter:brightness(2.4);pointer-events:none}
body>.header .brand .dealer-logo{background:transparent}
body>.header nav>a,body>.header .care-nav-menu>summary,body>.header .call-button{text-shadow:0 1px 3px #000,0 0 6px #0008}
@media(max-width:1180px){body>.header nav.open>a,body>.header nav.open .care-nav-menu>summary{text-shadow:none}}

/* Vehicle-specific CRM and price-watch actions. */
.vehicle-action.vehicle-action-red{background:var(--accent,#a30b27);border-color:var(--accent,#a30b27);color:#fff}
.vehicle-action.vehicle-action-red:hover{background:var(--cpl-accent-hover,#850820);color:#fff}
.price-alert-consent{display:flex;align-items:flex-start;gap:10px;margin:10px 0 18px;font-size:.9375rem;line-height:1.5}
.price-alert-consent input{flex:0 0 auto;margin-top:5px}
@media(max-width:800px){.vehicle-action-group>.vehicle-action-red{white-space:normal;min-width:0}}

/* Homepage vehicle carousel: retain the existing vehicle card presentation. */
#featured-vehicles .home-carousel{position:relative}
#featured-vehicles .home-carousel-controls{display:flex;justify-content:flex-end;gap:10px;margin:-10px 0 18px}
#featured-vehicles .home-carousel-controls button{width:44px;height:44px;border:1px solid var(--accent);border-radius:50%;background:var(--cpl-surface,#fff);color:var(--accent);font-size:28px;line-height:1;cursor:pointer}
#featured-vehicles .home-carousel-controls button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
#featured-vehicles #home-featured-cards{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 0 20px}
#featured-vehicles #home-featured-cards::-webkit-scrollbar{display:none}
#home-featured-cards>.vehicle-card{flex:0 0 calc((100% - 72px)/4);min-width:0;scroll-snap-align:start}
@media(max-width:1100px){#home-featured-cards>.vehicle-card{flex-basis:calc((100% - 24px)/2)}}
@media(max-width:650px){#home-featured-cards>.vehicle-card{flex-basis:100%}}

/* Card actions share one bottom-aligned row; CARFAX stays compact at the right. */
.vehicle-card .vehicle-card-actions{display:flex;align-items:stretch;gap:10px;margin-top:auto;width:100%;min-width:0}
.vehicle-card .vehicle-card-actions>.explore-button{flex:1 1 0;width:auto;min-width:0;margin:0;padding:12px 10px;white-space:normal;line-height:1.3}
.vehicle-card .vehicle-card-actions>.dealer-carfax{display:flex;align-items:center;justify-content:center;flex:0 0 100px;min-width:0;min-height:48px;margin:0;padding:0;border:1px solid #e5dce0;border-radius:8px;background:#fff;color:var(--ink,#2b1b20);text-decoration:none}
.vehicle-card .vehicle-card-actions>.dealer-carfax img{display:block;width:100%;height:auto;max-width:100%;max-height:48px;object-fit:contain}

/* Keep the mobile menu control legible over the racing flag. */
@media(max-width:1180px){
 body>.header button.menu-toggle{width:44px;min-width:44px;height:44px;background:#fff;color:#151719;border:2px solid #151719;border-radius:10px;font-weight:700;line-height:1;box-shadow:0 2px 6px #0004;text-shadow:none}
 body>.header button.menu-toggle:hover,body>.header button.menu-toggle[aria-expanded="true"]{background:#151719;color:#fff;border-color:#fff}
 body>.header button.menu-toggle:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #151719}
}
/* Keep the back-to-top control above the Podium messaging launcher. */
.site-scroll-top{bottom:calc(112px + env(safe-area-inset-bottom,0px))}

/* Compact VDP actions and flexible content on phones and small tablets. */
.vehicle-action .vdp-action-short{display:none}
@media(max-width:1100px){
 .detail-toolbar{flex-wrap:wrap;align-items:stretch;gap:10px}
 .detail-toolbar .toolbar-vehicle{display:none}
 .detail-toolbar .vehicle-action-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;flex:1 1 100%;min-width:0;margin:0;align-items:stretch;gap:7px}
 .detail-toolbar .vehicle-action{width:100%;min-width:0;min-height:44px;height:auto;padding:8px 6px;gap:5px;font-size:13px;line-height:1.2;justify-content:center;text-align:center;text-decoration:none}
 .detail-toolbar .vehicle-action .ui-icon{width:16px;height:16px;flex:0 0 16px}
}
@media(max-width:650px){
 .detail-shell{padding:16px 12px 32px}
 .detail-toolbar{padding:10px;margin-bottom:16px}
 .detail-toolbar .vehicle-action{font-size:12px;padding:7px 5px}
 .vehicle-action .vdp-action-long{display:none}
 .vehicle-action .vdp-action-short{display:inline;white-space:nowrap}
 .detail-sidebar{padding:20px 16px}
 .detail-sidebar h1{font-size:clamp(1.7rem,7vw,2rem);overflow-wrap:break-word}
 .detail-sidebar .detail-price{font-size:clamp(1.8rem,7vw,2.4rem)}
 .detail-sidebar .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .detail-sidebar .form-field{min-width:0}
 .detail-sidebar .payment-with-down{max-width:100%}
 .detail-sidebar .payment-down{white-space:normal}
 .detail-sidebar .sidebar-extra{display:flex;flex-wrap:wrap;gap:10px}
 .detail-tabs{gap:16px;overflow-x:auto}
 .detail-tabs button{font-size:13px;white-space:nowrap;flex-shrink:0}
 .vdp-inquiry-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .vdp-inquiry-buttons .btn{min-width:0;min-height:44px;padding:8px;font-size:12px;line-height:1.3;white-space:normal}
}

@media(max-width:650px){
 .detail-shell .tags{display:flex;flex-wrap:wrap;min-width:0;gap:5px}
 .detail-shell .tags>*{max-width:100%}
}
@media(max-width:360px){
 .detail-toolbar .vehicle-action{font-size:11px;padding:7px 3px;gap:4px}
}