/* Shared customer controls. The owner editor and historical concepts keep their UI. */
@font-face{font-family:Sora;src:url('/assets/fonts/Sora.ttf') format('truetype');font-weight:100 800;font-style:normal;font-display:swap}
body.auto-controls.grand-site{
 --control-neutral:#17222bd9;
}
/* Every customer action uses the same calm, readable control. */
body.auto-controls.grand-site :is(.button,.text-link,.line-link,.gt-menu-toggle,.gt-header-cta,.menu-toggle,.header-cta,.gt-quick,.back-link,.socials :where(a),.gt-social :where(a),.gt-hero-footer>:where(a:last-child),.social-links :where(a),.contact-methods :where(a),.dock-whatsapp,.filter-actions>:where(a),.dialog-close,.nudge-close,.vehicle-detail-link){
 --control-face:var(--control-neutral);
 --control-ink:#f3f5f7;
 display:inline-flex;align-items:center;justify-content:center;gap:12px;
 min-height:48px;max-width:100%;padding:12px 20px;
 border:1px solid #9aabb866;border-radius:6px;
 background:var(--control-face);
 color:var(--control-ink);box-shadow:none;
 font-family:Sora,Arial,sans-serif;font-size:14px;font-weight:500;line-height:1.5;letter-spacing:0;
 text-align:center;text-decoration:none;text-shadow:none;
 cursor:pointer;vertical-align:middle;transform:none;
 transition:filter .14s ease,transform .14s ease,box-shadow .14s ease;
}
body.auto-controls.grand-site :is(.button,.text-link,.line-link,.gt-menu-toggle,.gt-header-cta,.menu-toggle,.header-cta,.gt-quick,.back-link,.socials :where(a),.gt-social :where(a),.gt-hero-footer>:where(a:last-child),.social-links :where(a),.contact-methods :where(a),.dock-whatsapp,.filter-actions>:where(a),.dialog-close,.nudge-close):hover{
 color:var(--control-ink);filter:brightness(1.07);transform:none;text-decoration:none;
}
body.auto-controls.grand-site :is(.button,.text-link,.line-link,.gt-menu-toggle,.gt-header-cta,.menu-toggle,.header-cta,.gt-quick,.back-link,.socials :where(a),.gt-social :where(a),.gt-hero-footer>:where(a:last-child),.social-links :where(a),.contact-methods :where(a),.dock-whatsapp,.filter-actions>:where(a),.dialog-close,.nudge-close):active{
 transform:translateY(2px);filter:brightness(.97);box-shadow:inset 0 2px 5px #0005,0 1px 0 #111920;
}
body.auto-controls.grand-site :is(a,button,summary):focus-visible{
 outline:3px solid #fff;outline-offset:4px;box-shadow:0 0 0 7px #263844;
}
body.auto-controls.grand-site :is(button,.button):disabled,
body.auto-controls.grand-site [aria-disabled="true"]{
 opacity:.48;filter:grayscale(.8);cursor:not-allowed;transform:none;box-shadow:inset 0 1px 2px #ffffff50;
}
body.auto-controls.grand-site :is(.inquiry-dialog,.finance-result) .button.primary{background:var(--control-face);color:var(--control-ink)}
body.auto-controls.grand-site :is(.menu-lines,.gt-menu-icon){border-color:currentColor}
body.auto-controls.grand-site .menu-lines::after{background:currentColor}
body.auto-controls.grand-site .gt-nav-left{gap:15px}
body.auto-controls.grand-site :is(.gt-menu-toggle,.menu-toggle){padding:10px 14px;min-height:46px}
body.auto-controls.grand-site :is(.gt-header-cta,.header-cta){padding:10px 16px;min-height:46px;gap:10px}
body.auto-controls.grand-site .gt-quick{padding:10px 15px;min-height:46px;font-size:14px}
body.auto-controls.grand-site :is(.dialog-close,.nudge-close){width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;font-size:24px;line-height:1;flex:none}
body.auto-controls.grand-site .nudge-close{top:10px;right:10px}
body.auto-controls.grand-site .help-inline .eyebrow{padding-right:34px}
body.auto-controls.grand-site .socials{gap:10px}
body.auto-controls.grand-site :is(.socials :where(a),.gt-social :where(a),.gt-hero-footer>:where(a:last-child),.social-links :where(a)){padding:10px 14px;gap:8px;font-size:14px;min-height:46px;white-space:nowrap}
body.auto-controls.grand-site .gt-social{gap:10px}
body.auto-controls.grand-site .gt-hero-footer{height:82px}
body.auto-controls.grand-site .gt-hero-footer .gt-discover{font-size:12px}
body.auto-controls.grand-site .gt-actions{gap:26px;row-gap:18px}
body.auto-controls.grand-site .gt-home .gt-actions{margin-top:28px}
body.auto-controls.grand-site .filter-actions{grid-column:span 2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:end}
body.auto-controls.grand-site .filter-actions>*{width:100%;min-height:51px;padding:12px 14px;font-size:14px;font-weight:650;line-height:1.35;white-space:normal}
body.auto-controls.grand-site .vehicle-price{flex-wrap:wrap;gap:12px}
body.auto-controls.grand-site .vehicle-detail-link{font-size:12px;min-height:38px;padding:7px 11px;flex:none;cursor:inherit}
body.auto-controls.grand-site .vehicle-card:hover .vehicle-detail-link{filter:brightness(1.07)}
body.auto-controls.grand-site .back-link{margin-bottom:30px}
body.auto-controls.grand-site .inquiry-alternatives{gap:14px}
body.auto-controls.grand-site .detail-contact .button{gap:12px}
body.auto-controls.grand-site .detail-contact .button span{font-size:inherit}
body.auto-controls.grand-site .inquiry-dialog .button{white-space:normal}
body.auto-controls.grand-site .help-inline .nudge-actions{flex-wrap:wrap;gap:12px}
@media(max-width:700px){
 body.auto-controls.grand-site .gt-quick{display:none}
 body.auto-controls.grand-site :is(.gt-header,.lux-header){padding-inline:16px;gap:10px}
 body.auto-controls.grand-site :is(.gt-menu-toggle,.menu-toggle){padding:10px 11px;gap:7px}
 body.auto-controls.grand-site :is(.gt-header-cta,.header-cta){padding:10px 11px;gap:7px}
 body.auto-controls.grand-site .gt-brand>span{width:98px;height:29px}
 body.auto-controls.grand-site .gt-brand img{width:98px;height:98px;top:-35px}
 body.auto-controls.grand-site .gt-hero-footer{height:76px;gap:8px;left:24px;right:24px}
 body.auto-controls.grand-site :is(.gt-social :where(a),.gt-hero-footer>:where(a:last-child)){padding:10px 9px;font-size:14px}
 body.auto-controls.grand-site .gt-social{gap:8px}
 body.auto-controls.grand-site .gt-hero-footer .gt-discover{display:none}
 body.auto-controls.grand-site .gt-hero .gt-actions{gap:16px;flex-wrap:wrap}
 body.auto-controls.grand-site .gt-hero .gt-actions .text-link{white-space:normal;max-width:100%}
 body.auto-controls.horizon .hero-bottom .actions{gap:18px}
 body.auto-controls.horizon .hero-bottom .line-link{padding:12px;gap:8px}
 body.auto-controls.horizon .hero-bottom>.socials{gap:8px}
 body.auto-controls.horizon .hero-bottom .socials :where(a){padding:10px 5px;gap:5px;min-width:0}
 body.auto-controls.grand-site .inquiry-alternatives button{width:100%;justify-content:center}
 body.auto-controls.grand-site .filter-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.auto-controls.grand-site .filter-actions>*{min-height:54px;padding-inline:10px}
 body.auto-controls.grand-site .dialog-top{gap:12px}
 body.auto-controls.grand-site .dialog-top .eyebrow{max-width:230px}
}
@media(max-width:360px){
 body.auto-controls.grand-site :is(.gt-header,.lux-header){padding-inline:12px;gap:7px}
 body.auto-controls.grand-site :is(.gt-menu-toggle,.menu-toggle,.gt-header-cta,.header-cta){padding-inline:8px}
 body.auto-controls.grand-site .gt-brand>span{width:80px;height:25px}
 body.auto-controls.grand-site .gt-brand img{width:80px;height:80px;top:-28px}
 body.auto-controls.grand-site .gt-hero-footer{left:16px;right:16px;gap:6px}
 body.auto-controls.grand-site :is(.gt-social :where(a),.gt-hero-footer>:where(a:last-child)){padding-inline:6px;font-size:13px}
 body.auto-controls.grand-site .gt-social{gap:6px}
 body.auto-controls.horizon .hero-bottom .actions{gap:15px}
}
@media(prefers-reduced-motion:reduce){
 body.auto-controls.grand-site :is(a,button,span){transition:none;animation:none}
 body.auto-controls.grand-site :is(a,button):active{transform:none}
}
/* Blend the header as one group so the original logo's black pixels disappear
   against the photograph even when the header creates a stacking context. */
body.auto-controls.grand-site :is(.gt-header,.lux-header){background:transparent;border-bottom:0;mix-blend-mode:screen;backdrop-filter:none}
body.auto-controls.majak-site:has(main>.gt-hero) .gt-header{position:absolute;inset:0 0 auto}
body.auto-controls.majak-site:has(main>.gt-hero) .gt-hero-title{top:calc(94px + 3rem)}
body.auto-controls.majak-site:has(.gt-menu:not([hidden])) .gt-header,
body.auto-controls.horizon.menu-open .lux-header{mix-blend-mode:normal;background:#091017}
@media(max-width:700px){body.auto-controls.majak-site:has(main>.gt-hero) .gt-hero-title{top:calc(78px + 2.25rem)}}
/* Preserve the original metallic gradients; crop only the empty black margins. */
body.auto-controls.grand-site :is(.gt-brand,.lux-logo,.footer-logo){display:block;width:auto;height:auto;mask:none;-webkit-mask:none;background:none;mix-blend-mode:screen}
body.auto-controls.grand-site .brand-mark{display:block;position:relative;width:168px;height:auto;aspect-ratio:980/190;overflow:hidden;mix-blend-mode:normal}
body.auto-controls.grand-site .brand-mark img{display:block;position:absolute;width:130.612245%;max-width:none;height:auto;left:-15.306122%;top:50%;transform:translateY(-50%);object-fit:contain;opacity:1;filter:none;mask:none;-webkit-mask:none}
body.auto-controls.grand-site .brand-leather{display:block;width:168px;max-width:100%;margin:0;mix-blend-mode:screen}
@media(max-width:700px){
 body.auto-controls.grand-site .brand-mark{width:112px}
 body.auto-controls.grand-site :is(.gt-footer,.lux-footer) .brand-mark{width:168px}
}
@media(max-width:360px){
 body.auto-controls.grand-site :is(.gt-header,.lux-header) .brand-mark{width:98px}
}

/* Equal actions on desktop, full-width rows on mobile. */
body.auto-controls.grand-site .hero-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:min(100%,690px);margin:26px auto 0}
body.auto-controls.grand-site .hero-actions>.button{width:100%;min-width:0;min-height:64px;padding:14px 16px;font-size:14px;font-weight:600;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
body.auto-controls.grand-site .gt-home .gt-hero-detail{max-width:690px;width:calc(100% - 96px)}
body.auto-controls.grand-site .gt-import .gt-hero-detail{max-width:690px;width:calc(100% - 96px)}
body.auto-controls.horizon .hero-bottom>div:first-child{width:690px;max-width:100%;min-width:0}
body.auto-controls.horizon .scroll-cue{display:none}
@media(max-width:1050px) and (min-width:701px){
 body.auto-controls.horizon .hero-bottom>div:first-child{width:calc(100% - 160px)}
}
@media(max-width:700px){
 body.auto-controls.grand-site .hero-actions{grid-template-columns:minmax(0,1fr);gap:10px;width:100%;margin-top:22px}
 body.auto-controls.grand-site .hero-actions>.button{min-height:52px;padding:12px 16px}
 body.auto-controls.grand-site :is(.gt-home,.gt-import) .gt-hero-detail{width:auto}
 body.auto-controls.horizon .hero-bottom>div:first-child{width:100%}
}
@media(max-width:700px){
 body.auto-controls.majak-site.grand-site :is(.gt-home,.gt-import,.gt-vehicles) .gt-hero-footer{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:8px;height:auto}
 body.auto-controls.majak-site.grand-site .gt-hero-footer .gt-social{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.auto-controls.majak-site.grand-site .gt-hero-footer a{width:100%;min-width:0;padding-inline:4px;font-size:13px;white-space:normal}
}

/* Photographs extend behind the header on every photo-led customer page. */
body.auto-controls.majak-site.grand-site :is(.gt-home,.gt-vehicles,.gt-import) .gt-hero-photo{top:0;height:100%;mask-image:none;-webkit-mask-image:none}
