/* Custom Product Section Styles */

.product-section {
    position: relative;
    padding: 100px 0;
    background-color: #fff;
}

.product-section .sec-title {
    margin-bottom: 25px !important;
}

.product-section .sec-title h2 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 2px;
    color: #222;
    margin: 0;
}

/* Filter List */
.product-filter-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    /* Use purely gap */
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

.product-filter-list li {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    background-color: #f4f4f4;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    border: 1px solid transparent;
    /* Prevent layout shift on border change if wanted */
}

.product-filter-list li:hover {
    background-color: #e0e0e0;
    color: #111;
}

.product-filter-list li.active {
    background-color: #b70e0e;
    /* Theme Red */
    color: #fff;
    box-shadow: 0 5px 15px rgba(183, 14, 14, 0.3);
}

/* Product Grid */
.product-block-grid {
    margin-bottom: 30px;
}

.product-block-grid .inner-box {
    text-align: center;
    transition: transform 0.3s ease;
}

/* Image Box */
.product-block-grid .image-box {
    position: relative;
    background-color: #f7f7f7;
    padding: 40px 20px;
    margin-bottom: 20px;
    overflow: hidden;
    /* Maintain aspect ratio or fixed height for consistency */
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-block-grid .image-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Nice touch for white bg images */
    transition: transform 0.4s ease;
}

/* Keyframes for sliding up (optional usage but nice to have) */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-block-grid .inner-box:hover .image-box img {
    transform: scale(1.05);
}

/* Badge */
.product-block-grid .tag-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #a00000;
    /* Dark Red */
    color: #fff;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
}

/* Content */
.product-block-grid .lower-content h4 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-block-grid .lower-content h4 a {
    color: #333;
    transition: color 0.3s ease;
}

.product-block-grid .lower-content h4 a:hover {
    color: #b70e0e;
}

.product-block-grid .price {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    /* Added spacing for button */
}

.product-block-grid .price .old {
    text-decoration: line-through;
    color: #aaa;
    margin-right: 8px;
    font-weight: 400;
}

/* Button */
.product-btn {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background-color: #333;
    padding: 8px 20px;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.product-btn:hover {
    background-color: #f4766b;
    /* Theme Red */
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}