.beddim{max-width:1040px;margin:44px auto;padding:0 20px;box-sizing:border-box;color:#1a1a1a}
.beddim *{box-sizing:border-box}
.beddim__title{text-align:center;font-size:32px;font-weight:800;letter-spacing:-.02em;line-height:1.1;margin:0 0 30px;color:#111}
.beddim__body{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.beddim__diagram{display:flex;justify-content:center}
.beddim__diagram svg{width:100%;max-width:460px;height:auto}
.beddim__panel{max-width:420px;width:100%}
.beddim__selectwrap{position:relative;margin-bottom:22px}
.beddim__select{width:100%;-webkit-appearance:none;appearance:none;font-size:16px;font-weight:600;color:#111;background:#fff;border:1.5px solid #dcdfe4;border-radius:12px;padding:15px 46px 15px 18px;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.beddim__select:hover{border-color:#111}
.beddim__select:focus{outline:none;border-color:#111;box-shadow:0 0 0 3px rgba(0,0,0,.06)}
.beddim__selectwrap:after{content:"";position:absolute;right:20px;top:50%;width:9px;height:9px;border-right:2px solid #333;border-bottom:2px solid #333;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.beddim__heading{font-size:19px;font-weight:700;margin:0 0 12px;color:#111}
.beddim__table{width:100%;border-collapse:collapse}
.beddim__table td{padding:15px 6px;border-bottom:1px solid #ececec;font-size:15.5px}
.beddim__table tr:first-child td{border-top:1px solid #ececec}
.beddim__table td:first-child{color:#3a3a3a;font-weight:500}
.beddim__table td:last-child{text-align:right;font-weight:700;color:#111;white-space:nowrap}
.beddim__note{text-align:center;margin:34px auto 0;max-width:760px;font-size:15px;color:#2a2a2a;line-height:1.55}
.beddim__note strong{font-weight:700}
.beddim__note span{display:block;font-size:13.5px;color:#8a8a8a;margin-top:3px}
@media (max-width:820px){
.beddim__body{grid-template-columns:1fr;gap:26px}
.beddim__diagram{order:1}
.beddim__panel{order:2;max-width:520px;margin:0 auto}
.beddim__title{font-size:26px;margin-bottom:22px}
}
.beddim-admin .beddim-sizes{max-width:1040px;margin-top:8px}
.beddim-admin .beddim-sizes input[type=text]{width:100%}
.beddim-admin .beddim-sizes td{vertical-align:middle}
