/* Compact full-bleed discovery banner and shared horizontal controls. */
html body.discovery-active #discovery#discovery .discovery-page-inner{padding-top:0!important}
html body #discovery#discovery .discovery-video-banner{height:32svh;min-height:280px;max-height:340px;aspect-ratio:auto;margin-bottom:24px}
html body #discovery#discovery .discovery-banner-copy{top:45%;width:65%}
html body #discovery#discovery .discovery-banner-copy>h1{font-size:clamp(28px,3vw,48px)}
html body #discovery#discovery .discovery-banner-controls{top:auto;bottom:60px;right:4%;transform:none;width:min(730px,92%);display:flex;flex-direction:row;justify-content:flex-end;gap:8px}
html body #discovery#discovery .discovery-banner-controls .modal-tabs{display:contents!important}
html body #discovery#discovery .discovery-banner-controls :is(.discovery-continue,[data-explore-tab]){width:132px!important;flex:0 1 132px;height:36px!important;min-height:36px!important}
html body #discovery#discovery .budget-filters{display:none!important}
html body #discovery#discovery .discovery-video-banner>.budget-size-select{position:absolute;z-index:4;right:4%;bottom:10px;display:flex!important;align-items:center;gap:8px;box-sizing:border-box;width:244px;height:38px;min-height:38px;padding:4px 10px;margin:0!important;border:1px solid #ffffff55;border-radius:22px;background:#13201dcc;color:#fff}
html body #discovery#discovery .budget-size-select>svg{width:16px;height:16px;flex:none;color:#ff812d}
html body #discovery#discovery .budget-size-select>span{font-size:11px;white-space:nowrap}
html body #discovery#discovery .budget-size-select select{width:100%;min-width:0;flex:1;height:28px;min-height:28px;font-size:13px!important;padding:2px 5px!important;border:0!important;background:transparent!important;color:#fff}
html body #discovery#discovery .budget-size-select option{background:#17211f;color:#fff}
@media(max-width:800px){
 html body #discovery#discovery .discovery-video-banner{height:260px;min-height:260px;max-height:260px;margin-bottom:18px}
 html body #discovery#discovery .discovery-banner-copy{top:86px;left:4%;transform:none;width:90%;max-width:none}
 html body #discovery#discovery .discovery-banner-copy>h1{font-size:23px;max-width:none;line-height:1.25}
 html body #discovery#discovery .discovery-banner-copy>.eyebrow{margin-bottom:7px}
 html body #discovery#discovery .discovery-banner-controls{right:12px;bottom:59px;width:calc(100% - 24px);gap:4px}
 html body #discovery#discovery .discovery-banner-controls :is(.discovery-continue,[data-explore-tab]){width:calc(20% - 4px)!important;flex:1 1 0;min-width:0!important;height:29px!important;min-height:29px!important;padding:3px 2px!important;font-size:9px!important}
 html body #discovery#discovery .discovery-video-banner>.budget-size-select{right:12px;bottom:12px;width:220px;height:34px;min-height:34px}
 @layer pbb-company-controls{
 html body #site-header#site-header.cinema-header{height:80px!important}
 html body #site-header#site-header.cinema-header>.logo{top:4px!important;width:200px!important;height:60px!important}
 html body #site-header#site-header.cinema-header>.tools{right:6px!important;top:20px!important;gap:3px!important}
 html body #site-header#site-header.cinema-header>.tools>button{height:25px!important;min-height:25px!important;min-width:25px!important;padding:3px 4px!important;font-size:9px!important}
 html body #site-header#site-header.cinema-header>.tools>[data-action=garage]{min-width:36px!important;font-size:14px!important}
 html body #site-header#site-header.cinema-header nav{inset:80px auto 0 50%!important;height:calc(100dvh - 80px)!important;max-height:calc(100dvh - 80px)!important}
 @media(max-width:359px){html body #site-header#site-header.cinema-header>.logo{width:160px!important}}
 }
}

/* Keep every discovery ancestor flush, even when arriving from another route. */
html body.discovery-active,html body.discovery-active main,html body.discovery-active #discovery#discovery{margin-top:0!important;padding-top:0!important}
html body #vehicle-detail-page#vehicle-detail-page .ares-detail-showroom{background-image:none!important;background-color:#080d14!important}
@media(min-width:701px){
 html body #vehicle-detail-page#vehicle-detail-page .ares-detail-showroom{background:#080d14 url('/assets/detail-showroom/spotlight-studio-desktop-v19.webp') center/cover no-repeat!important}
 html body #vehicle-detail-page#vehicle-detail-page .ares-showroom-plate{display:none!important}
}

/* A horizontal tab strip keeps translated labels readable on narrow screens. */
@media(max-width:800px){
 html body #discovery#discovery .discovery-banner-controls{justify-content:flex-start;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;gap:6px}
 html body #discovery#discovery .discovery-banner-controls :is(.discovery-continue,[data-explore-tab]){flex:0 0 auto!important;width:auto!important;min-width:90px!important;height:40px!important;min-height:40px!important;padding:6px 12px!important;font-size:11px!important;white-space:nowrap!important;scroll-margin-inline:12px}
}

@layer pbb-company-controls {
 @media(max-width:800px){
  html body #discovery#discovery#discovery .discovery-banner-controls{justify-content:flex-start!important;scroll-padding-inline:12px}
 }
}
