/**
 * Sorting Products - CSS
 * Styles for the sorting buttons
 */

/* Button container */
.sorting-products-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

/* Individual buttons - using the provided styling */
.sorting-products-buttons .sorting-button.et_pb_button {
    font-size: 20px;
    font-weight: 500;
    padding: 0.3em 1em;
    line-height: 1.7em !important;
    background-color: transparent;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
    border: 2px solid;
    border-radius: 3px;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: all !important;
    transition-property: all !important;
    color: #164170;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
    cursor: pointer;
}

/* Active button state */
.sorting-products-buttons .sorting-button.et_pb_button.active {
    background-color: #00a77e;
    color: white;
    border-color: #00a77e;
}

/* Hover state */
.sorting-products-buttons .sorting-button.et_pb_button:hover {
    opacity: 0.85;
}

/* Responsive styles */
@media (max-width: 980px) {
    .sorting-products-buttons {
        justify-content: center;
    }
    
    .sorting-products-buttons .sorting-button.et_pb_button {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .sorting-products-buttons .sorting-button.et_pb_button {
        font-size: 16px;
        padding: 0.2em 0.8em;
    }
}

@media (max-width: 479px) {
    .sorting-products-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sorting-products-buttons .sorting-button.et_pb_button {
        text-align: center;
        margin-bottom: 5px;
    }
}
