/* v61: keep form controls, purchase flows and text usable on small screens. */
#request-form .form-consent,
#product-help-form .form-consent,
.project-form .contact-consent,
.contacts-form-fields .contacts-consent {
 display:flex;align-items:flex-start;gap:12px;min-width:0;min-height:44px;
 font-size:14px;line-height:1.5;text-align:left;color:#344b42;
}
#request-form .form-consent input[type=checkbox],
#product-help-form .form-consent input[type=checkbox],
.project-form .contact-consent input[type=checkbox],
.contacts-form-fields .contacts-consent input[type=checkbox] {
 display:block;flex:0 0 22px;width:22px;height:22px;min-height:22px;
 margin:1px 0 0;padding:0;accent-color:#087a48;
}
:is(.form-consent,.contact-consent,.contacts-consent)>span{flex:1;min-width:0;overflow-wrap:break-word}
:is(.form-consent,.contact-consent,.contacts-consent) a{color:inherit;text-decoration:underline;text-underline-offset:3px}
:is(#form-result,#help-result,#contact-result,#contacts-result,#legacy-result){overflow-wrap:anywhere;line-height:1.5}
html{scroll-padding-top:calc(var(--site-header-height,150px) + 16px)}
:is(#contact-details,#contacts-form,#greenhouse-picker,#greenhouse-config,#reference-category-heading),
.pdp-reference [id^=pdp-]{scroll-margin-top:0!important}
.store-select-list{min-width:0;overscroll-behavior:contain}
.store-select.opens-up>.store-select-list{top:auto!important;bottom:calc(100% + 6px)}
#filter-apply{display:none}
.cart-quantity{display:grid;gap:4px;min-width:0;font-size:12px;line-height:1.4}
.dialog-actions{display:contents}
@media(max-width:760px){
 html{scroll-padding-bottom:90px}
 input:not([type=checkbox]):not([type=radio]),textarea,select{font-size:16px}
 h1,h2,h3{text-wrap:balance;overflow-wrap:break-word}
 :is(.project-form,.contacts-form-fields) label{min-width:0}
 .cta-reference .project-form .contact-consent{font-size:14px;line-height:1.5;gap:12px}
 #request-form>label:not(.form-consent),#request-form .form-grid label{font-size:14px;line-height:1.5}
 #request-form .primary{width:100%;min-height:48px;font-size:16px;white-space:normal}
 dialog:not(#product-image-dialog){max-height:calc(100dvh - 24px);padding:20px 16px}
 dialog>:is(.close,.dialog-close,.image-dialog-close){position:sticky;top:0;right:auto;float:none;display:block;z-index:5;width:44px;height:44px;min-width:44px;min-height:44px;margin:-6px -2px -38px auto;padding:0;border-radius:50%;background:#fff}
 dialog>.dialog-actions{position:sticky;top:-20px;display:flex;justify-content:flex-end;z-index:10;margin:-12px -8px 6px;padding:4px;background:#fff}
 dialog>.dialog-actions>:is(.close,.dialog-close){position:static!important;display:block;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border-radius:50%;background:#fff}
 #cart-dialog .cart-row{grid-template-columns:minmax(0,1fr) 44px;gap:10px 12px;align-items:start;padding:18px 0}
 #cart-dialog .cart-row>img{display:none}
 #cart-dialog .cart-row>div{grid-column:1/-1;grid-row:1;min-width:0;padding-right:42px}
 #cart-dialog .cart-row h3{font-size:16px;line-height:1.45;margin:0 0 6px;overflow-wrap:break-word;text-wrap:wrap}
 #cart-dialog .cart-row small{display:block;font-size:13px;line-height:1.5}
 #cart-dialog .cart-config{font-size:14px;line-height:1.5;margin:8px 0}
 #cart-dialog .cart-row strong{display:block;font-size:18px;line-height:1.4;margin-top:8px}
 #cart-dialog .cart-row>input{grid-column:1;grid-row:2;width:100px;min-height:44px;font-size:16px}
 #cart-dialog .cart-row>.cart-quantity{grid-column:1;grid-row:2;font-size:14px;width:112px;padding:0}
 #cart-dialog .cart-quantity input{width:100%;min-height:44px;font-size:16px}
 #cart-dialog .cart-row>button{grid-column:2;grid-row:1;min-width:44px;width:44px;height:44px;justify-self:end}
 .catalog-reference .filters{padding:12px!important}
 .catalog-reference .filter-heading h2{display:none}
 .catalog-reference #filter-toggle{width:100%;text-align:left;font-size:16px;min-height:48px}
 .catalog-reference #reset{display:none}
 .catalog-reference .has-active-filters #reset{display:inline-flex;min-height:44px;align-items:center;margin-top:10px;font-size:14px}
 .catalog-reference .filters-open #filter-apply{display:flex;width:100%;justify-content:center;align-items:center;min-height:48px;margin-top:14px;font-size:16px}
 .catalog-reference .reference-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;width:100%}
 .catalog-reference .reference-tools .sort{width:100%;min-width:0;display:block;margin:0;font-size:0}
 .catalog-reference .sort::before,.catalog-reference .sort>svg{display:none}
 .catalog-reference .sort .store-select{width:100%;min-width:0;max-width:none}
 .catalog-reference .sort .store-select summary{font-size:15px;min-height:46px;white-space:normal}
 .catalog-reference .store-select-list{min-width:0;max-width:100%}
 .catalog-reference .reference-compare-toggle,.catalog-reference .reference-priced{font-size:14px;min-height:44px}
 .catalog-reference :is(.reference-compare-toggle,.reference-priced) input{width:20px;height:20px;flex-shrink:0}
 .catalog-reference #selected-filters button{min-height:40px;white-space:normal;text-align:left;overflow-wrap:break-word;font-size:14px}
 .reference-card-compare{min-width:44px;min-height:44px;align-items:center;justify-content:center}
 .reference-card-compare input{width:22px;height:22px}
 .pdp-reference .pdp-gallery .image-note,.pdp-reference .pdp-purchase-note,
 .pdp-reference #kit-quote :is(.kit-sheets,.kit-service-note),
 #greenhouse-config :is(.cover-color-note,.cover-placeholder),
 .sheet-sale-note,.sheet-sale-breakdown .sheet-sale-area{font-size:14px;line-height:1.5}
 .pdp-reference #greenhouse-config .kit-modes>label,.pdp-reference #greenhouse-config .delivery-choice{min-height:44px}
 .pdp-reference .quantity button{min-width:44px;width:44px;min-height:44px}
 .pdp-reference .quantity{display:grid;grid-template-columns:44px minmax(28px,1fr) 44px}
 .pdp-reference .pdp-purchase-row>.primary{font-size:15px;line-height:1.4;min-height:52px}
 .pdp-reference #kit-quote>div{gap:12px;min-width:0}
 .pdp-reference #kit-quote>div>b{overflow-wrap:break-word}
 .pdp-reference #kit-quote .kit-grand-total>b{white-space:nowrap}
 .footer-reference .footer-bottom{padding-bottom:16px;font-size:13px}
}
@media(max-width:380px){
 .pdp-reference .pdp-purchase-row{grid-template-columns:minmax(0,1fr);gap:12px}
 .pdp-reference .quantity{width:144px;max-width:100%}
 .pdp-reference .pdp-purchase-row>.primary{width:100%}
 .pdp-reference #kit-quote .kit-grand-total{flex-wrap:wrap;gap:4px 12px}
 .contacts-inquiry-copy{padding-inline:16px}
 .contacts-reference .contacts-channel strong{font-size:20px;overflow-wrap:anywhere}
}
