/* Editorial glass mega menus for Shop, Learn and About. */
#tbp_header .sunday-amai-navlinks {
  flex: 0 0 auto !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  overflow: visible !important;
}

#tbp_header .sunday-amai-left,
#tbp_header .sunday-amai-mega {
  overflow: visible !important;
}

#tbp_header .sunday-amai-left { position: relative !important; }

@media (min-width: 901px) {
  #tbp_header .sunday-amai-mega { position: static !important; }

  #tbp_header .sunday-amai-mega > .sunday-amai-navlink {
    min-width: 64px !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
  }
}

#tbp_header .sunday-amai-mega .sunday-amai-dropdown-panel {
  position: absolute !important;
  top: calc(100% + 9px) !important;
  left: 0 !important;
  right: auto !important;
  z-index: 10050 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  margin-top: 0 !important;
  padding: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.38) !important;
  border-radius: 30px !important;
  color: #fff !important;
  background: linear-gradient(180deg, rgba(86,78,96,.42) 0%, rgba(70,60,82,.46) 54%, rgba(51,36,68,.52) 100%) !important;
  box-shadow: 0 24px 60px rgba(20,12,28,.28), inset 0 1px rgba(255,255,255,.24) !important;
  -webkit-backdrop-filter: blur(24px) saturate(92%) brightness(.90) !important;
  backdrop-filter: blur(24px) saturate(92%) brightness(.90) !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transform: translateY(8px) !important;
  pointer-events: none !important;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s !important;
}

#tbp_header .sunday-amai-mega .sunday-amai-dropdown-panel::before {
  content: "" !important;
  position: absolute !important;
  top: -11px !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  height: 11px !important;
  pointer-events: auto !important;
}

#tbp_header .sunday-amai-mega--learn .sunday-amai-dropdown-panel {
  right: auto !important;
  left: 0 !important;
  width: 100% !important;
}

#tbp_header .sunday-amai-mega--about .sunday-amai-dropdown-panel {
  right: auto !important;
  left: 0 !important;
  width: 100% !important;
}

#tbp_header .sunday-amai-mega:hover .sunday-amai-dropdown-panel,
#tbp_header .sunday-amai-mega:focus-within .sunday-amai-dropdown-panel,
#tbp_header .sunday-amai-mega.is-open .sunday-amai-dropdown-panel {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  transition-delay: 0s !important;
}

#tbp_header .sunday-amai-mega:hover .sunday-amai-dropdown-panel::before,
#tbp_header .sunday-amai-mega:focus-within .sunday-amai-dropdown-panel::before,
#tbp_header .sunday-amai-mega.is-open .sunday-amai-dropdown-panel::before {
  pointer-events: auto !important;
}

#tbp_header .sunday-amai-mega:hover .sunday-amai-chev,
#tbp_header .sunday-amai-mega:focus-within .sunday-amai-chev,
#tbp_header .sunday-amai-mega.is-open .sunday-amai-chev {
  transform: rotate(180deg) !important;
}

#tbp_header .sunday-mega-heading {
  display: grid;
  gap: 5px;
  padding: 5px 6px 13px;
}

#tbp_header .sunday-mega-heading span {
  color: rgba(255,255,255,.80);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

#tbp_header .sunday-mega-heading strong {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
}

#tbp_header .sunday-mega-list {
  display: grid;
  gap: 4px;
}

#tbp_header .sunday-amai-dropdown-panel a.sunday-mega-item {
  position: relative !important;
  z-index: 2 !important;
  pointer-events: auto !important;
  display: grid !important;
  grid-template-columns: 72px minmax(0,1fr);
  gap: 13px;
  align-items: center;
  min-height: 84px;
  padding: 8px !important;
  border: 1px solid transparent;
  border-radius: 18px !important;
  color: #fff !important;
  background: transparent !important;
}

#tbp_header .sunday-amai-dropdown-panel a.sunday-mega-item:hover,
#tbp_header .sunday-amai-dropdown-panel a.sunday-mega-item:focus-visible {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.16) !important;
}

#tbp_header .sunday-mega-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  background: rgba(244,242,247,.24);
}

#tbp_header .sunday-mega-item--product img {
  box-sizing: border-box;
  object-fit: cover;
  padding: 0;
  background: rgba(244,242,247,.24);
}

#tbp_header .sunday-mega-item--trz img,
#tbp_header .sunday-mega-item--sermorelin img {
  object-position: 50% 55%;
}

#tbp_header .sunday-mega-item--mots-c img {
  object-position: 50% 72%;
}

#tbp_header .sunday-mega-item > span,
#tbp_header .sunday-mega-feature > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

#tbp_header .sunday-mega-item small {
  color: #c4a8e4;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#tbp_header .sunday-mega-item strong,
#tbp_header .sunday-mega-feature strong {
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.18;
}

#tbp_header .sunday-mega-item em,
#tbp_header .sunday-mega-feature em {
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-style: normal;
  font-weight: 450;
  line-height: 1.35;
}

#tbp_header .sunday-amai-dropdown-panel a.sunday-mega-footer {
  position: relative !important;
  z-index: 2 !important;
  pointer-events: auto !important;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding: 13px 12px 6px !important;
  border-top: 1px solid rgba(255,255,255,.30);
  border-radius: 0 !important;
  color: #fff !important;
  background: transparent !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

#tbp_header .sunday-mega-footer span { font-size: 18px; }

#tbp_header .sunday-amai-dropdown-panel a.sunday-mega-feature {
  position: relative;
  z-index: 2 !important;
  pointer-events: auto !important;
  display: block !important;
  min-height: 190px;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 19px !important;
  color: #fff !important;
  background: #27173a !important;
}

#tbp_header .sunday-mega-feature img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  opacity: .72;
}

#tbp_header .sunday-mega-feature > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 14px;
  background: rgba(27,19,37,.56);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

#tbp_header .sunday-mega-links {
  display: grid;
  margin-top: 8px;
}

#tbp_header .sunday-mega-links a {
  position: relative !important;
  z-index: 2 !important;
  pointer-events: auto !important;
  display: flex !important;
  justify-content: space-between;
  padding: 11px 7px !important;
  border-bottom: 1px solid rgba(255,255,255,.14);
  border-radius: 0 !important;
  color: #fff !important;
  background: transparent !important;
  font-size: 13px;
}

@media (max-width: 900px) {
  .sunday-amai-mobile-links .sunday-amai-dropdown {
    border-bottom: 1px solid rgba(37,22,54,.10);
  }

  .sunday-amai-mobile-links .sunday-amai-dropdown-panel {
    position: static !important;
    width: 100% !important;
    padding: 0 0 16px !important;
    border: 0 !important;
    opacity: 1 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .sunday-amai-mobile-links .sunday-mega-heading,
  .sunday-amai-mobile-links .sunday-mega-footer,
  .sunday-amai-mobile-links .sunday-mega-feature { display: none !important; }

  .sunday-amai-mobile-links .sunday-mega-list { gap: 2px; }
  .sunday-amai-mobile-links .sunday-amai-dropdown-panel a.sunday-mega-item {
    grid-template-columns: 50px minmax(0,1fr);
    min-height: 60px;
    color: #251636 !important;
  }
  .sunday-amai-mobile-links .sunday-mega-item img { width: 48px; height: 48px; }
  .sunday-amai-mobile-links .sunday-mega-item strong { color: #251636; }
  .sunday-amai-mobile-links .sunday-mega-item em { color: #6b6472; }
  .sunday-amai-mobile-links .sunday-mega-links a { color: #251636 !important; }
}
