/* LOWIZ 3D visual layer — safe to remove without changing layout or behaviour. */
@media (hover:hover) and (pointer:fine) and (min-width:781px) {
  .product-card { transform-style:preserve-3d; perspective:1000px; will-change:transform; }
  .product-card.is-3d-active { transform:perspective(1000px) translate3d(0,-6px,0) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); box-shadow:0 24px 52px rgba(15,13,26,.18); }
  html[data-theme="dark"] .product-card.is-3d-active { box-shadow:0 27px 58px rgba(0,0,0,.46); }
  .product-card::before { content:"";position:absolute;z-index:2;inset:0;pointer-events:none;border-radius:inherit;opacity:0;background:radial-gradient(260px circle at var(--mouse-x,50%) var(--mouse-y,50%),rgba(156,134,255,.17),transparent 62%);transition:opacity .22s ease; }
  .product-card.is-3d-active::before { opacity:1; }
  .product-card .product-cover { transform:translateZ(10px);transform-origin:center; }
  .product-card .product-content { transform:translateZ(18px); }
  .product-card .sale-badge,.product-card .best-badge,.product-card .wishlist-button { transform:translateZ(34px); }
  .product-card .product-actions { transform:translateZ(42px); }
  .product-card.is-3d-active .product-cover { transform:translateZ(12px) scale(1.025); }
  .hero { transform-style:preserve-3d; }
  .hero-copy { transform-style:preserve-3d; }
  .hero-badge { transform:translateZ(14px); }
  .hero h1 { transform:translateZ(22px); }
  .hero h1 span { text-shadow:0 7px 24px rgba(121,93,230,.14); }
  .hero-description,.hero-actions,.trust-line { transform:translateZ(10px); }
  .site-header .nav-shell { border-color:rgba(145,127,225,.12); box-shadow:0 9px 27px rgba(22,19,40,.07); }
  .button,.add-button,.buy-button { will-change:transform; }
  .button:hover,.add-button:hover,.buy-button:hover { transform:translateY(-2px) scale(1.012); }
  .button:active,.add-button:active,.buy-button:active { transform:translateY(1px) scale(.98); }
}

@media (hover:none), (pointer:coarse), (max-width:780px) {
  .product-card,.hero,.hero-copy { transform-style:flat; }
}

@media (prefers-reduced-motion:reduce) {
  .product-card,.product-card *,.hero * { transition-duration:.01ms!important; animation-duration:.01ms!important; }
}
