.top-collection {
    padding: 0 0 15px 0 !important;
}

.count-product-list {
    color: #777777;
}

.collection-page .content-product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.sort-filter {
    display: none;
    position: absolute;
    margin-top: 10px;
    z-index: 20;
    background: #fff;
    right: 0;
    box-shadow: 2px 2px 10px 0px #dadada;
    border-radius: 5px;
    min-width: 200px;
}

.sort-filter li {
    padding: 7px 10px;
    cursor: pointer;
}

.sort-filter li.active {
    display: none;
}

.sort-filter li:hover {
    background: #E0E0E3;
}

.sort-filter.show {
    display: block;
}

.value-sort-by, .value-sort-by svg {
    margin-left: 5px;
    cursor: pointer;
}

.product-sort-list {
    position: relative;
}

#filter-collection .heading-filter {
    margin-right: 15px;
}

#filter-collection .filter-item {
    padding: 0 10px;
}

#filter-collection .filter-item.active-filter .title {
    font-weight: bold;
}

#filter-collection .filter-item .group-filter {
    display: none;
    position: absolute;
    background: #fff;
    z-index: 40;
    margin-top: 10px;
    box-shadow: 2px 2px 10px 0 #dadada;
    border-radius: 5px;
    min-width: 185px;
}

#filter-collection .filter-item .group-filter ul li label {
    display: block;
    padding: 8px 10px;
}

#filter-collection .filter-item .group-filter ul li input {
    display: none;
}

#filter-collection .filter-item .group-filter ul li:hover, #filter-collection .filter-item .group-filter ul li.active {
    background: #E0E0E3;
}

#filter-collection .filter-item .group-filter.active {
    display: block;
}

#filter-collection .filter-item .filter-color {
    max-width: 240px;
    padding: 10px 5px 5px 5px;
}

#filter-collection .filter-item .filter-color li {
    padding: 3px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin: 0 5px 5px 5px;
}

#filter-collection .filter-item .filter-color li:hover {
    background-color: transparent !important;
}

@media only screen and (min-width: 992px) {
    #filter-collection .filter-item .filter-color li:hover {
        border: 1px solid #085C65;
    }
}

#filter-collection .filter-item .filter-color li.active {
    border: 1px solid #085C65;
    background-color: transparent !important;
}

#filter-collection .filter-item .filter-color li label {
    font-size: 0;
    width: 25px;
    height: 25px;
    display: block;
    padding: 0 !important;
    border-radius: 50%;
    position: relative;
}

#filter-collection .filter-item .filter-color li label:after {
    content: "";
    height: 2.5px;
    background: #fff;
    position: absolute;
    width: 100%;
    filter: blur(1.5px);
    top: 12px;
    transform: rotate(145deg);
}

.open-filer-mobile #filter-collection {
    right: 0;
}

.js-toggle-filter.active svg, .value-sort-by.show svg, .show-more .view-more-fiter-js svg {
    transform: rotate(180deg);
}

.loadmore-collection button {
    position: relative;
    display: inline-block;
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
    cursor: pointer;
    min-width: 180px;
    border-radius: 5px;
    overflow: hidden;
}

.loadmore-collection button:before {
    background-color: var(--wd-bg_button);
    transition: 0.3s ease-out;
    border-radius: 5px;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    content: "";
}

.loadmore-collection button span {
    color: #fff;
    border: 1px solid var(--wd-bg_button);
    transition: 0.2s 0.1s;
    border-radius: 5px;
    position: relative;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
}

.loadmore-collection button:hover:before {
    height: 0%;
}

.loadmore-collection button:hover > span {
    color: var(--wd-bg_button);
    transition: 0.2s 0.1s;
}

.list-result-filter button {
    background: #EEEEEE;
    border: none;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 10px;
}

.list-result-filter button svg {
    margin-left: 5px;
}

.clear-all {
    background: none;
    border: none;
    outline: none;
    text-decoration: underline;
}

.banner-collection-1 {
    grid-area: 9 / 1 / 5 / 3;
}

.banner-collection-1 .shop-the-look-banner a {
    background: #101012;
}

.banner-collection-1 .shop-the-look-banner a:hover {
    background: #fff;
    color: #101012;
}

@media only screen and (min-width: 992px) {
    .check-box-list.scrollbar {
        max-height: 300px;
        overflow-y: auto;
    }

    .check-box-list.scrollbar::-webkit-scrollbar {
        width: 8px;
        background-color: #ccc;
    }

    .check-box-list.scrollbar::-webkit-scrollbar-thumb {
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: var(--wd-color-shop);
    }

    .banner-collection-1 {
        grid-area: 2 / 1 / 4 / 3;
    }

    .banner-collection-2 {
        grid-area: 5 / 3 / 7 / 5;
    }
}

@media only screen and (max-width: 991px) {
    .vl-f {
        margin-left: 2px;
    }

    .result-filter-tag {
        display: none !important;
    }

    .pro-loop-banner {
        margin: 0 -15px 10px -15px;
    }

    .collection-page .content-product-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .banner-collection-1 {
        grid-area: 3 / 1 / 3 / 3;
    }

    .banner-collection-2 {
        grid-area: 6 / 1 / 8 / 3;
    }

    #filter-collection {
        position: fixed;
        height: 100%;
        top: 0;
        width: 100%;
        right: -100%;
        background: #fff;
        z-index: 99997;
    }

    #filter-collection .heading-filter-mob {
        flex: 0 0 100%;
        display: flex;
        justify-content: space-between;
        padding: 15px;
        background: #e7e7e7;
    }

    #filter-collection .style-filter-mb {
        padding: 15px;
        max-height: calc(100% - 110px);
        overflow-y: auto;
    }

    #filter-collection .filter-item {
        padding: 15px 0;
        flex: 0 0 100%;
        border-bottom: 1px solid #ccc;
    }

    #filter-collection .filter-item:last-child {
        border: none;
    }

    #filter-collection .filter-item .title {
        font-weight: 600;
        margin-bottom: 10px;
    }

    #filter-collection .filter-item .group-filter {
        display: block;
        position: relative;
        background: none;
        box-shadow: none;
        margin: 0;
        border-radius: 0;
    }

    #filter-collection .filter-item .group-filter .bl-filter:not(.filter-color) .check-box-list {
        display: flex;
        flex-wrap: wrap;
        margin: 0px -5px;
    }

    #filter-collection .filter-item .group-filter .bl-filter:not(.filter-color) .check-box-list li {
        flex: 0 0 auto;
        text-align: center;
        padding: 0 5px;
        margin-bottom: 10px;
        background: none !important;
    }

    #filter-collection .filter-item .group-filter .bl-filter:not(.filter-color) .check-box-list li.active {
        background: none;
    }

    #filter-collection .filter-item .group-filter .bl-filter:not(.filter-color) .check-box-list li.active label {
        background: #E0E0E3;
    }

    #filter-collection .filter-item .group-filter .bl-filter:not(.filter-color) .check-box-list li label {
        border: 1px solid #ccc;
        border-radius: 5px;
        height: 100%;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    #filter-collection .filter-item .group-filter .filter-color {
        max-width: 100%;
        padding: 0;
    }

    .wrap-box-btn-f-mb {
        position: absolute;
        bottom: 0;
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 10px;
        background: #fff;
        z-index: 25;
        border-top: 1px solid #ccc;
    }

    .wrap-box-btn-f-mb .item {
        flex: 1;
        text-align: center;
        padding: 0 5px;
    }

    .wrap-box-btn-f-mb .item button {
        border: 1px solid #101012;
        width: 100%;
        padding: 6px 10px;
        border-radius: 5px;
    }

    .wrap-box-btn-f-mb .item button.js-apply-fiter {
        background: #101012;
        color: #fff;
    }

    .js-open-filter-mob {
        display: flex;
        align-items: center;
        position: relative;
        padding: 5px 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .js-open-filter-mob.filter-now {
        border-color: var(--wd-color-shop);
    }

    .js-open-filter-mob.filter-now .filter-active-check {
        opacity: 1;
    }

    .js-open-filter-mob .name {
        margin-left: 3px;
        color: var(--wd-color-shop);
    }

    .filter-active-check {
        position: absolute;
        bottom: 9px;
        left: 5px;
        opacity: 0;
    }

    .sort-filter-mob > li {
        margin-right: 10px;
    }

    .sort-filter-mob > li.active {
        border-bottom: 1px solid #085C65;
        font-weight: bold;
    }

    .toggle-price-sort {
        position: absolute;
        right: 0;
        top: 100%;
        z-index: 20;
        background: #fff;
        box-shadow: 2px 2px 10px 0px #dadada;
        border-radius: 5px;
        padding: 10px 0;
        display: none;
    }

    .toggle-price-sort.show {
        display: block;
    }

    .toggle-price-sort li {
        padding: 5px 10px;
    }

    .js-toggle-price-sort {
        display: flex;
        align-items: center;
    }

    .js-toggle-price-sort .descending, .js-toggle-price-sort .ascending {
        display: none;
    }

    .js-toggle-price-sort.ascending-active .ascending {
        display: block;
    }

    .js-toggle-price-sort.ascending-active svg:not(.ascending) {
        display: none;
    }

    .js-toggle-price-sort.descending-active .descending {
        display: block;
    }

    .js-toggle-price-sort.descending-active svg:not(.descending) {
        display: none;
    }

    .filter-no-color > ul > li:nth-child(n+7) {
        display: none;
    }

    .filter-no-color.show-more > ul > li:nth-child(n+7) {
        display: block;
    }

    .filter-color > ul > li:nth-child(n+25) {
        display: none;
    }

    .filter-color.show-more > ul > li:nth-child(n+25) {
        display: block;
    }
}

@media only screen and (max-width: 767px) {
    .collection-page .content-product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
