﻿.title__bar {
    flex-flow: row;
    align-items: flex-end;
    margin-bottom: 4rem;
}

    .title__bar h1 {
        margin-bottom: 0;
        line-height: 5rem;
    }

.title__back {
    position: relative;
    top: unset;
    left: unset;
}

@media(max-width: 767px) {
    .title__bar {
        flex-flow: column;
        align-items: center;
        margin: 2rem 0 1rem;
    }

    .title__back {
        display: none;
    }
}

.js-filter-mobile-open,
.js-filter-mobile-apply {
    display: none;
}

@media(max-width: 991px) {
    .js-filter-mobile-open,
    .js-filter-mobile-apply {
        display: flex;
        margin: 0 auto 3rem;
    }

        .js-filter-mobile-open svg,
        .js-filter-mobile-apply svg {
            margin-right: 1rem;
        }
}

.pop__seotext {
    margin-top: 9rem;
}

/* START PROPERTIES */

.pop__properties {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.pop__amount {
    position: relative
}

    .pop__amount input[type="checkbox"] {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
    }

    .pop__amount label {
        display: flex;
        background-color: var(--blue-light);
        min-width: 27rem;
        height: 3.8rem;
        border-radius: 1.9rem;
        cursor: pointer;
    }

        .pop__amount label span {
            width: 50%;
            height: 3.8rem;
            padding: 0 2rem;
            display: flex;
            justify-content: center;
            align-items: center;
            white-space: nowrap;
            position: relative;
            z-index: 1;
        }

        .pop__amount label:before {
            content: "";
            width: 50%;
            height: 3.4rem;
            position: absolute;
            top: .2rem;
            left: calc(50% - .2rem);
            background-color: #fff;
            border-radius: 1.7rem;
            z-index: 0;
            transition: var(--transition-default);
        }

    .pop__amount input[type="checkbox"]:checked ~ label:before {
        left: .2rem;
    }

.button--pdf {
    min-width: 20rem;
    height: 4.5rem;
    min-height: unset;
    background-color: #fff;
    border: .1rem solid #e6e6e6;
    border-radius: 2.25rem;
    color: var(--black);
    padding: 0 3rem 0 2.5rem;
    text-align: left;
    font-size: 1.4rem;
    line-height: 2.6rem;
    outline: none;
    font-weight: 400;
    margin: 0 1.5rem 0 auto;
}

    .button--pdf:hover {
        color: var(--black);
        border-color: var(--grey-light);
    }

    .button--pdf span:after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 19.9'%3E%3Cpath d='M17,16.9a2,2,0,0,1-2,2H3a2,2,0,0,1-2-2M14.3,9.7,9,15,3.7,9.7M9,1V15' fill='none' stroke='%23ccc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
        background-size: 1.5rem auto;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        width: 1.8rem;
        height: 2rem;
        right: -2.5rem;
        transition: var(--transition-default);
    }

    .button--pdf:hover span:after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 19.9'%3E%3Cpath d='M17,16.9a2,2,0,0,1-2,2H3a2,2,0,0,1-2-2M14.3,9.7,9,15,3.7,9.7M9,1V15' fill='none' stroke='%23aaa' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
        right: -2.5rem;
    }

    .button--pdf.disabled {
        color: #ccc !important;
        cursor: initial;
    }

.pop__sort .dropdown-toggle {
    min-width: 20rem;
    height: 4.5rem;
    background-color: #fff;
    border: .1rem solid #e6e6e6;
    border-radius: 2.25rem;
    color: var(--black);
    padding: 0 5rem 0 2.5rem;
    text-align: left;
    font-size: 1.4rem;
    line-height: 2.6rem;
    outline: none;
}

    .pop__sort .dropdown-toggle:hover {
        border-color: var(--grey-light);
    }

    .pop__sort .dropdown-toggle:after {
        border: none;
        margin: 0;
        vertical-align: unset;
        background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpolyline points='1 1 7 7 13 1' fill='none' stroke='%23ccc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: 100% 50%;
        width: 1.5rem;
        height: 3rem;
        position: absolute;
        top: 1rem;
        right: 2.5rem;
        transition: transform .2s linear;
    }

    .pop__sort .dropdown-toggle:hover:after {
        transform: translateY(.3rem);
    }

    .pop__sort .dropdown-toggle:active,
    .pop__sort .dropdown-toggle[aria-expanded="true"] {
        background-color: var(--blue-light);
    }

    .pop__sort .dropdown-toggle span {
        font-weight: 500;
        text-transform: lowercase;
    }

.pop__sort .dropdown-menu {
    width: 100%;
}

.product__labels {
    display: flex;
    margin-bottom: 1rem;
}

.product__label {
    background-color: #fff;
    border: .2rem solid var(--red);
    background-size: 1.5rem auto;
    background-position: 2rem 1rem;
    background-repeat: no-repeat;
    min-height: 2.8rem;
    border-radius: 1.4rem;
    padding: 0.5rem 1rem .3rem;
    font-size: 1.2rem;
    line-height: 2rem;
    color: var(--red);
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 .5rem 0 0;
}

.product__details .product__labels {
    transform: translateY(-.5rem);
}

.productoverview__item .product__labels {
    position: absolute;
    top: 1.5rem;
    left: 0;
    flex-flow: column;
    align-items: flex-start;
}

.productoverview__item .product__label {
    margin: 0 0 .5rem;
}

.productoverview__item .product__icons {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    align-items: flex-start;
    margin: 0;
}

.productoverview__item .product__icon {
    margin: 0 1rem 0 0;
    background-color: #fff;
}

    .productoverview__item .product__icon img {
        margin: 0;
        height: 4rem;
        border: 0.1rem solid var(--blue-light);
    }

@media(max-width: 767px) {
    .productoverview__item .product__labels {
        top: 7.5rem;
        left: 0;
    }

    .productoverview__item .product__icons {
        position: relative;
        bottom: unset;
        left: unset;
        margin: 0 0 0 10.5rem;
    }

    .productoverview__item .product__icon {
        margin: .5rem .5rem 0 0;
    }

    .productoverview__item .productoverview__image .product__icon img {
        height: 4rem;
    }
}

@media(max-width: 767px) {
    .pop__properties {
        display: none;
    }
}


/* END PROPERTIES */
/* START FILTER */
.productfilter__wrapper {
    padding-bottom: 6rem;
}

.productfilter {
    will-change: min-height;
}

    .productfilter .inner-wrapper-sticky {
        transform: translate(0, 0); /* For browsers don't support translate3d. */
        transform: translate3d(0, 0, 0);
        will-change: position, transform;
    }

.productfilter__group {
    margin-bottom: 3rem;
}

    .productfilter__group .dropdown-menu {
        position: relative;
        top: unset;
        left: unset;
        float: unset;
        min-width: 100%;
        padding: 0;
        margin: 0;
        border: none;
    }

    .productfilter__group .productfilter__header {
        background: none;
        border: none;
        padding: 1rem 3rem 1rem 0;
        margin: 0;
        font-family: 'Changa';
        font-weight: 800;
        font-size: 2.2rem;
        line-height: 2rem;
        color: #000;
        width: 100%;
        text-align: left;
        position: relative;
        outline: none;
        display: flex;
    }

        .productfilter__group .productfilter__header:after {
            content: "";
            background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpolyline points='1 1 7 7 13 1' fill='none' stroke='%23ccc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: 100% 50%;
            width: 1.5rem;
            height: 3rem;
            position: absolute;
            top: .6rem;
            right: 0;
            transition: transform .2s linear;
        }

        .productfilter__group .productfilter__header:hover:after {
            transform: translateY(.3rem);
        }

        .productfilter__group .productfilter__header[aria-expanded="true"]:after {
            transform: rotate(180deg);
        }

        .productfilter__group .productfilter__header[aria-expanded="true"]:hover:after {
            transform: rotate(180deg) translateY(.3rem);
        }

    .productfilter__group ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .productfilter__group ul li {
            display: flex;
            position: relative;
            margin: 1rem 0;
        }

            .productfilter__group ul li a {
                width: 100%;
                display: flex;
                color: var(--black);
            }

                .productfilter__group ul li a:hover {
                    color: var(--blue);
                }

            .productfilter__group ul li span {
                margin-left: auto;
                font-size: 1.2rem;
                color: var(--grey);
                transform: translateY(.1rem);
            }


            .productfilter__group ul li input[type="checkbox"] {
                position: absolute;
                top: 0;
                left: 0;
                opacity: 0;
            }

                .productfilter__group ul li input[type="checkbox"] ~ label {
                    width: 100%;
                    position: relative;
                    padding-left: 4rem;
                    cursor: pointer;
                    transition: var(--transition-default);
                }

                    .productfilter__group ul li input[type="checkbox"] ~ label:hover {
                        color: var(--blue);
                    }

                    .productfilter__group ul li input[type="checkbox"] ~ label:before {
                        content: "";
                        width: 2rem;
                        height: 2rem;
                        border-radius: .2rem;
                        border: .1rem solid #e1e5e6;
                        position: absolute;
                        top: .4rem;
                        left: 0;
                        transition: var(--transition-default);
                    }

                .productfilter__group ul li input[type="checkbox"]:checked ~ label {
                    color: var(--blue);
                    font-weight: 600;
                }

                    .productfilter__group ul li input[type="checkbox"]:checked ~ label:before {
                        border-color: var(--blue);
                        background-color: var(--blue);
                    }

                    .productfilter__group ul li input[type="checkbox"]:checked ~ label:after {
                        content: "";
                        position: absolute;
                        top: .4rem;
                        left: 0;
                        width: 2rem;
                        height: 2rem;
                        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='13' viewBox='0 0 18 13'%3E%3Cpolyline points='17 1 6 12 1 7' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3'/%3E%3C/svg%3E");
                        background-size: 1.2rem auto;
                        background-position: 50% 50%;
                        background-repeat: no-repeat;
                    }

            .productfilter__group ul li input[type="radio"] {
                position: absolute;
                top: 0;
                left: 0;
                opacity: 0;
            }

                .productfilter__group ul li input[type="radio"] ~ label {
                    width: 100%;
                    cursor: pointer;
                    transition: var(--transition-default);
                }

                    .productfilter__group ul li input[type="radio"] ~ label:hover {
                        color: var(--blue);
                    }

                .productfilter__group ul li input[type="radio"]:checked ~ label {
                    color: var(--blue);
                    font-weight: 600;
                }


    .productfilter__group .productfilter__more button {
        border: none;
        background: none;
        padding: 0;
        margin: 0;
        outline: none;
        color: var(--blue);
        font-weight: 600;
        width: 100%;
        text-align: left;
        transition: var(--transition-default);
    }

        .productfilter__group .productfilter__more button:hover {
            color: var(--blue-hover);
        }

    .productfilter__group .productfilter__more ~ li {
        display: none;
    }

.button--info {
    width: 1.6rem;
    min-width: 1.6rem;
    height: 1.6rem;
    min-height: unset;
    padding: 0;
    background-color: var(--blue);
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1rem;
    transform: translateY(.3rem);
    position: relative;
    z-index: 1;
}

    .button--info:before {
        content: "";
        width: 200%;
        height: 200%;
        position: absolute;
        top: -50%;
        left: -50%;
        background-color: transparent;
    }

    .button--info span:after {
        content: none;
    }

    .popover {
        border: none;
        background-color: var(--blue);
        font-family: 'Inter';
        color: #fff;
        font-size: 1.2rem;
        line-height: 1.8rem;
        border-radius: 0;
    }

    .popover.bs-popover-right {
        margin-left: 1rem !important;
    }

.popover-body {
    color: #fff;
    padding: 1rem 1.5rem;
}

.popover .arrow {
    width: 1.6rem;
    height: .8rem;
}

.bs-popover-right > .arrow::before,
.bs-popover-auto[data-popper-placement^=right] > .arrow::before,
.bs-popover-top > .arrow::before,
.bs-popover-auto[data-popper-placement^=top] > .arrow::before,
.bs-popover-bottom > .arrow::before,
.bs-popover-auto[data-popper-placement^=bottom] > .arrow::before {
    content: none;
}

.bs-popover-right > .arrow,
.bs-popover-auto[data-popper-placement^=right] > .arrow {
    left: calc(-0.8rem);
    width: 0.8rem;
    height: 1.6rem;
}

    .bs-popover-right > .arrow::after,
    .bs-popover-auto[data-popper-placement^=right] > .arrow::after {
        left: 0;
        border-width: 0.8rem 0.8rem 0.8rem 0;
        border-right-color: var(--blue);
    }

.bs-popover-top > .arrow,
.bs-popover-auto[data-popper-placement^=top] > .arrow {
    bottom: calc(-0.8rem);
}

    .bs-popover-top > .arrow::after,
    .bs-popover-auto[data-popper-placement^=top] > .arrow::after {
        border-width: 0.8rem 0.8rem 0;
        border-top-color: var(--green-dark);
    }

.bs-popover-bottom > .arrow,
.bs-popover-auto[data-popper-placement^=bottom] > .arrow {
    top: calc(-0.8rem);
}

    .bs-popover-bottom > .arrow::after,
    .bs-popover-auto[data-popper-placement^=bottom] > .arrow::after {
        border-width: 0 0.8rem 0.8rem 0.8rem;
        border-bottom-color: var(--green-dark);
    }


@media(max-width: 991px) {
    .productfilter__wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        padding: 6rem 0 15rem;
        background-color: #fff;
        z-index: 20;
        transition: var(--transition-default);
        transform: translateX(100%);
    }

        .productfilter__wrapper:before {
            content: "";
            width: 100%;
            height: 5rem;
            position: absolute;
            left: 0;
            bottom: 15rem;
            background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
            z-index: 1;
        }

        .productfilter__wrapper.show {
            transform: translateX(0);
        }

    .productfilter {
        width: 100%;
        height: 100%;
        padding: 0 1.5rem;
        overflow: auto;
    }

    .productfilter__wrapper .dropdown__close {
        background-color: var(--black);
        z-index: 21;
    }

    .productfilter__group .productfilter__header {
        padding: 1rem 0;
    }

    .productfilter__wrapper .js-filter-mobile-apply {
        margin-top: 1rem;
    }

    .productoverview__list {
        position: relative;
        padding-top: 3rem;
    }

        .productoverview__list:before {
            content: "";
            width: calc(100% - 3rem);
            position: absolute;
            top: 0;
            left: 1.5rem;
            border-top: 0.1rem solid var(--blue-light);
        }
}

/* END FILTER */
/* START PRODUCT OVERVIEW */
.pop .productoverview__item {
    margin-bottom: 5rem;
    page-break-inside: avoid;
}

body.pdf .productoverview__specs {
    height: 100px;
}

body.pdf .productoverview__title {
    height: 70px;
}
/* END PRODUCT OVERVIEW */

/* START SKELETON */
/* Placeholder tiles shown while the product overview list is being fetched via AJAX.
   They reuse the .productoverview__item layout so they line up exactly with the real
   tiles that replace them once the data arrives. */

/* Shared shimmering surface: a light grey block with a subtle highlight sweeping across. */
.skeleton__shape {
    position: relative;
    overflow: hidden;
    background-color: var(--skeleton-base);
    border-radius: .4rem;
}

    .skeleton__shape:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: translateX(-100%);
        background-image: linear-gradient(90deg, transparent 0%, var(--skeleton-highlight) 50%, transparent 100%);
        animation: skeletonShimmer 1.4s ease-in-out infinite;
    }

@keyframes skeletonShimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Image placeholder: fills the same space a real product image occupies. Two-class selector
   to match the specificity of .productoverview__item .productoverview__image (site-product.css)
   so the border it sets is dropped. */
.skeleton .skeleton__image {
    min-height: 26rem;
    border-bottom: 0;
    border-radius: .6rem;
}

/* Text placeholders inside the tile body. */
.skeleton__line {
    display: block;
    width: 100%;
    height: 1.4rem;
    margin-bottom: 1rem;
}

.skeleton__line--subtitle {
    width: 40%;
    height: 1.2rem;
}

.skeleton__line--title {
    width: 80%;
    height: 1.8rem;
    margin-bottom: 1.6rem;
}

.skeleton__line--short {
    width: 60%;
}

/* Respect users who prefer reduced motion: show the placeholders statically. */
@media (prefers-reduced-motion: reduce) {
    .skeleton__shape:after {
        animation: none;
    }
}
/* END SKELETON */
