#hall-purchase-dialog{width:min(880px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #dce4ef;border-radius:20px;overflow:auto;color:#24354d;background:white}
#hall-purchase-dialog::backdrop{background:#24354d66}
#hall-purchase-dialog .purchase-product{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px}
#hall-purchase-dialog h2{margin-bottom:12px;font-size:24px}
#hall-purchase-dialog p{margin:10px 0;overflow-wrap:anywhere}
#hall-purchase-dialog .purchase-cover{width:100%;border-radius:14px}
#hall-purchase-dialog .purchase-specs{border:0;padding:0;margin:16px 0}
#hall-purchase-dialog .purchase-specs legend{font-weight:650;margin-bottom:8px}
#hall-purchase-dialog .purchase-specs button{display:block;width:100%;padding:10px 12px;margin:6px 0;text-align:left;border:1px solid #dce4ef;border-radius:10px;background:#f7faff}
#hall-purchase-dialog .purchase-specs button[aria-pressed=true]{border-color:var(--blue,#4b87e7);background:#eaf2ff}
#hall-purchase-dialog small{display:block;color:#65748a}
#hall-purchase-dialog .purchase-price strong{font-size:24px;color:var(--blue,#4b87e7)}
#hall-purchase-dialog .store-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;margin:8px 8px 8px 0;border-radius:12px;background:var(--blue,#4b87e7);color:white}
#hall-purchase-dialog .secondary{background:white;color:var(--blue,#4b87e7);border:1px solid #4b87e7}
#hall-purchase-dialog .checkout-order{font-size:13px;color:#65748a;overflow-wrap:anywhere}
#hall-purchase-dialog .checkout-qr{display:block;width:260px;max-width:100%;height:auto;margin:12px auto}
#hall-purchase-dialog [role=alert]{color:#a13c37}
#hall-purchase-close{display:block;margin-top:16px}
@media(max-width:600px){#hall-purchase-dialog{padding:18px}#hall-purchase-dialog .purchase-product{grid-template-columns:minmax(0,1fr);gap:14px}#hall-purchase-dialog .purchase-cover{max-height:220px;object-fit:contain}#hall-purchase-dialog h2{font-size:22px}}

#hall-purchase-dialog .store-gallery{position:static}#hall-purchase-dialog .store-detail{margin:0;padding:0;border:0;box-shadow:none}#hall-purchase-dialog .store-buybar{position:static;padding:0;border:0;box-shadow:none}#hall-purchase-dialog .store-gallery-track{max-height:500px}#hall-purchase-dialog .store-sku-grid button{width:auto;margin:0}#hall-purchase-dialog .store-thumbnails button{padding:2px}
