/* 
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;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.smaller {
    font-size: 0.7em;
}

.woocommerce-breadcrumb {
    margin-bottom: 0 !important;
}

.redes-footer {
    ul {
        border: 2px solid var(--e-global-color-primary);
        width: fit-content;
        width: -moz-fit-content;
        border-radius: 30px;
        padding: 5px 15px !important;

        li:first-child {
            margin-right: 15px !important;
        }
    }
}

.woocommerce-product-count-search {
    display: grid;
    grid-template-columns: 2fr 3fr;
    align-items: center;

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

    h2 {
        font-size: 25px;
        margin: 0;

        @media (max-width: 990px) {
            margin-bottom: 15px;
        }
    }

    .form-control {
        position: relative;

        button {
            padding: 0;
            border: none;
            position: absolute;
            top: 11px;
            left: 11px;

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

        input {
            padding-left: 40px;
            color: var(--e-global-color-primary);

            &::placeholder {
                color: var(--e-global-color-primary);
            }
        }
    }

    .section-form form {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 15px;
        align-items: center;

        @media (max-width: 990px) {
            grid-template-columns: 1fr;
        }
        
        @media (min-width: 991px){
            .form-control{
                min-width: 420px;
                margin-left: auto;
                display: block;
            }
        }

        p {
            margin-bottom: 0;
        }
        

        input,
        select {
            border: 2px solid var(--e-global-color-primary);
            border-radius: 30px;
            font-size: 14px;
            color: var(--e-global-color-primary);
        }


    }
}

.infos-post {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;

    .data {
        width: 86px;
        height: auto;

        .day {
            width: 100%;
            display: block;
            border: 1px solid var(--e-global-color-text);
            color: var(--e-global-color-text);
            padding: 12px;
            font-size: 40px;
            font-weight: bold;
            text-align: center;
            border-radius: 5px;
        }

        .month {
            width: 100%;
            display: block;
            background-color: var(--e-global-color-text);
            border: 1px solid var(--e-global-color-text);
            color: #fff;
            padding: 8px;
            font-size: 12px;
            text-transform: uppercase;
            font-weight: bold;
            text-align: center;
            border-radius: 5px;
            margin-top: 5px;
        }
    }

    .desc {
        h3 {
            margin-top: 0;

            a {
                color: var(--e-global-color-text);
                font-size: 18px;
                line-height: 1em;
                font-weight: 600;
            }
        }
    }
}

.galeria-produto {

    .jet-woo-swiper-vertical.jet-gallery-swiper-vertical-pos-start,
    .jet-woo-swiper-horizontal.jet-gallery-swiper-horizontal-pos-bottom {
        gap: 12px;
    }

    .jet-woo-product-gallery__image {
        img {
            width: 100% !important;
            object-fit: cover;
        }
    }
}

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

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

.container-calendario #calendar,
.resumo-reserva {
    border: 2px solid var(--e-global-color-primary);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 3px 6px rgb(0 0 0 / 0.16);
}

.interna-calendario{
    
    .step-tabs{
        border-color: #fff;

        li{
            color: #fff;
        }
    }

    .container-calendario{
        #calendar{
            background-color: #fff;
        }
    }

    .resumo-reserva{
        background-color: #E0C389;
        color: var(--e-global-color-primary);

        h3{
            color: var(--e-global-color-primary);
            border-color: var(--e-global-color-primary);
        }
    }
    
    .btn-primary {
        background-color: #E0C389 !important;
        border-color: #E0C389;
    }
}

.container-calendario {

    #calendar {
        background-color: #E0C389;
        color: var(--e-global-color-primary);
        font-weight: bold;
        text-transform: uppercase;
        border: none;

        .fc-header-toolbar {
            padding-bottom: 20px;
            border-bottom: 2px solid var(--e-global-color-primary);
        }

        .fc-button-primary{
            background-color: var(--e-global-color-primary);
            color: #fff;
            border-color: var(--e-global-color-primary);
        }

        .fc-daygrid-day-frame{
            display: flex;
            align-items: center;
            justify-content: center;
        } 

        .dia-ativo .fc-daygrid-day-number{
            background-color: var(--e-global-color-primary);
            color: #fff;
            width: 32px;
            height: 32px;
            border-radius: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }

    .btn-primary {
        margin: auto;
        display: none;

        &.active {
            display: block;
        }
    }
}

.resumo-reserva {
    background-color: var(--e-global-color-primary);
    color: #fff;

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

    .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);
            filter: brightness(0) invert()
        }
    }
}

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

        &.active {
            display: block;
        }
    }
}

.campo-detalhes {
    border: 2px solid var(--e-global-color-primary);
    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 var(--e-global-color-primary);
    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: 900;
        color: var(--e-global-color-primary);

        &.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;

    &.hidden{
        display: block;
        visibility: hidden;
        position: absolute;
    }

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

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

.carrossel-feedback {
    .swiper-pagination {

        .swiper-pagination-bullet {
            opacity: 0.6;
        }

        .swiper-pagination-bullet-active {
            width: 60px;
            border-radius: 3px;
            opacity: 1;
        }
    }
}

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

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

    &:hover{
        background-color: #fff !important;
        color: var(--e-global-color-primary) !important;
    }
}
.hidden{
    display: none;
}

.form-aluguel{

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

    &.fundo-escuro{
        .campo,
        select,
        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;
            }
        }
    }

    &{
        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;
        }
    }
}
.cf7-normalize{
    .wpcf7-spinner{
            position: absolute;
            bottom: -30px;
            width: 21px;
            height: 21px;
            left: 0px;
            margin-left: 0;
        }
    .wpcf7-response-output{
        background-color: #fff;
    }
}
.itens-resumo{
    padding: 0;
    list-style: none;
}

.case-overlay{
    opacity: 0;
    transition: all .3s;

    &:hover{
        opacity: 1;
    }
}

.form-newsletter{
    display: grid;
    align-items: center;
    grid-template-columns: 1fr auto;
    gap: 15px;

    button{
        border: none !important;
        background-color: transparent !important;
        display: flex;
        align-items: center;
    }

    input{
        border: none;
        border-left: 4px solid #eee;

        &:focus{
            outline: none;
            border-color: #eee
        }
    }
}
.categorias-doces{
	ul{
		display: flex !important;
		overflow-x: auto !important;
		
		h2{
			font-size: 16px !important;
    		font-weight: 600 !important;
		}
	}
	img, mark{
		display: none !important
	}
}

.form-contato{
    label{
        display: block;
        width:100%;
        font-weight: bold;
        margin-bottom: 12px;
    }
	
	.campo:not(textarea){
		border: none;
		border-bottom: 1px solid #a1a1a1;
		border-radius:0
	}
    
    .elementor-form-fields-wrapper{
        display: flex;
        gap: 20px;
        align-items: flex-start;
		
        .elementor-column{
            width: calc( 100% / 2 - 10px);
			
			@media (max-width: 767px){
				width: 100%;
			}
        }
        
        .elementor-field-type-checkbox,.elementor-field-type-textarea,.elementor-name-field,
		.elementor-field-type-submit{
            width: 100% !important;
        }
		.elementor-field-type-checkbox .wpcf7-form-control-wrap .wpcf7-form-control{
			display: flex;
			align-items: center;
			justify-content: start;
			gap: 12px;
			
			label{
				display: flex;
				align-items: center;
				justify-content: start;
				width: fit-content;
				width: moz-fit-content;
				gap:8px
			}
			
			input{
				width: auto
			}
			
		}
        span{
            &,& input{
                width:100%;
            }
        }
    }
	.wpcf7-submit{
		border: 1px solid var( --e-global-color-primary );
		&:hover{
			background-color: var( --e-global-color-primary );
			color: #fff
		}
		max-width: 220px !important;
		margin: auto
	}
}