@import "helpers";

#he-topo{
    .bar-top{
        @media(max-width:991px){
            .column{
                max-width: 100% !important;

                &.hooks{
                    @media(max-width:991px){
                        display: none !important;
                    }
                }
            }
        }

    }

    .conteudo{
        .col-perfil{
            .minha-conta{
                display: none !important;
            }
        }
    }
}

#btn-whatsapp{
    @media(max-width:991px){
        bottom: 80px !important;
    }
}

.section-banner{
    margin-bottom: 80px;

    @media(max-width:991px){
        margin-bottom: 60px;
    }

    .conteudo{
        display: block;
        width: 100%;
        max-width: 1578px;
        margin: 0 auto;

        .item{
            aspect-ratio: 390 / 310;
            outline: 0px;
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: 774px;

            img{
                aspect-ratio: 390 / 310;
                object-fit: cover;
                display: block;
                width: 100%;
            }
        }
    }
}

.section-instagram{
    position: relative;
    padding-bottom: 80px;

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

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

        .box-instagram{
            display: block;
            outline: 0px;
            width: 100%;
            margin-bottom: 20px;

            .titulo{
                display: block;
                margin: 0px;
                margin-bottom: 10px;
                color: $textoDark;
                font: normal 14px $fontRegular;
                text-align: center;

                &:before{
                    @include sprite();
                    display: block;
                    content: "";
                    width: 60px;
                    height: 60px;
                    margin: 0 auto;
                    margin-bottom: 20px;
                    background-position: -434px -157px;
                }
            }

            .subtitulo{
                display: block;
                margin: 0px;
                color: $textoDark;
                font: normal 14px $fontRegular;
                text-align: center;
            }
        }

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

            .mask{
                position: absolute;
                z-index: 3;
                display: block;
                outline: 0px;
                width: 100%;
                height: 100%;
            }

            .instagram-content{
                position: relative;
                z-index: 2;
                display: block;
                width: 100%;
                padding-top: 33.25%;

                @media(max-width: 767px){
                    overflow: hidden;
                    width: 300px;
                    height: 300px;
                    padding-top: 0px;
                    margin: 0 auto;
                }

                iframe{
                    position: absolute;
                    overflow:hidden;
                    border:none;
                    width:100%;
                    height: 100%;
                    top: 0px;
                    left: 0px;

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

.register-button{
    position: fixed;
    z-index: 100;
    outline: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    left: 0px;
    bottom: 0px;
    padding: 15px;
    background-color: #FFFFFF;
    box-shadow: 0px -10px 17px 0px rgba(0,0,0,0.11);

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

    span{
        display: block;
        width: 100%;
        color: $textoLight;
        font: normal 14px $fontRegular;
        line-height: 20px;
        text-align: center;
        padding: 10px;
        background-color: #000000;
    }
}

.section-regua{
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 15px;
    background-color: #f5f5f5;

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

    .conteudo{
        display: block;
        width: 100%;
        height: 45px;

        .item{
            display: flex;
            width: 100%;
            align-items: center;
            justify-content: center;
            gap: 10px;

            .icone{
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .informacoes{
                display: block;
                width: auto;

                .titulo{
                    display: block;
                    margin: 0px;
                    color: #303030;
                    font: normal 16px $fontBold;
                    line-height: 24px;
                    letter-spacing: 0.01em;
                }
                .subtitulo{
                    display: block;
                    margin: 0px;
                    color: #6A6A6A;
                    font: normal 14px $fontRegular;
                    line-height: 21px;
                    letter-spacing: 0.01em;
                }
            }

            &.installments{
                .icone{
                    width: 42px;
                }
                .informacoes{
                    max-width: calc(100% - 42px);
                }
            }
            &.freight{
                .icone{
                    width: 51px;
                }
                .informacoes{
                    max-width: calc(100% - 51px);
                }
            }
            &.change{
                .icone{
                    width: 35px;
                }
                .informacoes{
                    max-width: calc(100% - 30px);
                }
            }
            &.coupon{
                .icone{
                    width: 40px;
                }
                .informacoes{
                    max-width: calc(100% - 40px);
                }
            }
        }

        .owl-stage {
            display: flex;
            align-items: center;
            margin: 0 auto;
        }
    }
}