/* Keep the original yellow/white theme and header structure. */
/* Keyboard focus opens the same menu as pointer hover, including nested links. */
@media(min-width:1081px){#hd .menu>.mi:focus-within>.mega{display:block;visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0)}}
#hd { background: #fff; border-top: 0 !important; }
/* CMS direct links and expandable groups use the same readable mobile rows. */
#drawer[aria-hidden="true"]{visibility:hidden;pointer-events:none}
#drawer[aria-hidden="false"]{visibility:visible;pointer-events:auto}
#drawer nav>a{display:flex;align-items:center;min-height:52px;padding:14px var(--pad);border-bottom:1px solid var(--line);color:var(--aq-ink,#17181a);font-size:16px;font-weight:500;line-height:1.5}
#drawer nav>details>summary{min-height:52px;font-size:16px;font-weight:500;line-height:1.5}
#drawer .drawer__hd img{height:36px;width:auto;max-width:200px;object-fit:contain}
.topbar {
  position: relative;
  z-index: 151;
  background: var(--brand, #f2f224) !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}
.topbar::before, .topbar::after { display: none !important; }
.is-stuck .topbar { overflow: hidden; visibility: hidden; }
.topbar__in, .nav__in, .hv-wrap {
  width: min(1192px, calc(100% - 2 * var(--pad))) !important;
  max-width: none;
  padding-inline: 0;
  margin-inline: auto;
}
.topbar__l { min-width: 0; flex: 1 1 auto; flex-wrap: nowrap; }
.topbar__l > a { flex-shrink: 0; white-space: nowrap; }
.topbar__tags { min-width: 0; flex-wrap: nowrap; overflow: visible; white-space: nowrap; }
.topbar__tags span { flex-shrink: 0; }
.topbar__tags span[hidden] { display: none !important; }
.topbar__r { flex: 0 0 auto; }
/* Compensate for the existing logo PNG's blank margins without changing the asset. */
.brand > img {
  height: 36px !important;
  width: auto;
  max-width: none;
  margin-left: -23.54px;
  margin-right: -27.23px;
}
.nav__in { gap: 16px !important; }
.menu { min-width: 0; gap: clamp(4px, .5vw, 10px) !important; }
.mi > a { white-space: nowrap; }


.aq-language { position: relative; font-size: 13px; line-height: 1.4; }
.aq-language summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  cursor: pointer;
  white-space: nowrap;
  color: #17181a;
  font-weight: 500;
}
.aq-language summary::-webkit-details-marker { display: none; }
.aq-language-chevron { width: 12px; height: 12px; margin-left: 3px; }
.aq-language[open] .aq-language-chevron { transform: rotate(180deg); }
.aq-language-options {
  position: absolute;
  top: calc(100% + 3px);
  right: 0;
  width: 190px;
  max-width: calc(100vw - 32px);
  padding: 7px;
  background: #fff;
  color: #17181a;
  border: 1px solid #e2e2dc;
  border-radius: 5px;
  box-shadow: 0 12px 30px rgb(0 0 0 / .12);
}
.aq-language-options a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 3px;
  color: #17181a !important;
  font-size: 14px;
  font-weight: 400 !important;
  white-space: nowrap;
}
.aq-language-options a:hover, .aq-language-options a:focus-visible,
.aq-language-options a[aria-current] { background: #f5f5ee; }
.aq-language-check { margin-left: auto; flex: 0 0 15px; }
.aq-language summary:focus-visible { outline: 2px solid #17181a; outline-offset: 3px; border-radius: 2px; }
@media (max-width: 768px) {
  .topbar__in, .nav__in, .hv-wrap { width: calc(100% - 32px) !important; }
  .topbar__in, .topbar__l { gap: 8px; }
  .topbar__tags { display: none; }
  .topbar__l > a { font-size: 12px; letter-spacing: 0; }
  .aq-language summary { gap: 6px; font-size: 12px; }
  .aq-language-chevron { margin-left: 0; }
  .nav__in { gap: 10px !important; }
}
@media (max-width: 480px) { .aq-hotline-label { display:none; } }

/* One navigation structure for all locales. Language stays at the physical end. */
.nav__in { width:min(1600px,calc(100% - 2 * var(--pad)))!important;gap:16px!important; }
.nav__in>.aq-language { flex:0 0 auto;margin-left:0;order:10;direction:ltr; }
.nav__in>.aq-language summary { gap:6px;font-size:13px; }
.brand { flex-shrink:0;gap:10px!important; }
.brand__txt { display:block!important;max-width:160px; }
.brand__txt b { font-size:15px!important; }
.menu { margin-left:auto;gap:8px!important; }
.mi>a { font-size:14px!important;padding-inline:0!important; }
.acts { gap:8px!important;flex-shrink:0; }
.acts .btn--ghost { display:inline-flex!important; }
.acts .btn { padding-inline:14px!important;font-size:14px!important;white-space:nowrap; }
/* Keep complete desktop navigation; only tablet/phone widths use the drawer. */
@media(min-width:1081px){.nav__in .menu{display:flex!important;flex:1 1 auto;min-width:0}.nav__in .burger{display:none!important}.nav__in .mi{min-width:0;flex:0 1 auto}.nav__in .mi>a{white-space:normal;line-height:1.4;text-align:center;hyphens:auto}.nav__in .mi>a .car{flex:0 0 9px}}
@media(min-width:1081px) and (max-width:1699px){.nav__in{width:calc(100% - 32px)!important;gap:10px!important}.nav__in .menu{gap:7px!important}.nav__in .mi>a{font-size:13px!important}.nav__in .brand__txt{max-width:118px}.nav__in .brand__txt b{font-size:12px!important}.nav__in .brand__txt small{font-size:9px!important;letter-spacing:.1em}.nav__in .brand{gap:7px!important}.nav__in .acts{gap:5px!important}.nav__in .acts .btn{font-size:12px!important;padding-inline:10px!important}.nav__in .acts .iconbtn{width:34px;height:36px}.nav__in>.aq-language summary{font-size:12px;gap:5px}}
@media(min-width:1081px) and (max-width:1279px){.nav__in{gap:7px!important}.nav__in .menu{gap:5px!important}.nav__in .mi>a{font-size:12px!important}.nav__in .brand__txt{max-width:105px}.nav__in .acts .btn{padding-inline:7px!important;font-size:11px!important}}
@media(max-width:1080px){.nav__in .menu{display:none!important}.nav__in .burger{display:flex!important}.nav__in .acts{margin-left:auto}}
@media(max-width:768px){.nav__in{width:calc(100% - 32px)!important;flex-wrap:wrap;padding-block:12px!important}.brand__txt{max-width:125px!important}.brand__txt b{font-size:12px!important}.brand__txt small{font-size:9px!important}.nav__in .acts{display:none!important}.nav__in>.aq-language{margin-left:auto}.nav__in .burger{order:9;margin-left:auto}.aq-language summary>span{max-width:68px;overflow:hidden;text-overflow:ellipsis}.nav__in>.aq-language summary{font-size:12px}.brand>img{height:30px!important;margin-left:-19.6px;margin-right:-22.7px}}
html[dir="rtl"] main,html[dir="rtl"] footer { direction:rtl;text-align:right; }
html[dir="rtl"] .nav__in,html[dir="rtl"] .topbar__in { direction:ltr; }
html[dir="rtl"] .mi>a,html[dir="rtl"] .brand__txt,html[dir="rtl"] .aq-language-options { direction:rtl; }
html[dir="rtl"] input[type="email"],html[dir="rtl"] input[type="tel"],html[dir="rtl"] a[href^="mailto:"],html[dir="rtl"] a[href^="tel:"] { direction:ltr;unicode-bidi:isolate; }
html[dir="rtl"] .aq-tech-open { text-align:right; }
html[dir="rtl"] .hv-hero__inner { direction:ltr; }
html[dir="rtl"] .hv-hero__copy { direction:rtl;text-align:right; }

.brand__txt{display:flex!important;flex-direction:column}.brand__txt small{display:block;white-space:nowrap;font-size:10px!important}

@media(max-width:768px){.nav__in .acts{display:flex!important;margin-left:auto!important}.nav__in .acts>.btn,.nav__in .acts>.iconbtn{display:none!important}.nav__in .acts>.burger{display:flex!important}.nav__in>.aq-language{margin-left:0}.nav__in .brand__txt{max-width:115px!important}}
html[lang="ar"] { --aq-font:Tahoma,Arial,sans-serif; }
html[dir="rtl"] .skip { left:0;top:0;transform:translateY(-200%); }
html[dir="rtl"] .skip:focus { transform:none; }
html[dir="rtl"] .hv-hero h1 { font-size:clamp(36px,3.8vw,64px)!important;line-height:1.45!important; }
html[dir="rtl"] .hv-hero__lead { line-height:1.9; }
.aq-honey { position:absolute!important;left:0!important;top:0!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap;pointer-events:none; }

@media(max-width:768px){.nav__in{flex-wrap:nowrap!important;gap:6px!important}.nav__in .brand__txt{max-width:100px!important}.nav__in>.aq-language summary>span{max-width:62px}.nav__in .acts{margin-left:auto!important}}
@media(max-width:360px){.nav__in .brand__txt{display:none!important}}
html[dir="rtl"] .hv-hero h1 em{display:block;margin-top:6px}
html[dir="rtl"] .hv-hero__stats b{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .hv-hero__stats b span{margin-left:5px}
.nav__in .brand__txt{min-width:0}.nav__in .brand__txt b{overflow-wrap:anywhere;hyphens:auto}

/* Three header zones: brand at the left edge, centered navigation, actions at right. */
@media(min-width:1081px){
 #hd .nav__in{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;width:calc(100% - 2 * var(--pad))!important;margin-inline:auto!important;gap:24px!important}
 #hd .nav__in>.brand{justify-self:start}
 #hd .nav__in .menu{justify-self:stretch;justify-content:center;margin:0!important;padding-inline:0;gap:clamp(8px,.8vw,14px)!important}
 #hd .nav__in>.acts{justify-self:end}
 #hd .nav__in .aq-nav-phone{order:0}
 #hd .nav__in .aq-consultation{order:1}
 .nav__in .mi>a{padding-inline:4px!important;font-weight:500}
 .mega__in{width:min(1192px,calc(100% - 2 * var(--pad)));max-width:none;margin-inline:auto;padding-inline:0}
 .mega li a{padding:9px 12px;border-radius:4px}
}
@media(min-width:1081px) and (max-width:1279px){#hd .nav__in{gap:12px!important}#hd .nav__in .menu{gap:5px!important;padding-inline:0}.nav__in .mi>a{padding-inline:2px!important}}

.nav__in .aq-consultation{display:inline-flex!important;background:var(--brand,#f2f224)!important;color:#17181a!important;border-color:#dddd16!important}
@media(max-width:768px){.nav__in .acts>.aq-consultation{display:none!important}}

#hd:not(.is-stuck){background:var(--brand,#f2f224)!important;border:0!important;outline:0!important;box-shadow:none!important}#hd:not(.is-stuck)::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--brand,#f2f224);z-index:200;pointer-events:none}.topbar{background-image:none!important;box-shadow:0 -2px 0 var(--brand,#f2f224)!important}

#hd .nav{background:#fff!important}

/* Match the consultation control to the 36px logo instead of enlarging the header. */
.nav__in .acts>.aq-consultation{height:36px!important;min-height:36px!important;padding-block:0!important;box-sizing:border-box;line-height:1.3;border-radius:4px;box-shadow:0 3px 8px rgb(125 121 0 / .12)}
@media(min-width:1081px){
 #hd .nav__in{min-height:64px!important;padding-block:0!important}
 #hd.is-stuck .nav__in{min-height:60px!important}
 #hd .menu>.mi>a{padding-block:16px!important}
 #hd .menu>.mi>a::after{bottom:8px}
}

/* Keep the three header zones in one compact, legible navigation band. */
@media(min-width:1081px){#hd .nav__in{width:min(1360px,calc(100% - 48px))!important;gap:20px!important}#hd .nav__in .menu{gap:8px!important}#hd .nav__in .mi>a{font-size:15px!important;font-weight:600!important;color:#202226!important;line-height:1.5;letter-spacing:0;padding-inline:5px!important}#hd .nav__in .aq-nav-phone{font-size:15px;font-weight:600}}
@media(min-width:1081px) and (max-width:1279px){#hd .nav__in{width:calc(100% - 32px)!important;gap:10px!important}#hd .nav__in .menu{gap:4px!important}#hd .nav__in .mi>a{font-size:13px!important;padding-inline:2px!important}#hd .nav__in .aq-nav-phone{font-size:13px}}

@media(min-width:1280px){#hd .nav .nav__in .menu>.mi>a{font-size:15px!important;font-weight:600!important}}
@media(min-width:1081px) and (max-width:1279px){#hd .nav .nav__in .menu>.mi>a{font-size:13px!important;font-weight:600!important}}

/* Requested action order: consultation first, telephone second. */
/* Explicit desktop grid: CMS product groups must not fall back to block flow. */
@media(min-width:1081px){
 #hd .mega__in{display:grid!important;align-items:start}
 #hd .mega__in:has(>div:nth-child(4)):not(:has(>.mega__promo)){grid-template-columns:repeat(4,minmax(0,1fr))!important}
 #hd .mega__in--pd{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:28px;padding-block:26px;max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain}
 #hd .mega__in--pd>div{min-width:0}
 #hd .mega__in--pd h4{font-family:inherit;font-size:14px;letter-spacing:.04em;line-height:1.5}
 #hd .mega__in--pd li a{font-size:14px;line-height:1.5;min-height:38px;white-space:normal}
}
@media(min-width:1081px){#hd .nav__in .aq-consultation{order:0}#hd .nav__in .aq-nav-phone{order:1;margin-inline-start:8px;font-weight:500}#hd .nav__in>.acts{gap:10px!important}}

@media(min-width:1081px){#hd .nav__in>.acts>.aq-nav-phone{font-size:14px;font-weight:400}}

/* Main navigation uses the requested regular weight at every desktop width. */
#hd .nav .nav__in .menu>.mi>a{font-weight:400!important}
#hd .menu>.mi>a .car{opacity:0;transition:opacity .15s ease}
#hd .menu>.mi:hover>a .car,#hd .menu>.mi:focus-within>a .car{opacity:1}
