
/* Shared responsive fixes for the native catalog and single-product sections. */
body.single-product .mwe-related-catalog{direction:rtl;width:100%;min-width:0}
body.single-product .mwe-related-catalog>h2{font-size:23px;margin:12px 0 18px;font-weight:800;text-align:right}
body.single-product .mwe-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.single-product .mwe-related-card{display:flex;flex-direction:column;min-width:0;border:1px solid #dde2e9;border-radius:11px;overflow:hidden;background:#fff}
body.single-product .mwe-related-image{display:block;background:#f6f7f9;padding:10px}
body.single-product .mwe-related-image img{display:block;width:100%;height:195px;object-fit:contain;aspect-ratio:auto}
body.single-product .mwe-related-card h3{font:700 16px/1.6 Arial,sans-serif;overflow-wrap:anywhere;text-align:right;margin:10px 12px 5px}
body.single-product .mwe-related-card h3 a{color:#142236}
body.single-product .mwe-related-stock{font-size:12px;margin:0 12px 5px;text-align:right}
body.single-product .mwe-related-stock.is-available{color:#168144}
body.single-product .mwe-related-stock.is-unavailable{color:#9b3040}
body.single-product .mwe-related-price{min-height:34px;margin:auto 12px 4px;font-size:13px;font-weight:700;text-align:right;color:#142236}
body.single-product .mwe-related-view{display:flex;align-items:center;justify-content:center;min-height:42px;margin:5px 12px 12px;border:1px solid #ed1934;border-radius:7px;font-size:13px;font-weight:700;color:#db1832;background:#fff}
body.single-product .mwe-related-view:hover{background:#fff0f2}
@media(max-width:767px){
body.mwe-native-catalog .shop-loop-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}
body.mwe-native-catalog .shop-loop-head>.wd-shop-tools{width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}
body.mwe-native-catalog .shop-loop-head form.woocommerce-ordering{display:block!important;flex:1;min-width:0;max-width:100%;margin:0!important}
body.mwe-native-catalog .woocommerce-ordering select{display:block;width:100%!important;max-width:100%;min-width:0!important;height:44px!important;padding-inline:10px 28px!important;font-size:12px!important;color:#172334!important;text-overflow:ellipsis}
body.mwe-native-catalog .mwe-native-filter-button{flex:none;min-height:44px;display:flex;align-items:center;white-space:nowrap;font-size:12px}
body.single-product .mwe-tabs,body.single-product .mwe-related{width:100%!important;max-width:100%!important;min-width:0!important;padding-inline:12px!important;box-sizing:border-box}
body.single-product :is(.mwe-tabs,.mwe-related)>.elementor-container{width:100%!important;max-width:none!important;display:block!important;margin:0!important}
body.single-product :is(.mwe-tabs,.mwe-related)>.elementor-container>.elementor-column{width:100%!important;max-width:100%!important;min-width:0!important}
body.single-product :is(.mwe-tabs,.mwe-related)>.elementor-container>.elementor-column>.elementor-widget-wrap{padding:0!important;min-width:0!important}
body.single-product .mwe-tabs :is(.elementor-widget,.elementor-widget-container,.woocommerce-tabs,.wd-tab-wrapper,.wc-tab,.wc-tab-inner){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
body.single-product .mwe-tabs .wc-tab{padding:12px!important}
body.single-product .mwe-tabs .wc-tab-inner{overflow:visible!important}
body.single-product .mwe-tabs table{display:table!important;width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;margin-inline:0!important;font-size:12px!important}
body.single-product .mwe-tabs :is(td,th){width:auto!important;min-width:0!important;max-width:none!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;padding:8px 6px!important;line-height:1.8}
body.single-product .mwe-tabs :is(td,th) *{white-space:normal!important;overflow-wrap:anywhere!important;max-width:100%!important}
body.single-product .mwe-tabs :is(p,a,span,div){overflow-wrap:anywhere}
body.single-product .mwe-tabs :is(img,iframe,video){max-width:100%!important;height:auto}
body.single-product .mwe-tabs :is(pre,code){white-space:pre-wrap!important;overflow-wrap:anywhere!important;max-width:100%}
body.single-product .mwe-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.single-product .mwe-related-catalog>h2{font-size:20px}
body.single-product .mwe-related-image{padding:7px}
body.single-product .mwe-related-image img{height:150px}
body.single-product .mwe-related-card h3{font-size:14px;margin-inline:9px}
body.single-product .mwe-related-price{font-size:12px;margin-inline:9px;min-height:40px}
body.single-product .mwe-related-view{margin-inline:8px;font-size:12px}
}
@media(max-width:359px){body.single-product .mwe-related-image img{height:130px}}

@media(max-width:767px){
body.single-product .main-page-wrapper>.container{width:100%!important;max-width:100%!important;padding-inline:0!important;margin-inline:0!important}
body.single-product .main-page-wrapper>.container>.content-layout-wrapper{width:100%!important;margin-inline:0!important}
body.single-product .elementor-location-single{width:100%!important;max-width:100%!important;padding-inline:0!important;min-width:0!important}
body.single-product .mwe-related .elementor-widget-woocommerce-product-related{width:100%!important;max-width:100%!important;min-width:0!important}
}

@media(max-width:767px){
body.mwe-native-catalog .shop-loop-head>.wd-shop-tools:last-child{flex-wrap:wrap}
body.mwe-native-catalog .shop-loop-head .woocommerce-ordering{flex:0 0 100%!important;order:0;width:100%}
body.mwe-native-catalog .shop-loop-head .mwe-native-filter-button{order:1}
}
