.store-dialog{width:min(690px,calc(100% - 28px));max-height:90dvh;padding:0;border:1px solid #8c705340;border-radius:0 45px 0 45px;background:#fffef2;color:#302b23;box-shadow:0 25px 90px #30261b35;overflow:auto}
.store-dialog::backdrop{background:#30261b80;backdrop-filter:blur(4px)}
.store-dialog-header{position:sticky;top:0;height:auto!important;display:flex!important;justify-content:space-between;gap:15px;padding:23px 27px!important;background:#fffef2!important;color:#302b23!important;border-bottom:1px solid #8e775530;z-index:2}
.store-dialog-header h2{font:700 28px/1.1 'Century Gothic',Arial,sans-serif;color:#302b23!important;letter-spacing:-1px;margin:0}
.store-dialog-header button{height:40px;width:40px;border:1px solid #8e775530;border-radius:0 12px 0 12px;background:none;font-size:26px;color:#302b23}
.store-dialog-body{padding:25px 27px 30px}.store-test-note{font-size:12px;line-height:1.65;color:#766451;background:#f2eadc;padding:13px 15px;border-radius:0 12px 0 12px}
.store-message{padding:13px 15px;color:#783d2c;background:#fae9de;border:1px solid #ab70554a;margin-bottom:15px;font-size:14px}
.store-bag-item{display:grid;grid-template-columns:110px 1fr;gap:20px;padding:20px 0;border-bottom:1px solid #8e775530}.store-bag-item img{width:110px;height:125px;object-fit:cover;border-radius:0 18px 0 18px}.store-bag-item h3{font:700 19px/1.25 'Century Gothic',Arial,sans-serif;color:#302b23!important;margin:0 0 5px}.store-bag-item p{margin:0 0 9px;font-size:13px;color:#746b5d}.store-bag-item strong{font-size:14px}
.store-quantity{display:flex;align-items:center;gap:15px;margin-top:12px}.store-quantity button{min-height:36px;min-width:36px;padding:4px 10px;border:1px solid #8e775540;border-radius:0 9px 0 9px;background:transparent}.store-quantity .store-remove{margin-left:auto;font-size:12px;border:0;text-decoration:underline}
.store-totals{margin:22px 0}.store-totals>div{display:flex;justify-content:space-between;gap:20px;padding:7px 0;font-size:14px}.store-totals .store-total{border-top:1px solid #8e775540;padding-top:16px;margin-top:10px;font-size:20px}
.store-dialog .btn{background:#49372e!important;color:#fffef2!important;border-radius:0 16px 0 16px;min-height:47px;max-width:100%}.store-dialog button:disabled{opacity:.6;cursor:wait}
.store-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.store-form-grid label{font-size:13px;color:#64533e;display:block}.store-form-grid input,.store-form-grid select{display:block;width:100%;margin:6px 0 0;padding:12px;border:1px solid #8e77554a;background:#fffef8!important;color:#302b23!important;border-radius:0 10px 0 10px;font:16px Arial,sans-serif;min-height:44px}.store-full{grid-column:1 / -1}.store-back{border:0;background:none;text-decoration:underline;font-size:13px;margin:15px;color:#64533e}.store-order-number{font-size:17px;font-weight:bold;letter-spacing:1px}.store-seller-link{font-size:12px;text-decoration:underline;white-space:nowrap}.store-dialog input:focus-visible,.store-dialog select:focus-visible,.store-dialog button:focus-visible{outline:2px solid #8f7150;outline-offset:3px}
@media(max-width:500px){.store-dialog-header{padding:20px!important}.store-dialog-header h2{font-size:24px}.store-dialog-body{padding:20px}.store-bag-item{grid-template-columns:85px 1fr;gap:13px}.store-bag-item img{width:85px;height:110px}.store-form-grid{grid-template-columns:1fr}.store-full{grid-column:auto}.store-dialog .btn{width:100%}}

.catalog-description{white-space:pre-line;line-height:1.85;max-width:75ch}.gallery-thumbnails{overflow-x:auto;max-width:100%;flex-wrap:nowrap}.gallery-thumbnail{flex:0 0 64px}.product h3{overflow-wrap:anywhere}.store-option-note{font-size:12px}#space-home-view-all{margin-top:28px}

/* Checkout uses one scrollable body, including when a phone keyboard is open. */
.store-dialog[open]{display:flex;flex-direction:column;max-height:92dvh;overflow:hidden;overscroll-behavior:contain}
.store-dialog-header{position:relative;flex:0 0 auto;min-height:0!important;flex-wrap:nowrap!important}
.store-dialog-body{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.store-dialog form,.store-form-grid,.store-form-grid label{min-width:0}
.store-dialog .store-delivery-choices{display:block!important;margin:0 0 24px;padding:0;border:0;min-width:0}
.store-delivery-choices h3,.store-step-title{font:700 21px/1.3 Arial,sans-serif;margin:20px 0 16px;color:#302b23}
.store-dialog #store-check-delivery{display:block!important;visibility:visible!important;position:static;width:100%;min-height:50px;margin:16px 0 0;white-space:normal;font-size:15px}
.store-delivery-choice{display:flex!important;align-items:center;gap:12px;margin:10px 0;padding:15px;background:#f8f5ed;border:1px solid #c9bba9;border-radius:0 18px 0 18px;overflow-wrap:anywhere;font-size:14px;line-height:1.5;cursor:pointer}
.store-delivery-choice input,.store-payment-choice input{flex:0 0 20px;width:20px;height:20px;accent-color:#49372e}
.store-delivery-choice:has(input:checked),.store-payment-choice:has(input:checked){border-color:#49372e;background:#efe7db}
.store-payment-methods{border:0;padding:0;margin:24px 0;min-width:0}.store-payment-methods legend{font-size:21px;font-weight:700;margin-bottom:14px}
.store-payment-choice{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #c9bba9;border-radius:0 18px 0 18px;margin:10px 0;cursor:pointer}
.store-payment-choice span{font-size:15px;font-weight:700}.store-payment-choice small{display:block;font-size:12px;font-weight:400;color:#64533e;margin-top:3px}
.store-totals>div>span{min-width:0;overflow-wrap:anywhere}.store-totals strong{flex-shrink:0}
@media(max-width:500px){.store-dialog{width:calc(100% - 16px);max-width:none;margin:auto;border-radius:0 24px 0 24px}.store-dialog[open]{max-height:calc(100dvh - 16px)}.store-dialog-header{padding:15px 18px!important}.store-dialog-body{padding:16px 18px 25px}.store-delivery-address{grid-template-columns:1fr 1fr;gap:12px}.store-dialog button{touch-action:manipulation}.store-delivery-choice{flex-wrap:wrap;font-size:14px}.store-delivery-choice strong{flex:1;min-width:0}}
