/* ==========================================================
   Aura By HOB > Header
   Fichier : assets/css/layout/header.css
   ========================================================== */

:root {
  --aura-top-bar-height: 0px;
  --aura-header-height: 72px;
  --aura-logo-width: 112px;
  --aura-logo-max-height: 36px;
  --aura-header-background: var(--aura-color-burgundy);
  --aura-header-border: var(--aura-color-dusty-pink);
  --aura-header-text: var(--aura-color-white);
  --aura-header-nebula-opacity: 0.2;
}

.aura-header {
  position: absolute;
  top: var(--aura-top-bar-height);
  right: 0;
  left: 0;
  z-index: var(--aura-header-z-index);
  width: 100%;
  height: var(--aura-header-height);
  min-height: var(--aura-header-height);
  max-height: var(--aura-header-height);
  max-width: none;
  color: var(--aura-header-text);
  background: var(--aura-header-background);
  border-bottom: 1px solid rgba(var(--aura-color-dusty-pink-rgb), 0.56);
  opacity: 1;
  overflow: visible;
  isolation: isolate;
  transition: background-color 360ms ease, border-color 360ms ease, box-shadow 360ms ease, opacity 460ms ease, transform 760ms cubic-bezier(0.19, 1, 0.22, 1);
  will-change: background-color, box-shadow, opacity, transform;
}

.aura-header::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 13% 52%, rgba(var(--aura-color-honey-rgb), 0.42) 0 3px, rgba(var(--aura-color-honey-rgb), 0.24) 4px 16px, rgba(var(--aura-color-honey-rgb), 0) 38px),
    radial-gradient(circle at 34% 20%, rgba(var(--aura-color-soft-rose-rgb), 0.32) 0 4px, rgba(var(--aura-color-soft-rose-rgb), 0.16) 5px 20px, rgba(var(--aura-color-soft-rose-rgb), 0) 46px),
    radial-gradient(circle at 58% 62%, rgba(var(--aura-color-white-rgb), 0.22) 0 2px, rgba(var(--aura-color-honey-rgb), 0.14) 3px 18px, rgba(var(--aura-color-honey-rgb), 0) 42px),
    radial-gradient(circle at 82% 28%, rgba(var(--aura-color-honey-rgb), 0.34) 0 3px, rgba(var(--aura-color-dusty-pink-rgb), 0.16) 4px 22px, rgba(var(--aura-color-dusty-pink-rgb), 0) 50px),
    radial-gradient(circle at 93% 70%, rgba(var(--aura-color-soft-rose-rgb), 0.28) 0 3px, rgba(var(--aura-color-soft-rose-rgb), 0.13) 4px 18px, rgba(var(--aura-color-soft-rose-rgb), 0) 44px);
  background-size: 100% 100%;
  content: "";
  opacity: var(--aura-header-nebula-opacity);
  pointer-events: none;
  transform-origin: center;
  transition: opacity 360ms ease;
  animation: aura-header-nebula-drift 12s ease-in-out infinite;
  will-change: background-position, opacity;
}

@keyframes aura-header-nebula-drift {
  0%,
  100% {
    background-position: 0 0;
    opacity: 0.14;
  }

  45% {
    background-position: 6px 1px;
    opacity: var(--aura-header-nebula-opacity);
  }

  72% {
    background-position: -4px -1px;
    opacity: 0.2;
  }
}

.aura-front-page .aura-header.is-at-top:not(:hover):not(.is-mobile-menu-open) {
  background: transparent;
  border-bottom-color: transparent;
}

.aura-front-page .aura-header.is-at-top:not(:hover):not(.is-mobile-menu-open)::before {
  opacity: 0;
}

.aura-header.is-sticky-active {
  position: fixed;
  top: 0;
  opacity: 1;
  transform: none;
  box-shadow: 0 14px 34px rgba(var(--aura-color-burgundy-rgb), 0.16);
}

.aura-header.is-sticky-leaving,
.aura-header.is-sticky-active.is-sticky-leaving {
  position: fixed;
  top: 0;
  opacity: 0;
  transform: translate3d(0, -100%, 0);
}

.aura-header.is-sticky-entering {
  position: fixed;
  top: 0;
  opacity: 0;
  transform: translate3d(0, -100%, 0);
  transition: none;
}

.aura-header.is-mobile-menu-open {
  background: var(--aura-header-background);
  border-bottom-color: var(--aura-header-border);
  opacity: 1;
  transform: none;
}

.aura-header.is-sticky-active.is-sticky-entering.is-mobile-menu-open,
.aura-header.is-sticky-active.is-sticky-leaving.is-mobile-menu-open {
  opacity: 1;
  transform: none;
}

html.is-aura-mobile-menu-open,
html.is-aura-mobile-menu-open body {
  overflow: hidden;
}

.aura-header__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: var(--aura-header-height);
  min-height: var(--aura-header-height);
  max-height: var(--aura-header-height);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 36px;
  gap: clamp(14px, 2vw, 24px);
}

.aura-header__desktop-nav,
.aura-header__desktop-actions,
.aura-header__mobile-left,
.aura-header__mobile-actions {
  min-width: 0;
}

.aura-header__desktop-list,
.aura-header__desktop-actions,
.aura-header__account-list {
  display: flex;
  align-items: center;
}

.aura-header__desktop-list {
  gap: clamp(24px, 2.8vw, 42px);
}

.aura-header__desktop-link,
.aura-header__contact-trigger,
.aura-mobile-menu__link,
.aura-mobile-menu__trigger,
.aura-mobile-menu__contact,
.aura-mobile-menu__account {
  font-family: var(--aura-font-body);
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.aura-header__desktop-link,
.aura-header__contact-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--aura-header-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 240ms ease, transform 240ms ease, color 240ms ease;
}

.aura-header__desktop-link::after,
.aura-header__contact-trigger::after {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transform-origin: center;
  transition: opacity 260ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aura-header__desktop-link:hover,
.aura-header__desktop-link:focus-visible,
.aura-header__contact-trigger:hover,
.aura-header__contact-trigger:focus-visible {
  opacity: 0.88;
}

.aura-header__desktop-link:hover::after,
.aura-header__desktop-link:focus-visible::after,
.aura-header__contact-trigger:hover::after,
.aura-header__contact-trigger:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.aura-header__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  height: 100%;
}

.aura-header__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--aura-logo-width);
  max-width: var(--aura-logo-width);
  max-height: var(--aura-logo-max-height);
  overflow: hidden;
  line-height: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity 280ms ease, filter 280ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aura-header__logo:hover,
.aura-header__logo:focus-visible {
  filter: brightness(1.045);
  opacity: 0.94;
  transform: translate3d(0, 0, 0) scale(1.012);
}

.aura-header__logo img {
  display: block;
  width: var(--aura-logo-width);
  max-width: var(--aura-logo-width);
  max-height: var(--aura-logo-max-height);
  height: auto;
}

.aura-header__logo img,
.aura-header__account-link img,
.aura-mobile-menu__account img {
  border-radius: 0;
}

.aura-header__desktop-actions {
  justify-content: flex-end;
  gap: 16px;
}

.aura-header__contact-trigger {
  font-size: 10.5px;
  gap: 6px;
  letter-spacing: 0.09em;
}

.aura-header__contact-plus,
.aura-mobile-menu__contact-plus {
  display: inline-block;
  font-weight: 400;
  line-height: 1;
  transform: translate3d(0, -0.5px, 0);
  transition: transform 240ms ease, opacity 240ms ease;
}

.aura-header__contact-trigger:hover,
.aura-header__contact-trigger:focus-visible {
  transform: translate3d(1px, 0, 0);
}

.aura-header__contact-trigger:hover .aura-header__contact-plus,
.aura-header__contact-trigger:focus-visible .aura-header__contact-plus {
  opacity: 0.78;
  transform: translate3d(2px, -0.5px, 0);
}

.aura-header__account {
  position: relative;
}

.aura-header__account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--aura-radius-pill);
  opacity: 0.94;
  transition: background-color 220ms ease, opacity 220ms ease, transform 240ms ease;
}

.aura-header__account-link img {
  width: 22px;
  height: 22px !important;
  filter: brightness(0) invert(1);
}

.aura-header__account-link:hover,
.aura-header__account-link:focus-visible {
  background: rgba(var(--aura-color-white-rgb), 0.10);
  opacity: 1;
  transform: translate3d(0, -1px, 0);
}

.aura-header__account-dropdown {
  position: absolute;
  top: 100%;
  right: -14px;
  min-width: 230px;
  padding-top: 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--aura-color-burgundy);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 6px, 0);
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aura-header__account-dropdown::before {
  position: absolute;
  top: 5px;
  right: 26px;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(var(--aura-color-dusty-pink-rgb), 0.44);
  border-left: 1px solid rgba(var(--aura-color-dusty-pink-rgb), 0.44);
  border-radius: 4px 0 0;
  background: var(--aura-color-egg);
  content: "";
  transform: rotate(45deg);
}

.aura-header__account:hover .aura-header__account-dropdown,
.aura-header__account:focus-within .aura-header__account-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.aura-header__account-list {
  align-items: stretch;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(var(--aura-color-dusty-pink-rgb), 0.44);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 12%, rgba(var(--aura-color-soft-rose-rgb), 0.16), transparent 42%),
    var(--aura-color-egg);
  box-shadow: 0 18px 48px rgba(var(--aura-color-burgundy-rgb), 0.18);
  overflow: hidden;
}

.aura-header__account-dropdown-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--aura-radius-pill);
  color: var(--aura-color-burgundy);
  font-family: var(--aura-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.25;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.aura-header__account-dropdown-link:hover,
.aura-header__account-dropdown-link:focus-visible {
  border-color: rgba(var(--aura-color-soft-rose-rgb), 0.44);
  background: var(--aura-color-burgundy);
  color: var(--aura-color-egg);
  outline: none;
  transform: translate3d(0, -1px, 0);
}

.aura-header__account-item:last-child .aura-header__account-dropdown-link {
  color: var(--aura-color-clay);
}

.aura-header__account-item:last-child .aura-header__account-dropdown-link:hover,
.aura-header__account-item:last-child .aura-header__account-dropdown-link:focus-visible {
  border-color: rgba(var(--aura-color-soft-rose-rgb), 0.58);
  background: rgba(var(--aura-color-soft-rose-rgb), 0.24);
  color: var(--aura-color-burgundy);
}

.aura-header__cart-slot {
  width: 28px;
  height: 34px;
}

.aura-header__mobile-left,
.aura-header__mobile-actions {
  display: none;
}

.aura-header__burger {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 68px;
  height: var(--aura-header-height);
  max-height: var(--aura-header-height);
  margin-right: -14px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--aura-header-text);
}

.aura-header__burger-line {
  display: block;
  width: 38px;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease;
}

.aura-header__burger-line + .aura-header__burger-line {
  margin-top: 8px;
}

.aura-header.is-mobile-menu-open .aura-header__burger-line:nth-child(1) {
  transform: translate3d(0, 9px, 0) rotate(45deg);
}

.aura-header.is-mobile-menu-open .aura-header__burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.35);
}

.aura-header.is-mobile-menu-open .aura-header__burger-line:nth-child(3) {
  transform: translate3d(0, -9px, 0) rotate(-45deg);
}

.aura-mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: calc(100dvh - var(--aura-header-height));
  max-height: calc(100dvh - var(--aura-header-height));
  background: var(--aura-color-white);
  border-top: 1px solid var(--aura-header-border);
  color: var(--aura-color-burgundy);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 100%, 0);
  visibility: hidden;
  transition: opacity 320ms ease, transform 430ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 430ms;
  will-change: opacity, transform;
}

.aura-header.is-mobile-menu-open .aura-mobile-menu,
.aura-mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  visibility: visible;
  transition-delay: 0s;
}

.aura-mobile-menu__inner {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 32px 18px 44px;
}

.aura-mobile-menu__list,
.aura-mobile-menu__secondary {
  display: flex;
  flex-direction: column;
}

.aura-mobile-menu__secondary {
  margin-top: 18px;
}

.aura-mobile-menu__item,
.aura-mobile-menu__secondary {
  border-top: 1px solid rgba(var(--aura-color-dusty-pink-rgb), 0.52);
}

.aura-mobile-menu__item:last-child,
.aura-mobile-menu__secondary {
  border-bottom: 1px solid rgba(var(--aura-color-dusty-pink-rgb), 0.52);
}

.aura-mobile-menu__link,
.aura-mobile-menu__trigger,
.aura-mobile-menu__contact,
.aura-mobile-menu__account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 68px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--aura-color-burgundy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: left;
  transition: color 220ms ease, opacity 220ms ease, transform 240ms ease;
}

.aura-mobile-menu__link:hover,
.aura-mobile-menu__link:focus-visible,
.aura-mobile-menu__trigger:hover,
.aura-mobile-menu__trigger:focus-visible,
.aura-mobile-menu__contact:hover,
.aura-mobile-menu__contact:focus-visible,
.aura-mobile-menu__account:hover,
.aura-mobile-menu__account:focus-visible {
  opacity: 0.82;
}

.aura-mobile-menu__link--secondary,
.aura-mobile-menu__contact,
.aura-mobile-menu__account {
  justify-content: flex-start;
  min-height: 62px;
  font-size: 12px;
}

.aura-mobile-menu__link--secondary::before {
  margin-right: 7px;
  content: "+";
}

.aura-mobile-menu__contact {
  gap: 8px;
}

.aura-mobile-menu__contact:hover .aura-mobile-menu__contact-plus,
.aura-mobile-menu__contact:focus-visible .aura-mobile-menu__contact-plus {
  transform: translate3d(2px, -0.5px, 0);
}

.aura-mobile-menu__account {
  gap: 12px;
}

.aura-mobile-menu__account img {
    width: 14px;
    height: 14px;
    filter: brightness(0) saturate(100%) invert(14%) sepia(24%) saturate(2160%) hue-rotate(312deg) brightness(91%) contrast(94%);
}

.aura-mobile-menu__plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.aura-mobile-menu__plus::before,
.aura-mobile-menu__plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.aura-mobile-menu__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

@media (max-width: 899px) {
  :root {
    --aura-header-height: 58px;
    --aura-logo-width: 98px;
    --aura-logo-max-height: 30px;
  }

  .aura-header__inner {
    display: flex;
    justify-content: space-between;
    height: var(--aura-header-height);
    min-height: var(--aura-header-height);
    max-height: var(--aura-header-height);
    padding: 0 14px;
    gap: 10px;
  }

  .aura-header__burger {
    height: var(--aura-header-height);
    max-height: var(--aura-header-height);
  }

  .aura-header__desktop-nav,
  .aura-header__desktop-actions,
  .aura-header__logo-wrap {
    display: none;
  }

  .aura-header__mobile-left,
  .aura-header__mobile-actions {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .aura-header__mobile-left {
    min-width: 0;
  }

  .aura-header__mobile-actions {
    margin-left: auto;
    gap: 2px;
  }

  .aura-header__logo {
    width: var(--aura-logo-width);
    max-width: var(--aura-logo-width);
    max-height: var(--aura-logo-max-height);
  }

  .aura-header__logo img {
    width: var(--aura-logo-width);
    max-width: var(--aura-logo-width);
    max-height: var(--aura-logo-max-height);
    height: auto;
  }

  .aura-mobile-menu {
    top: 100%;
    width: 100vw;
    height: calc(100dvh - var(--aura-header-height));
    max-height: calc(100dvh - var(--aura-header-height));
    z-index: 1;
    background: var(--aura-color-white);
    border-top: 1px solid var(--aura-header-border);
  }

  .aura-mobile-menu__inner {
    height: 100%;
    padding: 22px 18px 34px;
  }

  .aura-mobile-menu__item {
    border-top-color: rgba(var(--aura-color-dusty-pink-rgb), 0.46);
  }

   
  .aura-mobile-menu__secondary {
  border-top: 0;
  }

  .aura-mobile-menu__item:last-child,
  .aura-mobile-menu__secondary {
    border-bottom-color: rgba(var(--aura-color-dusty-pink-rgb), 0.46);
  }

.aura-mobile-menu__link, .aura-mobile-menu__trigger, .aura-mobile-menu__contact, .aura-mobile-menu__account {
    min-height: 102px;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.075em;
}
.aura-mobile-menu__secondary {
    margin-top: 14px;
    padding-bottom: 30px;

}

  .aura-mobile-menu__link--secondary,
  .aura-mobile-menu__contact,
  .aura-mobile-menu__account {
    min-height: 56px;
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aura-header,
  .aura-header::before,
  .aura-header *,
  .aura-mobile-menu {
    animation: none !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
