.preview-dialog.selection-dialog{padding:0;border:0;background:#fff;color:#0d1b33;border-radius:24px;width:min(880px,96vw);max-height:92vh;overflow:hidden;box-shadow:0 24px 80px #0005;color-scheme:light}
.selection-dialog::backdrop{background:rgba(5,10,25,.6);backdrop-filter:blur(6px)}
.selection-dialog .dialog-close{position:absolute;top:12px;right:12px;width:38px;height:38px;border-radius:50%;background:#fff;color:#ef4444;box-shadow:0 4px 12px #0002;z-index:3;display:grid;place-items:center}
.selection-dialog .choice-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-height:92vh;padding:0;margin:0}
.selection-dialog .choice-body>section{padding:0;margin:0}
.selection-dialog .choice-image{background:#f5f5f7;display:grid;place-items:center;min-width:0}
.selection-dialog .choice-image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.selection-dialog .choice-body{padding:28px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:16px;max-height:92vh;min-width:0;scrollbar-width:thin}
.selection-dialog .choice-logo{height:40px;width:auto;max-width:160px;object-fit:contain;align-self:flex-start}
.selection-dialog h2{font-size:26px;letter-spacing:-.03em;margin:0;line-height:1.15;color:#0d1b33;outline:none}
.selection-dialog .choice-spec{margin:6px 0 0;font-size:14px;line-height:1.5;color:#7686a3}
.selection-dialog .choice-label{font:700 10px/1.4 'Space Mono',monospace;letter-spacing:.1em;text-transform:uppercase;color:#7686a3;display:block;margin-bottom:8px}
.selection-dialog .choice-swatches{display:flex;gap:10px;flex-wrap:wrap;padding:2px}
.selection-dialog .choice-swatches button{width:34px;height:34px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1.5px #e3e9f4}
.selection-dialog .choice-swatches button.on{box-shadow:0 0 0 2.5px #0a2a6b}
.selection-dialog .choice-options{display:grid;gap:8px}
.selection-dialog .choice-option{position:relative;text-align:left;padding:13px 15px;border:2px solid #e3e9f4;border-radius:14px;background:#fff;color:#0d1b33;min-width:0}
.selection-dialog .choice-option b{display:block;font-size:15px;line-height:1.4}
.selection-dialog .choice-option small{display:block;font-size:12.5px;line-height:1.4;color:#7686a3;margin-top:3px}
.selection-dialog .choice-option.on{border-color:#0a2a6b;background:#e8f0fd}
.selection-dialog .choice-option:disabled{opacity:.4;cursor:not-allowed}
.selection-dialog .choice-option em{position:absolute;top:-9px;right:12px;font-style:normal;font:700 9px/1 'Space Mono',monospace;letter-spacing:.06em;text-transform:uppercase;background:#ffc20e;color:#0a2a6b;padding:5px 8px;border-radius:6px}
.selection-dialog .choice-days{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.selection-dialog .choice-days button{height:46px;border-radius:12px;border:2px solid #e3e9f4;background:#fff;color:#0d1b33;font-weight:800;font-size:14.5px;white-space:nowrap;padding:0 3px}
.selection-dialog .choice-days button:hover{border-color:#0a2a6b}
.selection-dialog .choice-days button.on{background:#0a2a6b;border-color:#0a2a6b;color:#ffc20e}
.selection-dialog .choice-coupon{display:flex;gap:8px}
.selection-dialog .choice-coupon input{flex:1;min-width:0;width:100%;height:46px;border:1.5px solid #d5dced;border-radius:12px;padding:0 12px;font:700 15px 'Plus Jakarta Sans',sans-serif;text-transform:uppercase;color:#0a2a6b;background:#fff}
.selection-dialog .choice-coupon input::placeholder{color:#7686a3;opacity:1}
.selection-dialog .choice-coupon button{height:46px;padding:0 16px;border-radius:12px;background:#0a2a6b;color:#fff;font-weight:800;font-size:15px}
.selection-dialog .choice-coupon-message{font-size:13px;font-weight:700;line-height:1.4;margin:6px 0 0;color:#b53d0c}
.selection-dialog .choice-coupon-message.success{color:#13703a}
.selection-dialog .choice-total{background:#0a2a6b;color:#fff;border-radius:16px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.selection-dialog .choice-total b{font-size:24px;color:#ffc20e;letter-spacing:-.03em;line-height:1.3;white-space:nowrap;text-align:right}
.selection-dialog .choice-total span{font-size:13px;line-height:1.4;color:#c9d6f2}
.selection-dialog .choice-total s{display:block;color:#c9d6f2;font-size:13px;opacity:.8;font-weight:600}
.selection-dialog .choice-notice{background:#fff7d9;border:1.5px solid #ffc20e;border-radius:12px;padding:10px 12px;font:800 12px/1.4 'Plus Jakarta Sans',sans-serif;letter-spacing:.02em;text-transform:uppercase;color:#0a2a6b}
.selection-dialog .choice-go{width:100%;min-height:60px;border-radius:16px;background:#ffc20e;color:#0a2a6b;font-weight:800;font-size:17px;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:none;flex:0 0 auto;padding:12px}
.selection-dialog button:disabled{cursor:wait}
.selection-dialog .choice-option:disabled{cursor:not-allowed}
.selection-dialog button:focus-visible,.selection-dialog input:focus-visible{outline:3px solid #2e6ed1;outline-offset:3px}
.selection-dialog [hidden]{display:none!important}
@media(max-width:800px){
 .preview-dialog.selection-dialog{width:100%;max-width:none;max-height:96dvh;border-radius:22px 22px 0 0;overflow-y:auto;overscroll-behavior:contain;margin:auto 0 0;position:fixed;inset:auto 0 0}
 .selection-dialog .choice-grid{grid-template-columns:minmax(0,1fr);max-height:none}
 .selection-dialog .choice-image{height:210px}
 .selection-dialog .choice-image img{height:210px;width:auto;max-width:100%;object-fit:contain;margin:auto}
 .selection-dialog .choice-body{max-height:none;overflow:visible;padding:18px 16px 0;gap:14px}
 .selection-dialog .choice-logo{height:44px}
 .selection-dialog h2{font-size:22px}
 .selection-dialog .choice-option{padding:11px 13px}
 .selection-dialog .choice-option b{font-size:14.5px}
 .selection-dialog .choice-option small{font-size:12px}
 .selection-dialog .choice-total b{font-size:21px}
 .selection-dialog .choice-go{position:sticky;bottom:0;margin:4px -16px 0;width:calc(100% + 32px);border-radius:0;min-height:64px;padding-bottom:max(12px,env(safe-area-inset-bottom));z-index:2}
}
