@use "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: helpers.$fontRegular;
    h1 {
        margin-bottom: 20px;
        color:helpers.$textoDark;
        font-family: helpers.$fontLight;
        font-weight: normal;
        font-size: 24px;
    }
    p {
        color: helpers.$textoDark;
        font-family: inherit;
        font-size: 15px;
    }
}

#modal-opt-pagamento {
    background-color: helpers.$medium;
    border: 1px solid helpers.$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 helpers.$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 helpers.$success;

            &:after {
                border: 5px solid transparent;
                border-top: 5px solid helpers.$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 helpers.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: helpers.$backgroundModal; 
        top: 0;
        left: 0;
        z-index: 1;
        cursor: pointer;
    }

    .container-modal{
        position: relative;
        z-index: 2;
        display: block;
        max-width: 1500px;
        height: 90vh;
        background-color: #FFF;
        margin: 0px 100px;
        
        @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 helpers.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: helpers.$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: helpers.$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: helpers.$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: helpers.$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 helpers.$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 helpers.$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: helpers.$textoDark;
                            font: normal 16px helpers.$fontRegular;
                            text-align: left;
                        }

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

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

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

                button {
                    padding: 7px 15px;
                    margin-top: 10px;
                    color: helpers.$textoLight;
                    border: none;
                    border-radius: 5px;
                    background-color: helpers.$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 helpers.$borders;
                        border-radius: 3px;
                        background: helpers.$light;

                        table {
                            width: 100%;
                            color: helpers.$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 helpers.$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 {
    .box-breadcrumb{
        display: block;
        width: 100%;

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

        .conteudo{
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
            max-width: 1275px;
            margin: 0 auto;
            padding-top: 30px;
            padding-bottom: 30px;
            gap: 40px;

            .btn-back{
                display: flex;
                align-items: center;
                justify-content: flex-start;
                gap: 8px;

                span{
                    display: block;
                    margin: 0px;
                    color: helpers.$textoDark;
                    font: normal 15px helpers.$fontRegular;
                    line-height: 18px;
                }
            }

            .items-content{
                display: flex;
                align-items: center;
                justify-content: flex-start;
                gap: 10px;
                color: #555555;
                font: normal 12px helpers.$fontRegular;
                line-height: 15px;
                
                a{
                    display: block;
                    outline: 0px;
                    color: #555555;
                    text-transform: uppercase;
    
                    &:last-of-type{
                        color: helpers.$highlight;
                    }
                }
            }
        }
    }

    .conteudo-principal{
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
        max-width: 1275px;
        margin: 0 auto;
        padding-bottom: 90px;

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

        @media(max-width:575px){
            padding-top: 15px;
        }

        #prd-zoom{
            display: block;
            width: calc(100% - 470px);
            max-width: 708px;
            padding-right: 100px;

            @media(max-width:1199px){
                padding-right: 30px;
            }

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

            @media(max-width:575px){
                margin-bottom: 30px;
            }
        }

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

            .ref{
                display: block;
                margin: 0px;
                margin-bottom: 6px;
                color: helpers.$highlight;
                font: normal 12px helpers.$fontMedium;
                line-height: 14px;
            }

            .title-content{
                display: flex;
                align-items: flex-start;
                justify-content: flex-start;
                width: 100%;
                gap: 8px;
                margin-bottom: 10px;

                #h1dentro{
                    max-width: calc(100% - 34px);
                    margin: 0px;
                    color: helpers.$textoDark;
                    font: normal 25px helpers.$fontRegular;
                    line-height: 32px;

                    @media(max-width:575px){
                        font-size: 22px;
                        line-height: 28px;
                    }
                }

                .btAddFavoritos, .btRemFavoritos, .btAddFavoritosDeslogado{
                    margin-top: 2px;
                }
            }

            .star-rating{
                display: flex;
                align-items: center;
                justify-content: flex-start;
                width: 100%;
                gap: 15px;
                margin-bottom: 30px;

                .star-content{
                    display: flex;
                    align-items: center;
                    justify-content: flex-start;
                    gap: 4px;
                }

                .hook-star{
                    display: block;
                    outline: 0px;
                    color: helpers.$textoDark;
                    font: normal 12px helpers.$fontMedium;
                    line-height: 14px;
                    text-decoration: underline;
                }
            }

            .post-message{
                display: flex;
                align-items: center;
                justify-content: flex-start;
                gap: 10px;
                margin-bottom: 30px;

                span{
                    display: block;
                    margin: 0px;
                    color: helpers.$highlight;
                    font: normal 15px helpers.$fontMedium;
                    line-height: 18px;
                }
            }
        }

        #color-control{
            display: flex;
            flex-direction: column;
            width: 100%;
            margin-top: 40px;
            gap: 5px;

            @media(max-width:991px){
                max-width: 470px;
                padding-left: 0px;
                margin-left: auto;
                margin-right: auto;
            }

            .title{
                display: block;
                margin: 0px;
                color: helpers.$highlight;
                font: normal 15px helpers.$fontMedium;
                line-height: 18px;
            }

            .color-content{
                display: flex;
                flex-wrap: wrap;
                align-items: flex-start;
                justify-content: flex-start;
                width: 100%;
                gap: 8px;

                .color-item{
                    outline: 0px;
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    max-width: 80px;

                    img{
                        display: block;
                        width: 100%;
                        height: 80px;
                        object-fit: cover;
                    }
                }
            }
        }

        .box-share{
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 100%;

            .titulo{
                display: block;
                margin: 0px;
                margin-right: 20px;
                color: helpers.$textoDark;
                font: normal 15px helpers.$fontRegular;
                line-height: 18px;
            }

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

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

    .product-text{
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: center;
        margin-left: -15px;
        margin-right: -15px;
        margin-bottom: 90px;

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

        &:before,
        &:after{
            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;
        }

        .divider{
            display: flex;
            width: 2px;
            opacity: 0.2;
            background-image: linear-gradient(#615091 33%, rgba(255,255,255,0) 0%);
            background-position: right;
            background-size: 2px 5px;
            background-repeat: repeat-y;

            @media(max-width:991px){
                width: 100%;
                height: 2px;
                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;
            }
        }

        .text{
            display: flex;
            flex-direction: column;
            width: calc(50% - 1px);
            padding: 40px 45px;

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

            @media(max-width:767px){
                padding-left: 15px;
                padding-right: 15px;
            }

            .title{
                display: block;
                width: 100%;
                max-width: 620px;
                margin: 0px;
                margin-bottom: 30px;
                color: helpers.$highlight;
                font: normal 25px helpers.$fontMedium;
                line-height: 30px;

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

            .description{
                display: flex;
                flex-direction: column;
                width: 100%;
                max-width: 620px;
                color: helpers.$textoDark;
                font: normal 15px helpers.$fontRegular;
                line-height: 25px;
                white-space: pre-line;

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

        &.has-both{
            .text{
                &:first-of-type{
                    align-items: flex-end;
                }
            }
        }
    }
}
 
#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 helpers.$fontRegular;
                line-height: 26px;
                text-align: center;
            }

            .text-comments{
                display: block;
                margin: 0px;
                color: helpers.$highlight;
                font: normal 22px helpers.$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: helpers.$textoLight;
                font: normal 12px helpers.$fontBold;
                line-height: 14px;
                letter-spacing: 0.01em;
                text-align: center;
                background-color: #09B857;
                border: none;
                @include helpers.transicao(0.4s ease-in-out);

                &:hover,&:focus{
                    background-color: helpers.$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: helpers.$highlight;
                        font: normal 12px helpers.$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 helpers.$fontRegular;
                            line-height: 24px;
                        }

                        .comentario-cliente{
                            display: block;
                            margin: 0px;
                            margin-bottom: 13px;
                            color: helpers.$highlight;
                            font: normal 15px helpers.$fontBold;
                            line-height: 20px;
                            letter-spacing: 0.01em;
                        }

                        .comentario-texto{
                            display: block;
                            margin: 0px;
                            color: #707070;
                            font: normal 14px helpers.$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: helpers.$textoLight;
                    font: normal 12px helpers.$fontBold;
                    line-height: 14px;
                    letter-spacing: 0.01em;
                    text-align: center;
                    background-color: helpers.$highlight;
                    border: none;
                    @include helpers.transicao(0.4s ease-in-out);

                    &:hover,&:focus{
                        background-color: helpers.$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: helpers.$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 helpers.$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 helpers.$fontMedium;
                    line-height: 21px;
                }

                .form-control{
                    display: block;
                    outline: 0px;
                    width: 100%;
                    height: auto;
                    padding: 15px 17px;
                    color: helpers.$textoDark;
                    font: normal 14px helpers.$fontMedium;
                    line-height: 17px;
                    border: solid 1px #DDDDDD;
                    border-radius: 0px;
                    background-color: helpers.$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: helpers.$textoLight;
                    font: normal 14px helpers.$fontBold;
                    line-height: 17px;
                    background-color: #09B857;
                    border: none;
                    @include helpers.transicao(0.4s ease-in-out);

                    &:hover,&:focus,&.concluded{
                        background-color: helpers.$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;
                        }
                    }
                }
            }
        }
    }
}

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

    .opcao{
        display: block;
        width: 100%;
        padding: 25px 40px;
        background-color: #F5F5F5;

        @media(max-width:575px){
            padding: 24px;
        }

        .titulo{
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            outline: 0px;
            margin: 0px;
            color: helpers.$highlight;
            font: normal 15px helpers.$fontMedium;
            line-height: 18px;
        }

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

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

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

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

                        strong {
                            color: helpers.$textoDark;
                        }
                    }
                }

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

                    .prod-txt {
                        display: block;

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

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

                                strong {
                                    color: helpers.$textoDark;
                                }
                            }
                        }

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

                    }
                    .active {
                        display: block;
                    }
                }
            }

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

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

                    .cep{
                        outline: 0px;
                        display: block;
                        width: calc(100% - 124px);
                        padding: 10px 15px;
                        color: helpers.$textoDark;
                        font: normal 15px helpers.$fontRegular;
                        line-height: 18px;
                        border: none;
                        box-shadow: none;
                        background-color: #FFFFFF;
                    }

                    .submit{
                        outline: 0px;
                        display: block;
                        width: 100%;
                        max-width: 124px;
                        padding: 10px;
                        color: helpers.$textoLight;
                        font: normal 16px helpers.$fontMedium;
                        line-height: 19px;
                        border: none;
                        background-color: helpers.$highlight;
                        @include helpers.transicao(0.4s ease-in-out);

                        &:hover,&:focus{
                            background-color: helpers.$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 helpers.$borders;
                        align-items: center;
                        justify-content: space-between;
                        background-color: helpers.$medium;

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

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

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

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

                            .fretePrazo{
                                font-family: helpers.$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: helpers.$textoDark;
            font: normal 13px helpers.$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;
                }
            }
        }
    }
}

@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;
        }
    }
}
