.product-detail {
    .slick-arrow {
        cursor: pointer;
    }

    h1 {
        line-height: 1.3;
        font-weight: 700;
    }

    h2 {
        text-align: center;
        margin-bottom: 2rem;
    }

    .product-details {
        @media (min-width: 1200px) {
            padding-left: 2rem;
        }
    }

    .product-detail__brand img {
        width: 100%;
        max-width: 150px;
        height: auto;
        margin-bottom: 1rem;
    }


    .product-detail__sku {
        font-size: .875rem;
    }

    .product-detail__price {
        font-size: 1.625rem;
        font-weight: 400;

        .product-detail__price--not-logged-in {
            font-size: 1.4rem;
        }
    }

    .product-detail__check-stock-status {
        border-radius: 2rem;
        cursor: pointer;
        position: relative;

        @media (max-width: 768px) {
            margin: 1.2rem 0 2rem;

            &.btn-lg {
                padding: 0.575rem 1.5rem;
            }
        }

        .loader-wrapper {
            display: none;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        &.stock-loading {
            cursor: not-allowed;
            .loader-wrapper {
                display: flex;
            }

            .product-detail__check-stock-status--text {
                opacity: .2;
            }
        }
    }

    .product-detail__check-stock-status--wrapper {
        margin: 2rem 0;

        .stock-status {
            display: none;
            align-items: center;
            height: 48px;
            font-weight: 400;
            font-size: 18px;
        }

        &.in-stock .in-stock {
            display: flex;
            color: var(--color-accent-green);
        }

        &.out-of-stock .out-of-stock {
            display: flex;
            color: var(--color-error);
        }

        &.few-in-stock .few-in-stock {
            color: var(--color-warning);
            display: flex;
        }

        @media (min-width: 1200px) {
            height: 58px;
        }
    }


    .images-block {
        @media (min-width: 1200px) {
            padding-right: 2rem;

            .product-detail__image {
                img {
                    width: 100%;
                    height: auto;
                }
            }
        }

        img {
            margin: 0 auto;
        }
    }

    .product-detail__accordion {
        .card {
            margin-bottom: 1rem;
        }

        .card-header {
            padding: 0;
            background: var(--color-white);
            border-bottom: 0;

            button {
                display: flex;
                align-items: center;
                justify-content: space-between;
                background: var(--color-white);
                color: var(--color-default);
                padding: 0.85rem 1.25rem;
                width: 100%;
                text-align: left;
                font-weight: 400;

                .chevron-icon {
                    transition: transform 0.2s ease-in-out;
                }

                &.collapsed {
                    .chevron-icon {
                        transform: rotate(90deg);
                    }
                }

                &:focus, &:active {
                    outline: 0;
                }
            }
        }

        .card-body {
            padding-top: .5rem;
        }

    }

    .product-detail__related-products--container {
        @media (min-width: 720px) {
            .slick-slide {
                margin: 0 10px;
            }
        }

        .image {
            min-height: 240px;
        }

        .caption {
            height: 126px;
            display: flex;
            flex-direction: column;
        }

        h4 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.3;
            flex-grow: 1;
        }
    }

    .product-detail__sales {
        .product-detail__sales--grid {
            display: flex;
            justify-content: space-evenly;
            flex-wrap: wrap;
        }
        .product-detail__sales--person {
            width: calc(100% / 2);
            max-width: 160px;

            h3, p {
                font-size: 0.875rem;
            }

            a {
                display: block;
            }

            h3 {
                margin: 1rem 0 0.3rem;

                @media (min-width: 720px) {
                    font-size: 1.125rem;
                }
            }

            &:nth-child(odd) {
                padding-right: 10px;
            }

            &:nth-child(even) {
                padding-left: 10px;
            }

            @media (min-width: 720px) {
                max-width: 240px;
                padding: 0 10px;
            }

            @media (min-width: 991px) {
                width: calc(100% / 3);
            }

            @media (min-width: 1280px) {
                width: calc(100% / 4);
            }


        }

        .product-detail__sales--image {
            position: relative;
            width: 120px;
            height: 120px;
            margin: 0 auto;

            @media (min-width: 720px) {
                width: 220px;
                height: 220px;
            }

            img {
                object-fit: cover;
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border-radius: 50%;
            }
        }

        .product-detail__sales--info {
            p {
                margin-bottom: .6rem;
            }
        }
    }

    .section-container {
        margin: 5rem 0;
        @media (min-width: 991px) {
            margin: 8rem 0;
        }
    }

    .product-detail__attribute-list {
        margin: 0;
        & > div {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-gap: 20px;
            align-items: center;
            padding: 12px;

            &:nth-child(odd) {
                background-color: var(--color-neutral-100);
            }

            dt {
                font-weight: 100;
            }

            dd {
                margin: 0;
            }
        }
    }

    .pimcore_editable_video > iframe {
        height: 200px;
        @media (min-width: 640px) {
            height: 370px;
        }
    }
}

