/* Rich Text */
.section-image-hotspot-custom[id*="image-hotspot-custom"] {
    .row-text-content {

        .rich-text {
            max-width: 620px;
            margin: 0 auto;

            @media screen and (max-width: 767px) {
                text-align: left;
            }

        }

        .rich-text h6 {
            font-size: 16px;
            font-weight: 600;
            letter-spacing: 0.2em;
            color: var(--color-text);
            margin-bottom: 30px;
        }

        .rich-text img,
        .rich-text .thb-placeholder {
            margin-bottom: 30px;
        }

        .rich-text .thb-placeholder {
            width: 120px;
            height: 120px;
            padding: 0;
        }

        .rich-text .rich-text-inner {
            padding: 0 10%;
        }

        .rich-text.text-position-left {
            margin-left: 0;
        }

        .rich-text.text-position-right {
            margin-right: 0;
        }

        .rich-text.text-width-small {
            max-width: 400px;
        }

        .rich-text.text-width-large {
            max-width: 800px;
        }

        .thb-hotspot-wrapper {
            margin: 0;
        }
    }

    .row-media-content {

        .thb-hotspot-wrapper {
            margin: 0;
        }

        .product-drawer.thb-hotspots-products {
            top: 0;
            bottom: auto;
            right: 0;
            left: auto;
            transform: none;
            z-index: 1001 !important;
            max-width: 575px;
            height: 100%;
            max-height: none;
            padding: 0;
            overflow-y: initial;

            @media screen and (max-width: 1067px) {
                bottom: 0;
                top: auto;
                left: calc(100% - 575px);

            }

            @media screen and (max-width: 767px) {
                max-width: none;
                max-height: 80dvh;
                left: 0;
                border-top-left-radius: 32px;
                border-top-right-radius: 32px;
                overflow: hidden;
            }

            .products.thb-hotspots-products-carousel {
                max-width: none;
                height: 100%;

                .flickity-viewport {
                    height: 100% !important;
                }

                .carousel__slide {
                    padding: 0;
                    height: 100%;

                    product-card.product {
                        height: 100%;
                        max-width: none;
                        text-align: left;

                        .product_thumbnail {
                            --ratio-percent: 70% !important;
                            padding-bottom: 0;
                            margin-bottom: 0;
                            max-height: 300px;

                            img {
                                object-position: bottom;
                                height: 100%;
                                object-fit: cover;
                            }
                        }

                        .product_content {
                            padding: 2rem;
                            flex-grow: 1;
                            display: flex;
                            flex-direction: column;
                            justify-content: space-between;
                            gap: 1.5rem;
                            min-height: 0;

                            @media screen and (max-width: 767px) {
                                padding: 1rem;

                            }

                            &>* {
                                display: none;
                            }

                            .product-card__content {
                                display: block;
                                flex-grow: 1;
                                overflow-y: auto;
                                min-height: 0;

                                h3.product-card__title {
                                    font-size: 2rem;
                                    margin-bottom: 2rem;

                                    @media screen and (max-width: 767px) {
                                        font-size: 1.6rem;
                                        padding-right: 110px;
                                    }

                                }

                                .product-card__desc {
                                    font-size: 1rem;
                                    line-height: 1.6;
                                    color: #151515;

                                    @media screen and (max-width: 767px) {
                                        font-size: 1rem;
                                    }
                                }
                            }

                            .product-card__footer {
                                display: flex;
                                flex-direction: row;
                                justify-content: space-between;

                                .product-card__btn {
                                    display: block;
                                    padding: 14px 24px;
                                    transition: all .25s cubic-bezier(.25, .46, .45, .94);
                                    border-radius: 10px;
                                    background: none;
                                    color: #fff;
                                    background: #1f3a5f;
                                    width: fit-content;
                                    font-size: 18px;

                                    &:hover {
                                        background: #85c6f3;
                                        color: #fff;
                                    }
                                }
                            }

                        }
                    }
                }

                .slideshow-btns {
                    position: absolute;
                    display: flex;
                    flex-direction: row;
                    gap: 10px;
                    z-index: 1;
                    bottom: calc(2rem + 6px);
                    right: 2rem;

                    @media screen and (max-width: 767px) {
                        bottom: auto;
                        top: calc(300px + 16px);
                        right: 1rem;
                    }

                    :is(.flickity-next, .flickity-prev) {
                        width: 42px;
                        height: 42px;
                        padding: 8px;
                        border: 1px solid #add0e9;
                        border-radius: 50%;
                        color: #000;
                        background: #fff;
                        cursor: pointer;
                    }

                    :is(.flickity-next, .flickity-prev) svg {
                        margin-left: 0;
                        width: 24px;
                        height: 24px;
                        color: #add0e9;
                    }

                    .flickity-prev svg {
                        rotate: 180deg;
                    }
                }
            }
        }

        .thb-close {
            position: absolute;
            width: auto;
            height: auto;
            inset-block-start: 1.25rem;
            inset-inline-end: 1.25rem;
            z-index: 1;
            border-radius: .5rem;
            background: rgba(255, 255, 255, .5);
            color: #000;
            padding: 0.65rem;
            line-height: 0;

            svg {
                width: 16px;
                height: 16px;
            }
        }
    }

}