/* Shared responsive rules for storefront and admin. */
.site-main .legal-page,.site-main .article-category-contained{width:min(calc(100% - 32px),1100px);margin-inline:auto}
.site-main .article-category-contained h1{overflow-wrap:anywhere}
.mobile-drawer .drawer-accordion-link{min-width:0}
.mobile-drawer .drawer-accordion-link>span:last-child{min-width:0;overflow-wrap:anywhere}
.drawer-accordion-icon{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.drawer-accordion-icon .icon{width:23px;height:23px;flex-shrink:0}
body.nav-locked{touch-action:auto;overscroll-behavior:none}
.mobile-drawer{height:100vh;height:100dvh;bottom:auto;touch-action:pan-y}
.mobile-drawer>*{flex-shrink:0}
.mobile-drawer-head{padding-top:max(14px,env(safe-area-inset-top))}
.mobile-drawer-user>span:last-child{min-width:0}
.drawer-accordion-toggle{min-height:48px}
.mobile-drawer-search button{display:grid;place-items:center}
@media(max-width:992px){
    .site-main .container,.site-main .admin-layout,.site-main .admin-content{min-width:0;max-width:100%}
    .site-main .admin-layout{width:100%}
    .site-main .grid>*,.site-main .filter-grid>*,.site-main .form-row>*,.site-main .admin-stats-grid>*{min-width:0}
    .site-main .admin-sidebar{height:100vh;height:100dvh;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}
    .site-main .admin-sidebar-toggle{position:relative;z-index:1;min-height:44px}
    .site-main .admin-content :is(.page-header,.admin-page-header){flex-wrap:wrap;gap:12px}
    .site-main .admin-content :is(.page-header,.admin-page-header)>div{min-width:0}
    .site-main .admin-content h1,.site-main .admin-content h2{overflow-wrap:anywhere}
    .site-main .admin-content .table-wrap{max-width:100%;min-width:0;overscroll-behavior-x:contain}
    .site-main .admin-content .cc-workspace{min-width:0;grid-template-columns:minmax(0,1fr)}
    .site-main .admin-content .cc-workspace>*{min-width:0;max-width:100%}
    .site-main .admin-content .ap-workspace{grid-template-columns:minmax(0,1fr)}
    .site-main .admin-content .ap-workspace>*{min-width:0}
    .site-main .admin-content .ap-aside{position:static}
    .site-main .col-filter-panel{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
    .site-main .col-filter-options{overscroll-behavior:contain;touch-action:pan-y}
    .site-main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=submit]):not([type=button]),.site-main select,.site-main textarea,.mobile-drawer input{font-size:16px!important}
    .site-main .form-control,.site-main .form-select,.site-main .form-textarea{max-width:100%;min-width:0}
    .site-main input[type=file]{max-width:100%;min-width:0}
    .site-main .article-content img,.site-main :is(.article-body-spaced,.article-content-spaced) img,.site-main .pd-description img{max-width:100%;height:auto}
    .site-main :is(.article-body-spaced,.article-content-spaced) iframe,.site-main .pd-description iframe{max-width:100%}
    .site-main :is(.article-body-spaced,.article-content-spaced) pre,.site-main .pd-description pre{max-width:100%;overflow-x:auto}
    .site-main :is(.article-body-spaced,.article-content-spaced) table{display:block;max-width:100%;overflow-x:auto}
    .site-main :is(.article-body-spaced,.article-content-spaced),.site-main .pd-description{overflow-wrap:anywhere}
    .site-main .article-archive-layout{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:640px){
    .site-header .header-top-inner{flex-wrap:nowrap;gap:8px}
    .site-header .header-search{flex-basis:100%;order:10}
    .site-header.is-search-open .header-top-inner{flex-wrap:wrap}
    .site-header .header-actions{gap:6px}
    .site-header .site-logo{min-width:0;flex-shrink:1}
    .site-header .site-logo-image{max-width:100%;width:132px}
    .site-header .icon-button,.site-header .nav-burger{width:42px;height:44px;flex-basis:42px}
    .site-main>.section,.site-main .section{padding-top:24px;padding-bottom:24px}
    .site-main .admin-layout{padding-left:12px;padding-right:12px}
    .site-main .admin-content :is(.page-header,.admin-page-header){align-items:flex-start}
    .site-main .admin-content :is(.page-header,.admin-page-header) .btn{min-height:40px;white-space:normal;text-align:center}
    .site-main .admin-content .sr-filters{align-items:stretch}
    .site-main .admin-content .sr-search{min-width:0;width:100%;max-width:none;flex-basis:100%}
    .site-main .admin-content .sr-filters>div{min-width:0;max-width:100%}
    .site-main .admin-content .sr-filters input:not([type=checkbox]):not([type=radio]),.site-main .admin-content .sr-filters select{min-height:44px}
    .site-main .admin-content .sr-filters>button{min-height:44px;height:auto}
    .site-main .admin-content .sr-result-meta{flex-wrap:wrap;gap:6px}
    .site-main .admin-content .sr-pagination nav{max-width:100%;gap:6px}
    .site-main .admin-content .sr-pagination nav>a,.site-main .admin-content .sr-pagination nav>span{min-height:40px;min-width:34px}
    .site-main .admin-content .cc-editor form{grid-template-columns:minmax(0,1fr)}
    .site-main .admin-content .cc-actions>a,.site-main .admin-content .cc-actions button,.site-main .admin-content .pc-actions>a,.site-main .admin-content .pc-actions button{min-height:36px}
    .site-main .ap-product-page .ap-toolbar{gap:10px}
    .site-main .ap-product-page .ap-toolbar>div{min-width:0}
    .site-main .ap-product-page .ap-toolbar p{display:none}
    .site-main .ap-product-page .ap-tabs{scroll-padding:10px;overscroll-behavior-x:contain}
    .site-main .ap-product-page .ap-tabs button{min-height:46px}
    .site-main .ap-product-page .ap-navigation{margin-bottom:14px}
    .site-main .ap-product-page .ap-enhanced .ap-navigation{z-index:30}
    .site-main .ap-product-page .card-body{padding:14px}
    .site-main .ap-product-page .ap-panel .form-row{grid-template-columns:minmax(0,1fr)}
    .site-main .ap-product-page .jodit-container{width:100%!important;min-width:0!important}
    .site-main .ap-product-page .jodit-toolbar__box{overflow-x:auto}
    .site-main .ap-product-page .ap-file-input{min-width:0!important;max-width:1px!important}
    .site-main .filter-grid{grid-template-columns:minmax(0,1fr)}
    .site-main .filter-grid .btn{grid-column:auto;min-height:44px}
    .site-main .pagination{flex-wrap:wrap;gap:6px}
    .site-main .breadcrumb{flex-wrap:wrap;overflow-wrap:anywhere}
    .site-main .pd-page .pd-specs{grid-template-columns:minmax(0,90px) minmax(0,1fr);overflow-wrap:anywhere}
    .site-main .pd-page .pd-tabs{max-width:100%;overscroll-behavior-x:contain}
    .site-main .pd-page .pd-hero>*,.site-main .pd-page .pd-commerce>*,.site-main .pd-details-grid>*{min-width:0}
    .site-main .pd-page .pd-compare{min-width:0;max-width:100%}
    .site-main .pd-page .pd-summary h1{font-size:21px;overflow-wrap:anywhere}
    .site-main .coupon-grid{grid-template-columns:minmax(0,1fr)}
    .site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
    .site-footer .footer-brand{grid-column:1/-1}
    .site-footer .footer-bottom{align-items:flex-start;flex-direction:column;overflow-wrap:anywhere}
    .cookie-consent{max-width:calc(100vw - 24px);left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));box-sizing:border-box}
}
@media(max-width:360px){
    .site-header .site-logo-image{width:114px}
    .site-header .header-top-inner{gap:6px}
    .site-header .header-actions{gap:4px}
    .site-main .pd-page .pd-cta-row{grid-template-columns:minmax(0,1fr)}
    .site-main .pd-page .pd-benefits{grid-template-columns:minmax(0,1fr);gap:12px}
    .site-main .pd-page .pd-benefits>div{border-left:0;padding-left:0}
    .site-main .admin-content .ap-toolbar>button{font-size:12px;padding:9px 12px}
}
