/* Product Filter Form Styles */
#product-filter-form {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 30px;
    align-items: center;
}

#product-filter-form div {
    margin-bottom: 15px;
}

#product-filter-form label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

#product-filter-form select {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
    cursor: pointer;
}

#filter-submit {
    padding: 10px 20px;
    background-color: #007cba;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 25px;
}

#filter-submit:hover {
    background-color: #005f8c;
}

#filter-results {
    margin-top: 20px;
}

/* Product Display Grid */
.custom-product-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.product {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.product:hover {
    transform: scale(1.05);
}

.product img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #e0e0e0;
}

.product .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    padding: 10px;
    text-align: center;
}

.product .price {
    font-size: 14px;
    font-weight: bold;
    color: #007cba;
    text-align: center;
    padding: 5px 0;
}

.product .button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #007cba;
    color: white;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.product .button:hover {
    background-color: #005f8c;
}

/* No Products Found Message */
#filter-results p, #default-product-results p {
    text-align: center;
    font-size: 16px;
    color: #666;
    padding: 20px;
}

/* Media Query for Responsive Design */
@media (max-width: 768px) {
    #product-filter-form {
        padding: 15px;
    }

    #product-filter-form label {
        font-size: 12px;
    }

    #product-filter-form select {
        font-size: 12px;
    }

    #filter-submit {
        font-size: 12px;
        padding: 8px 16px;
    }

    #default-product-results, #filter-results {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .product .woocommerce-loop-product__title {
        font-size: 14px;
    }

    .product .price {
        font-size: 12px;
    }

    .product .button {
        font-size: 12px;
        padding: 10px;
    }
}




.brand-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.brand-filter a {
    padding: 12px 12px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    width: 45px;
    text-align: center;
}

.brand-filter a.active {
    background-color: #f00;
    color: #fff;
    border-color: #f00;
}

.brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.brand-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.brand-item img:hover {
    transform: scale(1.05);
}

.brand-item h3 {
    font-size: 16px;
    margin-top: 10px;
    color: #333;
}


ul.products.columns-3, nav.woocommerce-pagination, p.woocommerce-result-count, form.woocommerce-ordering  {
    display: none;
}


.custom-pagination {
    text-align: center;
    margin: 20px 0;
}

.custom-pagination .page-button {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: #f7f7f7;
    cursor: pointer;
}

.custom-pagination .page-button.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.custom-pagination .page-button:hover {
    background: #0073aa;
    color: #fff;
}
.number-of-result p {
    text-align: start;
}