/* Izhiman motion layer (GSAP + Lenis). Safe to remove: the site works without it. */

/* Lenis base styles; Lenis replaces the CSS smooth scroll from style.css */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Hide above-the-fold hero content only until GSAP takes over (fallback timer removes it) */
html.motion-pending .hero-in > * { visibility: hidden; }

/* Header gets a soft shadow once the page scrolls */
.top { transition: box-shadow .35s ease; }
.top.is-scrolled { box-shadow: 0 8px 28px rgba(0,0,0,.22); }

/* style.css animates "all" on buttons and cards, which fights GSAP; limit it to colours and hover */
.btn { transition: background-color .2s, color .2s, border-color .2s; }
.prod { transition: transform .3s ease, box-shadow .3s ease; }
.prod.motion-busy { transition: none; }

/* Product photos: gentle zoom on hover */
.prod-img img, .card .media img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.prod:hover .prod-img img, .card:hover .media img { transform: scale(1.06); }
.card { transition: box-shadow .3s ease; }
.card:hover { box-shadow: 0 18px 40px -18px rgba(20,33,61,.35); }

/* Cart count bump */
@keyframes izBump { 0%{transform:scale(1)} 40%{transform:scale(1.35)} 100%{transform:scale(1)} }
.cart-count.bump { animation: izBump .45s ease; }

@media (prefers-reduced-motion: reduce) {
  .prod:hover .prod-img img, .card:hover .media img { transform: none; }
}