/*
Theme Name: Creativo Child
Theme URI: https://themeforest.net/item/creativo-responsive-multipurpose-theme/4716204
Description: Child theme for Creativo
Author: Usman Malick
Template: creativo
Version: 1.0.0.0
*/

.inside_prod .product_buttons_wrap .add_to_cart_button .product_type_simple .ajax_add_to_cart {
    display: none !important;
}


/* Card spacing */
ul.products {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

/* Main Card */
.premium-card .card-wrap {
    position: relative;
    border-radius: 22px;
    overflow: visible;
}

/* Image */
.card-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px !important;
}

/* Floating White Box */
.card-box {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background: #fff;
    padding: 18px;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Title */
.title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.title a {
    color: #000;
    text-decoration: none;
}

.product-price {
    font-weight: bold;
    margin-bottom: 10px;
}

/* Button */
.btn-order {
    display: block;
    width: 100%;
    text-align: center;
    background: #a67c3d;
    color: #ffffff !important;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-order:hover {
    background: #8c652f;
}

/* IMPORTANT spacing fix */
.premium-card {
    padding-bottom: 50px;
}

@media (max-width: 1024px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
	.card-box {
    position: absolute;
    bottom: -15px;
    width: 90%;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
	.btn-order {
    display: block;
    width: 100%;
    text-align: center;
    background: #a67c3d;
    color: #ffffff !important;
    padding: 10px;
    border-radius: 10px;
    font-weight: 500;
}
	.title .product-price {
    font-size: 14px;
}

}

@media (max-width: 768px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}




/* Checkbox list */
.wc-auto-filter .filter-option {
    display: flex;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Checkbox */
.wc-auto-filter input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #f4791f;
    cursor: pointer;
}

/* Text */
.wc-auto-filter .filter-option span {
    font-size: 14px;
    color: #333;
}

/* Selected state */
.wc-auto-filter input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: #A17C38;
}

.wc-auto-filter{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.wc-filter-box{
    background:#FDF5E3;
    padding:15px;
    border-radius:12px;
	
	position:sticky;	
	top:5px;
	
    max-height:calc(150vh - 40px);

    overflow-y:auto;
    overflow-x:hidden;
}

.wc-filter-box h4{
    font-size:18px !important;
	font-weight: 600; 
    line-height:1.2;
    margin-bottom:20px;
}

.filter-option{
    display:flex;
    align-items:center;
    gap:7px;
    margin-bottom:10px;
    cursor:pointer;
}

.filter-option input[type="checkbox"]{
    width:18px;
    height:18px;
    accent-color:#b78a43;
}

.filter-option span{
    font-size:18px;
    line-height:1.4;
}

.no-products{
    font-size:18px;
    margin-top:20px;
}
/* MOBILE */
@media (max-width: 767px){

    /* Hide Filter Sidebar */
    .wc-auto-filter{
        display:none;
    }

    /* 2 Products Per Row */
    ul.products{
        display:grid !important;
        grid-template-columns:repeat(2, 1fr) !important;
        gap:15px;
    }

    /* Remove WooCommerce Width */
    ul.products li.product{
        width:100% !important;
        margin:0 !important;
        float:none !important;
    }

}