/* Product layers, dots and progress for the homepage sliders (hero + featured products). */
[data-hero-slider] [hidden]{display:none!important}
.hero-slider .hero-panel-bg{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}
[data-hero-slider]:focus-visible{outline:2px solid #ff5722;outline-offset:-4px}
@keyframes maia-slider-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes maia-product-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes maia-product-in{from{opacity:0;transform:translateY(24px) scale(.94)}to{opacity:1;transform:none}}

/* Hero: product image floating over the background */
.hero-slider .hero-product{position:absolute;z-index:2;top:50%;right:max(110px,calc((100% - 1430px)/2 + 60px));width:clamp(260px,30vw,450px);aspect-ratio:1;margin-top:calc(clamp(260px,30vw,450px)/-2);pointer-events:none}
.hero-slider .hero-product-glow{position:absolute;inset:-8%;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.75),rgba(255,255,255,0) 68%);transform:translate(calc(var(--tilt-x,0)*-30px),calc(var(--tilt-y,0)*-20px));transition:transform .4s ease-out}
.hero-slider .hero-product-image{position:relative;width:100%;height:100%;border:8px solid rgba(255,255,255,.92);border-radius:50%;object-fit:cover;background:#f3eee7;box-shadow:0 30px 60px rgba(40,28,18,.22);transition:translate .35s ease-out}
.hero-slider .hero-panel.is-active .hero-product{animation:maia-product-in .8s .2s cubic-bezier(.2,.7,.2,1) both}
.hero-slider .hero-panel.is-active .hero-product-image{animation:maia-product-float 6s 1s ease-in-out infinite}
.hero-slider .hero-product-tag{position:absolute;left:-12%;bottom:10%;display:flex;flex-direction:column;gap:2px;padding:12px 20px;border-radius:14px;background:rgba(255,255,255,.94);box-shadow:0 14px 34px rgba(40,28,18,.16);color:#191919;line-height:1.3;pointer-events:auto;transition:translate .35s ease-out,transform .2s}
.hero-slider .hero-product-tag:hover{transform:translateY(-3px)}
.hero-slider .hero-product-tag span{font-size:13px;color:#6f6962}
.hero-slider .hero-product-tag strong{font-size:18px;color:#ff5722}

/* Hero: dots and autoplay progress */
.hero-slider .slider-dots{position:absolute;z-index:6;left:50%;bottom:34px;transform:translateX(-50%)}
.slider-dots{display:flex;justify-content:center;gap:10px}
.slider-dots button{width:10px;height:10px;padding:0;border:1px solid #191919;border-radius:10px;background:transparent;cursor:pointer;transition:width .3s,background .3s}
.slider-dots button[aria-current="true"]{width:30px;background:#ff5722;border-color:#ff5722}
.hero-slider .slider-progress{position:absolute;z-index:6;left:0;right:0;bottom:0;height:3px;background:rgba(25,25,25,.08)}
.hero-slider .slider-progress span{display:block;height:100%;background:#ff5722;transform:scaleX(0);transform-origin:left}

/* Featured products slider */
.feature-slider{padding:100px 0;background:#fbfaf7}
.feature-stage{position:relative;display:grid}
.feature-panel{grid-area:1/1;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:60px;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility .6s}
.feature-panel.is-active{opacity:1;visibility:visible}
.feature-media{position:relative;height:520px;border-radius:24px;overflow:hidden;background-color:#efe9e1;display:grid;place-items:center;isolation:isolate}
.feature-media-bg{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:cover;object-position:calc(50% + var(--tilt-x,0)*-4%) calc(50% + var(--tilt-y,0)*-4%);transition:object-position .4s ease-out;pointer-events:none}
.feature-media:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.55),rgba(255,255,255,0) 60%)}
.feature-product{position:relative;width:min(58%,340px);aspect-ratio:1;border:8px solid #fff;border-radius:50%;object-fit:cover;background:#f3eee7;box-shadow:0 28px 55px rgba(40,28,18,.25);transition:translate .35s ease-out}
.feature-panel.is-active .feature-product{animation:maia-product-in .8s .1s cubic-bezier(.2,.7,.2,1) both}
.feature-copy h3{margin:10px 0 14px;font:600 clamp(34px,4vw,50px)/1.08 var(--maia-heading-font,Georgia,serif)}
.feature-copy p{margin:0 0 20px;color:#6f6962}
.feature-copy .overline{color:#ff5722}
.feature-price{display:flex;align-items:baseline;gap:12px;margin-bottom:26px}
.feature-price strong{font-size:28px;font-weight:700;color:#191919}
.feature-price .old-price{color:#9a938b;text-decoration:line-through}
.feature-actions{display:flex;flex-wrap:wrap;gap:12px}
.feature-actions .maia-button{background:#ff5722;border-color:#ff5722;color:#fff}
.feature-cart{padding:14px 28px;border:1px solid #191919;background:transparent;color:#191919;font:700 10px var(--maia-body-font,Arial,sans-serif);letter-spacing:.16em;text-transform:uppercase;cursor:pointer;transition:background .2s,color .2s}
.feature-cart:hover{background:#191919;color:#fff}
.feature-slider .hero-arrow{position:absolute;z-index:3;top:260px;width:52px;height:52px;margin-top:-26px;border:0;border-radius:50%;background:#fff;color:#191919;font-size:34px;line-height:1;box-shadow:0 10px 25px rgba(0,0,0,.12);cursor:pointer;transition:background .2s,color .2s}
.feature-slider .hero-arrow:hover{background:#191919;color:#fff}
.feature-slider .hero-arrow.left{left:16px}
.feature-slider .hero-arrow.right{left:calc((100% - 60px)*.55 - 68px)}
.feature-slider .slider-dots{margin-top:34px}

@media(max-width:1280px){.hero-slider .hero-product{right:90px;width:clamp(240px,28vw,380px);margin-top:calc(clamp(240px,28vw,380px)/-2)}}
@media(max-width:900px){
  .hero-slider .hero-panel-bg{object-position:62% center}
  .hero-slider .hero-product{right:70px;width:230px;margin-top:-115px}
  .hero-slider .hero-product-tag{display:none}
  .feature-slider{padding:70px 0}
  .feature-panel{grid-template-columns:1fr;gap:28px}
  .feature-media{height:400px}
  .feature-slider .hero-arrow{top:200px}
  .feature-slider .hero-arrow.left{left:10px}
  .feature-slider .hero-arrow.right{left:auto;right:10px}
}
@media(max-width:600px){
  .hero-slider .hero-panel-bg{object-position:68% center}
  .hero-slider .hero-product{top:auto;right:16px;bottom:22px;width:130px;margin-top:0;opacity:.95}
  .hero-slider .hero-product-image{border-width:4px}
  .hero-slider .slider-dots{bottom:16px;left:24px;transform:none}
  .feature-media{height:320px;border-radius:16px}
  .feature-slider .hero-arrow{top:160px;width:42px;height:42px;margin-top:-21px;font-size:28px}
}
@media(prefers-reduced-motion:reduce){.hero-product-image,.feature-product,.hero-product{animation:none!important}}
