/* ===== Homepage hero slider (tablet + phone) ===== */
@media (max-width:1024px){
 .ld-hs .elementor-element-111ece6c{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
 .ld-hs .elementor-element-111ece6c>.e-con{padding:6px!important;min-width:0}
 .ld-hs .elementor-element-111ece6c img{width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:contain}
}
@media (max-width:767px){
 .ld-hs .elementor-element-111ece6c{gap:6px!important}
 .ld-hs .elementor-element-111ece6c>.e-con{padding:4px!important}
}

/* ===== Tablet header: search on its own line ===== */
@media (min-width:768px) and (max-width:1024px){
 [data-elementor-type="header"] .elementor-element-1ddbb76c{flex-wrap:wrap!important;row-gap:14px!important}
 [data-elementor-type="header"] .elementor-element-a597dd2{order:10;flex:1 1 100%!important;width:100%!important;max-width:none!important}
}

/* ===== Shop pages: 2-column grid on phones, tighter top spacing ===== */
@media (max-width:767px){
 .woocommerce .hero-section[data-type="type-2"],.hero-section[data-type="type-2"]{margin-bottom:0!important}
 .woocommerce-shop .site-main>.ct-container,.tax-product_cat .site-main>.ct-container,.tax-product_brand .site-main>.ct-container,.post-type-archive-product .site-main>.ct-container,.search-results .site-main>.ct-container{padding-top:20px!important}
 .ld-shop ul.products,.woocommerce .ld-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 12px!important}
 .ld-shop ul.products li.product{min-width:0}
 .ld-shop ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.3!important;margin-top:10px!important}
 .ld-shop ul.products li.product .price{font-size:14px!important}
 .ld-shop ul.products li.product .button,.ld-shop ul.products li.product .added_to_cart{display:flex;justify-content:center;width:100%;min-height:44px;padding:10px 8px!important;font-size:14px!important;box-sizing:border-box;text-align:center}
 .ld-shop ul.products li.product .ct-woo-card-actions{width:100%}
 .ld-shop ul.products li.product ul.entry-meta{font-size:11px!important}
}
