/* Stable purchase slots keep the controls still throughout the confirmation. */
html:has(.store-page){scrollbar-gutter:stable}
.shop-feedback-slot{display:flex;justify-content:center;align-items:center;flex:0 0 148px;width:148px;height:50px;min-width:0}
.shop-dialog-purchase .shop-feedback-slot{flex:1 0 148px}
.store-page .shop-feedback-slot .commerce-btn{margin:0;width:100%;height:50px;min-height:50px;padding:0 12px;flex-shrink:0;overflow:hidden;position:relative;white-space:nowrap}
.shop-morph-button{display:grid!important;place-items:center}
.store-page .shop-feedback-slot .shop-morph-button[data-feedback-phase=confirmed]{width:50px}
.shop-return-label{grid-area:1/1;white-space:nowrap}
.shop-confirmation-check{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.shop-confirmation-check path{stroke-dasharray:1;stroke-dashoffset:0}
.product-dialog,.product-dialog.has-gallery{inset:0;margin:0;width:100%;height:100%;max-width:none;max-height:none;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;overflow:hidden}
.product-dialog[open]{display:grid;place-items:center}
.product-dialog::backdrop{background:transparent;backdrop-filter:none}
.shop-dialog-shade{position:absolute;inset:0;background:rgba(16,28,37,.6)}
.shop-product-sheet{position:relative;z-index:1;width:min(1080px,calc(100% - 48px));max-height:92dvh;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;background:var(--commerce-bg);border:1px solid var(--commerce-line);border-radius:20px;box-shadow:0 25px 100px #11212b33}
.shop-product-sheet.is-transferring{background:transparent;border-color:transparent;box-shadow:none}
.shop-product-sheet.is-transferring::-webkit-scrollbar-track,.shop-product-sheet.is-transferring::-webkit-scrollbar-thumb{background:transparent}
@supports not selector(::-webkit-scrollbar){.shop-product-sheet.is-transferring{scrollbar-color:transparent transparent}}
.shop-transfer-surface{position:fixed;background:var(--commerce-bg);border-radius:20px;transform-origin:top left;pointer-events:none}
.shop-transfer-ghost{position:fixed;inset:0;z-index:3;pointer-events:none;overflow:hidden}
.shop-transfer-frame{position:absolute;transform-origin:top left}
.shop-transfer-ghost img{position:absolute;display:block;max-width:none;max-height:none;margin:0;object-fit:contain;transform-origin:center;transition:none!important}
.shop-dialog-status{min-height:0}
.shop-dialog-status:not(:empty){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:560px){.shop-product-sheet{width:calc(100% - 24px)}.shop-card-purchase{max-width:100%}}
@media(prefers-reduced-motion:reduce){.shop-transfer-ghost,.shop-transfer-surface{display:none}}
