/* Shared navigation and language controls for the updated JAC pages. */
.language-switch{display:flex;align-items:center;flex-shrink:0;border:1px solid #ffffff32;border-radius:30px;padding:3px;gap:2px;margin-left:auto}
.language-switch a{display:grid;place-items:center;min-width:36px;min-height:34px;padding:5px 7px;border-radius:20px;font-size:11px;font-weight:700;line-height:1;letter-spacing:.06em;color:#b7b9bd;text-decoration:none}
.language-switch a[aria-current="true"]{background:#f1eee8;color:#15171b}
.language-switch a:hover{color:#ed3439}
.language-switch a:focus-visible{outline:2px solid #ed3439;outline-offset:3px}
.site-header .desktop-nav{gap:clamp(13px,1.8vw,28px)}
html[lang="kk"] .site-header .desktop-nav a{font-size:11px;letter-spacing:.02em}
html[lang="kk"] .dialog h2{font-size:clamp(34px,5vw,62px)}
@media(max-width:1100px){.site-header{gap:17px}.site-header .desktop-nav{gap:12px}.site-header .desktop-nav a{font-size:10px}.site-header .header-phone{font-size:17px}.language-switch a{min-width:31px;min-height:30px}}
@media(max-width:900px){.site-header .desktop-nav{display:none}.language-switch{margin-left:auto}.site-header .menu-toggle{display:flex}}
@media(max-width:520px){.site-header{gap:10px}.site-header .brand{width:83px}.site-header .brand img{width:83px}.site-header .header-phone{font-size:15px;gap:5px}.site-header .header-phone svg{width:14px;height:14px}.language-switch a{font-size:10px;min-width:29px;min-height:29px;padding:4px}.language-switch{padding:2px}.menu-toggle{width:32px!important;min-width:32px!important}}
@media(max-width:360px){.site-header{padding-left:12px;padding-right:12px;gap:8px}}

@media(max-width:600px){body.jac-noir.admin .site-header{top:53px}body.jac-noir.admin .mobile-menu:not([hidden]){top:130px}}

/* Keep the white action surface and its label in sync across NOIR and CMS buttons. */
body.jac-noir :is(.button,.btn,.btn1,.btn2,.circle-button,.body-result-enquiry,.floating-phone,.back-top,.jac-network-card__contact,.jac-network__empty>button):is(:hover,:focus-visible){
  background:#fff!important;
  color:#000!important;
  -webkit-text-fill-color:currentColor!important;
}
body.jac-noir :is(.button,.btn,.btn1,.btn2,.circle-button,.body-result-enquiry,.floating-phone,.back-top,.jac-network-card__contact,.jac-network__empty>button):is(:hover,:focus-visible) *{
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
}
/* Preserve unfilled line icons; explicitly painted SVG parts follow the label. */
body.jac-noir :is(.button,.btn,.btn1,.btn2,.circle-button,.body-result-enquiry,.floating-phone,.back-top,.jac-network-card__contact,.jac-network__empty>button):is(:hover,:focus-visible) :is(svg:not([stroke="none"]),[stroke]:not([stroke="none"])){stroke:currentColor!important}
body.jac-noir :is(.button,.btn,.btn1,.btn2,.circle-button,.body-result-enquiry,.floating-phone,.back-top,.jac-network-card__contact,.jac-network__empty>button):is(:hover,:focus-visible) [fill]:not([fill="none"]){fill:currentColor!important}
body.jac-noir .button:is(:hover,:focus-visible)::before{background:#fff;transform:none}
body.jac-noir .button:is(:hover,:focus-visible) .button-arrow{border-color:#0003}

/* Only selected catalogue tabs have a light surface; dark tabs keep their own state. */
body.jac-noir .model-filters>button.active:is(:hover,:focus-visible),
body.jac-noir .model-filters>button.active:is(:hover,:focus-visible) *{color:#000!important;-webkit-text-fill-color:currentColor!important}
