.section-header {
  position: relative;
  overflow: hidden;
  padding-top: 20px;
}

.section-header .header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
}

.section-header .header::after {
  content: "";
  position: absolute;
  display: block;
  height: 1px;
  width: 1000vw;
  left: -100%;
  bottom: 0;
  background-color: var(--medium-neutral);
}

.section-header .header .header-logo img {
  height: 50px;
}

.section-header .header-menu {
  display: none;
}

.section-header .header-mobile-controls {
  display: flex;

  gap: 20px;
}

.section-header .header-mobile-controls .menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-header .header-mobile-controls .menu-open,
.section-header .header-mobile-controls .menu-close {
  display: none;
}

@media only screen and (min-width: 1080px) {
  .section-header .header-menu {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .section-header .header-mobile-controls {
    display: none;
  }

  .header-menu .currency-select {
    margin-top: auto;
  }
}

@media only screen and (min-width: 1280px) {
  .section-header .header-menu {
    gap: 32px;
  }
}

@media only screen and (min-width: 1440px) {
  .section-header .header-menu {
    gap: 32px;
  }
}

@media only screen and (min-width: 1800px) {
  .section-header .header-menu {
    gap: 92px;
  }
}

.header-menu a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  text-decoration: none;
  font-family: var(--body-font);
  color: var(--slate);
}

.header-menu a:hover,
.header-menu a:focus {
  text-decoration: underline;
}

.header-menu .focus-link {
  flex-direction: row;
  border: 2px solid var(--medium-neutral);
  border-radius: 1000px;
  padding: 12px 32px;
  transition: all 200ms ease-in-out;
}

.header-menu .focus-link:hover,
.header-menu .focus-link:focus {
  text-decoration: none;
  background-color: var(--medium-neutral);
}

@media only screen and (max-width: 1280px) {
  .header-menu .focus-link {
    padding: 12px 12px;
  }
}

.section-header .top-nav {
  display: flex;
  flex-direction: column;
}

.top-nav.main-container {
  margin: 0;
}

@media only screen and (min-width: 1080px) {
  .section-header .top-nav {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
  }

  .top-nav.main-container {
    max-width: var(--tablet-landscape);
    margin: var(--tablet-landscape-margin);
  }
}

@media only screen and (min-width: 1025px) {
  .top-nav.main-container {
    max-width: var(--desktop);
    margin: var(--desktop-margin);
  }
}

@media only screen and (min-width: 1281px) {
  .top-nav.main-container {
    max-width: var(--large-desktop);
    margin: var(--large-desktop-margin);
  }
}

.top-nav .top-nav-menu {
  width: 100%;
  display: none;
  flex-direction: column;
}

@media only screen and (min-width: 1080px) {
  .top-nav .top-nav-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    gap: 24px;
  }
}

@media only screen and (min-width: 1023px) {
  .top-nav .top-nav-menu {
    gap: 32px;
  }
}

.top-nav-menu .top-explore {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-top: 1px solid var(--medium-neutral);
  border-bottom: 1px solid var(--medium-neutral);
}

.top-nav-menu .mobile-only,
.top-nav-menu a,
.top-nav-menu .cm-cart-widget-small a,
.top-nav-menu .currency-select {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  padding: 20px;
  border-bottom: 1px solid var(--medium-neutral);
  color: var(--slate);
  transition: all 200ms ease-in-out;
}

.top-nav-menu .mobile-only,
.top-nav-menu .cm-cart-widget-small a {
  flex-direction: row-reverse;
}

.top-nav-menu a:hover,
.top-nav-menu a:focus {
  text-decoration: none;
  background-color: var(--light-neutral);
}

.top-nav-menu a::after {
  content: url(../../images/icons/arrow.svg);
  filter: grayscale(1) brightness(0);
}

.top-nav-menu .mobile-only::after,
.top-nav-menu .cm-cart-widget-small a::after {
  display: none;
}

.top-nav-menu .top-explore .button {
  justify-content: center;
  margin-bottom: 0;
}

.top-nav .top-nav-search {
  display: none;
  padding: 20px;
  background-color: var(--white);
}

.top-nav .top-nav-search #search_box_keyword {
  width: 100%;
}

.top-nav .top-nav-search #search_box_submit {
  width: fit-content;
}

@media only screen and (min-width: 1080px) {
  .top-nav-menu .top-explore {
    display: none;
  }

  .top-nav-menu a {
    display: inline-block;
    color: var(--slate);
    padding: 0;
    border-bottom: none;
  }

  .top-nav-menu a:hover,
  .top-nav-menu a:focus {
    text-decoration: underline;
    background-color: transparent;
  }

  .top-nav-menu a::after {
    display: none;
  }

  .top-nav-menu .mobile-only,
  .top-nav-menu .cm-cart-widget-small,
  .top-nav-menu .cm-cart-widget-small a,
  .top-nav .top-nav-search {
    display: none;
  }
}

.top-nav-menu a.selected {
  text-decoration: underline;
}
