@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap");

/* Reference-style desktop header. Mobile keeps the original SHOPLINE header. */
@media screen and (min-width: 960px) {
  body .header.section--padding {
    min-height: 94px !important;
    border-bottom: 1px solid #e5e5e5 !important;
    background: #fff !important;
  }

  body .header__container {
    grid-template:
      "contact logo actions" 56px
      "menu menu menu" 38px
      / minmax(0, 1fr) 180px minmax(0, 1fr) !important;
    column-gap: clamp(18px, 1.5vw, 28px) !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    min-height: 94px !important;
    padding: 0 clamp(30px, 2.6vw, 50px) !important;
  }

  html body[data-template] .header__container.page-width,
  html body[data-template="index"] .header__container.page-width {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    box-sizing: border-box !important;
  }

  body .yla-header-brand {
    display: contents !important;
  }

  body .yla-header-brand .header__heading {
    grid-area: logo !important;
    display: flex !important;
    width: 180px !important;
    min-width: 180px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    align-self: center !important;
    justify-content: center !important;
    justify-self: start !important;
  }

  body .yla-header-brand .header__heading-link {
    display: flex !important;
    width: 180px !important;
    height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body .yla-header-brand .header__heading-logo {
    width: auto !important;
    max-width: 180px !important;
    max-height: 50px !important;
    object-fit: contain !important;
  }

  body .yla-header-contact {
    grid-area: contact !important;
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #111 !important;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    justify-self: start !important;
  }

  body .yla-header-contact a {
    color: inherit !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  body .yla-header-contact span {
    font-weight: 600 !important;
  }

  body .header__icons {
    grid-area: actions !important;
    display: grid !important;
    grid-template-columns: repeat(3, 28px) !important;
    grid-template-rows: 28px !important;
    column-gap: 0 !important;
    width: 128px !important;
    height: 28px !important;
    align-items: center !important;
    align-self: center !important;
    justify-content: space-between !important;
    justify-self: end !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: translateY(5px) !important;
  }

  body .header__icons > * {
    margin: 0 !important;
    align-self: center !important;
    justify-self: center !important;
  }

  body .header__icons .user__container {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 28px !important;
    height: 28px !important;
  }

  body .header__icons > [class*="_wishlist_header"] {
    display: none !important;
  }

  body .header__icons > #cart-icon-bubble {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 28px !important;
    height: 28px !important;
    overflow: visible !important;
  }

  body .header__icons > #cart-icon-bubble .header__cart-point {
    top: -7px !important;
    right: -9px !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 18px !important;
    max-width: none !important;
    height: 18px !important;
    min-height: 18px !important;
    padding: 0 5px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #111 !important;
    color: #fff !important;
    font-family: Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    box-shadow: 0 0 0 2px #fff !important;
    overflow: visible !important;
  }

  body #cart-icon-bubble-wrapper {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 28px !important;
    height: 28px !important;
    overflow: visible !important;
  }

  body .header__tools.display-none-tablet {
    grid-area: actions !important;
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
    justify-self: end !important;
    margin: 0 50px 0 0 !important;
    padding: 0 !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    z-index: 2 !important;
    transform: translateY(5px) !important;
  }

  body .header__tools.display-none-tablet .header__search {
    display: block !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .header__icon-button,
  body .header__tools .header__icon-button {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
  }

  body .header__icon-button svg,
  body .header__tools svg,
  body .header__icons svg {
    width: 24px !important;
    height: 24px !important;
  }

  body .header__icon-button svg :is(path, circle, line, polyline, rect),
  body .header__tools svg :is(path, circle, line, polyline, rect),
  body .header__icons svg :is(path, circle, line, polyline, rect) {
    stroke-width: 2 !important;
  }

  body .header__inline-nav {
    grid-area: menu !important;
    width: 100% !important;
    height: 38px !important;
    align-self: stretch !important;
    justify-self: center !important;
    margin: 0 auto !important;
  }

  body .header-inline-menus {
    justify-content: center !important;
  }

  body .header-inline-menus__item > .header-inline-menus__link,
  body[data-template="index"] .header-inline-menus__item > .header-inline-menus__link {
    min-height: 38px !important;
    padding: 11px 0 10px !important;
    font-weight: 600 !important;
  }
}

/* Only the first injected CUSTOM entry is displayed when the source menu
   contains duplicate NEW ARRIVALS links. */
.header-inline-menus > .mcs-custom-nav-item ~ .mcs-custom-nav-item,
.mobile-site-nav > .mcs-custom-nav-item ~ .mcs-custom-nav-item,
.header__drawer-menus > .mcs-custom-nav-item ~ .mcs-custom-nav-item {
  display: none !important;
}

@media screen and (min-width: 960px) and (max-width: 1199px) {
  body .header__container {
    grid-template:
      "contact logo actions" 56px
      "menu menu menu" 38px
      / minmax(0, 1fr) 160px minmax(0, 1fr) !important;
    column-gap: 18px !important;
    padding-inline: 24px !important;
  }

  body .yla-header-contact {
    font-size: 10px !important;
    letter-spacing: 0.11em !important;
  }
}

/* Keep every header search variant neutral instead of inheriting the store accent color. */
body .search-modal__field.field::before,
body .search-modal__field.field::after,
body .search-modal__field.field:hover::before,
body .search-modal__field.field:hover::after,
body .search-modal__field.field:focus::before,
body .search-modal__field.field:focus::after,
body .search-modal__field.field:focus-within::before,
body .search-modal__field.field:focus-within::after {
  border: 0 !important;
  border-bottom: 1px solid #d7d7d7 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body .search-modal__field.field {
  border: 0 !important;
  outline: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body .search-modal__input,
body .search-modal__input:hover,
body .search-modal__input:focus,
body .search-modal__input:focus-visible {
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 0 !important;
  outline: 0 !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: none !important;
}

body .search-modal__field-label {
  color: #707070 !important;
}

/* YoungLA-inspired mobile header: a compact white bar with balanced controls,
   a truly centered store mark and navigation kept inside the drawer. */
@media screen and (max-width: 959px) {
  body .header.section--padding {
    min-height: 58px !important;
    padding: 0 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    background: #fff !important;
  }

  body .header__container,
  body .header__container.page-width {
    display: grid !important;
    grid-template: "tools logo buttons" 58px / 76px minmax(0, 1fr) 76px !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    column-gap: 0 !important;
    align-items: center !important;
  }

  body .yla-header-brand {
    display: contents !important;
  }

  body .yla-header-brand .header__heading {
    grid-area: logo !important;
    display: flex !important;
    width: 118px !important;
    min-width: 0 !important;
    height: 52px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
  }

  body .yla-header-brand .header__heading-link {
    display: flex !important;
    width: 118px !important;
    height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body .yla-header-brand .header__heading-logo {
    width: auto !important;
    max-width: 118px !important;
    max-height: 48px !important;
    object-fit: contain !important;
  }

  body .header__tools.display-none-desktop {
    grid-area: tools !important;
    display: flex !important;
    width: 72px !important;
    min-width: 72px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    justify-self: start !important;
  }

  body .header__buttons.display-none-desktop {
    grid-area: buttons !important;
    display: flex !important;
    width: 72px !important;
    min-width: 72px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    justify-self: end !important;
  }

  body .header__tools.display-none-desktop > *,
  body .header__buttons.display-none-desktop > * {
    margin: 0 !important;
  }

  body .header__tools.display-none-desktop .header__icon-button,
  body .header__buttons.display-none-desktop .header__icon-button,
  body #cart-icon-bubble-mobile {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    padding: 4px !important;
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
  }

  body .header__tools.display-none-desktop svg,
  body .header__buttons.display-none-desktop svg,
  body #cart-icon-bubble-mobile svg {
    width: 22px !important;
    height: 22px !important;
  }

  body .header__tools.display-none-desktop svg :is(path, circle, line, polyline, rect),
  body .header__buttons.display-none-desktop svg :is(path, circle, line, polyline, rect),
  body #cart-icon-bubble-mobile svg :is(path, circle, line, polyline, rect) {
    stroke-width: 1.8 !important;
  }

  body #cart-icon-bubble-mobile .header__cart-point {
    top: -2px !important;
    right: -3px !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
    box-shadow: 0 0 0 2px #fff !important;
  }

  body .mobile-top-nav {
    display: none !important;
  }

  /* YoungLA-style mobile navigation drawer. Keep the theme's native details
     controls so all existing links and SHOPLINE behavior remain available. */
  body .header__menu-drawer.drawer .modal__content[data-position="left"] {
    --modal-animation-name: drawerFadeInLeft;
    top: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    display: flex !important;
    width: min(calc(100vw - 40px), 392px) !important;
    max-width: none !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    padding: 0 !important;
    overflow: hidden !important;
    flex-direction: column !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #191919 !important;
    color: #fff !important;
    box-shadow: 18px 0 48px rgba(0, 0, 0, .26) !important;
    transform: translate3d(calc(-100% - 8px), 0, 0);
    animation-duration: .4s !important;
    animation-timing-function: cubic-bezier(.25, .46, .45, .94) !important;
    transition: box-shadow .3s ease !important;
    will-change: transform !important;
  }

  body .header__menu-drawer.drawer > details[open] > .modal__content[data-position="left"] {
    transform: translate3d(0, 0, 0);
  }

  body .header__menu-drawer .modal__overlay::after {
    background: rgba(0, 0, 0, .52) !important;
    backdrop-filter: blur(1px);
  }

  body .header__menu-drawer .drawer__head {
    display: flex !important;
    min-height: 48px !important;
    padding: 0 10px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    border: 0 !important;
    border-bottom: 0 !important;
    background: #191919 !important;
  }

  body .header__menu-drawer .drawer__title {
    display: none !important;
  }

  body .header__menu-drawer .header__user-center-button {
    display: inline-flex !important;
    gap: 11px !important;
    align-items: center !important;
    color: #111 !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: .02em !important;
    text-decoration: none !important;
  }

  body .header__menu-drawer .header__user-center-button svg {
    width: 22px !important;
    height: 22px !important;
  }

  body .header__menu-drawer .drawer__close-button {
    display: grid !important;
    width: 34px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 7px 3px !important;
    place-items: center !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
  }

  body .header__menu-drawer .drawer__close-button svg {
    width: 22px !important;
    height: 22px !important;
  }

  body .header__menu-drawer .drawer__main {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 5px 12px 18px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: #777 transparent !important;
  }

  body .header__menu-drawer .header__drawer-menus {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body .header__menu-drawer accordion-component,
  body .header__menu-drawer .header__drawer-nav {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .header__menu-drawer .header__drawer-menus > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body .header__menu-drawer .header__drawer-menus > li > a,
  body .header__menu-drawer .header__drawer-menus > li > details > summary {
    display: flex !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    cursor: pointer !important;
  }

  body .header__menu-drawer .header__drawer-menus > li > details {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .header__menu-drawer .drawer-menus__item {
    display: flex !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: 0 !important;
  }

  body .header__menu-drawer .header__drawer-menus > li > a,
  body .header__menu-drawer .drawer-menus__item > a,
  body .header__menu-drawer .drawer-menus__toggle-label {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 52px !important;
    padding: 0 !important;
    align-items: center !important;
    color: #fff !important;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .16em !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
  }

  body .header__menu-drawer .drawer-menus__toggle-label,
  body .header__menu-drawer .drawer-menus__sub-toggle-label {
    pointer-events: none !important;
    user-select: none !important;
  }

  body .header__menu-drawer .drawer-menus__item-icon {
    display: flex !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    transform: rotate(0deg) !important;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1) !important;
  }

  body .header__menu-drawer .drawer-menus__item-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  body .header__menu-drawer .drawer-menus__item-icon svg :is(path, polyline, line) {
    stroke-width: 1.55 !important;
  }

  body .header__menu-drawer .drawer-menus__item-icon-off {
    display: none !important;
  }

  body .header__menu-drawer details[open] > summary .drawer-menus__item-icon-on {
    display: flex !important;
    transform: rotate(180deg) !important;
  }

  body .header__menu-drawer details[open] > summary .drawer-menus__item-icon-off {
    display: none !important;
  }

  body .header__menu-drawer .drawer-menus__sub-menus {
    margin: 0 !important;
    padding: 3px 0 12px !important;
    border: 0 !important;
    background: #232323 !important;
    text-align: left !important;
  }

  body .header__menu-drawer details[open] > .drawer-menus__sub-menus {
    animation: mcsMobileSubmenuIn .3s cubic-bezier(.22, 1, .36, 1) both;
  }

  body .header__menu-drawer .drawer-menus__sub-menus .drawer-menus__sub-item {
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
  }

  body .header__menu-drawer .drawer-menus__sub-menus .drawer-menus__sub-item > a {
    display: flex !important;
    width: 100% !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    color: #d8d8d8 !important;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-decoration: none !important;
  }

  body .header__menu-drawer .drawer-menus__sub-toggle-label {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 36px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    color: #d8d8d8 !important;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    line-height: 1.3 !important;
    text-align: left !important;
  }

  body .header__menu-drawer .header__drawer-menus > li.drawer-menus__sub-item {
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .header__menu-drawer .header__drawer-menus > li.drawer-menus__sub-item > a {
    display: flex !important;
    width: 100% !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    color: #fff !important;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .16em !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
  }

  body .header__menu-drawer .drawer_footer {
    width: 100% !important;
    margin-top: auto !important;
    padding: 18px 74px 26px !important;
    border-top: 0 !important;
    background: #191919 !important;
  }

  body .header__menu-drawer .mcs-mobile-drawer-social .footer__list-social {
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  body .header__menu-drawer :is([class*="wishlist" i], [id*="wishlist" i]) {
    display: none !important;
  }

  body .header__menu-drawer .mcs-mobile-drawer-social li {
    margin: 0 !important;
  }

  body .header__menu-drawer .mcs-mobile-drawer-social a {
    display: grid !important;
    width: 28px !important;
    height: 28px !important;
    padding: 3px !important;
    place-items: center !important;
    color: #fff !important;
  }

  body .header__menu-drawer .mcs-mobile-drawer-social svg {
    width: 22px !important;
    height: 22px !important;
    color: #fff !important;
  }

  body .header__menu-drawer .header-drawer__localization {
    display: none !important;
  }
}

@keyframes mcsMobileSubmenuIn {
  from {
    opacity: 0;
    transform: translate3d(0, -8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body .header__menu-drawer.drawer .modal__content[data-position="left"],
  body .header__menu-drawer .drawer-menus__item-icon {
    transition-duration: .01ms !important;
  }

  body .header__menu-drawer details[open] > .drawer-menus__sub-menus {
    animation: none !important;
  }
}

@media screen and (max-width: 374px) {
  body .header__container,
  body .header__container.page-width {
    grid-template-columns: 68px minmax(0, 1fr) 68px !important;
    padding-inline: 8px !important;
  }

  body .yla-header-brand .header__heading,
  body .yla-header-brand .header__heading-link {
    width: 104px !important;
  }

  body .yla-header-brand .header__heading-logo {
    max-width: 104px !important;
  }
}
