@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.landingpage_container {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
}

.filters_wrapper {
    display: flex;
    justify-content: space-between;
    z-index: 999;
    background: #FFFFFF;
}

.filters {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

/* .filters_buttons {
    display: flex;
    gap: 15px;
} */

.filters_buttons_box {
    display: flex;
    gap: 15px;
}

/* .dropdown {
    position: relative;
} */

.dropdown-btn {
    min-height: 48px;
    padding: 0 50px 0 16px;
    border: none;
    border-radius: 30px;
    color: #202129;
    /* font-weight: 600; */
    line-height: 150%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #EBECED;
    font-family: Archivo;
    position: relative;
    background: #FFFFFF;
    font-weight: 400;
}

.dropdown-btn::after {
    content: "";
    background: url(../../../../content/dam/asianpaintsbeautifulhomes/design-ideas-revamp/chevron-down.png)no-repeat center;
    background-size: 100% 100%;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translate(0, -50%);
}

.dropdown-content {
    position: absolute;
    top: 50px;
    /* left: 0; */
    background-color: white;
    border-radius: 16px;
    padding: 16px 12px 10px;
    display: none;
    flex-direction: column;
    min-width: 240px;
    border: 1px solid #ECECEC;
    z-index: 100;
    /* color: #1c1c1e; */
}

.dropcontent:nth-of-type(1) .dropdown-content {
    left: 0;
}

.dropcontent:nth-of-type(2) .dropdown-content {
    left: 21%;
}

.dropcontent:nth-of-type(3) .dropdown-content {
    left: 41%;
}

.dropcontent:nth-of-type(4) .dropdown-content {
    left: 62%;
}

/* .filters .dropcontent:nth-of-type(2){
    background: lightgreen;
    width: 100px;
 } */

.dropdown-content label {
    padding: 10px 0;
    display: flex;
    align-items: center;
    font-size: 15px;
    cursor: pointer;
    gap: 6px;

    font-family: Archivo;
    font-weight: 300;
    font-size: 14px;
    line-height: 140%;
    color: #202129;
    border-top: 1px solid #F6F6F6;
}

.dropdown-content label:nth-of-type(1) {
    border-top: unset;
}

.dropdown-content input[type="checkbox"],
.dropdown-content input[type="radio"] {
    accent-color: #512B8B;
}


.dropdown-content.active {
    display: flex;
}

.highlight {
    font-weight: bold;
}

.clear-btn {
    font-family: Creato Display;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    color: #7445B2;
    display: flex;
    align-items: center;
    cursor: pointer;
}
#clearFilters{
display: none;
}

.clear-btn img {
    width: 24px;
    height: 24px;
}

.divider {
    height: 1px;
    background-color: #eee;
    margin: 6px 0;
}


.filter_cmp_right .dropdown {
    position: relative;
}
.filter_cmp_right .dropdown-btn {
    padding: 0 36px 0 16px;
}

.filter_cmp_right .dropdown-btn img {
    width: 16px;
    height: 16px;
}

.filter_cmp_right label {
    font-family: Archivo;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    color: #202129;
    padding: 20px 0;
    gap: 12px;
}

.filter_cmp_right .dropdown-content input {
    display: none;
}

.filter_cmp_right .Popularity {
    font-weight: 700;
    color: #512B8B;
}

.filter_cmp_right .dropdown-content {
    padding: 20px 20px 0;
}

.filter_cmp_right .dropdown-content label img {
    width: 20px;
    height: 20px;
}


.test input {
    display: none;
}

.test input:checked+span {
    color: #7445B2;
}

/* .filters .dropdown-content input[type="radio"] */

.filter_cmp_left .dropdown-content input[type="radio"], .filter_cmp_left .dropdown-content input[type="checkbox"] {
    display: none;
}

.filter_cmp_left .dropdown-content input[type="radio"]+.custom_input {
    width: 16px;
    height: 16px;
    position: relative;
}



.filter_cmp_left .dropdown-content input[type="radio"]+.custom_input::after {
    content: "";
    position: absolute;
    background: url(../../../../content/dam/asianpaintsbeautifulhomes/design-ideas-revamp/radio-circle.png) no-repeat center;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
}

.filter_cmp_left .dropdown-content input[type="radio"]:checked+.custom_input::before {
    content: "";
    position: absolute;
    background: url(../../../../content/dam/asianpaintsbeautifulhomes/design-ideas-revamp/radio-active.png) no-repeat center;
    background-size: 100% 100%;
    width: 8px;
    height: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.filter_cmp_left .dropdown-content input[type="checkbox"]+.custom_input {
    width: 16px;
    height: 16px;
    position: relative;
}

.filter_cmp_left .dropdown-content input[type="checkbox"]+.custom_input::after {
    content: "";
    position: absolute;
    background: url(../../../../content/dam/asianpaintsbeautifulhomes/design-ideas-revamp/checkbox.png) no-repeat center;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
}

.filter_cmp_left .dropdown-content input[type="checkbox"]:checked+.custom_input::before {
    content: "";
    position: absolute;
    background: url(../../../../content/dam/asianpaintsbeautifulhomes/design-ideas-revamp/checkbox-active.png) no-repeat center;
    background-size: 100% 100%;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.filter_title_header_mobile {
    width: 100%;
    justify-content: space-between;
}

.filter_title_header_mobile h2 {
    font-family: Creato Display;
    font-weight: 500;
    font-size: 20px;
    line-height: 126%;
    color: #202129;
    margin-bottom: 21px;
}

.filter_title_header_mobile img {
    width: 28px;
    height: 28px;
}

.filter_title_header_mobile {
    display: none;
}

.filter_rest_wrapper_mobile {
    display: none;
}

.filter_mobile {
    display: none;
}

.reset_mobile {
    display: none;
}

.filter_mobile_btn {
    display: none;
}

.color_div {
    display: none;
    width: 28px;
    height: 16px;
    /* background: linear-gradient(91.31deg, #5B9AFF 3.9%, #A33FD6 98.88%); */
    /* background: linear-gradient(0deg, #D9D9D9, #D9D9D9),linear-gradient(94.25deg, #FFDF52 6.39%, #68B442 94.73%); */

    border-radius: 10px;
}

.filter_openBtn {
    display: none;
}


@media screen and (max-width : 768px) {
    .landingpage_container {
        padding: 0 20px;
    }
    #clearFilters{
        display: none;
    }
    .filter_cmp_right {
        display: none;
    }

    .filter_title_header_mobile {
        display: flex;
        padding: 0 20px;
    }

    .filter_rest_wrapper_mobile {
        display: block;
    }

    .filter_mobile {
        display: block;
    }


    .filters_buttons {
        min-width: 114px;
        height: 100%;
        background: #F2F3F5;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        
    }

    .filters_buttons_box {
        flex-direction: column;
        gap: unset;
        height: calc(100vh - 116px);
        overflow: scroll;
    }

    .dropdown-content {
        position: unset;
        border: unset;
        border-radius: unset;
        padding: 0 20px 16px 16px;
        min-width: unset;
    }

    .filters_wrapper {
        display: none;
        padding-top: 21px;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        height: 100vh;
        /* margin-top: 50px; */
        z-index: 100022;
    }

    .filters {
        flex-wrap: unset;
        align-items: start;
        gap: 0;
        height: calc(100vh - 67px);
    }

    .dropdown-btn::after {
        background: unset;
    }

    .highlight {
        display: none;
    }

    .dorpdown_box {
        height: calc(100vh - 116px);
        overflow: scroll;
    }

    .dropdown-btn {
        border: none;
        border-radius: unset;
        background: unset;
        font-size: 12px;
        font-weight: 500;
        line-height: 140%;
        font-family: Creato Display;
        padding-left: 22px;
    }

    .dropdown-content label {
        font-size: 12px;
        font-weight: 400;
        line-height: 140%;
        font-family: Creato Display;
        min-height: 48px;
        padding: unset;
        position: relative;
    }

    .clear-btn {
        display: none;
    }

    .reset_mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #FFFFFF;
        border: none;
        min-height: 49px;
        width: 100%;
        font-family: Creato Display;
        font-weight: 700;
        font-size: 12px;
        line-height: 140%;
        letter-spacing: 0%;
        text-align: center;
        color: #202129;
    }

    .filter_mobile_btn {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #512B8B;
        border: none;
        min-height: 49px;
        width: 100%;
        color: #FFFFFF;
    }
    .filter_mobile_btn.greyOut{
        background-color: #D5D7DE;
    }

    .filters_dropdowns {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        font-family: Creato Display;
        font-weight: 700;
        font-size: 12px;
        line-height: 140%;
        width: 100%;
    }

    .color_div {
        display: block;
        position: absolute;
        right: 0;
    }

    .filter_openBtn {
        min-width: 188px;
        border-radius: 34px;
        /* background-color: #343D4C1A; */
        background: linear-gradient(to right, #e4e4e4, #eeeeee);
        display: inline-flex;
        justify-content: center;
        align-items: center;
        min-height: 49px;
        font-family: Creato Display;
        font-weight: 500;
        font-size: 12px;
        line-height: 140%;
        color: #202129;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        cursor: pointer;
        z-index: 999;
    }

    .filter_openBtn img {
        width: 16px;
        height: 16px;
    }

    .filter_openBtn .red_dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #ED1C24;
    }

    .filter_openBtn .filter_openBtn_sort, .filter_openBtn .filter_openBtn_filter {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .filter_openBtn_sort {
        padding-right: 16px;
        border-right: 1px solid #343D4C1A;
    }

    .filter_openBtn_filter {
        padding-left: 16px;
    }
}