/* Demo additions only: the category's own styles remain untouched. */
#glrq-quiz-actions{display:flex;gap:12px;align-items:stretch;margin:0 0 20px}#glrq-quiz-actions>.stroykt-roof-viz-button{flex:1;margin:0;min-width:0}#glrq-quiz-actions>#glrq-open{flex:0 0 220px;border-radius:4px;padding:14px 22px;font:inherit;cursor:pointer}#glrq-visualizer-note,#glrq-products{margin:12px 0 20px}#glrq-products{outline:none}#glrq-products h2{font-size:22px;margin:0 0 8px}#glrq-products p{margin:0}#glrq-dialog [hidden],#glrq-products[hidden],#glrq-visualizer-note[hidden]{display:none!important}
#glrq-dialog{--wine:currentColor;--ink:#333;width:min(700px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:8px;color:var(--ink);font:inherit;font-size:16px;line-height:1.5;box-shadow:0 20px 100px #0004}#glrq-dialog::backdrop{background:#17101999}#glrq-dialog *{box-sizing:border-box}#glrq-dialog button,#glrq-dialog input{font:inherit}#glrq-dialog button{cursor:pointer;min-height:46px;border-radius:4px;padding:11px 18px}#glrq-dialog button:disabled{cursor:default;opacity:.5}#glrq-dialog button:focus-visible,#glrq-dialog a:focus-visible,#glrq-dialog input:focus-visible,#glrq-open:focus-visible{outline:3px solid #b26a28;outline-offset:3px}#glrq-dialog h2{font-size:28px;line-height:1.2;margin:12px 0 18px}#glrq-dialog h3{font-size:20px}#glrq-dialog .glrq-eyebrow{font-size:12px;font-weight:700;letter-spacing:.15em;color:var(--wine)}#glrq-dialog .glrq-note,#glrq-visualizer-note{font-size:13px;color:#696469}#glrq-dialog .glrq-actions{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0 4px}#glrq-dialog .glrq-modal{position:relative;padding:36px}#glrq-dialog .glrq-close{position:absolute;right:12px;top:10px;background:transparent;border:0;font-size:28px!important;padding:0!important;width:44px;color:#64535a}#glrq-dialog #glrq-progress{padding-right:40px}#glrq-dialog #glrq-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}#glrq-dialog .glrq-option{display:flex;align-items:center;gap:10px;text-align:left;background:#fff;border:1px solid #ddd6d9;padding:14px;min-height:68px}#glrq-dialog .glrq-option[aria-checked=true]{border:2px solid var(--wine);background:#fbf4f6;padding:13px}#glrq-dialog .glrq-option img{width:88px;height:62px;object-fit:contain}#glrq-dialog .glrq-option span{display:block}#glrq-dialog .glrq-option small{display:block;color:#756d72;font-size:12px}#glrq-dialog #glrq-message{min-height:24px;font-size:13px;color:var(--wine)}#glrq-dialog #glrq-results>.glrq-primary,#glrq-dialog #glrq-results>.glrq-secondary{margin:5px 5px 5px 0}#glrq-dialog hr{border:0;border-top:1px solid #e6dfe2;margin:28px 0}#glrq-dialog form{padding-top:18px}#glrq-dialog input[type=tel]{display:block;width:100%;padding:12px;border:1px solid #c4b8bd;border-radius:4px;margin:6px 0 16px}#glrq-dialog .glrq-consent{display:flex;align-items:flex-start;gap:8px;font-size:13px}#glrq-dialog input[type=checkbox]{width:18px;height:18px;flex-shrink:0}body[data-glrq-demo] #right_block_ajax [data-glrq-inert]{cursor:default}body[data-glrq-demo] .glrq-native-mobile-filter-close{display:none}
@media(max-width:540px){#glrq-quiz-actions{gap:8px;flex-direction:column}#glrq-quiz-actions>#glrq-open{flex:auto;min-height:46px}#glrq-dialog{width:100%;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}#glrq-dialog .glrq-modal{padding:58px 20px 24px}#glrq-dialog #glrq-options{grid-template-columns:1fr 1fr}#glrq-dialog .glrq-option{padding:12px;flex-direction:column;align-items:flex-start}#glrq-dialog .glrq-option[aria-checked=true]{padding:11px}#glrq-dialog h2{font-size:25px}#glrq-dialog .glrq-actions>*{flex:1;white-space:normal}#glrq-dialog #glrq-show,#glrq-dialog #glrq-phone-open{width:100%}}
@media(max-width:950px){body[data-glrq-demo].glrq-native-filter-open .left_block{display:block!important;position:fixed!important;z-index:2001!important;left:0!important;top:0!important;width:min(340px,100vw)!important;height:100dvh!important;overflow:auto!important;background:#fff!important;padding:18px!important}body[data-glrq-demo].glrq-native-filter-open .glrq-native-mobile-filter-close{display:block}body[data-glrq-demo].glrq-native-filter-open .left_block>.stroykt-global-desktop-catalog-sidebar{display:none}}@media(max-width:950px){body[data-glrq-demo].glrq-native-filter-open .filter_wrapper_left>.bx_filter{display:block!important}}
@media(max-width:950px){body[data-glrq-demo].glrq-native-filter-open .left_block{top:67px!important;height:calc(100dvh - 67px)!important}body[data-glrq-demo] .glrq-native-mobile-filter-close{margin-bottom:12px}}
@media(max-width:950px){body[data-glrq-demo].glrq-native-filter-open .glrq-native-mobile-filter-close{display:block!important;visibility:visible!important;position:relative;min-height:40px}}
#glrq-dialog{position:fixed;inset:0;margin:auto}@media(max-width:540px){#glrq-dialog{margin:0}}

/* Refinement is confined to the demo quiz. Original images are unchanged. */
#glrq-dialog .glrq-selected{padding:0;margin:32px 0 0;color:#666;font-size:13px;overflow-wrap:anywhere}
#glrq-dialog .glrq-modal:has(.glrq-selected){padding-top:1px}
#glrq-dialog #glrq-options[data-field=type]{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
#glrq-dialog #glrq-options[data-field=type] .glrq-option{flex-direction:column;align-items:stretch;min-width:0;min-height:170px}
#glrq-dialog .glrq-profile-image{display:flex;width:100%;height:116px;align-items:center;justify-content:center;background:#fff;flex-shrink:0}
#glrq-dialog .glrq-profile-image img{display:block;width:100%;height:100%;object-fit:contain;filter:grayscale(1);transform:none}
#glrq-dialog .glrq-filter-link{margin:20px 0;font-size:13px}
#glrq-dialog .glrq-filter-link summary{cursor:pointer}
#glrq-dialog #glrq-filter-url{display:block;white-space:normal;overflow-wrap:anywhere;color:#555;background:#f7f7f7;padding:12px;max-height:150px;overflow:auto}
#glrq-dialog #glrq-change{display:block;margin-top:12px}
#glrq-dialog #glrq-phone-form{border-top:1px solid #ddd;margin-top:24px}
#glrq-dialog .glrq-consent{flex-wrap:wrap}
@media(max-width:540px){#glrq-dialog .glrq-selected{padding:0;margin:58px 0 20px}#glrq-dialog #glrq-options[data-field=type]{grid-template-columns:repeat(2,minmax(0,1fr))}#glrq-dialog .glrq-profile-image{height:105px}#glrq-dialog #glrq-options[data-field=type] .glrq-option{min-height:168px}#glrq-dialog .glrq-option span{overflow-wrap:anywhere}}

/* Quiz state and gamma cards: isolated from the native category. */
#glrq-dialog[data-glrq-stage="questions"] #glrq-results,#glrq-dialog[data-glrq-stage="questions"] #glrq-phone-form,#glrq-dialog[data-glrq-stage="results"] #glrq-questions{display:none!important}
#glrq-dialog #glrq-options[data-field="type"]{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#glrq-dialog #glrq-options .glrq-family-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;min-height:124px;text-align:left;white-space:normal;border-radius:6px;gap:10px}
#glrq-dialog .glrq-family-swatch{display:block;width:100%;height:42px;flex-shrink:0;border-radius:3px;border:1px solid #0002;background:#ddd}
#glrq-dialog .glrq-family-card>span:last-child{font-size:15px;line-height:1.35}
#glrq-dialog .glrq-family-card small{margin-top:3px}
/* Illustrative gamma samples only; never used for catalog classification. */
#glrq-dialog [data-gamma="серая"] .glrq-family-swatch{background:#7c8188}
#glrq-dialog [data-gamma="коричневая"] .glrq-family-swatch{background:#6b4635}
#glrq-dialog [data-gamma="черная"] .glrq-family-swatch{background:#2d2e31}
#glrq-dialog [data-gamma="бежевая"] .glrq-family-swatch{background:#cbb797}
#glrq-dialog [data-gamma="белая"] .glrq-family-swatch{background:#f1f1ec}
#glrq-dialog [data-gamma="красная"] .glrq-family-swatch{background:#b3433b}
#glrq-dialog [data-gamma="синяя"] .glrq-family-swatch{background:#406c93}
#glrq-dialog [data-gamma="зеленая"] .glrq-family-swatch{background:#527b58}
#glrq-dialog [data-gamma="желтая"] .glrq-family-swatch{background:#d7bb5b}
#glrq-dialog [data-gamma="оранжевая"] .glrq-family-swatch{background:#d38a48}
@media(max-width:540px){#glrq-dialog #glrq-options[data-field="type"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#glrq-dialog #glrq-options .glrq-family-card{min-height:116px;gap:8px}#glrq-dialog .glrq-family-swatch{height:38px}#glrq-dialog .glrq-family-card>span:last-child{font-size:14px}}

/* One-tap demo catalog and its only active phone form. */
#glrq-dialog .glrq-option{transition:border-color 80ms,background-color 80ms}
#glrq-dialog .glrq-option.glrq-picked{box-shadow:0 0 0 2px var(--wine)}
#glrq-products{padding:16px 0 18px;border-bottom:1px solid #e5e5e5}
#glrq-products .glrq-catalog-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
#glrq-products .glrq-catalog-bar>div{flex:1;min-width:180px}
#glrq-products #glrq-catalog-summary{font-weight:500;color:#333;margin:0 0 4px}
#glrq-products #glrq-product-count{font-size:13px;color:#888}
#glrq-products .glrq-text-button{border:0;background:none;color:#b82945;text-decoration:underline;padding:10px 0;cursor:pointer;font:inherit}
#glrq-products .glrq-filter-link{margin-top:10px;font-size:12px}
#glrq-products #glrq-filter-url{display:block;white-space:normal;overflow-wrap:anywhere;padding:10px;color:#666}
#glrq-lead-dialog{position:fixed;inset:0;margin:auto;width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:8px;font:inherit;line-height:1.5;color:#333;background:white;box-shadow:0 20px 100px #0004}
#glrq-lead-dialog::backdrop{background:#17101999}
#glrq-lead-dialog .glrq-lead-body{position:relative;padding:36px}
#glrq-lead-dialog *{box-sizing:border-box}
#glrq-lead-dialog .glrq-close{position:absolute;right:12px;top:10px;background:none;border:0;cursor:pointer;font-size:28px;width:40px;height:40px;color:#64535a}
#glrq-lead-dialog h2{font-size:25px;line-height:1.25;margin:10px 0 18px}
#glrq-lead-dialog input[type=tel]{display:block;width:100%;padding:12px;border:1px solid #c4b8bd;border-radius:4px;margin:6px 0 18px;font:inherit}
#glrq-lead-dialog .glrq-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;margin-bottom:18px}
#glrq-lead-dialog input[type=checkbox]{width:18px;height:18px;flex-shrink:0;margin-top:2px}
#glrq-lead-dialog .glrq-note{font-size:12px;color:#777;margin-top:12px}
#glrq-lead-dialog button[type=submit]{min-height:46px;width:100%}
#glrq-lead-dialog #glrq-phone-status{font-size:13px}
@media(max-width:540px){#glrq-products .glrq-catalog-bar>div{flex-basis:100%}#glrq-products #glrq-catalog-calculate{width:100%;min-height:46px}#glrq-lead-dialog{top:auto;bottom:0;width:100%;max-width:100vw;margin:0;border-radius:12px 12px 0 0;max-height:95dvh}#glrq-lead-dialog .glrq-lead-body{padding:36px 20px 24px}}
@media(prefers-reduced-motion:reduce){#glrq-dialog .glrq-option{transition:none}}

/* Accepted visual design, scoped to this demo dialog only. */
#glrq-dialog{width:min(1000px,calc(100% - 48px));height:fit-content;background:#fff;overflow:auto}
#glrq-dialog .glrq-modal:has(.glrq-selected){padding:28px 32px 24px}
#glrq-dialog .glrq-window-title{font-size:26px;margin:0 48px 14px 0;line-height:1.3}
#glrq-dialog .glrq-selected{font-size:14px;margin:0 0 14px;line-height:1.5}
#glrq-dialog #glrq-progress{font-size:14px;letter-spacing:0;text-transform:none;color:#777;font-weight:500;padding:0;margin:0 0 22px;display:flex;gap:8px;flex-wrap:wrap}
#glrq-dialog #glrq-progress [aria-current=step]{color:var(--wine);font-weight:700}
#glrq-dialog #glrq-title{font-size:24px;margin:0 0 10px;line-height:1.3}
#glrq-dialog #glrq-hint{font-size:16px;margin:0 0 6px;color:#444}
#glrq-dialog #glrq-description{font-size:14px;margin:0;color:#666;line-height:1.5}
#glrq-dialog #glrq-options[data-field=type]{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:20px}
#glrq-dialog #glrq-options .glrq-family-card{min-height:126px;padding:14px;gap:12px}
#glrq-dialog .glrq-family-swatch{height:48px}
#glrq-dialog .glrq-family-card>span:last-child,#glrq-dialog .glrq-option{font-size:16px;line-height:1.4}
#glrq-dialog .glrq-option:hover:not(:disabled){border-color:var(--wine);background:#fcf7f8}
#glrq-dialog .glrq-option[aria-checked=true]{padding:13px}
#glrq-dialog #glrq-options[data-field=type]{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
#glrq-dialog .glrq-actions{margin:18px 0 0}
#glrq-dialog .glrq-dismiss{border:0;background:transparent;color:#666;text-decoration:underline;padding-left:0}
#glrq-dialog #glrq-message{font-size:14px;min-height:0;margin:12px 0 0}
#glrq-dialog #glrq-message:empty{display:none}
#glrq-dialog .glrq-close{top:14px;right:14px;z-index:1}
#glrq-lead-dialog .glrq-consent,#glrq-lead-dialog .glrq-note{font-size:14px}
@media(min-width:541px) and (max-width:900px){#glrq-dialog #glrq-options[data-field=type]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){
#glrq-dialog{width:100%;max-width:100vw;height:auto;max-height:100dvh;margin:auto 0;border-radius:0}
#glrq-dialog .glrq-modal:has(.glrq-selected){padding:24px 18px}
#glrq-dialog .glrq-window-title{font-size:24px;margin-right:42px}
#glrq-dialog #glrq-title{font-size:22px}
#glrq-dialog #glrq-progress{font-size:14px;gap:4px;margin-bottom:18px}
#glrq-dialog #glrq-options[data-field=type],#glrq-dialog #glrq-options[data-field=type]{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#glrq-dialog #glrq-options .glrq-family-card{min-height:120px;padding:12px}
#glrq-dialog .glrq-family-card>span:last-child{font-size:16px}
#glrq-dialog .glrq-actions>*{flex:initial}
#glrq-dialog .glrq-profile-image{height:105px}
}

#glrq-dialog{--wine:#a91f42!important}

/* Falts candidate: text choices; no metal-tile profile art. */
#glrq-dialog #glrq-options{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
@media(max-width:540px){#glrq-dialog #glrq-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
#glrq-dialog #glrq-options[data-field=type] .glrq-option{min-height:68px;justify-content:center}

#glrq-dialog #glrq-options[data-field=type] .glrq-profile-image img{filter:grayscale(1);object-fit:contain}

.stroykt-falts-type-chips{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.stroykt-falts-type-chips a{display:block;padding:10px 14px;border:1px solid #ddd;border-radius:6px;color:#333;text-decoration:none;line-height:22px}
.stroykt-falts-type-chips a[aria-current=page]{border-color:#a91f42;color:#a91f42}
.stroykt-falts-type-comparison table{width:100%;min-width:720px;border-collapse:collapse;font-size:14px;line-height:1.5}
.stroykt-falts-type-comparison th,.stroykt-falts-type-comparison td{border:1px solid #e5e5e5;padding:12px;text-align:left;vertical-align:top}
@media(max-width:767px){.stroykt-falts-type-chips{flex-wrap:nowrap;overflow-x:auto;padding:0 0 6px}.stroykt-falts-type-chips a{flex:0 0 auto;white-space:nowrap}}

/* Section559: single full-width lower calculation CTA. */
.brand-page__calculation:has(button[data-falts-calculate]){flex-wrap:wrap}
.brand-page__calculation:has(button[data-falts-calculate]) .brand-page__calculation-content{flex-basis:100%}
.brand-page__calculation:has(button[data-falts-calculate]) .brand-page__calculation-action{flex:0 0 100%;width:100%;max-width:100%}
.brand-page__calculation-action>button[data-falts-calculate]{display:block;box-sizing:border-box;width:100%;height:54px;min-height:54px;max-height:54px;white-space:nowrap;text-align:center;margin:0}

/* Section559 selection button: approved outline style, text only. */
#glrq-quiz-actions #glrq-open{display:block;box-sizing:border-box;width:100%;min-height:56px;padding:13px 18px;border:1px solid #bd1f3c;border-radius:9px;background:#fff;color:#bd1f3c;font-size:16px;font-weight:600;line-height:1.4;text-align:center;white-space:normal;box-shadow:none}
#glrq-quiz-actions #glrq-open:hover,#glrq-quiz-actions #glrq-open:focus-visible{background:#fcf7f8;color:#a91f42;border-color:#a91f42}

.gl-related__grid > button.button[data-falts-calculate] {
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:5px;
  box-sizing:border-box; align-self:stretch; width:100%; max-width:none; min-width:0;
  height:auto; min-height:54px; max-height:none; margin:0; padding:14px 16px;
  white-space:normal; text-align:left; text-transform:none; line-height:1.35;
}
.gl-related__grid > button.button[data-falts-calculate] > strong,
.gl-related__grid > button.button[data-falts-calculate] > span {
  display:block; color:inherit; font-family:inherit; line-height:1.35; white-space:normal;
}
.gl-related__grid > button.button[data-falts-calculate] > strong {font-size:16px;font-weight:700}
.gl-related__grid > button.button[data-falts-calculate] > span {font-size:14px;font-weight:400}
