/* Nivah fine jewellery: 2026 October hero refinement and category overlays.
   Kept separate from existing white header, admin and storefront product styles. */
.hero-fashion .hero-copy h1.nv-hero-headline{
  font-family:"Playfair Display","Cormorant Garamond",Georgia,serif;
  font-weight:400;
  letter-spacing:-2.1px;
  line-height:1.10;
  max-width:760px;
  text-shadow:0 3px 24px rgba(10,12,12,.24);
}
.hero-fashion .hero-copy h1.nv-hero-headline em{
  font-family:"Playfair Display",Georgia,serif;
  font-weight:400;
  font-style:italic;
  color:#e9cfad;
}
.hero-fashion .hero-copy .eyebrow{
  font-weight:500;
  letter-spacing:2.65px;
  color:#f4dec0;
}
.hero-fashion .hero-copy .nv-hero-line{
  padding-bottom:.16em;
  margin-bottom:-.16em;
}
.hero-fashion .hero-copy .nv-hero-line-inner{
  transform:translate3d(0,22px,0);
  opacity:0;
  animation:nivahHeroLineSoft 1.55s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay:.30s;
}
.hero-fashion .hero-copy .nv-hero-line:nth-child(2) .nv-hero-line-inner{
  animation-delay:.54s;
}
.hero-fashion .nv-hero-appear{
  animation:nivahHeroFadeSoft 1.35s cubic-bezier(.2,.85,.25,1) forwards;
  opacity:0;transform:translate3d(0,13px,0);
}
.hero-fashion .nv-stagger-1{animation-delay:.13s}
.hero-fashion .nv-stagger-3{animation-delay:.85s}
.hero-fashion .nv-stagger-4{animation-delay:1.07s}
.hero-fashion .nv-stagger-5{animation-delay:1.25s}
.hero-fashion .hero-bg img{
  animation:nivahHeroSoftReveal 2.4s cubic-bezier(.2,.8,.3,1) both,
            nivahHeroBreathe 26s ease-in-out 2.4s infinite alternate;
  transform-origin:65% 44%;
}
.hero-fashion .hero-overlay{
  animation:nvVeilIn 2.3s ease-out .05s forwards;
}
.hero-fashion .nv-hero-sheen{
  animation:nvSheenBreath 14s ease-in-out 2s infinite alternate;
}
.hero-fashion .hero-actions .btn.nv-hero-cta{
  transition:background .65s cubic-bezier(.2,.8,.3,1),
             color .65s cubic-bezier(.2,.8,.3,1),
             transform .65s cubic-bezier(.2,.8,.3,1),
             box-shadow .65s cubic-bezier(.2,.8,.3,1);
}
.hero-fashion .hero-actions .btn.nv-hero-cta:hover{
  box-shadow:0 11px 24px rgba(17,14,12,.17);
}
@keyframes nivahHeroLineSoft{
  from{opacity:0;filter:blur(4px);transform:translate3d(0,22px,0)}
  to{opacity:1;filter:blur(0);transform:translate3d(0,0,0)}
}
@keyframes nivahHeroFadeSoft{
  from{opacity:0;filter:blur(2px);transform:translate3d(0,13px,0)}
  to{opacity:1;filter:blur(0);transform:translate3d(0,0,0)}
}
@keyframes nivahHeroSoftReveal{
  from{opacity:.65;transform:scale(1.055);filter:brightness(.88)}
  to{opacity:1;transform:scale(1.018);filter:brightness(1)}
}
@keyframes nivahHeroBreathe{
  from{transform:scale(1.018) translate3d(0,0,0)}
  to{transform:scale(1.07) translate3d(-.35%,-.30%,0)}
}
/* Category slider: photo edge-to-edge with gently fading title band centered over each photo. */
.nivah-category-tile{
  display:block;
  position:relative;
  overflow:hidden;
  background:#292724;
  isolation:isolate;
}
.nivah-category-photo{
  position:relative;
  width:100%;
  overflow:hidden;
}
.nivah-category-photo::after{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,
    rgba(8,10,10,0) 0%,
    rgba(8,10,10,.06) 18%,
    rgba(8,10,10,.27) 43%,
    rgba(8,10,10,.34) 55%,
    rgba(8,10,10,.12) 78%,
    rgba(8,10,10,0) 100%);
  opacity:.92;
  transition:opacity .65s ease;
}
.nivah-category-tile:hover .nivah-category-photo::after{
  opacity:1;
}
.nivah-category-label{
  position:absolute;
  left:50%;
  top:50%;
  z-index:2;
  transform:translate(-50%,-50%);
  width:max-content;
  max-width:calc(100% - 18px);
  min-height:0;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  padding:12px clamp(12px,1.2vw,23px);
  border:1px solid rgba(249,239,225,.26);
  background:linear-gradient(90deg,
       rgba(23,23,22,.35),
       rgba(23,23,22,.62) 40%,
       rgba(23,23,22,.56) 62%,
       rgba(23,23,22,.32));
  -webkit-backdrop-filter:blur(9px);
  backdrop-filter:blur(9px);
  color:#fffaf0;
  box-shadow:0 7px 26px rgba(0,0,0,.09);
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(17px,1.42vw,23px);
  font-weight:400;
  line-height:1.3;
  letter-spacing:.05px;
  white-space:normal;
  text-align:center;
  text-wrap:balance;
  pointer-events:none;
  transition:background .7s ease,border-color .7s ease,box-shadow .7s ease;
}
.nivah-category-label>span{
  color:#f2ddbb;
  font:500 12px Manrope,Arial,sans-serif;
}
.nivah-category-tile:hover .nivah-category-label{
  background:rgba(24,22,20,.66);
  border-color:rgba(249,239,225,.46);
  box-shadow:0 10px 28px rgba(0,0,0,.16);
}
@media(max-width:800px){
  .hero-fashion .hero-copy h1.nv-hero-headline{
    font-family:"Playfair Display",Georgia,serif;
    letter-spacing:-1.25px;
    line-height:1.06;
  }
  .nivah-category-label{
    max-width:calc(100% - 10px);
    padding:9px 8px;
    gap:5px;
    font-size:clamp(13px,3.7vw,16px);
    line-height:1.18;
    border-color:rgba(249,239,225,.2);
  }
  .nivah-category-label>span{font-size:10px}
}
@media(max-width:370px){
  .nivah-category-label{
    font-size:13px;
    padding:8px 5px;
  }
}
@media(prefers-reduced-motion:reduce){
  .hero-fashion .hero-bg img,
  .hero-fashion .hero-overlay,
  .hero-fashion .nv-hero-sheen,
  .hero-fashion .nv-hero-line-inner,
  .hero-fashion .nv-hero-appear{
    animation:none !important;
    opacity:1 !important;
    filter:none !important;
    transform:none !important;
  }
  .nivah-category-label,
  .nivah-category-photo::after{
    transition:none !important;
  }
}
