/* @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: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

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

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

/* .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 20px;
    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.active {
    font-family: Archivo;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: gray;
}

.dropdown-btn.active .highlight {
    font-weight: 600;
}

.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%); */
    transform: translateY(-50%) rotate(0deg);
}

.dropdown-btn.active::after {
    transform: translateY(-50%) rotate(180deg);
}

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

.dropcontent:nth-of-type(1) .dropdown-content {
    left: 0;
    /* left: 7.3%; */
    margin-top: 26px;
    /* top: 19%; */

}

.dropcontent:nth-of-type(2) .dropdown-content {
    /* left: 48%; */
    left: 34.5%;
    margin-top: 26px;
    /* top: 19%; */
}

.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 a {
    border-bottom: 1px solid #F6F6F6;
}

.dropdown-content a:last-of-type {
    border-bottom: none;
}

.dropdown-content label {
    padding: 12px 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;
}

.filter_cmp_left .dropdown-content label input[type="checkbox"]:checked~span {
    font-family: Archivo;
    font-weight: 600;
    font-size: 14px;
    line-height: 140%;
    color: #512B8B;
}


.highlight {
    font-weight: 600;
}

.clear-btn {
    font-family: Archivo;
    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 .active>.Popularity {
    font-weight: 700;
    color: #512B8B;
}

.filter_cmp_right .dropdown-content {
    padding: 20px 5px 0 20px;
    min-width: 220px;
    border-radius: 16px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    /* flex-direction: column-reverse; */
    left: -11px;
}

.filter_cmp_right .dropdown-content div {
    border-bottom: 1px solid #F6F6F6;
}

.filter_cmp_right .dropdown-content div:last-of-type {
    border-bottom: unset;
}

.filter_cmp_right .dropdown-content a:last-child {
    padding-bottom: 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%);
    z-index: 1;
}

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

.dropdown-content span {
    padding-top: 1px;
}

.filter_title_header_mobile h2 {
    font-family: Archivo;
    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;
}

.sortby_overlay {
    display: none;
}

/* .filter_cmp_right .dropdown-content{
    min-width: 220px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    left: -11px;
} */
#colorDropdown label img {
    display: none;
}

#styleDropDown .colorImg {
    display: none;
}

.colorImg {
    display: none;
}

@media screen and (max-width : 768px) {
    .landingpage_container {
        padding: 0 14px;
    }

    #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;
    }

    .dropdown-btn.active {
        font-family: Archivo;
        font-weight: 500;
        font-size: 12px;
        line-height: 140%;
        color: #202129;
    }

    .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(100% - 42px);
        /* overflow: scroll; */
    }

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

    .filters_wrapper-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #1F242D;
        /* #1F242D with transparency */
        backdrop-filter: blur(1px);
        /* border-radius: 16px; */
        z-index: 100021;
        /* just below .filters_wrapper */
        display: none;
        justify-content: center;
        align-items: center;
        padding: 4px;
        /* optional to prevent content touching edges */
    }

    /* .filters_wrapper {
        display: none;
        padding-top: 21px;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 100022;
    } */
    .filters_wrapper {
        background: #fff;
        /* keep filter box content white */
        border-radius: 16px;
        width: 100%;
        max-width: 420px;
        /* optional: limits overlay width */
        height: auto;
        overflow: hidden;
        margin-bottom: 0;
        height: 100%;
        padding-top: 20px;

    }

    .filter_cmp_left {
        height: calc(100% - 46px);
    }

    .filters {
        flex-wrap: unset;
        align-items: start;
        gap: 0;
        /* height: calc(100vh - 67px); */
        /* height: calc(100% - 67px); */
        height: 100%;
        border-top: 1px solid #E6E7EB;
        width: unset;
    }

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

    .highlight {
        display: none;
    }

    .dorpdown_box {
        /* height: calc(100vh - 116px); */
        height: calc(100% - 42px);
        /* overflow: scroll; */
        overflow-y: scroll;
    }

    .dropdown-btn {
        border: none;
        border-radius: unset;
        background: unset;
        font-family: Archivo;
        padding-left: 12px;
        font-weight: 400;
        font-size: 12px;
        line-height: 140%;
        color: #202129;
    }

    .dropdown-btn.active .filter-dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #512B8B;
    }

    .dropdown-content label {
        font-size: 12px;
        font-weight: 400;
        line-height: 140%;
        font-family: Archivo;
        /* min-height: 48px; */
        padding: unset;
        position: relative;
        padding: 16px 0;
    }
    .dropdown-content label:last-of-type{
        border-bottom: 1px solid #F6F6F6;
    }
    .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: Archivo;
        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;
        font-family: Archivo;
        font-weight: 700;
        font-size: 12px;
        line-height: 140%;

    }

    .filter_mobile_btn.greyOut {
        background-color: #D5D7DE;
    }

    .reset_mobile.greyOut {
        font-family: Archivo;
        font-weight: 700;
        font-size: 12px;
        line-height: 140%;
        text-align: center;
        color: #9DA1B0;
        background: #F2F3F5;
    }

    .filters_dropdowns {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        font-family: Archivo;
        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); */
        background: #FFFFFF;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        min-height: 49px;
        font-family: Archivo;
        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;
        border: 5px solid #343D4C1A;
        backdrop-filter: blur(21.156070709228516px);
    }

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

    .filter_openBtn .red_dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #ED1C24;
        /* margin-top: 1px; */
    }

    .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 #DFDFDF;
    }

    .filter_openBtn_filter {
        padding-left: 16px;
    }

    .sortby_overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        z-index: 10000;
        backdrop-filter: blur(1px);
        display: none;
        /* opacity: 0;
  pointer-events: none; */
        /* transition: opacity 0.3s ease; */
        /* margin: 0 4px; */
    }

    .sortby_overlay.active {
        /* opacity: 1;
  pointer-events: auto; */
        display: flex;
    }

    .sortby_wrapper {
        background: #fff;
        width: 100%;
        border-radius: 16px;
        padding: 20px 20px 24px 20px;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        position: relative;
        margin: 0 4px;
    }

    .sortby_overlay.active .sortby_wrapper {
        transform: translateY(0);
    }

    .sortby_title_wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .sortby_close {
        width: 28px;
        height: 28px;
        cursor: pointer;
    }

    .sortby_title {
        font-family: Archivo;
        font-weight: 500;
        font-size: 20px;
        line-height: 126%;
        color: #181818;
    }

    .sortby_list_img {
        width: 20px;
        height: 20px;
    }

    /* #sortby_overlay .sortBy-holder {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    } */

    .sortby_list_title {
        font-family: Archivo;
        font-weight: 400;
        font-size: 16px;
        line-height: 150%;
        color: #202129;
    }

    .active>.sortby_list_title {
        font-size: 16px;
        line-height: 150%;
        color: #512B8B;
        font-weight: 700;
    }

    .sortby_list {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 24px 0;
        border-top: 1px solid #F6F6F6;
        width: 100%;
    }

    .sortby_list:last-child {
        border-bottom: 1px solid #F6F6F6;
    }

    #colorDropdown label img {
        margin-left: auto;
        display: block;
    }

    .colorImg {
        width: 28px;
        height: 16px;
    }

    .filter_cmp_left .dropdown-content label input[type="checkbox"]:checked~span {
        font-family: Archivo;
        font-weight: 500;
        font-size: 12px;
        line-height: 140%;
        color: #512B8B;
    }
    .dropcontent:nth-of-type(1) .dropdown-content{
    margin-top: 0;
}
    .dropcontent:nth-of-type(2) .dropdown-content{
    margin-top: 0;
    }

}