@import "helpers";

.fancybox-wrap {
    position: fixed !important;
    width: 100vw !important;
    height: 100vh !important;
    top: 0px !important;
    left: 0px !important;

    .fancybox-skin {
        padding: 0px !important;
        border-radius: 0px;
        height: 100vh !important;

        .fancybox-outer {
            width: 100vw !important;
            height: 100vh !important;

            .fancybox-inner {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100vw !important;
                height: 100vh !important;

                .fancybox-image {
                    height: auto !important;
                    max-height: auto !important;
                }
            }

            .fancybox-nav {
                width: 36px;
                height: 36px;
                top: calc(50% - 18px);

                span {
                    visibility: visible;
                }

                &.fancybox-prev {
                    span {
                        left: 0px;
                    }
                }

                &.fancybox-next {
                    span {
                        right: 0px;
                    }
                }
            }
        }

        .fancybox-close {
            top: 0px !important;
            right: 0px !important;
        }
    }
}

#con-titulo {
    font-family: $fontRegular;

    h1 {
        margin-bottom: 20px;
        color: $textoDark;
        font-family: $fontLight;
        font-weight: normal;
        font-size: 24px;
    }

    p {
        color: $textoDark;
        font-family: inherit;
        font-size: 15px;
    }
}

#modal-opt-pagamento {
    background-color: $medium;
    border: 1px solid $borders;
    display: none;
    margin-top: 10px;
    padding: 30px 25px;
    position: absolute;
    z-index: 99;

    h2 {
        margin-bottom: 20px;
    }

    .tabela-parcelas {
        margin-top: 20px;

        td {
            border: 1px solid $borders;
            padding: 0 4px;
            text-align: center;
            white-space: nowrap;
            width: 50%;
        }
    }

    .bandeira {
        cursor: pointer;
        display: inline-block;
        margin: 0 5px;
        position: relative;
        width: 50px;

        &.active {
            border-bottom: 2px solid $success;

            &:after {
                border: 5px solid transparent;
                border-top: 5px solid $success;
                content: '';
                display: inline-block;
                height: 5px;
                left: calc(50% - 5px);
                position: absolute;
                top: 52px;
                width: 5px;
            }
        }

        .bandeira-img {
            width: 100%;
        }
    }

    .tabela-parcelas {
        display: none;
        width: 100%;

        &.active {
            display: block;
        }
    }
}

#modal-tabela-medida {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 9999;
    top: 0;
    left: 0;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;
    @include transicao(0.4s ease-in-out);

    &.modal-active {
        visibility: visible;
        pointer-events: initial;
        opacity: 1;
        transition: opacity 0.3s linear;
    }

    .overlay-modal {
        position: fixed;
        display: block;
        width: 100%;
        height: 100%;
        background: $backgroundModal;
        top: 0;
        left: 0;
        z-index: 1;
        cursor: pointer;
    }

    .container-modal {
        position: relative;
        z-index: 2;
        display: block;
        max-width: 770px;
        height: 90vh;
        background-color: #FFF;
//      margin: 0px 100px;
        width: 100%;

        @media(max-width: 991px) {
            margin: 0;
            width: 100%;

            .conteudo-modal {
                .conteudo {
                    overflow-x: scroll;

                    .box-img {
                        height: 100%;

                        // img{
                        //     width: auto;
                        // }
                    }
                }
            }
        }
    }

    .conteudo-modal {
        width: 100%;
        height: 100%;
        display: block;
        padding: 25px;

        .header {
            display: flex;
            width: 100%;
            justify-content: flex-end;

            .ico-close {
                @include sprite();
                display: block;
                cursor: pointer;
                width: 24px;
                height: 24px;
                background-position: -258px -12px;
            }
        }

        .conteudo {
            overflow-y: auto;
            display: block;
            width: 100%;
            height: calc(100% - 24px);

            img {
                margin: 0 auto;
                display: block;
                width: 100%;
            }
        }
    }
}

// #modal-aviseme,
// #modal-produto {
//     display: none;
//     position: fixed;
//     z-index: 150;
//     width: 100%;
//     min-height: 100%;
//     top: 0;
//     left: 0;
//     background-color: $backgroundModal;

//     .container-modal {
//         position: absolute;
//         overflow-y: auto;
//         width: 100%;
//         height: 100%;

//         .content-close {
//             position: absolute;
//             z-index: 90;
//             width: 100%;
//             height: 100%;
//         }

//         .content-modal {
//             position: relative;
//             z-index: 150;
//             width: 60%;
//             margin: 0 auto;
//             margin-bottom: 50px;
//             top: 80px;
//             background-color: $light;
//             border-radius: 5px;

//             @media (min-width: 768px) {
//                 top: 160px;
//             }

//             #loading {
//                 position: absolute;
//                 margin-left: -16px;
//                 margin-top: 12px;
//             }

//             .header {
//                 padding: 20px;
//                 text-align: center;

//                 h2 {
//                     display: inline-block;
//                     color: $textoDark;
//                 }

//                 .ico-close {
//                     cursor: pointer;
//                     float: right;
//                     width: 28px;
//                     height: 28px;
//                     background: url(../img/sprite.png) no-repeat;
//                     background-position: -40px -285px;
//                     text-indent: -9999px;
//                 }
//             }

//             .conteudo {
//                 padding: 10px 20px 60px;
//                 color: $textoDark;
//                 text-align: center;

//                 @media (min-width: 992px) {
//                     padding-top: 40px;
//                 }

//                 #calcFrete {
//                     #cep {
//                         height: 35px;
//                         margin: 0 10px;
//                         text-align: center;
//                         border-radius: 5px;
//                         border: 2px solid $borders;
//                     }
//                 }

//                 #frmAviseme {
//                     text-align: center;

//                     label {
//                         display: block;
//                         margin-top: 10px;

//                         @media (min-width: 992px) {
//                             display: inline;
//                         }

//                         @media (min-width: 1200px) {
//                             margin: 0 10px;
//                         }
//                     }

//                     .input-text {
//                         display: block;
//                         width: 100%;
//                         height: 35px;
//                         padding: 0px 5px;
//                         text-align: left;
//                         border-radius: 5px;
//                         border: 2px solid $borders;

//                         @media (min-width: 767px) {
//                             width: 60%;
//                             margin: 0 auto;
//                         }

//                         @media (min-width: 992px) {
//                             display: inline;
//                             width: auto;
//                         }
//                     }

//                     .box-aviseme {
//                         display: block;
//                         width: 100%;
//                         max-width: 500px;
//                         margin: 0 auto;

//                         label {
//                             display: block;
//                             margin: 0px;
//                             margin-bottom: 5px;
//                             color: $textoDark;
//                             font: normal 16px $fontRegular;
//                             text-align: left;
//                         }

//                         .input-text {
//                             display: block;
//                             width: 100%;
//                             margin-bottom: 15px;
//                             padding: 10px;
//                             color: $textoDark;
//                             font: normal 14px $fontRegular;
//                             border-radius: 0px;
//                             border: solid 1px $borders;
//                             background-color: $light;
//                         }

//                         #btnEnviar {
//                             display: block;
//                             width: 100%;
//                             max-width: 270px;
//                             padding: 10px;
//                             margin: 0 auto;
//                             color: $textoLight;
//                             font: normal 14px $fontRegular;
//                             text-transform: uppercase;
//                             border-radius: 0px;
//                             background-color: $dark;
//                             @include transicao(0.4s ease-in-out);

//                             &:hover,
//                             &:focus {
//                                 background-color: $success;
//                             }
//                         }
//                     }
//                 }

//                 button {
//                     padding: 7px 15px;
//                     margin-top: 10px;
//                     color: $textoLight;
//                     border: none;
//                     border-radius: 5px;
//                     background-color: $highlight;
//                 }

//                 #conteudo-aviseme {
//                     margin-top: 30px;

//                     .msg {
//                         text-align: center;
//                     }
//                 }

//                 #conteudo-frete {
//                     margin-top: 30px;

//                     .item {
//                         width: 100%;
//                         padding: 10px 20px;
//                         margin-bottom: 20px;
//                         border: 1px solid $borders;
//                         border-radius: 3px;
//                         background: $light;

//                         table {
//                             width: 100%;
//                             color: $textoDark;
//                             background-color: transparent;
//                             border-spacing: 0;

//                             thead {
//                                 font-size: 18px;
//                                 line-height: 36px;
//                             }

//                             tbody {
//                                 tr {
//                                     text-align: left;
//                                     font-weight: 300;
//                                     border-bottom: solid 1px $borders;

//                                     td,
//                                     th {
//                                         padding: 6px 0;
//                                     }

//                                     &:last-child {
//                                         border-bottom: 0;
//                                     }
//                                 }
//                             }
//                         }
//                     }
//                 }
//             }
//         }
//     }
// }

#modal-tabela-medida {
    .container-modal {
        .content-modal {
            width: 50%;

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

            .conteudo {
                img {
                    max-width: 100%;
                }
            }
        }
    }
}

#prd-principal {
    padding-top: 50px;
    padding-bottom: 80px;

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

    .conteudo-principal {
        display: flex;
        width: 100%;
        max-width: 1035px;
        margin: 0 auto;
        align-items: flex-start;
        justify-content: center;

        @media(max-width:991px) {
            flex-direction: column;
            align-items: center;
        }

        #prd-zoom {
            display: block;
            width: calc(100% - 392px);
            max-width: 596px;
            margin-right: 45px;

            @media(max-width:1570px) {
                margin-right: 30px;
            }

            @media(max-width:991px) {
                width: 100%;
                max-width: 460px;
                margin-right: 0px;
                margin-bottom: 50px;
            }
        }

        #prd-form {
            display: block;
            width: 100%;
            max-width: 392px;

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

            .star-rating {
                font: normal 13px $fontMedium;
                display: flex;
                gap: 10px;
                align-items: center;
                margin-bottom: 10px;
                margin-top: 10px;
            }

            .box-breadcrumb {
                display: block;
                width: 100%;
                margin-bottom: 6px;

                .conteudo {
                    display: flex;
                    width: 100%;
                    color: #5A5A5A;
                    font: normal 12px $fontRegular;
                    line-height: 17px;
                    flex-wrap: wrap;
                    align-items: center;
                    justify-content: flex-start;
                    gap: 10px;

                    a {
                        display: block;
                        outline: 0px;
                        text-transform: uppercase;
                    }
                }
            }

            #h1dentro {
                display: block;
                margin: 0px;
                margin-bottom: 10px;
                color: $textoDark;
                font: normal 32px $fontRegular;
                line-height: 44px;

                @media(max-width:575px) {
                    font-size: 25px;
                }
            }

            .ref {
                display: block;
                margin: 0px;
                margin-bottom: 40px;
                color: #7A7A7A;
                font: normal 12px $fontRegular;
            }
        }

        .box-share {
            display: flex;
            width: 100%;
            margin-top: 30px;
            padding-left: 90px;
            align-items: center;
            justify-content: flex-start;

            @media(max-width:575px) {
                padding: 0px;
                flex-direction: column;
                justify-content: center;
            }

            .titulo {
                display: block;
                margin: 0px;
                margin-right: 20px;
                color: #9A9A9A;
                font: normal 15px $fontRegular;
                line-height: 20px;
                letter-spacing: 0.01em;

                @media(max-width:575px) {
                    margin-right: 0px;
                    margin-bottom: 15px;
                    text-align: center;
                }
            }

            .opcoes {
                display: flex;
                align-items: center;
                justify-content: flex-start;
                width: calc(100% - 190px);
                gap: 15px;

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

                .shareProduto {
                    outline: 0px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 23px;
                    height: 23px;
                }
            }

            &.box-desktop {
                display: flex;

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

            &.box-mobile {
                display: none;

                @media(max-width:575px) {
                    display: flex;
                }
            }
        }
    }
}

.prd-opcoes {
    display: block;
    width: 100%;
    max-width: 475px;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 20px;

    .opcao {
        display: block;
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
        /*border-bottom: solid 1px $borders;*/

        .titulo {
            display: flex;
            cursor: pointer;
            outline: 0px;
            margin: 0px;
            color: #5A5A5A;
            font: normal 12px $fontRegular;
            line-height: 17px;
            align-items: center;
            justify-content: space-between;

            &:after {
                @include sprite();
                display: none;
                content: "";
                width: 9px;
                height: 9px;
                background-position: -278px -58px;
            }
        }

        .subtitulo {
            display: block;
            width: 100%;
            margin: 0px;
            margin-top: 10px;
            color: $textoDark;
            font: normal 15px $fontRegular;
        }

        .conteudo {
            display: block;
            width: 100%;

            #prd-textos {
                display: block;
                margin-top: 10px;

                .textos {
                    display: block;
                    width: 100%;
                    /*white-space: pre-line;*/
                    color: $textoDark;
                    font: normal 15px $fontRegular;

                    p,
                    span {
                        color: $textoDark;
                        font: normal 15px $fontRegular;

                        strong {
                            color: $textoDark;
                        }
                    }
                }

                .textos {
                    display: block;
                    width: 100%;
                    height: auto;

                    .prod-txt {
                        display: block;

                        .prod-txt-content {
                            white-space: pre-line;
                            color: $textoDark;
                            font: normal 15px $fontRegular;

                            p,
                            span {
                                color: $textoDark;
                                font: normal 15px $fontRegular;

                                strong {
                                    color: $textoDark;
                                }
                            }
                        }

                        #tabela-medidas {
                            max-width: 100%;
                        }

                    }

                    .active {
                        display: block;
                    }
                }
            }

            .frete {
                display: block;
                width: 100%;
                margin-top: 15px;
                margin-bottom: 15px;

                .form-frete {
                    display: flex;
                    width: 100%;
                    align-items: stretch;
                    justify-content: center;

                    .cep {
                        display: block;
                        outline: 0px;
                        width: calc(100% - 130px);
                        padding: 15px 10px;
                        margin-right: 15px;
                        color: #5A5A5A;
                        font: normal 15px $fontRegular;
                        line-height: 20px;
                        border: solid 1px #E5E5E5;
                        box-shadow: none;
                    }

                    .submit {
                        display: block;
                        width: 100%;
                        max-width: 115px;
                        padding: 15px 10px;
                        color: $textoDark;
                        font: normal 13px $fontRegular;
                        line-height: 18px;
                        border: none;
                        background-color: $light;
                        border: solid 1px $highlight;
                        @include transicao(0.4s ease-in-out);

                        &:hover,
                        &:focus {
                            color: $textoLight;
                            border-color: $success;
                            background-color: $success;
                        }
                    }
                }
            }

            .results-frete {
                display: block;
                width: 100%;
                height: auto;
                margin-bottom: 15px;

                #loading {
                    display: block;
                    margin: 0 auto;
                }

                #conteudo-frete {
                    display: block;
                    width: 100%;
                    height: auto;
                    text-align: center;

                    .item {
                        display: flex;
                        padding: 5px 10px;
                        border-bottom: solid 1px $borders;
                        align-items: center;
                        justify-content: space-between;
                        background-color: $medium;

                        @media(max-width:450px) {
                            flex-direction: column;
                        }

                        li {
                            display: block;
                            width: 33%;
                            padding: 5px 0px;
                            color: $textoDark;
                            font: normal 12px $fontRegular;

                            @media(max-width:450px) {
                                width: 100%;
                                text-align: center !important;
                            }

                            .freteNome,
                            .freteValor {
                                font-family: $fontBold;
                                font-weight: normal;
                            }

                            .fretePrazo {
                                font-family: $fontLight;
                                font-weight: normal;
                            }

                            &:nth-child(1) {
                                text-align: left;
                            }

                            &:nth-child(2) {
                                text-align: center;
                            }

                            &:nth-child(3) {
                                text-align: right;
                            }
                        }

                        &:last-of-type {
                            border-bottom: none;
                        }
                    }
                }
            }
        }

        .opt-mais {
            display: block;
            outline: 0px;
            margin-top: 10px;
            color: $textoDark;
            font: normal 13px $fontMedium;
            text-decoration: underline;
        }

        &.tab-toggle {
            .titulo {
                &:after {
                    display: block;
                }
            }

            .conteudo {
                display: none;
            }
        }

        &:first-of-type {
            /*border-top: solid 1px $borders;*/
        }

        &:last-of-type {
            margin-bottom: 0px;
        }

        &.ativo {
            .titulo {
                &:after {
                    background-position: -302px -58px;
                }
            }
        }
    }
}

#prd-comentarios{
    &:before{
        display: flex;
        content: "";
        width: 100%;
        height: 2px;
        opacity: 0.2;
        background-image: linear-gradient(to right, #615091 33%, rgba(255,255,255,0) 0%);
        background-position: bottom;
        background-size: 5px 2px;
        background-repeat: repeat-x;
    }
    .conteudo{
        display: flex;
        width: 100%;
        align-items: stretch;
        justify-content: center;
        @media(max-width:1199px){
            flex-direction: column;
        }
        .col-info{
            display: block;
            width: 30%;
            padding: 60px;
            @media(max-width:1560px){
                padding-left: 20px;
                padding-right: 20px;
            }
            @media(max-width:1199px){
                width: 100%;
                padding-bottom: 20px;
                padding-left: 0px;
                padding-right: 0px;
            }
            .title-comments{
                display: block;
                margin: 0px;
                margin-bottom: 6px;
                color: #707070;
                font: normal 22px $fontRegular;
                line-height: 26px;
                text-align: center;
            }
            .text-comments{
                display: block;
                margin: 0px;
                color: $highlight;
                font: normal 22px $fontBold;
                line-height: 26px;
                text-align: center;
            }
            .ctrl-mod{
                display: block;
                outline: 0px;
                width: 100%;
                max-width: 215px;
                padding: 13px 10px;
                padding-bottom: 11px;
                margin: 0 auto;
                margin-top: 20px;
                color: $textoLight;
                font: normal 12px $fontBold;
                line-height: 14px;
                letter-spacing: 0.01em;
                text-align: center;
                background-color: #09B857;
                border: none;
                @include transicao(0.4s ease-in-out);
                &:hover,&:focus{
                    background-color: $success;
                }
            }
        }
        .col-comments{
            position: relative;
            display: block;
            width: 70%;
            padding: 60px;
            padding-left: 90px;
            @media(max-width:1560px){
                padding-left: 20px;
                padding-right: 20px;
            }
            @media(max-width:1199px){
                width: 100%;
                padding-top: 20px;
                padding-left: 0px;
                padding-right: 0px;
                border-left: none;
            }
            &:before{
                position: absolute;
                display: flex;
                content: "";
                width: 2px;
                height: 100%;
                opacity: 0.2;
                top: 0px;
                left: 0px;
                background-image: linear-gradient(#615091 33%, rgba(255,255,255,0) 0%);
                background-position: right;
                background-size: 2px 5px;
                background-repeat: repeat-y;
            }
            .comentarios{
                display: block;
                width: 100%;
                .comentario{
                    display: flex;
                    width: 100%;
                    margin-bottom: 40px;
                    justify-content: flex-start;
                    @media(max-width:1199px){
                        justify-content: center;
                    }
                    @media(max-width:767px){
                        flex-direction: column;
                        max-width: 680px;
                    }
                    .data-avaliacao{
                        display: block;
                        margin: 0px;
                        color: $highlight;
                        font: normal 12px $fontBold;
                        line-height: 16px;
                        letter-spacing: 0.02em;
                    }
                    .info-comment{
                        display: block;
                        width: calc(100% - 130px);
                        max-width: 680px;
                        padding: 20px;
                        margin-left: 20px;
                        border: solid 1px #EFEFEF;
                        background-color: transparent;
                        @media(max-width:767px){
                            width: 100%;
                            margin: 0px;
                        }
                        @media(max-width:575px){
                            padding: 15px;
                        }
                        .star-rating{
                            margin-bottom: 20px;
                        }
                        .comentario-titulo{
                            display: block;
                            margin: 0px;
                            margin-bottom: 5px;
                            color: #000000;
                            font: normal 18px $fontRegular;
                            line-height: 24px;
                        }
                        .comentario-cliente{
                            display: block;
                            margin: 0px;
                            margin-bottom: 13px;
                            color: $highlight;
                            font: normal 15px $fontBold;
                            line-height: 20px;
                            letter-spacing: 0.01em;
                        }
                        .comentario-texto{
                            display: block;
                            margin: 0px;
                            color: #707070;
                            font: normal 14px $fontRegular;
                            line-height: 24px;
                        }
                    }
                }
            }
            .col-options{
                #carregarMaisComentarios{
                    display: block;
                    outline: 0px;
                    width: 100%;
                    max-width: 215px;
                    padding: 13px 10px;
                    padding-bottom: 10px;
                    margin-left: 90px;
                    color: $textoLight;
                    font: normal 12px $fontBold;
                    line-height: 14px;
                    letter-spacing: 0.01em;
                    text-align: center;
                    background-color: $highlight;
                    border: none;
                    @include transicao(0.4s ease-in-out);
                    &:hover,&:focus{
                        background-color: $success;
                    }
                }
                .aviso{
                    width: 100%;
                    margin: 0px;
                    padding: 0px;
                }
            }
        }
        &.block-comments{
            flex-direction: column;
            .col-info{
                width: 100%;
                padding-bottom: 20px;
            }
            .col-comments{
                width: 100%;
                padding-top: 20px;
                border-left: none;
            }
        }
    }
}
#mod-comments{
    position: fixed;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    padding: 15px;
    visibility: hidden;
    pointer-events:none;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;
    .box-overlay{
        position: absolute;
        z-index: 1;
        cursor: pointer;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        background-color: $backgroundModal;
    }
    .box-conteudo{
        position: relative;
        z-index: 2;
        display: flex;
        width: 100%;
        max-width: 768px;
        max-height: 90vh;
        background-color: #FFFFFF;
        flex-direction: column;
        .head-box{
            display: flex;
            width: 100%;
            padding: 25px 60px;
            padding-top: 50px;
            align-items: center;
            justify-content: space-between;
            @media(max-width:575px){
                padding-top: 25px;
                padding-left: 20px;
                padding-right: 20px;
            }
            .title-box{
                display: block;
                margin: 0px;
                color: #707070;
                font: normal 22px $fontBold;
                line-height: 26px;
            }
            .ctrl-mod{
                outline: 0px;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 42px;
                height: 42px;
            }
        }
        .content-box{
            overflow-y: auto;
            display: flex;
            flex-grow: 1;
            outline: 0px;
            width: 100%; 
            max-height: max-content;
            padding: 25px 60px;
            @media(max-width:575px){
                padding-left: 20px;
                padding-right: 20px;
            }
            form{
                display: block;
                width: 100%;
                .control-label{
                    display: block;
                    margin: 0px;
                    margin-bottom: 7px;
                    color: #707070;
                    font: normal 18px $fontMedium;
                    line-height: 21px;
                }
                .form-control{
                    display: block;
                    outline: 0px;
                    width: 100%;
                    height: auto;
                    padding: 15px 17px;
                    color: $textoDark;
                    font: normal 14px $fontMedium;
                    line-height: 17px;
                    border: solid 1px #DDDDDD;
                    border-radius: 0px;
                    background-color: $light;
                    box-shadow: none;
                }
                .star-rating{
                    width: max-content;
                    margin-bottom: 40px;
                    .rateInput{
                        cursor: pointer;
            
                        svg{
                            path{
                                fill: #EEEEEE;
                            }
                        }
            
                        &:hover,&:focus{
                            & ~ .rateInput{
                                svg{
                                    path{
                                        fill: #EEEEEE;
                                    }
                                }   
                            }
                        }
                    }
                    &.rate-1{
                        .rateInput{
                            &:nth-child(1){
                                svg{
                                    path{
                                        fill: #E4B40A;
                                    }
                                }
                            }
                        }
                    }
            
                    &.rate-2{
                        .rateInput{
                            &:nth-child(1),
                            &:nth-child(2){
                                svg{
                                    path{
                                        fill: #E4B40A;
                                    }
                                }
                            }
                        }
                    }
            
                    &.rate-3{
                        .rateInput{
                            &:nth-child(1),
                            &:nth-child(2),
                            &:nth-child(3){
                                svg{
                                    path{
                                        fill: #E4B40A;
                                    }
                                }
                            }
                        }
                    }
            
                    &.rate-4{
                        .rateInput{
                            &:nth-child(1),
                            &:nth-child(2),
                            &:nth-child(3),
                            &:nth-child(4){
                                svg{
                                    path{
                                        fill: #E4B40A;
                                    }
                                }
                            }
                        }
                    }
            
                    &.rate-5{
                        .rateInput{
                            &:nth-child(1),
                            &:nth-child(2),
                            &:nth-child(3),
                            &:nth-child(4),
                            &:nth-child(5){
                                svg{
                                    path{
                                        fill: #E4B40A;
                                    }
                                }
                            }
                        }
                    }
                    &:hover,&:focus{
                        svg{
                            path{
                                fill: #E4B40A;
                            }
                        }
                    }
                }
                #btAvaliarProduto{
                    display: block;
                    outline: 0px;
                    width: 100%;
                    max-width: 215px;
                    padding: 13px 10px;
                    color: $textoLight;
                    font: normal 14px $fontBold;
                    line-height: 17px;
                    background-color: #09B857;
                    border: none;
                    @include transicao(0.4s ease-in-out);
                    &:hover,&:focus,&.concluded{
                        background-color: $success;
                    }
                }
            }
        }
    }
    &.ativo{
        visibility: visible;
        pointer-events:initial;
        opacity: 1;
        transition: opacity 0.3s linear;
    }
}
#prd-comentarios,
#mod-comments{
    .star-rating{
        &.rate-1{
            .rateInput{
                &:nth-child(1){
                    svg{
                        path{
                            fill: #E4B40A;
                        }
                    }
                }
            }
        }
        &.rate-2{
            .rateInput{
                &:nth-child(1),
                &:nth-child(2){
                    svg{
                        path{
                            fill: #E4B40A;
                        }
                    }
                }
            }
        }
        &.rate-3{
            .rateInput{
                &:nth-child(1),
                &:nth-child(2),
                &:nth-child(3){
                    svg{
                        path{
                            fill: #E4B40A;
                        }
                    }
                }
            }
        }
        &.rate-4{
            .rateInput{
                &:nth-child(1),
                &:nth-child(2),
                &:nth-child(3),
                &:nth-child(4){
                    svg{
                        path{
                            fill: #E4B40A;
                        }
                    }
                }
            }
        }
        &.rate-5{
            .rateInput{
                &:nth-child(1),
                &:nth-child(2),
                &:nth-child(3),
                &:nth-child(4),
                &:nth-child(5){
                    svg{
                        path{
                            fill: #E4B40A;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 720px) {
    .content-modal {
        width: 90% !important;
    }
}

@media (max-width: 767px) {
    #modal-produto {
        button {
            margin-top: 10px !important;
        }

        .conteudo {
            padding: 10px 20px !important;
        }

        .header {
            padding: 10px 10px !important;
        }

        .ico-close {
            margin-right: -7px;
            margin-top: -6px;
        }
    }
}

@media (max-width: 485px) {
    .content-modal .header h2 {
        font-size: 16px;
    }

    .content-modal form {
        label {
            display: block;
        }
    }
}