/* 
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;
}
.search-header input{
    width: 220px;
}
.search-header.blog input{
    width: 100%;
}
.search-header .e-search-submit{
    margin-left: -31px !important;
    z-index: 1;
}
.faq .e-n-accordion-item{
    border: 2px solid;
    border-radius: 18px;
}

.logos-home .gallery{
    @media (min-width:768px){
        display: flex;
        align-items: end;
    }
}

.woocommerce-product-count-search{
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    align-items: center;

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

        .section-form{
            align-items: start !important;
            flex-direction: column;
            gap: 12px;
        }
    }

    h1{
        margin: 0;
        font-size: 22px;
        text-transform: uppercase;
        font-weight: 400;
    }
    
    .section-form{
        display: flex;
        align-items: center;
        justify-content: space-between;

        p{
            margin: 0;
        }

        form{
            position: relative;
            width: 400px;
            margin-top: 30px;

            @media (max-width:990px){
                width: 100%;
            }
            
            input{
                border-radius: 12px;
                border: 1px solid #000000;
                font-size: 14px;

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

            button{
                position: absolute;
                right: 15px;
                bottom: 5px;
                border-radius: 30px;
                border: none;
                width: auto;
                height: auto;
                padding: 0;
                background-color: transparent !important;

                svg{
                    width: 18px;
                    height: auto;
                }
            }
        }
    }
}

.filtros-produto{
    .e-filter-item[data-filter="__all"]{
        display: none;
    }
    .e-filter-item[aria-pressed="true"]:not(:empty)::before{
        background-color: var(--e-global-color-primary);
        border-color: var(--e-global-color-primary);
    }
    .e-filter-item:not(:empty)::before{
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        border-radius: 5px;
        border: 1px solid;
        margin-right: 12px;
    }

    &.blog .e-filter-item:not(:empty)::before{
        border-radius: 0;
        background-color: var(--e-global-color-text);
        clip-path: polygon(0 0, 100% 0, 100% 100%);
        transform: rotate(45deg);
        width: 12px;
        height: 12px;
        margin-left: -12px;
        margin-right: 16px;
    }

    &.blog .e-filter-item[aria-pressed="true"]:not(:empty)::before{
        background-color: var(--e-global-color-secondary);
        border-color: var(--e-global-color-secondary);
    }

}

.quick-whatsapp{
    display: flex;
    align-items: center;
    padding: 3.3px 5px;
    border: 2px solid var(--e-global-color-primary);
    color: var(--e-global-color-text);
    font-size: 11px;
    font-weight: 600;
    border-radius: 11px;
    gap: 8px;
    transition: all .3s;

    svg{
        width: 17px;
    }

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

        svg{
            path{
                fill: #fff
            }
        }
    }
}

.destaque-flag{
    color: #fff;
    background-color: var(--e-global-color-primary);
    padding: 8px 25px;
    border-radius: 8px;
    margin: auto;
    width: fit-content;
    width: -moz-fit-content;
    display: block;
    margin-top: -38px;
    font-size: 12px;
}

.lista-categorias{
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 12px;

    @media (max-width: 1024px){
        white-space: no-wrap;
        overflow-x: auto;
        padding: 0 15px;
        padding-bottom: 25px;

        /* Para navegadores WebKit (Chrome, Safari, Edge) */
        &::-webkit-scrollbar {
            width: 4px; /* largura da barra vertical */
            height: 4px; /* altura da barra horizontal */
        }

        &::-webkit-scrollbar-track {
            background-color: rgba(0, 0, 0, 0.1);
        }

        &::-webkit-scrollbar-thumb {
            background-color: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            transition: background-color 0.3s ease;
        }

        &::-webkit-scrollbar-thumb:hover {
            background-color: rgba(0, 0, 0, 0.5);
        }
    }

    .item-categoria{
        position: relative;
        width: 190px;
        height: 190px;
        border-radius: 200px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;

        a::after{
            content: '';
            display: block;
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            z-index: 2;
        }

        &.more{

            span:not(.icon-plus){
                display: none;
            }
            &::after{
                background-color: #E8E8E8;
                transition: all .3s;
            }
            span.icon-plus{
                font-size: 121px;
                font-weight: 100;
                color: var(--e-global-color-text);
            }

            &:hover{
                &::after{
                    background-color: var(--e-global-color-primary);
                }   
                span.icon-plus{
                    display: none;
                }
                span:not(.icon-plus){
                    display: block;
                }
            }
        }

        &::after, img{
            content: '';
            width: 100%;
            height: 100%;
            background-color: var(--e-global-color-primary);
            mix-blend-mode: multiply;
            position: absolute;
            left: 0;
            top: 0;
            object-fit: cover;
        }
        &:not(.more):hover&::after{
            opacity: 0.7;
        }
        &::after{
            transition: all .3s;
        }
        span{
            color: #fff;
            font-weight: 600;
            position: relative;
            z-index: 1;
            font-size: 18px;
            display: block;
            width: 100%;
            text-align: center;
            padding: 0 15px;
            line-height: 1.2em;
        }
    }

}

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

#grade-noticias{
    .elementor-pagination{
        border-top: 1px solid var(--e-global-color-text);
        padding-top: 15px;

        .page-numbers{
            width: 20px;
            height: 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 5px;
            color: var(--e-global-color-text);
            border: 1px solid var(--e-global-color-text);
            font-weight: bold;

            &.current{
                background-color: var(--e-global-color-text);
                color: #fff;
            }
        }
    }
}

.categorias-post{
    ul{
        list-style: none;
        padding: 0;

        li{
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 0px;

            &::before{
                content: '';
                border-radius: 0;
                background-color: var(--e-global-color-text);
                clip-path: polygon(0 0, 100% 0, 100% 100%);
                transform: rotate(45deg);
                width: 12px;
                height: 12px;
                display: block;
                margin-right: 16px;
            }

            a{
                color: var(--e-global-color-text);
            }
        }
    }
}

.produto-variantes{
    .label,td{
        padding: 0;
    }
    tr,th,tr,td{
        background-color: transparent !important;
    }
    tr{
        display: flex;
        text-align: left;
        flex-direction: column;
        margin-bottom: 12px;
    }
    select{
        background-color: #fff !important;
        padding: 4px 15px;
    }
    label{
        font-size: 14px;
        font-weight: 500 !important;
    }
    .quantity{
        display: none !important;
    }
}

.card-resumo{
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    height: 245px;

    h2{
        margin: 0;
        font-size: 22px;
        font-weight: 400;

        @media (max-width: 767px) {
            font-size: 22px;
        }
    }

    ul{
        list-style: none;
        padding: 0;
        margin-top: 12px;

        li{
            display: flex;
            align-items: center;
            margin-bottom: 7px;
            gap: 8px;

            &::before{
                content: url(/wp-content/uploads/2025/07/icon-check.png);
            }
        }
    }
}

.btn-whats-cotar{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #fff;
    border: 2px solid var(--e-global-color-primary);
    color: var(--e-global-color-primary);
    gap: 8px;
    font-size: 12px;
    font-weight: 500px;
    padding: 8px 4px;
    border-radius: 8px;
    margin-top: 12px;

    svg{
        width: 18px;
    }

    &.disabled{
        pointer-events: none;
        opacity: 0.7;
    }
}