.equipment_and_pricing_section {

    & .container {
        position: relative;
        z-index: 2;
        padding-bottom: 100px;

        @media (max-width: 991px) {
            padding-bottom: 50px;
        }

        & .section_inner {
            width: 100%;

            & h2, & h3 {
                width: 100%;
                text-align: center;
                font-weight: 400;
                font-size: 5rem;
                margin: 0 0 5rem;
                line-height: 1;
                color: var(--primary);

                @media (max-width: 991px) {
                    font-size: 3rem;
                    margin: 0 0 2rem;
                }
            }

            & .content {
                width: 100%;
                display: flex;
                justify-content: center;
                margin: 0 0 5rem;

                @media (max-width: 991px) {
                    text-align: center;
                    margin: 0 0 3rem;
                }
            }

            & .sunbed-tabs {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 2rem;
                margin-bottom: 5rem;
                flex-wrap: wrap;

                @media (max-width: 767px) {
                    gap: 1rem;
                    margin-bottom: 3rem;
                }

                & .sunbed-tab {
                    padding: 1rem 2rem;
                    border-radius: 1rem;
                    color: #FFF;
                    text-align: center;
                    font-family: "DM Sans";
                    font-size: 1.8rem;
                    font-style: normal;
                    font-weight: 700;
                    line-height: normal;
                    border: 1px solid var(--primary);
                    color: var(--primary);
                    cursor: pointer;
                    background: none;

                    @media (max-width: 991px) {
                        font-size: 1.6rem;
                    }

                    @media (max-width: 767px) {
                        width: 100%;
                    }

                    &:hover {
                        background: #f7f2ef;
                    }

                    &.active {
                        background: #3a2416;
                        color: #fff;
                        border-color: #3a2416;
                    }
                }
            }

            & .sunbed-grid {
                @media (min-width: 992px) {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 5rem;
                    align-items: stretch;
                    justify-content: center;
                }

                & .sunbed-card {
                    height: 52rem;
                    perspective: 1200px;

                    @media (min-width: 992px) {
                        width: calc(33.33% - 3.33rem);

                        &.is-open .sunbed-card-inner {
                            transform: rotateY(180deg);
                        }
                    }

                    @media (max-width: 991px) {
                        width: 100%;
                        display: flex;
                        justify-content: center;
                    }

                    @media (max-width: 767px) {
                        height: 45rem;
                    }
                }
                                
                @media (min-width: 992px) {
                    .sunbed-card:hover .sunbed-card-inner,
                    .sunbed-card.is-open .sunbed-card-inner {
                        transform: rotateY(180deg);
                    }

                    /* Force-close override */
                    .sunbed-card.is-closing .sunbed-card-inner {
                        transform: rotateY(0deg) !important;
                    }
                }

                & .sunbed-card-inner {
                    width: 100%;
                    height: 100%;
                    position: relative;
                    transform-style: preserve-3d;
                    transition: transform .6s ease;
                    pointer-events: auto;

                    @media (max-width: 991px) {
                        width: 95%;
                    }
                }

                & .sunbed-card-front,
                & .sunbed-card-back {
                    position: absolute;
                    inset: 0;
                    backface-visibility: hidden;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    width: 100%;
                    height: 100%;
                    padding: 3rem;
                    border: 2px solid var(--primary);
                    background: var(--white);
                    text-align: center;

                    & a.button {
                        margin-top: auto;
                    }
                }

                & .sunbed-card-front {
                    & .sunbed-img img {
                        width: auto;
                        height: 23rem;
                        margin-bottom: 2rem;

                        @media (max-width: 767px) {
                            height: 16rem;
                        }
                    }

                    & .sunbed-title {
                        color: #42251A;
                        font-family: "Aboreto";
                        font-size: 2.4rem;
                        font-weight: 400;
                        line-height: 98%;
                        letter-spacing: 4.6px;
                        text-transform: uppercase;
                        margin: 2rem 0 1rem;

                        @media (max-width: 767px) {
                            font-size: 2.2rem;
                        }
                    }

                    & .sunbed-price {
                        margin: 0 0 2rem;
                    }
                }

                & .sunbed-card-back {
                    transform: rotateY(180deg);
                    justify-content: center;

                    & .sunbed-close {
                        position: absolute;
                        top: 1.5rem;
                        right: 1.5rem;
                        width: 2rem;
                        height: 2rem;
                        cursor: pointer;
                        fill: var(--primary);
                    }

                    & .content {
                        display: flex;
                        flex-direction: column;

                        & .rollover_content {
                            margin-top: 1rem;

                            @media (max-width: 767px) {
                                display: none;
                            }
                        }

                        & h3 {
                            font-family: "Aboreto";
                            text-transform: uppercase;
                            margin-bottom: 1.5rem;
                            letter-spacing: 3px;
                        }

                        & p {
                            font-size: 1.4rem;
                            line-height: 1.6;
                        }
                    }
                }
            }
        }
    }
}