/* 3.2.8: keep the primary task first in reading, keyboard and visual order. */
.rv-menu-toggle{display:none}
.rv-content .rv-home-finder{padding-top:20px;padding-bottom:20px}
.rv-home-finder .rv-finder{margin:0}
.rv-home-finder .rv-finder h2{margin-top:0}
.rv-home-finder .rv-finder p{margin-bottom:0}
@media(max-width:850px){
 .header.rv-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}
 .rv-header .navUser.rv-utility{flex:0 0 100%;padding:0 12px;min-height:44px}
 .rv-header .rv-utility .navUser-section--alt{gap:8px 16px;justify-content:flex-end}
 .rv-header .rv-utility .navUser-action{min-height:44px;padding:6px 2px}
 .rv-header .rv-brand{padding:4px 16px;justify-content:flex-start}
 .rv-header .rv-brand img{display:block;width:60px;height:60px}
 .rv-header.rv-menu-ready .rv-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;margin:8px 16px;padding:10px 16px;background:#ffbd16;color:#111;border:1px solid #ffbd16;border-radius:4px;font-size:16px;font-weight:700;cursor:pointer}
 .rv-header.rv-menu-ready .rv-nav{display:none}
 .rv-header.rv-menu-ready.rv-menu-open .rv-nav,.rv-header:not(.rv-menu-ready) .rv-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:6px;padding:8px 12px}
 .rv-header .rv-nav>a{min-height:44px;padding:8px;font-size:14px;overflow-wrap:anywhere}
 .rv-header .rv-nav>a[href='/request-a-quote/']{padding:8px}
 .rv-menu-toggle:focus-visible{outline:3px solid white;outline-offset:3px}
 .rv-tagline{display:none}
 .rv-content .rv-home-finder{padding:16px}
 .rv-home-finder .rv-finder{padding:16px}
 .rv-home-finder .rv-finder h2{font-size:24px;line-height:1.2;margin-bottom:16px}
 .rv-content .rv-home-finder .rv-finder form{grid-template-columns:minmax(0,1fr);gap:12px}
 .rv-content .rv-home-finder .rv-finder label{font-size:16px;line-height:1.4;margin-bottom:4px}
 .rv-content .rv-home-finder .rv-finder input{font-size:16px;min-height:46px;margin-bottom:0}
 .rv-home-finder .rv-finder button[type=submit]{min-height:48px;width:100%;white-space:normal}
 .rv-home-finder .rv-finder p{font-size:13px;line-height:1.5;margin-top:12px}
 .rv-product-page{padding-top:8px}
 .rv-product-crumb{margin:12px auto;font-size:12px}
 .rv-showroom-product.productView{grid-template-columns:minmax(0,1fr);gap:20px}
 /* 3.2.10: outrank the legacy three-class square-image selector. */
 .rv-showroom-product.productView .rv-carousel .rv-search-image{aspect-ratio:auto;height:260px;height:clamp(180px,32vh,280px)}
 .rv-showroom-product .rv-search-image img{display:block;object-fit:contain}
 .rv-showroom-product .productView-image{min-height:0;height:260px;height:clamp(180px,32vh,280px)}
 .rv-showroom-product .productView-image::after{display:none}
 .rv-showroom-product .productView-img-container{height:100%;max-height:280px}
 .rv-showroom-product .productView-img-container img{max-height:100%;object-fit:contain}
 .rv-showroom-product .rv-gallery-thumbs{padding:8px;gap:8px}
 .rv-showroom-product .rv-gallery-thumbs button{flex-basis:52px;min-height:52px}
 .rv-showroom-product .rv-gallery-thumbs img{width:44px;height:44px}
 .rv-showroom-product .productView-title{font-size:30px;line-height:1.15;letter-spacing:-.5px;margin:8px 0 12px;overflow-wrap:anywhere}
 .rv-showroom-product .productView-price{margin:12px 0 8px}
 .rv-showroom-product [data-product-option-change] .form-field{margin:16px 0}
}
@media(prefers-reduced-motion:reduce){.rv-header .rv-nav>a{transition:none}}

/* Quote request fields: preserve storefront styling and accessible touch controls. */
.rv-quote-layout .form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin:0;gap:0 20px}
.rv-quote-layout .form-row>.form-field{width:100%;min-width:0;padding:0}
.rv-quote-layout .form-row>.rv-full{grid-column:1/-1}
.rv-quote-layout .form-input{min-height:48px;font-size:16px;border-radius:0}
.rv-quote-layout .rv-quantity-control{display:flex;min-width:0}
.rv-quote-layout .rv-quantity-control input{min-width:0;text-align:center;border-left:0;border-right:0;-moz-appearance:textfield}
.rv-quote-layout .rv-quantity-control input::-webkit-inner-spin-button{appearance:none}
.rv-quote-layout .rv-quantity-control button{flex:0 0 48px;min-height:48px;background:#242424;color:#fff;border:1px solid #515151;font-size:24px;cursor:pointer}
.rv-quote-layout .selection-summary{white-space:pre-line;overflow-wrap:anywhere;font-size:14px}
@media(max-width:600px){.rv-quote-layout .form-row{grid-template-columns:minmax(0,1fr)}.rv-quote-layout>div{min-width:0}}

.rv-support-layout .form-select{width:100%;min-height:48px;font-size:16px;background-color:#242424;color:#fff;border:1px solid #515151;border-radius:0}
.rv-support-layout textarea.form-input{min-height:140px;resize:vertical}
.rv-support-layout .rv-support-success{padding:30px;background:#171717;border:1px solid #393939}
.rv-support-layout h1{overflow-wrap:anywhere}
.rv-support-layout .form-input:focus,.rv-support-layout .form-select:focus{outline:2px solid #ffbd16;outline-offset:3px}
@media(max-width:600px){.rv-support-layout h1{font-size:36px}.rv-support-layout form{padding:20px}.rv-support-layout .form-row{display:grid;grid-template-columns:minmax(0,1fr)}}

/* Bold confirmation action across all support forms. */
.rv-support-layout .rv-support-success a.button.button--primary{font-weight:700;}

/* 3.2.14: modestly larger quote and support field labels. */
.rv-quote-layout form[data-contact-form] .form-row .form-field > label.form-label{font-size:18px;line-height:1.4;margin-bottom:8px;}
