.catdb-buyers-filter .buyer-left-inner,
    .catdb-buyers-filter .buyer-right-inner {
        display: block;
        width: 100%;
    }

    .catdb-buyers-filter {
        color: #fff;
    }

    .catdb-buyers-filter .elementor-row {
        display: flex;
        flex-wrap: wrap;
    }

    .catdb-buyers-filter .flex-block {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }


    .catdb-buyers-filter .show_local_buyers {
        /* margin-left: auto; */
        display: flex;
    }

   
    .catdb-buyers-filter .switch {
        position: relative;
        display: inline-block;
        width: 44px;
        height: 26px;
    }

    .catdb-buyers-filter .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .catdb-buyers-filter .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #EBEBEB;
        transition: 0.4s;
        border-radius: 24px;
    }

    .catdb-buyers-filter .slider:before {
        
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 5px;
        bottom: 4px;
        background-color: #ffffff;
        transition: 0.4s;
        border-radius: 50%;
 
    }

    .catdb-buyers-filter .slider::after {
     
        position: absolute;
        content: "";
        height: 7px;
        width: 7px;
        left: 11px;
        bottom: 10px;
        background-color: #EBEBEB;
        transition: 0.4s;
        border-radius: 50%;
 
    }
    

    .catdb-buyers-filter .switch input:checked+.slider {
        background-color: #5FDA1C;
    }

    .catdb-buyers-filter .switch input:checked+.slider:before {
        transform: translateX(18px);
        
    }

    .catdb-buyers-filter .switch input:checked+.slider:after {
        transform: translateX(18px);
        background-color:#5FDA1C;
    }
    

    .catdb-buyers-filter .switch input:checked+.slider:before {
        transform: translateX(18px);
    }

    .catdb-buyers-filter .control {
        width: 100%;
    }


    .catdb-buyers-filter .switch-checkbox {
        display: inline-flex;
        align-items: center;
        cursor: pointer;
        position: relative;
        user-select: none;
        gap: 10px;
        white-space: nowrap;
    }
    .catdb-buyers-filter .switch-checkbox .checkbox-label{margin-top: 2px;}
    

    .catdb-buyers-filter .switch-checkbox input {
        display: none;
    }

    .catdb-buyers-filter .switch-checkbox .checkmark {
        width: 20px;
        height: 20px;
        border: 2px solid #fff;
        background-color: transparent;
        border-radius: 4px;
        transition: all 0.2s ease-in-out;
        position: relative;
    }

    /* Checked state */
    .catdb-buyers-filter .switch-checkbox input:checked+.checkmark {
        background-color: #5FDA1C;
        border: none;
    }

    /* White arrow (checkmark) */
    .catdb-buyers-filter .switch-checkbox input:checked+.checkmark::after {
        content: '';
        position: absolute;
        left: 8px;
        top: 3px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    .catdb-buyers-filter .custom-dropdown {
        width: 100%;
        position: relative;
        font-family: Arial, sans-serif;
    }


    .catdb-buyers-filter .dropdown-options {
        list-style: none;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: 250px;
        overflow-y: auto;
        border: 1px solid #ccc;
        background: #fff;
        z-index: 10;
        border-radius: 0 0 4px 4px;
        display: none;
    }

    .catdb-buyers-filter .dropdown-options li {
        padding: 12px 15px;
        cursor: pointer;
        font-size: 15px;
        color: #000;
    }

    .catdb-buyers-filter .dropdown-options li:hover {
        background-color: #f0f0f0;
    }

    .catdb-buyers-filter .selection-preview {
        margin-top: 10px;
    }

    .catdb-buyers-filter .selected-combo-btn {
        background-color: #222;
        color: #fff;
        border: none;
        border-radius: 20px;
        padding: 8px 16px;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .catdb-buyers-filter .selected-combo-btn:hover {
        background-color: #444;
    }

    .catdb-buyers-filter .selected-combo-btn .remove-selection {
        font-weight: bold;

        cursor: pointer;
        line-height: 1;
    }

    .catdb-buyers-filter .dropdown-arrow {
        transition: transform 0.3s ease;
    }

    /* When open, rotate 180 degrees */
    .catdb-buyers-filter .dropdown-selected.open .dropdown-arrow {
        transform: rotate(180deg);
    }

    .catdb-buyers-filter .dropdown-selected {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
       
        
        cursor: pointer;
    }

    .catdb-buyers-filter .dropdown-icons {
        display: flex;
        align-items: center;
    }

    .catdb-buyers-filter .dropdown-arrow {
        width: 16px;
        height: 16px;
        transition: transform 0.3s ease;
    }

    .catdb-buyers-filter .dropdown-selected.open .dropdown-arrow {
        transform: rotate(180deg);
    }

    .catdb-buyers-filter .dropdown-clear,
    .catdb-buyers-filter .dropdown-clear-country {
        font-size: 30px;
        color: #555;
        margin-left: 10px;
        cursor: pointer;
        display: none;
    }

    /* Disable interaction while loading */
    .catdb-buyers-filter .country-options.loading {
        /*  opacity: 0.5;
        pointer-events: none; */
    }

    .catdb-buyers-listing-wrapper.loading {
        position: relative;
        pointer-events: none;
        /* block interaction */
        opacity: 0.6;
    }

    .catdb-buyers-listing-wrapper::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 40px;
        height: 40px;
        margin: -20px 0 0 -20px;
        border: 4px solid rgba(0, 0, 0, 0.1);
        border-top-color: #333;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
        z-index: 10;
        display: none;

    }

    #global-loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.6);
        /* Light transparent background */
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
        pointer-events: all;
        /* Block all interactions */
    }

    #global-loading-overlay .loader {
        border: 6px solid #f3f3f3;
        border-top: 6px solid #0073aa;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 1s linear infinite;
    }

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

        100% {
            transform: rotate(360deg);
        }
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

    .catdb-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999999;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .catdb-modal {
        background: #fff;
        padding: 20px 30px;
        border-radius: 8px;
        max-width: 350px;
        text-align: center;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .catdb-modal .elementor-button {
        margin-top: 15px;
    }
        .catdb-buyers-filter .top-show_local_buyers{
            

        }
        .catdb-buyers-filter .bottom-show_local_buyers  {
           display: none;
        }
        .catdb-buyers-filter .switch {
           
            margin: 0 2px 0 125px; 
        }
    @media (max-width: 720px) {
        .catdb-buyers-filter .switch-checkbox .checkmark {
            width: 14px;
            height: 14px;
            border-width: 1px;
            
        }
        .catdb-buyers-filter .switch-checkbox input:checked+.checkmark::after {
            content: '';
            position: absolute;
            left: 6px;
            top: 2px;
            width: 4px;
            height: 9px;  
        }
        .catdb-buyers-filter .show_local_buyers {
           width: 100%; 
          margin-left: unset;
        }
        .catdb-buyers-filter .switch {
            position: relative;
            display: inline-block;
            width: 38px;
            height: 24px;
             align-self: flex-end;
            margin: 0 2px 0 auto; 
        }
        .catdb-buyers-filter .slider::before {
	 
            height: 18px;
            width: 18px;
            left: 4px;
            bottom: 4px;
            background-color: #fff;
            border: solid 1px #ddd;
        }
        .catdb-buyers-filter .slider::after{
           height: 7px;
            width: 7px;  
            left: 9px;
            background-color: #EBEBEB;
        }
         
       .catdb-buyers-filter .switch input:checked + .slider::before {
	        transform: translateX(12px);
             border: solid 0px #ddd;
        }

        .catdb-buyers-filter .switch input:checked + .slider::after {
	        transform: translateX(12px);
        }
        
    }

     @media (max-width: 1440px) {
    .catdb-buyers-filter .top-show_local_buyers{
           display: none;

        }
        .catdb-buyers-filter .bottom-show_local_buyers  {
           display: block;
           margin-top: -15px;
        }

        
     }


     