/**
 * Header 10 — Phenomena announcement bar and icon header.
 */

.h10-site-header {
  --h10-announce-bg: #c5c0e7;
  --h10-announce-text: #111111;
  --h10-header-bg: #ffffff;
  --h10-header-text: #111111;
  --h10-inset: 60px;
  position: relative;
  z-index: 40;
  background: var(--h10-header-bg);
  color: var(--h10-header-text);
  font-family: "Bricolage Grotesque", sans-serif;
}

.h10-announce {
  height: 40px;
  overflow: hidden;
  background: var(--h10-announce-bg);
  color: var(--h10-announce-text);
  font-size: 12px;
  font-weight: 400;
  line-height: 40px;
}

.h10-announce__track {
  display: flex;
  width: max-content;
  animation: h10-marquee 32s linear infinite;
}

.h10-announce:hover .h10-announce__track {
  animation-play-state: paused;
}

.h10-announce__group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}

.h10-announce__item {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
}

.h10-announce__star {
  display: block;
  flex: 0 0 auto;
}

.h10-site-header .h10-announce a {
  color: inherit;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: underline;
  text-transform: uppercase;
  text-underline-offset: 3px;
}

@keyframes h10-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.h10-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  min-height: 60px;
  padding: 0 var(--h10-inset);
  background: var(--h10-header-bg);
  gap: 16px;
}

.h10-burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.h10-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.h10-logo {
  justify-self: start;
  color: var(--h10-header-text);
  text-decoration: none;
  line-height: 1;
}

.h10-site-header .h10-logo__text {
  font-family: Anton, sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}

.h10-logo .custom-logo-link,
.h10-logo img {
  display: block;
  max-height: 28px;
  width: auto;
}

.h10-nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h10-nav.bsp-header-nav {
  position: static;
}

.h10-site-header .h10-nav__menu > .bsp-mega-menu-parent {
  position: static;
}

.h10-site-header .h10-nav__menu > li > a {
  position: relative;
  color: var(--h10-header-text);
  font-family: Anton, sans-serif;
  font-size: 14.4px;
  font-weight: 400;
  letter-spacing: 0.36px;
  line-height: 1.2;
  text-decoration: none;
}

.h10-site-header .h10-nav__menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.h10-site-header .h10-nav__menu > li > a:hover::after,
.h10-site-header .h10-nav__menu > li > a:focus-visible::after {
  transform: scaleX(1);
}

.h10-nav__menu .sub-menu {
  display: none;
  position: absolute;
  min-width: 180px;
  margin: 8px 0 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 5;
  top: 10px;
}

.h10-nav__menu > li {
  position: relative;
}

.h10-nav__menu li:hover > .sub-menu,
.h10-nav__menu li:focus-within > .sub-menu {
  display: block;
}

.h10-nav__menu .sub-menu a {
  display: block;
  padding: 8px 16px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

.h10-site-header .h10-nav__menu > li.bsp-has-dropdown,
.h10-site-header .h10-nav__menu > li.menu-item-has-children,
.h10-site-header .h10-nav__menu .sub-menu li.menu-item-has-children {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.h10-site-header .bsp-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  line-height: 0;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
}

.h10-site-header .bsp-submenu-toggle__icon {
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform 0.2s ease, margin 0.2s ease;
}

.h10-site-header .bsp-submenu-toggle[aria-expanded="true"] .bsp-submenu-toggle__icon,
.h10-site-header .is-open > .bsp-submenu-toggle .bsp-submenu-toggle__icon,
.h10-site-header .is-submenu-open > .bsp-submenu-toggle .bsp-submenu-toggle__icon {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.h10-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}

.h10-currency {
  display: flex;
  align-items: center;
  margin-right: 4px;
}

.h10-currency .bsp-mcx__trigger,
.h10-currency button,
.h10-currency select {
  height: 36px;
  border: 0;
  background: transparent;
  color: #111;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 13px;
  cursor: pointer;
}

.h10-currency .bsp-mcx__menu {
  z-index: 60;
}

.h10-tool {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--h10-header-text);
  text-decoration: none;
  cursor: pointer;
}

.h10-tool__count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #111;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.h10-site-header #bsp-luxury-search-panel {
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 60;
  width: min(560px, calc(100% - 32px));
  padding: 16px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.16);
}

.h10-site-header #bsp-luxury-search-panel[hidden] {
  display: none;
}

.h10-search__form {
  position: relative;
  display: flex;
  gap: 8px;
}

.h10-search__input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #111;
  border-radius: 999px;
  font: inherit;
}

.h10-search__submit {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font: inherit;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .h10-site-header {
    --h10-inset: 24px;
  }
}

@media (max-width: 989px) {
  .h10-site-header {
    --h10-inset: 16px;
  }

  .h10-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 56px;
    padding: 0 10px;
    gap: 4px;
  }

  .h10-tool {
    width: 32px;
    height: 32px;
  }

  .h10-tool svg {
    width: 18px;
    height: 18px;
  }

  .h10-currency {
    margin-right: 0;
  }

  .h10-currency .bsp-mcx__trigger,
  .h10-currency button {
    height: 32px;
    padding: 0;
    font-size: 12px;
  }

  .h10-burger {
    display: inline-flex;
  }

  .h10-logo {
    justify-self: center;
  }

  .h10-logo__text {
    font-size: 24px;
  }

  .h10-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 12px 16px 20px;
    z-index: 30;
  }

  .h10-nav.is-open {
    display: block;
  }

  .h10-nav__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .h10-site-header .h10-nav__menu > li.bsp-has-dropdown,
  .h10-site-header .h10-nav__menu > li.menu-item-has-children {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .h10-site-header .h10-nav.is-open .bsp-submenu-toggle {
    width: 32px;
    height: 32px;
  }

  .h10-site-header .bsp-mega-menu {
    position: static;
    left: auto;
    width: 100%;
    transform: none;
    box-shadow: none;
  }

  .h10-site-header #bsp-luxury-search-panel {
    width: calc(100% - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .h10-announce__track {
    animation: none;
  }
}
