#mattress-feature-dialog{box-sizing:border-box;border:0;border-radius:8px;padding:16px;width:calc(100% - 48px);max-width:964px;max-height:calc(100dvh - 48px);color:#353535;background:#fff;box-shadow:0 8px 32px #0003;overflow:auto;overscroll-behavior:contain}
#mattress-feature-dialog::backdrop{background:rgba(255,255,255,.75)}
#mattress-feature-dialog .mf-close{position:absolute;right:16px;top:24px;display:flex;align-items:center;gap:8px;padding:0;border:0;background:#fff;color:#272727;font:inherit;cursor:pointer;z-index:1}
#mattress-feature-dialog .mf-close span{font-size:30px;line-height:24px}
#mattress-feature-dialog .mf-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px}
#mattress-feature-dialog .mf-text{padding-top:64px}
#mattress-feature-dialog h2{margin:0 0 24px;font-size:26px;font-weight:400;line-height:1.35;color:#353535}
#mattress-feature-dialog p{font-size:18px;line-height:1.6;color:#6d6d6d;margin:0 0 20px}
#mattress-feature-dialog .mf-error[hidden]{display:none}
#mattress-feature-dialog .mf-close:focus-visible{outline:2px solid #315aa6;outline-offset:5px}
@media(max-width:767px){#mattress-feature-dialog{width:100%;max-width:none;max-height:100dvh;height:100dvh;margin:0;border-radius:0;padding:80px 16px 24px}#mattress-feature-dialog .mf-grid{grid-template-columns:minmax(0,1fr);gap:24px}#mattress-feature-dialog .mf-text{padding:0}#mattress-feature-dialog h2{font-size:24px;margin-bottom:20px}#mattress-feature-dialog p{font-size:16px;line-height:1.6}}
