/*
Theme Name:     Savon Child
Theme URI: 		https://savon.wpengine.com/
Author: 		the DesignThemes team
Author URI: 	http://themeforest.net/user/designthemes
Description:    Child theme for the Savon theme powered by DesignThemes
Template:       savon
Version:        1.0
*/

.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product-item {
    width: 30%;
    
    box-sizing: border-box;
    background: #ebe9e9;
    margin-bottom: 20px;
    border-radius: 20px;
}

.product-item a {
    text-decoration: none;
    color: inherit;
}

.product-item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .product-item {
        width: 100%; /* Full width on smaller screens */
    }
}

#pagination {
    margin-top: 20px;
}

.paginate {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 5px 10px;
    margin: 5px;
    cursor: pointer;
}

.paginate:hover {
    background-color: #005077;
}


/* Basic grid layout for filters and products */
#dswaves_filters {
    width: 240px; /* Fixed width for filters */
    float: left; /* Align to the left */
    padding-right: 20px; /* Space between filters and products */
    box-sizing: border-box;
}

#dswaves_products {
    margin-left: 240px; /* Make room for filters */
    padding: 10px;
    box-sizing: border-box;
}

/* Clearfix to ensure container encompasses floated children */
.dswaves_container:after {
    content: "";
    display: table;
    clear: both;
}

/* Style adjustments for smaller screens */
@media (max-width: 768px) {
    #dswaves_filters, #dswaves_products {
        width: 100%; /* Full width on smaller screens */
        float: none; /* Stack vertically */
        margin-left: 0; /* Reset margin for products */
        padding: 10px 0; /* Padding for spacing */
    }
}

/* Style for buttons and inputs for a consistent look */
#dswaves_filters label {
    display: block;
    margin-bottom: 5px;
}

#dswaves_filters input[type="checkbox"] {
    margin-right: 5px;
}

button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #005077;
}

/* Style for pagination buttons */
#pagination button {
    margin: 0 5px;
}

.product-item h6{
    text-align:center;
}
#pagination{
    text-align:center;
}
