/*
 HOUSE OF AFRERA — V4.0 UNIFIED WAVE & QUALITY PREVIEW
 Additive visual-only patch. The four approved homepage sections are retained.
 Does not modify commerce, Stripe, Cloudflare Access or back-office functionality.
*/
:root {--hoa-wave-cream:#fff1e4;--hoa-wave-gold:#d8b58a;}
/* The wave is shared across every public inner-page top section. */
body:not(.hoa-homepage) main > .hoa-inner-wave-hero,
body:not(.hoa-homepage) main > .hoa-inner-wave-banner {
  position:relative!important;
  isolation:isolate;
  overflow:hidden;
  background-color:#2a0814!important;
  color:var(--hoa-wave-cream)!important;
}
body:not(.hoa-homepage) main > .hoa-inner-wave-hero::before,
body:not(.hoa-homepage) main > .hoa-inner-wave-banner::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background-image:linear-gradient(90deg,rgba(32,2,13,.83) 0%,rgba(38,3,15,.58) 49%,rgba(30,1,10,.35) 100%),url("assets/afrera-satin-wave-4k.webp");
  background-size:cover;
  background-position:center 50%;
  background-repeat:no-repeat;
  pointer-events:none;
}
body:not(.hoa-homepage) main > .hoa-inner-wave-hero > *,
body:not(.hoa-homepage) main > .hoa-inner-wave-banner > * {position:relative;z-index:1;}
body:not(.hoa-homepage) main > .hoa-inner-wave-hero h1,
body:not(.hoa-homepage) main > .hoa-inner-wave-hero h2,
body:not(.hoa-homepage) main > .hoa-inner-wave-banner h1 {color:#fff3e7!important;}
body:not(.hoa-homepage) main > .hoa-inner-wave-hero p,
body:not(.hoa-homepage) main > .hoa-inner-wave-banner p {color:rgba(255,241,232,.94)!important;}
body:not(.hoa-homepage) main > .hoa-inner-wave-hero .eyebrow,
body:not(.hoa-homepage) main > .hoa-inner-wave-hero .g6-kicker {color:#e2c69c!important;}
body:not(.hoa-homepage) main > .hoa-inner-wave-hero .g6-coming{border-color:#d2ad7f;color:#fff1e3}
body:not(.hoa-homepage) main > .hoa-inner-wave-hero .g6-pill {color:#fff5eb;}
/* Inner pages without a short hero (legal/checkout/status) receive a standalone band. */
.hoa-inner-wave-banner{min-height:235px;display:flex;align-items:center;padding:65px clamp(22px,7vw,120px);}
.hoa-inner-wave-banner .hoa-band-copy{max-width:1200px;width:100%;margin:auto;}
.hoa-inner-wave-banner .hoa-band-copy .hoa-band-kicker{font:700 11px/1.6 'Manrope',sans-serif;letter-spacing:.22em;color:#e3c699;margin:0 0 14px;}
.hoa-inner-wave-banner h1{font:400 clamp(38px,5vw,75px)/1.1 'Bodoni Moda',Georgia,serif;letter-spacing:-.035em;margin:0;}
/* Preserve the Queen’s face in portrait and product artwork. */
html body img[src*="hoa-queen-clear.webp"]{image-rendering:auto;filter:none!important;opacity:1!important;}
html body .g6-page .g6-art img.g6-main,
html body .g6-page .g6-photo img[src*="hoa-queen-clear.webp"],
html body .g6-page img[src*="hoa-queen-clear.webp"]{object-position:33% 34%!important;}
html body.hoa-homepage .feature-photo img[src*="hoa-queen-clear.webp"]{object-position:37% 34%!important;}
/* Single still image for Fragrances. Never hide the Queen on hover/focus. */
html body .g6-page .g6-art .g6-main,
html body .g6-page .g6-art:hover .g6-main,
html body .g6-page .g6-art:focus-within .g6-main {opacity:1!important;transition:none!important;}
html body .g6-page .g6-art img{transition:none!important;}
/* No scroll reveal, image dissolve, or deliberate image delay. */
html body .reveal,html body .reveal.visible,
html body .fade-in,html body .image-enter,html body .card-enter {
  opacity:1!important;transform:none!important;animation:none!important;transition:none!important;
}
html body .feature-photo img,
html body .heritage-photo img,
html body .final-photo img,
html body .g6-photo img,
html body .g6-card img,
html body .g6-story-img,
html body .g6-art img{opacity:1!important;animation:none!important;transition:none!important;}
/* Retain short responsive interactions; no disruptive global transform override. */
html body .g6-pill,html body .nav a,html body .top-action,
html body .hoa-wave-hero__button,html body .btn {
  transition-duration:.16s!important;transition-delay:0s!important;
}
html{scroll-behavior:auto!important;}
@media(max-width:750px){
  body:not(.hoa-homepage) main > .hoa-inner-wave-hero::before,
  body:not(.hoa-homepage) main > .hoa-inner-wave-banner::before{
    background-image:linear-gradient(180deg,rgba(26,2,10,.77),rgba(32,2,11,.62)),url("assets/afrera-satin-wave-4k.webp");
    background-position:58% center;
  }
  .hoa-inner-wave-banner{min-height:205px;padding:45px 22px;}
}
@media(prefers-reduced-motion:reduce){html body *{animation:none!important;transition-duration:0s!important;}}

/* V4.0.1 — returning-home hero image stability; loaded as a native CSS background.
   Deliberately reinforce after legacy hero rules. */
html body.hoa-homepage .hoa-wave-hero {
  background-color:#300611!important;
  background-image:url("assets/afrera-satin-wave-4k.webp")!important;
  background-position:center 48%!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-attachment:scroll!important;
}
html body.hoa-homepage .hoa-wave-hero__art{display:none!important;}
