.fx-pricetag{display:grid;gap:16px}
.fx-pricetag > div,.fx-pricetag > p{min-width:0;color:var(--fx-ink);font-size:16px;line-height:1.4}
.fx-pricetag .fx-howto{margin:0;padding-left:24px}
.fx-pricetag .fx-goal,.fx-pricetag .fx-step{margin:0;font-weight:700}
.fx-pricetag .fx-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:16px;align-items:start}
.fx-pricetag .fx-group{min-width:0;margin:0;padding:0;border:0}
.fx-pricetag .fx-group legend{padding:0;margin-bottom:10px;font-weight:700}
.fx-pricetag .fx-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fx-pricetag .fx-item-options{grid-template-columns:1fr}
.fx-pricetag .fx-btn{position:relative;display:flex;align-items:center;min-width:0;min-height:44px;box-sizing:border-box;padding:10px;border:2px solid var(--fx-muted);background:var(--fx-paper);color:var(--fx-ink);font-size:16px;line-height:1.35;text-align:left}
.fx-pricetag .fx-btn:has(input:checked){background:var(--fx-sky-pale);border-color:var(--fx-ink);color:var(--fx-ink)}
.fx-pricetag .fx-btn:has(input:focus-visible){outline:3px solid var(--fx-grape);outline-offset:3px}
.fx-pricetag .fx-shop{position:relative;height:350px;box-sizing:border-box}
.fx-pricetag .fx-rack{position:absolute;top:14px;left:0;right:0;display:grid;justify-items:center;gap:10px}
.fx-pricetag .fx-roll{display:flex;gap:12px;padding:6px 14px;border:2px solid var(--fx-ink);border-radius:30px;background:var(--fx-sun-pale);box-shadow:3px 3px 0 var(--fx-muted)}
.fx-pricetag .fx-roll span{display:grid;place-items:center;width:36px;height:36px;border:2px solid var(--fx-ink);border-radius:50%;background:var(--fx-sun);font-size:28px;font-weight:700}
.fx-pricetag .fx-room{position:absolute;left:12px;right:12px;top:118px;bottom:16px;perspective:700px}
.fx-pricetag .fx-scene{position:relative;height:100%;transform-style:preserve-3d;transform:rotateX(5deg) rotateY(-5deg);transition:transform .45s}
.fx-pricetag:has(#fx-pricetag-bag:checked) .fx-scene{transform:rotateX(5deg) rotateY(5deg)}
.fx-pricetag .fx-shelf-top{position:absolute;left:0;right:0;bottom:12px;height:100px;background:var(--fx-sun-pale);border:2px solid var(--fx-ink);transform-origin:center bottom;transform:rotateX(65deg);box-sizing:border-box}
.fx-pricetag .fx-shelf-edge{position:absolute;left:0;right:0;bottom:0;height:20px;background:var(--fx-sun);border:2px solid var(--fx-ink);box-sizing:border-box;transform:translateZ(8px)}
.fx-pricetag .fx-item-zone,.fx-pricetag .fx-tag-zone{position:absolute;bottom:24px;height:180px;text-align:center;transform:translateZ(16px)}
.fx-pricetag .fx-item-zone{left:0;width:38%}
.fx-pricetag .fx-tag-zone{left:40%;width:60%;transform-style:preserve-3d}
.fx-pricetag .fx-part{display:block;font-size:14px}
.fx-pricetag .fx-items{display:grid;height:150px}
.fx-pricetag .fx-items > div{grid-area:1 / 1;display:grid;justify-items:center;align-content:end;visibility:hidden;font-size:14px}
.fx-pricetag .fx-items svg{width:76px;height:118px;transform-origin:center bottom;transition:transform .45s}
.fx-pricetag .fx-items svg rect,.fx-pricetag .fx-items svg path{fill:var(--fx-sky);stroke:var(--fx-ink);stroke-width:3;stroke-linejoin:round}
.fx-pricetag .fx-items svg .fx-tip{fill:var(--fx-sun)}
.fx-pricetag .fx-items svg .fx-detail{fill:none}
.fx-pricetag .fx-items .fx-bag-drawing rect{fill:var(--fx-mint-pale)}
.fx-pricetag:has(#fx-pricetag-pen:checked):has(#fx-pricetag-pa:checked) .fx-pen-drawing{transform:scale(.62)}
.fx-pricetag:has(#fx-pricetag-bag:checked):has(#fx-pricetag-bp:checked) .fx-bag-drawing{transform:scale(1.22)}
.fx-pricetag .fx-string{position:absolute;top:34px;left:48%;width:18px;height:55px;border-top:2px solid var(--fx-muted);border-left:2px solid var(--fx-muted);transform:rotate(-12deg)}
.fx-pricetag .fx-tag{position:absolute;left:0;right:0;bottom:14px;margin:auto;width:100%;max-width:190px;height:86px;box-sizing:border-box;display:grid;align-items:center;border:3px solid var(--fx-coral);border-radius:12px;background:var(--fx-paper);transform:translateZ(12px);transition:background .2s,border-color .2s}
.fx-pricetag .fx-tag-face{display:grid;grid-template-columns:28px minmax(28px,1fr) 28px;align-items:center;gap:2px;padding:6px}
.fx-pricetag .fx-slot{display:grid;place-items:center;height:42px;border:2px dashed var(--fx-muted);box-sizing:border-box}
.fx-pricetag .fx-slot span{grid-area:1 / 1;display:grid;place-items:center;width:24px;height:32px;border-radius:50%;background:var(--fx-sun);font-size:26px;font-weight:700;visibility:hidden;opacity:0;transform:translateY(-70px) rotate(-12deg);transition:transform .4s,opacity .3s}
.fx-pricetag .fx-number{display:grid;font-size:34px;font-weight:800}
.fx-pricetag .fx-number span{grid-area:1 / 1;visibility:hidden}
.fx-pricetag:has(#fx-pricetag-pen:checked) .fx-pen,.fx-pricetag:has(#fx-pricetag-pen:checked) .fx-three,.fx-pricetag:has(#fx-pricetag-bag:checked) .fx-bag,.fx-pricetag:has(#fx-pricetag-bag:checked) .fx-fifteen{visibility:visible}
.fx-pricetag:has(#fx-pricetag-bp:checked,#fx-pricetag-both:checked) .fx-lp,.fx-pricetag:has(#fx-pricetag-ap:checked) .fx-rp,.fx-pricetag:has(#fx-pricetag-pb:checked) .fx-lpence,.fx-pricetag:has(#fx-pricetag-pa:checked,#fx-pricetag-both:checked) .fx-rpence{visibility:visible;opacity:1;transform:translateY(0) rotate(0deg)}
.fx-pricetag:has(#fx-pricetag-none:checked) .fx-tag{border-color:var(--fx-ink)}
.fx-pricetag:has(#fx-pricetag-pen:checked):has(#fx-pricetag-bp:checked) .fx-tag,.fx-pricetag:has(#fx-pricetag-bag:checked):has(#fx-pricetag-pa:checked) .fx-tag{border-color:var(--fx-mint);background:var(--fx-mint-pale);box-shadow:0 0 0 4px var(--fx-mint-pale)}
.fx-pricetag:has(#fx-pricetag-ap:checked) .fx-tag{animation:fx-pricetag-shake .35s 1}
.fx-pricetag:has(#fx-pricetag-both:checked) .fx-lp,.fx-pricetag:has(#fx-pricetag-both:checked) .fx-rpence{background:var(--fx-coral-pale);animation:fx-pricetag-flash .4s 3}
.fx-pricetag .fx-worker{display:grid;gap:8px}
.fx-pricetag .fx-messages{display:grid}
.fx-pricetag .fx-message{grid-area:1 / 1;margin:0;visibility:hidden;color:var(--fx-ink)}
.fx-pricetag .fx-message small{display:block;margin-top:8px;font-size:14px}
.fx-pricetag:has(#fx-pricetag-pen:checked):has(#fx-pricetag-none:checked) .fx-s1,.fx-pricetag:has(#fx-pricetag-pen:checked):has(#fx-pricetag-bp:checked) .fx-s2,.fx-pricetag:has(#fx-pricetag-pen:checked):has(#fx-pricetag-ap:checked) .fx-s3,.fx-pricetag:has(#fx-pricetag-pen:checked):has(#fx-pricetag-pa:checked) .fx-s4,.fx-pricetag:has(#fx-pricetag-pen:checked):has(#fx-pricetag-pb:checked) .fx-s5,.fx-pricetag:has(#fx-pricetag-pen:checked):has(#fx-pricetag-both:checked) .fx-s6,.fx-pricetag:has(#fx-pricetag-bag:checked):has(#fx-pricetag-none:checked) .fx-s7,.fx-pricetag:has(#fx-pricetag-bag:checked):has(#fx-pricetag-bp:checked) .fx-s8,.fx-pricetag:has(#fx-pricetag-bag:checked):has(#fx-pricetag-ap:checked) .fx-s9,.fx-pricetag:has(#fx-pricetag-bag:checked):has(#fx-pricetag-pa:checked) .fx-s10,.fx-pricetag:has(#fx-pricetag-bag:checked):has(#fx-pricetag-pb:checked) .fx-s11,.fx-pricetag:has(#fx-pricetag-bag:checked):has(#fx-pricetag-both:checked) .fx-s12{visibility:visible}
@container (max-width:480px){.fx-pricetag .fx-controls,.fx-pricetag .fx-options{grid-template-columns:1fr}.fx-pricetag .fx-room{left:8px;right:8px}}
@keyframes fx-pricetag-shake{0%,100%{transform:translateZ(12px) rotateZ(0deg)}25%,75%{transform:translateZ(12px) rotateZ(-3deg)}50%{transform:translateZ(12px) rotateZ(3deg)}}
@keyframes fx-pricetag-flash{0%,100%{background:var(--fx-coral-pale)}50%{background:var(--fx-coral)}}
@media (prefers-reduced-motion:reduce){.fx-pricetag .fx-shop *{transition:none;animation:none}}