/* v209: two complete photo cards in the visible catalogue row. */
#quote .has-door-catalogue>.gr-door-tabs{display:flex;flex:0 0 auto;gap:8px;margin:0;padding:0;min-height:0}
#quote .gr-door-tabs button{flex:1;min-width:0;min-height:36px;padding:8px 10px;border:1px solid #b8cecc;border-radius:10px;font:700 13px/1.25 Arial,sans-serif;color:#234d4b;background:#f3f7f6;cursor:pointer}
#quote .gr-door-tabs button[aria-pressed=true]{background:#234d4b;color:white;border-color:#234d4b}
#quote .has-door-catalogue>.gr-door-catalogue{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:var(--door-card-height,380px);gap:12px;padding:0 2px 12px;align-content:start;scroll-snap-type:y proximity}
#quote .gr-door-product{display:grid;grid-template-rows:minmax(0,1fr) auto;height:var(--door-card-height,380px);min-height:0;overflow:visible;scroll-snap-align:start}
#quote .gr-door-photo{min-height:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}
#quote .gr-door-photo img{aspect-ratio:auto;width:100%;height:100%;max-height:100%;min-height:0;object-fit:contain}
#quote .gr-door-content{padding:12px;gap:8px}
#quote .gr-door-name-price{gap:8px}
#quote .gr-door-name-price h3{font-size:16px;line-height:1.25}
#quote .gr-door-name-price>strong{font-size:20px}
#quote .gr-door-price-note{font-size:10px;line-height:1.3}
#quote .gr-door-actions{gap:6px}
#quote .gr-door-actions button{min-height:36px;padding:7px 5px;font-size:11px}
#quote .gr-door-quantity{padding-top:8px;gap:4px;font-size:11px}
#quote .gr-door-quantity>div{gap:5px}
#quote .gr-door-quantity button{width:36px;min-width:36px;height:36px;min-height:36px;font-size:21px}
#quote .gr-door-quantity output{min-width:20px;font-size:15px}
@media(max-width:600px){#quote .has-door-catalogue{gap:8px!important}#quote .has-door-catalogue>.gr-door-catalogue{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#quote .gr-door-content{padding:10px;gap:7px}#quote .gr-door-name-price{display:block}#quote .gr-door-name-price h3{font-size:14px;line-height:1.2;min-height:34px}#quote .gr-door-name-price>strong{display:block;font-size:19px;margin-top:4px}#quote .gr-door-quantity>span{font-size:10px}#quote .gr-door-quantity button{width:32px;min-width:32px;height:34px;min-height:34px}#quote .gr-door-actions button{font-size:10px;min-height:34px}#quote .gr-door-price-note{font-size:9px}#quote .gr-door-tabs button{min-height:34px;font-size:12px}}
#quote .door-compact-catalogue .gr-door-content{padding:8px;gap:5px}#quote .door-compact-catalogue .gr-door-name-price h3{font-size:12px;min-height:0}#quote .door-compact-catalogue .gr-door-name-price>strong{font-size:16px;margin-top:2px}#quote .door-compact-catalogue .gr-door-price-note{font-size:8px}#quote .door-compact-catalogue .gr-door-actions button{min-height:28px;padding:4px;font-size:9px}#quote .door-compact-catalogue .gr-door-quantity{padding-top:5px}#quote .door-compact-catalogue .gr-door-quantity button{height:28px;min-height:28px;width:28px;min-width:28px}
/* A viewport-sized dialog. Only the active tab occupies the content row. */
.door-fit-dialog[open]{display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;gap:10px!important;box-sizing:border-box!important;position:fixed!important;margin:0!important;max-width:none!important;max-height:none!important;min-height:0!important;padding:16px!important;overflow:hidden!important;border-radius:16px!important}
.door-fit-dialog *{box-sizing:border-box}
.door-fit-dialog .door-modal-head{min-height:0;align-items:center;gap:12px}
.door-fit-dialog .door-modal-head h2{font-size:21px;line-height:1.15;margin:0;min-width:0}
.door-fit-dialog .door-modal-head>button{width:36px;height:36px;min-width:36px;flex:none;font-size:26px}
.door-fit-dialog .door-popup-tabs{margin:0;gap:8px;min-height:0}
.door-fit-dialog .door-popup-tabs button{padding:9px 8px;font-size:12px;min-height:36px}
.door-fit-dialog .door-popup-body{min-height:0;min-width:0;overflow:hidden;position:relative}
.door-fit-dialog .door-popup-details{height:100%;min-height:0;display:grid;grid-template-columns:1.1fr 1fr;gap:16px;align-items:center}
.door-fit-dialog .door-popup-photo{height:100%;min-height:0;overflow:hidden;background:#eff3f4;border-radius:10px}
.door-fit-dialog .door-popup-photo img{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
.door-fit-dialog .door-popup-copy{min-height:0;min-width:0}
.door-fit-dialog .door-popup-copy>p{font-size:13px;line-height:1.4;margin:0 0 10px}
.door-fit-dialog .door-popup-price{padding-top:10px;border-top:1px solid #d4e1df;margin-bottom:10px}
.door-fit-dialog .door-popup-price strong{font-size:25px;display:block;color:#194d4a}
.door-fit-dialog .door-popup-price span{display:block;font-size:10px;line-height:1.4;margin-top:3px}
.door-fit-dialog .door-popup-copy .door-popup-scope{font-size:10px;margin:0;line-height:1.35;color:#617479}
.door-fit-dialog .door-model{display:grid;height:100%;grid-template-rows:minmax(0,1fr) auto auto;gap:8px;min-height:0}
.door-fit-dialog .door-canvas-wrap{position:relative;min-height:0;height:100%;overflow:hidden;border-radius:10px;background:#eff2f5}
.door-fit-dialog .door-model canvas{display:block;width:100%;height:100%;min-height:0;border-radius:10px}
.door-fit-dialog .door-reference-thumb{position:absolute;top:8px;right:8px;width:72px;height:64px;object-fit:contain;border:1px solid #ccd8d7;background:white;border-radius:7px;pointer-events:none}
.door-fit-dialog .door-model-controls{margin:0;display:flex;gap:6px;flex-wrap:nowrap}
.door-fit-dialog .door-model-controls button{min-width:0;min-height:34px;flex:1;padding:7px 5px;font-size:11px;line-height:1.2;white-space:normal}
.door-fit-dialog .door-swatches{margin:0;padding:0;border:0;gap:6px;background:transparent}
.door-fit-dialog .door-swatches button{padding:7px 5px;min-height:32px;font-size:11px}
.door-fit-dialog .door-swatches button[aria-pressed=true]{padding:6px 4px}
.door-fit-dialog .door-swatches i{width:11px;height:11px;flex:none}
.door-fit-dialog .door-popup-footnote{margin:0;font-size:10px;line-height:1.35;color:#617479}
.door-fit-dialog [hidden]{display:none!important}
.door-fit-dialog .door-model-fallback{width:100%;height:100%;object-fit:contain}
.door-fit-dialog .door-render-error{position:absolute;bottom:6px;left:10px;right:10px;font-size:11px;text-align:center;background:#fffddfdb;padding:8px}
@media(max-width:600px){.door-fit-dialog[open]{padding:12px!important;gap:8px!important}.door-fit-dialog .door-modal-head h2{font-size:18px}.door-fit-dialog .door-popup-details{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:10px;align-items:stretch}.door-fit-dialog .door-popup-copy>p{font-size:12px;margin-bottom:8px}.door-fit-dialog .door-popup-price{padding-top:8px;margin-bottom:8px}.door-fit-dialog .door-popup-price strong{font-size:22px}.door-fit-dialog .door-model-controls button{font-size:10px;padding:6px 3px}.door-fit-dialog .door-reference-thumb{width:56px;height:50px}}
.door-fit-dialog.door-popup-compact .door-popup-copy>p{font-size:11px;line-height:1.3;margin-bottom:6px}.door-fit-dialog.door-popup-compact .door-popup-price{padding-top:6px;margin-bottom:5px}.door-fit-dialog.door-popup-compact .door-popup-price strong{font-size:20px}.door-fit-dialog.door-popup-compact .door-popup-scope{font-size:9px}
.door-fit-dialog.door-popup-short .door-popup-details{grid-template-columns:.8fr 1.2fr;grid-template-rows:minmax(0,1fr);gap:10px}.door-fit-dialog.door-popup-short .door-modal-head h2{font-size:16px}.door-fit-dialog.door-popup-short .door-popup-footnote{font-size:9px}.door-fit-dialog.door-popup-short .door-popup-tabs button{padding:6px;font-size:11px;min-height:30px}.door-fit-dialog.door-popup-short .door-model-controls button{min-height:28px;padding:4px;font-size:9px}.door-fit-dialog.door-popup-short .door-swatches button{min-height:28px;padding:4px}.door-fit-dialog.door-popup-short .door-popup-copy>p{font-size:10px;line-height:1.25}.door-fit-dialog.door-popup-short .door-popup-scope{font-size:8px}
