/* Christmas market set builder (inc/xmas-set.php, js/xmas-set.js) – a warm evening market: string lights, snow, stalls with awnings. */
.sm-mug{position:relative;margin:34px 0 14px;padding:66px 40px 0;border-radius:30px;overflow:clip;color:#F7EEEA;scroll-margin-top:80px;
	background:radial-gradient(120% 70% at 50% -10%,rgba(232,167,154,.38),transparent 60%),radial-gradient(60% 40% at 90% 100%,rgba(196,138,126,.25),transparent 70%),#2B1A17 var(--noise,none)}
.sm-mug__lights{position:absolute;left:0;right:0;top:0;height:40px;pointer-events:none;z-index:2}
.sm-mug__lights::before{content:"";position:absolute;left:-2%;right:-2%;top:2px;height:30px;border-bottom:1.5px solid rgba(235,203,190,.35);border-radius:0 0 50% 50%/0 0 100% 100%}
.sm-mug__lights i{position:absolute;width:9px;height:13px;margin-left:-4.5px;border-radius:50% 50% 45% 45%;background:var(--c);box-shadow:0 0 10px 3px var(--c),0 0 22px 6px rgba(246,214,168,.35);animation:smTw 2.6s ease-in-out var(--d) infinite}
.sm-mug__lights i::before{content:"";position:absolute;left:2px;top:-4px;width:5px;height:5px;border-radius:1px;background:#7A5A4E}
@keyframes smTw{0%,100%{opacity:1}50%{opacity:.45;box-shadow:0 0 4px 1px var(--c)}}
.sm-mug__snow{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.sm-mug>*:not(.sm-mug__snow):not(.sm-mug__lights){position:relative;z-index:3}
.sm-mug__head{max-width:720px;margin:0 auto 34px;text-align:center}
.sm-mug__eyebrow{display:inline-block;margin:0 0 10px;padding:6px 16px;border:1px solid rgba(235,203,190,.45);border-radius:999px;font:700 12px/1 Barlow,sans-serif;letter-spacing:.22em;text-transform:uppercase;color:#EBCBBE}
html body.v3 .sm-mug__head h2{margin:0 0 14px;font:500 46px/1.08 var(--serif)!important;color:#FFF6F2;letter-spacing:-.01em}
html body.v3 .sm-mug__head h2 em{font-style:italic;color:#EBCBBE}
.sm-mug__head p{margin:0;font-size:17px;line-height:1.6;color:rgba(247,238,234,.85)}
.sm-mug__step{display:flex;align-items:center;gap:10px;margin:0 0 14px;font:700 13px/1.2 Barlow,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#EBCBBE}
.sm-mug__step span{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--gold-metal,#C48A7E);color:#3B1A20;letter-spacing:0;font-size:14px}

/* 1. bags hanging on a rail */
.sm-mug__rail-wrap{margin-bottom:34px}
.sm-mug__rail{position:relative;display:flex;gap:18px;overflow-x:auto;padding:26px 6px 18px;scroll-snap-type:x proximity;scrollbar-width:none}
.sm-mug__rail::-webkit-scrollbar{display:none}
.sm-mug__rail::before{content:"";position:absolute;left:0;right:0;top:10px;min-width:100%;height:6px;border-radius:6px;background:linear-gradient(180deg,#8A6658,#5E3F35);box-shadow:0 2px 6px rgba(0,0,0,.35)}
.sm-mug__bag{position:relative;flex:0 0 156px;display:flex;flex-direction:column;gap:5px;padding:10px 10px 12px;border:0;border-radius:18px;background:#FCF8F5;color:#2B1A17;text-align:left;font:inherit;cursor:pointer;scroll-snap-align:start;transform-origin:50% -18px;
	box-shadow:0 18px 30px -18px rgba(0,0,0,.7);animation:smSway 5s ease-in-out calc(var(--k) * -.7s) infinite;transition:box-shadow .3s,transform .3s}
.sm-mug__hook{position:absolute;left:50%;top:-18px;width:2px;height:20px;margin-left:-1px;background:#B89A8C}
.sm-mug__hook::before{content:"";position:absolute;left:-5px;top:-4px;width:12px;height:12px;border:2px solid #B89A8C;border-radius:50%;border-bottom-color:transparent}
.sm-mug__bag img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}
.sm-mug__bn{font-weight:600;font-size:14px;line-height:1.25}
.sm-mug__bp{font-weight:700;font-size:14px;color:#9C6158}
.sm-mug__bag:hover{animation-play-state:paused}
.sm-mug__bag[aria-checked=true]{animation:none;transform:translateY(-4px);box-shadow:0 0 0 3px #EBCBBE,0 0 34px 6px rgba(246,214,168,.45)}
.sm-mug__bag[aria-checked=true]::after{content:"✓";position:absolute;top:14px;right:14px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#9C6158;color:#fff;font-weight:700}
.sm-mug__rail.is-ask .sm-mug__bag{animation:smAsk .5s ease-in-out 2}
@keyframes smSway{0%,100%{transform:rotate(-1.6deg)}50%{transform:rotate(1.6deg)}}
@keyframes smAsk{50%{transform:translateY(-8px)}}

/* 2. for whom */
.sm-mug__for-wrap{margin-bottom:34px;transition:opacity .4s}
.sm-mug__for{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.sm-mug__for button{min-height:46px;padding:0 22px;border:1px solid rgba(235,203,190,.5);border-radius:999px;background:transparent;color:#F7EEEA;font:600 15px Barlow,sans-serif;cursor:pointer;transition:background .2s,color .2s}
.sm-mug__for button[aria-pressed=true]{background:var(--gold-metal,#C48A7E);border-color:transparent;color:#3B1A20}
.sm-mug__sets{display:inline-flex;align-items:center;gap:8px;margin-left:6px;font-weight:600}
.sm-mug__sets input{width:84px;min-height:46px;border:1px solid rgba(235,203,190,.5);border-radius:999px;background:rgba(255,246,242,.08);color:#fff;font:700 16px Barlow,sans-serif;text-align:center}
.sm-mug__note{margin:10px 0 0;font-size:14px;color:#EBCBBE}
.sm-mug:not(.has-bag) .sm-mug__for-wrap,.sm-mug:not(.has-bag) .sm-mug__stalls-wrap{opacity:.5}

/* 3. stalls with awnings */
.sm-mug__stalls{display:grid;gap:30px}
.sm-mug__stall{position:relative;padding:0 0 18px;border-radius:0 0 22px 22px;background:linear-gradient(180deg,rgba(255,246,242,.07),rgba(255,246,242,.03))}
.sm-mug__awning{height:46px;border-radius:14px 14px 0 0;
	background:repeating-linear-gradient(90deg,#C48A7E 0 34px,#F7EEEA 34px 68px);
	-webkit-mask:radial-gradient(17px 12px at 17px 46px,transparent 98%,#000) -0px 0/34px 100% repeat-x;mask:radial-gradient(17px 12px at 17px 46px,transparent 98%,#000) 0 0/34px 100% repeat-x;
	box-shadow:inset 0 -6px 10px rgba(0,0,0,.08)}
.sm-mug__stall:nth-child(even) .sm-mug__awning{background:repeating-linear-gradient(90deg,#9C6158 0 34px,#EBCBBE 34px 68px)}
html body.v3 .sm-mug__stall h3{position:absolute;top:8px;left:50%;transform:translateX(-50%);margin:0;padding:5px 18px;border-radius:999px;background:#FFF6F2;color:#5E2F37;font:600 15px/1.2 var(--serif)!important;white-space:nowrap;box-shadow:0 6px 16px -8px rgba(0,0,0,.6)}
.sm-mug__shelf{display:flex;gap:14px;overflow-x:auto;padding:22px 16px 6px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:rgba(235,203,190,.35) transparent}
.sm-mug__shelf::after{content:"";flex:0 0 2px}
.sm-mug__gift{flex:0 0 168px;display:flex;flex-direction:column;gap:6px;padding:10px;border-radius:18px;background:#FCF8F5;color:#2B1A17;scroll-snap-align:start;box-shadow:0 14px 24px -16px rgba(0,0,0,.7);transition:transform .25s,box-shadow .25s}
.sm-mug__gift:hover{transform:translateY(-3px)}
.sm-mug__gi img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}
.sm-mug__gn{font-size:14px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.sm-mug__gp{font-weight:700;font-size:14px;color:#9C6158}
.sm-mug__gift button{margin-top:auto;min-height:42px;border:1px solid #C48A7E;border-radius:999px;background:#fff;color:#9C6158;font:700 13px Barlow,sans-serif;letter-spacing:.04em;cursor:pointer;transition:background .2s,color .2s}
.sm-mug__gift.is-on{box-shadow:0 0 0 3px #EBCBBE,0 0 26px 4px rgba(246,214,168,.4)}
.sm-mug__gift.is-on button{background:#9C6158;border-color:#9C6158;color:#fff}

/* the bag bar */
.sm-mug__bar{position:sticky;bottom:14px;z-index:5;display:flex;align-items:center;gap:14px;margin:30px -24px 0;padding:12px 14px 12px 12px;border-radius:999px;background:#FFF6F2;color:#2B1A17;box-shadow:0 18px 40px -16px rgba(0,0,0,.65)}
.sm-mug__mybag{position:relative;flex:0 0 52px;height:52px;border-radius:50%;background:#F6EEEF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C6158' stroke-width='1.6'%3E%3Cpath d='M6 7h12l-1 13H7L6 7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center/26px no-repeat}
.sm-mug__mybag img{width:52px;height:52px;object-fit:cover;border-radius:50%}
.sm-mug__count{position:absolute;right:-4px;top:-4px;display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#9C6158;color:#fff;font-size:13px}
.sm-mug__bar.is-pop .sm-mug__mybag{animation:smPop .45s cubic-bezier(.3,1.6,.5,1)}
@keyframes smPop{40%{transform:scale(1.18) rotate(-6deg)}}
.sm-mug__sum{flex:1;min-width:0;display:flex;flex-direction:column}
.sm-mug__sum small{font-size:13px;color:#7A6460;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sm-mug__sum b{font-size:18px;line-height:1.25}
.sm-mug__go{flex:none;min-height:48px;padding:0 26px;border:0;border-radius:999px;background:var(--gold-metal,#C48A7E);background-size:220% 100%;color:#3B1A20;font:800 14px Barlow,sans-serif;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 10px 20px -10px rgba(122,70,63,.7)}
.sm-mug__go:disabled{opacity:.45;cursor:default;box-shadow:none}
.sm-mug__flyer{position:fixed;z-index:99999;object-fit:cover;border-radius:14px;pointer-events:none;box-shadow:0 14px 30px rgba(0,0,0,.35)}
.sm-mug>.sm-mug__bar{margin-bottom:22px}

@media (max-width:760px){
	.sm-mug{margin:20px -4px 10px;padding:56px 16px 0;border-radius:24px}
	html body.v3 .sm-mug__head h2{font-size:33px}
	.sm-mug__head p{font-size:15.5px}
	.sm-mug__bag{flex-basis:132px}
	.sm-mug__gift{flex-basis:148px}
	.sm-mug__shelf{padding:22px 12px 6px}
	html body.v3 .sm-mug__stall h3{font-size:14px}
	.sm-mug__bar{margin:24px -8px 0;bottom:calc(86px + env(safe-area-inset-bottom,0px));gap:10px;padding:10px}
	.sm-mug__go{padding:0 16px;font-size:12.5px;letter-spacing:.06em}
	.sm-mug__sum b{font-size:16px}
}
@media (prefers-reduced-motion:reduce){.sm-mug__bag,.sm-mug__lights i{animation:none!important}}
html.a11y-calm .sm-mug__bag,html.a11y-calm .sm-mug__lights i{animation:none!important}
/* fixes: the bar stays sticky; stall names as a sign hanging under the awning */
.sm-mug>.sm-mug__bar{position:sticky!important}
html body.v3 .sm-mug .sm-mug__stall h3{position:relative;top:auto;left:auto;transform:none;display:table;margin:-14px auto 0;z-index:2}
.sm-mug__shelf{padding-top:16px}
.sm-mug__stalls{grid-template-columns:minmax(0,1fr)}.sm-mug__stall,.sm-mug__stalls-wrap,.sm-mug__rail-wrap{min-width:0;max-width:100%}
.sm-mug__count[hidden],.sm-mug__mybag img[hidden],.sm-mug__sets[hidden],.sm-mug__note[hidden]{display:none!important}.sm-mug__bag{align-self:flex-start}
/* gift card stall */
.sm-mug__sub{margin:8px 0 0;text-align:center;font-size:14px;color:#EBCBBE}
.sm-mug__amt{min-height:38px;padding:0 30px 0 12px;border:1px solid #E5CFC8;border-radius:999px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239C6158' stroke-width='1.6'/%3E%3C/svg%3E") right 12px center/11px no-repeat;color:#9C6158;font:700 14px Barlow,sans-serif;-webkit-appearance:none;appearance:none;cursor:pointer}
.sm-mug__gift--card .sm-mug__gi img{object-fit:contain;background:#F6EEEF}

/* ===== animations v2 (owner 2026-10-22: pulsing bulbs, own animations for this page) ===== */
/* string lights: wire + hanging bulbs pulsing in a travelling wave */
.sm-mug__lights{height:70px}
.sm-mug__lights::before{display:none}
.sm-mug__lights svg{position:absolute;left:0;top:0;overflow:visible}
.sm-mug__lights i{width:10px;height:15px;margin:-1px 0 0 -5px;border-radius:50% 50% 46% 46%/45% 45% 55% 55%;transform-origin:50% -3px;transform:rotate(var(--r));
	background:radial-gradient(circle at 40% 35%,#fff 0 18%,var(--c) 45%,color-mix(in srgb,var(--c) 70%,#B86A50) 100%);
	box-shadow:0 0 6px 2px var(--c),0 0 18px 6px color-mix(in srgb,var(--c) 45%,transparent);
	animation:smPulse 3.2s ease-in-out calc(var(--n) * .16s) infinite,smBulbSway 6s ease-in-out calc(var(--n) * -.4s) infinite}
.sm-mug__lights i::before{left:2.5px;top:-5px;width:5px;height:6px;border-radius:1.5px;background:linear-gradient(#A88575,#6E5046)}
.sm-mug__lights i::after{content:"";position:absolute;left:50%;top:55%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--c) 55%,transparent),transparent 65%);opacity:.55;animation:smHalo 3.2s ease-in-out calc(var(--n) * .16s) infinite;pointer-events:none}
@keyframes smPulse{0%,100%{filter:brightness(1.15) saturate(1.1);opacity:1}45%{filter:brightness(.55) saturate(.8);opacity:.72}60%{filter:brightness(.6)}}
@keyframes smHalo{0%,100%{transform:scale(1.15);opacity:.65}45%{transform:scale(.55);opacity:.12}}
@keyframes smBulbSway{0%,100%{rotate:-4deg}50%{rotate:4deg}}

/* sparks and trail */
.sm-mug__spark,.sm-mug__trail{position:fixed;z-index:100000;width:7px;height:7px;border-radius:50%;background:var(--c);box-shadow:0 0 8px 2px var(--c);pointer-events:none}
.sm-mug__trail{width:9px;height:9px;margin:-4.5px 0 0 -4.5px;filter:blur(.4px)}
.sm-mug__flyer{box-shadow:0 0 0 3px #FFF6F2,0 0 26px 6px rgba(255,217,160,.55)}
.sm-mug__flyer.is-paper{backface-visibility:visible;border-radius:6px}
/* the bag catches: squash and stretch, +1 floats up */
.sm-mug__bar.is-pop .sm-mug__mybag{animation:smCatch .6s cubic-bezier(.3,1.4,.5,1)}
@keyframes smCatch{0%{transform:scale(1)}20%{transform:scale(1.22,.82) translateY(4px)}45%{transform:scale(.9,1.15) translateY(-6px) rotate(-5deg)}70%{transform:scale(1.05,.96) rotate(3deg)}100%{transform:none}}
.sm-mug__bar.is-pop .sm-mug__count{animation:smTick .5s ease}
@keyframes smTick{0%{transform:rotateX(90deg)}60%{transform:rotateX(-20deg) scale(1.2)}100%{transform:none}}
.sm-mug__plus{position:absolute;left:50%;top:-6px;transform:translateX(-50%);font:800 15px Barlow,sans-serif;color:#9C6158;pointer-events:none;animation:smPlus .9s ease-out forwards}
@keyframes smPlus{0%{opacity:0;transform:translate(-50%,6px) scale(.6)}25%{opacity:1;transform:translate(-50%,-12px) scale(1.1)}100%{opacity:0;transform:translate(-50%,-38px)}}
.sm-mug__go:not(:disabled){animation:smGlowBtn 2.8s ease-in-out infinite}
@keyframes smGlowBtn{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 10px 20px -10px rgba(122,70,63,.7)}50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 0 0 6px rgba(255,217,160,.22),0 10px 26px -8px rgba(122,70,63,.8)}}

/* stalls open as they come into view */
.sm-mug.is-anim .sm-mug__stall .sm-mug__awning{transform-origin:50% 0;transform:scaleY(0);transition:transform .7s cubic-bezier(.3,1.4,.5,1)}
.sm-mug.is-anim .sm-mug__stall h3{opacity:0;transform-origin:50% -12px;transform:rotate(-14deg) translateY(-14px)}
.sm-mug.is-anim .sm-mug__stall .sm-mug__gift{opacity:0;transform:translateY(26px) scale(.94)}
.sm-mug.is-anim .sm-mug__stall.is-open .sm-mug__awning{transform:none}
.sm-mug.is-anim .sm-mug__stall.is-open h3{animation:smSign 1.4s cubic-bezier(.3,1.2,.5,1) .35s forwards}
.sm-mug.is-anim .sm-mug__stall.is-open .sm-mug__gift{opacity:1;transform:none;transition:opacity .5s ease calc(.45s + var(--j,0) * .08s),transform .6s cubic-bezier(.3,1.4,.5,1) calc(.45s + var(--j,0) * .08s)}
@keyframes smSign{0%{opacity:0;transform:rotate(-14deg) translateY(-14px)}35%{opacity:1;transform:rotate(9deg)}60%{transform:rotate(-5deg)}80%{transform:rotate(2deg)}100%{opacity:1;transform:none}}
.sm-mug__gift.is-on .sm-mug__gi img{animation:smGlowImg 2.4s ease-in-out infinite}
@keyframes smGlowImg{50%{filter:brightness(1.06) saturate(1.08)}}

/* checkout scene: gifts drop into the bag, a ribbon is tied, the bag sets off */
.sm-mug__scene{position:fixed;inset:0;z-index:100001;display:grid;place-items:center;background:radial-gradient(70% 60% at 50% 40%,rgba(232,167,154,.35),transparent 70%),rgba(43,26,23,.94);opacity:0;transition:opacity .35s ease}
.sm-mug__scene.is-on{opacity:1}
.sm-mug__scene-in{position:relative;display:flex;flex-direction:column;align-items:center;gap:26px;padding:20px}
.sm-mug__scene-bag{position:relative;width:min(220px,56vw);aspect-ratio:1;border-radius:28px;overflow:visible;transition:transform .9s cubic-bezier(.6,-.3,.4,1),opacity .6s ease .3s}
.sm-mug__scene-bag>img{width:100%;height:100%;object-fit:cover;border-radius:28px;box-shadow:0 30px 60px -20px rgba(0,0,0,.7),0 0 60px 10px rgba(255,217,160,.18)}
.sm-mug__scene-gifts{position:absolute;left:50%;top:20px;width:0;height:0;z-index:2}
.sm-mug__scene-gifts img{position:absolute;left:calc(var(--x) - 34px);top:-140px;width:68px;height:68px;object-fit:cover;border-radius:14px;box-shadow:0 0 0 3px #FFF6F2,0 10px 20px rgba(0,0,0,.4);opacity:0}
.sm-mug__scene.is-on .sm-mug__scene-gifts img{animation:smDrop .75s cubic-bezier(.5,0,.6,1) calc(.25s + var(--k) * .13s) forwards}
@keyframes smDrop{0%{opacity:0;transform:translateY(-60px) rotate(var(--r))}25%{opacity:1}80%{opacity:1;transform:translateY(230px) rotate(calc(var(--r) * -1)) scale(.7)}100%{opacity:0;transform:translateY(250px) scale(.4)}}
.sm-mug__scene.is-full .sm-mug__scene-bag{animation:smCatch .6s cubic-bezier(.3,1.4,.5,1)}
.sm-mug__ribbon{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.sm-mug__ribbon path{fill:none;stroke:#E9B3A3;stroke-width:9;stroke-linecap:round;filter:drop-shadow(0 2px 2px rgba(94,47,55,.4))}
.sm-mug__ribbon .r1,.sm-mug__ribbon .r2{stroke-dasharray:200;stroke-dashoffset:200}
.sm-mug__ribbon .bow{fill:#E9B3A3;stroke-width:3;stroke:#C98977;transform-origin:100px 96px;transform:scale(0)}
.sm-mug__ribbon .tail{stroke-width:6;stroke-dasharray:44;stroke-dashoffset:44}
.sm-mug__scene.is-tied .r1{transition:stroke-dashoffset .45s ease;stroke-dashoffset:0}
.sm-mug__scene.is-tied .r2{transition:stroke-dashoffset .45s ease .2s;stroke-dashoffset:0}
.sm-mug__scene.is-tied .bow{transition:transform .55s cubic-bezier(.3,1.7,.5,1) .5s;transform:scale(1)}
.sm-mug__scene.is-tied .tail{transition:stroke-dashoffset .35s ease .75s;stroke-dashoffset:0}
.sm-mug__scene.is-go .sm-mug__scene-bag{transform:translate(42vw,-34vh) scale(.25) rotate(14deg);opacity:0}
.sm-mug__scene-t{margin:0;font:italic 500 24px/1.3 var(--serif,Georgia,serif);color:#FFF6F2;text-align:center;min-height:1.3em;animation:smBreath 1.6s ease-in-out infinite}
@keyframes smBreath{50%{opacity:.6}}
.sm-mug__scene.is-tied .bow{transform:scale(2.1)}
.sm-mug__ribbon .tail{transform-origin:100px 96px;transform:scale(1.8)}
.sm-mug__ribbon .r1,.sm-mug__ribbon .r2{stroke-width:12}
/* natural ribbon (owner 2026-10-22): satin bands wrap round the bag, the knot tightens, loops open with a bounce, tails drop and swing */
.sm-mug__bow2{position:absolute;inset:-4%;width:108%;height:108%;overflow:visible;pointer-events:none;filter:drop-shadow(0 3px 3px rgba(94,47,55,.45))}
.sm-mug__bow2 .bv{transform-origin:100px -6px;transform:scaleY(0)}
.sm-mug__bow2 .bh{transform-origin:-6px 96px;transform:scaleX(0)}
.sm-mug__bow2 .kn{transform-origin:100px 97px;transform:scale(0)}
.sm-mug__bow2 .ll,.sm-mug__bow2 .lr{transform-origin:100px 96px;transform:scale(0)}
.sm-mug__bow2 .tl,.sm-mug__bow2 .tr{transform-origin:100px 99px;transform:scale(0)}
.sm-mug__bow2 .kg{transform-origin:100px 96px}
.sm-mug__scene.is-tied .bv{animation:smBandV .55s cubic-bezier(.65,0,.35,1) forwards}
.sm-mug__scene.is-tied .bh{animation:smBandH .55s cubic-bezier(.65,0,.35,1) .4s forwards}
.sm-mug__scene.is-tied .kn{animation:smKnot .45s cubic-bezier(.3,1.6,.5,1) .95s forwards}
.sm-mug__scene.is-tied .ll{animation:smLoopL .75s cubic-bezier(.25,1.3,.45,1) 1.12s forwards}
.sm-mug__scene.is-tied .lr{animation:smLoopR .75s cubic-bezier(.25,1.3,.45,1) 1.22s forwards}
.sm-mug__scene.is-tied .tl{animation:smTailL 1.1s ease-out 1.38s forwards}
.sm-mug__scene.is-tied .tr{animation:smTailR 1.1s ease-out 1.45s forwards}
.sm-mug__scene.is-tied .kg{animation:smTug .5s ease-in-out 2.05s}
.sm-mug__scene.is-tied .sm-mug__scene-bag>img{animation:smSqueeze .5s ease-in-out .9s}
@keyframes smBandV{to{transform:scaleY(1)}}
@keyframes smBandH{to{transform:scaleX(1)}}
@keyframes smKnot{0%{transform:scale(0)}60%{transform:scale(1.3,.85)}100%{transform:scale(1)}}
@keyframes smLoopL{0%{transform:rotate(40deg) scale(.15,.4)}60%{transform:rotate(-6deg) scale(1.06,1.08)}80%{transform:rotate(3deg) scale(.98)}100%{transform:none}}
@keyframes smLoopR{0%{transform:rotate(-40deg) scale(.15,.4)}60%{transform:rotate(6deg) scale(1.06,1.08)}80%{transform:rotate(-3deg) scale(.98)}100%{transform:none}}
@keyframes smTailL{0%{transform:rotate(-70deg) scale(.4)}35%{transform:rotate(12deg) scale(1)}55%{transform:rotate(-7deg)}75%{transform:rotate(4deg)}90%{transform:rotate(-1.5deg)}100%{transform:none}}
@keyframes smTailR{0%{transform:rotate(70deg) scale(.4)}35%{transform:rotate(-12deg) scale(1)}55%{transform:rotate(7deg)}75%{transform:rotate(-4deg)}90%{transform:rotate(1.5deg)}100%{transform:none}}
@keyframes smTug{40%{transform:scale(.93,1.05)}70%{transform:scale(1.05,.97)}}
@keyframes smSqueeze{40%{transform:scale(.97,1.02)}}
.sm-mug__bow2{inset:0;width:100%;height:100%}
/* owner 2026-10-22: the chosen gifts themselves drop into the bag (were thin sticks: max-width:100% of a 0-wide box); only the bow, no ribbon cross */
.sm-mug__scene-gifts img{max-width:none!important;width:76px!important;height:76px!important;left:calc(var(--x) - 38px)}
.sm-mug__scene.is-tied .kn{animation-delay:.1s}
.sm-mug__scene.is-tied .ll{animation-delay:.25s}
.sm-mug__scene.is-tied .lr{animation-delay:.35s}
.sm-mug__scene.is-tied .tl{animation-delay:.5s}
.sm-mug__scene.is-tied .tr{animation-delay:.57s}
.sm-mug__scene.is-tied .kg{animation-delay:1.2s}
.sm-mug__scene.is-tied .sm-mug__scene-bag>img{animation-delay:.05s}
.sm-mug__bow2 .kg{transform:translateY(-34px)}
.sm-mug__bow2{transform:translateY(-34px)}
.sm-mug__bow2 .kg{transform:none}
/* the rail runs under all bags, also when scrolled sideways (was only the first screen width) */
.sm-mug__rail::before{display:none}
.sm-mug__rail{background:linear-gradient(180deg,#9A7464,#5E3F35) 0 10px/100% 6px no-repeat;background-attachment:local}
/* review 2026-10-22: amount select 44 px tap area; the bag bar appears only once the rail is reached (did cover the market title) */
.sm-mug__amt{min-height:44px}
.sm-mug__bar{transition:opacity .35s ease,transform .45s cubic-bezier(.3,1.3,.5,1)}
.sm-mug:not(.bar-on) .sm-mug__bar{opacity:0;transform:translateY(24px);pointer-events:none}
/* review fixes */
.sm-mug__snow{inset:auto!important;left:0;top:0;width:100%!important;will-change:transform}
.sm-mug__gift.is-out,.sm-mug__bag.is-out{opacity:.45;filter:grayscale(.7);pointer-events:none}
.sm-mug__gift.is-out button{background:#EEE3DF;border-color:#EEE3DF;color:#7A6460}
@media (prefers-reduced-motion:reduce){.sm-mug__go,.sm-mug__gift.is-on .sm-mug__gi img,.sm-mug__rail.is-ask .sm-mug__bag,.sm-mug__scene-t{animation:none!important}}
html.a11y-calm .sm-mug__go,html.a11y-calm .sm-mug__gift.is-on .sm-mug__gi img,html.a11y-calm .sm-mug__rail.is-ask .sm-mug__bag{animation:none!important}
