/* ================= Cute motion: icons and boxes =================
   Idle: icons gently bob or sway, each on its own beat so nothing moves in sync.
   On scroll in: boxes pop up one after another.
   On hover or tap: icons do a little dance.                                  */

/* --- shared keyframes --- */
@keyframes c-bob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-6px) rotate(-3deg)}}
@keyframes c-sway{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
@keyframes c-wiggle{0%{transform:rotate(0) scale(1)}20%{transform:rotate(-12deg) scale(1.12)}40%{transform:rotate(10deg) scale(1.12)}60%{transform:rotate(-6deg) scale(1.08)}80%{transform:rotate(3deg) scale(1.04)}100%{transform:rotate(0) scale(1)}}
@keyframes c-hop{0%,100%{transform:translateY(0) scale(1,1)}30%{transform:translateY(-14px) scale(.96,1.05)}55%{transform:translateY(0) scale(1.08,.92)}75%{transform:translateY(-4px) scale(1,1)}}
@keyframes c-walk{0%,100%{transform:translateX(-10px) rotate(-4deg)}25%{transform:translateX(-4px) translateY(-6px) rotate(0)}50%{transform:translateX(10px) rotate(4deg)}75%{transform:translateX(4px) translateY(-6px) rotate(0)}}
@keyframes c-pop{0%{opacity:0;transform:translateY(26px) scale(.9) rotate(-2deg)}60%{opacity:1;transform:translateY(-4px) scale(1.02) rotate(.5deg)}100%{opacity:1;transform:none}}

/* --- Drop 01: the little bag walks back and forth --- */
.bagburst img{animation:c-walk 2.6s ease-in-out infinite}

/* --- round quick links under Drop 01 --- */
.circles .disc img{animation:c-bob 3.2s ease-in-out infinite;animation-delay:calc(var(--k,0) * -0.55s)}
.circles li:nth-child(1){--k:0}.circles li:nth-child(2){--k:1}.circles li:nth-child(3){--k:2}
.circles li:nth-child(4){--k:3}.circles li:nth-child(5){--k:4}.circles li:nth-child(6){--k:5}
.circles a:hover .disc img,.circles a:active .disc img{animation:c-wiggle .7s ease both}
.circles a:hover .disc,.circles a:focus-visible .disc{transform:translateY(-6px) rotate(-3deg)}

/* --- Shop by category --- */
.cat{transition:transform .35s cubic-bezier(.2,1.4,.4,1),box-shadow .35s ease}
.cat img{transform-origin:50% 85%;animation:c-sway 3.4s ease-in-out infinite;animation-delay:calc(var(--k,0) * -0.8s)}
.cats .cat:nth-child(1){--k:0}.cats .cat:nth-child(2){--k:1}.cats .cat:nth-child(3){--k:2}.cats .cat:nth-child(4){--k:3}
.cat:hover,.cat:focus-visible{transform:translateY(-6px) rotate(-1deg)}
.cat:hover img,.cat:active img{animation:c-hop .75s ease both}

/* --- Come say hi boxes --- */
.contacts>div{transition:transform .35s cubic-bezier(.2,1.4,.4,1)}
.contacts img{transform-origin:50% 80%;animation:c-bob 3s ease-in-out infinite;animation-delay:calc(var(--k,0) * -0.7s)}
.contacts>div:nth-child(1){--k:0}.contacts>div:nth-child(2){--k:1}.contacts>div:nth-child(3){--k:2}.contacts>div:nth-child(4){--k:3}
.contacts>div:hover{transform:translateY(-5px) rotate(-1deg)}
.contacts>div:hover img,.contacts>div:active img{animation:c-wiggle .7s ease both}

/* --- boxes pop in one after another when they scroll into view (only when the script runs) --- */
html.cute .cute-in:not(.on){opacity:0}
html.cute .cute-in.on{animation:c-pop .7s cubic-bezier(.2,1.2,.4,1) backwards;animation-delay:calc(var(--k,0) * 110ms)}

@media (prefers-reduced-motion:reduce){
  .bagburst img,.circles .disc img,.cat img,.contacts img,header .bag img,.bag.bump img{animation:none!important}
  html.cute .cute-in{opacity:1!important;animation:none!important}
}

/* --- header bag: a little nod every few seconds, and a happy jump when something goes in --- */
@keyframes c-nod{0%,82%,100%{transform:rotate(0)}86%{transform:rotate(-12deg)}90%{transform:rotate(10deg)}94%{transform:rotate(-5deg)}97%{transform:rotate(2deg)}}
@keyframes c-jump{0%{transform:translateY(0) scale(1)}30%{transform:translateY(-10px) scale(1.15) rotate(-8deg)}60%{transform:translateY(0) scale(.95,1.05)}100%{transform:none}}
header .bag img{transform-origin:50% 15%;animation:c-nod 5s ease-in-out infinite}
header .bag:hover img{animation:c-wiggle .7s ease both}
header .bag.bump img{animation:c-jump .6s cubic-bezier(.2,1.5,.4,1) both}

/* --- Drop 01: limited edition, quiet and editorial --- */
.ltd-line{max-width:none!important;width:max-content;display:flex!important;flex-wrap:nowrap!important;justify-content:center;gap:3px;margin:22px auto 0!important;padding:3px 0;font-size:12px!important;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--plum)!important;background:url(../img/swirl.jpg) 40% 50%/320px}
.ltd-line span{padding:8px 16px;background:var(--white);color:var(--plum)}
.ltd-line span:first-child{color:var(--grapefruit)}
@media (max-width:480px){.ltd-line{font-size:10.5px!important;letter-spacing:.14em}.ltd-line span{padding:7px 10px}}
.card .pic{position:relative}
.card .ltd{position:absolute;z-index:2;left:50%;top:22%;transform:translateX(-50%);background:var(--grapefruit);color:var(--white);font-size:10.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;padding:4px 10px;border-radius:99px}
