/* BTL three-level header. Independent navigation and shared alignment. */
header.btl-threelevel-header{--btl3-ink:#00508c;--btl3-dark:#000a32;--btl3-pale:#f4f9ff;--btl3-gradient:linear-gradient(90deg,#000a32,#00508c);--btl3-side:clamp(20px,3vw,48px);--btl3-max:1440px;--btl3-admin:0px;--btl3-util-h:44px;--btl3-top-h:76px;--btl3-blue-h:54px;--btl3-mobile-h:72px;--btl3-results-top:120px;position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;display:block!important;background:none!important;z-index:10000!important;color:var(--btl3-ink);overflow:visible!important;box-sizing:border-box}
.btl-threelevel-header *, .btl-threelevel-header *::before,.btl-threelevel-header *::after{box-sizing:border-box}
.btl-threelevel-header [hidden]{display:none!important}
.btl-threelevel-header a{text-decoration:none;color:inherit}
.btl-threelevel-header button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;margin:0;padding:0;text-align:inherit}
.btl-threelevel-header :focus-visible{outline:2px solid #009ddb;outline-offset:2px}
.btl-threelevel-header ul{list-style:none;margin:0;padding:0}
.btl-threelevel-header .btl3-inner{width:calc(100% - var(--btl3-side)*2)!important;max-width:var(--btl3-max)!important;margin:0 auto!important;padding:0!important;position:relative;min-width:0}
.btl-threelevel-header .btl3-utility{background:#fff;z-index:5;position:relative;min-height:var(--btl3-util-h)}
.btl-threelevel-header .btl-threelevel-header__top{background:var(--btl3-pale);position:relative;z-index:4}
.btl-threelevel-header .btl-threelevel-header__top-inner{display:grid;grid-template-columns:auto minmax(145px,1fr) minmax(110px,1fr) minmax(200px,420px);align-items:center;gap:clamp(12px,2vw,30px);height:var(--btl3-top-h)}
.btl-threelevel-header__logo{display:flex;align-items:center;justify-self:start}
.btl-threelevel-header__logo-img{display:block;width:clamp(82px,7vw,105px);height:auto}
.btl-threelevel-header__phone-block,.btl-threelevel-header__schedule-block{display:flex;flex-direction:column;align-items:center;gap:4px;white-space:nowrap;line-height:1.2;font-size:clamp(13px,1.05vw,16px)}
.btl-threelevel-header__phone,.btl-threelevel-header__schedule-time{display:flex;align-items:center;gap:7px}
.btl-threelevel-header__icon{display:inline-flex;width:18px;height:18px;align-items:center}
.btl-threelevel-header__icon img{display:block;width:100%;height:100%;object-fit:contain}
.btl-threelevel-header__callback{border-bottom:1px dotted currentColor;font-size:.9em}
.btl-threelevel-header__schedule-days{font-size:.9em}
.btl-threelevel-header .btl-threelevel-header__desktop-menu-toggle{display:none;position:relative;border:1px solid currentColor;border-radius:24px;padding:9px 11px 9px 32px;font-size:13px;white-space:nowrap}
.btl-threelevel-header__desktop-menu-toggle i{position:absolute;left:11px;width:13px;height:1px;background:currentColor;top:12px}
.btl-threelevel-header__desktop-menu-toggle i:nth-child(2){top:17px}.btl-threelevel-header__desktop-menu-toggle i:nth-child(3){top:22px}
.btl-threelevel-header .btl3-main{position:relative;z-index:3;background:var(--btl3-gradient);color:white}
.btl3-main-inner{display:flex;align-items:center;justify-content:space-between;gap:clamp(10px,1.4vw,25px);min-height:var(--btl3-blue-h)}
.btl3-primary-nav{flex:1 1 auto;min-width:0}.btl3-secondary-nav{display:flex;justify-content:flex-end}
.btl3-roots{display:flex;align-items:stretch;gap:clamp(10px,1.6vw,30px);min-width:0}
.btl3-primary-nav .btl3-roots{flex-wrap:nowrap;column-gap:clamp(8px,1.5vw,27px);row-gap:0}
.btl3-secondary-nav .btl3-roots{flex-wrap:wrap;justify-content:flex-end;gap:clamp(12px,2vw,35px)}
.btl3-root{position:relative;display:flex;align-items:center;min-width:0}
.btl3-root.btl3-mega-root{position:static}
.btl3-item-line{display:flex;align-items:stretch;min-width:0}
.btl3-link{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;flex:1 1 auto;font-weight:400;line-height:1.25;color:inherit}
.btl3-label{min-width:0;overflow-wrap:anywhere}
.btl3-root>.btl3-item-line>.btl3-link{min-height:var(--btl3-blue-h);font-size:clamp(12px,1.02vw,16px);white-space:nowrap}
.btl3-secondary-nav .btl3-root>.btl3-item-line>.btl3-link{min-height:var(--btl3-util-h);font-size:clamp(14px,1.05vw,16px);font-weight:500;text-decoration:underline;text-decoration-color:#a5c2db;text-underline-offset:4px}
.btl3-arrow{flex:0 0 20px;display:flex;align-items:center;justify-content:center;min-width:20px}
.btl3-chevron{display:inline-block;width:7px;height:7px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 4px 4px;pointer-events:none}
.btl3-toggle[aria-expanded=true] .btl3-chevron{transform:rotate(225deg);margin-bottom:0;margin-top:4px}
.btl-threelevel-header .btl3-country{display:flex!important;align-items:center;gap:7px;flex:none;white-space:nowrap;color:#fff!important;font-size:clamp(12px,1vw,15px);padding:0!important;margin:0!important;width:auto!important;height:auto!important}
.btl3-country img{width:26px;height:26px;object-fit:contain}
.btl3-dropdown{position:absolute;background:#fff;color:var(--btl3-ink);box-shadow:0 12px 26px #000a321c;z-index:15;top:100%;max-height:var(--btl3-drop-height,65vh);overflow:auto;overscroll-behavior:contain}
.btl3-simple{left:0;width:max-content;min-width:220px;max-width:min(440px,90vw);padding:10px 16px}
.btl3-simple .btl3-link{padding:10px 0;font-size:14px}.btl3-subpanel{padding-left:14px}
.btl3-simple .btl3-normal-item+.btl3-normal-item{border-top:1px solid #d4e1ed}
.btl3-simple .btl3-link:hover{color:#009ddb}
.btl3-mega{left:0;right:0;width:100%}
.btl-threelevel-header .btl3-mega-grid{display:grid;grid-template-columns:minmax(210px,280px) minmax(0,1fr);gap:24px;padding:14px 0!important;align-items:stretch}
.btl3-groups{display:flex;flex-direction:column;gap:4px}
.btl3-group{background:#dceffc;color:var(--btl3-ink)}
.btl3-group>.btl3-item-line>.btl3-link{min-height:64px;padding:12px 14px;font-size:14px;font-weight:500;text-transform:uppercase}
.btl3-group .btl3-arrow{flex-basis:34px}.btl3-group .btl3-chevron,.btl3-group .btl3-toggle[aria-expanded=true] .btl3-chevron{transform:rotate(-45deg);margin:0 4px 0 0}
.btl3-group.is-current{background:linear-gradient(90deg,#00508c,#000a32);color:white}
.btl3-mega-right{min-width:0;display:flex;flex-direction:column}
.btl3-banner{flex:1;display:flex;min-height:260px}.btl3-banner-placeholder{background:var(--btl3-gradient);color:#fff;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:22px;text-align:center;font-size:clamp(18px,2vw,32px)}
.btl3-banner-placeholder img{width:min(240px,60%);height:auto;object-fit:contain}.btl3-banner-link{display:block;width:100%}.btl3-banner-img{display:block;width:100%;height:100%;max-height:360px;object-fit:contain;background:var(--btl3-dark)}
.btl3-panel-heading{font-size:clamp(15px,1.2vw,19px);font-weight:500;text-transform:uppercase;margin:12px 0 10px}
.btl3-group-panel>.btl3-sublist{columns:2;column-gap:22px}.btl3-group-panel .btl3-normal-item{break-inside:avoid;border-bottom:1px solid #d4e1ed}
.btl3-group-panel .btl3-link{min-height:49px;font-size:clamp(13px,1.08vw,16px);font-weight:500;padding:3px 0}
.btl3-group-panel .btl3-link:hover{background:linear-gradient(90deg,#96d2ff,#fff)}
.btl3-item-image{display:block;width:72px;height:44px;object-fit:contain;flex:0 0 72px}
.btl3-mobile-logo,.btl3-mobile-tools,.btl3-mobile-panel,.btl-threelevel-phone-modal{display:none!important}
body.admin-bar .btl-threelevel-header{--btl3-admin:32px}
@media(min-width:992px){
 body:has(> .btl-threelevel-header){padding-top:0!important}
 .btl-threelevel-header.is-desktop-scrolled{height:var(--btl3-full-height,174px)!important}
 .btl-threelevel-header.is-desktop-scrolled .btl-threelevel-header__top{position:fixed!important;top:var(--btl3-admin);left:0;right:0;z-index:6;box-shadow:0 4px 18px #000a3214}
 .btl-threelevel-header.is-desktop-scrolled .btl-threelevel-header__top-inner{grid-template-columns:auto auto minmax(140px,1fr) minmax(100px,1fr) minmax(180px,420px);gap:clamp(8px,1.3vw,24px)}
 .btl-threelevel-header.is-desktop-scrolled .btl-threelevel-header__desktop-menu-toggle{display:inline-flex;align-items:center}
 /* Keep the two navigation tiers laid out while sticky, so they can
    animate in both directions without display:none or a layout jump. */
 .btl-threelevel-header.is-desktop-scrolled .btl3-utility{position:fixed!important;top:calc(var(--btl3-admin) + var(--btl3-top-h));left:0;right:0}
 .btl-threelevel-header.is-desktop-scrolled .btl3-main{position:fixed!important;top:calc(var(--btl3-admin) + var(--btl3-top-h) + var(--btl3-actual-util,var(--btl3-util-h)));left:0;right:0}
}
@media(min-width:992px) and (max-width:1199.98px){.btl-threelevel-header{--btl3-side:20px}.btl3-primary-nav .btl3-roots{column-gap:9px}.btl3-root>.btl3-item-line>.btl3-link{font-size:12px}.btl3-arrow{flex-basis:16px;min-width:16px}.btl3-country img{width:21px;height:21px}.btl3-group-panel .btl3-link{font-size:13px}}
/* Mobile: fixed header and accordion; native scrolling. */
@media(max-width:991.98px){
 header.btl-threelevel-header{position:fixed!important;top:var(--btl3-admin)!important;left:0!important;right:0!important;height:var(--btl3-mobile-h)!important;--btl3-side:16px}
 body:has(> .btl-threelevel-header){padding-top:72px!important}
 .btl-threelevel-header .btl3-utility,.btl3-desktop-nav,.btl-threelevel-header .btl3-country{display:none!important}
 .btl-threelevel-header:not(.is-mobile-search-open) .btl-threelevel-header__top{display:none!important}
 .btl-threelevel-header .btl3-main{z-index:5}
 .btl3-main-inner{height:var(--btl3-mobile-h);min-height:var(--btl3-mobile-h)}
 .btl-threelevel-header .btl3-mobile-logo{display:flex!important;align-items:center;flex:none}.btl3-mobile-logo img{display:block;width:78px;height:auto;max-height:48px;object-fit:contain}
 .btl-threelevel-header .btl3-mobile-tools{display:flex!important;align-items:center;justify-content:flex-end;gap:clamp(8px,3vw,20px);color:#fff}
 .btl3-mobile-tools button{display:flex;align-items:center;justify-content:center;min-height:40px;min-width:32px}
 .btl3-mobile-tools img{display:block;width:26px;height:26px;object-fit:contain}
 .btl-threelevel-header .btl3-mobile-toggle{border:1px solid #fff;border-radius:40px;padding:0 12px;gap:9px;font-size:14px;font-weight:500;white-space:nowrap}
 .btl3-burger{width:14px;height:12px;position:relative;border-top:1px solid;border-bottom:1px solid}.btl3-burger:after{content:'';height:1px;width:100%;background:currentColor;position:absolute;top:5px;left:0}
 .btl3-mobile-toggle[aria-expanded=true] .btl3-burger{border:none}.btl3-mobile-toggle[aria-expanded=true] .btl3-burger:before,.btl3-mobile-toggle[aria-expanded=true] .btl3-burger:after{content:'';position:absolute;top:5px;left:0;width:100%;height:1px;background:currentColor;transform:rotate(45deg)}.btl3-mobile-toggle[aria-expanded=true] .btl3-burger:after{transform:rotate(-45deg)}
 .btl-threelevel-header .btl3-mobile-panel:not([hidden]){display:block!important;position:fixed;top:calc(var(--btl3-admin) + var(--btl3-mobile-h));left:0;right:0;bottom:0;background:white;overflow:auto;overscroll-behavior:contain;z-index:4;color:var(--btl3-ink)}
 .btl3-mobile-content{padding:16px 20px 30px}.btl3-mobile-main>.btl3-mobile-item>.btl3-item-line>.btl3-link{min-height:46px;font-size:15px;font-weight:500;text-transform:uppercase}
 .btl3-mobile-content .btl3-arrow{flex:0 0 44px;min-height:44px}
 /* The root, group and product must have progressively inset text edges. */
 .btl-threelevel-header .btl3-mobile-main > .btl3-mobile-item > .btl3-mobile-children {margin:2px 0 10px 8px;border-left:2px solid #d4e1ed;padding-left:8px}
 .btl-threelevel-header .btl3-mobile-group{margin:0 0 4px;border-bottom:0}
 .btl-threelevel-header .btl3-mobile-group > .btl3-item-line{background:#dceffc;color:#00508c}
 .btl-threelevel-header .btl3-mobile-group > .btl3-item-line > .btl3-link{font-size:14px!important;text-transform:none!important;font-weight:500!important;line-height:1.3!important;padding:10px 8px;min-height:50px}
 .btl-threelevel-header .btl3-mobile-group > .btl3-item-line > .btl3-link > .btl3-label{font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;color:inherit}
 .btl-threelevel-header .btl3-mobile-group > .btl3-item-line > button.btl3-link{padding-right:18px}
 .btl-threelevel-header .btl3-mobile-group:has(> .btl3-mobile-group-content:not([hidden])) > .btl3-item-line{background:var(--btl3-gradient);color:white}
 .btl-threelevel-header .btl3-mobile-group-content > .btl3-sublist{padding:0 8px 4px 18px}
 .btl-threelevel-header .btl3-mobile-group-content .btl3-link{padding:8px 0;min-height:48px;font-size:14px!important;font-weight:400!important;line-height:1.3!important;text-transform:none!important}
 .btl-threelevel-header .btl3-mobile-group-content .btl3-link > .btl3-label{font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}
 .btl3-mobile-group-content li+li{border-top:1px solid #d4e1ed}
 .btl-threelevel-header .btl3-mobile-content .btl3-toggle:focus-visible{outline-offset:-2px}
 .btl3-mobile-content .btl3-sublist .btl3-link{padding:9px 0;min-height:42px;font-size:14px}.btl3-mobile-content .btl3-subpanel{padding-left:16px}
 .btl3-mobile-aux{border-top:1px solid #e3e8eb;border-bottom:1px solid #e3e8eb;margin-top:16px;padding:10px 0}.btl3-mobile-aux-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.btl3-mobile-aux .btl3-link{font-size:14px;min-height:42px;padding:6px 0}.btl3-mobile-aux .btl3-mobile-children{padding:5px 10px;background:#f4f9ff}
 .btl3-mobile-country{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #e3e8eb;font-size:15px}.btl3-mobile-contact{text-align:center;padding:16px 0 10px}
 body.btl3-menu-open{overflow:hidden!important}
 .btl-threelevel-header.is-mobile-search-open .btl-threelevel-header__top{position:fixed!important;left:0;right:0;top:var(--btl3-admin);height:var(--btl3-mobile-h);z-index:8;background:#F4F9FF!important;display:block!important}
 .btl-threelevel-header.is-mobile-search-open .btl-threelevel-header__top-inner{display:flex!important;align-items:center!important;gap:0!important;height:var(--btl3-mobile-h)}
 .btl-threelevel-header.is-mobile-search-open .btl-threelevel-header__top-inner>:not(#search-form){display:none!important}
 .btl-threelevel-header.is-mobile-search-open #search-form.btl-threelevel-header__search-wrap{flex:1 1 auto!important;width:100%!important;max-width:none!important;min-width:0!important;height:46px!important;min-height:46px!important;background:transparent!important;border-radius:0!important}
 .btl-threelevel-header.is-mobile-search-open .btl-threelevel-header__search{height:46px!important;background:#fff!important}
 .btl-threelevel-header.is-mobile-search-open #input-search-form.btl-threelevel-header__search-input{height:44px!important;line-height:44px!important;font-size:17px!important;color:#005B9A!important}
 /* Keep the auxiliary disclosure adjacent to its own label, not the column edge. */
 .btl-threelevel-header .btl3-mobile-aux-row > .btl3-mobile-item > .btl3-item-line:has(> .btl3-arrow){justify-content:flex-start}
 .btl-threelevel-header .btl3-mobile-aux-row > .btl3-mobile-item > .btl3-item-line:has(> .btl3-arrow) > .btl3-link{flex:0 1 auto;min-height:44px}
 .btl-threelevel-header .btl3-mobile-aux-row > .btl3-mobile-item > .btl3-item-line > .btl3-arrow{flex:0 0 44px;width:44px;min-width:44px;min-height:44px}
 .btl-threelevel-header .btl3-mobile-aux-row > .btl3-mobile-item > .btl3-item-line > .btl3-arrow .btl3-chevron{margin-left:0;margin-right:0}
 .btl-threelevel-header .btl-threelevel-phone-modal:not([hidden]){display:block!important}
}
@media(max-width:782px){body.admin-bar .btl-threelevel-header{--btl3-admin:46px}}

/* Existing search controls and modal styles, retained for compatibility. */
/* =========================================================
   TWOLEVEL HEADER: INLINE SEARCH
   ========================================================= */

.btl-threelevel-header #search-form.btl-threelevel-header__search-wrap {
  position: relative !important;
  z-index: 3000 !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  overflow: visible !important;
}

.btl-threelevel-header .btl-threelevel-header__search {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #005B9A !important;
  border-radius: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.btl-threelevel-header .twitter-typeahead {
  position: static !important;
  display: block !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 100% !important;
}

.btl-threelevel-header #input-search-form.btl-threelevel-header__search-input, .btl-threelevel-header .twitter-typeahead #input-search-form.btl-threelevel-header__search-input, .btl-threelevel-header .twitter-typeahead .tt-input {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 82px 0 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #005B9A !important;
  font-size: 17px !important;
  line-height: 44px !important;
  font-weight: 400 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btl-threelevel-header #input-search-form.btl-threelevel-header__search-input::placeholder, .btl-threelevel-header .twitter-typeahead .tt-input::placeholder {
  color: #005B9A !important;
  opacity: 0.75 !important;
}

.btl-threelevel-header #input-search-form.btl-threelevel-header__search-input:focus::placeholder, .btl-threelevel-header .twitter-typeahead .tt-input:focus::placeholder {
  opacity: 0.35 !important;
}

.btl-threelevel-header .twitter-typeahead .tt-hint {
  height: 44px !important;
  padding: 0 82px 0 14px !important;
  border: 0 !important;
  background: transparent !important;
  color: transparent !important;
  font-size: 17px !important;
  line-height: 44px !important;
  box-shadow: none !important;
}

.btl-threelevel-header .btl-threelevel-header__search-submit {
  position: relative !important;
  flex: 0 0 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #005B9A !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.btl-threelevel-header .btl-threelevel-header__search-submit img {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
}

.btl-threelevel-header #input-search-form::-webkit-search-cancel-button, .btl-threelevel-header #input-search-form::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.btl-threelevel-header #search-form .btl-threelevel-header__search-close, .btl-threelevel-header .btl-threelevel-header__search-close {
  position: absolute !important;
  top: 50% !important;
  right: 58px !important;
  z-index: 10 !important;
  display: none !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(-50%) !important;
  border: 0 !important;
  background: transparent !important;
  opacity: 0.72 !important;
  cursor: pointer !important;
}

.btl-threelevel-header #search-form .btl-threelevel-header__search-close.is-visible, .btl-threelevel-header .btl-threelevel-header__search-close.is-visible {
  display: block !important;
  visibility: visible !important;
  opacity: 0.72 !important;
}

.btl-threelevel-header #search-form .btl-threelevel-header__search-close.is-visible:hover, .btl-threelevel-header .btl-threelevel-header__search-close.is-visible:hover {
  opacity: 1 !important;
}

.btl-threelevel-header .btl-threelevel-header__search-close::before, .btl-threelevel-header .btl-threelevel-header__search-close::after {
  content: "" !important;
  position: absolute !important;
  left: 10px !important;
  top: 3px !important;
  width: 2px !important;
  height: 16px !important;
  background: #005B9A !important;
  border-radius: 2px !important;
}

.btl-threelevel-header .btl-threelevel-header__search-close::before {
  transform: rotate(45deg) !important;
}

.btl-threelevel-header .btl-threelevel-header__search-close::after {
  transform: rotate(-45deg) !important;
}

.btl-threelevel-header .btl-threelevel-header__search-loader, .btl-threelevel-header #search-form .loader {
  position: absolute !important;
  right: 88px !important;
  top: 50% !important;
  z-index: 8 !important;
  width: 18px !important;
  height: 18px !important;
  margin: -9px 0 0 !important;
}

/* =========================================================
   TWOLEVEL HEADER: SEARCH SUGGESTIONS MODAL OVERLAY
   ========================================================= */

.btl-threelevel-header .tt-menu, #input-search-form_listbox {
  position: fixed !important;
  top: var(--btl3-results-top) !important;
  left: 0 !important;
  right: auto !important;
  width: 100vw !important;
  max-height: calc(100vh - 110px) !important;
  margin: 0 !important;
  padding: 28px max(24px, calc((100vw - 1440px) / 2)) 38px !important;
  background: #fff !important;
  border: 0 !important;
  border-top: 1px solid rgba(0, 91, 154, 0.18) !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 42px rgba(0, 10, 32, 0.12) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  z-index: 9998 !important;
  transform: none !important;
}

.btl-threelevel-header .tt-menu[style*="display: none"], #input-search-form_listbox[style*="display: none"] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.btl-threelevel-header .tt-menu:not(:has(.tt-suggestion)):has(.row.data.active), #input-search-form_listbox:not(:has(.tt-suggestion)):has(.row.data.active) {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.btl-threelevel-header .tt-dataset, #input-search-form_listbox .tt-dataset {
  display: block !important;
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.btl-threelevel-header .tt-suggestion, #input-search-form_listbox .tt-suggestion {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 17px 0 18px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #005B9A !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.btl-threelevel-header .tt-suggestion:hover, .btl-threelevel-header .tt-suggestion.tt-cursor, #input-search-form_listbox .tt-suggestion:hover, #input-search-form_listbox .tt-suggestion.tt-cursor {
  background: transparent !important;
}

.btl-threelevel-header .tt-suggestion a, .btl-threelevel-header .tt-suggestion strong, .btl-threelevel-header .tt-suggestion b, .btl-threelevel-header .tt-suggestion .title, .btl-threelevel-header .tt-suggestion .name, .btl-threelevel-header .tt-suggestion .search-title, #input-search-form_listbox .tt-suggestion a, #input-search-form_listbox .tt-suggestion strong, #input-search-form_listbox .tt-suggestion b, #input-search-form_listbox .tt-suggestion .title, #input-search-form_listbox .tt-suggestion .name, #input-search-form_listbox .tt-suggestion .search-title {
  color: #005B9A !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.btl-threelevel-header .tt-suggestion small, .btl-threelevel-header .tt-suggestion p, .btl-threelevel-header .tt-suggestion span, .btl-threelevel-header .tt-suggestion .subtitle, .btl-threelevel-header .tt-suggestion .description, .btl-threelevel-header .tt-suggestion .search-description, #input-search-form_listbox .tt-suggestion small, #input-search-form_listbox .tt-suggestion p, #input-search-form_listbox .tt-suggestion span, #input-search-form_listbox .tt-suggestion .subtitle, #input-search-form_listbox .tt-suggestion .description, #input-search-form_listbox .tt-suggestion .search-description {
  color: #9DA8BD !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}

.btl-threelevel-header .tt-suggestion p, .btl-threelevel-header .tt-suggestion .subtitle, .btl-threelevel-header .tt-suggestion .description, .btl-threelevel-header .tt-suggestion .search-description, #input-search-form_listbox .tt-suggestion p, #input-search-form_listbox .tt-suggestion .subtitle, #input-search-form_listbox .tt-suggestion .description, #input-search-form_listbox .tt-suggestion .search-description {
  display: block !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
}

.btl-threelevel-header .tt-highlight, #input-search-form_listbox .tt-highlight {
  color: #009BD9 !important;
  font-weight: 500 !important;
}

.btl-threelevel-header .tt-empty, .btl-threelevel-header .tt-message, #input-search-form_listbox .tt-empty, #input-search-form_listbox .tt-message {
  display: none !important;
}

#input-search-form_listbox.btl-search-empty {
  display: block !important;
}

#input-search-form_listbox .btl-search-empty-state {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 0 20px;
}

#input-search-form_listbox .btl-search-empty-state__title {
  color: #005B9A;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}

#input-search-form_listbox .btl-search-empty-state__text {
  margin-top: 4px;
  color: #9DA8BD;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
}

/* =========================================================
   TWOLEVEL HEADER: MOBILE PHONE MODAL STYLE
   Модалка телефона как на макете
   ========================================================= */

@media (max-width: 991.98px) {
  body.btl-threelevel-phone-modal-is-open {
    overflow: hidden !important;
  }

  .btl-threelevel-phone-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10050 !important;
  }

  .btl-threelevel-phone-modal[hidden] {
    display: none !important;
  }

  .btl-threelevel-phone-modal__overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 54, 91, 0.58) !important;
    backdrop-filter: none !important;
  }

  /*
      Окно появляется не сразу под шапкой,
      а примерно на четверть экрана ниже конца шапки.
    */

  .btl-threelevel-phone-modal__dialog {
    position: absolute !important;
    top: calc(var(--btl-mobile-header-height, 72px) + 24vh) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    padding: 72px 28px 82px !important;
    background: #fff !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .btl-threelevel-phone-modal__close {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ededed !important;
    color: #a9a9a9 !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    box-shadow: none !important;
  }

  .btl-threelevel-phone-modal__close:hover, .btl-threelevel-phone-modal__close:focus {
    background: #e5e5e5 !important;
    color: #8f8f8f !important;
    outline: none !important;
  }

  .btl-threelevel-phone-modal__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /*
      На макете нет заголовка и графика работы.
      Оставляем в HTML, но скрываем визуально.
    */

  .btl-threelevel-phone-modal__title, .btl-threelevel-phone-modal__schedule {
    display: none !important;
  }

  .btl-threelevel-phone-modal__phone {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
    margin: 0 0 30px !important;
    padding: 0 !important;
    color: #005B9A !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  .btl-threelevel-phone-modal__phone::before {
    content: "" !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: 34px !important;
    height: 34px !important;
    background-image: url("/wp-content/uploads/2026/05/phone.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
  }

  .btl-threelevel-phone-modal__callback {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 312px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #08A7DF !important;
    color: #fff !important;
    font-size: 19px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  .btl-threelevel-phone-modal__callback:hover, .btl-threelevel-phone-modal__callback:focus {
    background: #009BD9 !important;
    color: #fff !important;
    text-decoration: none !important;
    outline: none !important;
  }
}


.btl-threelevel-header .tt-menu,.btl-threelevel-header #input-search-form_listbox{top:var(--btl3-results-top)!important;max-height:calc(100dvh - var(--btl3-results-top))!important;z-index:12000!important;touch-action:pan-y;overscroll-behavior:contain}
.btl-threelevel-header .tt-menu[style*="display: none"],.btl-threelevel-header #input-search-form_listbox[style*="display: none"]{max-height:0!important}
.btl-threelevel-header #input-search-form_listbox.btl-search-empty{width:100%!important;height:auto!important;max-height:calc(100dvh - var(--btl3-results-top))!important;padding:20px!important}
@media(max-width:991.98px){.btl-threelevel-header .tt-menu,.btl-threelevel-header #input-search-form_listbox{padding:15px 18px 25px!important}.btl-threelevel-header:not(.is-mobile-search-open) #input-search-form_listbox{display:none!important}.btl-threelevel-header .tt-suggestion{padding:12px 0!important}.btl-threelevel-header .tt-suggestion .title{font-size:15px!important}.btl-threelevel-header .tt-suggestion span{font-size:14px!important}}
.btl-threelevel-header{box-shadow:none!important}
.btl-threelevel-header .btl3-dropdown{scrollbar-gutter:stable}
.btl-threelevel-header .btl3-search-progress{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:13000;border:1px solid #d4e1ed;border-radius:24px;background:#fff;color:#00508c;padding:12px 22px;box-shadow:0 8px 24px #000a3230;pointer-events:none}
.btl-threelevel-header.is-desktop-menu-open .btl-threelevel-header__desktop-menu-toggle i:nth-child(1){top:17px;transform:rotate(45deg)}
.btl-threelevel-header.is-desktop-menu-open .btl-threelevel-header__desktop-menu-toggle i:nth-child(2){opacity:0}
.btl-threelevel-header.is-desktop-menu-open .btl-threelevel-header__desktop-menu-toggle i:nth-child(3){top:17px;transform:rotate(-45deg)}
@media(max-width:991.98px){.btl-threelevel-header__mobile-search img{filter:brightness(0) invert(1)!important}}

/* Stage 2: visual corrections; scoped to the new header only. */
.btl-threelevel-header .btl3-main .btl3-primary-nav .btl3-root > .btl3-item-line > .btl3-link,
.btl-threelevel-header .btl3-main .btl3-primary-nav .btl3-root > .btl3-item-line > .btl3-link .btl3-label,
.btl-threelevel-header .btl3-main .btl3-mobile-tools button {color:#fff!important}
.btl-threelevel-header .btl3-dropdown .btl3-link {color:inherit}
.btl-threelevel-header .btl3-utility .btl3-root > .btl3-item-line > .btl3-link {color:#00508c!important;font-size:clamp(14px,1.05vw,16px);font-weight:500}
.btl-threelevel-header .btl3-item-image {filter:none!important;opacity:1!important;object-fit:contain!important;mix-blend-mode:normal!important}
@media (min-width:992px) {
  /* Remove top-level chevrons only. Nested desktop and mobile controls stay. */
  .btl-threelevel-header .btl3-desktop-nav .btl3-root > .btl3-item-line .btl3-chevron {display:none!important}
  /* Desktop-sized touch screens use first tap on the title to disclose.
     Retain the separate button for keyboard and assistive technology, without
     taking horizontal space or showing a plus/minus on any desktop device. */
  .btl-threelevel-header .btl3-desktop-nav .btl3-root > .btl3-item-line {position:relative}
  .btl-threelevel-header .btl3-desktop-nav .btl3-root > .btl3-item-line > .btl3-arrow {
    position:absolute!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;
    min-width:0!important;min-height:0!important;max-width:1px!important;max-height:1px!important;
    padding:0!important;margin:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;
  }
  .btl-threelevel-header .btl3-desktop-nav .btl3-root > .btl3-item-line > .btl3-arrow::after {content:none!important}
  .btl-threelevel-header .btl3-desktop-nav .btl3-root > .btl3-item-line:has(> .btl3-arrow:focus-visible) {
    outline:2px solid #009ddb;outline-offset:2px;
  }
  .btl-threelevel-header .btl3-primary-nav .btl3-root > .btl3-item-line > .btl3-arrow {color:#fff!important}
  .btl-threelevel-header .btl3-group-panel .btl3-item-image {width:90px!important;height:60px!important;flex:0 0 90px!important;max-width:90px!important;max-height:60px!important}
  .btl-threelevel-header .btl3-group-panel .btl3-link {min-height:66px}
  /* Restore the production two-level desktop Menu button. */
  .btl-threelevel-header.is-desktop-scrolled .btl-threelevel-header__desktop-menu-toggle {
    grid-column:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    position:relative!important;left:auto!important;width:92px!important;min-width:92px!important;max-width:92px!important;
    height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;padding:0 15px 0 14px!important;
    border:1px solid #005B9A!important;border-radius:40px!important;background:transparent!important;color:#005B9A!important;
    white-space:nowrap!important;overflow:hidden!important;cursor:pointer!important;
  }
  .btl-threelevel-header.is-desktop-scrolled .btl-threelevel-header__desktop-menu-toggle:hover,
  .btl-threelevel-header.is-desktop-scrolled .btl-threelevel-header__desktop-menu-toggle:focus {background:rgba(0,91,154,.06)!important;box-shadow:0 6px 18px rgba(0,91,154,.08)!important}
  .btl-threelevel-header .btl-threelevel-header__desktop-menu-toggle i {
    position:absolute!important;left:15px!important;display:block!important;width:14px!important;height:2px!important;margin:0!important;padding:0!important;
    background:#005B9A!important;border-radius:2px!important;transition:top .22s ease,transform .22s ease,opacity .18s ease!important;
  }
  .btl-threelevel-header .btl-threelevel-header__desktop-menu-toggle i:nth-of-type(1) {top:12px!important}
  .btl-threelevel-header .btl-threelevel-header__desktop-menu-toggle i:nth-of-type(2) {top:19px!important}
  .btl-threelevel-header .btl-threelevel-header__desktop-menu-toggle i:nth-of-type(3) {top:26px!important}
  .btl-threelevel-header .btl-threelevel-header__desktop-menu-toggle span {display:inline-block!important;padding-left:26px!important;color:#005B9A!important;font-size:15px!important;font-weight:500!important;line-height:1!important}
  .btl-threelevel-header.is-desktop-menu-open .btl-threelevel-header__desktop-menu-toggle i:nth-of-type(1) {top:19px!important;transform:rotate(45deg)!important}
  .btl-threelevel-header.is-desktop-menu-open .btl-threelevel-header__desktop-menu-toggle i:nth-of-type(2) {opacity:0!important}
  .btl-threelevel-header.is-desktop-menu-open .btl-threelevel-header__desktop-menu-toggle i:nth-of-type(3) {top:19px!important;transform:rotate(-45deg)!important}
}
@media (min-width:1200px) and (max-width:1280px) {
  .btl-threelevel-header .btl3-group-panel .btl3-item-image {width:68px!important;height:50px!important;flex-basis:68px!important;max-width:68px!important;max-height:50px!important}
  .btl-threelevel-header .btl3-group-panel .btl3-link {min-height:56px}
}
@media (min-width:992px) and (max-width:1199.98px) {
  .btl-threelevel-header .btl3-group-panel .btl3-item-image {width:60px!important;height:44px!important;flex-basis:60px!important;max-width:60px!important;max-height:44px!important}
  .btl-threelevel-header .btl3-group-panel .btl3-link {min-height:50px}
  .btl-threelevel-header.is-desktop-scrolled .btl-threelevel-header__desktop-menu-toggle {width:74px!important;min-width:74px!important;max-width:74px!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0 9px 0 10px!important}
  .btl-threelevel-header .btl-threelevel-header__desktop-menu-toggle i {left:10px!important;width:12px!important}
  .btl-threelevel-header .btl-threelevel-header__desktop-menu-toggle i:nth-of-type(1) {top:9px!important}
  .btl-threelevel-header .btl-threelevel-header__desktop-menu-toggle i:nth-of-type(2) {top:16px!important}
  .btl-threelevel-header .btl-threelevel-header__desktop-menu-toggle i:nth-of-type(3) {top:23px!important}
  .btl-threelevel-header .btl-threelevel-header__desktop-menu-toggle span {padding-left:19px!important;font-size:12px!important}
  .btl-threelevel-header.is-desktop-menu-open .btl-threelevel-header__desktop-menu-toggle i:nth-of-type(1),
  .btl-threelevel-header.is-desktop-menu-open .btl-threelevel-header__desktop-menu-toggle i:nth-of-type(3) {top:16px!important}
}
@media (max-width:991.98px) {
  .btl-threelevel-header .btl3-mobile-contact {padding:0}
  .btl-threelevel-header .btl3-mobile-contact > a.btn {display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:15px 0 50px!important;box-shadow:none!important;color:#009DDB!important}
  .btl-threelevel-header .btl3-mobile-contact > a.btn:hover,.btl-threelevel-header .btl3-mobile-contact > a.btn:focus,.btl-threelevel-header .btl3-mobile-contact > a.btn:active {box-shadow:none!important}
  .btl-threelevel-header .btl3-item-image {width:72px!important;height:44px!important;flex-basis:72px!important}
}

/* Stage 2, fix 4: independent desktop navigation font sizes. */
@media (min-width: 992px) {
  header.btl-threelevel-header {
    --btl3-utility-font: clamp(14px, 1.05vw, 16px);
    --btl3-primary-font: clamp(15px, 1.18vw, 18px);
    --btl3-primary-gap: clamp(9px, calc(4vw - 31px), 36px);
    --btl3-country-gap: clamp(28px, calc(8vw - 50px), 100px);
  }

  .btl-threelevel-header .btl3-utility .btl3-root > .btl3-item-line > .btl3-link {
    font-size: var(--btl3-utility-font) !important;
    font-weight: 500 !important;
  }

  .btl-threelevel-header .btl3-main .btl3-primary-nav .btl3-root > .btl3-item-line > .btl3-link,
  .btl-threelevel-header .btl3-main .btl3-primary-nav .btl3-root > .btl3-item-line > .btl3-link .btl3-label,
  .btl-threelevel-header .btl3-main .btl3-country,
  .btl-threelevel-header .btl3-main .btl3-country > span {
    font-size: var(--btl3-primary-font) !important;
    font-weight: 400 !important;
  }

  .btl-threelevel-header .btl3-main-inner {
    column-gap: var(--btl3-country-gap);
  }

  .btl-threelevel-header .btl3-primary-nav > .btl3-roots {
    justify-content: space-between;
    column-gap: var(--btl3-primary-gap);
    row-gap: 0;
  }
}

/* Stage 2, fix 5: desktop middle tier, dropdown typography and scroll motion. */
@media (min-width: 992px) {
  header.btl-threelevel-header {
    --btl3-middle-height: 76px;
    --btl3-middle-menu: 0px;
    --btl3-middle-logo: 168px;
    --btl3-middle-phone: 288px;
    --btl3-middle-schedule: 228px;
    --btl3-middle-gap: 28px;
    --btl3-middle-logo-image: 105px;
    --btl3-middle-search-max: 500px;
    --btl3-middle-font: 16px;
    --btl3-middle-small: 15px;
    --btl3-middle-icon: 18px;
    --btl3-middle-icon-gap: 8px;
    --btl3-middle-sub-margin: 5px;
    --btl3-middle-callback-indent: 28px;
    --btl3-middle-days-indent: 20px;
    --btl3-middle-search-height: 38px;
    --btl3-middle-input-height: 36px;
    --btl3-middle-input-font: 15px;
    --btl3-middle-input-pad: 0 70px 0 12px;
    --btl3-middle-submit-width: 46px;
    --btl3-middle-submit-icon: 22px;
    --btl3-middle-close-right: 50px;
    --btl3-middle-close-size: 22px;
    --btl3-middle-loader-right: 76px;
    --btl3-middle-loader-size: 18px;
    --btl3-middle-toggle-height: 40px;
    --btl3-middle-motion: .34s cubic-bezier(.22,.61,.36,1);
  }
  header.btl-threelevel-header.is-desktop-scrolled {
    --btl3-middle-menu: 128px;
    --btl3-middle-logo: 144px;
    --btl3-middle-phone: 274px;
    --btl3-middle-schedule: 214px;
    --btl3-middle-gap: 24px;
  }
  /* First track includes the menu's following gap. Zero track and zero
     grid gap keep the logo at the common left edge before scrolling.
     Search is always aligned with the right edge of the country selector. */
  .btl-threelevel-header .btl-threelevel-header__top-inner,
  .btl-threelevel-header.is-desktop-scrolled .btl-threelevel-header__top-inner {
    display: grid !important;
    grid-template-columns: var(--btl3-middle-menu) var(--btl3-middle-logo) minmax(var(--btl3-middle-phone),1.3fr) minmax(var(--btl3-middle-schedule),1fr) minmax(0,var(--btl3-middle-search-max)) !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    height: var(--btl3-middle-height) !important;
    min-height: var(--btl3-middle-height) !important;
    align-items: center !important;
    transition: grid-template-columns var(--btl3-middle-motion) !important;
  }
  .btl-threelevel-header .btl-threelevel-header__top {
    box-shadow: inset 0 -1px rgba(0,91,154,.12);
  }
  .btl-threelevel-header.is-desktop-scrolled .btl-threelevel-header__top {
    box-shadow: 0 8px 24px rgba(0,10,32,.08) !important;
  }
  .btl-threelevel-header .btl-threelevel-header__logo {
    grid-column: 2;
    justify-self: start;
    min-width: 0;
  }
  .btl-threelevel-header .btl-threelevel-header__logo-img {
    width: var(--btl3-middle-logo-image) !important;
    height: auto !important;
    transition: width var(--btl3-middle-motion);
  }
  .btl-threelevel-header .btl-threelevel-header__phone-block,
  .btl-threelevel-header .btl-threelevel-header__schedule-block {
    justify-content: center;
    gap: 0;
    min-width: 0;
    margin-right: var(--btl3-middle-gap);
    color: #005B9A;
    transition: margin-right var(--btl3-middle-motion);
  }
  .btl-threelevel-header .btl-threelevel-header__phone-block {grid-column:3}
  .btl-threelevel-header .btl-threelevel-header__schedule-block {grid-column:4}
  .btl-threelevel-header .btl-threelevel-header__phone,
  .btl-threelevel-header .btl-threelevel-header__schedule-time {
    display:inline-flex;align-items:center;justify-content:center;
    gap:var(--btl3-middle-icon-gap);font-size:var(--btl3-middle-font)!important;
    line-height:1.15!important;font-weight:500!important;white-space:nowrap;
  }
  .btl-threelevel-header .btl-threelevel-header__phone-text,
  .btl-threelevel-header .btl-threelevel-header__schedule-time > span:not(.btl-threelevel-header__icon) {
    font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;
  }
  .btl-threelevel-header .btl-threelevel-header__phone:hover,
  .btl-threelevel-header .btl-threelevel-header__callback:hover {color:#005B9A}
  .btl-threelevel-header .btl-threelevel-header__callback,
  .btl-threelevel-header .btl-threelevel-header__schedule-days {
    margin-top:var(--btl3-middle-sub-margin);font-size:var(--btl3-middle-small)!important;
    line-height:1.2!important;font-weight:400!important;
  }
  .btl-threelevel-header .btl-threelevel-header__callback {margin-left:var(--btl3-middle-callback-indent);border-bottom:1px dotted currentColor}
  .btl-threelevel-header .btl-threelevel-header__callback:hover {border-bottom-color:transparent}
  .btl-threelevel-header .btl-threelevel-header__schedule-days {margin-left:var(--btl3-middle-days-indent);text-align:center}
  .btl-threelevel-header .btl-threelevel-header__icon {flex:0 0 auto;justify-content:center;width:var(--btl3-middle-icon)!important;height:var(--btl3-middle-icon)!important}
  .btl-threelevel-header #search-form.btl-threelevel-header__search-wrap {
    grid-column:5;justify-self:end;min-width:0!important;max-width:var(--btl3-middle-search-max)!important;transition:max-width var(--btl3-middle-motion);
  }
  .btl-threelevel-header .btl-threelevel-header__search {height:var(--btl3-middle-search-height)!important;min-width:0!important}
  .btl-threelevel-header .twitter-typeahead {min-width:0!important}
  .btl-threelevel-header #input-search-form.btl-threelevel-header__search-input,
  .btl-threelevel-header .twitter-typeahead #input-search-form.btl-threelevel-header__search-input,
  .btl-threelevel-header .twitter-typeahead .tt-input,
  .btl-threelevel-header .twitter-typeahead .tt-hint {
    height:var(--btl3-middle-input-height)!important;line-height:var(--btl3-middle-input-height)!important;
    font-size:var(--btl3-middle-input-font)!important;padding:var(--btl3-middle-input-pad)!important;min-width:0!important;
  }
  .btl-threelevel-header .btl-threelevel-header__search-submit {width:var(--btl3-middle-submit-width)!important;flex-basis:var(--btl3-middle-submit-width)!important;height:var(--btl3-middle-input-height)!important}
  .btl-threelevel-header .btl-threelevel-header__search-submit img {width:var(--btl3-middle-submit-icon)!important;height:var(--btl3-middle-submit-icon)!important}
  .btl-threelevel-header #search-form .btl-threelevel-header__search-close,
  .btl-threelevel-header .btl-threelevel-header__search-close {right:var(--btl3-middle-close-right)!important;width:var(--btl3-middle-close-size)!important;height:var(--btl3-middle-close-size)!important}
  .btl-threelevel-header .btl-threelevel-header__search-loader,
  .btl-threelevel-header #search-form .loader {right:var(--btl3-middle-loader-right)!important;width:var(--btl3-middle-loader-size)!important;height:var(--btl3-middle-loader-size)!important;margin-top:calc(var(--btl3-middle-loader-size) / -2)!important}
  /* Keep the menu button in the grid in both states (production motion). */
  .btl-threelevel-header .btl-threelevel-header__desktop-menu-toggle,
  .btl-threelevel-header.is-desktop-scrolled .btl-threelevel-header__desktop-menu-toggle {
    grid-column:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    height:var(--btl3-middle-toggle-height)!important;min-height:var(--btl3-middle-toggle-height)!important;max-height:var(--btl3-middle-toggle-height)!important;
    overflow:hidden!important;position:relative!important;margin:0!important;
    transition:width var(--btl3-middle-motion),min-width var(--btl3-middle-motion),max-width var(--btl3-middle-motion),padding var(--btl3-middle-motion),border-color .24s ease,opacity .22s ease,transform var(--btl3-middle-motion),background-color .22s ease,box-shadow .22s ease,visibility .34s!important;
  }
  .btl-threelevel-header:not(.is-desktop-scrolled) .btl-threelevel-header__desktop-menu-toggle {
    width:0!important;min-width:0!important;max-width:0!important;padding:0!important;border:0!important;
    opacity:0!important;transform:translateX(-18px)!important;pointer-events:none!important;visibility:hidden!important;
  }
  .btl-threelevel-header.is-desktop-scrolled .btl-threelevel-header__desktop-menu-toggle {
    opacity:1!important;transform:translateX(0)!important;pointer-events:auto!important;visibility:visible!important;
  }
  /* Same line-height for actual links and disclosure buttons. */
  .btl-threelevel-header .btl3-group > .btl3-item-line > .btl3-link,
  .btl-threelevel-header .btl3-group > .btl3-item-line > .btl3-link > .btl3-label {
    font-size:14px!important;font-weight:500!important;line-height:1.25!important;
  }
  /* Plain dropdowns: comparable typography, centered on the trigger. JS
     clamps the position to the viewport for items near its edges. */
  .btl-threelevel-header .btl3-simple {left:50%;transform:translateX(-50%);padding:12px 18px;min-width:240px}
  .btl-threelevel-header .btl3-simple .btl3-link,
  .btl-threelevel-header .btl3-simple .btl3-link > .btl3-label {font-size:clamp(15px,1.08vw,16px)!important;line-height:1.3!important;font-weight:500!important}
  .btl-threelevel-header .btl3-simple .btl3-link {padding:13px 0;min-height:44px}
  /* Existing two-tier hover: transparent background + white underline,
     only under the text. Draw on the label at the lower edge of the row. */
  .btl-threelevel-header .btl3-main .btl3-primary-nav .btl3-root > .btl3-item-line > .btl3-link {
    background:transparent!important;position:relative;line-height:1.25!important;text-decoration:none!important;
  }
  .btl-threelevel-header .btl3-main .btl3-primary-nav .btl3-root > .btl3-item-line > .btl3-link > .btl3-label {
    position:relative;align-self:stretch;display:flex;align-items:center;
  }
  .btl-threelevel-header .btl3-main .btl3-primary-nav .btl3-root > .btl3-item-line > .btl3-link > .btl3-label::after {
    content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:transparent;pointer-events:none;transition:background-color .22s ease;
  }
  .btl-threelevel-header .btl3-main .btl3-primary-nav .btl3-root:is(:hover,:focus-within) > .btl3-item-line > .btl3-link > .btl3-label::after {background:#fff}
  .btl-threelevel-header .btl3-utility .btl3-root > .btl3-item-line > .btl3-link {transition:text-decoration-color .22s ease,color .22s ease}
  .btl-threelevel-header .btl3-utility .btl3-root:is(:hover,:focus-within) > .btl3-item-line > .btl3-link {text-decoration-color:#00508c!important}
}
@media (min-width:1280.01px) {
  .btl-threelevel-header .btl-threelevel-header__top-inner,
  .btl-threelevel-header.is-desktop-scrolled .btl-threelevel-header__top-inner {
    grid-template-columns: var(--btl3-middle-menu) var(--btl3-middle-logo) var(--btl3-middle-phone) var(--btl3-middle-schedule) minmax(0,1fr) !important;
  }
}
@media (min-width:1200px) and (max-width:1280px) {
  header.btl-threelevel-header {
    --btl3-middle-logo:122px;--btl3-middle-phone:242px;--btl3-middle-schedule:182px;--btl3-middle-gap:22px;
    --btl3-middle-logo-image:96px;--btl3-middle-search-max:360px;--btl3-middle-font:14px;--btl3-middle-small:13px;
  }
  header.btl-threelevel-header.is-desktop-scrolled {
    --btl3-middle-menu:108px;--btl3-middle-logo:110px;--btl3-middle-phone:228px;--btl3-middle-schedule:168px;--btl3-middle-gap:18px;
    --btl3-middle-logo-image:88px;--btl3-middle-search-max:320px;
  }
}
@media (min-width:992px) and (max-width:1199.98px) {
  header.btl-threelevel-header {
    --btl3-middle-height:72px;--btl3-middle-logo:98px;--btl3-middle-phone:184px;--btl3-middle-schedule:144px;--btl3-middle-gap:16px;
    --btl3-middle-logo-image:82px;--btl3-middle-search-max:280px;--btl3-middle-font:13px;--btl3-middle-small:12px;
    --btl3-middle-icon:15px;--btl3-middle-icon-gap:5px;--btl3-middle-sub-margin:4px;--btl3-middle-callback-indent:18px;--btl3-middle-days-indent:14px;
    --btl3-middle-search-height:34px;--btl3-middle-input-height:32px;--btl3-middle-input-font:13px;--btl3-middle-input-pad:0 54px 0 10px;
    --btl3-middle-submit-width:38px;--btl3-middle-submit-icon:18px;--btl3-middle-close-right:40px;--btl3-middle-close-size:18px;
    --btl3-middle-loader-right:60px;--btl3-middle-loader-size:16px;--btl3-middle-toggle-height:34px;
  }
  header.btl-threelevel-header.is-desktop-scrolled {
    --btl3-middle-menu:90px;--btl3-middle-logo:80px;--btl3-middle-phone:162px;--btl3-middle-schedule:120px;--btl3-middle-gap:12px;
    --btl3-middle-logo-image:68px;--btl3-middle-search-max:240px;
  }
  .btl-threelevel-header .btl-threelevel-header__callback,
  .btl-threelevel-header .btl-threelevel-header__schedule-days {line-height:1.15!important}
}
@media (min-width:992px) and (prefers-reduced-motion:reduce) {
  .btl-threelevel-header .btl-threelevel-header__top-inner,
  .btl-threelevel-header .btl-threelevel-header__top-inner *,
  .btl-threelevel-header .btl-threelevel-header__desktop-menu-toggle {transition:none!important;animation:none!important}
}

/* Search results anchor: use the full-width middle tier as the containing
   block, not the search form, grid or viewport. The legacy Typeahead keeps
   its listbox inside .container (required by its typeahead:render handler).
   Making only this container static lets top:100% follow the tier itself. */
header.btl-threelevel-header .btl-threelevel-header__top {
  overflow: visible !important;
}
header.btl-threelevel-header .btl-threelevel-header__top > .btl3-inner.container {
  position: static !important;
  transform: none !important;
  filter: none !important;
  perspective: none !important;
  contain: none !important;
  will-change: auto !important;
  overflow: visible !important;
}
header.btl-threelevel-header .btl-threelevel-header__top > .btl3-inner.container > :is(#input-search-form_listbox, .tt-menu) {
  position: absolute !important;
  top: 100% !important;
  bottom: auto !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  transform: none !important;
  max-height: calc(100vh - var(--btl3-results-top)) !important;
  max-height: max(0px, calc(100dvh - var(--btl3-results-top))) !important;
  z-index: 12000 !important;
}
header.btl-threelevel-header .btl-threelevel-header__top > .btl3-inner.container > :is(#input-search-form_listbox, .tt-menu)[style*="display: none"] {
  display: none !important;
  max-height: 0 !important;
}

/* Fix 8: keep the mobile search control within the viewport before focus. */
@media (max-width:991.98px) {
  header.btl-threelevel-header.is-mobile-search-open #search-form.btl-threelevel-header__search-wrap,
  header.btl-threelevel-header.is-mobile-search-open .btl-threelevel-header__search {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  header.btl-threelevel-header.is-mobile-search-open .btl-threelevel-header__search > .twitter-typeahead,
  header.btl-threelevel-header.is-mobile-search-open .btl-threelevel-header__search > #input-search-form {
    flex: 1 1 0% !important;
    width: 0 !important;
    min-width: 0 !important;
  }
  header.btl-threelevel-header.is-mobile-search-open #input-search-form,
  header.btl-threelevel-header.is-mobile-search-open .twitter-typeahead .tt-input,
  header.btl-threelevel-header.is-mobile-search-open .twitter-typeahead .tt-hint {
    font-size: 17px !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    min-width: 0 !important;
  }
}
/* Separate the blue desktop tier from content of a similar shade. */
@media (min-width:992px) {
  header.btl-threelevel-header .btl3-main {
    box-shadow: 0 8px 24px rgba(0,10,32,.22), inset 0 -1px rgba(255,255,255,.12) !important;
  }
}

/* Fix 10: use the containing block rather than viewport units for the page.
   Scoped to the new header, including portrait/landscape transitions. */
html:has(body > header.btl-threelevel-header),
body:has(> header.btl-threelevel-header) {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
header.btl-threelevel-header {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (min-width:992px) {
  /* Keep the mega panel full-bleed, but use the blue tier as its containing
     block. This avoids 100vw / scrollbar discrepancies after rotation. */
  .btl-threelevel-header .btl3-main > .btl3-main-inner,
  .btl-threelevel-header .btl3-primary-nav,
  .btl-threelevel-header .btl3-primary-nav > .btl3-roots {
    position: static;
  }
  .btl-threelevel-header .btl3-main .btl3-mega {
    left:0; right:0; width:100%; max-width:100%;
  }
  .btl-threelevel-header .btl3-primary-nav > .btl3-roots {
    flex-wrap:nowrap!important;
  }
  .btl-threelevel-header .btl3-primary-nav > .btl3-roots > .btl3-root {
    flex:0 0 auto;
  }
  /* Same gradient as the image-based dropdowns, on the complete row.
     Preserve dimensions, separators, and the normal text color. */
  .btl-threelevel-header .btl3-simple .btl3-normal-item > .btl3-item-line:is(:hover,:focus-within) {
    background:linear-gradient(90deg,#96d2ff,#fff)!important;
  }
  .btl-threelevel-header .btl3-simple .btl3-normal-item > .btl3-item-line:is(:hover,:focus-within) > .btl3-link {
    background:transparent!important;
    color:var(--btl3-ink)!important;
  }
}
@media (min-width:992px) and (max-width:1440px) {
  header.btl-threelevel-header {
    --btl3-side: clamp(20px, calc(4vw - 28px), 28px);
    --btl3-utility-font: clamp(11.5px, calc(0.67vw + 4.85px), 14.5px);
    --btl3-primary-font: clamp(13.5px, calc(0.67vw + 6.85px), 16.6px);
    --btl3-primary-gap: clamp(4px, calc(1.6vw - 12px), 10px);
    --btl3-country-gap: clamp(17px, 2vw, 28px);
  }
  .btl-threelevel-header .btl3-main .btl3-primary-nav .btl3-root > .btl3-item-line > .btl3-link,
  .btl-threelevel-header .btl3-main .btl3-primary-nav .btl3-root > .btl3-item-line > .btl3-link > .btl3-label,
  .btl-threelevel-header .btl3-main .btl3-country,
  .btl-threelevel-header .btl3-main .btl3-country > span {
    letter-spacing:-.1px;
  }
  .btl-threelevel-header .btl3-main .btl3-country {gap:4px}
  .btl-threelevel-header .btl3-main .btl3-country img {width:20px;height:20px;flex:0 0 20px}
}


/* Fix 12: desktop dropdown spacing and restrained navigation motion.
   No changes to the mobile accordion or search. */
@media (min-width:992px) {
  /* Padding is identical in normal and hover states: text never jumps. */
  .btl-threelevel-header .btl3-group-panel .btl3-link,
  .btl-threelevel-header .btl3-simple .btl3-link {
    padding-inline: 14px !important;
  }
  .btl-threelevel-header .btl3-group-panel .btl3-link:focus-visible {
    background: linear-gradient(90deg,#96d2ff,#fff);
  }
  .btl-threelevel-header .btl3-mega-right > .btl3-group-panel:not([hidden]),
  .btl-threelevel-header .btl3-mega-right > .btl3-banner:not([hidden]) {
    animation: btl3-panel-enter 260ms cubic-bezier(.22,.61,.36,1) both;
  }
  /* Fixed tier coordinates are never animated. Only opacity and a short
     translation change. No overflow clipping of dropdowns is introduced. */
  .btl-threelevel-header.is-desktop-scrolled .btl3-utility,
  .btl-threelevel-header.is-desktop-scrolled .btl3-main {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: none !important;
  }
  .btl-threelevel-header.is-desktop-scrolled:not(.is-desktop-menu-open) .btl3-utility,
  .btl-threelevel-header.is-desktop-scrolled:not(.is-desktop-menu-open) .btl3-main {
    opacity: 0;
    transform: translateY(-9px);
    visibility: hidden;
    pointer-events: none !important;
  }
  .btl-threelevel-header.is-desktop-scrolled.btl3-sticky-motion .btl3-utility,
  .btl-threelevel-header.is-desktop-scrolled.btl3-sticky-motion .btl3-main {
    --btl3-nav-duration: 300ms;
    --btl3-nav-delay: 0ms;
    --btl3-visibility-delay: 0ms;
    transition: opacity var(--btl3-nav-duration) cubic-bezier(.22,.61,.36,1) var(--btl3-nav-delay),
      transform var(--btl3-nav-duration) cubic-bezier(.22,.61,.36,1) var(--btl3-nav-delay),
      visibility 0s linear var(--btl3-visibility-delay) !important;
  }
  .btl-threelevel-header.is-desktop-scrolled.btl3-sticky-motion.is-desktop-menu-open .btl3-main {
    --btl3-nav-delay: 35ms;
  }
  .btl-threelevel-header.is-desktop-scrolled.btl3-sticky-motion:not(.is-desktop-menu-open) .btl3-utility,
  .btl-threelevel-header.is-desktop-scrolled.btl3-sticky-motion:not(.is-desktop-menu-open) .btl3-main {
    --btl3-nav-duration: 220ms;
    --btl3-visibility-delay: 220ms;
  }
  .btl-threelevel-header.is-desktop-scrolled.btl3-sticky-motion:not(.is-desktop-menu-open) .btl3-utility {
    --btl3-nav-delay: 35ms;
    --btl3-visibility-delay: 255ms;
  }
}
@keyframes btl3-panel-enter {
  from {opacity: .12; transform: translateY(6px)}
  to {opacity: 1; transform: none}
}
@media (min-width:992px) and (prefers-reduced-motion:reduce) {
  .btl-threelevel-header .btl3-mega-right > .btl3-group-panel,
  .btl-threelevel-header .btl3-mega-right > .btl3-banner {animation: none !important;}
  .btl-threelevel-header.is-desktop-scrolled.btl3-sticky-motion .btl3-utility,
  .btl-threelevel-header.is-desktop-scrolled.btl3-sticky-motion .btl3-main {transition: none !important;}
}
