
/* NAV-04D — commerce responsive refinement; no changes to commerce or catalog logic. */
@media(max-width:1100px){
 body.store-elevated .catalog-layout,body.store-elevated .catalog-area,body.store-elevated .side,body.store-elevated .toolbar>*{min-width:0;max-width:100%}
 body.store-elevated #catalog .toolbar :is(input,select),body.store-elevated #cat-search{min-height:48px;max-width:100%;font-size:16px!important}
 body.store-elevated .cat-list button,body.store-elevated #filter-details summary{min-height:44px;white-space:normal;overflow-wrap:anywhere}
 body.store-elevated .productgrid .product,body.store-elevated .productgrid .body{min-width:0}
 body.store-elevated .productgrid .product :is(h3,p,.maker,.sku){overflow-wrap:anywhere}
 body.store-elevated .auto-card-purchase-actions :is(a,button){min-height:48px;white-space:normal;overflow-wrap:anywhere}
 body.auto-product-detail.sd-reference .sd-grid>*,body.auto-product-detail.sd-reference .sd-content>*,body.auto-product-detail.sd-reference .sd-tab-panel{min-width:0;max-width:100%}
 body.auto-product-detail.sd-reference .sd-crumb{display:flex;flex-wrap:wrap;gap:6px;overflow-wrap:anywhere}
 body.auto-product-detail.sd-reference .pd-summary :is(h1,.pdp-sku,.sku,.pdp-note,.historical){overflow-wrap:anywhere}
 body.auto-product-detail.sd-reference .pd-buy :is(select,input:not([type=checkbox]):not([type=radio])),body.auto-product-detail.sd-reference .pd-support :is(select,input:not([type=checkbox]):not([type=radio])){min-height:48px;max-width:100%;font-size:16px!important}
 body.auto-product-detail.sd-reference .pd-buy :is(button,.pd-purchase-link),body.auto-product-detail.sd-reference .sd-tabs button{min-height:48px;white-space:normal}
 body.auto-product-detail.sd-reference .pd-details :is(td,th,.fact,.spec-text){overflow-wrap:anywhere}
 body.auto-legacy main :is(.cards,.cats,.categories)>*{min-width:0;overflow-wrap:anywhere}
}
@media(max-width:800px){
 body.store-elevated .catalog-layout{grid-template-columns:minmax(0,1fr)!important;gap:16px}
 body.store-elevated #catalog .toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.store-elevated #catalog .toolbar .field{grid-column:1/-1;min-width:0}
 body.store-elevated #products.productgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 body.store-elevated #filter-details[open] .cat-list{max-height:min(48vh,360px);overflow-y:auto;overscroll-behavior:contain}
 body.store-elevated .activebar{flex-wrap:wrap;gap:10px}
 body.auto-product-detail.sd-reference .sd-layout{width:100%;max-width:100%;box-sizing:border-box;padding-inline:16px!important}
 body.auto-product-detail.sd-reference .sd-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"summary" "gallery" "booking" "detail" "intake"!important;gap:16px}
 body.auto-product-detail.sd-reference .sd-content{grid-template-columns:minmax(0,1fr)!important}
 body.auto-product-detail.sd-reference .pd-gallery .pdp-main-img{max-width:100%}
 body.auto-product-detail.sd-reference .pd-gallery .pdp-main-img>img{object-fit:contain;max-width:100%}
 body.auto-product-detail.sd-reference .pd-details .pdp-section table{display:block;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
 body.auto-product-detail.sd-reference .sd-dialog{max-width:calc(100vw - 24px);max-height:90dvh}
 body.auto-product-detail.sd-reference .sd-dialog img{max-width:100%;max-height:75dvh;object-fit:contain}
 body.auto-legacy main .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.it-store-responsive main .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 body.it-store-responsive main :is(.panel,.item,.notice){min-width:0;overflow-wrap:anywhere}
}
@media(max-width:540px){
 body.store-elevated main.wrapper{padding-inline:12px!important;min-width:0}
 body.store-elevated #catalog .toolbar{grid-template-columns:minmax(0,1fr)!important;padding:12px!important;gap:10px}
 body.store-elevated #products.productgrid{grid-template-columns:minmax(0,1fr)!important;gap:14px}
 body.store-elevated .sf-store-chooser .sf-switch{grid-template-columns:minmax(0,1fr)!important}
 body.store-elevated .sf-store-chooser .sf-switch a{min-height:0;padding:14px}
 body.store-elevated .auto-card-purchase-actions{flex-direction:column}
 body.store-elevated .auto-card-purchase-actions :is(a,button){width:100%;min-height:48px}
 body.auto-product-detail.sd-reference .sd-layout{padding-inline:12px!important}
 body.auto-product-detail.sd-reference .pd-summary h1{font-size:clamp(25px,6.7vw,34px)!important;line-height:1.18!important}
 body.auto-product-detail.sd-reference .sd-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.auto-product-detail.sd-reference .pd-gallery .gallery-list{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.auto-product-detail.sd-reference .pd-gallery .gallery-list button{min-height:44px}
 body.auto-product-detail.sd-reference .pd-buy .automotive-buy-fields{grid-template-columns:minmax(0,1fr)}
 body.auto-legacy main .cards{grid-template-columns:minmax(0,1fr)!important}
 body.auto-legacy main .wrap{width:calc(100% - 24px);max-width:100%;box-sizing:border-box}
 body.it-store-responsive main .grid{grid-template-columns:minmax(0,1fr)}
 body.it-store-responsive main :is(.panel,.item,.notice){padding:18px}
 body.it-store-responsive main .btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;white-space:normal}
}