:root {
  --local-mobile-header-height: 74px;
  --local-mobile-header-bg: #433228;
}

.local-mobile-header,
.local-mobile-header-spacer {
  display: none;
}

@media screen and (max-width: 980px) {
  html,
  body {
    background-color: var(--local-mobile-header-bg) !important;
  }

  .local-mobile-header-spacer {
    display: block;
    width: 100%;
    height: var(--local-mobile-header-height);
    flex: 0 0 var(--local-mobile-header-height);
    pointer-events: none;
  }

  html.local-mobile-header-overlays-page .hero-slide__overlay {
    box-sizing: border-box;
    padding-top: calc(clamp(112px, 15vh, 156px) + var(--local-mobile-header-height));
  }

  .local-mobile-header {
    position: fixed;
    z-index: 100000;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    height: var(--local-mobile-header-height);
    box-sizing: border-box;
    background: var(--local-mobile-header-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .local-mobile-header::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: max(env(safe-area-inset-top, 0px), 80px);
    background: var(--local-mobile-header-bg);
    pointer-events: none;
  }

  .local-mobile-header__inner {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .local-mobile-header__burger,
  .local-mobile-header__cart {
    position: absolute;
    top: 11px;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .local-mobile-header__burger {
    left: max(12px, calc(env(safe-area-inset-left, 0px) + 12px));
  }

  .local-mobile-header__burger-lines {
    position: absolute;
    top: 17px;
    left: 12px;
    width: 25px;
    height: 15px;
  }

  .local-mobile-header__burger-lines span {
    position: absolute;
    left: 0;
    display: block;
    width: 25px;
    height: 2px;
    border-radius: 11px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
  }

  .local-mobile-header__burger-lines span:nth-child(1) { top: 0; }
  .local-mobile-header__burger-lines span:nth-child(2) { top: 6.5px; }
  .local-mobile-header__burger-lines span:nth-child(3) { top: 13px; }

  .local-mobile-header__burger[aria-expanded="true"] .local-mobile-header__burger-lines span:nth-child(1) {
    top: 6.5px;
    transform: rotate(45deg);
  }

  .local-mobile-header__burger[aria-expanded="true"] .local-mobile-header__burger-lines span:nth-child(2) {
    opacity: 0;
  }

  .local-mobile-header__burger[aria-expanded="true"] .local-mobile-header__burger-lines span:nth-child(3) {
    top: 6.5px;
    transform: rotate(-45deg);
  }

  .local-mobile-header__logo {
    position: absolute;
    top: 11px;
    left: 50%;
    display: block;
    width: 102px;
    height: 53px;
    transform: translateX(-50%);
  }

  .local-mobile-header__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .local-mobile-header__cart {
    right: max(20px, calc(env(safe-area-inset-right, 0px) + 12px));
    transition: right 0.2s ease;
  }

  .local-mobile-header__cart.has-items {
    right: max(22px, calc(env(safe-area-inset-right, 0px) + 14px));
  }

  .local-mobile-header__cart-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    display: block;
    width: 25px;
    height: 28px;
  }

  .local-mobile-header__badge {
    position: absolute;
    z-index: 1;
    top: 3px;
    right: -2px;
    display: none;
    min-width: 23px;
    height: 23px;
    box-sizing: border-box;
    padding: 0 4px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: #dc1f26;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 9px;
    font-weight: 600;
    line-height: 23px;
    text-align: center;
  }

  .local-mobile-header__badge.is-visible {
    display: flex;
  }

  @keyframes local-cart-badge-jelly-bounce {
    0%,
    100% {
      transform: scale(1);
    }
    28% {
      transform: scale(0.9, 1.1);
    }
    55% {
      transform: scale(1.13, 0.92);
    }
    78% {
      transform: scale(0.97, 1.04);
    }
  }

  .local-mobile-header__badge.is-jelly-bouncing {
    animation: local-cart-badge-jelly-bounce 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
    transform-origin: center;
  }

  @media (prefers-reduced-motion: reduce) {
    .local-mobile-header__badge.is-jelly-bouncing {
      animation: none;
    }
  }

  .local-mobile-header__burger:focus-visible,
  .local-mobile-header__logo:focus-visible,
  .local-mobile-header__cart:focus-visible {
    outline: 3px solid rgba(250, 166, 26, 0.8);
    outline-offset: 2px;
  }

  #rec720324542 .t450__burger_container {
    display: none !important;
  }

  #rec720324542 .t450__logowrapper {
    display: none !important;
  }

  #rec771649231 .t706__carticon {
    display: none !important;
  }

  #rec720324542 .t450 {
    right: auto !important;
    left: 0 !important;
    transform: translateX(-100%) !important;
  }

  #rec720324542 .t450.t450__menu_show {
    transform: translateX(0) !important;
  }

  #rec720324542 .t450__list > .t450__list_item > .t-menu__link-item {
    font-size: 30px !important;
  }

  html.local-mobile-menu-open .max-widget,
  html.local-mobile-menu-open #jivo_chat_widget,
  html.local-mobile-menu-open .jivo_chat_widget,
  html.local-mobile-menu-open [id^="jivo-"],
  html.local-mobile-menu-open jdiv[class*="__jivo"],
  html.local-mobile-menu-open jdiv.jv-pseudo-height,
  html.local-mobile-menu-open iframe[src*="jivosite"] {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media screen and (max-width: 980px) and (orientation: portrait) {
  html.local-mobile-header-overlays-page .hero-slide__overlay {
    padding-top: calc(
      var(--local-mobile-header-height) +
      env(safe-area-inset-top, 0px) +
      20px
    );
  }
}

@media screen and (max-width: 980px) and (orientation: landscape) {
  html.local-mobile-header-overlays-page .hero-slide__overlay {
    padding-top: calc(var(--local-mobile-header-height) + max(12px, env(safe-area-inset-top, 0px)));
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }

  .hero-swiper .swiper-button-prev {
    left: max(20px, calc(env(safe-area-inset-left, 0px) + 12px));
  }

  .hero-swiper .swiper-button-next {
    right: max(20px, calc(env(safe-area-inset-right, 0px) + 12px));
  }
}

@media screen and (max-width: 359px) {
  .local-mobile-header__burger {
    left: max(6px, calc(env(safe-area-inset-left, 0px) + 6px));
  }
  .local-mobile-header__logo { width: 92px; }
}
