/* Muse extras: floating Instagram button (stacks with the WhatsApp button) and the "Muse Luxe" badge. */
.ig-float { position: fixed; right: calc(1rem + env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 55; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; text-decoration: none; background: radial-gradient(circle at 30% 107%, #fdf497 0, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: bottom .25s ease, transform .15s ease, box-shadow .2s ease; }
.ig-float svg { width: 28px; height: 28px; display: block; }
.ig-float.is-stacked { bottom: calc(1rem + 52px + .75rem + env(safe-area-inset-bottom, 0px)); }
.to-top.is-on ~ .ig-float { bottom: calc(1rem + 46px + .75rem + env(safe-area-inset-bottom, 0px)); }
.to-top.is-on ~ .ig-float.is-stacked { bottom: calc(1rem + 46px + .75rem + 52px + .75rem + env(safe-area-inset-bottom, 0px)); }
.ig-float:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.ig-float:focus-visible { outline: 3px solid var(--c-text, #222); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ig-float { transition: none; } }
@media print { .ig-float { display: none; } }

/* Muse Luxe badge: deep plum with a gold edge, a small diamond and a slow shine. Sits top-left like the other badges;
   when another badge (Sale / New / Sold out) is already there it moves just below it. */
.badge-luxe { display: inline-flex; align-items: center; gap: .38rem; overflow: hidden; background: linear-gradient(135deg, #3d2445, #1d1322); color: #f4dea2; border: 1px solid rgba(214, 178, 98, .75); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.badge-luxe i { display: inline-block; width: .5rem; height: .5rem; background: linear-gradient(135deg, #fff0b8, #c9a24d); transform: rotate(45deg); flex: none; }
.badge-luxe::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 244, 200, .45), transparent); transform: skewX(-20deg); animation: luxe-shine 4.5s ease-in-out 1.2s infinite; pointer-events: none; }
.product-media .badge-luxe.badge-luxe-low, .gallery-main .badge-luxe.badge-luxe-low { top: 2.7rem; }
@keyframes luxe-shine { 0% { left: -60%; } 40%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .badge-luxe::after { animation: none; display: none; } }

/* Save Gaza picture in the product page side column (takes the place of the Sponsored box).
   Hover (mouse) or tap (phone) zooms in on the spot you point at, so the small text can be read. */
.sp-gaza { position: relative; padding: 0; background: #efe7de; border-radius: 16px; overflow: hidden; cursor: zoom-in; box-shadow: 0 10px 30px rgba(120, 80, 160, .18), 0 2px 6px rgba(0, 0, 0, .08); transition: box-shadow .3s ease, transform .3s ease; }
.sp-gaza img { display: block; width: 100%; height: auto; border-radius: 0; transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .4s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.sp-gaza .gz-hint { position: absolute; right: .6rem; bottom: .6rem; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .85); color: #3d2445; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.sp-gaza .gz-hint svg { width: 18px; height: 18px; }
.sp-gaza.is-zoom { cursor: zoom-out; }
.sp-gaza.is-zoom img { transform: scale(1.9); }
.sp-gaza.is-zoom .gz-hint { opacity: 0; transform: scale(.8); }
@media (hover: hover) and (pointer: fine) {
  .sp-gaza:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(120, 80, 160, .3), 0 3px 8px rgba(0, 0, 0, .1); }
  .sp-gaza:hover img { transform: scale(1.9); }
  .sp-gaza:hover .gz-hint { opacity: 0; transform: scale(.8); }
}
@media (prefers-reduced-motion: reduce) { .sp-gaza, .sp-gaza img, .sp-gaza .gz-hint { transition: none; } .sp-gaza:hover { transform: none; } }

/* Quick view: Best seller pill + "Selling fast" line (shown only for products ticked "Best seller") */
.qv-best { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 14px; }
.qv-best-pill { position: relative; overflow: hidden; display: inline-block; padding: 8px 16px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1; animation: qvPop .5s cubic-bezier(.2,.9,.3,1.2) both; }
.qv-best-pill::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(155, 120, 220, .35), transparent); transform: skewX(-20deg); animation: qvShine 3.2s ease-in-out 1s infinite; }
.qv-best-fast { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; line-height: 1.35; animation: qvSlide .55s ease .2s both; }
.qv-best-fast .icon { width: 19px; height: 19px; flex: none; color: #9a9aa5; transform-origin: 50% 60%; animation: qvBolt 1.8s ease-in-out .8s infinite; }
@keyframes qvPop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
@keyframes qvSlide { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes qvShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes qvBolt { 0%, 100% { transform: scale(1); color: #9a9aa5; } 45% { transform: scale(1.22) rotate(-8deg); color: #e0a526; } 60% { transform: scale(1.1) rotate(4deg); color: #e0a526; } }
@media (prefers-reduced-motion: reduce) { .qv-best-pill, .qv-best-fast, .qv-best-fast .icon, .qv-best-pill::after { animation: none; } }

/* Product gallery polish (looks only: no markup or script change). Rounded picture frame, tidy square thumbnails with a brand ring,
   softer arrows / counter / zoom button. Quick view and the full-screen viewer are untouched. */
.gallery .gallery-main { border-radius: 16px; border: 1px solid var(--c-border, #eee6f3); box-shadow: 0 10px 30px -18px rgba(60, 30, 90, .35); transition: box-shadow .25s ease; }
.gallery .gallery-main:hover { box-shadow: 0 16px 38px -18px rgba(60, 30, 90, .42); }
.gallery .gallery-thumbs .thumb, .gallery .gallery-thumbs .pv-thumb { border-radius: 12px; overflow: hidden; border: 1px solid var(--c-border, #eee6f3); background: #fff; transition: border-color .2s ease, opacity .2s ease, transform .2s ease, box-shadow .2s ease; }
.gallery .gallery-thumbs .thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: contain; background: #fff; }
.gallery .gallery-thumbs .thumb:hover { transform: translateY(-2px); box-shadow: 0 8px 16px -10px rgba(60, 30, 90, .45); }
.gallery .gallery-thumbs .thumb.is-active { border-color: var(--c-button-bg, #8b5cf6); box-shadow: 0 0 0 2px var(--c-button-bg, #8b5cf6); opacity: 1; }
.gallery .gallery-arrow { width: 44px; height: 44px; margin-top: -22px; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 18px -6px rgba(40, 20, 70, .45); backdrop-filter: blur(4px); transition: transform .2s ease, background .2s ease, opacity .2s ease; }
.gallery .gallery-arrow:hover { transform: scale(1.08); }
.gallery .gallery-count { padding: .28rem .7rem; background: rgba(30, 20, 45, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-weight: 600; }
.gallery .zoom-btn { border-radius: 50%; width: 44px; height: 44px; box-shadow: 0 8px 18px -8px rgba(60, 30, 90, .6); transition: transform .2s ease, background .2s ease; }
.gallery .zoom-btn:hover { transform: scale(1.08); }
.gallery .gallery-main .badge { border-radius: 999px; top: .75rem; left: .75rem; }
@media (max-width: 719px) {
  .gallery .gallery-main { border-radius: 14px; }
  .gallery .gallery-thumbs .thumb { width: 64px; }
  .gallery .gallery-arrow { opacity: 1; width: 38px; height: 38px; margin-top: -19px; }
}
@media (prefers-reduced-motion: reduce) { .gallery .gallery-thumbs .thumb, .gallery .gallery-arrow, .gallery .zoom-btn, .gallery .gallery-main { transition: none; } .gallery .gallery-thumbs .thumb:hover, .gallery .gallery-arrow:hover, .gallery .zoom-btn:hover { transform: none; } }
