/* V22: responsive overrides only; desktop above 1024px unchanged. */
@media(max-width:1024px){
header{position:relative;padding:12px 4%;gap:12px}header nav{order:3;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}header nav a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:6px;border:1px solid #dce2e6;overflow-wrap:anywhere}header>div{display:flex;align-items:center;gap:6px;max-width:100%;flex-wrap:wrap}header select,header button{min-height:44px;max-width:100%;font-size:14px;padding:8px 10px}header .brand{min-width:0}header .brand img{width:64px;height:48px}header .brand strong{font-size:17px;letter-spacing:1px}header .brand small{letter-spacing:1px}section{padding:36px 4%}h2{font-size:30px;overflow-wrap:anywhere}h1{overflow-wrap:anywhere}img,video,iframe{max-width:100%}.hero{height:auto;min-height:0;grid-template-columns:1fr;grid-template-rows:auto auto}.hero .copy{padding:32px 5%;min-width:0}.hero .copy h1{font-size:clamp(32px,5vw,48px)}.hero .hero-frame .hero-visual{height:auto;min-height:0;object-fit:contain}.hero-actions a,.hero-actions button{min-height:44px;text-align:center}.category-grid,.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category,article{min-width:0;overflow-wrap:anywhere}.category{padding:16px;min-height:150px}.category h3{font-size:21px}.category .cat-arrow{top:8px;right:10px}.about-layout{grid-template-columns:1fr;gap:20px}.video-slot{padding:18px 12px}.video-slot video{height:auto;max-height:70vh}dialog{max-width:94vw;max-height:90vh;max-height:90dvh;overflow:auto;padding:16px}dialog h2{font-size:25px}dialog input,dialog textarea,dialog select{font-size:16px}dialog button,article button{min-height:44px}#cart{padding-inline-start:0}#cart li{overflow-wrap:anywhere}#cart li strong{min-width:0}#cart li input{margin:0}#cart li select{min-width:0}footer{overflow-wrap:anywhere}main{min-width:0}section>*{max-width:100%}
}
@media(max-width:480px){header>div{width:100%;justify-content:space-between}header .quote-cart{flex:1}header nav{font-size:13px;gap:5px}header .brand strong{font-size:16px}.hero-actions>*{width:100%}.category h3{font-size:18px}.category{padding:12px;min-height:145px}.category span{font-size:12px}article div{padding:10px}article h3{font-size:15px}article button{font-size:13px;padding:8px 5px}.steps div{flex-basis:100%}#cart li{display:grid!important;grid-template-columns:64px minmax(0,1fr) minmax(0,1fr);gap:8px!important}#cart li strong{grid-column:span 2}#cart li input{width:100%!important}#cart li select,#cart li button{width:100%;padding:8px 4px;font-size:14px}#cart li:has(img) input{grid-column:1}#cart li:not(:has(img)){display:flex!important}body:has(#items) main{padding:12px}body:has(#items) section{padding:12px}body:has(#items) .grid{grid-template-columns:1fr}input[type=file]{max-width:100%}}

/* V42: phone/tablet refinements; desktop remains unchanged. */
@media(max-width:1024px){
 header{flex-wrap:wrap;box-sizing:border-box} header nav{min-width:0;flex-basis:100%} header nav a{white-space:normal;line-height:1.25} header>div{min-width:0} header .brand span{min-width:0} header .brand small{white-space:normal}
 .ex-hero,.ex-markets,.ex-contact{box-sizing:border-box;min-width:0;overflow-wrap:anywhere} .ex-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important} .ex-card{min-width:0;overflow-wrap:anywhere} .ex-hero img,.ex-hero svg{max-width:100%;height:auto} .request-band{flex-wrap:wrap;gap:12px} .request-band>*{min-width:0;max-width:100%}
 dialog{box-sizing:border-box;max-inline-size:94vw;margin:auto} dialog input,dialog select,dialog textarea{box-sizing:border-box;max-width:100%} .pd-layout>*{min-width:0} .pd-order button{min-height:48px;white-space:normal} .pd-order input,.pd-order select{font-size:16px} .pd-photo img{max-height:48dvh} .pd-info{overflow-wrap:anywhere}
}
@media(max-width:600px){
 .ex-grid{grid-template-columns:1fr!important} .ex-hero h1{font-size:clamp(27px,7vw,38px)!important} .ex-contact a,.ex-contact button{white-space:normal;max-width:100%} .product-detail{width:94vw!important;max-height:92dvh!important;padding:12px!important} .pd-layout{grid-template-columns:minmax(0,1fr)!important;gap:12px!important} .pd-info h2{font-size:24px!important} .pd-order{gap:10px;margin-top:12px} .pd-thumbs img{width:52px;height:52px} .pd-close{min-height:44px} .hero-actions{flex-wrap:wrap} .hero-actions a{box-sizing:border-box}
}
@media(max-width:360px){header nav{grid-template-columns:repeat(2,minmax(0,1fr))} .category-grid,.product-grid{grid-template-columns:minmax(0,1fr)!important}}
