/*
Theme Name:         Ricapolska
Description:        Motyw sklepu ricapolska.pl — własny fork motywu Levre (firstsight_design), utrzymywany przez FLK. Tryb katalogowy WooCommerce.
Author:             FLK
Author URI:         https://ricapolska.pl
Version:            1.0.0
Text Domain:        levre
Theme URI:
License:            GPL v2
License URI:        http://www.gnu.org/licenses/gpl-2.0.html
Template:
Tags:               woocommerce, cosmetics, beauty
*/

/* ==========================================================================
   Customizacje przeniesione z motywu potomnego levre-child
   (do uporządkowania w ramach Workstream D — siatka Elementora)
   ========================================================================== */

span.sold-out-badge {display: none !important;}


@media (min-width: 1025px) {

    /* 1️⃣ GRID NA UL */
    .woocommerce .elementor-widget-wc-archive-products
    ul.products.elementor-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* 2️⃣ WYŁĄCZENIE FLOAT + WIDTH Z MOTYWU */
    .woocommerce .elementor-widget-wc-archive-products
    ul.products.elementor-grid > li.product {
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        min-width: 0 !important;
        display: block !important;
        overflow: hidden;
    }

    /* 3️⃣ USUNIĘCIE clear:both */
    .woocommerce .elementor-widget-wc-archive-products
    ul.products.elementor-grid > li.product.first {
        clear: none !important;
    }
    .woof_radio_term_reset_visible {
        display: inline-block !important;
        padding: 2px 0 0 7px;
        position: absolute;
        left: 0;
        margin-top: 13px !important;
    }
    .products .product .product-inner img {
        display: -webkit-box !important;
        display: -ms-flexbox!important;
        display: flex !important;
        height: auto !important;
        margin: 0 !important;
        max-width: unset !important;
        width: 100% !important;
        max-height: 365px;
        object-fit: cover;
    }
    span.sold-out-badge {
        right: 24px;
    }
}
