/* Legacy frame designer: the approved mounts studio adapted to frame configuration. */
.mtm-page { --mtm-ink:#202735; --mtm-blue:#293a60; --mtm-link:#546ea6; --mtm-muted:#596477; --mtm-line:#e2e7ed; color:var(--mtm-ink); font-size:18px; line-height:1.5; }
.mtm-page [hidden] { display:none!important; }
.mtm-page button,.mtm-page input,.mtm-page select { font-family:inherit; }
.mtm-page .container-fluid { max-width:1440px; padding-inline:32px; }
.mtm-page .customise-frame-container { background:linear-gradient(#f7f8fa,#fff 75%); padding:40px 0 24px; }
.mtm-page .mtm-studio { display:grid; grid-template-columns:1.08fr 1fr; gap:0 56px; align-items:start; }
.mtm-page .mtm-workspace { display:contents; }
.mtm-page .mtm-heading { grid-column:1; grid-row:1; }
.mtm-page .mtm-eyebrow { margin:0 0 8px; font-size:12px; letter-spacing:.12em; color:#426957; font-weight:600; }
.mtm-page h1 { color:var(--mtm-ink); font-size:38px; letter-spacing:-.6px; line-height:1.2; font-weight:700; margin:0; }
.mtm-page .mtm-title-product { white-space:nowrap; }
.mtm-page .mtm-intro-copy { font-size:18px; color:var(--mtm-muted); margin:12px 0 0; }
.mtm-page .mtm-preview { min-width:0; grid-column:1; grid-row:2; display:grid; grid-template-columns:80px minmax(0,1fr); align-items:center; gap:0 14px; text-align:center; }
.mtm-page #main-preview-image-container { grid-column:2; grid-row:1; min-width:0; }
.mtm-page .mtm-preview-link { display:flex; align-items:center; justify-content:center; height:390px; padding:35px; position:relative; }
.mtm-page .mtm-preview-link picture { display:contents; }
.mtm-page .preview-image { max-width:100%; max-height:100%; width:auto; height:auto; display:block; object-fit:contain; box-shadow:0 20px 32px -19px #27334b77; }
.mtm-page #mtm-detail-preview { width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; }
.mtm-page #mtm-corner-preview { width:100%; height:100%; object-fit:contain; }
.mtm-page .mtm-corner-view .mtm-preview-link { padding:0; }
.mtm-page #mtm-corner-status { color:var(--mtm-muted); font-size:14px; max-width:240px; }
.mtm-page [data-preview-view="corner"][aria-busy="true"] { background:linear-gradient(135deg,#fff,#f2f4f7); }
.mtm-page .mtm-enlarge { position:absolute; right:15px; bottom:15px; color:var(--mtm-muted); font-size:13px; background:#fff9; border-radius:5px; padding:7px 10px; }
.mtm-page .mtm-enlarge i { margin-right:5px; }
.mtm-page .mtm-preview-views { grid-column:1; grid-row:1; display:flex; flex-direction:column; gap:10px; }
.mtm-page .mtm-preview-views button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; min-height:86px; border:1px solid #e2e7ed; border-radius:8px; background:#fff; padding:8px 4px; font-size:12px; color:var(--mtm-muted); cursor:pointer; transition:border-color .15s,box-shadow .15s; }
.mtm-page .mtm-preview-views button:hover { border-color:#8796b1; }
.mtm-page .mtm-preview-views button[aria-pressed=true] { border-color:var(--mtm-blue); color:var(--mtm-blue); box-shadow:0 0 0 1px var(--mtm-blue); }
.mtm-page .mtm-preview-views picture { display:flex; align-items:center; justify-content:center; width:54px; height:54px; flex:none; }
.mtm-page .mtm-preview-views img { display:block; width:54px; height:54px; object-fit:contain; }
.mtm-page .mtm-preview-caption { display:none; }
.mtm-page .mtm-preview-dot { padding:0 7px; }
.mtm-page .mtm-controls { grid-column:2; grid-row:1 / span 2; background:white; border:1px solid #e4e8ef; border-radius:22px; padding:5px 32px 28px; box-shadow:0 10px 35px -20px #27334b26; height:clamp(540px,calc(var(--mtm-room,100svh) - 240px),740px); display:flex; flex-direction:column; min-width:0; }
.mtm-page .mtm-progress { display:flex; gap:6px; flex:none; }
.mtm-page .mtm-progress button { flex:1; padding:12px 0; height:44px; background:none; border:0; cursor:pointer; }
.mtm-page .mtm-progress button span { display:block; position:relative; overflow:hidden; height:4px; border-radius:4px; background:#e9edf3; }
.mtm-page .mtm-progress button span::after { content:""; position:absolute; inset:0; border-radius:inherit; background:#546ea6; transform:scaleX(0); transform-origin:left; transition:transform 240ms cubic-bezier(.22,.61,.36,1); }
.mtm-page .mtm-progress button[aria-current=step] span::after,.mtm-page .mtm-progress button.is-complete span::after { transform:scaleX(1); }
.mtm-page .mtm-panel-heading { min-height:38px; display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 12px; flex:none; }
.mtm-page .mtm-panel-heading h2 { flex:1; min-width:0; font-size:28px; font-weight:600; line-height:1.2; letter-spacing:-.4px; color:var(--mtm-ink); margin:0; text-align:left; }
.mtm-page .mtm-panel-heading h2:focus { outline:none; }
.mtm-page .mtm-panel-price { flex:0 0 90px; text-align:right; }
/* Match mounts' inline price while retaining its space during quote updates. */
.mtm-page .details-price { display:block; height:30.8px; line-height:1.1; font-size:28px; font-weight:600; letter-spacing:-.5px; color:var(--mtm-ink); white-space:nowrap; }
.mtm-page .mtm-price-currency,.mtm-page .mtm-price-pence { font-size:18px; letter-spacing:0; }
.mtm-page .details-price > i { font-size:20px; }
.mtm-page .mtm-panel-body { flex:1; min-height:0; overflow-y:auto; overflow-x:hidden; scrollbar-width:thin; scrollbar-color:#d6dce5 transparent; padding:0 4px 20px 0; overscroll-behavior:contain; }
.mtm-page .mtm-panel { overflow-wrap:break-word; }
.mtm-page .mtm-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:22px; border-top:1px solid var(--mtm-line); flex:none; }
.mtm-page .mtm-primary { margin-left:auto; min-width:178px; min-height:52px; padding:12px 20px; border:1px solid var(--mtm-blue); border-radius:13px; background:var(--mtm-blue); color:white; font-size:17px; font-weight:600; cursor:pointer; box-shadow:0 4px 8px #293a6012; }
.mtm-page .mtm-primary i { margin-left:16px; font-size:14px; }
.mtm-page .mtm-primary:hover { background:#1e2d4b; }
.mtm-page .mtm-primary:disabled { opacity:.55; cursor:wait; }
.mtm-page .mtm-back { background:white; border:1px solid #8796b1; border-radius:13px; padding:12px 17px; min-height:52px; font-size:16px; color:var(--mtm-blue); cursor:pointer; }
.mtm-page .mtm-back i { margin-right:7px; font-size:13px; }
.mtm-page .mtm-designer-foot { display:flex; justify-content:center; flex-wrap:wrap; gap:12px 40px; padding:32px 0 8px; }
.mtm-page .mtm-designer-foot a { color:var(--mtm-muted); font-size:15px; min-height:44px; display:inline-flex; align-items:center; gap:12px; }
.mtm-page .mtm-request-error { color:#96303a; font-size:15px; margin:10px 0; }
.mtm-page .mtm-request-error .mtm-text-button { color:inherit; padding:0; min-height:30px; }
.mtm-page .mtm-review-list { margin-top:18px; }
.mtm-page .mtm-review-row { width:100%; display:grid; grid-template-columns:100px 1fr 16px; gap:12px; align-items:center; border:0; border-bottom:1px solid var(--mtm-line); padding:14px 0; background:none; text-align:left; cursor:pointer; font-size:14px; color:var(--mtm-muted); }
.mtm-page .mtm-review-row strong { color:var(--mtm-ink); font-size:18px; font-weight:600; line-height:1.5; }
.mtm-page .mtm-review-row i { color:#7588a8; font-size:13px; }
.mtm-page .mtm-review-note { font-size:15px; line-height:1.5; color:var(--mtm-muted); margin:18px 0 0; }
.mtm-page .mtm-field-intro { margin:0; color:var(--mtm-muted); font-size:18px; line-height:1.5; }
.mtm-page .mtm-field-label { display:block; font-size:16px; font-weight:600; margin:0 0 7px; }
.mtm-page .form-control { border:1px solid #cbd2dc; color:var(--mtm-ink); border-radius:5px; font-size:16px; height:48px; box-shadow:none; }
.mtm-page select.form-control { padding-right:30px; }
.mtm-page .no-arrows { appearance:textfield; -moz-appearance:textfield; }
.mtm-page .no-arrows::-webkit-inner-spin-button { -webkit-appearance:none; }
.mtm-page .mtm-choice { display:flex; align-items:flex-start; position:relative; gap:10px; margin:10px 0 0; }
.mtm-page .mtm-choice input { width:18px; height:18px; margin-top:13px; flex:0 0 18px; accent-color:var(--mtm-blue); cursor:pointer; }
.mtm-page .mtm-choice label { flex:1; min-width:0; margin:0; padding:10px 0; font-size:18px; font-weight:600; color:var(--mtm-ink); line-height:1.5; cursor:pointer; }
.mtm-page .mtm-choice label .float-right { margin-left:12px; font-size:14px; }
.mtm-page .mtm-text-button { border:0; background:none; color:var(--mtm-link); min-height:44px; font-size:15px; padding:8px 0; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.mtm-page .mtm-recommended { display:block; font-size:14px; font-weight:400; color:#426957; }
.mtm-page #moulding-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 14px; }
.mtm-page .mtm-frame-card { position:relative; min-width:0; border:0; padding:0; background:white; text-align:left; cursor:pointer; color:var(--mtm-ink); }
.mtm-page .mtm-frame-card[hidden] { display:none; }
.mtm-page .mtm-frame-card img { display:block; width:100%; aspect-ratio:1.4; object-fit:contain; border:1px solid var(--mtm-line); border-radius:5px; background:#fff; }
.mtm-page .mtm-frame-card:hover img { border-color:#91a0b6; }
.mtm-page .mtm-frame-card[aria-pressed=true] img { border:2px solid var(--mtm-blue); }
.mtm-page .mtm-frame-name { display:block; font-weight:600; font-size:18px; line-height:1.35; margin-top:9px; }
.mtm-page .mtm-frame-size,.mtm-page .mtm-frame-ref { display:block; font-size:14px; font-weight:400; line-height:1.5; color:var(--mtm-muted); margin-top:3px; }
.mtm-page .mtm-frame-card .moulding-list-check { display:none; position:absolute; right:8px; top:8px; color:white; border-radius:50%; background:var(--mtm-blue); width:24px; height:24px; line-height:24px; text-align:center; font-size:12px; }
.mtm-page .mtm-more-frames { grid-column:1/-1; margin:0; }
.mtm-page .mtm-trust { background:#f7f8fa; padding:36px 0; }
.mtm-page .mtm-information { padding:88px 0; }
.mtm-page .mtm-information h2 { font-size:30px; font-weight:700; line-height:1.2; color:var(--mtm-ink); margin:0 0 28px; }
.mtm-page .mtm-specifications { padding-right:72px; }
.mtm-page .mtm-information .bg-light,.mtm-page .mtm-information .bg-white { background:white!important; border-bottom:1px solid var(--mtm-line); padding:15px 0!important; margin-top:0!important; }
.mtm-page .mtm-information .text-muted { color:var(--mtm-muted)!important; }
.mtm-page .mtm-saving { color:#426957; font-size:14px; }
.mtm-page .mtm-information p { color:var(--mtm-muted); font-size:17px; line-height:1.75; }
.mtm-page .mtm-benefits { background:#f7f8fa; padding:56px 0; }
.mtm-page .basket-key-point { text-align:center; padding-inline:30px; }
.mtm-page .basket-key-point > i { font-size:36px; color:#536a90; margin-bottom:10px; }
.mtm-page .basket-key-point > div { color:var(--mtm-ink)!important; font-size:21px!important; font-weight:600; }
.mtm-page .basket-key-point p { color:var(--mtm-muted); font-size:15px; line-height:1.65; margin:12px 0 0; }
.mtm-page :is(button,a,input,select):focus-visible { outline:3px solid #546ea6; outline-offset:3px; }
.mtm-page input:focus:not(:focus-visible) { outline:0; }
.mtm-page .input-group-text { background:#fff; color:var(--mtm-muted); }

.mtm-page .mtm-units { display:flex; align-items:center; gap:14px; margin:22px 0 0; min-width:0; border:0; padding:0; }
.mtm-page .mtm-units legend { width:auto; margin:0; font-size:16px; font-weight:400; color:var(--mtm-muted); float:left; }
.mtm-page .mtm-units .mtm-choice label { font-size:16px; font-weight:400; }
.mtm-page .mtm-units > div { margin:0!important; }
.mtm-page .mtm-units .mtm-choice { margin:0; }
.mtm-page .mtm-size-pair { margin-top:18px; margin-bottom:24px; }
.mtm-page .mtm-times { display:none; }
.mtm-page .mtm-size-input { position:relative; }
.mtm-page .mtm-size-input input { height:62px; border-radius:11px; padding:12px 48px 12px 16px; text-align:left!important; font-size:24px; font-weight:400; }
.mtm-page .mtm-size-input span { position:absolute; right:14px; top:50%; transform:translateY(-50%); font-size:16px; color:var(--mtm-muted); pointer-events:none; }
.mtm-page .mtm-measure-help { margin-top:26px; font-size:16px; color:var(--mtm-muted); }
.mtm-page .mtm-measure-help summary { display:flex; align-items:center; gap:12px; cursor:pointer; list-style:none; min-height:60px; }
.mtm-page .mtm-measure-help summary::-webkit-details-marker { display:none; }
.mtm-page .mtm-measure-help svg { flex:none; width:52px; height:44px; }
.mtm-page .mtm-measure-help summary > span:first-of-type { flex:1; }
.mtm-page .mtm-measure-help strong { display:block; color:var(--mtm-ink); font-size:15px; line-height:1.4; font-weight:600; }
.mtm-page .mtm-measure-help u { display:block; margin-top:3px; font-size:15px; line-height:1.4; text-underline-offset:3px; }
.mtm-page .mtm-measure-help p { margin:14px 0 8px; }
.mtm-page .mtm-measure-help a { color:var(--mtm-blue); text-decoration:underline; }
.mtm-page .mtm-choice-help { display:block; font-size:16px; font-weight:400; line-height:1.4; color:var(--mtm-muted); margin-top:3px; }
.mtm-page #option-panel-4 .mtm-choice { border-bottom:1px solid var(--mtm-line); padding-block:7px; }
.mtm-page #moulding-list { margin-top:18px!important; }
.mtm-page .mtm-frame-card img { aspect-ratio:1.6; }
.mtm-page .mtm-more-frames { width:100%; min-height:44px; border:1px solid var(--mtm-line); background:#f7f8fa; border-radius:6px; color:var(--mtm-blue); padding:9px 12px; font-size:15px; cursor:pointer; }
.mtm-page .mtm-benefit-icon { display:block; width:64px; height:64px; margin:0 auto 18px; }
.mtm-page button:focus:not(:focus-visible) { outline:0; box-shadow:none; }
@media(min-width:901px) and (max-width:1100px) {
 .mtm-page .mtm-studio { gap:0 28px; grid-template-columns:1fr 1.12fr; }
 .mtm-page h1 { font-size:32px; }
 .mtm-page .mtm-intro-copy { font-size:16px; }
 .mtm-page .mtm-preview-link { height:350px; padding:25px; }
}
@media(min-width:901px) {
 .mtm-page .mtm-enlarge { display:none; }
}
@media(min-width:1200px) and (min-height:801px) {
 .mtm-page .mtm-preview-link { height:clamp(380px,calc(100svh - 390px),590px); margin-inline:5px; padding:20px; }
 .mtm-page .mtm-corner-view .mtm-preview-link { padding:0; }
}
@media(min-width:901px) and (max-height:800px) {
 .mtm-page .customise-frame-container { padding-top:28px; }
 .mtm-page .mtm-preview-link { height:320px; }
}
@media(max-width:991px) {
 .mtm-page .container-fluid { padding-inline:24px; }
 .mtm-page .mtm-specifications { padding-right:15px; }
 .mtm-page .mtm-discounts { margin-top:48px; }
 .mtm-page .mtm-information { padding:60px 0; }
 .mtm-page .basket-key-point { margin-bottom:28px; }
}
@media(max-width:900px) {
 .mtm-page .customise-frame-container { padding:0; background:#f7f8fa; }
 /* Above the 667px SE viewport, share extra height equally with the preview. */
 .mtm-page .mtm-studio { --mtm-preview-height:clamp(188px,calc(var(--mtm-room,100svh) / 2 - 145.5px),360px); display:block; max-width:none; padding:0; }
 .mtm-page .mtm-workspace { height:var(--mtm-room,100svh); min-height:0; display:grid; grid-template-columns:1fr; grid-template-rows:var(--mtm-preview-height) minmax(0,1fr); gap:0; }
 .mtm-page .mtm-heading { padding:24px 18px 20px; text-align:left; }
 .mtm-page h1 { font-size:34px; line-height:1.12; letter-spacing:-.5px; }
 .mtm-page .mtm-eyebrow { font-size:11px; margin-bottom:8px; }
 .mtm-page .mtm-intro-copy { font-size:16px; line-height:1.45; margin-top:10px; }
 .mtm-page .mtm-preview { grid-column:1; grid-row:1; grid-template-columns:49px minmax(0,1fr); min-height:0; height:100%; width:100%; max-width:640px; margin-inline:auto; padding:4px 14px 8px; gap:0 8px; }
 .mtm-page #main-preview-image-container { height:100%; min-height:0; }
 .mtm-page .mtm-preview-link { height:100%; padding:7px 40px 7px 12px; }
 .mtm-page .mtm-enlarge { bottom:5px; right:3px; font-size:0; background:none; }
 .mtm-page .mtm-enlarge i { font-size:18px; margin:0; }
 .mtm-page .mtm-preview-views { gap:4px; min-height:155px; align-self:center; }
 .mtm-page .mtm-preview-views button { width:49px; height:49px; min-height:49px; padding:5px; border-radius:6px; }
 .mtm-page .mtm-preview-views img,.mtm-page .mtm-preview-views picture { width:37px; height:37px; }
 .mtm-page .mtm-preview-views span { display:none; }
 .mtm-page .mtm-preview-caption { display:none; }
 .mtm-page .mtm-controls { grid-column:1; grid-row:2; width:calc(100% - 24px); margin:0 12px 12px; min-height:0; max-height:none; height:auto; align-self:stretch; padding:5px 20px max(14px,env(safe-area-inset-bottom)); border-radius:22px; box-shadow:0 0 18px #27334b12; transition:width .2s,margin .2s,border-radius .2s,box-shadow .2s; }
 .mtm-page .mtm-active .mtm-controls { width:100%; margin:0; border-radius:22px 22px 0 0; border-color:transparent; box-shadow:0 -5px 24px #27334b10; }
 .mtm-page .mtm-controls > :not(.sr-only) { width:100%; max-width:620px; margin-inline:auto; }
 .mtm-page .mtm-progress button { height:44px; padding:14px 0; }
 /* Tighten visual spacing without shrinking the 44px step targets. */
 .mtm-page .mtm-progress { gap:5px; margin-block:-5px; }
 .mtm-page .mtm-panel-heading { margin-block:0 18px; }
 .mtm-page .mtm-panel-heading h2 { font-size:22px; }
 .mtm-page .mtm-panel-price { flex-basis:76px; }
 .mtm-page .details-price { height:24.2px; font-size:22px; }
 .mtm-page .mtm-price-currency,.mtm-page .mtm-price-pence { font-size:16px; }
 .mtm-page .mtm-panel-body { padding-bottom:16px; overscroll-behavior-y:auto; }
 .mtm-page .mtm-field-intro { font-size:16px; line-height:1.4; }
 .mtm-page .mtm-units { margin-top:12px; }
 .mtm-page .mtm-size-pair { margin-top:12px; margin-bottom:0; }
 .mtm-page .mtm-size-input input { padding-left:12px; }
 .mtm-page .mtm-size-input span { right:12px; }
 .mtm-page .mtm-measure-help { margin-top:12px; font-size:15px; }
 .mtm-page .mtm-measure-help summary { min-height:52px; }
 .mtm-page .mtm-measure-help svg { width:44px; }
 .mtm-page .mtm-actions { padding-top:12px; gap:10px; }
 .mtm-page .mtm-primary,.mtm-page .mtm-back { min-height:48px; border-radius:12px; padding:10px 16px; font-size:16px; }
 .mtm-page .mtm-primary { min-width:150px; }
 .mtm-page .mtm-designer-foot { padding:12px; gap:6px 16px; }
 .mtm-page .mtm-designer-foot a { min-height:44px; }
 .mtm-page #smart-search-link { display:inline-flex; }
 .mtm-page .mtm-review-row { grid-template-columns:84px minmax(0,1fr) 16px; gap:8px; font-size:14px; padding:10px 0; }
 .mtm-page .mtm-review-row strong { font-size:17px; }
 .mtm-page #option-panel-4 .mtm-choice { margin-top:0; padding-block:2px; }
 .mtm-page #option-panel-4 .mtm-choice label { padding-block:5px; }
 .mtm-page .mtm-choice-help { font-size:15px; }
 .mtm-page #moulding-list { gap:16px 12px; }
 .mtm-page .mtm-frame-name { font-size:17px; }
 .mtm-page .mtm-keyboard-open .mtm-workspace { grid-template-rows:0 minmax(0,1fr); }
 .mtm-page .mtm-keyboard-open .mtm-preview,.mtm-page .mtm-keyboard-open .mtm-progress { display:none; }
}
@media(min-width:768px) and (max-width:900px) {
 .mtm-page h1 { font-size:38px; letter-spacing:-.7px; }
}
@media(max-width:767px) and (min-height:768px) {
 .mtm-page .mtm-preview { padding-top:14px; padding-bottom:18px; }
}
@media(max-width:767px) {
 .mtm-page .mtm-information .container-fluid,.mtm-page .mtm-benefits .container-fluid { padding-inline:18px; }
 .mtm-page .mtm-information { padding:48px 0; }
 .mtm-page .mtm-information h2 { font-size:27px; }
 .mtm-page .mtm-information p { font-size:16px; }
 .mtm-page .mtm-benefits { padding:36px 0 12px; }
 .mtm-page .basket-key-point { text-align:left; padding-left:70px; padding-right:15px; }
 .mtm-page .mtm-benefit-icon { position:absolute; left:12px; top:0; width:44px; height:44px; margin:0; }
 .mtm-page .basket-key-point > div { font-size:20px!important; margin-top:0!important; }
 .mtm-page .mtm-trust { padding:28px 0; }
}
@media(max-width:359px) {
 .mtm-page .mtm-panel-body { padding-bottom:8px; }
 .mtm-page .mtm-measure-help summary { min-height:44px; }
 .mtm-page .mtm-primary { min-width:125px; padding-inline:12px; }
 .mtm-page .mtm-units { gap:10px; }
}
@media(prefers-reduced-motion:reduce) { .mtm-page *,.mtm-page *::after { scroll-behavior:auto!important; transition:none!important; } }
.mtm-page .mtm-frame-card img { height:auto; aspect-ratio:2.6; padding:10px 4px; background:#fafbfc; }
.mtm-page .mtm-progress button { min-height:44px; }
.mtm-page .mtm-studio { overflow-anchor:none; }

/* A quiet, full-screen gallery: the photograph expands from its preview. */
html.mtm-preview-open { overflow:hidden; }
.mtm-page .mtm-image-dialog { inset:0; margin:0; border:0; border-radius:0; padding:0; width:100vw; max-width:none; height:100vh; height:100dvh; max-height:none; background:transparent; overflow:hidden; color:white; overscroll-behavior:contain; }
.mtm-page .mtm-image-dialog::backdrop { background:transparent; }
.mtm-page .mtm-image-backdrop { position:absolute; inset:0; background:rgba(17,24,36,.94); }
.mtm-page .mtm-image-stage { position:absolute; inset:max(80px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(36px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left)); display:flex; align-items:center; justify-content:center; pointer-events:none; }
.mtm-page .mtm-image-dialog img { display:block; object-fit:contain; max-width:100%; max-height:100%; flex:none; pointer-events:auto; box-shadow:0 20px 70px #0004; transform-origin:center; }
.mtm-page .mtm-image-close { position:absolute; right:max(20px,env(safe-area-inset-right)); top:max(18px,env(safe-area-inset-top)); display:flex; align-items:center; gap:7px; min-width:94px; min-height:44px; padding:10px 16px 10px 12px; border:1px solid #ffffff40; border-radius:30px; background:#ffffff12; color:white; font-size:15px; font-weight:600; line-height:1; cursor:pointer; transition:background .15s; }
.mtm-page .mtm-image-close svg { width:22px; height:22px; }
.mtm-page .mtm-image-close:hover { background:#ffffff26; }
.mtm-page .mtm-image-close:focus-visible { outline:2px solid white; outline-offset:4px; }

.mtm-page .mtm-spec-list { margin:0; }
.mtm-page .mtm-spec-list > div { display:grid; grid-template-columns:33% 1fr; gap:20px; padding:15px 0; border-bottom:1px solid var(--mtm-line); }
.mtm-page .mtm-spec-list dt { color:var(--mtm-muted); font-weight:400; }
.mtm-page .mtm-spec-list dd { margin:0; overflow-wrap:anywhere; }
.mtm-page .mtm-spec-list small { display:block; font-size:14px; color:var(--mtm-muted); margin-top:4px; }
.mtm-page .mtm-overview { margin-top:64px; }
.mtm-page .mtm-discount-table { width:100%; border-collapse:collapse; font-size:16px; }
.mtm-page .mtm-discount-table th,.mtm-page .mtm-discount-table td { padding:15px 8px; text-align:left; border-bottom:1px solid var(--mtm-line); }
.mtm-page .mtm-discount-table th:first-child { padding-left:0; }
.mtm-page .mtm-discount-table thead th { color:var(--mtm-muted); font-size:14px; font-weight:600; }
.mtm-page .mtm-discount-table tbody th { font-weight:400; }

/* Compact, native controls: constant studio geometry across all six steps. */
.mtm-page .mtm-filter-row { position:relative; }
.mtm-page .mtm-filter-icon { position:absolute; left:14px; top:12px; width:20px; height:20px; color:var(--mtm-muted); pointer-events:none; }
.mtm-page .mtm-filter-row select { width:100%; min-width:0; height:46px; padding-left:44px; border-color:#d5dce5; border-radius:8px; background-color:white; cursor:pointer; }
.mtm-page .mtm-filter-row select:hover { border-color:#8796b1; }
.mtm-page #moulding-list { margin-top:14px!important; }
.mtm-page #border-styles-container { display:flex; gap:8px; margin:0; padding:0; border:0; min-width:0; }
.mtm-page #border-styles-container .mtm-choice { flex:1; margin:0; min-width:0; align-items:stretch; }
.mtm-page #border-styles-container input { position:absolute; top:10px; right:10px; margin:0; width:16px; height:16px; }
.mtm-page #border-styles-container label { padding:10px; border:1px solid var(--mtm-line); border-radius:8px; text-align:center; }
.mtm-page #border-styles-container input:checked + label { border-color:var(--mtm-blue); background:#f4f6fa; box-shadow:inset 0 0 0 1px var(--mtm-blue); }
.mtm-page #border-styles-container input:disabled + label { opacity:.45; cursor:not-allowed; }
.mtm-page #border-styles-container strong { display:block; font-size:21px; font-weight:600; line-height:1.25; }
.mtm-page .mtm-mount-illustration { display:block; width:100%; max-width:108px; height:70px; margin:0 auto 4px; }
.mtm-page .mtm-mount-hint { font-size:15px; color:var(--mtm-muted); margin:10px 0; line-height:1.4; }
.mtm-page .mtm-colour-row { width:100%; display:flex; gap:12px; align-items:center; min-height:62px; background:none; border:0; border-bottom:1px solid var(--mtm-line); padding:8px 0; text-align:left; color:var(--mtm-ink); cursor:pointer; }
.mtm-page .mtm-current-swatch { width:34px; height:34px; border:1px solid #0002; border-radius:50%; flex:none; }
.mtm-page .mtm-colour-row small { display:block; font-size:14px; font-weight:400; color:var(--mtm-muted); line-height:1.4; }
.mtm-page .mtm-colour-row strong { display:block; font-size:18px; font-weight:600; line-height:1.4; }
.mtm-page .mtm-colour-change { margin-left:auto; color:var(--mtm-link); font-size:15px; font-weight:400; white-space:nowrap; }
.mtm-page .mtm-colour-change i { font-size:10px; margin-left:8px; }
.mtm-page .mtm-colour-row:hover .mtm-colour-change { text-decoration:underline; }
.mtm-page .mtm-mount-dimensions > summary { display:flex; align-items:center; gap:12px; min-height:48px; cursor:pointer; color:var(--mtm-ink); font-size:16px; }
.mtm-page .mtm-mount-dimensions summary span { margin-left:auto; font-size:15px; color:var(--mtm-muted); }
.mtm-page .mtm-mount-dimensions summary i { font-size:12px; }
.mtm-page .mtm-mount-dimensions[open] summary i { transform:rotate(180deg); }
.mtm-page .mtm-mount-dimensions summary::-webkit-details-marker { display:none; }
.mtm-page #advancedBorderContainer { padding:0 0 8px; }
.mtm-page #advancedBorderContainer p { margin:0 0 12px; font-size:15px; color:var(--mtm-muted); }
.mtm-page .mtm-border-fields { display:grid; grid-template-columns:1fr 1fr; gap:10px 16px; }
.mtm-page .mtm-border-fields label { font-size:16px; font-weight:600; margin:0; }
.mtm-page .mtm-border-fields label > span,.mtm-page .mtm-reveal-field > span { display:block; position:relative; margin-top:4px; }
.mtm-page .mtm-border-fields input,.mtm-page .mtm-reveal-field input { height:52px; padding-right:38px; font-size:20px; font-weight:400; }
.mtm-page .mtm-border-fields small,.mtm-page .mtm-reveal-field small { position:absolute; right:12px; top:50%; transform:translateY(-50%); font-size:16px; font-weight:400; color:var(--mtm-muted); pointer-events:none; }
.mtm-page .mtm-reveal-field { margin:12px 0 0; font-size:16px; font-weight:600; }
.mtm-page .mtm-reveal-field > span { max-width:160px; }
.mtm-page .mtm-mount-help { font-size:16px; color:var(--mtm-muted); }
.mtm-page .mtm-mount-help summary { min-height:44px; cursor:pointer; display:flex; align-items:center; text-decoration:underline; text-underline-offset:3px; }
.mtm-page .mtm-mount-help summary::-webkit-details-marker { display:none; }
.mtm-page .mtm-mount-help p { margin:0 0 12px; line-height:1.65; }
.mtm-page .mtm-colour-picker-heading { display:flex; align-items:center; }
.mtm-page #mtm-colour-title { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.mtm-page #mtm-colour-back { padding:0; min-height:44px; }
.mtm-page #mtm-colour-back i { margin-right:7px; font-size:12px; }
.mtm-page .mountColourOptions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px 8px; margin-top:8px; padding:4px; }
.mtm-page .mountColourOption { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:8px; position:relative; min-height:78px; width:100%; padding:0; border:0; background:none; border-radius:4px; color:var(--mtm-ink); font-size:16px; font-weight:400; line-height:1.25; cursor:pointer; }
.mtm-page .mtm-colour-chip { display:block; width:44px; height:44px; border:1px solid #0002; border-radius:50%; flex:none; }
.mtm-page .mountColourOption[aria-pressed=true] .mtm-colour-chip { outline:2px solid var(--mtm-blue); outline-offset:3px; }
.mtm-page .mountColourOption[aria-pressed=true]::after { content:'✓'; position:absolute; top:28px; left:calc(50% + 10px); background:var(--mtm-blue); color:white; width:18px; height:18px; border-radius:50%; font-size:12px; line-height:18px; }
.mtm-page #option-panel-4 .mtm-field-intro { margin-bottom:8px; }
.mtm-page #option-panel-4 .mtm-choice { margin:0; }
.mtm-page #option-panel-4 .mtm-choice label { display:grid; grid-template-columns:1fr auto; gap:0 10px; }
.mtm-page .mtm-glazing-price { font-size:16px; font-weight:400; color:var(--mtm-muted); white-space:nowrap; }
.mtm-page #option-panel-4 .mtm-choice-help { grid-column:1/-1; }
.mtm-page .mtm-accessories { border:0; padding:0; margin:0; min-width:0; }
.mtm-page .mtm-accessory-row { display:flex; align-items:center; gap:14px; border-bottom:1px solid var(--mtm-line); margin:0; padding:14px 0; min-height:88px; cursor:pointer; }
.mtm-page .mtm-accessory-row:first-of-type { padding-top:4px; }
.mtm-page .mtm-accessory-copy { flex:1; min-width:0; }
.mtm-page .mtm-accessory-title { display:flex; flex-wrap:wrap; column-gap:10px; align-items:baseline; line-height:1.3; }
.mtm-page .mtm-accessory-title strong { flex:1; font-size:18px; font-weight:600; color:var(--mtm-ink); }
.mtm-page .mtm-accessory-title > span { font-size:16px; font-weight:400; color:var(--mtm-muted); white-space:nowrap; }
.mtm-page .mtm-accessory-description { display:block; font-size:16px; font-weight:400; line-height:1.4; color:var(--mtm-muted); margin-top:4px; }
.mtm-page .mtm-accessory-row input { width:20px; height:20px; margin:0; flex:none; accent-color:var(--mtm-blue); cursor:pointer; }
.mtm-page .mtm-accessory-row:hover .mtm-accessory-title strong { text-decoration:underline; text-underline-offset:3px; }
.mtm-page .mtm-accessory-row .mtm-recommended { font-size:14px; line-height:1.4; margin-top:4px; }
.mtm-page .mtm-review-list { margin-top:8px; }
.mtm-page summary:focus-visible { outline:3px solid #546ea6; outline-offset:3px; }
@media(max-width:900px) {
 .mtm-page .mtm-accessory-row { gap:10px; padding-block:12px; }
 .mtm-page .mtm-accessory-title { display:block; }
 .mtm-page .mtm-accessory-title strong { display:inline; font-size:17px; margin-right:8px; }
 .mtm-page .mtm-accessory-description { font-size:15px; }
 .mtm-page .mtm-mount-help { font-size:15px; }
 .mtm-page #border-styles-container label { padding:6px; }
 .mtm-page #border-styles-container input { top:8px; right:8px; width:14px; height:14px; }
 .mtm-page .mtm-colour-row { min-height:56px; padding-block:6px; }
 .mtm-page .mtm-colour-row strong { font-size:17px; }
 .mtm-page .mtm-mount-hint { margin:8px 0; }
}
@media(max-width:440px) {
 .mtm-page .mtm-size-input input { height:54px; font-size:23px; }
 .mtm-page #border-styles-container strong { font-size:20px; }
 .mtm-page .mountColourOption { font-size:15px; }
}
@media(max-width:360px) {
 .mtm-page .mountColourOption { font-size:14px; }
 .mtm-page #border-styles-container label { padding-inline:4px; }
}

.mtm-page .mtm-units .mtm-choice label { min-height:44px; min-width:30px; }

.mtm-page .mtm-buy-group { width:100%; }
.mtm-page .mtm-buy-group[hidden] { display:none; }
.mtm-page .mtm-panel-price { flex-basis:auto; white-space:nowrap; }
.mtm-page .mtm-panel-price small { display:block; font-size:11px; font-weight:400; color:var(--mtm-muted); }
.mtm-page .mtm-buy-group .mtm-primary { width:100%; min-height:52px; justify-content:center; }
.mtm-page .mtm-buy-group .frame-quote { margin:8px 0 0; font-size:13px; }
.mtm-controls .mtm-edit-note { flex:none; margin:0 0 14px; padding:12px 16px; font-size:14px; }
