/* One vehicle composition shared by inventory, discovery, favorites and recommendations. */
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-art-card:not([data-poster]){visibility:hidden!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-art-visual{height:calc(100cqw * (.90 / var(--front-ratio,1.8) + .36))!important;aspect-ratio:auto!important;margin-bottom:16px!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-panels{--pbb-flag-slope:5.7cqw;inset:0 15% auto!important;height:57cqw!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-main,html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-reflection{width:90%!important;left:5%!important;bottom:0!important;height:auto!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-main>.pbb-poster-cutout,html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-side-body>.pbb-poster-cutout{width:100%!important;height:auto!important;max-height:none!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-heading{min-height:70px!important;padding:0 0 12px!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-side-body{bottom:22%!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-window{bottom:36%!important;background:transparent!important;mask-image:none!important;-webkit-mask-image:none!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-panel{background:transparent!important;isolation:isolate!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-panel::before{content:"";position:absolute;inset:0 0 8%;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#0006 0%,#0007 42%,#000 64%,#000 100%);clip-path:polygon(0 0,100% 10%,100% 100%,0 100%)}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-panel-0::before{clip-path:polygon(0 10%,100% 0,100% 100%,0 100%)}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-art-info:has(.pbb-card-reduction){display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:6px 10px!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-art-info:has(.pbb-card-reduction)>strong{order:1!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-card-reduction{display:contents!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-card-reduction .pbb-reduction-value{display:none!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-card-reduction .pbb-reduction-prices{display:contents!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-card-reduction .pbb-reduction-prices>span:first-child{display:inline!important;order:0!important;white-space:nowrap!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-card-reduction .pbb-reduction-prices>span:last-child,html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-card-reduction .pbb-reduction-prices small{display:none!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-card-reduction del{font-size:14px!important;color:inherit!important;text-decoration:line-through!important;opacity:.65}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-art-info:has(.pbb-card-reduction)>p{order:2!important;flex-basis:100%!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-art-info:has(.pbb-card-reduction)>:is(.pbb-price-signals,.vehicle-highlight-tags){order:3!important;flex-basis:100%!important}
@media(max-width:700px){html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-window{bottom:22%!important}}

/* One size token across every vehicle list, including the discovery games. */
:root{--pbb-vehicle-card-width:340px}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-art-card{width:min(100%,var(--pbb-vehicle-card-width))!important;max-width:var(--pbb-vehicle-card-width)!important;justify-self:center!important;margin-left:auto!important;margin-right:auto!important;transform:none!important;height:auto!important}
html body #discovery#discovery #explore-body .ares-collectible{display:flex!important;justify-content:center!important;max-width:var(--pbb-vehicle-card-width)!important;margin:0 auto!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) :is(.match-results,.price-history-list,.vip-saved-grid,.company-recommendation-grid){grid-template-columns:repeat(3,minmax(0,var(--pbb-vehicle-card-width)))!important;justify-content:center!important;gap:32px 26px!important}
html body #discovery#discovery #explore-body .pbb-price-watch{grid-template-rows:auto auto 1fr auto auto!important}
html body #discovery#discovery #explore-body .pbb-price-watch .pbb-drop-feature{display:none!important}
html body #discovery#discovery #explore-body .pbb-price-watch .pbb-art-info{grid-row:3!important;display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:6px 10px!important}
html body #discovery#discovery #explore-body .pbb-price-watch .pbb-art-info>strong{display:block!important;order:1!important}
html body #discovery#discovery #explore-body .pbb-price-watch .pbb-art-info>p{order:2!important;flex-basis:100%!important}
html body #discovery#discovery #explore-body .pbb-price-watch .pbb-art-social{grid-row:4!important}
html body #discovery#discovery #explore-body .pbb-price-watch .pbb-art-actions{grid-row:5!important}
@media(min-width:701px) and (max-width:1120px){html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) :is(.match-results,.price-history-list,.vip-saved-grid,.company-recommendation-grid){grid-template-columns:repeat(2,minmax(0,var(--pbb-vehicle-card-width)))!important}}
@media(max-width:700px){
 :root{--pbb-vehicle-card-width:calc((100vw - 40px) / 2)}
 html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-art-card{width:min(100%,var(--pbb-vehicle-card-width))!important;max-width:var(--pbb-vehicle-card-width)!important}
 html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) :is(.match-results,.price-history-list,.vip-saved-grid,.company-recommendation-grid){grid-template-columns:repeat(2,minmax(0,var(--pbb-vehicle-card-width)))!important;gap:28px 14px!important}
}

/* Child cutouts normalize the front left; the outer vehicle faces right everywhere. */
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-main{transform:scaleX(-1)!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-reflection{transform:scale(-1,-1)!important;opacity:.10!important;mask-image:linear-gradient(to top,#000,transparent 24px)!important;-webkit-mask-image:linear-gradient(to top,#000,transparent 24px)!important}
html body :is(#inventory#inventory #cars,#discovery#discovery #explore-body,#vip#vip #garage-body,#home-curated#home-curated#home-curated,#vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,#modal#modal#modal) .pbb-poster-panel::before{bottom:0!important}
html body #vehicle-detail-page#vehicle-detail-page#vehicle-detail-page .pbb-art-card :is(.pbb-art-info,.pbb-art-info>strong,.pbb-art-info>p,.pbb-price-signals,.pbb-price-signals span,.vehicle-highlight-tags,.vehicle-highlight-tags span,.pbb-reduction-prices){color:#2c2925!important;text-shadow:none!important}

html body .pbb-poster-panel::before{background:linear-gradient(180deg,#0006 0%,#0008 40%,#000 63%,#000 100%)!important}

/* One masked backing only. Its window and backing use the same physical slope;
   percentages differ when window/backing heights differ and expose dark edges.
   Keep the foreground-proportional visual height aligned with the VIN floor mask.
   Vehicle cutouts stay outside the clipped windows and can extend past the flags. */
html body .pbb-poster-panels .pbb-poster-panel::before{display:none!important}
html body .pbb-poster-backings{pointer-events:none!important}

/* Every rendered vehicle card owns the same action contract, including dialogs. */
@layer pbb-company-controls {
 html body .pbb-art-card.pbb-shared-card {display:grid!important;grid-template-columns:minmax(0,1fr) 30px!important;grid-template-rows:auto auto auto auto!important;column-gap:8px!important}
 html body .pbb-art-card.pbb-shared-card>:is(.pbb-poster-heading,.pbb-art-visual,.pbb-art-actions) {grid-column:1/-1!important}
 html body .pbb-art-card.pbb-shared-card>.pbb-art-info {grid-column:1!important;grid-row:3!important;min-width:0!important;align-self:start!important}
 html body .pbb-art-card.pbb-shared-card>.pbb-art-social {position:static!important;inset:auto!important;grid-column:2!important;grid-row:3!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;align-self:start!important;justify-self:end!important;gap:3px!important;width:30px!important;height:auto!important;min-height:0!important;margin:0!important;transform:none!important}
 html body .pbb-art-card.pbb-shared-card>.pbb-art-social>button {position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;margin:0!important;flex:0 0 28px!important}
 html body .pbb-art-card.pbb-shared-card>.pbb-art-actions {grid-row:4!important}
 html body .pbb-art-card.pbb-shared-card>.pbb-drop-feature {display:none!important}
}

/* Keep both recorded and current prices on one row in narrow inventory cards. */
@media(max-width:700px){
html body #inventory#inventory#inventory #cars .pbb-art-info:has(.pbb-card-reduction){display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;gap:6px 4px!important;align-items:baseline!important}
html body #inventory#inventory#inventory #cars .pbb-art-info:has(.pbb-card-reduction)>strong{grid-row:1!important;grid-column:2!important;font-size:clamp(16px,5.1vw,20px)!important;white-space:nowrap!important}
html body #inventory#inventory#inventory #cars .pbb-card-reduction .pbb-reduction-prices>span:first-child{grid-row:1!important;grid-column:1!important;align-self:baseline!important}
html body #inventory#inventory#inventory #cars .pbb-card-reduction del{font-size:clamp(9px,2.5vw,10px)!important}
html body #inventory#inventory#inventory #cars .pbb-art-info:has(.pbb-card-reduction)>p{grid-row:2!important;grid-column:1/-1!important}
}

@media(max-width:700px){html body footer #subscribe{width:100%;min-width:0;max-width:100%;box-sizing:border-box}html body footer #subscribe>div{min-width:0;max-width:100%;display:flex}html body footer #subscribe input[type=email]{min-width:0;width:0;flex:1;font-size:16px}html body footer #subscribe>.crm-contact-consent{display:flex;align-items:flex-start;gap:6px;white-space:normal;margin:8px 0;font-size:13px}html body footer #subscribe input[type=checkbox]{flex:none;width:16px;height:16px}}

/* Desktop recommendations have four equal columns, independent of other lists. */
@media(min-width:1025px){
 html body #vehicle-detail-page#vehicle-detail-page#vehicle-detail-page .company-vehicle-recommendations .company-recommendation-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;max-width:1440px!important;margin-inline:auto!important;gap:24px!important;justify-content:center!important}
 html body #vehicle-detail-page#vehicle-detail-page#vehicle-detail-page .company-vehicle-recommendations .company-recommendation-grid>.pbb-art-card{width:100%!important;max-width:100%!important;min-width:0!important}
}
