/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.accent {
    color: var(--e-global-color-primary);
}

.light {
    font-weight: 300;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

sr7-arrow{
    border-radius: 40px;
}

sr7-bullets.custom{
    display: flex;
    align-items: center;
    gap: 8px;

    &::before{
        display: none !important
    }

    .sr7-bullet{
        width: 60px !important;
        height: 3px !important;
        border-radius: 3px;

        &.selected{
            background-color: #fff !important;
        }
    }
}

body .bloco-produto {
  background-size: 100% !important; /* em vez de cover */
  background-position: center;
  transition: background-size 0.3s ease;
}

body .bloco-produto:hover {
  background-size: 122% !important;
}

.box-uniforme{
    h3{
        transform: translateY(20px);
        transition: all .3s;
    }
    
    .elementor-button{
        transform: translateY(-20px);
        transition: all .3s;
    }

    .elementor-button,
    .elementor-widget-divider{
        opacity: 0;
        pointer-events: none;
        transition: all .3s;
    }

    &:hover{
        h3,
        .elementor-button{
            transform: translateY(00px);
        }

        .elementor-button,
        .elementor-widget-divider{
            opacity: 1;
            pointer-events: all;
        }
    }

}

.container-logos{
    img{
      max-height: 80px;  
    }
    @media (min-width: 1020px){
        &::before,
        &::after{
            content: "";
            width: 170px;
            height: 100%;
            top: 0;
            position: absolute;
            z-index: 2;
            background: linear-gradient(to right, transparent, #eee);
        }   
        &::after{
            right: 0;
        }
        &::before{
            left: 0;
            background: linear-gradient(to left, transparent, #eee);
        }
    }
}

.form-aluguel{

    &.interna form{
        .campo{
            border: 2px solid #B5B5B5;
            padding: 10px 25px;
        }
    }

    &.fundo-escuro{
        form .campo,
        form select,
        form textarea{
            background-color: transparent;
            border-color: #fff;
            color: #fff;

            &::placeholder{
                color: #fff;
            }
        }
        
        .btn-alugar{
            background-color: transparent;
            color: #fff;
            border: 2px solid #fff;

            &:hover{
                background-color: #fff;
                color: var(--e-global-color-primary);
                border-color: #fff;
            }
        }
    }

    form{
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        
        input:focus,
        textarea:focus,
        select:focus {
            outline: none; /* remove a borda preta padrão */
            box-shadow: none; /* garante que não haja sombra */
        }

        .campo{
            border: none;
            border-radius: 0;
            border-bottom: 2px solid #B5B5B5;
            padding: 15px 0;
        }

        select{
            border: 2px solid #B5B5B5;
            margin-top: 12px;

            @media (max-width: 990px){
                margin-top: 0px;
            }
        }

        .col-1{
            width: 100%;
        }
        .col-2{
            width: calc(100% / 2 - 6px);

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

        .data-fields{
            display: grid;
            grid-template-columns: auto 1fr 1fr;

            @media (max-width: 990px){
                grid-template-columns: 1fr;
            }

            & span.first-label{
                padding: 0px 25px;
                border: 2px solid #B5B5B5;
                border-right: 0;
                display: flex;
                align-items: center;

                @media (max-width: 990px){
                    display: block;
                    padding: 10px;
                    font-weight: bold;
                    border-right: 2px solid #B5B5B5;
                    border-bottom: 0;
                    text-align: center;
                    background-color: #ddd;
                }
            }

            & > .form-control:nth-child(2){
                input{
                    border-right: 0;

                    @media (max-width: 990px){
                        border-right: 2px solid #B5B5B5;
                        border-bottom: 0;
                    }
                }
            }

            .form-control{
                position: relative;

                & > span:first-child{
                    position: absolute;
                    top: 12px;
                    left: 12px;
                    z-index: 1;
                }

                .wpcf7-not-valid-tip{
                    position: absolute;
                    bottom: -14px;
                    left: 13px;
                    z-index: 1;
                }

                input{
                    padding: 10px 25px;
                    padding-left: 120px;
                    border: 2px solid #B5B5B5;
                }
                
            }

        }

        textarea{
            border: 2px solid #B5B5B5;
            border-radius: 0;
        }
        
        .btn-alugar{
            background: #000;
            color: #fff;
            border: none;
            margin: auto;
            padding: 10px 35px;
            border-radius: 0;
        }

        .wpcf7-spinner{
            display: none;
        }
    }
}

.hidden{
    display: none;
}

.step-actions{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-filter{
    max-width: 40%;
    position: relative;
    margin-bottom: 35px;

    input{
        border: none;
        border-bottom: 2px solid #161615;
        border-radius: 0;
        padding: 0;
        padding-bottom: 12px;
        color: #161615;

        &:focus,&:focus-visible{
            outline: none;
        }

        &::placeholder{
            color: #161615;
        }
    }

    button{
        padding: 0;
        border: 0;
        position: absolute;
        bottom: 05px;
        right: 0;

        &:hover, &:focus{
            background-color: transparent;
        }
    }
}

.loop-filters{
    display: grid;
    grid-template-columns: auto repeat(4, 1fr);
    gap: 15px;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 2px solid #b5b5b5;

    span{
        padding-right: 45px;
    }

    select{
        border: 2px solid #B5B5B5;
        border-radius: 0;
    }
}

.btn-primary{
    background-color: var(--e-global-color-primary);
    color: #fff;
    padding: 11px 30px;
    border: 2px solid var(--e-global-color-primary);
    display: block;
    width: fit-content;
    width: -moz-fit-content;
    transition: all .3s;

    &:hover{
        background-color: #fff;
        color: var(--e-global-color-primary);
    }
}

.container-calendario{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;

    @media (max-width: 990px){
        grid-template-columns: 1fr;
    }

    #calendar, .dias-reservados{
        border: 2px solid #B5B5B5;
        padding: 25px;
    }

    h3{
        padding-bottom: 23px;
        border-bottom: 2px solid #B5B5B5;
        margin-top: 0;
    }

    #calendar{
       .fc-header-toolbar{
            padding-bottom: 20px;
            border-bottom: 2px solid #B5B5B5;
        }
    }
    
    .btn-primary{
        margin: auto;
        display: none;

        &.active{
            display: block;
        }
    }

    .dias-reservados{
        
        .item{
            display: flex;
            gap: 25px;
            align-items: center;
            margin-bottom: 15px;

            h4{
                font-size: 15px;
                text-transform: uppercase;
                letter-spacing: 1px;
                font-weight: 600;
                margin-bottom: 5px;
            }

            &::before{
                content: url(/wp-content/uploads/2025/09/calendario.png);
            }
        }
    }  
}

.step-contents{ 
        .step{
            display: none;

            &.active{
                display: block;
            }
        }
}  

.campo-detalhes{
    border: 2px solid #B5B5B5;
    margin-bottom: 12px;
}

.step-tabs{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 25px;
    border-bottom: 2px solid #B5B5B5;
    margin-bottom: 25px;
    
    @media(max-width: 990px){
        overflow-x: auto;
        white-space: nowrap;
        gap: 20px;
    }

    li{
        opacity: 0.4;
        pointer-events: none;
        text-transform: uppercase;
        font-weight: 600;

        &.active{
            opacity: 1;
            pointer-events: all;
            cursor: pointer;
        }
    }
}

.btn-whatsapp{
    border: 2px solid green;
    padding: 10px 35px;
    font-weight: 600;
    color: green;
    transition: all .3s;

    &:hover{
        background: green;
        color: #fff;
    }
}

.bloco-infos{
    background-color: #eee;
    padding: 25px;
    margin-bottom: 15px;
}

.title-cores{
    font-size: 17px;
    text-transform: uppercase;
    color: #161615;
}

.acf-lista-cores{
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: start;
    overflow-x: auto;
    gap: 10px;

    li{
        width: 40px;
        height: 40px;
        font-size: 0;
        border-radius: 40px;
        cursor: pointer;
        border: 3px solid transparent;

        &.active{
            border-color: var(--e-global-color-primary);
        }
    }
}

.acf-galeria-item{
    display: none;

    &.active{
        display: block;

        @media (max-width: 990px){
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 5px;

            img{
                height: 122px;
                object-fit: cover;
            }
        }
    }
}

.linha-etapas{
    display: grid;
    
    @media (max-width: 1024px){
        overflow-x: auto;
        
        .etapa-item{
            min-width: 200px;
        }
    }

    .etapa-item{
        text-align: center;

        .etapa-titulo{
            font-weight: 500;
            font-size: 40px;
            line-height: 1.2em;
            position: relative;
            padding: 25px;
            padding-bottom: 0;

            &::before{
                content: "";
                width: 100%;
                height: 3px;
                background-color: var(--e-global-color-primary);
                display: block;
                position: absolute;
                left: 0;
                bottom: 8px;
            }

            &::after{
                content: "";
                width: 20px;
                height: 20px;
                background-color: var(--e-global-color-primary);
                border-radius: 20px;
                display: block;
                margin: 12px auto;
            }
        }
    }
}

.linha-timeline{

    .slick-prev{
        font-size: 0;

        &:before{
            content: "<";
            font-size: 16px;
        }
    }
    .slick-next{
        font-size: 0;

        &:before{
            content: ">";
            font-size: 16px;
        }
    }

    .slick-next,
    .slick-prev{
        width: 30px;
        height: 30px;
        color: var(--e-global-color-primary);
        border-radius: 30px;
        border-color: var(--e-global-color-primary);
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        background-color: transparent !important;

        &:before{
            color: var(--e-global-color-primary);
            font-weight: bold;
        }

        @media (max-width: 990px){
            display: none !important;
        }
    }

    .slick-slide {
        opacity: 0.5;
        transition: all 0.3s ease;
        transform: scale(0.85); /* efeito destaque no ativo */
        padding: 0px 45px;
        text-align: center;

        @media (max-width: 990px) {
            padding: 0 25px;
        }

        h3{
            font-size: 70px;
            font-weight: 500;
        }
        p{
            font-size: 14px;
            opacity: 0;
            transition: all .3s ease;
        }
    }
    .slick-center {
        opacity: 1;
        transform: scale(1.15); /* efeito destaque no ativo */
        
        p{
            opacity: 1;
        }
    }

}

.timeline-control{
    margin-top: 30px;

    .item{
        position: relative;

        &:after{
            content: "";
            width: 100%;
            height: 2px;
            background-color: var(--e-global-color-primary);
            position: absolute;
            left: 0;
            bottom: 9px;
        }

        .marcador{
            width: 20px;
            height: 20px;
            background-color: var(--e-global-color-primary);
            border-radius: 20px;
            border: 2px solid var(--e-global-color-primary);
            display: block;
            margin: auto;
            font-size: 0;
        }
    }
}

.adicionar-carrinho{
    padding: 0;
    background-color: transparent !important;

    .label, .woo-variation-items-wrapper{
        padding: 0;
        background-color: transparent !important;
    }

    .woo-variation-items-wrapper{
        display: flex !important;
        align-items: center;
        justify-content: start;
        gap: 12px;
    }
    
    th.label{
        font-size: 15px;
        text-transform: uppercase;
        font-weight: 400;
    }

    .qty{
        border: none;
        border-bottom: 2px solid var(--e-global-color-primary);
        border-radius: 0;
        background-color: transparent !important;

        &:focus{
            outline: none;
        }
    }

    .button{
        background-color: var(--e-global-color-primary) !important;
        border-radius: 0 !important;
    }
    

}

@media (min-width: 1025px){
    .woocommerce div.product div.images.woocommerce-product-gallery{
        display: flex !important;
        flex-direction: row-reverse !important;
        gap: 12px !important;

        .flex-control-thumbs li{
            width: 100%;
            margin-bottom: 12px;
        }
    }
}

.elementor-widget-woocommerce-product-price p{
    margin-bottom: 0 !important;
}