@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/josefin-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Proza Libre";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/proza-libre-regular.woff2") format("woff2");
}

#header.header { position: static; top: auto; }
.beautys-header { position: relative; width: 100%; background: #fff; color: #101010; border-bottom: 1px solid #eee; }
.beautys-header__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 77.5px;
  padding: 12px 40px;
}
.beautys-header__menu { display: flex; align-items: center; gap: 16px; justify-self: start; min-width: 0; }
.beautys-header__menu > .beautys-header__compact-search-toggle { order: 10; }
.beautys-header__menu .ps-mainmenu--desktop { width: auto; margin: 0; padding: 0; }
.beautys-header__menu .ps-mainmenu__desktop { display: none !important; }
.beautys-header__menu .ps-mainmenu__mobile-toggle { display: block !important; }
@media (min-width: 1200px) {
  .beautys-header__main { padding-bottom: 0; grid-template-rows: 115.5px auto; }
  .beautys-header .beautys-header__logo { width: 340px; }
  .beautys-header__menu,
  .beautys-header__menu .ps-mainmenu--desktop { display: contents; }
  .beautys-header__menu .ps-mainmenu__desktop {
    display: block !important;
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% + 80px);
    margin-left: -40px;
    margin-top: 12px;
    border-top: 1px solid #eee;
    background-color: #f5ebef;
  }
  .beautys-header__menu .ps-mainmenu__mobile-toggle {
    display: block !important;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  .beautys-header__menu > .beautys-header__compact-search-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin-left: 60px;
  }
  .beautys-header__brand { grid-column: 2; grid-row: 1; }
  .beautys-header__actions { grid-column: 3; grid-row: 1; }
  .beautys-header__menu .ps-mainmenu__tree { justify-content: center; flex-wrap: wrap; margin: 0; }
  .beautys-header__menu .ps-mainmenu__desktop { min-height: 47px; }
  .beautys-header__menu .ps-mainmenu__tree { min-height: 46px; align-items: center; }
  .beautys-header__menu .ps-mainmenu__tree-item-wrapper { min-height: 0; }
  .beautys-header__menu .ps-mainmenu__tree-link {
    position: relative;
    padding: 12px;
    color: #101010;
    font-family: "Proza Libre", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: .5px;
    text-transform: uppercase;
  }
  .beautys-header__menu .ps-mainmenu__tree-dropdown-toggle { padding-block: 12px; }
  .beautys-header__menu .ps-mainmenu__desktop .submenu :is(a, h3) { font-family: "Proza Libre", sans-serif; }
  .beautys-menu-badge {
    display: inline-block;
    margin-left: 5px;
    padding: 2px 4px;
    background: #101010;
    color: #fff;
    font-size: 9px;
    line-height: 1;
    vertical-align: middle;
  }
  .beautys-header__menu .beautys-menu-badge--hot { top: -10px; margin-left: 15px; }
  .beautys-megamenu__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 20px;
  }
  .beautys-megamenu__links h3 { margin: 0 0 14px; font-size: 18px; }
  .beautys-megamenu__links a,
  .beautys-submenu-list a { display: block; padding: 5px 0; color: #101010; }
  .beautys-megamenu__links a:hover,
  .beautys-submenu-list a:hover { text-decoration: underline; }
  .beautys-megamenu__links ul { padding: 0 0 10px 12px; margin: 0; list-style: none; }
  .beautys-megamenu__promo img { display: block; width: 100%; height: auto; }
  .beautys-submenu-list { max-width: 1320px; margin: 0 auto; padding: 20px; list-style: none; }
}
.beautys-header__menu .menu-toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; color: #101010; border: 0; border-radius: 0; background: transparent;
}
.beautys-header__menu .menu-toggle .material-icons { font-size: 0; width: 30px; height: 18px; background: linear-gradient(currentColor,currentColor) top / 100% 1.5px no-repeat, linear-gradient(currentColor,currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor,currentColor) bottom / 100% 1.5px no-repeat; }
.beautys-header__brand { justify-self: center; }
.beautys-header__brand-heading { margin: 0; line-height: 1; }
.beautys-header__brand-link, .beautys-header__logo { display: block; }
.beautys-header__logo { width: 170px; height: auto; }
.beautys-header__actions { display: flex; align-items: center; justify-self: end; gap: 8px; }
.beautys-header__compact-search-toggle, .beautys-header__cart .header-block__action-btn {
  display: grid; place-items: center; width: 36px; height: 44px; padding: 0 !important;
  color: #101010; border: 0; background: transparent; position: relative; text-decoration: none;
}
.beautys-header__search-icon { display: block; width: 23px; height: 23px; background: currentColor; mask: url("../img/search-kylie.svg") center / contain no-repeat; -webkit-mask: url("../img/search-kylie.svg") center / contain no-repeat; }
.beautys-header__cart .header-block__title { display: none !important; }
.beautys-header button:focus-visible, .beautys-header a:focus-visible { outline: 2px solid #101010; outline-offset: 3px; }

.beautys-header__search { padding: 16px 24px 24px; border-top: 1px solid #eee; }
.beautys-header__search[hidden] { display: none; }
.beautys-header__search #_desktop_ps_searchbar { display: block !important; width: min(100%, 640px); padding: 0; margin: 0 auto !important; }
.beautys-header__search #ps_searchbar { width: 100%; }
.beautys-header__search .ps-searchbar__form { display: flex; align-items: center; width: 100%; border: 1px solid #ccc; border-radius: 0; }
.beautys-header__search .ps-searchbar__magnifier { position: static; margin: 0 12px; transform: none; color: #101010; }
.beautys-header__search .ps-searchbar__input { min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 767.98px) {
  .beautys-header__search .ps-searchbar__input:focus { outline: none !important; box-shadow: none !important; }
  .beautys-header__search .ps-searchbar__form:focus-within { border-color: #777; }
}
@layer vendors {
  @media (max-width: 767.98px) {
    body .beautys-header__search .ps-searchbar__input:focus { box-shadow: none !important; }
  }
}
.beautys-header__search .ps-searchbar__dropdown { width: 100%; border-radius: 0; z-index: 1050; }

#header.header.beautys-header--sticky { position: fixed; inset: 0 0 auto; width: 100%; z-index: 1040; transition: transform .24s ease; }
#header.header.beautys-header--hidden { transform: translateY(-100%); }
#header.header.beautys-header--menu-open { transform: none !important; transition: none; }
@media (prefers-reduced-motion: reduce) { #header.header.beautys-header--sticky { transition: none; } }
@media (max-width: 767.98px) {
  .beautys-header__main { min-height: 69.2px; padding: 9px 16px; }
  .beautys-header__logo { width: 170px; }
  .beautys-header__menu .menu-toggle { width: 40px; }
  .beautys-header__menu .menu-toggle .material-icons { width: 28px; height: 18px; background-size: 100% 2px; }
  .beautys-header__actions { gap: 2px; }
  .beautys-header__compact-search-toggle, .beautys-header__cart .header-block__action-btn { width: 30px; }
}
@media (max-width: 359.98px) {
  .beautys-header__main { padding-inline: 10px; }
  .beautys-header__logo { width: 145px; }
}

  #mobileMenu {
    background: #fff;
    color: #101010;
    font-family: "Proza Libre", Arial, sans-serif;
    --bs-offcanvas-width: min(80vw, 360px);
    --bs-offcanvas-transition: transform .3s ease-in-out;
    border: 0;
    transition: transform .3s ease-in-out;
  }

  .offcanvas-backdrop.show { opacity: .45; }

  .beautys-mobile-menu__header {
    width: 100%;
    min-height: 40px;
    padding: 0 18px;
    background: #f5f5f5;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
  }

  .beautys-mobile-menu__title {
    color: #111;
    font-size: 15px;
    font-weight: 600;
  }

  .beautys-mobile-menu__close:hover { background: #efefef; }
  .beautys-mobile-menu__close:focus-visible { outline: 2px solid #111; outline-offset: -3px; }

  .beautys-mobile-menu__header .material-icons {
    font-size: 25px;
    line-height: 1;
    opacity: .8;
  }

  .beautys-mobile-menu {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
	padding: 1em;
  }

  .beautys-mobile-menu__list {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .beautys-mobile-menu__list .beautys-mobile-menu__list { background: #fafafa; }
  .beautys-mobile-menu__item {  margin: 0 1rem; }

  .beautys-mobile-menu__row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 9px 24px 9px 0px;
    color: #101010;
    cursor: pointer;
    list-style: none;
	border-bottom: 1px solid #e5e5e5;
  }

  .beautys-mobile-menu__row::-webkit-details-marker { display: none; }
  .beautys-mobile-menu__row:hover,
  .beautys-mobile-menu__row:focus-visible { color: #101010; background: #f5f5f5; }

  .beautys-mobile-menu__thumb {
    flex: 0 0 51px;
    width: 51px;
    height: 51px;
    border-radius: 3px;
    object-fit: cover;
  }

  .beautys-mobile-menu__label {
    min-width: 0;
    flex: 1;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .5px;
    text-transform: uppercase;
    line-height: 1.3;
  }

  .beautys-mobile-menu__state {
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-left: auto;
  }

  .beautys-mobile-menu__state .material-icons {
    position: absolute;
    inset: 0;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
  }

  .beautys-mobile-menu__state .remove,
  .beautys-mobile-menu__details[open] > summary .add { display: none; }
  .beautys-mobile-menu__details[open] > summary .remove { display: block; }
  .beautys-mobile-menu__submenu { border-top: none; }

  .beautys-mobile-menu__view-all {
    display: block;
    padding: 12px 20px;
    color: #555;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .beautys-mobile-menu__view-all--root {
    padding-top: 16px;
    padding-bottom: 16px;

  }

  .beautys-mobile-menu__list[data-depth="1"] .beautys-mobile-menu__row {
    min-height: 68px;
    padding: 7px 0px;
  }

  .beautys-mobile-menu__list[data-depth="1"] .beautys-mobile-menu__thumb {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .beautys-mobile-menu__list[data-depth="2"] .beautys-mobile-menu__row {
    min-height: 48px;
    padding-left: 36px;
  }

  #mobileMenu .ps-mainmenu__additionnals {
    flex: 0 0 auto;
    padding: 16px;
    border-top: 1px solid #ededed;
    background: #f5f5f5;
  }

  body #mobileMenu .ps-mainmenu__additionnals.beautys-mobile-locale {
    background: #fff;
  }

  #mobileMenu .beautys-mobile-locale .beautys-locale__item {
    background: transparent;
  }

  .beautys-mobile-menu__account {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 24px;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 8px 18px calc(8px + env(safe-area-inset-bottom));
    color: #101010;
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    text-decoration: none;
  }

  .beautys-mobile-menu__account:hover {
    color: #101010;
    background: #efefef;
  }

  .beautys-mobile-menu__account:focus-visible {
    outline: 2px solid #101010;
    outline-offset: -3px;
  }

  .beautys-mobile-menu__account-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #101010;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 50%;
  }

  .beautys-mobile-menu__account-icon .material-icons {
    font-size: 22px;
    line-height: 1;
  }

  .beautys-mobile-menu__account-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1px;
    line-height: 1.2;
  }

  .beautys-mobile-menu__account-copy strong {
    overflow: hidden;
    font-size: 15px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .beautys-mobile-menu__account-copy small {
    color: #666;
    font-size: 12px;
  }

  .beautys-mobile-menu__account-arrow {
    color: #101010;
    font-size: 22px;
  }

  body #mobileMenu :is(.beautys-mobile-menu__title, .beautys-mobile-menu__label, .beautys-mobile-menu__view-all, .beautys-mobile-menu__account-copy, .beautys-locale__item) {
    font-family: "Proza Libre", Arial, sans-serif;
  }
  #mobileMenu .beautys-locale { color: #101010; }
  #mobileMenu .beautys-locale__item { border-color: #e5e5e5; }
  #mobileMenu .beautys-locale :is(button, select, .material-icons) { color: #101010; }
  .beautys-header__menu .ps-mainmenu__desktop :is(.ps-mainmenu__tree-link, .ps-mainmenu__tree-dropdown-toggle):hover {
    color: #101010;
    background-color: #f5f5f5;
  }
  .beautys-header__menu .ps-mainmenu__desktop .submenu { background: #fff; color: #101010; border-color: #e5e5e5; }


.beautys-header__actions { gap: 20px; }
.beautys-header__actions > div { display: flex; align-items: center; justify-content: center; }
.beautys-header__actions .header-block__action-btn,
.beautys-header__compact-search-toggle {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 30px; height: 44px; padding: 0 !important; border: 0;
  color: #101010; background: transparent; text-decoration: none;
}
.beautys-header__actions .header-block__title { display: none !important; width: 0 !important; height: 0 !important; overflow: hidden !important; font-size: 0 !important; }
.beautys-header__actions .header-block__icon { display: block; width: 24px; height: 24px; margin: 0; font-size: 0; color: transparent; line-height: 0; }
.beautys-header__account .header-block__icon { background: url("../../../../modules/beautysheadericons/views/img/account.svg") center / contain no-repeat; }
.beautys-header__cart .header-block__icon { background: url("../../../../modules/beautysheadericons/views/img/cart.svg") center / contain no-repeat; }
.beautys-header__actions .header-block__badge { position: absolute; top: 0; right: -4px; display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 3px; font-family: "Josefin Sans", sans-serif; font-size: 10px; line-height: 16px; color: #101010; background: #efefef; border-radius: 50%; }
.beautys-header__account .header-block__action-btn::after { display: none; }
@media (max-width: 767.98px) {
  .beautys-header__actions { gap: 4px; }
  .beautys-header__actions .header-block__action-btn, .beautys-header__compact-search-toggle { width: 26px; }
  .beautys-header__logo { width: clamp(64px, calc(100vw - 272px), 160px); }
}
@media (max-width: 359.98px) {
  .beautys-header__actions { gap: 2px; }
  .beautys-header__logo { width: calc(100vw - 248px); }
}

/* Header action artwork uses the original shapes in black. */
.beautys-header__compact-search-toggle { color: #101010; }
.beautys-header__actions .beautys-header-icons__heart,
.beautys-header__actions .header-block__icon { filter: brightness(0); }

/* Smaller artwork; retain the existing action hit areas and visible zero counts. */
.beautys-header__search-icon,
.beautys-header__actions .beautys-header-icons__heart,
.beautys-header__actions .header-block__icon {
  width: 22px;
  height: 22px;
  background-size: 22px 22px;
}
.beautys-header__actions .header-block__badge {
  display: grid;
  color: #fff;
  background: #222;
}

/* Original mobile arrangement: menu/search, centered brand, wishlist/cart. */
@media (max-width: 767.98px) {
  .beautys-header__main { position: relative; }
  .beautys-header__actions > .beautys-header__account { display: none; }
  .beautys-header__actions { gap: 18px; }
  .beautys-header__actions .header-block__action-btn { width: 30px; }
  .beautys-header__compact-search-toggle {
    position: absolute;
    left: 66px;
    top: 50%;
    width: 30px;
    transform: translateY(-50%);
  }
  .beautys-header__logo { width: min(140px, calc(100vw - 200px)); }
}
@media (max-width: 359.98px) {
  .beautys-header__compact-search-toggle { left: 60px; }
}
/* Desktop field sits immediately to the right of the existing search icon. */
.beautys-header__brand { grid-column: 2; grid-row: 1; }
.beautys-header__actions { grid-column: 3; grid-row: 1; }
@media (min-width: 768px) {
  .beautys-header__menu { grid-column: 1; grid-row: 1; }
  .beautys-header__search { display: block; grid-column: 1; grid-row: 1; justify-self: start; width: min(220px, calc(100% - 108px)); margin-left: 108px; padding: 0; border: 0; }
  .beautys-header__search[hidden] { display: none; }
  .beautys-header__search #_desktop_ps_searchbar { width: 100%; margin: 0 !important; }
  .beautys-header__search #ps_searchbar { min-width: 0; margin: 0; }
  .beautys-header__search .ps-searchbar__magnifier { display: none; }
  .beautys-header__search .ps-searchbar__form { height: 40px; padding: 0 15px; border-radius: 24px; }
  .beautys-header__search .ps-searchbar__input { width: 100%; height: 38px; padding: 0; font-size: 13px; background: transparent; }
  .beautys-header__search .ps-searchbar__input:focus { outline: none !important; box-shadow: none !important; }
  .beautys-header__search .ps-searchbar__form:focus-within { border-color: #777; }
}
@layer vendors {
  body .beautys-header__search .ps-searchbar__input:focus { box-shadow: none !important; }
}
@media (max-width: 767.98px) {
  .beautys-header__main { grid-template-rows: 51.2px auto; }
  .beautys-header__compact-search-toggle { top: 34.6px; }
  #header.header .beautys-header__search {
    position:absolute;top:100%;left:6px;right:6px;z-index:1050;
    width:calc(100% - 12px);margin:0;padding:0;border:0;grid-column:auto;grid-row:auto;justify-self:stretch;
  }
  #header.header .beautys-header__search #_desktop_ps_searchbar { display:none!important; }
  #header.header .beautys-header__search .ps-searchbar--mobile { width:100%;padding:0; }
  #header.header .beautys-mobile-search-panel {
    box-sizing:border-box;width:100%;padding:10px;background:#fff;
    border:1px solid #eaced9;box-shadow:0 5px 16px rgba(65,64,66,.1);
  }
  #header.header .beautys-mobile-search-panel__row { display:flex;align-items:center;gap:6px; }
  #header.header .beautys-mobile-search-panel #_mobile_ps_searchbar { flex:1;min-width:0; }
  #header.header .beautys-mobile-search-panel #ps_searchbar { position:relative;min-width:0;width:100%;margin:0; }
  #header.header .beautys-mobile-search-panel .ps-searchbar__form {
    height:44px;padding:0 14px 0 16px;border:1px solid #d6b3c1;border-radius:30px;background:#fff;
  }
  #header.header .beautys-mobile-search-panel .ps-searchbar__form:focus-within { border-color:#9b647d; }
  #header.header .beautys-mobile-search-panel .ps-searchbar__input {
    flex:1;min-width:0;width:100%;height:42px;padding:0;font-size:16px;
    font-family:'Pink Sparkle Assistant',sans-serif;color:#121212;
  }
  #header.header .beautys-mobile-search-panel .ps-searchbar__magnifier {
    margin:0 0 0 10px;color:transparent;background-color:#121212;
  }
  #header.header .beautys-mobile-search-panel .ps-searchbar__clear { color:#9b647d; }
  #header.header .beautys-mobile-search-close {
    display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:44px;
    padding:0;border:0;background:transparent;color:#9b647d;text-decoration:none;
  }
  #header.header .beautys-mobile-search-close .material-icons { font-size:22px;line-height:1; }
  #header.header .beautys-mobile-search-panel .ps-searchbar__dropdown {
    max-height:min(55vh,420px);overflow-y:auto;border-color:#eaced9;
  }
}
