/* Ticker prodotti unico — estende tk3d.css: card quadrate 3D oro/acciaio, caustiche marine, bolle (canvas locale). Solo CSS esterno. */
.tkm{--tk-w:clamp(208px,15.5vw,252px);--tk-gap:clamp(18px,1.8vw,28px);min-height:430px}
.tkm .tk3__row{padding:40px 0 46px;margin:-6px 0;perspective:1200px}
.tkm .tk3__img{aspect-ratio:1/1;background:#0a1d33}
.tkm .tk3__img img{object-fit:cover}
.tkm .tk3__t{min-height:104px;padding:12px 14px 16px;align-content:start}
.tkm .tk3__h{font-size:clamp(1.02rem,1.25vw,1.2rem);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.2em}
.tkm .tk3__p{-webkit-line-clamp:1;font-size:.78rem;min-height:1.42em}
.tkm .tk3__k{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* acciaio inox ogni terza scheda, oro le altre */
.tkm .tk3__c:nth-child(3n+2){--tk-a:#3a4553;--tk-b:#9eabba;--tk-c:#f7fafd;--tk-d:#6c7a8c;--tk-e:#cfd8e3;--tk-f:#ffffff;--tk-g:#586579;--tk-h:#bcc7d5;--tk-side:#3b4552;--tk-side2:#1e252e}
.tkm .tk3__c:nth-child(3n+2) .tk3__x i:nth-child(2){background:linear-gradient(135deg,#323b47,#1b2129)}
.tkm .tk3__c:nth-child(3n+2) .tk3__x i:nth-child(4){background:linear-gradient(135deg,#1c2229,#0d1116)}
/* le animazioni per-scheda girano solo sulle schede visibili: leggero anche con 170 card */
.tkm .tk3__c:not(.is-v){animation:none}
.tkm .tk3__c:not(.is-v) .tk3__fl,.tkm .tk3__c:not(.is-v) .tk3__sh::before{animation:none}
.tkm--off .tk3__c,.tkm--off .tk3__fl,.tkm--off .tk3__sh::before,.tkm--off .tkm__caus i{animation-play-state:paused}
/* caustiche: luce d'acqua che ondeggia su bordi e superfici (un solo strato, fisso rispetto al nastro) */
.tkm__caus{position:absolute;inset:0;overflow:hidden;pointer-events:none;mix-blend-mode:soft-light;opacity:.5;z-index:3;filter:blur(.7px)}
.tkm__caus i{position:absolute;left:-200px;top:-160px;right:0;bottom:0;will-change:transform}
.tkm__caus i:nth-child(1){background:
  repeating-radial-gradient(ellipse 54px 40px at 28% 36%,transparent 0 17px,rgba(200,240,255,.7) 22px,transparent 25px),
  repeating-radial-gradient(ellipse 44px 58px at 71% 64%,transparent 0 15px,rgba(255,244,205,.6) 20px,transparent 23px);
  background-size:200px 160px,160px 200px;animation:tkmcA 11s linear infinite}
.tkm__caus i:nth-child(2){background:
  repeating-radial-gradient(ellipse 62px 36px at 60% 30%,transparent 0 16px,rgba(190,235,255,.65) 21px,transparent 24px),
  repeating-radial-gradient(ellipse 38px 54px at 22% 72%,transparent 0 14px,rgba(255,255,255,.55) 19px,transparent 22px);
  background-size:170px 130px,130px 170px;animation:tkmcB 15s linear infinite;opacity:.8}
@keyframes tkmcA{from{transform:translate3d(0,0,0)}to{transform:translate3d(200px,160px,0)}}
@keyframes tkmcB{from{transform:translate3d(170px,0,0)}to{transform:translate3d(0,130px,0)}}
/* ondulazione di luce sul bordo metallico */
.tkm .tk3__fr::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(100deg,transparent 30%,rgba(190,235,255,.5) 48%,transparent 66%);background-size:260% 100%;mix-blend-mode:screen;opacity:.0}
.tkm .tk3__c.is-v .tk3__fr::after{opacity:.55;animation:tkmwave 6.5s ease-in-out infinite alternate;animation-delay:calc(var(--i,0)*-.8s)}
@keyframes tkmwave{from{background-position:0 0}to{background-position:100% 0}}
.tkm__cv{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4}
.tkm .tk3__a{-webkit-touch-callout:none}
.tkm img{-webkit-user-select:none;user-select:none}
/* mobile / dispositivi deboli: una sola lastra di spessore, niente miscelazione */
@media (max-width:640px){.tkm{--tk-w:58vw;min-height:380px}.tkm .tk3__row{padding:30px 0 34px}.tkm__caus{opacity:.38}}
.tkm--lite .tkm__caus{mix-blend-mode:normal;opacity:.18}.tkm--lite .tkm__caus i:nth-child(2){display:none}
.tkm--lite .tk3__c,.tkm--lite .tk3__fl,.tkm--lite .tk3__sh::before{animation:none}
.tkm--lite .tk3__fr::after{display:none}
/* movimento ridotto: nastro statico scorrevole a mano, niente caustiche */
.tk3--rm.tkm .tkm__caus{display:none}
.tk3--rm.tkm .tk3__row{padding:30px 16px 36px}
@media (prefers-reduced-motion:reduce){.tkm__caus i,.tkm .tk3__fr::after{animation:none}}
