
/* DREWNOPLAST REX UPDATE 28 — FINAL */
.rex28-portrait-window-cards .board20-profile-grid{align-items:stretch}
.rex28-portrait-window-cards .board20-profile-thumb{height:auto!important;aspect-ratio:2/3!important;padding:24px!important;background:#f5f5f2!important}
.rex28-portrait-window-cards .board20-profile-thumb img{width:100%!important;height:100%!important;object-fit:contain!important}
.rex28-portrait-rolety-cards .category-product-card .thumb{height:auto!important;aspect-ratio:2/3!important;background:#f4f4f1!important;display:grid;place-items:center}
.rex28-portrait-rolety-cards .category-product-card .thumb img{width:100%!important;height:100%!important;object-fit:contain!important}
.board20-specs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:min(1320px,calc(100% - 48px))!important;margin:25px auto 80px!important;border-top:1px solid #ddd!important;border-left:1px solid #ddd!important;overflow:hidden}
.board20-spec{min-width:0!important;padding:22px!important;border-right:1px solid #ddd!important;border-bottom:1px solid #ddd!important;background:#fff}
.board20-spec strong{display:block!important;overflow-wrap:anywhere}
.rex28-info-section,.rex28-source-section,.rex28-door-intro{padding-top:30px;padding-bottom:90px}
.rex28-info-head{max-width:840px;margin-bottom:30px}.rex28-info-head h2,.rex28-source-copy h2,.rex28-door-intro h2{font-size:clamp(34px,4vw,56px);line-height:1.02;letter-spacing:-.035em;margin:12px 0 18px}.rex28-info-head p,.rex28-source-copy p,.rex28-door-intro p{color:#666;line-height:1.75;max-width:780px}
.rex28-compare-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.rex28-compare-grid article{border:1px solid #e2e2df;padding:26px;background:#fafaf8}.rex28-compare-grid h3{font-size:18px;margin:0 0 12px}.rex28-compare-grid p{color:#6c6c69;line-height:1.65;margin:0}.rex28-source-note{margin:18px 0 0;color:#777;font-size:13px;line-height:1.65}
.rex28-source-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.85fr);gap:60px;align-items:center}.rex28-source-copy h3{font-size:15px;margin:28px 0 12px}.rex28-source-copy ul{padding-left:20px;color:#555;line-height:1.8}.rex28-source-visual{margin:0;background:#f4f4f1;min-height:390px;display:grid;place-items:center;padding:28px;overflow:hidden}.rex28-source-visual img{display:block;max-width:100%;max-height:520px;width:auto;height:auto;object-fit:contain}
.rex28-door-intro{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:50px;align-items:end}.rex28-catalog-card{border:1px solid #ddd;padding:28px;text-decoration:none;color:inherit;display:flex;align-items:center;justify-content:space-between;min-height:112px;background:#fafaf8}.rex28-catalog-card span{font-weight:650}.rex28-catalog-card b{font-size:12px;letter-spacing:.06em}
.rex28-gates-grid .copy p{font-size:13px;line-height:1.6;color:#727272;margin:10px 0 16px}.rex28-gate-thumb img{object-fit:cover!important}
.rex28-configurator-embed{background:#fff;padding:0;margin:0}.rex28-configurator-embed .shell{max-width:1580px;margin:0 auto;padding:0}.rex28-configurator-frame{display:block;width:100%;height:1460px;border:0;background:#fff;overflow:hidden}
@media(max-width:1080px){.rex28-configurator-frame{height:1750px}.board20-specs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rex28-source-section{grid-template-columns:1fr;gap:28px}.rex28-door-intro{grid-template-columns:1fr}.rex28-compare-grid{grid-template-columns:1fr}}
@media(max-width:820px){.rex28-configurator-frame{height:2100px}.rex28-source-visual{min-height:300px}.rex28-portrait-window-cards .board20-profile-thumb,.rex28-portrait-rolety-cards .category-product-card .thumb{aspect-ratio:4/5!important}}
@media(max-width:560px){.board20-specs{grid-template-columns:1fr!important;width:calc(100% - 36px)!important}.rex28-configurator-frame{height:2450px}.rex28-info-section,.rex28-source-section,.rex28-door-intro{padding-bottom:60px}.rex28-source-visual{padding:18px;min-height:240px}}


/* REX30 configurator embed height tuning */
.rex28-configurator-frame{height:1240px;min-height:0!important}.rex28-configurator-embed{margin-bottom:0!important;padding-bottom:0!important}@media(max-width:1080px){.rex28-configurator-frame{height:1560px}}@media(max-width:820px){.rex28-configurator-frame{height:1940px}}@media(max-width:560px){.rex28-configurator-frame{height:2260px}}


/* REX34 portrait entrance door cards */
.rex34-portrait-door-cards .category-visual-grid{align-items:stretch}
.rex34-portrait-door-cards .category-product-card{height:100%}
.rex34-portrait-door-cards .category-product-card .thumb{height:auto!important;aspect-ratio:2/3!important;background:#f5f5f2!important;display:grid!important;place-items:center!important;padding:22px!important;overflow:hidden!important}
.rex34-portrait-door-cards .category-product-card .thumb img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;display:block!important}
@media(max-width:820px){.rex34-portrait-door-cards .category-product-card .thumb{aspect-ratio:4/5!important;padding:18px!important}}
