/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* MAIN WRAPPER */
.custom-shop-wrapper {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

/* SIDEBAR FILTER (DESKTOP) */
.custom-filter-sidebar {
    flex: 0 0 250px;
    background: #FAEFF3;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid #f1dce4;
    height: fit-content;
}

.custom-filter-sidebar h3 {
    font-size: 20px;
    font-weight: 700;
    color: #7a3353;
    margin-bottom: 10px;
}

/* FILTER CARD STYLE */
.custom-filter-sidebar .yith-wcan-filter {
    background: white;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #e9c8d3;
    margin-bottom: 12px;
}

/* CHECKBOX ACCENT */
.custom-filter-sidebar input[type=checkbox],
.filter-drawer input[type=checkbox] {
    accent-color: #e4aec1 !important;
}

/* PRODUCTS GRID */
.custom-shop-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* PRODUCT CARD */
.custom-shop-products ul.products li.product {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #f3dce4;
    transition: .3s;
}

.custom-shop-products ul.products li.product:hover {
    border-color: #e4aec1;
    box-shadow: 0 5px 20px rgba(200, 120, 150, .15);
}

/* TITLE */
.custom-shop-products .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 700;
    color: #642f47;
    margin-bottom: 10px;
}

/* PRICE */
.custom-shop-products .price {
    color: #c68498 !important;
    font-weight: 700;
}

/* BUTTON */
.custom-shop-products a.button {
    background: #e4aec1 !important;
    color: #fff !important;
    border-radius: 12px;
    padding: 10px 18px;
}
.custom-shop-products a.button:hover {
    background: #c68498 !important;
}

/* ======= MOBILE FILTER BUTTON ======= */
.mobile-filter-button {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #e4aec1;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    z-index: 9999;
    font-size: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,.1);
}

/* ======= OFF-CANVAS FILTER DRAWER ======= */
.filter-drawer {
    position: fixed;
    left: -300px;
    top: 0;
    width: 270px;
    height: 100%;
    background: #FAEFF3;
    padding: 20px;
    border-right: 1px solid #e9c8d3;
    z-index: 99999;
    overflow-y: auto;
    transition: .35s;
}

.filter-drawer.open {
    left: 0;
}

.filter-drawer-close {
    background: none;
    border: none;
    font-size: 28px;
    float: right;
    color: #642f47;
}

/* MOBILE RESPONSIVE */
@media(max-width: 900px) {
    .custom-shop-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .custom-filter-sidebar {
        display: none;
    }

    .mobile-filter-button {
        display: block;
    }

    .custom-shop-products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 500px) {
    .custom-shop-products ul.products {
        grid-template-columns: 1fr;
    }
}