/*
Theme Name: Innovative Krafts
Theme URI: https://seashell-chough-589065.hostingersite.com/
Author: Stratum
Description: Innovative Krafts WordPress Theme 
Version: 1.3.1
Text Domain:  Innovative Krafts
*/

.nav-logo  img{
    height: 60px;
}

.footer-logo  img{
    height: 120px;
    object-fit: contain;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    text-decoration: none;
    color: #222;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-image-wrapper {
    overflow: hidden;
    border-radius: 4px;
    background: #f8f8f8;
}

.product-image-wrapper img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* FIX BIG TITLE */
.product-info h3 {
    font-size: 18px;
    line-height: 1.4;
/*     margin: 14px 0 6px; */
    font-weight: 500;
    color: #111;
    
    /* LIMIT TO 2 LINES */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
/*     min-height: 50px; */
}

.product-price {
    font-size: 16px;
    color: #777;
} .sort-wrap {
    margin-left: auto;
}

.custom-sort {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.custom-sort li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 30px;
    text-decoration: none;
    color: #444;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.custom-sort li a:hover,
.custom-sort li a.active {
    background: #111;
    color: #fff;
    border-color: #111;
}







/* Add below CSS in your theme style.css or customizer */
/* SIDEBAR PREMIUM FILTER DESIGN */
.collections-sidebar {
    position: sticky;
    top: 100px;
    background: #fff;
    padding: 10px 0;
}

.filter-group {
    padding: 0 0 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid #e8e8e8;
}

.filter-group h3 {
    font-size: 28px;
    font-weight: 500;
    margin: 0 0 18px;
    color: #111;
    letter-spacing: -0.3px;
}

.filter-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.filter-group ul li {
    margin: 0 0 12px;
}

.filter-group ul li a {
    display: block;
    padding: 6px 14px;
    color: #444;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    border-left: 2px solid transparent;
    transition: all 0.25s ease;
}

.filter-group ul li a:hover,
.filter-group ul li a.active {
    color: #111;
    border-left-color: #c8a96a;
    background: #faf8f4;
    padding-left: 18px;
}

/* ACTIVE FILTER CHIPS */
.active-filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-chip,
.clear-all-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 30px;
    background: #faf8f4;
    border: 1px solid #e8dcc3;
    color: #111;
    text-decoration: none;
    font-size: 14px;
}

.clear-all-chip {
    background: #111;
    color: #fff;
    border-color: #111;
}

@media (max-width: 768px) {
    .collections-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .filter-group h3 {
        font-size: 22px;
    }
}


/* ================= SHORTCODE FILTER ALTERNATIVE (SAFE) ================= */
/* Use this inside any page builder/WordPress page */

/* PAGE CONTENT SHORTCODES */
[woocommerce_product_filter_category]
[woocommerce_product_filter_attribute taxonomy="pa_material"]
[woocommerce_product_filter_attribute taxonomy="pa_finish"]
[woocommerce_product_filter_price]
[woocommerce_product_filter_products]

/* SAFE CSS FOR SHORTCODE FILTERS */
.woocommerce-product-search-filter,
.woocommerce-product-search-filter-category,
.woocommerce-product-search-filter-attribute,
.woocommerce-product-search-filter-price {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ececec;
    border-radius: 8px;
}

.woocommerce-product-search-filter a {
    text-decoration: none;
    color: #222;
    display: block;
    padding: 8px 0;
}

.woocommerce-product-search-filter a:hover,
.woocommerce-product-search-filter .chosen a {
    color: #c8a96a;
}

.woocommerce-product-search-filter-products ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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