.ced-product-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: Arial, sans-serif;
}

.ced-product-filter h3 {
    font-size: 24px;
    font-weight: bold;
    margin-right: 20px;
}

#ced-product-filter-form {
    display: flex;
    align-items: center;
    gap: 20px;
}

#ced-product-filter-form select {
    font-size: 14px;
    padding: 8px 12px;
    border: none;
    border-bottom: 2px solid #000;
    outline: none;
    background: transparent;
    min-width: 150px;
    text-transform: uppercase;
    color: #000;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#ced-product-filter-form select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#ced-filter-search {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 4px; /* Optional: adds rounded corners */
    transition: background-color 0.3s ease; /* Smooth hover effect */
    margin: 0;
}

#ced-filter-search:hover {
    background-color: #333; /* Slightly lighter black for hover effect */
}


#ced-filter-search:focus {
    outline: none;
}

/* Remove default select arrow and add custom one */
#ced-product-filter-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M5 7l5 5 5-5H5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
}

input[type=text], input[type=email], input[type=url], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=range], input[type=date], input[type=month], input[type=week], input[type=time], input[type=datetime], input[type=datetime-local], input[type=color], textarea, input[type=file], select, .select2-container .select2-selection, .woocommerce a.selectBox.selectBox-dropdown, #yith-stripe-card-elements, #wc-yith-stripe-cc-form .yith-stripe-elements-field {
    border-color: transparent ip !important;
    border-style: none !important;
    border-radius: 0 !important;
    border-width: 0 !important;
    min-height: 35px !important;
    border-bottom: 1px solid #000 !important;
}

.select2-container .select2-selection .select2-selection__rendered, .woocommerce a.selectBox.selectBox-dropdown .select2-selection__rendered {
    line-height: 1.3 !important;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.select2-container .select2-selection, .woocommerce a.selectBox.selectBox-dropdown {
    padding: 10px 2px !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    cursor: not-allowed;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b:before {
    height: 18px !important;
}

.select2-dropdown .select2-results__option.select2-results__option[data-selected=true], .selectBox-dropdown-menu .select2-results__option.select2-results__option[data-selected=true] {
    text-transform: uppercase;
}

/* Loader Styles */
.loader {
    display: none; /* Hidden by default */
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media only screen and (max-width: 991px) {
    .ced-product-filter {
        flex-direction: column;
    }

    .ced-product-filter h3 {
        margin: 0 !important;
    }
}

@media only screen and (max-width: 767px) {
    #ced-product-filter-form {
        width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    #ced-product-filter-form .select2 {
        width: 100% !important;
    }
}