.hec-header {
  --hec-navy: #071b78;
  --hec-navy-dark: #05145f;
  --hec-yellow: #fdb414;
  --hec-text: #102676;
  --hec-line: #e8ecf5;
  --hec-white: #fff;
  --hec-shadow: 0 20px 55px rgba(22, 44, 101, .14);
}

.hec-header,
.hec-header * {
  box-sizing: border-box;
}

.hec-header {
  position: relative;
  z-index: 9990;
  width: auto;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  padding: 16px 5px 15px;
  color: var(--hec-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
}

.elementor-location-header:has(.hec-header) .elementor-widget-nav-menu,
.elementor-location-header:has(.hec-header) .elementor-menu-toggle {
  display: none !important;
}

.hec-header a {
  color: inherit;
  text-decoration: none;
}

.hec-header button,
.hec-header input,
.hec-header select,
.hec-header textarea {
  font: inherit;
}

.hec-header svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hec-shell {
  position: relative;
  width: min(1560px, 100%);
  margin-inline: auto;
  padding-top: clamp(54px, 4.76vw, 80px);
}

.hec-topbar {
  position: absolute;
  top: 0;
  right: 4.3%;
  left: 4.3%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 112px;
  padding: clamp(14px, 1.2vw, 20px) clamp(38px, 3vw, 50px) 44px;
  color: #fff;
  background: linear-gradient(110deg, #061466 0%, var(--hec-navy) 58%, #0a2388 100%);
  border-radius: 46px 46px 0 0;
  box-shadow: 0 16px 38px rgba(7, 27, 120, .18);
}

.hec-topbar__slogan {
  padding-top: 9px;
  font-size: clamp(10px, .85vw, 14px);
  font-weight: 500;
  white-space: nowrap;
}

.hec-topbar__details,
.hec-topbar__hours,
.hec-topbar__phone {
  display: flex;
  align-items: center;
}

.hec-topbar__details {
  direction: rtl;
  gap: 26px;
}

.hec-topbar__hours,
.hec-topbar__phone {
  direction: rtl;
  gap: 13px;
  color: #fff;
  font-size: clamp(9px, .72vw, 12px);
  line-height: 1.9;
}

.hec-topbar__phone span:last-child {
  display: flex;
  flex-direction: column;
  font-size: clamp(11px, .95vw, 16px);
  line-height: 1.25;
  text-align: right;
}

.hec-topbar__phone small {
  margin-top: 5px;
  font-size: clamp(9px, .72vw, 12px);
}

.hec-topbar__icon {
  display: grid;
  flex: 0 0 auto;
  width: clamp(32px, 2.4vw, 40px);
  height: clamp(32px, 2.4vw, 40px);
  place-items: center;
  color: var(--hec-yellow);
  background: rgba(255, 255, 255, .06);
  border-radius: 50%;
}

.hec-topbar__icon svg {
  width: clamp(23px, 1.6vw, 27px);
  height: clamp(23px, 1.6vw, 27px);
  stroke-width: 1.9;
}

.hec-topbar__divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, .3);
}

.hec-mainbar {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(150px, .82fr) minmax(260px, 1.55fr) 152px minmax(300px, 1.75fr) minmax(140px, .75fr);
  align-items: center;
  min-height: clamp(97px, 8.15vw, 138px);
  padding: 0 clamp(30px, 2.5vw, 42px);
  background: transparent;
  border: 0;
  border-radius: clamp(22px, 1.7vw, 28px);
  box-shadow: none;
}

.hec-mainbar::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: inherit;
  box-shadow: var(--hec-shadow);
  content: "";
  pointer-events: none;
  -webkit-mask: radial-gradient(circle 66px at 50% 0, transparent 65px, #000 66px);
  mask: radial-gradient(circle 66px at 50% 0, transparent 65px, #000 66px);
  backdrop-filter: blur(18px);
}

.hec-mainbar > * {
  position: relative;
  z-index: 1;
}

.hec-logo {
  position: absolute;
  top: 50%;
  right: 50%;
  z-index: 5;
  isolation: isolate;
  align-self: center;
  justify-self: center;
  display: block;
  width: 132px;
  height: 132px;
  margin-top: 0;
  background:
    radial-gradient(circle at 7% 22%, var(--hec-yellow) 0 2px, transparent 3px),
    radial-gradient(circle at 93% 22%, var(--hec-yellow) 0 2px, transparent 3px),
    radial-gradient(circle at 16% 76%, var(--hec-yellow) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 76%, var(--hec-yellow) 0 2px, transparent 3px);
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0;
  transform: translate(50%, -69%);
}

.hec-logo::before,
.hec-logo::after {
  position: absolute;
  right: 50%;
  display: block;
  content: "";
  pointer-events: none;
  transform: translateX(50%);
}

.hec-logo::before {
  top: 0;
  z-index: 1;
  width: 112px;
  height: 112px;
  background: rgba(255, 255, 255, .96);
  border: 2px solid rgba(119, 130, 183, .65);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .5), 0 0 18px rgba(255, 180, 0, .34);
}

.hec-logo::after {
  bottom: -18px;
  z-index: 0;
  width: 92px;
  height: 47px;
  background: #fff;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 10px 22px rgba(22, 44, 101, .08);
}

.hec-logo__image,
.hec-logo img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

.hec-desktop-nav {
  min-width: 0;
}

.hec-desktop-cta {
  grid-column: 1;
  grid-row: 1;
}

.hec-desktop-nav--primary {
  grid-column: 2;
  grid-row: 1;
}

.hec-desktop-nav--secondary {
  grid-column: 4;
  grid-row: 1;
}

.hec-desktop-actions {
  grid-column: 5;
  grid-row: 1;
}

.hec-desktop-nav > ul,
.hec-submenu,
.hec-mobile-menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hec-desktop-nav > ul {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: clamp(16px, 1.8vw, 30px);
}

.hec-nav__item {
  position: relative;
  flex: 0 0 auto;
}

.hec-nav__item > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 58px;
  color: var(--hec-text);
  font-size: clamp(11px, .9vw, 15px);
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease;
}

.hec-nav__item > a:hover,
.hec-nav__item > a:focus-visible,
.hec-nav__item.is-current > a {
  color: var(--hec-yellow);
}

.hec-nav__item.is-current > a::after {
  position: absolute;
  right: 50%;
  bottom: -20px;
  width: 38px;
  height: 2px;
  background: var(--hec-yellow);
  border-radius: 10px;
  content: "";
  transform: translateX(50%);
}

.hec-nav__item.is-current > a::before {
  position: absolute;
  right: 50%;
  bottom: -22px;
  width: 6px;
  height: 6px;
  background: var(--hec-yellow);
  border-radius: 50%;
  content: "";
  transform: translateX(50%);
}

.hec-nav__caret {
  display: inline-flex;
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.hec-nav__caret svg {
  width: 15px;
  height: 15px;
}

.hec-nav__item:hover > a .hec-nav__caret,
.hec-nav__item:focus-within > a .hec-nav__caret {
  transform: rotate(-90deg);
}

.hec-submenu {
  position: absolute;
  top: calc(100% + 14px);
  right: -24px;
  z-index: 20;
  width: 268px;
  padding: 11px !important;
  visibility: hidden;
  opacity: 0;
  background: #fff;
  border: 1px solid #e9edf6;
  border-top: 3px solid var(--hec-yellow);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(13, 32, 99, .18);
  transform: translateY(12px) scale(.98);
  transform-origin: top right;
  transition: opacity .2s ease, transform .22s ease, visibility .2s ease;
}

.hec-submenu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 17px;
  content: "";
}

.hec-submenu::after {
  position: absolute;
  top: -8px;
  right: 34px;
  width: 13px;
  height: 13px;
  background: var(--hec-yellow);
  border-radius: 2px 0 0;
  content: "";
  transform: rotate(45deg);
}

.hec-nav__item:hover > .hec-submenu,
.hec-nav__item:focus-within > .hec-submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hec-submenu > .hec-nav__item {
  width: 100%;
  border-bottom: 1px solid #eef1f7;
}

.hec-submenu > .hec-nav__item:last-child {
  border-bottom: 0;
}

.hec-submenu .hec-nav__item > a {
  min-height: 46px;
  padding: 8px 13px;
  color: var(--hec-text);
  font-size: 13px;
  font-weight: 650;
  border-radius: 10px;
  transition: color .2s ease, background .2s ease, padding .2s ease;
}

.hec-submenu .hec-nav__item > a:hover,
.hec-submenu .hec-nav__item > a:focus-visible {
  color: var(--hec-navy);
  padding-right: 18px;
  background: linear-gradient(90deg, #f8f9fd, #f3f6fc);
}

.hec-submenu .hec-nav__item.is-current > a {
  color: var(--hec-navy);
  background: #fff8e8;
}

.hec-submenu .hec-nav__item.is-current > a::before,
.hec-submenu .hec-nav__item.is-current > a::after {
  display: none;
}

.hec-submenu .hec-submenu {
  top: 0;
  right: calc(100% + 12px);
}

.hec-submenu .hec-submenu::after {
  top: 22px;
  right: -7px;
}

.hec-desktop-cta {
  justify-self: start;
}

.hec-desktop-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: clamp(120px, 10.5vw, 176px);
  min-height: clamp(40px, 3.4vw, 57px);
  padding: 8px clamp(13px, 1.2vw, 20px);
  color: var(--hec-text);
  font-size: clamp(11px, .9vw, 15px);
  font-weight: 700;
  border: 1.5px solid var(--hec-yellow);
  border-radius: 28px;
  box-shadow: 0 8px 22px rgba(20, 39, 102, .1);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.hec-desktop-cta a:hover,
.hec-desktop-cta a:focus-visible {
  color: #fff;
  background: var(--hec-navy);
  transform: translateY(-2px);
}

.hec-desktop-cta svg {
  width: 24px;
  height: 24px;
}

.hec-desktop-actions {
  direction: rtl;
  display: flex;
  justify-self: end;
  gap: 14px;
}

.hec-icon-button {
  position: relative;
  display: grid;
  width: clamp(44px, 3.15vw, 53px);
  height: clamp(44px, 3.15vw, 53px);
  place-items: center;
  color: var(--hec-text);
  background: #fff;
  border: 1px solid #edf0f7;
  border-radius: 16px;
  box-shadow: 0 7px 14px rgba(22, 44, 101, .12);
  transition: color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.hec-icon-button:hover,
.hec-icon-button:focus-visible {
  color: var(--hec-yellow);
  box-shadow: 0 10px 22px rgba(22, 44, 101, .17);
  transform: translateY(-2px);
}

.hec-icon-button svg {
  width: 27px;
  height: 27px;
}

.hec-cart-count {
  position: absolute;
  top: -7px;
  right: -5px;
  display: grid;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  place-items: center;
  color: #102676;
  background: var(--hec-yellow);
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.hec-mobile-toggle,
.hec-mobile-actions,
.hec-mobile-menu {
  display: none;
}

.hec-empty-menu {
  color: #7b849f;
  font-size: 12px;
}

@media (max-width: 1180px) and (min-width: 901px) {
  .hec-header {
    padding-inline: 5px;
  }

  .hec-mainbar {
    grid-template-columns: 120px minmax(220px, 1.5fr) 132px minmax(245px, 1.6fr) 102px;
    padding-inline: 30px;
  }

  .hec-logo {
    width: 132px;
    height: 132px;
  }

  .hec-desktop-cta a {
    min-width: 120px;
    padding-inline: 13px;
    font-size: 11px;
  }

  .hec-desktop-actions {
    gap: 8px;
  }

  .hec-icon-button {
    width: 44px;
    height: 44px;
  }

  .hec-desktop-nav > ul {
    gap: 16px;
  }

  .hec-nav__item.is-current > a::after {
    bottom: -10px;
  }

  .hec-nav__item.is-current > a::before {
    bottom: -12px;
  }
}

@media (max-width: 900px) {
  .hec-header {
    padding: 14px 14px 28px;
  }

  .hec-shell {
    width: min(760px, 100%);
    padding-top: 0;
  }

  .hec-topbar {
    position: relative;
    right: auto;
    left: auto;
    display: none;
    align-items: center;
    justify-content: space-between;
    min-height: 94px;
    padding: 13px 26px 28px;
    border-radius: 35px 35px 0 0;
  }

  .hec-header.is-open .hec-topbar {
    display: flex;
  }

  .hec-topbar__slogan,
  .hec-topbar__divider {
    display: none;
  }

  .hec-topbar__details {
    direction: ltr;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .hec-topbar__hours,
  .hec-topbar__phone {
    font-size: 10px;
  }

  .hec-topbar__phone span:last-child {
    font-size: 13px;
  }

  .hec-topbar__phone small {
    font-size: 10px;
  }

  .hec-topbar__icon {
    width: 32px;
    height: 32px;
  }

  .hec-topbar__icon svg {
    width: 23px;
    height: 23px;
  }

  .hec-mainbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 112px;
    padding: 0 25px;
    border-radius: 23px;
  }

  .hec-header.is-open .hec-mainbar {
    margin-top: -20px;
  }

  .hec-desktop-cta,
  .hec-desktop-nav,
  .hec-desktop-actions {
    display: none;
  }

  .hec-logo {
    position: absolute;
    top: 50%;
    right: 50%;
    width: 126px;
    height: 126px;
    margin: 0;
    transform: translate(50%, -50%);
  }

  .hec-mobile-toggle {
    display: grid;
    flex: 0 0 auto;
    width: 51px;
    height: 51px;
    padding: 0;
    place-items: center;
    color: var(--hec-text);
    background: #fff;
    border: 1px solid #edf0f7;
    border-radius: 15px;
    box-shadow: 0 7px 14px rgba(22, 44, 101, .12);
    cursor: pointer;
    order: 2;
  }

  .hec-mobile-toggle svg {
    width: 27px;
    height: 27px;
  }

  .hec-mobile-toggle__close {
    display: none;
  }

  .hec-header.is-open .hec-mobile-toggle__open {
    display: none;
  }

  .hec-header.is-open .hec-mobile-toggle__close {
    display: block;
  }

  .hec-mobile-actions {
    direction: ltr;
    display: flex;
    gap: 13px;
    order: 1;
  }

  .hec-mobile-actions .hec-icon-button {
    width: 51px;
    height: 51px;
  }

  .hec-mobile-menu {
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    margin-top: -3px;
    padding: 14px 34px 20px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 0 0 28px 28px;
    box-shadow: var(--hec-shadow);
    animation: hec-menu-enter .22s ease both;
  }

  .hec-mobile-menu[hidden] {
    display: none;
  }

  .hec-mobile-menu__item {
    border-bottom: 1px solid var(--hec-line);
  }

  .hec-mobile-menu__item:last-child {
    border-bottom: 0;
  }

  .hec-mobile-menu__row {
    display: flex;
    align-items: center;
    min-height: 53px;
    padding: 0 6px;
    border-radius: 11px;
    transition: background .2s ease;
  }

  .hec-mobile-menu__row:hover,
  .hec-mobile-menu__row:focus-within {
    background: #f7f9fd;
  }

  .hec-mobile-menu__item.is-submenu-open > .hec-mobile-menu__row {
    background: #fff9eb;
  }

  .hec-mobile-menu__row > a {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 15px;
    color: var(--hec-text);
    font-size: 14px;
    font-weight: 700;
  }

  .hec-mobile-menu__item.is-current > .hec-mobile-menu__row > a {
    color: var(--hec-yellow);
  }

  .hec-mobile-menu__icon {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .hec-mobile-menu__icon svg {
    width: 22px;
    height: 22px;
  }

  .hec-submenu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    color: var(--hec-text);
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
  }

  .hec-submenu-toggle:hover,
  .hec-submenu-toggle:focus-visible,
  .hec-submenu-toggle[aria-expanded="true"] {
    color: var(--hec-yellow);
    background: #f5f7fc;
  }

  .hec-submenu-toggle svg,
  .hec-mobile-menu__end svg {
    width: 17px;
    height: 17px;
    transition: transform .2s ease;
  }

  .hec-submenu-toggle[aria-expanded="true"] svg {
    transform: rotate(-90deg);
  }

  .hec-mobile-menu__end {
    display: inline-flex;
    margin-inline: 13px;
  }

  .hec-mobile-submenu {
    margin: 0 34px 12px 6px !important;
    padding: 6px 12px !important;
    background: #f8f9fd;
    border: 1px solid #edf0f7;
    border-right: 3px solid var(--hec-yellow);
    border-radius: 13px;
    box-shadow: inset 0 1px 0 #fff;
    animation: hec-submenu-enter .2s ease both;
  }

  .hec-mobile-submenu[hidden] {
    display: none;
  }

  .hec-mobile-submenu .hec-mobile-menu__row {
    min-height: 45px;
    padding: 0 10px;
  }

  .hec-mobile-submenu .hec-mobile-menu__row > a {
    font-size: 12px;
    font-weight: 600;
  }

  .hec-mobile-submenu .hec-mobile-menu__row > a::before {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    background: var(--hec-yellow);
    border-radius: 50%;
    content: "";
  }

  .hec-mobile-submenu .hec-mobile-menu__icon {
    display: none;
  }
}

@keyframes hec-menu-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hec-submenu-enter {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .hec-header {
    padding-inline: 8px;
  }

  .hec-mainbar {
    min-height: 96px;
    padding-inline: 17px;
    border-radius: 19px;
  }

  .hec-logo {
    width: 106px;
    height: 106px;
  }

  .hec-mobile-toggle,
  .hec-mobile-actions .hec-icon-button {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }

  .hec-mobile-toggle svg,
  .hec-mobile-actions .hec-icon-button svg {
    width: 23px;
    height: 23px;
  }

  .hec-mobile-actions {
    gap: 8px;
  }

  .hec-topbar {
    min-height: 86px;
    padding-inline: 16px;
  }

  .hec-topbar__hours,
  .hec-topbar__phone {
    gap: 7px;
    font-size: 8px;
  }

  .hec-topbar__phone span:last-child {
    font-size: 11px;
  }

  .hec-topbar__phone small {
    font-size: 8px;
  }

  .hec-topbar__icon {
    width: 28px;
    height: 28px;
  }

  .hec-topbar__icon svg {
    width: 20px;
    height: 20px;
  }

  .hec-mobile-menu {
    padding-inline: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hec-header *,
  .hec-header *::before,
  .hec-header *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
