/* Feroz Mohib Store targeted layout fixes */
.fm-store-nav{position:sticky!important;top:0!important;z-index:6000!important}
.fm-announcement{position:relative!important;z-index:5999!important}
.fm-announcement.fm-announcement-hide{display:none!important}
body:has(.fm-store-nav) .fm-announcement{transition:opacity .2s ease}
.fm-view-all-link{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:9px 17px!important;border:1px solid #f39c12!important;border-radius:999px!important;background:#f39c12!important;color:#080808!important;font-size:11px!important;font-weight:900!important;letter-spacing:.65px;text-decoration:none!important;box-shadow:0 7px 22px rgba(243,156,18,.18);transition:transform .2s ease,box-shadow .2s ease}
.fm-view-all-link:hover{color:#000!important;background:#ffc04a!important;transform:translateY(-2px);box-shadow:0 10px 26px rgba(243,156,18,.28)}
.fm-home-product-rail,#fmHomeCategories,.fm-review-grid.fm-home-category-rail{direction:ltr!important;scroll-behavior:smooth}
.fm-home-product-rail>.fm-product,.fm-home-category-rail>.fm-home-category,.fm-review-grid.fm-home-category-rail>*{direction:ltr!important}
.fm-footer,footer{display:none!important}
.loader-logo{display:none!important}
.fm-loading-cards{height:74px;display:flex;align-items:center;justify-content:center;gap:8px;perspective:500px}
.fm-loading-cards i{display:block;width:36px;height:48px;border:1px solid rgba(243,156,18,.5);border-radius:8px;background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(243,156,18,.10));box-shadow:0 8px 20px rgba(0,0,0,.3);animation:fmCardLoad 1s ease-in-out infinite alternate}
.fm-loading-cards i:nth-child(2){animation-delay:.16s}.fm-loading-cards i:nth-child(3){animation-delay:.32s}
@keyframes fmCardLoad{from{transform:translateY(5px) rotateY(-12deg);opacity:.55}to{transform:translateY(-7px) rotateY(12deg);opacity:1}}
/* Product details: header and image gallery remain pinned while detail cards scroll over the image. */
body:has(.product-wrapper) .fm-store-nav{position:sticky!important;top:0!important}
.product-wrapper{display:flex!important;flex-direction:column!important;max-width:900px!important;margin:0 auto!important;padding:0 0 40px!important;overflow:visible!important}
.slider-container{position:sticky!important;top:58px!important;z-index:1!important;width:100%!important;height:min(76vh,690px)!important;min-height:420px!important;order:0!important;background:#050505!important}
.product-info{position:relative!important;z-index:3!important;order:1!important;width:100%!important;margin-top:-68px!important;padding:18px clamp(12px,3vw,28px)!important;gap:12px!important;pointer-events:none}
.product-info>.glass-box,.product-info>*{pointer-events:auto}
.product-info .glass-box{background:rgba(18,18,18,.78)!important;backdrop-filter:blur(24px) saturate(135%)!important;-webkit-backdrop-filter:blur(24px) saturate(135%)!important}
@media(max-width:899px){.product-wrapper{display:flex!important;flex-direction:column!important}.slider-container{top:56px!important;height:min(76vh,640px)!important;min-height:400px!important}.product-info{order:1!important;margin-top:-58px!important}.fm-store-nav{min-height:56px}}
@media(min-width:900px){.slider-container{top:58px!important;height:min(76vh,690px)!important;min-height:500px!important}.product-info{margin-top:-68px!important}}

/* V4 final product-detail spacing and image-contained offer labels */
.product-wrapper{padding-top:0!important}
.slider-container{margin:0 auto!important;isolation:isolate!important}
.product-image-badges{position:absolute!important;top:14px!important;left:14px!important;right:14px!important;z-index:20!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important;flex-wrap:wrap!important;pointer-events:none!important}
.product-image-badges .discount-tag,.product-image-badges .new-arrival-tag,.product-image-badges .fm-badge,.product-image-badges .fm-new-badge{position:relative!important;inset:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:max-content!important;max-width:48%!important;margin:0!important;box-sizing:border-box!important;box-shadow:0 5px 16px rgba(0,0,0,.38)!important}
.product-image-badges .discount-tag,.product-image-badges .fm-badge{background:#f39c12!important;color:#090909!important;border-radius:8px!important;padding:7px 10px!important;font-weight:900!important}
.product-image-badges .new-arrival-tag,.product-image-badges .fm-new-badge{background:rgba(8,8,8,.82)!important;color:#f5b63c!important;border:1px solid rgba(243,156,18,.75)!important;border-radius:8px!important;padding:7px 10px!important}
/* Detail cards begin slightly over the lower image edge, with a clear visual gap. */
.product-info{margin-top:-34px!important;padding-top:22px!important;gap:14px!important}
.product-info>.glass-box:first-child{margin-top:0!important}
@media(max-width:899px){.product-info{margin-top:-28px!important;padding-top:20px!important;gap:13px!important}}


/* V5 desktop product detail: image carousel on the left, details on the right. */
@media(min-width:900px){
  body:has(.product-wrapper){overflow-x:hidden}
  .product-wrapper{
    width:min(1440px,calc(100% - 64px))!important;
    max-width:1440px!important;
    margin:26px auto 60px!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr)!important;
    align-items:start!important;
    gap:34px!important;
  }
  .product-wrapper>.slider-container{
    grid-column:1!important;grid-row:1!important;
    width:100%!important;max-width:none!important;
    margin:0!important;position:sticky!important;top:24px!important;
    align-self:start!important;overflow:hidden!important;
    border-radius:24px!important;
  }
  .product-wrapper>.slider-container .slider-stage{
    width:100%!important;min-height:0!important;
    aspect-ratio:4/5!important;max-height:calc(100vh - 48px)!important;
    border-radius:24px!important;overflow:hidden!important;
  }
  .product-wrapper>.slider-container .slider-stage img{
    width:100%!important;height:100%!important;max-height:calc(100vh - 48px)!important;
    object-fit:contain!important;display:block!important;
  }
  .product-wrapper>.product-info{
    grid-column:2!important;grid-row:1!important;
    width:100%!important;max-width:none!important;
    margin:0!important;padding:0!important;gap:16px!important;
    display:flex!important;flex-direction:column!important;
  }
  .product-wrapper>.product-info>.glass-box{width:100%!important;margin:0!important}
}
@media(max-width:899px){
  .product-wrapper{display:flex!important;flex-direction:column!important}
  .product-wrapper>.slider-container{order:0!important;position:relative!important;top:auto!important;width:100%!important}
  .product-wrapper>.product-info{order:1!important;width:100%!important}
}
/* Badges belong to the active/front product image, not the outer carousel frame. */
.slider-container{position:relative!important;isolation:isolate!important}
.product-image-badges{position:absolute!important;inset:14px 14px auto!important;z-index:50!important;pointer-events:none!important}
.product-image-badges>*{position:relative!important;inset:auto!important;max-width:48%!important}


/* V7: mobile product image remains pinned below the fixed store header while detail cards scroll over it. */
@media(max-width:899px){
  body:has(.product-wrapper) .fm-store-nav{position:sticky!important;top:0!important;z-index:6000!important}
  body:has(.product-wrapper) .sticky-header{position:fixed!important;top:0!important;transform:translateX(-50%)!important;z-index:6000!important}
  .product-wrapper{overflow:visible!important;isolation:isolate!important}
  .product-wrapper>.slider-container{position:sticky!important;top:58px!important;z-index:1!important;align-self:stretch!important;width:100%!important;height:clamp(360px,62vh,520px)!important;min-height:360px!important;max-height:calc(100vh - 58px)!important;order:0!important}
  .product-wrapper>.slider-container .slider-stage{height:100%!important;min-height:0!important;max-height:100%!important}
  .product-wrapper>.slider-container .slider-stage img{max-height:100%!important;object-fit:contain!important}
  .product-wrapper>.product-info{position:relative!important;z-index:3!important;order:1!important;width:100%!important;margin:-38px 0 0!important;padding:18px clamp(12px,3vw,28px) 0!important;gap:13px!important}
  .product-wrapper>.product-info>.glass-box{position:relative!important;z-index:3!important}
}
@media(max-width:430px){
  .product-wrapper>.slider-container{top:56px!important;height:clamp(350px,62vh,490px)!important;min-height:350px!important}
  .product-wrapper>.product-info{margin-top:-34px!important}
}

/* V8 mobile: keep a clearer gap between the product carousel and title card. */
@media(max-width:899px){
  .product-wrapper>.product-info{margin-top:-24px!important}
}
@media(max-width:430px){
  .product-wrapper>.product-info{margin-top:-20px!important}
}


/* V10 product gallery matches the rounded hero carousel silhouette. */
.product-wrapper>.slider-container{border-radius:24px!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.12)!important;background:#080808!important;box-shadow:0 18px 44px rgba(0,0,0,.38)!important;isolation:isolate}
.product-wrapper .slider-stage,.product-wrapper .slider-stage .slide,.product-wrapper .slider-stage img{border-radius:24px!important;overflow:hidden!important}
.product-wrapper .slider-stage img{object-fit:contain!important}
.product-image-badges{z-index:20!important;pointer-events:none!important}
.product-image-badges .discount-tag,.product-image-badges .fm-badge,.product-image-badges .new-arrival-tag,.product-image-badges .fm-new-badge{background:linear-gradient(180deg,rgba(82,82,82,.62),rgba(24,24,24,.72))!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important;backdrop-filter:blur(16px) saturate(145%)!important;-webkit-backdrop-filter:blur(16px) saturate(145%)!important;box-shadow:0 8px 20px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.1)!important}
/* Product information loading uses the same dark/silver sweep as catalogue cards. */
.loading-box.shimmer,.loading-box{position:relative!important;overflow:hidden!important;background:linear-gradient(105deg,#080808 22%,#171717 43%,#080808 64%)!important;background-size:220% 100%!important;animation:fmProductCardSweep 1.25s ease-in-out infinite!important;border-color:rgba(255,255,255,.10)!important}
.loading-box.shimmer:after,.loading-box:after{content:""!important;position:absolute!important;inset:0!important;pointer-events:none!important;background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.14) 48%,transparent 72%)!important;transform:translateX(-100%);animation:fmProductCardGlint 1.25s ease-in-out infinite!important}
@keyframes fmProductCardSweep{to{background-position:-220% 0}}
@keyframes fmProductCardGlint{to{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.loading-box.shimmer,.loading-box,.loading-box:after{animation:none!important}}


/* V10.1 product-page finish: compact checkbox-style size choices. */
#boxSize .size-options{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin-top:12px!important}
#boxSize .size-btn{
 position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
 gap:7px!important;height:48px!important;min-width:0!important;padding:0 8px 0 24px!important;
 border:1px solid rgba(255,255,255,.14)!important;border-radius:13px!important;
 background:rgba(255,255,255,.055)!important;color:#fff!important;
 font:800 12px/1 Poppins,sans-serif!important;box-shadow:none!important;backdrop-filter:blur(16px)!important;
}
#boxSize .size-btn:before{
 content:""!important;position:absolute!important;left:8px!important;top:50%!important;
 width:11px!important;height:11px!important;transform:translateY(-50%)!important;
 border:1px solid rgba(255,255,255,.45)!important;border-radius:3px!important;background:rgba(0,0,0,.18)!important;
}
#boxSize .size-btn.active{background:#f39c12!important;color:#080808!important;border-color:#f39c12!important;box-shadow:0 7px 18px rgba(243,156,18,.18)!important}
#boxSize .size-btn.active:before{content:"✓"!important;display:grid!important;place-items:center!important;color:#111!important;background:#fff!important;border-color:#fff!important;font:900 9px/1 Arial,sans-serif!important}
#boxSize .size-btn.unavailable{opacity:.48!important}
#boxSize .size-btn:hover{transform:translateY(-1px)!important;border-color:#f39c12!important}
@media(max-width:420px){#boxSize .size-options{gap:7px!important}#boxSize .size-btn{height:44px!important;font-size:11px!important;padding-left:21px!important}#boxSize .size-btn:before{left:6px!important}}


/* V10.3 — product gallery: hero-carousel shape, transparent surround, no duplicate-looking frames */
body:has(.product-wrapper) .slider-container{
  border-radius:20px!important;overflow:hidden!important;
  border:0!important;background:transparent!important;
  box-shadow:none!important;isolation:isolate!important;
}
body:has(.product-wrapper) .slider-stage,
body:has(.product-wrapper) .slider-stage .slide,
body:has(.product-wrapper) .slider-stage img{
  border-radius:20px!important;overflow:hidden!important;
}
body:has(.product-wrapper) .slider-stage{background:transparent!important}
body:has(.product-wrapper) .slider-stage .slide{background:transparent!important}
body:has(.product-wrapper) .slider-stage img{
  object-fit:contain!important;background:transparent!important;
}
body:has(.product-wrapper) .product-image-badges{
  position:absolute!important;inset:14px 14px auto!important;
  z-index:50!important;display:flex!important;justify-content:center!important;
  align-items:center!important;gap:8px!important;pointer-events:none!important;
}
body:has(.product-wrapper) .product-image-badges>*{max-width:48%!important}

/* V10.3 — product-detail loading state matches the catalogue silver shimmer */
body:has(.product-wrapper) .image-loader.shimmer,
body:has(.product-wrapper) .loading-box.shimmer,
body:has(.product-wrapper) .loading-box{
 background:linear-gradient(100deg,rgba(255,255,255,.055) 25%,rgba(255,255,255,.13) 37%,rgba(255,255,255,.055) 63%)!important;
 background-size:400% 100%!important;
 animation:fmCatalogueSilverShimmer 1.25s ease-in-out infinite!important;
 border-color:rgba(255,255,255,.10)!important;
}
@keyframes fmCatalogueSilverShimmer{0%{background-position:100% 0}100%{background-position:0 0}}
@media(prefers-reduced-motion:reduce){body:has(.product-wrapper) .image-loader.shimmer,body:has(.product-wrapper) .loading-box.shimmer{animation:none!important}}

/* V10.3 — product gallery is a single-image carousel (no adjacent slide peeking/double-image effect) */
body:has(.product-wrapper) .slider-stage .slide{
 width:100%!important;max-width:none!important;height:100%!important;
 top:0!important;left:0!important;transform:none!important;
 opacity:0!important;visibility:hidden!important;pointer-events:none!important;
}
body:has(.product-wrapper) .slider-stage .slide.active{
 opacity:1!important;visibility:visible!important;pointer-events:auto!important;
 z-index:5!important;transform:none!important;
}
body:has(.product-wrapper) .slider-stage .slide img{
 width:100%!important;height:100%!important;max-width:none!important;
 object-fit:contain!important;border-radius:20px!important;
}


/* V10.6 — product detail gallery restored to the homepage hero-style coverflow.
   Center image stays compact; previous/next images remain visible at both edges. */
body:has(.product-wrapper) .slider-container{
  position:relative!important;top:auto!important;z-index:1!important;
  width:100%!important;height:clamp(410px,92vw,540px)!important;
  min-height:0!important;max-height:560px!important;
  margin:0 auto!important;padding:0!important;overflow:hidden!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;isolation:isolate!important;
}
body:has(.product-wrapper) .slider-stage{
  position:relative!important;width:100%!important;height:100%!important;
  min-height:0!important;max-height:none!important;overflow:hidden!important;
  perspective:1200px!important;background:transparent!important;
}
body:has(.product-wrapper) .slider-stage .slide{
  position:absolute!important;left:50%!important;top:50%!important;
  display:block!important;width:76%!important;max-width:390px!important;
  height:auto!important;max-height:none!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  z-index:1!important;transform:translate(-50%,-50%) scale(.78)!important;
  transform-style:preserve-3d!important;
  transition:transform .5s cubic-bezier(.22,.75,.25,1),opacity .4s ease,filter .4s ease!important;
  filter:brightness(.52) saturate(.82)!important;
}
body:has(.product-wrapper) .slider-stage .slide img{
  display:block!important;width:100%!important;height:auto!important;
  aspect-ratio:3/4!important;max-height:none!important;object-fit:contain!important;
  border-radius:18px!important;background:#111!important;
  box-shadow:0 20px 48px rgba(0,0,0,.48)!important;
}
body:has(.product-wrapper) .slider-stage .slide.active{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  z-index:5!important;transform:translate(-50%,-50%) scale(1)!important;
  filter:none!important;
}
body:has(.product-wrapper) .slider-stage .slide.prev{
  opacity:.64!important;visibility:visible!important;pointer-events:auto!important;
  z-index:3!important;transform:translate(calc(-50% - 36%),-50%) rotateY(22deg) scale(.84)!important;
  filter:brightness(.58) saturate(.82)!important;
}
body:has(.product-wrapper) .slider-stage .slide.next{
  opacity:.64!important;visibility:visible!important;pointer-events:auto!important;
  z-index:3!important;transform:translate(calc(-50% + 36%),-50%) rotateY(-22deg) scale(.84)!important;
  filter:brightness(.58) saturate(.82)!important;
}
body:has(.product-wrapper) .product-image-badges{
  position:absolute!important;top:calc((100% - min(76%, 390px) * 4 / 3) / 2 + 12px)!important;
  left:50%!important;right:auto!important;transform:translateX(-50%)!important;
  width:min(76%,390px)!important;display:flex!important;justify-content:center!important;
  align-items:center!important;gap:8px!important;z-index:30!important;pointer-events:none!important;
}
body:has(.product-wrapper) .product-image-badges>*{max-width:48%!important}
@media(max-width:899px){
  body:has(.product-wrapper) .slider-container{height:clamp(390px,105vw,500px)!important;min-height:0!important;max-height:520px!important;position:relative!important;top:auto!important}
  body:has(.product-wrapper) .slider-stage .slide{width:76%!important;max-width:350px!important}
  body:has(.product-wrapper) .slider-stage .slide.prev{transform:translate(calc(-50% - 36%),-50%) rotateY(20deg) scale(.82)!important}
  body:has(.product-wrapper) .slider-stage .slide.next{transform:translate(calc(-50% + 36%),-50%) rotateY(-20deg) scale(.82)!important}
  body:has(.product-wrapper) .product-image-badges{width:76%!important;top:14px!important}
  body:has(.product-wrapper) .product-wrapper>.product-info{margin-top:-22px!important}
}
@media(max-width:390px){
  body:has(.product-wrapper) .slider-container{height:380px!important}
  body:has(.product-wrapper) .slider-stage .slide{width:78%!important}
  body:has(.product-wrapper) .product-image-badges{width:78%!important}
}
@media(prefers-reduced-motion:reduce){body:has(.product-wrapper) .slider-stage .slide{transition:none!important}}


/* V10.7 — fixed-size sticky product coverflow; detail glass cards scroll over it. */
@media(min-width:900px){
  body:has(.product-wrapper) .product-wrapper{
    display:flex!important;flex-direction:column!important;
    width:min(100%,980px)!important;max-width:980px!important;
    margin:18px auto 60px!important;padding:0 18px 50px!important;gap:0!important;
    overflow:visible!important;isolation:isolate!important;
  }
  body:has(.product-wrapper) .product-wrapper>.slider-container{
    position:sticky!important;top:64px!important;z-index:1!important;
    flex:0 0 540px!important;width:100%!important;height:540px!important;
    min-height:540px!important;max-height:540px!important;
    margin:0 auto!important;align-self:stretch!important;
  }
  body:has(.product-wrapper) .product-wrapper>.slider-container .slider-stage{height:540px!important;min-height:540px!important}
  body:has(.product-wrapper) .product-wrapper>.product-info{
    position:relative!important;z-index:4!important;width:100%!important;max-width:900px!important;
    margin:-42px auto 0!important;padding:18px 18px 0!important;
    display:flex!important;flex-direction:column!important;gap:14px!important;
  }
  body:has(.product-wrapper) .product-wrapper>.product-info>.glass-box{
    position:relative!important;z-index:4!important;
    background:rgba(17,17,17,.78)!important;
    backdrop-filter:blur(26px) saturate(145%)!important;
    -webkit-backdrop-filter:blur(26px) saturate(145%)!important;
    border:1px solid rgba(255,255,255,.12)!important;
  }
}
@media(max-width:899px){
  body:has(.product-wrapper) .product-wrapper>.slider-container{
    position:sticky!important;top:58px!important;z-index:1!important;
    flex:0 0 440px!important;height:440px!important;min-height:440px!important;
    max-height:440px!important;align-self:stretch!important;
  }
  body:has(.product-wrapper) .product-wrapper>.product-info{
    position:relative!important;z-index:4!important;margin:-30px 0 0!important;
    padding:18px 12px 0!important;
  }
}
@media(max-width:430px){
  body:has(.product-wrapper) .product-wrapper>.slider-container{height:410px!important;min-height:410px!important;max-height:410px!important;flex-basis:410px!important}
}
