/* ============================================================
   HAIR BY PARADISO — SIGNATURE FEATURES (Phase 4)
   Hair-brand-specific touches no template site has. Every feature
   here is gated behind the FEATURES flags in signature.js — turn
   any of them off there without touching this file.
   ============================================================ */

/* Phase 7 effect 1 (floating 3D hero objects, three-hero.css/js) replaced
   the old flowing silk-strand canvas that used to be styled here. */

/* ============ 5. SILK SHINE SWEEP ============ */
/* Deliberately does NOT force `position:relative` on every target — the
   hero slide it's also applied to is already `position:absolute` (see
   .hero-slide in style.css) and forcing `relative` there would have
   broken the whole hero stacking. .catalog-image is already relative;
   only the two targets that genuinely need a positioning context get it. */
.pm-shine-sweep { overflow: hidden; }
.product-image-link.pm-shine-sweep,
.product-main-image.pm-shine-sweep {
  position: relative;
}
.pm-shine-sweep::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 35%; height: 100%;
  z-index: 3; /* above the hero's own content (z-index:2) so it reads as a light pass over everything */
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  opacity: 0;
}
.pm-shine-sweep.pm-shine-active::after {
  opacity: 1;
  animation: pmShineSweep 1.6s ease-in-out;
}
@keyframes pmShineSweep {
  0% { left: -60%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-shine-sweep::after { display: none; }
}

/* ============ 10. BRAND CURSOR ON PRODUCT IMAGES ============ */
.am-cursor-ring .am-cursor-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
  white-space: nowrap;
}
.am-cursor-ring.is-view {
  background: rgba(5,5,5,.55);
}
.am-cursor-ring.is-view .am-cursor-label { opacity: 1; }
.am-cursor-label svg {
  width: 14px; height: 14px;
  fill: none; stroke: var(--anim-accent, var(--gold));
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.am-cursor-label span {
  font: 700 7px var(--font-sans, sans-serif);
  letter-spacing: 1.2px;
  color: var(--anim-text, var(--white));
}
