.veranda-3d{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:850/790;border-radius:1rem;background:radial-gradient(ellipse at 25% 19%,#fffaf0,#e9e4cf 48%,#c5c3a9 100%);}
.tote-light{position:absolute;inset:-15%;z-index:0;pointer-events:none;opacity:.72;background:linear-gradient(132deg,transparent 14%,#fffef2ce 21%,#fff9e291 25%,transparent 37%),radial-gradient(ellipse at 17% 13%,#fff7df,transparent 63%);animation:veranda-light 13s ease-in-out infinite;}
.tote-breeze{position:absolute;inset:0;z-index:0;pointer-events:none;}
.tote-breeze i{position:absolute;left:50%;top:46%;width:18%;aspect-ratio:1;background:url('/assets/treasure-hibiscus-coral.webp') center/contain no-repeat;opacity:0;animation:veranda-bloom 14s ease-out infinite;--x:-245%;--y:-130%;--r:45deg;animation-delay:-8s}
.tote-breeze i:nth-child(2){width:13%;--x:300%;--y:-185%;--r:-60deg;background-image:url('/assets/treasure-hibiscus-pink.webp');animation-delay:-5s;animation-duration:16s}
.tote-breeze i:nth-child(3){width:10%;--x:420%;--y:180%;--r:85deg;background-image:url('/assets/treasure-hibiscus-gold.webp');animation-delay:-10s;animation-duration:19s}
.veranda-3d .tote-poster,.veranda-3d canvas{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.veranda-3d .tote-poster{padding:5% 9% 10%}
.veranda-3d canvas{touch-action:pan-y;cursor:grab}
.veranda-3d canvas:active{cursor:grabbing}
.veranda-3d [hidden]{display:none!important}
.veranda-3d button{position:absolute;z-index:2;min-height:44px;padding:.25rem .85rem;border:1px solid #b89860;border-radius:999px;font:750 .75rem system-ui;cursor:pointer;bottom:.65rem}
.tote-rotate{left:.65rem;background:#173e31;color:#fff5dd}
.tote-pause{right:.65rem;background:#fff5df;color:#21463a}
.veranda-3d button:focus-visible{outline:2px solid #21463a;outline-offset:2px}
.tote-still .tote-light,.tote-still .tote-breeze i{animation-play-state:paused}
.tote-model-status{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
@keyframes veranda-light{0%,100%{transform:translateX(-6%);opacity:.6}50%{transform:translateX(5%);opacity:.9}}
@keyframes veranda-bloom{0%{opacity:0;transform:translate(0,0) scale(.6)}33%{opacity:.8}78%{opacity:.82}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.94)}}
@media(prefers-reduced-motion:reduce){.tote-rest .tote-light,.tote-rest .tote-breeze i{animation:none!important}}

/* A layered trail of hibiscus emerges around the bag, never over it. */
.tote-breeze{overflow:hidden}
.tote-breeze i{
 width:var(--w,18%);background-image:var(--flower,url('/assets/treasure-hibiscus-coral.webp'));
 filter:drop-shadow(0 .14rem .22rem #4f39283e);
 animation:veranda-petal-trail var(--d,15s) cubic-bezier(.24,.47,.55,.88) infinite;
 animation-delay:var(--delay,-8s);
 transform-origin:center;
}
.tote-breeze i:nth-child(n){background-image:var(--flower,url('/assets/treasure-hibiscus-coral.webp'));width:var(--w,18%);animation-delay:var(--delay,-8s);animation-duration:var(--d,15s)}
.tote-breeze i:nth-child(1){--x:-310%;--y:-122%;--r:-44deg;--delay:-9s;--w:19%;--still-x:-193%;--still-y:-88%}
.tote-breeze i:nth-child(2){--x:288%;--y:-164%;--r:52deg;--delay:-10.5s;--d:17s;--w:18%;--flower:url('/assets/treasure-hibiscus-pink.webp');--still-x:173%;--still-y:-115%}
.tote-breeze i:nth-child(3){--x:-360%;--y:107%;--r:69deg;--delay:-7s;--d:11s;--w:14%;--flower:url('/assets/treasure-hibiscus-gold.webp');--still-x:-238%;--still-y:93%}
.tote-breeze i:nth-child(4){--x:325%;--y:130%;--r:-18deg;--delay:-8s;--d:13s;--w:17%;--flower:url('/assets/treasure-hibiscus-coral.webp');--still-x:193%;--still-y:87%}
.tote-breeze i:nth-child(5){--x:-200%;--y:-323%;--r:-90deg;--delay:-8s;--d:15s;--w:15%;--flower:url('/assets/treasure-hibiscus-pink.webp')}
.tote-breeze i:nth-child(6){--x:197%;--y:-291%;--r:85deg;--delay:-9.7s;--d:12s;--w:16%;--flower:url('/assets/treasure-hibiscus-gold.webp')}
.tote-breeze i:nth-child(7){--x:311%;--y:-43%;--r:73deg;--delay:-2s;--d:14s;--w:18%;--flower:url('/assets/treasure-hibiscus-pink.webp')}
.tote-breeze i:nth-child(8){--x:-376%;--y:4%;--r:-78deg;--delay:-4.5s;--d:17s;--w:16%}
.tote-breeze i:nth-child(9){--x:334%;--y:227%;--r:114deg;--delay:-3.2s;--d:14s;--w:13%;--flower:url('/assets/treasure-hibiscus-pink.webp')}
.tote-breeze i:nth-child(10){--x:-355%;--y:167%;--r:-114deg;--delay:-11.8s;--d:16s;--w:14%}
@keyframes veranda-petal-trail{
 0%{opacity:0;transform:translate(-50%,-50%) rotate(-15deg) scale(.3)}
 30%{opacity:.8}
 69%{opacity:.95;transform:translate(calc(-50% + var(--x)*.70),calc(-50% + var(--y)*.7)) rotate(calc(var(--r)*.68)) scale(.94)}
 100%{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) rotate(var(--r)) scale(1.14)}
}
@media(prefers-reduced-motion:reduce){
 .tote-rest .tote-breeze i:nth-child(-n+4){
  transform:translate(calc(-50% + var(--still-x)),calc(-50% + var(--still-y))) rotate(calc(var(--r)*.5));opacity:.8
 }
}
