/* Approved compact sticky header. */
.header .header__box img.header__approved-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  filter: none !important;
}
@media (min-width: 769px) {
  .header--sticky-preview.header--sticky-active {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 14px 0 12px;
    color: var(--color-black);
    background: #fff;
    box-shadow: 0 5px 18px rgba(24, 24, 24, .12);
    animation: sticky-header-in .22s ease-out both;
    --sticky-bottom-obstruction: 0px;
  }

  .header--sticky-preview.header--sticky-active .header__content {
    display: grid;
    grid-template-columns: 105px 78px minmax(245px, 1fr) 250px auto auto auto;
    grid-template-rows: 40px 48px;
    align-items: center;
    gap: 10px 16px;
  }

  .header--sticky-preview.header--sticky-active .header__top,
  .header--sticky-preview.header--sticky-active .header__body {
    display: contents;
  }

  .header--sticky-preview.header--sticky-active .header__top-logo,
  .header--sticky-preview.header--sticky-active .header__text,
  .header--sticky-preview.header--sticky-active .header__details {
    display: none;
  }

  .header--sticky-preview.header--sticky-active .header__catalog {
    grid-column: 1;
    grid-row: 1;
    height: 40px;
    padding: 10px;
    color: #fff;
    white-space: nowrap;
  }

  .header--sticky-preview.header--sticky-active .header__locations {
    grid-column: 2;
    grid-row: 1;
    gap: 7px;
    color: var(--color-black);
    font-size: 11px;
  }

  .header--sticky-preview.header--sticky-active .header__locations-icon {
    filter: none;
  }

  .header--sticky-preview.header--sticky-active .search {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    min-width: 0;
  }

  .header--sticky-preview.header--sticky-active .header__links {
    grid-column: 4;
    grid-row: 1;
    justify-self: start;
    margin: 0;
    gap: 14px;
    color: var(--color-black);
  }

  .header--sticky-preview.header--sticky-active .header__links .header__link {
    color: var(--color-black) !important;
  }

  .header--sticky-preview.header--sticky-active .header__links-inner {
    flex-wrap: nowrap;
  }

  .header--sticky-preview.header--sticky-active .header__links-inner:first-child {
    white-space: nowrap;
    font-weight: 700;
  }

  .header--sticky-preview.header--sticky-active .header__links-inner:first-child * {
    color: var(--color-black) !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }

  .header--sticky-preview.header--sticky-active .header__box {
    color: var(--color-black);
    white-space: nowrap;
  }

  .header--sticky-preview.header--sticky-active .header__box[href="/account/favourites"] {
    grid-column: 5;
    grid-row: 1;
  }

  .header--sticky-preview.header--sticky-active .header__box--cart {
    grid-column: 6;
    grid-row: 1;
  }

  .header--sticky-preview.header--sticky-active .header__box--entry {
    grid-column: 7;
    grid-row: 1;
    height: 40px;
    color: #fff;
  }

  .header--sticky-preview.header--sticky-active .header__bottom {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: stretch;
    min-width: 0;
    padding: 8px 14px;
    gap: 30px;
    margin: 0;
    background: #f7f7f7;
  }

  .header--sticky-preview.header--sticky-active .header__logo {
    width: 86px;
    flex: 0 0 86px;
    margin: 0;
  }

  .header--sticky-preview.header--sticky-active .menu {
    min-width: 0;
    flex: 1 1 auto;
  }

  .header--sticky-preview.header--sticky-active .menu__list {
    justify-content: space-between;
    gap: 12px;
  }

  .header--sticky-preview.header--sticky-active .menu__dropdown {
    max-height: none;
    overflow: visible;
  }

  .header--sticky-preview.header--sticky-active .menu__dropdown-inner {
    max-height: calc(100vh - 138px);
    max-height: calc(100dvh - 138px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #f77705 #f1f1f1;
    scrollbar-width: thin;
  }

  .header--sticky-preview.header--sticky-active:has(.menu__btn:hover .menu__dropdown),
  .header--sticky-preview.header--sticky-active:has(.header__catalog--opened) {
    z-index: 2147483647;
  }

  .header--sticky-preview.header--sticky-active .menu__btn:hover > .menu__link::after {
    display: none !important;
  }

  .header--sticky-preview.header--sticky-active .menu__dropdown-inner::-webkit-scrollbar {
    width: 8px;
  }

  .header--sticky-preview.header--sticky-active .menu__dropdown-inner::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
  }

  .header--sticky-preview.header--sticky-active .menu__dropdown-inner::-webkit-scrollbar-thumb {
    background: #f77705;
    border-radius: 8px;
  }

  .header--sticky-preview.header--sticky-active .megamenu {
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    overflow: hidden;
  }

  .header--sticky-preview.header--sticky-active .cities {
    top: 54px;
  }

  @keyframes sticky-header-in {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .header--sticky-preview.header--sticky-active .header__content {
    grid-template-columns: 105px minmax(210px, 1fr) 220px auto auto;
  }

  .header--sticky-preview.header--sticky-active .header__locations,
  .header--sticky-preview.header--sticky-active .header__box[href="/account/favourites"] {
    display: none;
  }

  .header--sticky-preview.header--sticky-active .search {
    grid-column: 2;
  }

  .header--sticky-preview.header--sticky-active .header__links {
    grid-column: 3;
  }

  .header--sticky-preview.header--sticky-active .header__box--cart {
    grid-column: 4;
  }

  .header--sticky-preview.header--sticky-active .header__box--entry {
    grid-column: 5;
  }
}

@media (max-width: 768px) {
  .header--sticky-preview.header--sticky-active {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 10px 0;
    color: var(--color-black);
    background: #fff;
    box-shadow: 0 4px 16px rgba(24, 24, 24, .14);
    animation: none;
    --sticky-bottom-obstruction: 0px;
  }

  .header--sticky-preview.header--sticky-active .header__top {
    min-height: 50px;
    margin: 0;
  }

  .header--sticky-preview.header--sticky-active .header__top-logo {
    display: block;
  }

  .header--sticky-preview.header--sticky-active .header__text,
  .header--sticky-preview.header--sticky-active .header__details,
  .header--sticky-preview.header--sticky-active .header__links,
  .header--sticky-preview.header--sticky-active .header__locations,
  .header--sticky-preview.header--sticky-active .cities {
    display: none;
  }

  .header--sticky-preview.header--sticky-active .header__mob-btn-container {
    margin-left: auto;
  }

  .header--sticky-preview.header--sticky-active:has(.menu._active) {
    z-index: 2147483000;
  }

  @keyframes sticky-header-in-mobile {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
  }
}

@media (max-width: 479px) {
  .header--sticky-preview.header--sticky-active {
    padding: 7px 0;
  }

  .header--sticky-preview.header--sticky-active .header__top {
    min-height: 46px;
  }

  .header--sticky-preview.header--sticky-active .header__top-logo img {
    width: 82px;
  }
}
