/* CAS header, scoped to preserve the theme's cart and menu behaviour. */
body.cas-header-refresh #masthead {
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid #e1eaf2 !important;
  box-shadow: 0 4px 20px rgba(10, 40, 70, .035) !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}
body.cas-header-refresh #masthead .site-header-inner {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 24px 40px !important;
  display: grid !important;
  grid-template-columns: 132px max-content minmax(180px, 1fr) 44px 44px 44px !important;
  grid-auto-flow: row !important;
  grid-auto-rows: auto !important;
  gap: 16px !important;
  align-items: center !important;
  min-height: 96px !important;
  height: auto !important;
  overflow: visible !important;
}
body.cas-header-refresh #masthead .site-header-inner > * {
  margin: 0 !important;
  min-width: 0 !important;
  align-self: center !important;
  transform: none !important;
}
body.cas-header-refresh #masthead .site-branding {
  width: auto !important;
  padding: 0 !important;
  text-align: left !important;
}
body.cas-header-refresh #masthead .site-logotype { padding: 0 !important; line-height: 1 !important; }
body.cas-header-refresh #masthead .site-logotype img {
  display: block !important;
  width: 114px !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 40px !important;
  object-fit: contain !important;
}
body.cas-header-refresh #masthead .cas-brand-caption {
  display: block;
  margin-top: 7px;
  color: #63758a;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .015em;
  white-space: nowrap;
}
body.cas-header-refresh #masthead .top-menu { display: block !important; width: auto !important; padding: 0 !important; }
body.cas-header-refresh #masthead .top-menu ul.menu {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.cas-header-refresh #masthead .top-menu ul.menu > li { margin: 0 !important; padding: 0 !important; }
body.cas-header-refresh #masthead .top-menu ul.menu > li > :is(a, span) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-height: 44px !important;
  padding: 0 12px !important;
  background: transparent !important;
  color: #263c52 !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  transition: background .15s, color .15s;
}
body.cas-header-refresh #masthead .top-menu ul.menu > li > a:hover,
body.cas-header-refresh #masthead .top-menu ul.menu > li.current-menu-item > :is(a, span),
body.cas-header-refresh #masthead .top-menu ul.menu > li.current_page_item > :is(a, span) {
  background: #edf5fc !important;
  color: #0067b9 !important;
}
body.cas-header-refresh #masthead .top-menu ul.menu > li.menu-item-429 > :is(a, span) {
  background: #006fbe !important;
  color: #fff !important;
  padding: 0 16px !important;
  margin-right: 5px !important;
}
body.cas-header-refresh #masthead .top-menu ul.menu > li.menu-item-429 > :is(a, span)::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background: linear-gradient(currentColor 0 0) 0 0 / 5px 5px,
    linear-gradient(currentColor 0 0) 100% 0 / 5px 5px,
    linear-gradient(currentColor 0 0) 0 100% / 5px 5px,
    linear-gradient(currentColor 0 0) 100% 100% / 5px 5px;
  background-repeat: no-repeat;
}
body.cas-header-refresh #masthead .top-menu ul.menu > li.menu-item-429 > a:hover { background: #005799 !important; }
body.cas-header-refresh #masthead .header-search {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  position: relative !important;
  inset: auto !important;
  padding: 0 !important;
}
/* Extra specificity is required by the site's existing search overrides. */
body.cas-header-refresh.cas-premium-ux header#masthead.site-header .header-search.header-search--expanded form.search-form.search-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 44px !important;
  width: 100% !important;
  height: 46px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dce6ef !important;
  border-radius: 10px !important;
  background: #f5f8fb !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
body.cas-header-refresh.cas-premium-ux header#masthead.site-header .header-search.header-search--expanded form.search-form.search-form:focus-within {
  border-color: #0073c4 !important;
  box-shadow: 0 0 0 3px #0073c41a !important;
}
body.cas-header-refresh #masthead .header-search label { display: block !important; width: 100% !important; margin: 0 !important; min-width: 0 !important; }
body.cas-header-refresh #masthead .header-search input[type="search"] {
  width: 100% !important;
  height: 44px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 14px !important;
  background: transparent !important;
  color: #18354e !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}
body.cas-header-refresh #masthead .header-search input::placeholder { color: #667c91 !important; opacity: 1; }
body.cas-header-refresh.cas-premium-ux header#masthead.site-header .header-search.header-search--expanded form.search-form.search-form button.search-submit {
  position: relative !important;
  inset: auto !important;
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #006fbe !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.cas-header-refresh #masthead .header-search button.search-submit::before { color: #006fbe !important; }
body.cas-header-refresh #masthead .header-search button.search-submit:hover { background: #e7f1f9 !important; }
body.cas-header-refresh #masthead .header-cart { width: 44px !important; height: 44px !important; padding: 0 !important; }
body.cas-header-refresh #masthead :is(.header-cart > .header-cart__link, .header-favorite, .header-customer-account) {
  position: relative !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dce6ef !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #1b547d !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transform: none !important;
}
body.cas-header-refresh #masthead :is(.header-cart > .header-cart__link, .header-favorite, .header-customer-account):hover {
  background: #edf5fc !important;
  border-color: #a9c9e2 !important;
}
body.cas-header-refresh #masthead .header-customer-account__text { display: none !important; }
body.cas-header-refresh #masthead :is(.header-cart__link-ico, .header-favorite, .header-customer-account)::before {
  position: static !important;
  color: #1b547d !important;
  font-size: 23px !important;
  line-height: 1 !important;
}
body.cas-header-refresh #masthead .bono_header_widget_shopping_cart_count {
  top: -6px !important;
  right: -6px !important;
  min-width: 18px !important;
  height: 18px !important;
  line-height: 18px !important;
  padding: 0 4px !important;
  background: #006fbe !important;
  color: #fff !important;
  border-radius: 9px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
}
body.cas-header-refresh #masthead .header-cart__link-ico {
  display: block !important;
  width: 23px !important;
  height: 23px !important;
  background: #1b547d !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h2l2.4 12h12.2L21 7H5'/%3E%3Ccircle cx='8' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.cas-header-refresh #masthead .header-cart__link-ico::before,
body.cas-header-refresh #masthead .header-cart__link-ico::after { content: none !important; }
body.cas-header-refresh #masthead :is(a, button, [role="button"]):focus-visible {
  outline: 2px solid #0073c4 !important;
  outline-offset: 3px !important;
}
@media (min-width: 992px) {
  body.cas-header-refresh #masthead .humburger { display: none !important; }
  body.cas-header-refresh .super-header { background: #0c2944 !important; box-shadow: none !important; }
  body.cas-header-refresh .super-header .super-header-inner {
    width: 100% !important; max-width: 1440px !important; min-height: 36px !important;
    margin: 0 auto !important; padding: 0 40px !important; box-sizing: border-box !important;
  }
  body.cas-header-refresh .super-header .super-header-inner::before { color: #cedce8 !important; font-size: 11px !important; font-weight: 500 !important; }
  body.cas-header-refresh .super-header .cas-head-contacts { gap: 24px !important; }
  body.cas-header-refresh .super-header .cas-head-contacts__item {
    min-height: 34px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: transparent !important; box-shadow: none !important; font-size: 12px !important; font-weight: 500 !important;
  }
  body.cas-header-refresh .super-header .cas-head-contacts__icon { display: none !important; }
  body.cas-header-refresh .super-header .cas-head-contacts__item:hover { color: #9dd7ff !important; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  body.cas-header-refresh #masthead .site-header-inner { grid-template-columns: 114px max-content minmax(160px, 1fr) 44px 44px 44px !important; gap: 10px !important; padding: 22px 24px !important; }
  body.cas-header-refresh #masthead .top-menu ul.menu > li > :is(a, span) { padding: 0 8px !important; font-size: 13px !important; }
  body.cas-header-refresh .super-header .super-header-inner { padding: 0 24px !important; }
}
@media (max-width: 991px) {
  body.cas-header-refresh #masthead .site-header-inner {
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    grid-template-rows: 56px 46px !important;
    gap: 8px 12px !important;
    padding: 8px 16px 14px !important;
    min-height: 0 !important;
  }
  body.cas-header-refresh #masthead .site-branding { position: static !important; inset: auto !important; grid-column: 2 !important; grid-row: 1 !important; justify-self: center !important; }
  body.cas-header-refresh #masthead .site-logotype img { width: 100px !important; max-height: 34px !important; }
  body.cas-header-refresh #masthead .cas-brand-caption { display: none; }
  body.cas-header-refresh #masthead .header-cart { position: relative !important; inset: auto !important; grid-column: 3 !important; grid-row: 1 !important; }
  body.cas-header-refresh #masthead .header-search { grid-column: 1 / -1 !important; grid-row: 2 !important; }
  body.cas-header-refresh #masthead .header-search input[type="search"] { font-size: 16px !important; }
  body.cas-header-refresh header#masthead.site-header :is(.top-menu, .header-favorite, .header-customer-account) { display: none !important; }
  body.cas-header-refresh #masthead .humburger {
    position: relative !important; inset: auto !important; grid-column: 1 !important; grid-row: 1 !important;
    display: block !important; width: 44px !important; height: 44px !important; padding: 0 !important;
    border: 1px solid #dce6ef !important; border-radius: 10px !important; background: #fff !important;
  }
  body.cas-header-refresh #masthead .humburger span {
    position: absolute !important; left: 11px !important; width: 20px !important; height: 2px !important;
    background: #1b547d !important; border-radius: 2px !important; margin: 0 !important;
  }
  body.cas-header-refresh #masthead .humburger span:nth-child(1) { top: 14px !important; }
  body.cas-header-refresh #masthead .humburger span:nth-child(2) { top: 20px !important; }
  body.cas-header-refresh #masthead .humburger span:nth-child(3) { top: 26px !important; }
  body.cas-header-refresh #masthead .humburger.open span:nth-child(1),
  body.cas-header-refresh #masthead .humburger.open span:nth-child(3) { top: 20px !important; }
  body.cas-header-refresh #masthead .humburger.open span:nth-child(1) { transform: rotate(45deg) !important; }
  body.cas-header-refresh #masthead .humburger.open span:nth-child(3) { transform: rotate(-45deg) !important; }
  body.cas-header-refresh .mobile-menu-placeholder.open { margin-top: 0 !important; }
  body.cas-header-refresh .cas-mobile-contacts { gap: 10px !important; padding: 10px 16px !important; background: #fff !important; }
  body.cas-header-refresh .cas-mobile-contacts .cas-mobile-contacts__item {
    min-height: 38px !important; padding: 8px 12px !important; border: 1px solid #dce6ef !important;
    border-radius: 8px !important; background: #f5f8fb !important; color: #1b547d !important; box-shadow: none !important;
  }
  body.cas-header-refresh .cas-mobile-contacts .cas-mobile-contacts__text { color: #1b547d !important; font-size: 13px !important; font-weight: 600 !important; }
  body.cas-header-refresh .cas-mobile-contacts .cas-mobile-contacts__icon { display: none !important; }
  body.cas-header-refresh.cas-premium-ux #site-navigation-mobile { background: #fff !important; border-bottom: 1px solid #dce6ef !important; padding: 10px 16px !important; }
  body.cas-header-refresh.cas-premium-ux #site-navigation-mobile .menu > li > :is(a, span) {
    display: block !important; min-height: 44px !important; padding: 12px 14px !important;
    color: #263c52 !important; background: transparent !important; border-radius: 8px !important;
    font-size: 15px !important; font-weight: 600 !important; opacity: 1 !important;
  }
  body.cas-header-refresh.cas-premium-ux #site-navigation-mobile .menu > li.current-menu-item > :is(a, span),
  body.cas-header-refresh.cas-premium-ux #site-navigation-mobile .menu > li > a:hover { background: #edf5fc !important; color: #0067b9 !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.cas-header-refresh #masthead * { transition: none !important; }
}
