/* GKDOLL global header: blend the dark logo canvas into the navigation. */
#masthead,
#masthead .ast-primary-header-bar,
#masthead .site-primary-header-wrap,
#masthead .ast-builder-grid-row {
  background: #111112 !important;
}

#masthead {
  box-shadow: 0 8px 26px rgba(17, 17, 18, .16) !important;
}

#masthead .site-primary-header-wrap {
  width: min(1600px, calc(100% - 32px));
  margin-inline: auto;
  padding-inline: 0 !important;
}

#masthead .site-header-primary-section-center {
  width: 100%;
  justify-content: space-between;
}

#masthead .ast-builder-menu-1 {
  flex: 1 1 auto !important;
}

#masthead .ast-builder-menu-1 .ast-main-header-bar-alignment {
  flex: 1 1 auto;
  width: 100%;
}

#masthead #primary-site-navigation-desktop,
#masthead #primary-site-navigation-desktop #ast-hf-menu-1 {
  width: 100%;
}

#masthead #primary-site-navigation-desktop .main-navigation {
  display: flex;
  width: 100%;
}

#masthead #primary-site-navigation-desktop #ast-hf-menu-1 {
  display: flex;
  flex: 1 1 auto;
  width: 100% !important;
  justify-content: space-between;
  column-gap: 0;
}

#masthead #primary-site-navigation-desktop #ast-hf-menu-1 > .menu-item {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  min-width: 0;
}

#masthead #primary-site-navigation-desktop #ast-hf-menu-1 > .menu-item > .menu-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
  height: 100%;
  width: 100%;
  max-width: 100%;
}

#masthead .ast-primary-header-bar {
  border-bottom-color: rgba(255, 255, 255, .08) !important;
}

#masthead .custom-logo-link img,
#masthead .custom-logo {
  width: 170px !important;
  max-width: 170px !important;
  height: auto !important;
}

#masthead #ast-hf-menu-1 > .menu-item > .menu-link,
#masthead .ast-header-woo-cart,
#masthead .ast-header-woo-cart .ast-woo-header-cart-info-wrap,
#masthead .ast-header-woo-cart .ast-icon,
#masthead .ast-header-account-wrap,
#masthead .ast-header-account-wrap .ast-header-account-type-icon {
  color: #f2ebe2 !important;
}

#masthead .ast-woo-header-cart-info-wrap {
  display: none !important;
}

#masthead #ast-hf-menu-1 > .menu-item > .menu-link {
  padding-inline: 16px !important;
  letter-spacing: .035em;
}

#masthead #ast-hf-menu-1 > .menu-item:hover > .menu-link,
#masthead #ast-hf-menu-1 > .current-menu-item > .menu-link,
#masthead #ast-hf-menu-1 > .current-menu-ancestor > .menu-link {
  color: #d9a5b8 !important;
}

body.home #masthead #ast-hf-menu-1 > .current-menu-item > .menu-link,
body.home #masthead #ast-hf-menu-1 > .current-menu-ancestor > .menu-link {
  color: #f2ebe2 !important;
}

body.home #masthead #ast-hf-menu-1 > .current-menu-item:hover > .menu-link,
body.home #masthead #ast-hf-menu-1 > .current-menu-ancestor:hover > .menu-link {
  color: #d9a5b8 !important;
}

/* Keep long desktop dropdown labels tidy without changing the menu text. */
@media (min-width: 922px) {
  #masthead #primary-site-navigation-desktop .sub-menu > .menu-item {
    display: block;
    padding-block: 0;
  }

  #masthead #primary-site-navigation-desktop .sub-menu .menu-link {
    display: flex !important;
    align-items: center;
    white-space: normal !important;
    box-sizing: border-box;
    height: auto !important;
    min-height: 0 !important;
    padding-block: 10px !important;
    width: 100%;
    transform: none;
  }

  #masthead #primary-site-navigation-desktop .sub-menu .gkdoll-menu-label {
    display: -webkit-box;
    flex: 1 1 auto;
    min-width: 0;
    max-height: 2.7em;
    overflow: hidden;
    overflow-wrap: anywhere;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

#masthead .ast-menu-toggle,
#masthead .ast-mobile-menu-trigger-minimal {
  color: #f2ebe2 !important;
}

@media (max-width: 767px) {
  #masthead .custom-logo-link img,
  #masthead .custom-logo {
    width: 105px !important;
    max-width: 105px !important;
  }
}

@media (min-width: 768px) and (max-width: 1399px) {
  #masthead .custom-logo-link img,
  #masthead .custom-logo {
    width: 160px !important;
    max-width: 160px !important;
  }

  #masthead #primary-site-navigation-desktop #ast-hf-menu-1 > .menu-item > .menu-link {
    padding-inline: 6px !important;
    font-size: 14.5px;
    letter-spacing: .018em;
  }
}
