.supei-hf-header {
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, backdrop-filter 0.22s ease;
  will-change: box-shadow;
}

html {
  scroll-padding-top: calc(var(--hf-header-height, 56px) + 16px);
}

.supei-hf-logo {
  --supei-hf-logo-height: 36px;
  --supei-hf-logo-max-width: 168px;
  --supei-hf-wordmark-size: 24px;
  --supei-hf-wordmark-gap: 3px;
}

body.supei-header-scrolled .supei-hf-logo {
  --supei-hf-logo-height: 33px;
  --supei-hf-logo-max-width: 154px;
  --supei-hf-wordmark-size: 22px;
}

.supei-hf-logo__image {
  height: var(--supei-hf-logo-height, 40px);
  max-width: var(--supei-hf-logo-max-width, 190px);
}

.supei-hf-logo__wordmark {
  display: inline-flex;
  align-items: baseline;
  margin-left: var(--supei-hf-wordmark-gap, 8px);
  font-family: Arial Black, Impact, var(--hf-font-en, Arial), sans-serif;
  font-size: var(--supei-hf-wordmark-size, 27px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
  white-space: nowrap;
  transform: skewX(-8deg);
}

.supei-hf-logo__wordmark-steed {
  color: #050505;
}

.supei-hf-logo__wordmark-lux {
  color: #e50012;
}

.supei-hf-logo__wordmark-parts {
  color: #8b8f96;
  text-shadow: 0.025em 0.025em 0 #d3d6da;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: calc(var(--hf-header-height-mobile, 48px) + 16px);
  }

  .supei-hf-logo,
  body.supei-header-scrolled .supei-hf-logo {
    --supei-hf-logo-height: 27px;
    --supei-hf-logo-max-width: 100px;
    --supei-hf-wordmark-size: 16px;
    --supei-hf-wordmark-gap: 2px;
  }
}

@media (max-width: 380px) {
  .supei-hf-logo,
  body.supei-header-scrolled .supei-hf-logo {
    --supei-hf-logo-height: 24px;
    --supei-hf-logo-max-width: 88px;
    --supei-hf-wordmark-size: 14px;
    --supei-hf-wordmark-gap: 2px;
  }
}

.supei-hf-actions__btn--wishlist.is-active {
  color: #e11d48;
  background: transparent;
}

.supei-hf-actions__btn--wishlist[aria-current="page"],
.supei-hf-actions__btn--wishlist:hover,
.supei-hf-actions__btn--wishlist:focus-visible {
  color: #e11d48;
  background: rgba(225, 29, 72, 0.08);
}

.supei-hf-wishlist-count {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #e11d48;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

body.supei-header-scrolled .supei-hf-header {
  height: 54px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(203, 213, 225, 0.82);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

body.supei-header-scrolled .supei-hf-header__inner {
  gap: 24px;
}

body.supei-header-scrolled .supei-hf-logo {
  gap: 8px;
  font-size: 16px;
}

body.supei-header-scrolled .supei-hf-logo__icon {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

body.supei-header-scrolled .supei-hf-logo__text {
  font-size: 14px;
}

.supei-hf-logo__image {
  display: block;
  width: auto;
  height: var(--supei-hf-logo-height, 36px);
  max-width: var(--supei-hf-logo-max-width, 168px);
  object-fit: contain;
}

body.supei-header-scrolled .supei-hf-logo__image {
  height: var(--supei-hf-logo-height, 33px);
  max-width: var(--supei-hf-logo-max-width, 154px);
}

body.supei-header-scrolled .supei-hf-nav,
body.supei-header-scrolled .supei-hf-nav__list {
  gap: 24px;
}

body.supei-header-scrolled .supei-hf-nav > li > a,
body.supei-header-scrolled .supei-hf-nav__list > li > a {
  padding: 7px 10px;
  font-size: 14px;
}

body.supei-header-scrolled .supei-hf-actions {
  gap: 12px;
}

body.supei-header-scrolled .supei-hf-search {
  width: 260px;
}

body.supei-header-scrolled .supei-hf-search__input {
  height: 36px;
  font-size: 15px;
}

body.supei-header-scrolled .supei-hf-search__btn {
  width: 44px;
  height: 44px;
}

body.supei-header-scrolled .supei-hf-actions__btn {
  width: 44px;
  height: 44px;
}

.supei-hf-quickbar {
  border-bottom: 0;
}

.supei-hf-quickbar__inner {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.supei-hf-quickbar__inner::before {
  content: none;
  display: none;
  background: none;
}

body.supei-cart-drawer-open .supei-hf-nav .sub-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.supei-cart-drawer-open .supei-hf-nav .menu-item-has-children > a::after {
  transform: rotate(45deg) translateY(-1px);
}

body.supei-header-scrolled .supei-hf-topbar {
  max-height: 32px;
  opacity: 1;
}

body.supei-header-scrolled .supei-hf-quickbar {
  max-height: 120px;
  padding-top: 10px;
  padding-bottom: 12px;
  opacity: 1;
  border-bottom-color: rgba(226, 232, 240, 0.92);
}

body.supei-header-scrolled .supei-hf-quickbar__inner {
  opacity: 1;
  transform: none;
}

@media (max-width: 992px) {
  body.supei-header-scrolled .supei-hf-topbar {
    display: none;
    max-height: none;
    opacity: 1;
  }

  body.supei-header-scrolled .supei-hf-quickbar {
    display: none;
    max-height: none;
    opacity: 1;
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .supei-hf-header__inner,
  body.supei-header-scrolled .supei-hf-header__inner {
    gap: 6px;
  }

  .supei-hf-logo,
  body.supei-header-scrolled .supei-hf-logo {
    flex: 0 0 auto;
    min-width: 0;
    gap: 6px;
  }

  .supei-hf-logo__image,
  body.supei-header-scrolled .supei-hf-logo__image {
    height: var(--supei-hf-logo-height, 27px);
    max-width: var(--supei-hf-logo-max-width, 100px);
  }

  .supei-hf-logo__text,
  body.supei-header-scrolled .supei-hf-logo__text {
    display: inline;
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }

  .supei-hf-actions,
  body.supei-header-scrolled .supei-hf-actions {
    flex: 1 1 auto;
    min-width: 0;
    gap: 4px;
    justify-content: flex-end;
    margin-left: auto;
  }

  .supei-hf-search,
  body.supei-header-scrolled .supei-hf-search {
    flex: 0 1 clamp(96px, 28vw, 132px);
    width: clamp(96px, 28vw, 132px);
    max-width: 132px;
    min-width: 0;
  }

  body.supei-header-scrolled .supei-hf-header {
    height: var(--hf-header-height-mobile);
  }

  .supei-hf-search__input,
  body.supei-header-scrolled .supei-hf-search__input {
    height: 36px;
    padding-left: 10px;
    padding-right: 34px;
    font-size: 16px;
  }

  .supei-hf-search__input::placeholder,
  body.supei-header-scrolled .supei-hf-search__input::placeholder {
    color: transparent;
    opacity: 0;
  }

  .supei-hf-search__btn,
  body.supei-header-scrolled .supei-hf-search__btn,
  body.supei-header-scrolled .supei-hf-actions__btn {
    width: 36px;
    height: 36px;
  }

  .supei-hf-menu-toggle,
  .supei-hf-actions__btn,
  body.supei-header-scrolled .supei-hf-actions__btn {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 620px) {
  .supei-hf-actions .supei-hf-actions__btn--wishlist,
  body.supei-header-scrolled .supei-hf-actions .supei-hf-actions__btn--wishlist {
    display: flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 380px) {
  .supei-hf-logo__image,
  body.supei-header-scrolled .supei-hf-logo__image {
    height: var(--supei-hf-logo-height, 24px);
    max-width: var(--supei-hf-logo-max-width, 88px);
  }

  .supei-hf-logo__text,
  body.supei-header-scrolled .supei-hf-logo__text {
    max-width: 100px;
    font-size: 12px;
  }

  .supei-hf-search,
  body.supei-header-scrolled .supei-hf-search {
    flex-basis: 92px;
    width: 92px;
  }

  .supei-hf-search__input,
  body.supei-header-scrolled .supei-hf-search__input {
    padding-left: 9px;
    padding-right: 32px;
  }

  .supei-hf-search__btn,
  body.supei-header-scrolled .supei-hf-search__btn {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 768px) {
  .supei-hf-mobile-bottom-nav {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }

  .supei-hf-footer {
    padding-bottom: 0 !important;
  }

  .supei-hf-back-to-top {
    right: 12px;
    bottom: max(16px, calc(16px + env(safe-area-inset-bottom))) !important;
  }
}
