/* Catalog layout: products first; readable details below. 2026-10-20 */
#allrecords:has(section.vb-p7k-catalog){display:flex;flex-direction:column;}
#allrecords:has(section.vb-p7k-catalog)>.t-rec:has(:is(.t120,.t225)):not(#rec4985716101),
#allrecords:has(section.vb-p7k-catalog)>.t-rec:has(:is(.t120,.t225)):not(#rec4985716101) :is(.t120,.t225,.t-container,.t-col){display:contents!important;}
#allrecords:has(section.vb-p7k-catalog) :is(.t120__title,.t225__title):not(#rec4985716101 *){order:1;box-sizing:border-box;width:calc(100% - 40px);max-width:1360px;margin:24px auto 16px!important;padding:0!important;text-align:left!important;}
#allrecords:has(section.vb-p7k-catalog) :is(.t120__title,.t225__title):not(#rec4985716101 *),
#allrecords:has(section.vb-p7k-catalog) :is(.t120__title,.t225__title):not(#rec4985716101 *) *{font-size:30px!important;line-height:1.2!important;font-weight:600!important;color:#344d38!important;}
#allrecords:has(section.vb-p7k-catalog) :is(.t120__descr,.t225__descr):not(#rec4985716101 *){order:3;box-sizing:border-box;width:calc(100% - 40px);max-width:1200px;margin:32px auto 40px!important;padding:24px 0 0!important;border-top:1px solid #e5e3de;text-align:left!important;}
#allrecords:has(section.vb-p7k-catalog) :is(.t120__descr,.t225__descr):not(#rec4985716101 *),
#allrecords:has(section.vb-p7k-catalog) :is(.t120__descr,.t225__descr):not(#rec4985716101 *) *{font-size:16px!important;line-height:1.65!important;}
#allrecords:has(section.vb-p7k-catalog)>.t-rec:has(section.vb-p7k-catalog){order:2;}
#allrecords:has(section.vb-p7k-catalog) #rec2306195471 .t225__descr{order:1;margin:0 auto 16px!important;padding:0!important;border:0;}
#allrecords:has(section.vb-p7k-catalog)>#rec4985716101{order:4;padding:30px 0 40px!important;}
#rec4985716101 :is(.t225__title,.t225__title *){font-size:24px!important;line-height:1.25!important;color:#344d38!important;}
#rec4985716101 :is(.t225__descr,.t225__descr *){font-size:16px!important;line-height:1.65!important;text-align:left!important;}
section.vb-p7k-catalog{display:flex;flex-direction:column;padding:0!important;}
section.vb-p7k-catalog>#vb-p7k-catalog-root{order:1;box-sizing:border-box;padding:8px 20px 24px!important;width:100%;}
section.vb-p7k-catalog>.vd-seo-products{order:2;box-sizing:border-box;width:calc(100% - 40px);max-width:1360px;margin:16px auto!important;padding:16px 0;border-top:1px solid #e5e3de;font-size:14px;line-height:1.6;}
@media(max-width:640px){
#allrecords:has(section.vb-p7k-catalog) :is(.t120__title,.t225__title):not(#rec4985716101 *){margin:16px auto 12px!important;}
#allrecords:has(section.vb-p7k-catalog) :is(.t120__title,.t225__title):not(#rec4985716101 *),
#allrecords:has(section.vb-p7k-catalog) :is(.t120__title,.t225__title):not(#rec4985716101 *) *{font-size:24px!important;line-height:1.25!important;}
section.vb-p7k-catalog>#vb-p7k-catalog-root{padding-top:4px!important;}
.vb-p7k-catalog__mobile-toggle{margin-bottom:12px!important;}
}

/* Readable product titles, aligned cards and complete button/form labels. 2026-11-01 */
#allrecords .vb-p7k-catalog__card{min-width:0;height:auto}
#allrecords .vb-p7k-catalog__content{display:flex;flex-direction:column;flex:1;min-width:0}
#allrecords .vb-p7k-catalog__name{display:block;-webkit-line-clamp:unset;max-height:none;height:auto;overflow:visible;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
#allrecords .vb-p7k-catalog__content>.vb-p7k-catalog__price{margin-top:auto;padding-top:4px}
#allrecords .vb-p7k-catalog__content>.vb-p7k-catalog__actions{margin-top:0}
#allrecords .vb-p7k-catalog__actions{align-items:stretch}
#allrecords .vb-p7k-catalog__btn{box-sizing:border-box;min-width:0;max-width:100%;height:auto;min-height:48px;white-space:normal;overflow-wrap:anywhere;line-height:1.2}
#allrecords .vb-p7k-detail-info,#allrecords .vb-p7k-detail-info h2{min-width:0;overflow-wrap:anywhere}
#allrecords .vb-popular-materials,#allrecords .vb-popular-materials *,#allrecords .vb-pm-section,#allrecords .vb-pm-section *{box-sizing:border-box}
#allrecords .vb-pm-card{min-width:0;height:auto}
#allrecords .vb-pm-card__title{height:auto;max-height:none;overflow:visible;white-space:normal;overflow-wrap:anywhere}
#allrecords .vb-pm-card__actions{margin-top:auto;align-items:stretch}
#allrecords .vb-pm-card__actions>*{min-width:0;height:auto;white-space:normal;overflow-wrap:anywhere;line-height:1.3}
#allrecords .t-btnflex{box-sizing:border-box;max-width:100%;height:auto;min-height:48px}
#allrecords .t-btnflex__text{min-width:0;max-width:100%;height:auto;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.3;flex-shrink:1}
#allrecords .t-form .t-input-title,#allrecords .t-form .t-input-subtitle,#allrecords .t-form .t-checkbox__control{height:auto;max-height:none;white-space:normal;overflow-wrap:anywhere}
#allrecords .t-form .t-input-block{min-width:0}
#allrecords .t-form .t-submit{box-sizing:border-box;max-width:100%;height:auto;min-height:50px;white-space:normal;overflow-wrap:anywhere;line-height:1.3;padding-top:14px;padding-bottom:14px}
#allrecords .vb-calc__inputs{grid-template-columns:repeat(2,minmax(0,1fr))}
#allrecords .vb-calc__field,#allrecords .vb-calc__selected-card>div{min-width:0}
#allrecords .vb-calc__field input,#allrecords .vb-calc__field select{min-width:0;width:100%;max-width:100%}
#allrecords .vb-calc__selected-title{white-space:normal;overflow-wrap:anywhere}
#allrecords .vb-calc__selected-card img{flex-shrink:0}
#allrecords .vb-calc__result-row{gap:12px;flex-wrap:wrap}
#allrecords .vb-btn-calc{min-height:52px;height:auto;padding:12px 14px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;text-align:center}
#allrecords .vb-pm-detail-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#allrecords .vb-pm-detail-title{overflow-wrap:anywhere}
@media(min-width:769px) and (max-width:1200px){#allrecords .vb-p7k-catalog__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){#allrecords .vb-pm-detail-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){#allrecords .vb-calc__inputs{grid-template-columns:minmax(0,1fr)}#allrecords .vb-calc__grid-select{grid-template-columns:minmax(0,1fr)}}

/* The animated mascot leaves the viewport without widening the home page. */
html:has(#vd-beaver),body:has(>#vd-beaver){overflow-x:clip}

/* Keep short button labels on one line and give longer house CTAs enough room. */
#allrecords .vb-p7k-catalog__btn--call{padding-left:5px;padding-right:5px;white-space:nowrap;overflow-wrap:normal}
#allrecords .vb-p7k-catalog__btn--calc{padding-left:8px;padding-right:8px;overflow-wrap:normal}
#rec4586480201 .vb-p7k-catalog__actions{grid-template-columns:minmax(0,1fr)}
#rec4375417401 .t1241__buttons{align-items:stretch}
@media(max-width:640px){
#rec4375417401 .t1241__buttons{display:flex;flex-direction:column;gap:12px}
#rec4375417401 .t1241__buttons .t-btnflex{width:100%;flex:none;margin:0!important}
}

/* Product detail actions share equal columns; price and currency stay together. */
#allrecords .vd-product-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
#allrecords .vd-product-actions a,#allrecords .vd-product-actions button{box-sizing:border-box;width:100%;min-width:0;min-height:52px;height:auto;padding:12px 16px;white-space:normal;overflow-wrap:anywhere;line-height:1.3;text-align:center}
#allrecords .t-store__prod-popup__price-wrapper{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:baseline}
#allrecords .t-store__prod-popup__price-item{display:inline-flex;align-items:baseline;gap:.25em;white-space:nowrap}
@media(max-width:640px){#allrecords .vd-product-actions{grid-template-columns:minmax(0,1fr)}}

#rec4375417401 .t1241__buttons .t-btnflex{padding:14px 16px;min-height:56px}
