/* Small integration additions; Chandler's original theme.css is unchanged. */
.filters .filter-group{padding-left:4px;padding-right:4px;}.filters{scroll-padding:8px;}.cpl-shop-tools{display:none;}.cpl-shop-shade{z-index:10020;}.cookie-consent-overlay{z-index:11000!important;}.integration-links{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0;}.integration-links a{color:var(--accent);text-decoration:underline;}.legacy-application input:not([type=radio]):not([type=checkbox]),.legacy-application select,.legacy-application textarea{border:1px solid var(--cpl-color-dddddd);border-radius:6px;padding:10px;max-width:100%;font:inherit;}.legacy-application td{padding:8px;}.legacy-application .main-btn{background:var(--accent);color:var(--cpl-on-brand);cursor:pointer;}.legacy-application table{max-width:100%;}.legacy-application .row{display:flex;flex-wrap:wrap;gap:12px;}.legacy-application .col-md-6{flex:1;min-width:250px;}.legacy-application .container{width:100%;}.legacy-application h2,.legacy-application h3{margin:16px 0;}.lead-honeypot{position:absolute;left:-10000px;width:1px;height:1px;}.filters input:focus,.filters select:focus{outline-offset:1px;}.integration-note{font-size:12px;line-height:1.6;}
.dealer-logo[hidden]{display:none!important;}.dealer-name{font-size:20px;font-weight:800;line-height:1.15;display:inline-block;max-width:240px;}.legacy-application label{font-size:13px;}.legacy-application .page-banner-area{margin-bottom:24px;}

[hidden]{display:none!important;}.dealer-settings-details{padding:0 24px;}.dealer-directions{white-space:pre-line;font-size:13px;}.dealer-list-view{grid-template-columns:1fr!important;}.dealer-list-view .vehicle-card{display:grid;grid-template-columns:minmax(220px,42%) 1fr;}.dealer-list-view .card-photo{height:100%;min-height:240px;}.dealer-list-view .card-photo>a{height:100%;display:block;}.dealer-list-view .vehicle-photo-frame{height:100%;}@media(max-width:600px){.dealer-list-view .vehicle-card{display:block;}.dealer-list-view .card-photo{min-height:0;}}

/* Connected dealer contact strip: shared across all ASP page shells. */
.utility.dealer-contact-bar{justify-content:flex-end;height:auto;min-height:36px;padding:8px 3.5vw;font-size:11px;line-height:1.5;}.dealer-contact-bar .utility-contact-items{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px 14px;}.dealer-contact-bar .utility-separator{display:inline-block;margin:0;opacity:.4;}.dealer-contact-bar a{white-space:nowrap;color:inherit;}.dealer-contact-bar a:hover{text-decoration:underline;text-underline-offset:3px;}
@media(max-width:650px){.utility.dealer-contact-bar{padding:7px 4.5vw;font-size:9px;min-height:30px;}.dealer-contact-bar .utility-contact-items{gap:3px 8px;}.dealer-contact-bar .utility-separator{display:inline-block;}.dealer-contact-bar .utility-address{white-space:normal;text-align:right;}}
.dealer-contact-bar a{display:inline-flex;align-items:center;gap:7px;}.dealer-contact-bar .utility-contact-icon{width:13px;height:13px;flex-shrink:0;stroke:currentColor;stroke-width:1.7;opacity:.85;}@media(max-width:650px){.dealer-contact-bar a{gap:5px;}.dealer-contact-bar .utility-contact-icon{width:11px;height:11px;}}

/* Shared structured footer. */
footer.structured-footer{background:var(--cpl-color-faf8f8);color:var(--ink);border-top:1px solid var(--cpl-color-e7dfe2);padding:50px 3.5vw 25px;}.structured-footer .cpl-footer-grid{display:grid;grid-template-columns:minmax(215px,1.35fr) repeat(4,minmax(0,1fr));gap:38px;padding-bottom:42px;align-items:start;}.structured-footer .footer-dealer{padding-right:30px;border-right:1px solid var(--cpl-color-e1d8db);display:flex;flex-direction:column;align-items:flex-start;gap:17px;min-width:0;}.structured-footer .footer-logo-link{display:block;margin-bottom:4px;}.structured-footer .dealer-logo{width:136px;height:90px;}.structured-footer .footer-dealer-name{font-family:var(--heading);font-size:16px;font-weight:750;letter-spacing:-.025em;line-height:1.4;}.structured-footer .footer-phone{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:550;}.structured-footer .footer-phone .ui-icon{width:16px;height:16px;color:var(--accent);}.structured-footer address{font-style:normal;font-size:13px;line-height:1.85;color:var(--cpl-color-65565c);}.structured-footer .footer-directions{font-size:12px;color:var(--accent);text-decoration:underline;text-underline-offset:4px;}.structured-footer .footer-link-group{display:flex;flex-direction:column;align-items:flex-start;gap:12px;font-size:13px;line-height:1.6;min-width:0;}.structured-footer .footer-link-group h2{font:750 17px/1.3 var(--heading);letter-spacing:-.025em;color:var(--ink);margin:5px 0 10px;}.structured-footer .footer-link-group a,.structured-footer .footer-cookie-button{color:var(--cpl-color-65565c);font-size:13px;line-height:1.6;}.structured-footer .footer-link-group a:hover,.structured-footer .footer-cookie-button:hover{color:var(--accent);text-decoration:underline;text-underline-offset:4px;}.structured-footer .footer-cookie-button{background:var(--cpl-color-00000000);border:0;padding:0;text-align:left;}.structured-footer .footer-bottom{border-top:1px solid var(--cpl-color-e1d8db);display:flex;align-items:center;gap:25px;padding:24px 0 16px;color:var(--cpl-color-786b70);font-size:11px;}.structured-footer .footer-privacy{margin-left:auto;}.structured-footer .footer-powered{color:var(--ink);display:flex;align-items:center;gap:7px;}.structured-footer .footer-powered strong{font-size:20px;letter-spacing:-.05em;}.structured-footer .staging-note{color:var(--cpl-color-8c7d83);font-size:10px;line-height:1.7;}.structured-footer .dealer-settings-details{padding:0 0 22px;margin:0;gap:18px;font-size:12px;}.structured-footer .dealer-settings-details:empty{display:none;}.structured-footer .dealer-settings-details a{color:var(--accent);text-decoration:none;}.structured-footer [hidden]{display:none!important;}
@media(max-width:1100px){.structured-footer .cpl-footer-grid{grid-template-columns:1.3fr 1fr 1fr;gap:30px;}.structured-footer .footer-dealer{grid-row:span 2;}.structured-footer .footer-link-group h2{margin-top:0;}}
@media(max-width:650px){footer.structured-footer{padding:32px 5vw 22px;}.structured-footer .cpl-footer-grid{grid-template-columns:1fr 1fr;gap:28px 22px;padding-bottom:30px;}.structured-footer .footer-dealer{grid-column:1/-1;grid-row:auto;border-right:0;border-bottom:1px solid var(--cpl-color-e1d8db);padding:0 0 25px;gap:12px;}.structured-footer .dealer-logo{width:125px;height:83px;}.structured-footer .footer-link-group{gap:10px;}.structured-footer .footer-link-group h2{font-size:16px;margin-bottom:7px;}.structured-footer .footer-link-group a,.structured-footer .footer-cookie-button{font-size:12px;}.structured-footer .footer-bottom{flex-wrap:wrap;gap:14px;font-size:10px;padding-top:22px;}.structured-footer .footer-bottom>a{width:auto;margin-top:0;}.structured-footer .footer-privacy{margin-left:0;}.structured-footer .footer-powered{flex-basis:100%;}.structured-footer .staging-note{font-size:9px;}}

/* Prominent provider badge with the official CarProLive identity. */
.structured-footer .footer-powered.footer-powered-badge{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-width:210px;padding:16px 22px;background:var(--cpl-color-f0f3f8);border:1px solid var(--cpl-color-dce3ee);border-radius:9px;box-shadow:0 2px 5px var(--cpl-color-202e4805);color:var(--cpl-color-667184);transition:background .2s,border-color .2s,box-shadow .2s;text-decoration:none;}.structured-footer .footer-powered-badge .powered-label{font-size:10px;line-height:1.2;font-weight:600;letter-spacing:.12em;text-transform:uppercase;}.structured-footer .footer-powered-badge img{display:block;width:176px;height:auto;max-width:100%;}.structured-footer .footer-powered.footer-powered-badge:hover{background:var(--cpl-color-e9eef7);border-color:var(--cpl-color-b8c9e5);box-shadow:0 4px 12px var(--cpl-color-202e480c);}.structured-footer .footer-bottom{align-items:center;}
@media(max-width:650px){.structured-footer .footer-powered.footer-powered-badge{flex-basis:auto;min-width:200px;padding:15px 20px;margin-top:7px;}.structured-footer .footer-powered-badge img{width:166px;}}

/* Compact logo tag with the attribution outside, to its left. */
.structured-footer .footer-powered.footer-powered-badge{flex-direction:row;align-items:center;gap:10px;min-width:0;padding:0;background:var(--cpl-color-00000000);border:0;border-radius:0;box-shadow:none;}.structured-footer .footer-powered-badge .powered-label{font-size:11px;font-weight:400;letter-spacing:0;text-transform:none;white-space:nowrap;color:var(--cpl-color-786b70);}.structured-footer .powered-logo-tag{display:flex;align-items:center;padding:10px 13px;background:var(--cpl-color-f0f3f8);border:1px solid var(--cpl-color-dce3ee);border-radius:6px;transition:background .2s,border-color .2s;}.structured-footer .footer-powered-badge .powered-logo-tag img{width:122px;height:auto;}.structured-footer .footer-powered.footer-powered-badge:hover{background:var(--cpl-color-00000000);border:0;box-shadow:none;}.structured-footer .footer-powered-badge:hover .powered-logo-tag{background:var(--cpl-color-e9eef7);border-color:var(--cpl-color-b8c9e5);}@media(max-width:650px){.structured-footer .footer-powered.footer-powered-badge{min-width:0;padding:0;margin-top:5px;gap:9px;}.structured-footer .footer-powered-badge .powered-label{font-size:10px;}.structured-footer .powered-logo-tag{padding:9px 12px;}.structured-footer .footer-powered-badge .powered-logo-tag img{width:112px;}}
.structured-footer .footer-powered-badge .powered-label{font-weight:700;}.structured-footer .powered-logo-tag{padding:11px 15px;}.structured-footer .footer-powered-badge .powered-logo-tag img{width:134px;}@media(max-width:650px){.structured-footer .powered-logo-tag{padding:10px 14px;}.structured-footer .footer-powered-badge .powered-logo-tag img{width:124px;}}

/* Clear, consistent saved-vehicle controls. */
.header .saved-nav{width:auto;min-width:0;height:40px;padding:0 12px;gap:8px;border:1px solid var(--cpl-color-dfd6d9);border-radius:7px;background:var(--cpl-surface);font-size:12px;font-weight:600;color:var(--ink);white-space:nowrap;}.header .saved-nav:hover{border-color:var(--cpl-color-bb8b99);background:var(--cpl-color-fbf3f5);color:var(--accent);}.header .saved-nav .ui-icon{width:20px;height:20px;stroke-width:1.9;}.header .saved-nav small{position:static;display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:5px;background:var(--cpl-color-f3e9ec);color:var(--accent);font-size:10px;line-height:1;}.vehicle-card .icon-button.save-button{width:auto;min-width:76px;height:35px;padding:0 11px;gap:6px;border-radius:7px;border:1px solid var(--cpl-color-dfd6d9);background:var(--cpl-surface);color:var(--ink);font-size:11px;font-weight:600;box-shadow:0 2px 10px var(--cpl-color-21151b26);z-index:3;}.vehicle-card .save-button .ui-icon{width:18px;height:18px;stroke-width:2;}.vehicle-card .save-button:hover{background:var(--cpl-color-fbf1f4);color:var(--accent);border-color:var(--cpl-color-b97b8c);}.vehicle-card .save-button.is-saved{color:var(--accent);background:var(--cpl-color-fff3f6);border-color:var(--cpl-color-c78d9d);}.save-button.is-saved .ui-icon,.vehicle-action.is-saved .action-icon .ui-icon{fill:currentColor;}.vehicle-action .action-icon{display:inline-flex;align-items:center;}.vehicle-action .action-icon .ui-icon{width:18px;height:18px;}
@media(max-width:1100px){.header .saved-nav{padding:0 9px;gap:6px;font-size:11px;}}
@media(max-width:650px){.header .saved-nav{height:37px;padding:0 7px;gap:4px;}.header .saved-nav-label{display:none;}.header .saved-nav .ui-icon{width:20px;height:20px;}.header .saved-nav small{min-width:16px;height:18px;font-size:9px;}.vehicle-card .icon-button.save-button{min-width:80px;height:37px;font-size:12px;}}

/* Visitor-selected inventory layout; dealer defaults stay unchanged. */
.inventory-view-toggle{display:inline-flex;align-items:center;padding:3px;gap:3px;background:var(--cpl-color-f6f1f3);border:1px solid var(--cpl-color-e5dce0);border-radius:7px;flex-shrink:0;}.inventory-view-toggle button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--cpl-color-00000000);border-radius:5px;padding:7px 11px;min-height:33px;color:var(--cpl-color-79666e);background:var(--cpl-color-00000000);font-size:11px;font-weight:550;white-space:nowrap;}.inventory-view-toggle button .ui-icon{width:16px;height:16px;stroke-width:1.8;}.inventory-view-toggle button[aria-pressed=true]{background:var(--cpl-surface);border-color:var(--cpl-color-dfcbd2);color:var(--accent);box-shadow:0 1px 3px var(--cpl-color-2b1b2009);}.inventory-view-toggle button:hover{color:var(--accent);}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;}.toolbar-actions label[for=sort]{display:flex;align-items:center;gap:8px;white-space:nowrap;}@media(max-width:650px){.toolbar-actions{justify-content:space-between;gap:10px;}.toolbar-actions label[for=sort]{margin-left:auto;font-size:10px;}.inventory-view-toggle{margin-left:auto;}.inventory-view-toggle button{padding:7px 12px;min-height:35px;}}

/* List rows show their summary inline in the space previously used by tags. */
.list-vehicle-summary{display:none;}
.dealer-list-view .card-info>.tags{display:none;}
.dealer-list-view .list-vehicle-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,25px);gap:6px 10px;height:56px;min-height:56px;margin:0;overflow:hidden;align-content:center;}
.list-vehicle-summary>div{min-width:0;overflow:hidden;}
.list-vehicle-summary dt{font-size:10px;line-height:11px;font-weight:600;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.list-vehicle-summary dd{margin:0;font-size:12px;line-height:14px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.list-vehicle-summary .summary-vin{font-size:10px;letter-spacing:-.025em;}
.dealer-list-view .card-info{min-width:0;}
.dealer-list-view .card-photo{min-width:0;width:100%;aspect-ratio:auto;overflow:hidden;}
.dealer-list-view .card-photo>a{width:100%;position:relative;}
.dealer-list-view .card-photo .vehicle-photo-frame{position:absolute;inset:0;width:100%;height:100%;}
.dealer-list-view .card-photo .vehicle-photo{width:100%;height:100%;object-fit:cover;}
@media(max-width:600px){.dealer-list-view .card-photo{aspect-ratio:1.5;}.dealer-list-view .list-vehicle-summary{column-gap:6px;}}

.card-price .price-disclosure{display:flex;flex-direction:column;gap:1px;font-size:11px;line-height:15px;font-weight:400;color:var(--muted);text-align:right;white-space:nowrap;}.price-disclosure>span{display:block;}.price-total-note{font-size:11px;line-height:1.5;color:var(--muted);margin-top:6px;}.detail-sidebar>.price-disclosure{display:block;margin:4px 0 10px;font-size:12px;line-height:17px;color:var(--muted);}.dealer-list-view .card-price{min-height:68px;}.dealer-list-view .card-price .price-disclosure{flex-shrink:0;}.vehicle-card .card-price{gap:10px;}

.list-vehicle-summary dt{display:flex;align-items:center;gap:4px;line-height:12px;height:12px;}.list-vehicle-summary dt .ui-icon{width:12px;height:12px;flex:0 0 12px;stroke-width:1.8;color:var(--accent);}.list-vehicle-summary dt span{min-width:0;overflow:hidden;text-overflow:ellipsis;}.list-vehicle-summary dd{padding-left:16px;line-height:13px;}
/* Larger list summary, balanced by reducing vertical card padding. */
.inventory-layout .dealer-list-view .card-info{padding-top:13px;padding-bottom:13px}
.dealer-list-view .list-vehicle-summary{grid-template-rows:repeat(2,34px);row-gap:4px;height:72px;min-height:72px}
.list-vehicle-summary dt{height:16px;font-size:12px;line-height:16px;gap:4px;color:var(--ink)}
.list-vehicle-summary dt .ui-icon{width:16px;height:16px;flex-basis:16px;stroke-width:2}
.list-vehicle-summary dd{padding-left:20px;font-size:15px;line-height:18px;font-weight:500}
.list-vehicle-summary .summary-vin{font-size:12px;letter-spacing:-.025em}

.hero-scroll-button{width:40px;height:40px;padding:8px;border:1px solid #ffffff66;border-radius:50%;display:grid;place-items:center;background:transparent;color:inherit;flex-shrink:0}.hero-scroll-button:hover{background:#ffffff20;border-color:#fff}.hero-scroll-button svg{width:22px;height:22px;stroke-width:1.8}.site-scroll-top{position:fixed;right:24px;bottom:24px;z-index:55;width:46px;height:46px;display:grid;place-items:center;padding:10px;border:1px solid #ffffff55;border-radius:50%;background:var(--accent);color:#fff;box-shadow:0 4px 16px #21151b30;cursor:pointer}.site-scroll-top:hover{filter:brightness(1.12)}.site-scroll-top[hidden]{display:none}.site-scroll-top svg{width:24px;height:24px;stroke-width:2}@media(max-width:650px){.hero-scroll-button{width:36px;height:36px;padding:6px}.site-scroll-top{width:44px;height:44px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px))}}

/* Keep contact information above the sticky navigation at every viewport size. */
:root{--site-contact-height:40px;--site-sticky-height:132px}
.utility.dealer-contact-bar{position:sticky;top:0;z-index:42}
.header{top:var(--site-contact-height);z-index:41}
html{scroll-padding-top:calc(var(--site-sticky-height) + 16px)}
@media(min-width:651px){.inventory-layout .filters{top:calc(var(--site-sticky-height) + 16px);max-height:calc(100dvh - var(--site-sticky-height) - 32px)}}

/* Compact sticky contact strip and touch-friendly navigation on phones. */
.utility-compact-label{display:none}
@media(max-width:1180px){body>.header nav{top:100%;max-height:calc(100dvh - var(--site-sticky-height) - 8px);overflow-y:auto;overscroll-behavior:contain}}
@media(max-width:650px), (max-width:950px) and (max-height:500px){
 :root{--site-contact-height:44px;--site-sticky-height:108px}
 html .utility.dealer-contact-bar{padding:4px 14px;min-height:44px;font-size:11px;line-height:16px}
 .dealer-contact-bar .utility-contact-items{display:grid;grid-template-columns:auto minmax(0,1fr);width:100%;gap:2px 10px;align-items:center}
 .dealer-contact-bar .utility-separator{display:none}
 .dealer-contact-bar .utility-full-label{display:none}
 .dealer-contact-bar .utility-compact-label{display:inline;min-width:0;overflow:hidden;text-overflow:ellipsis}
 .dealer-contact-bar .utility-hours{justify-self:end;max-width:100%}
 .dealer-contact-bar .utility-address{grid-column:1/-1;justify-self:center;max-width:100%;white-space:nowrap}
 .dealer-contact-bar .utility-address span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .dealer-contact-bar a{min-width:0;gap:5px;line-height:16px}
 .dealer-contact-bar .utility-contact-icon{width:12px;height:12px;flex-basis:12px}
 body>.header{height:64px;padding:0 14px;gap:8px}
 body>.header .brand{min-width:0;flex:1}
 body>.header .dealer-logo{max-width:min(145px,100%);max-height:48px;width:auto;height:auto;object-fit:contain}
 body>.header .dealer-name{max-width:100%;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 body>.header .header-actions{gap:4px;flex-shrink:0}
 body>.header .saved-nav{height:44px;width:58px;min-width:58px;padding:0;gap:4px}
 body>.header .saved-nav-label{display:none}
 body>.header .saved-nav .ui-icon{width:20px;height:20px}
 body>.header .call-button{width:40px;min-width:40px;height:44px;padding:0;justify-content:center}
 body>.header .call-button span{display:none}
 body>.header .menu-toggle{width:40px;min-width:40px;height:44px;padding:0;justify-content:center}
 body>.header nav.open{gap:0;padding:8px 14px}
 body>.header nav a{min-height:44px;padding:10px 6px;font-size:16px}
}
@media(max-width:950px) and (max-height:500px){
 :root{--site-contact-height:32px;--site-sticky-height:88px}
 html .utility.dealer-contact-bar{min-height:32px;padding-top:4px;padding-bottom:4px}
 .dealer-contact-bar .utility-contact-items{grid-template-columns:auto auto minmax(0,1fr);gap:12px}
 .dealer-contact-bar .utility-hours{justify-self:center}
 .dealer-contact-bar .utility-address{grid-column:auto;justify-self:end}
 body>.header{height:56px}
 body>.header .dealer-logo{max-height:42px}
}

/* Two applicants across, followed by full-width additional details. */
.legacy-application .row.credit-application-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;width:100%;box-sizing:border-box}
.credit-application-grid>.applicant-panel,.credit-application-grid>.coapplicant-panel,.credit-application-grid>.application-additional-panel{min-width:0;width:100%;max-width:none;float:none;padding:0}
.credit-application-grid>.application-additional-panel{grid-column:1/-1}
.legacy-application .credit-application-grid input:not([type=radio]):not([type=checkbox]),.legacy-application .credit-application-grid textarea,.legacy-application .credit-application-grid select{width:100%;box-sizing:border-box;min-width:0}
.external-application-container{width:100%;min-width:0}
.external-application-container>.dealer-external-application{margin:0 0 18px}
iframe.dealer-credit-application,iframe.dealer-preapproval{display:block;width:100%;max-width:100%;border:0;background:#fff}
iframe.dealer-credit-application{height:1725px}
iframe.dealer-preapproval{height:1100px}
@media(max-width:767px){.legacy-application .row.credit-application-grid{grid-template-columns:minmax(0,1fr);gap:16px;padding:10px!important}.credit-application-grid>.application-additional-panel{grid-column:auto}iframe.dealer-credit-application{height:3225px}}
.structured-footer .footer-social-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 0 22px;margin:0}.structured-footer .footer-social-links a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--ink);border-radius:8px;text-decoration:none}.structured-footer .footer-social-links a:hover{color:var(--accent);background:var(--paper)}.structured-footer .footer-social-links svg{display:block;width:23px;height:23px;flex-shrink:0}.structured-footer .footer-social-links[hidden]{display:none!important}

/* Keep the complete photo and baked-in artwork visible, including portrait uploads. */
.card-photo .vehicle-photo-frame .vehicle-photo,
.dealer-list-view .card-photo .vehicle-photo,
.detail-photo .vehicle-photo-frame .vehicle-photo { object-fit:contain!important; background:var(--paper,#f5f7fa); }
/* Use a consistent 4:3 card frame without cropping the source photo. */
.vehicle-card .card-photo { aspect-ratio:4/3!important; height:auto!important; min-height:0!important; }
.vehicle-card .card-photo > a { position:absolute; inset:0; width:100%; height:100%; }
#inventory-results { container-type:inline-size; }
#inventory-results.dealer-list-view .vehicle-card { grid-template-columns:400px minmax(0,1fr); align-items:start; }
#inventory-results.dealer-list-view .card-photo { width:100%; aspect-ratio:4/3!important; height:auto!important; min-height:0!important; }
@container(max-width:780px) {
 #inventory-results.dealer-list-view .vehicle-card { display:block; }
}
@media(max-width:600px) {
 #inventory-results.dealer-list-view .vehicle-card { display:block; }
}

/* Keep the VDP inquiry actions within the same gutters as the vehicle content. */
.detail-shell>.vdp-inquiry-options{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);align-items:center;gap:24px;margin:40px 0 0;padding:28px;border:1px solid var(--line);border-radius:var(--radius,16px);background:var(--cpl-surface);min-width:0}
.vdp-inquiry-intro h2{font-size:clamp(22px,2vw,28px);line-height:1.2;margin:0 0 8px}
.vdp-inquiry-intro p{font-size:16px;line-height:1.5;margin:0}
.vdp-inquiry-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.vdp-inquiry-buttons .btn{width:100%;min-height:48px;font-size:16px;line-height:1.35;padding:12px 16px;white-space:normal;text-align:center}
@media(max-width:900px){.detail-shell>.vdp-inquiry-options{grid-template-columns:1fr;padding:24px;gap:20px}}
@media(max-width:480px){.detail-shell>.vdp-inquiry-options{padding:20px;margin-top:28px}.vdp-inquiry-buttons{grid-template-columns:1fr}}
@media print{.detail-shell>.vdp-inquiry-options{display:none!important}}

.vdp-inquiry-buttons .dealer-carfax{grid-column:1/-1}.vdp-inquiry-buttons .dealer-carfax img{width:auto;max-width:160px;max-height:40px;object-fit:contain}
