/* HOUSE OF AFRERA V4 — FINAL SHARED HEADER + PHOTOGRAPHIC INTERACTIONS
   Added last, overriding the inherited, conflicting preview header layouts.
   The four-section homepage, commerce gates and backend are not changed. */
:root { --hoa-navigation-breakpoint: 1220px; }
html body header.hoa-site-header.header {
  position: relative!important;
  display: flex!important;
  flex-direction: row!important;
  flex-wrap: nowrap!important;
  align-items: center!important;
  justify-content: flex-start!important;
  width: 100%!important;
  height: 94px!important;
  min-height: 94px!important;
  padding: 0 clamp(24px, 3.1vw, 56px)!important;
  gap: clamp(18px, 2vw, 36px)!important;
  background: #290813!important;
  border-bottom: 1px solid rgba(244,210,169,.16)!important;
  overflow: visible!important;
}
html body header.hoa-site-header.header > a.brand {
  position: static!important;
  inset: auto!important;
  transform: none!important;
  display: inline-flex!important;
  flex: 0 0 auto!important;
  white-space: nowrap!important;
  align-items: center!important;
  min-width: 0!important;
  font-size: clamp(23px, 1.82vw, 29px)!important;
  line-height: 1.1!important;
  letter-spacing: .016em!important;
  margin: 0!important;
  padding: 0!important;
}
html body header.hoa-site-header.header > a.header-monogram {
  position: static!important;
  inset: auto!important;
  left: auto!important; right: auto!important; top: auto!important; bottom: auto!important;
  transform: none!important;
  display: grid!important;
  flex: 0 0 60px!important;
  place-items: center!important;
  align-self: center!important;
  width: 60px!important;
  min-width: 60px!important;
  height: 60px!important;
  margin: 0!important;
  padding: 0!important;
  isolation: isolate!important;
  border: 0!important;
  border-radius: 50%!important;
  background: none!important;
  overflow: visible!important;
  z-index: 2!important;
}
html body header.hoa-site-header.header > a.header-monogram img {
  display: block!important;
  width: 56px!important;
  height: 56px!important;
  max-width: 56px!important;
  max-height: 56px!important;
  object-fit: contain!important;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.15))!important;
}
html body header.hoa-site-header.header > nav.nav {
  position: static!important;
  inset: auto!important;
  transform: none!important;
  display: flex!important;
  flex: 1 1 auto!important;
  flex-direction: row!important;
  justify-content: space-between!important;
  align-items: center!important;
  justify-items: initial!important;
  grid-template-columns: none!important;
  width: auto!important;
  min-width: 0!important;
  margin: 0!important;
  padding: 0!important;
  gap: clamp(15px, 1.35vw, 27px)!important;
  white-space: nowrap!important;
}
html body header.hoa-site-header.header > nav.nav a {
  position: static!important;
  display: inline-block!important;
  flex: 0 0 auto!important;
  transform: none!important;
  width: auto!important;
  min-width: 0!important;
  padding: 8px 0!important;
  margin: 0!important;
  white-space: nowrap!important;
  font-family: 'Manrope', Arial, sans-serif!important;
  font-size: clamp(11.8px, .87vw, 13.3px)!important;
  font-weight: 700!important;
  line-height: 1.25!important;
  letter-spacing: .105em!important;
  text-align: center!important;
}
html body header.hoa-site-header.header > a.top-action {
  position: static!important;
  inset: auto!important;
  transform: none!important;
  display: inline-flex!important;
  flex: 0 0 auto!important;
  justify-content: center!important;
  align-items: center!important;
  white-space: nowrap!important;
  margin: 0!important;
  padding: 14px 15px!important;
  font-size: 10px!important;
  line-height: 1.2!important;
  letter-spacing: .08em!important;
  border-radius: 999px!important;
}
html body header.hoa-site-header.header > button.menu-button { display: none!important; }
/* Narrow screens: a deliberate compact header, with the full navigation in the menu.
   Never squeeze links into overlapping desktop columns. */
@media (max-width: 1220px) {
  html body header.hoa-site-header.header {
    display: grid!important;
    grid-template-columns: minmax(0,1fr) 58px minmax(0,1fr)!important;
    gap: 10px!important;
    padding-inline: clamp(16px,3vw,32px)!important;
    height: 82px!important;
    min-height: 82px!important;
  }
  html body header.hoa-site-header.header > a.brand {
    grid-column: 1!important;grid-row:1!important;
    justify-self: start!important;
    font-size: clamp(18px,2.45vw,26px)!important;
  }
  html body header.hoa-site-header.header > a.header-monogram {
    grid-column:2!important;grid-row:1!important;
    justify-self:center!important;
    flex:none!important;
    width:58px!important;min-width:58px!important;height:58px!important;
  }
  html body header.hoa-site-header.header > a.header-monogram img {width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important}
  html body header.hoa-site-header.header > nav.nav,
  html body header.hoa-site-header.header > a.top-action {display:none!important}
  html body header.hoa-site-header.header > button.menu-button {
    display:block!important;position:static!important;transform:none!important;
    grid-column:3!important;grid-row:1!important;
    justify-self:end!important;align-self:center!important;
    margin:0!important;
  }
  html body nav.mobile-menu {top:82px!important}
}
@media (max-width: 560px) {
  html body header.hoa-site-header.header{height:74px!important;min-height:74px!important;grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr)!important;gap:6px!important;padding-inline:14px!important}
  html body header.hoa-site-header.header > a.brand{font-size:clamp(15px,3.65vw,20px)!important;letter-spacing:.008em!important}
  html body header.hoa-site-header.header > a.header-monogram{width:46px!important;min-width:46px!important;height:46px!important}
  html body header.hoa-site-header.header > a.header-monogram img{width:43px!important;height:43px!important;max-width:43px!important;max-height:43px!important}
  html body nav.mobile-menu{top:74px!important}
}
/* Journal first release image uses the supplied original amber droplet */
html body .journal-cards .journal-card:first-child img {
  width:100%;height:100%;object-fit:cover;object-position:center 53%;
  filter:none!important;image-rendering:auto;
}
/* NAYA main photograph: Queen by default, amber droplet on hover or focus. */
html body .main-product-image.hoa-fragrance-reveal {isolation:isolate;border-radius:155px 38px 78px 32px!important;overflow:hidden;cursor:default}
html body .main-product-image.hoa-fragrance-reveal .primary-image,
html body .main-product-image.hoa-fragrance-reveal .hoa-amber-reveal-image {
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center 36%!important;
  transform:none!important;filter:none!important;
  transition:opacity .6s cubic-bezier(.2,.75,.2,1)!important;
  backface-visibility:hidden;
}
html body .main-product-image.hoa-fragrance-reveal .primary-image {opacity:1!important;z-index:0}
html body .main-product-image.hoa-fragrance-reveal .hoa-amber-reveal-image {opacity:0!important;z-index:1;pointer-events:none}
@media (hover:hover) and (pointer:fine) {
  html body .main-product-image.hoa-fragrance-reveal:hover .primary-image{opacity:0!important}
  html body .main-product-image.hoa-fragrance-reveal:hover .hoa-amber-reveal-image{opacity:1!important}
}
html body .main-product-image.hoa-fragrance-reveal.is-amber-visible .primary-image{opacity:0!important}
html body .main-product-image.hoa-fragrance-reveal.is-amber-visible .hoa-amber-reveal-image{opacity:1!important}
html body .main-product-image.hoa-fragrance-reveal .image-badge{z-index:5!important;left:auto!important;right:24px!important;top:24px!important}
html body .main-product-image.hoa-fragrance-reveal .image-hover-cta {z-index:4!important}
html body .main-product-image.hoa-fragrance-reveal .hoa-fragrance-toggle {
  position:absolute;left:24px;bottom:25px;z-index:6;
  background:rgba(43,9,19,.82);color:#f8ebdb;
  border:1px solid rgba(247,218,178,.7);border-radius:999px;
  font:700 10px/1.2 'Manrope',Arial,sans-serif;letter-spacing:.105em;
  padding:13px 16px;cursor:pointer;
}
html body .main-product-image.hoa-fragrance-reveal .hoa-fragrance-toggle:focus-visible{outline:2px solid #ffe2ac;outline-offset:3px}
html body .main-product-image.hoa-fragrance-reveal .hoa-fragrance-toggle:hover{background:rgba(43,9,19,.96)}
@media (max-width: 600px) {
  html body .main-product-image.hoa-fragrance-reveal {height: min(74vh,610px)!important;border-radius:92px 26px 70px 22px!important}
  html body .main-product-image.hoa-fragrance-reveal .image-badge {top:16px!important;right:16px!important;font-size:10px!important;padding:10px 12px!important}
  html body .main-product-image.hoa-fragrance-reveal .hoa-fragrance-toggle{left:15px;bottom:18px;font-size:9px;padding:12px}
}
@media (prefers-reduced-motion: reduce) {
  html body .main-product-image.hoa-fragrance-reveal .primary-image,
  html body .main-product-image.hoa-fragrance-reveal .hoa-amber-reveal-image {transition:none!important}
}
/* Keep original photos naturally sharp: no new blur, low-resolution enlargement or hazy filter. */
html body img {image-rendering:auto;}
