/* Responsive refinement: public storefront only. Loaded last; targeted, no body overflow masking. */
:root{--pa-gutter:clamp(16px,4vw,32px);--pa-section:clamp(56px,8vw,110px)}
img,video,svg{max-width:100%}
h1,h2,h3,h4,h5,h6,p,li,td,th,a,label,.product-title,.widget_title{overflow-wrap:anywhere}
.container,.container-fluid{padding-inline:var(--pa-gutter)}
.container{max-width:min(100%,1320px)}
@media(min-width:1920px){.container{max-width:1480px}}
.space,.space-top{padding-top:var(--pa-section)}
.space,.space-bottom{padding-bottom:var(--pa-section)}
/* Touch targets */
@media(max-width:1399px){
.as-menu-toggle,.icon-btn,.bookmark-tag,.sideCartToggler,.scroll-top{min-width:44px;min-height:44px}
.as-mobile-menu ul li a{min-height:44px;display:flex;align-items:center;justify-content:center}
}
.as-btn,.pa-choice,.pa-quote-link,.widget_categories a,.nice-select{min-height:44px}
.widget_categories li a{display:inline-flex;align-items:center}
/* Drawer + submenu safe height */
.as-menu-wrapper .as-menu-area{max-width:100%;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}
.sidemenu-wrapper .sidemenu-content,.side-cart-wrapper .sidemenu-content{max-width:100vw;max-height:100dvh;overflow-y:auto}
.main-menu ul.sub-menu{max-height:calc(100dvh - 140px);overflow-y:auto}
/* Hero: keep compact heights, stop photo overlapping headline on narrow screens */
@media(max-width:767px){
.hero-slider-2 .hero-style2{padding:32px 0 80px}
.hero-slider-2 .hero-thumb{margin-top:16px;position:relative}
.hero-style2 .hero-title{overflow-wrap:break-word;hyphens:auto}
}
@media(max-width:359px){.hero-slider-2 .hero-thumb{height:225px}}
/* Card grids */
.as-product.style2{height:100%}
.row>*{min-width:0}
/* Filters and forms */
.car-filter-form select,.car-filter-form input,.form-control,.form-select,.nice-select{max-width:100%}
.form-control,.form-select,.nice-select{min-height:48px}
input,select,textarea{font-size:max(16px,1em)}
@media(max-width:991px){
.widget_categories,.sidebar-area .widget{margin-bottom:24px}
.pa-summary{position:static}
.filter-tab-area .car-filter-menu{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;-webkit-overflow-scrolling:touch}
.filter-tab-area .car-filter-menu .nav-link{white-space:nowrap;flex:0 0 auto}
}
@media(max-width:575px){
.pa-step{padding:16px}
.pa-choice{display:flex;margin-right:0;width:100%}
.pa-added-dialog{padding:20px}
.subscribe-form .as-btn,.pa-form .as-btn,.woocommerce-mini-cart__buttons .as-btn{width:100%}
.title-area .sec-title{overflow-wrap:break-word}
.counter-card,.counter-wrap{min-width:0}
}
/* Dense tables scroll locally */
.woocommerce-cart-form,.table-responsive,.pa-article table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.pa-article table{display:block}
@media(max-width:767px){.cart_table{min-width:560px}}
/* Product details */
@media(max-width:575px){.offer-thumb>img{height:220px}}
/* Footer */
.newsletter-wrap{flex-wrap:wrap;gap:16px}
.copyright-wrap .text-end{text-align:start!important}
@media(max-width:991px){.copyright-text{text-align:center}}
/* Landscape phones: reduce vertical spacing */
@media(max-height:500px) and (orientation:landscape){:root{--pa-section:48px}.as-menu-wrapper .as-menu-area{padding-block:16px}}
/* Wide screens */
@media(min-width:2200px){html{font-size:106%}}
