#container {
    #infos .content {   
        --gap-infos: 3rem;

        gap: var(--gap-infos);

        .part {
            width: calc((100% - var(--gap-infos)) / 2);

            &.images {
                --gap-images: .7rem;
                --vertical-images-w-percent: .2;
                --main-image-w-percent: .8;

                gap: var(--gap-images);

                .vertical-images {

                    width: calc((100% - var(--gap-images)) * var(--vertical-images-w-percent));
                    gap: var(--gap-images);
                    
                    .image, .see-more {
                        width: 100%;
                        aspect-ratio: 1 / .9;
                        border-radius: 6px;
                        cursor: pointer;
                        transition: all .15s;
                    }
                    
                    .image {
                        &:not(.skeleton-loading) {
                            background-size: cover;
                            background-repeat: no-repeat;
                            background-position: center;
                        }
                        
                        &:hover {
                            filter: brightness(.9);
                        }
                    }
                    
                    .see-more {
                        background-color: rgba(0, 0, 0, .15);
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        font-size: 20px;
                        font-family: var(--font-poppins);

                        &:hover {background-color: rgba(0, 0, 0, .3);}
                    }
                }
                
                .main-image {
                    width: calc((100% - var(--gap-images)) * var(--main-image-w-percent));
                    min-height: 500px;

                    &.single {
                        width: 100%;

                        .image {
                            background-color: grey;
                            background-size: cover;
                            background-repeat: no-repeat;
                            background-position: center;
                            cursor: pointer;
                            border-radius: 8px;
                            width: 100%;
                            aspect-ratio: 1 / .7;
                        }
                    }


                    .swiper-container, .swiper {
                        height: 100%;
                    }

                    .swiper {
                        border-radius: 8px;

                        .swiper-slide {
                            cursor: pointer;

                            &:not(.skeleton-loading) {
                                background-size: cover;
                                background-repeat: no-repeat;
                                background-position: center;
                            }
                        }
                    }
                }
            }

            &.texts {
                .main-texts {
                    .top {
                        .service-name.skeleton-loading {
                            height: 32px;
                            width: 90%;
                        }

                        .evaluation .stars svg {
                            fill: var(--highlight1);
                            width: 20px;
                            height: 20px;
                        }

                        .price {
                            margin-top: .5rem;

                            span {
                                font-family: var(--font-poppins);
                                font-weight: 600;

                                &.old {
                                    font-size: 15px;
                                    text-decoration: line-through;
                                    color: var(--clr-dark-paragraph);

                                    &.skeleton-loading {
                                        height: 20px;
                                        width: 80px;
                                    }
                                }

                                &.current {
                                    font-size: 24px;

                                    &.skeleton-loading {
                                        height: 28px;
                                        width: 120px;
                                        margin-top: 4px
                                    }
                                }
                            }
                        }
                    }

                    .bottom {
                        .duration {
                            font-size: 15px;
                            font-family: var(--font-poppins);

                            .time.skeleton-loading {
                                height: 20px;
                                width: 130px;
                                display: flex;
                            }
                        }

                        .description p {
                            font-family: var(--font-poppins);
                            color: var(--clr-dark-paragraph);
                            font-size: 15px;

                            &.skeleton-loading {
                                width: 100%;
                                height: 100px;
                            }
                        }
                    }
                }

                .actions {
                    .btn {
                        width: 100%;
                        height: 32px;
                    }

                    button {
                        padding: .4rem .8rem;
                        cursor: pointer;
                        border: none;
                        border-radius: 8px;
                        font-size: 15px;
                        font-weight: 600;
                        border: 2px solid var(--pink2);
                        display: none;
                    
                        &.borded {
                            background-color: var(--white);
                            color: var(--pink2);
                        }

                        &.solid {
                            background-color: var(--pink2);
                            color: var(--white);
                        }
                    }
                }
            }
        }
    }

    #more-infos .content {
        .menu, .infos-content {
            border: 2px solid var(--black);
        }

        .menu {
            width: 100%;
            background-color: var(--light-grey);
            border-radius: 16px 16px 0 0;
            border-bottom: none;
            
            label {
                border-radius: 8px 8px 0 0;
                padding: .8rem 1rem;
                width: 100%;
                text-align: center;
                font-size: 18px;
                font-weight: 600;
                font-family: var(--font-poppins);
                cursor: pointer;
                transition: all .4s;
                white-space: nowrap;
                
                &.active {
                    background-color: var(--black);
                    color: var(--white);
                }

                &:not(.active) {
                    text-overflow: ellipsis;
                    overflow: hidden;
                }
            }
        }

        input#details:checked ~ .part .details {display: flex;}
        input#specifications:checked ~ .part .specifications {display: flex;}

        .infos-content {
            background-color: var(--light-grey);
            border-radius: 0 0 16px 16px;
            padding: 2rem;

            .box {
                display: none;
                flex-wrap: wrap;
                gap: 4rem 5rem;
                align-items: center;
                justify-content: center;
                width: 100%;

                &.details .box-content {
                    width: 43%;

                    p {
                        color: var(--clr-dark-paragraph);
                        font-size: 15px;
                        font-family: var(--font-poppins);
                        text-align: center;

                        &.skeleton-loading {
                            height: 120px;
                        }
                    }
                }

                &.specifications table tbody tr {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    gap: 1.5rem;
                    padding: .5rem 1rem;
                    border-radius: 4px;
                    
                    &:nth-child(odd) {
                        background-color: rgba(0, 0, 0, .1);
                    }

                    td {
                        font-family: var(--font-poppins);
                        font-size: 16px;
                        font-weight: 500;
                        display: flex;
                        width: 50%;

                        &:last-child {
                            justify-content: end;
                            text-align: end;
                        }

                        &.skeleton-loading {
                            width: 80px;
                            height: 20px;
                        }
                    }
                }
            }
        }
    }

    #evaluations .content {
        .total-evaluations .numbers {
            .note {
                .average-note {
                    font-size: 48px;
                    font-family: var(--font-poppins);
                    font-weight: 600;
                }

                svg {
                    width: 32px;
                    height: 32px;
                    fill: var(--highlight1);
                }
            }

            .quantity-evaluations {
                font-family: var(--font-poppins);
                font-size: 16px;
                font-weight: 500;
            }
        }

        .evaluations {
            border-top: 1px solid var(--black);
            padding-top: 1rem;

            .table {
                max-width: 300px;

                .notes .note-group {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    gap: .9rem;
                    width: 100%;

                    .star {
                        display: flex;
                        font-size: 18px;
                        font-weight: 600;
                        font-family: var(--font-poppins);
                        width: 48px;
                        justify-content: space-between;
                        align-items: center;

                        svg {
                            width: 18px;
                            height: 18px;
                            fill: var(--highlight1);
                        }
                    }

                    .bars {
                        width: 100%;
                        height: 12px;
                        position: relative;
                        
                        &>div {
                            height: 100%;
                            border-radius: 12px;
                            position: absolute;
                            
                            &.bar-empty {
                                background-color: rgba(0, 0, 0, .1);
                                width: 100%;
                            }

                            &.bar-fill {
                                background-color: var(--pink1);
                                width: 75%;
                            }
                        }
                    }

                    .total {
                        font-size: 16px;
                        font-family: var(--font-poppins);
                    }
                }
            }

            .content-evaluations {
                .media-evaluations .carousel-images .swiper .swiper-slide {
                    aspect-ratio: 1 / 1.3;
                    background-size: cover;
                    background-position: center;
                    background-repeat: no-repeat;
                    border-radius: 8px;
                }

                .people-evaluations .items .person-evaluation {
                    display: flex;
                    gap: 1rem;
                    width: 100%;

                    &>.image {
                        width: 48px;
                        height: 48px;
                        border-radius: 50%;
                        flex-shrink: 0;
                        background-color: rgba(0, 0, 0, .2);
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        &::before {
                            content: '';
                            background-image: url('../../icons/bootstrap/person-fill.svg');
                            background-size: contain;
                            background-position: center;
                            background-repeat: no-repeat;
                            filter: invert(100%);
                            width: 60%;
                            height: 60%;
                            display: block;
                        }
                    }

                    .infos {
                        display: flex;
                        flex-direction: column;
                        gap: 1rem;
                        width: 100%;

                        .top {
                            display: flex;
                            justify-content: space-between;
                            gap: 1.5rem;

                            .about {
                                display: flex;
                                flex-direction: column;
                                gap: .1rem;

                                .name, .date {
                                    font-family: var(--font-poppins);
                                }

                                .name {
                                    font-size: 16px;
                                    font-weight: 600;
                                }

                                .date {font-size: 14px;}
                            }

                            .stars {
                                display: flex;
                                gap: .4rem;

                                svg {
                                    width: 16px;
                                    height: 16px;
                                    fill: var(--highlight1);
                                }
                            }
                        }

                        .mid {
                            display: flex;
                            flex-direction: column;
                            gap: 1.1rem;

                            p {
                                font-size: 15px;
                                color: var(--clr-dark-paragraph);
                            }

                            .medias {
                                display: flex;
                                gap: .6rem;

                                .media {
                                    width: 120px;
                                    aspect-ratio: 1 / 1.2;
                                    background-position: center;
                                    background-size: cover;
                                    background-repeat: no-repeat;
                                    border-radius: 8px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    #faq .content {
        .items .item {
            width: 100%;
            border-radius: 8px;
            box-shadow: 0 0 4px 2px rgba(0, 0, 0 , .1);
            padding: 1rem 1.2rem;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            gap: 1rem;

            &.active {
                .question svg {
                    transform: rotateX(180deg);
                }

                .answer {display: flex;}
            }

            .question {
                display: flex;
                gap: 1.5rem;
                justify-content: space-between;
                font-family: var(--font-poppins);
                font-size: 15px;

                svg {
                    width: 20px;
                    height: 20px;
                }
            }

            .answer {
                border-top: 1px solid rgba(0, 0, 0, .5);
                padding: 1rem 0 .3rem;
                font-size: 15px;
                color: var(--clr-dark-paragraph);
                display: none;
            }
        }
    }
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100dvh;
    background-color: rgba(0, 0, 0, .75);
    top: 0;
    left: 0;
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;

    &.active {display: flex;}

    .close-btn {
        position: absolute;
        right: 1rem;
        top: 1rem;
        padding: .1rem;
        cursor: pointer;
        background-color: rgba(0, 0, 0, .6);
        border-radius: 50%;
        
        svg {
            width: 32px;
            height: 32px;
            display: flex;
            fill: var(--white);
        }
    }

    &#images-lightbox .content .swiper-container {
        width: 80%;

        .swiper-slide {
            border-radius: 8px;
            background-position: center;
            background-size: contain;
            background-repeat: no-repeat;
            height: 70vh;
        }
    }

    &#agendar-form .content .wpp-modal {
        width: 400px;
        border-radius: 16px;

        .title {
            border-radius: 8px 8px 0 0;
            background-color: var(--white);
        }

        form {
            border-radius: 0 0 8px 8px;

            .fields {
                width: 100%;
            }
        }
    }
}

/* Responsividade */
@media (max-width: 1500px) {
    #container {
        #infos .content {
            max-width: 100%;
        }

        #infos .content {padding: 2rem 5rem;}
    }
}

@media (max-width: 1024px) {
    #container {
        #infos .content {
            --gap-infos: 2rem;

            padding: 2rem 1rem;
            flex-direction: column;
            align-items: center;

            .part {
                width: 95%;

                &.images {
                    --vertical-images-w-percent: .15;
                    --main-image-w-percent: .85;

                    width: 80%;

                    .main-image {
                        min-height: 360px;

                        &.single .image {
                            height: 100%;
                        }
                    }
                }
            }
        }

        #more-infos .content {
            .menu label {
                padding: .6rem 1.1rem;
                font-size: 15px;
            }

            .infos-content .box {
                &.details .box-content p {
                    font-size: 14px;
                }

                &.specifications table tbody tr {
                    padding: .4rem .8rem;

                    td {
                        font-size: 14px;
                    }
                }
            }
        }
    }

    .overlay#images-lightbox .content .swiper-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #container #infos .content {
        .part {
            &.images .vertical-images .see-more {
                font-size: 16px;
            }

            &.texts .main-texts .h2 {
                text-align: start;
            }
        }
    }
}

@media (max-width: 680px) {
    #container {
        #infos .content {
            .part.images {
                width: 100%;

                .vertical-images {
                     display: none;
                }

                .main-image {
                    width: 100%;
                    aspect-ratio: 1 / 1.1;
                    min-height: auto;
                    
                    &.single {
                        aspect-ratio: 1 / 1;
                    }
                }
            }
        }

        #more-infos .content .infos-content {
            padding: 1.5rem 1rem;

            .box {
                &.details {
                    flex-direction: column;
                    gap: 3rem;

                    .box-content {
                        width: 100%;    
                    }
                }

                &.specifications table tbody tr td {
                    font-size: 12px;
                }
            }
        }
    }

    .overlay#agendar-form .content .wpp-modal {
        width: 100%;
    }
}