/* A reserved side rail keeps the palette out of the model and page flow. */
.model-card:has(>.product-stickers:not([hidden])) .castor-scene{right:80px}
.product-stickers{position:absolute;z-index:8;right:4px;top:14px;width:68px;max-height:calc(100% - 28px);display:flex;flex-direction:column;box-sizing:border-box;padding:6px;border:1px solid rgba(255,255,255,.92);border-radius:20px;background:rgba(255,252,244,.8);box-shadow:0 5px 18px rgba(65,54,38,.09),inset 0 1px 0 rgba(255,255,255,.9);backdrop-filter:blur(18px) saturate(130%);-webkit-backdrop-filter:blur(18px) saturate(130%);color:#4d514c;user-select:none;-webkit-user-select:none;touch-action:pan-y}
.product-stickers[hidden],.product-stickers-panel[hidden]{display:none!important}
.product-stickers-heading{flex:none;display:flex;justify-content:center}
.product-stickers-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:52px;min-height:44px;padding:3px;border:0;border-radius:13px;background:transparent;color:#796448;font:550 9px/1 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
.product-stickers-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.product-stickers-toggle[aria-expanded=true]{background:#fff4dca6}
.product-stickers-panel{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d8d3c4 transparent;padding:5px 0 0}
.product-stickers-count{display:block;margin:0 0 5px;text-align:center;font:450 9px/1.4 system-ui,sans-serif;color:#8b887d;font-variant-numeric:tabular-nums}
.product-stickers-body,.product-stickers-palette,.product-stickers-actions{display:flex;flex-direction:column;align-items:center;gap:4px}
.product-stickers-choice{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;padding:2px;border:1.5px solid transparent;border-radius:13px;background:rgba(255,255,255,.4);cursor:grab;touch-action:manipulation;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
.product-stickers-choice img{display:block;width:37px;height:37px;pointer-events:none;filter:drop-shadow(0 2px 1px rgba(92,67,29,.11))}
.product-stickers-choice:hover{background:rgba(255,255,255,.94)}
.product-stickers-choice:active{cursor:grabbing}
.product-stickers-choice:disabled{opacity:.4;cursor:wait}
.product-stickers-choice.is-selected{border-color:#e8ad49;background:#fff0c8;box-shadow:0 0 0 2px rgba(255,204,103,.17)}
.product-stickers-choice:focus-visible,.product-stickers-action:focus-visible,.product-stickers-toggle:focus-visible{outline:2px solid #dd9a35;outline-offset:-2px}
.product-stickers-actions{width:44px;gap:0;margin-top:4px;padding-top:4px;border-top:1px solid rgba(120,107,84,.13)}
.product-stickers-action{appearance:none;width:44px;min-height:44px;border:0;border-radius:11px;background:transparent;color:#676b61;font:550 10px/1.4 system-ui,sans-serif;padding:5px 2px;cursor:pointer;touch-action:manipulation}
.product-stickers-action:hover:not(:disabled){background:rgba(255,255,255,.8);color:#3e5b47}
.product-stickers-action:disabled{opacity:.32;cursor:default}
.product-stickers-credit{display:flex;align-items:center;justify-content:center;min-height:44px;width:44px;margin:2px auto 0;color:#796448;text-align:center;font:450 9px/1.3 system-ui,sans-serif;text-decoration:underline;text-underline-offset:2px;touch-action:manipulation}
.product-stickers-credit:focus-visible{outline:2px solid #dd9a35;outline-offset:-2px}
.product-stickers-hint{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
canvas.is-sticker-selecting{cursor:crosshair!important}
canvas.is-sticker-drop-target{outline:2px dashed rgba(231,176,77,.7);outline-offset:-5px;border-radius:15px}
@media(max-width:800px){.model-card:has(>.product-stickers:not([hidden])) .castor-scene{right:62px}.product-stickers{right:0;top:10px;width:56px;padding:5px;max-height:calc(100% - 20px);border-radius:17px}.product-stickers-toggle{width:44px}.product-stickers-choice{width:44px}.product-stickers-panel{scrollbar-width:none}.product-stickers-panel::-webkit-scrollbar{display:none}}
@media(prefers-reduced-motion:reduce){.product-stickers-choice{transition:none}}
