/* V0.34 — stock status and the administrator's return-to-top control. */
.sc-stock-switch{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:44px;padding:5px 8px;border:1px solid #414943;background:transparent;border-radius:10px;color:#e9e6df;white-space:nowrap;font-size:11px}
.sc-stock-track{width:36px;height:21px;flex:none;border-radius:20px;background:#23734c;display:flex;align-items:center;padding:3px;transition:background .15s}
.sc-stock-track>span{width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0004;transform:translateX(0);transition:transform .15s}
.sc-stock-switch[aria-checked=true] .sc-stock-track{background:#b93649}.sc-stock-switch[aria-checked=true] .sc-stock-track>span{transform:translateX(15px)}
.sc-stock-switch[aria-checked=true] .sc-stock-label{color:#ffabb1}.sc-stock-switch[aria-checked=false] .sc-stock-label{color:#a8e2bd}
.catalog .sc-sold-badge{display:inline-block;margin:4px 0 2px;padding:4px 9px;background:#a42e40;color:#fff;border-radius:5px;font:700 11px/1.35 system-ui,sans-serif;letter-spacing:.025em;max-width:100%;overflow-wrap:anywhere}
.sc-admin-back-top{position:fixed;right:var(--sc-admin-top-right,18px);bottom:var(--sc-admin-top-bottom,18px);z-index:35;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;padding:0;background:#d7b77c;color:#151311;border:1px solid #d7b77c;box-shadow:0 4px 16px #0006;touch-action:manipulation}
.sc-admin-back-top[hidden]{display:none!important}.sc-admin-back-top svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
.sc-admin-back-top:focus-visible,.sc-stock-switch:focus-visible{outline:2px solid #e9cf99;outline-offset:3px}
@media(min-width:801px){.main .entry:has(.sc-stock-switch){flex-wrap:wrap}.main .entry:has(.sc-stock-switch)>.grow{min-width:96px}}
@media(max-width:800px){#app>.layout>.main .entry .sc-stock-switch{flex:1 1 auto;min-width:110px}.sc-admin-back-top{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.sc-stock-track,.sc-stock-track>span{transition:none}}
