.filter-top button {
    background: transparent;
    border: var(--border1);
    padding: 0.8rem 1.4rem;
    cursor: pointer;
    margin-right: 0.5rem;
}
.filter-btn.active {
    background-color: #000;
    color: #fff;
}
.map-modal .item {
    opacity: 1;
}
.filter-results .item .media {
    width: 15rem;
    margin-right: 2rem;
}

.filter-results.items-list .item .media {
    width: 100%;
    margin-right: 0rem;
}
.filter-results .itemtext {
    padding: 0.9rem 0 3rem 0;
}
.map-filter-column .filter-results .item.horizontal {
    box-shadow: unset;
    border-bottom: var(--border1);
}
.map-filter-column .filter-results .itemtext {
    padding: 2rem 4rem 2rem 0rem;
}
.map-marker-content {
    padding: 1rem;
    width: 25rem;
    text-align: left;
}
.map-marker-content h4 {
    margin: 0 0 0.5rem 0;
}
.map-marker-content p {
    line-height: 1.5;
    margin-top: 1rem;
}
.filter-results .itemtext h3 {
    margin: 0;
}
.filter-results .itemtext p:last-of-type {
    margin-bottom: 0;
}
.full-width .filter-results .item .media {
    width: 100%;
    height: 24rem;
    margin-right: 0;
}

.filter-top .filter-btn {
    margin-top: 1rem;
}
section.filter .map-filter-column .container > .bottom-arrrow {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 2rem;
    width: 2rem;
    text-align: center;
    z-index: 1;
    transform: translateX(-50%);
    transition: var(--animtime2);
    opacity: 1;
    -moz-animation: bounce 2s infinite, fadeIn ease 0.4s;
    -webkit-animation: bounce 2s infinite, fadeIn ease 0.4s;
    animation: bounce 2s infinite, fadeIn ease 0.4s;
    cursor: pointer;
}
section.filter .map-filter-column .container > .bottom-arrrow svg {
    transform: rotate(90deg);
    width: 2rem;
    height: auto;
}
section.filter .map-filter-column .container .item .bottom-arrrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    transition: var(--animtime2);
}
section.filter .map-filter-column .item.horizontal:hover .bottom-arrrow {
    right: 0.5rem;
}
section.filter .map-filter-column {
    position: relative;
}
section.filter .map-filter-column:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 15rem;
    bottom: 0;
    left: 0;
    background: transparent
        linear-gradient(
            0deg,
            rgb(255, 255, 255) 0%,
            rgba(255, 255, 255, 0) 100%
        )
        0% 0% no-repeat padding-box;
}
button.show-more {
    margin: 0 auto;
    margin-top: 3.5rem;
}
.load-more-container button.show-more {
    margin-top: 0;
    width: 100%;
    background: transparent;
    max-width: 16rem;
    width: auto;
    border-width: 0;
}
.load-more-container button.show-more:after {
    display: none;
}
.filter .load-more-container {
    margin-bottom: 0;
    margin-top: 3rem;
    text-align: center;
}
.map-modal {
    height: 15rem;
    width: 60%;
    position: absolute;
    display: flex;
    bottom: 5rem;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
}
section.map {
    padding: 0;
    position: relative;
}
section.filter:not(.full-width) {
    display: flex;
}
.map-filter-column,
.map-column {
    flex: 0 0 50%;
    position: relative;
}
.map-filter-column .container {
    overflow: auto;
    height: 80vh;
}
.map-filter-column .container::-webkit-scrollbar {
    display: none;
}

.map-filter-column .container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.map-filter-column .container .items-list {
    padding-bottom: 8rem;
    row-gap: unset;
}
section.filter .map-filter-column.hide-arrow:after {
    display: none;
}
.map-column #map {
    height: 80vh;
}
.bottom-arrrow .arowb {
    stroke: var(--clr1);
}
#map .gm-ui-hover-effect {
    top: 0.5rem !important;
    right: 0.5rem !important;
}
#map .bottom-arrrow {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
}
.filter li.product {
    width: auto !important;
    margin-right: 0 !important;
}
/* .filters-group + .filters-group {
    margin-top: 2.4rem;
} */
.filters-group{
    border-bottom: 1px solid black;

}

.filters-group.active{
    padding-bottom: 2rem;
}

.filter-group-title {
    margin: 0;
    font-size: calc(1.6rem * var(--text-scaler));
    line-height: normal;
    cursor: pointer;
    text-transform: uppercase;
    padding: 2rem 0;
    position: relative;
}

.filter-group-title::before,
.filter-group-title::after {
    content: '';
    position: absolute;
    right: 0;               /* place icon on the right side */
    top: 50%;
    width: 1.8rem;
    height: 1px;
    background-color: #000; /* adjust color as needed */
    transform: translateY(-50%);
    transition: opacity var(--animtime1) ease, var(--animtime1) ease;
}
/* vertical bar -> rotate 90deg to get plus */
.filter-group-title::after {
    transform: translateY(-50%) rotate(90deg);
}

/* when active: show minus (only horizontal bar) */
.filter-group-title.active::after {
    opacity: 0;              /* hide vertical bar */
    transform: translateY(-50%) rotate(90deg) scaleY(0.1);
}
.filters-group-wrapper {
    position: relative;
}
.filters-group-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.filters-group-wrapper{
    display: none;
}
.filters-group-buttons::-webkit-scrollbar {
    display: none;
}
.filters-group-buttons .filter-btn {
    white-space: nowrap;
    margin: 0;
    display: inline-block;
    order: 2;
    font-family: var(--Typeface-Secondary);
    font-size: calc(1.6rem * var(--text-scaler));
    transition: var(--animtime1);
}

.filters-group-buttons .filter-btn:not(.active):hover {
    background-color: var(--clr5);
}

.filters-group-buttons .filter-btn span {
    font-size: calc(1.4rem * var(--text-scaler));
    color: var(--textclr5);
}
.filters-group-buttons .filter-btn.active {
    order: 1;
}
.scroll-fade {
    position: absolute;
    top: 0;
    width: 4rem;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.scroll-fade.left {
    left: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 0)
    );
}

.scroll-fade.right {
    right: 0;
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 0)
    );
}

.scroll-fade.visible {
    opacity: 1;
}

.filter-results.columns-4 {
    grid-template-columns: 1fr 1fr;
    margin: 0;
    row-gap: 3.2rem;
    column-gap: 1.6rem;
}
.filter-results .item .media {
    order: 1;
    position: relative;
    padding-bottom: 100%;
}
.filter-results .item .media,
.filter-results .item figure {
    height: auto;
}
.filter-results .item .media img,
.filter-results .item .media video {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
    transition: var(--animtime1);
}
.filter-results .item h3 {
    order: 2;
    font-size: calc(var(--fontsize_h5) * var(--text-scaler));
    line-height: calc(var(--lineh_h2_s) * var(--text-scaler));
    letter-spacing: 0.1rem;
    margin: 1.6rem 0;
}
.filter-results .item .itemtext {
    display: none;
}
.filter-top-title {
    /* font-family: var(--Typeface-Primary); */
    margin: 0 0 4rem;
    text-transform: uppercase;
}

.showing-top{
    display: none!important;
}

@media screen and (max-width: 1000px) {
    section.filter:not(.full-width) {
        flex-direction: column-reverse;
    }
    .map-filter-column .container .items-list {
        padding-bottom: 3rem;
    }
    .map-filter-column,
    .map-column {
        flex: 0 0 100%;
    }
    .map-column #map {
        height: 50rem;
    }
    .map-filter-column .container {
        height: auto;
    }
    section.filter .map-filter-column:after,
    section.filter .map-filter-column .bottom-arrrow.total {
        display: none;
    }
    .filter-top-title {
        display: none;
    }
    .filter-top-outer {
        margin-bottom: 3.2rem;
    }
}
@media screen and (max-width: 768px) {
    .filter ul.products li.product {
        width: auto !important;
        margin: 0 0 2.992em;
    }
}
@media screen and (min-width: 1001px) {
    .filter-results.columns-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .filter .container{
        transition: var(--animtime1);
    }

    .filter-top {
        position: sticky;
        top: 0;
        left: 0;
        width: 30rem;
        /*height: var(--viewport-height);*/
        height: auto;
        background: #fff;
        padding: 15rem 2rem 8rem;
        z-index: 99;
        transform: translate(-100%);
        transition: var(--animtime2);
    }

    .filters-visible .filter-top {
        transform: translate(0);
    }

    .filters-visible .container {
        padding-left: 10rem;
    }
    .filter .container {
        transition: padding-left var(--animtime2);
    }
    section.filter {
        overflow: visible;
        position: relative;
        min-height: var(--viewport-height);
    }
    .filter-top-outer {
        position: absolute;
        top: 0;
        left: 0;
        /*height: 100%;*/
        min-height: 100%;
        width: 1px;
    }
    .no-results-container {
        margin: 20rem 0;
        text-align: center;
    }
}
@media screen and (min-width: 1200px) {
    .filters-visible .container {
        padding-left: 25rem;
    }
}
@media screen and (min-width: 1250px) {
    .filters-visible .container {
        padding-left: 30rem;
    }
}
@media screen and (min-width: 1400px) {
    .filters-visible .container {
        padding-left: 30rem;
    }
}
@media screen and (min-width: 1601px) {
    .filters-visible .container {
        padding-left: 22rem;
    }
}
@media screen and (min-width: 1800px) {
    .filters-visible .container {
        padding-left: 32rem;
    }
}
@media screen and (min-width: 1920px) {
    .filter-top {
        width: 38rem;
    }
}
@media screen and (min-width: 2100px) {
    .filter-top {
        width: 46rem;
    }
}
@media screen and (min-width: 2300px) {
    .filter-top {
        width: 56rem;
    }
}
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(0.3rem);
    }
}
