/* =================================================================
   CUSTOMIZAÇÕES WOOCOMMERCE - PRODUTOS E VARIAÇÕES
   ================================================================= */

/* Container de parcelas customizado */
.woo-custom-installments-card-container {
    background: black !important;
}

/* Preços */
.original-price {
    display: none !important;
}

.price {
    display: block !important;
}

.logo-text {
    color: aqua;
}

.woocommerce-variation-price {
    text-align: center !important;
    font-weight: 800 !important;
    width: 100%;
    padding: 10px 7px !important;
    display: block;
}

/* =================================================================
   QUANTIDADE E FORMULÁRIO DE CARRINHO
   ================================================================= */

.woocommerce div.product form.cart div.quantity {
    margin: 3px 4px 4px 85px !important;
    display: flex;
}

.quantity {
    margin-right: 10px !important;
    border-radius: 10px !important;
    display: inline-block !important;
    background: #fffff0 !important;
}

.qty {
    background: #fffff0 !important;
}

.woocommerce-variation-add-to-cart variations_button .woocommerce-variation-add-to-cart-enabled {
    display: flex !important;
    align-items: baseline;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
    line-height: 14px !important;
    background: transparent !important;
}

.woocommerce div.product form.cart {
    margin-bottom: 2px !important;
}

/* =================================================================
   LISTAGEM DE PRODUTOS E NAVEGAÇÃO
   ================================================================= */

.woocommerce-result-count {
    color: #27ff00 !important;
    padding: 3px;
}

.woocommerce .woocommerce-result-count {
    color: yellow !important;
}

.woocommerce-ordering {
    padding: 3px;
}

.woocommerce .products ul, 
.woocommerce ul.products {
    margin: 0 0 7px;
}

/* =================================================================
   BOTÕES DE PRODUTO
   ================================================================= */

ul.products li.product .button {
    background-color: #0000FF !important;
    font-size: 15px !important;
    padding: 6px 7px 6px 7px !important;
}

.woocommerce ul.products li.product .button {
    display: inline-block !important;
    margin-top: 0 !important;
}

ul.products li.product .button:hover {
    color: lime !important;
    background-color: black !important;
    border-color: gold !important;
    padding: 6px 7px 6px 7px !important;
}

/* Botões específicos por elemento Elementor */
.elementor-21253 .elementor-element.elementor-element-53decf32.elementor-wc-products ul.products li.product .button {
    margin-top: 10px !important;
}

.elementor-16023 .elementor-element.elementor-element-79f780a.elementor-wc-products ul.products li.product .button {
    margin-top: 1px !important;
}

/* =================================================================
   IMAGENS DE PRODUTOS
   ================================================================= */

.woocommerce ul.products li.product a {
    display: block;
    perspective: 1000px;
}

    /* MOLDURA 3D ELEGANTE */
.woocommerce ul.products li.product a img {
    width: 90%; /* Define a largura da imagem como 90% do contêiner pai */
    height: 360px; /* Ajusta a altura automaticamente para manter a proporção da imagem */
    display: block; /* Garante que a imagem seja um bloco, ocupando toda a largura disponível */
    margin: auto; /* Centraliza a imagem horizontalmente */
    box-shadow: 0 8px 0 8px #01850e, 0px 0px 0 10px rgb(255, 247, 0); /* Adiciona sombra à imagem */
    border-radius: 16px; /* Arredonda os cantos da imagem */
    transition: all 0.3s ease-out; /* Adiciona uma transição suave para todas as propriedades */
    border: 2px solid gold; /* Define uma borda dourada ao redor da imagem */
    box-sizing: border-box; /* Inclui padding e borda nas dimensões do elemento */
}

/* HOVER - Eleva e intensifica moldura */
.woocommerce ul.products li.product a:hover img {
    box-shadow: 
        /* Moldura mais brilhante */
        0 0 0 10px rgba(13, 255, 0, 0.5),
        0 0 0 16px rgba(13, 255, 0, 0.25),
        
        /* Sombra mais profunda */
        0 40px 80px rgba(0, 0, 0, 0.4),
        0 25px 40px rgba(0, 0, 0, 0.3),
        
        /* Brilho interno intensificado */
        inset 0 4px 12px rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(0, 0, 0, 0.15);
}

/* Responsivo */
@media (max-width: 768px) {
    .woocommerce ul.products li.product a img {
        width: 280px;
        height: 280px;
    }
}

.elementor-34797 .elementor-element.elementor-element-2788f93c img {
    border-radius: 100% !important;
}

/* =================================================================
   VARIAÇÕES E SELETORES
   ================================================================= */

.woocommerce .variations_form.cart .variations th.label,
.woocommerce .variations_form.cart .variations td.label {
    background: transparent;
}

.woocommerce div.product form.cart .variations label {
    text-align: center !important;
    margin-top: 14px;
}

.woocommerce div.product form.cart .reset_variations,
.reset_variations {
    visibility: visible !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.woocommerce div.product form.cart .variations select {
    max-width: 60% !important;
    min-width: 50% !important;
    display: inline-block;
    margin-right: 1em;
    border-radius: 7px !important;
    padding: 3px 3px 3px 3px !important;
}

/* =================================================================
   CAMPOS DE FORMULÁRIO E INPUTS
   ================================================================= */

/* Campos desabilitados */
input[type=date]:disabled,
input[type=email]:disabled,
input[type=number]:disabled,
input[type=password]:disabled,
input[type=search]:disabled,
input[type=tel]:disabled,
input[type=text]:disabled,
input[type=url]:disabled,
select:disabled,
textarea:disabled {
    font-size: 15px;
    width: 100%;
    border: 1px solid #ff0000;
    border-radius: 10px;
    padding: 0px 5px 0px 5px;
    transition: all .3s;
    font-weight: 500;
    margin: auto;
    background-color: #fbfbfb;
    box-sizing: border-box;
    outline: 0;
    color: #0000ff;
    height: 36px;
}

/* Campos ativos */
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    font-size: 15px !important;
    font-family: inherit !important;
    width: 100%;
    border: 1px solid #0000ff;
    border-radius: 10px;
    padding: 0px 5px 0px 5px;
    transition: all .3s;
    font-weight: 500 !important;
    margin: auto;
    background-color: #ffffdc;
    box-sizing: border-box;
    outline: 0;
    color: #000000;
    height: 36px !important;
}

/* Checkboxes */
input[type='checkbox'] {
    background: #ffffdc;
    border: 1px solid #0000ff;
}

input[type='checkbox']:disabled {
    background-color: #fbfbfb;
    border: 1px solid #ff0000;
}

/* Login específico */
.login form .input, 
.login input[type=password], 
.login input[type=text] {
    min-height: 36px !important;
}

/* =================================================================
   ELEMENTOS CUSTOMIZADOS
   ================================================================= */

/* Campo de texto customizado */
#text-field-container {
    display: inline-block !important;
    margin-right: 10px !important;
    background: #fffff0 !important;
    border: 3px solid #0000ff !important;
    border-radius: 10px !important;
}

#modelo {
    display: inline-block;
    max-width: 60% !important;
    width: 100%;
    border: 1px solid #0000ff !important;
    border-radius: 7px !important;
    padding: 3px 3px 3px 3px !important;
    transition: all .3s;
}

/* Botão de popup customizado */
.cwg_popup_submit {
    font-size: 14px !important;
    border-radius: 10px !important;
    padding: 5px !important;
    border: 2px solid blue !important;
    color: lime !important;
    background: #000000 !important;
}

.cwg_popup_submit:hover {
    font-size: 14px !important;
    border-radius: 10px !important;
    padding: 5px !important;
    border: 2px solid gold !important;
    color: white !important;
    background: blue !important;
}

/* =================================================================
   ESTOQUE E STATUS
   ================================================================= */

.stock,
.in-stock {
    font-size: 14px !important;
    color: blue;
}

/* Labels */
.label {
    color: #ff9900 !important;
}

/* =================================================================
   TABELAS
   ================================================================= */

.table td,
.table th {
    padding: 3px 3px 7px 3px;
    line-height: 1.5 !important;
    border: 1px solid #00000000 !important;
    display: inline-block;
    text-align: inherit;
    background: transparent;
}

table {
    width: 100%;
    margin-bottom: 5px;
    font-size: .9em;
    border-spacing: 0;
    border-collapse: separate !important;
    border-radius: 10px !important;
    padding: 7px 9px 7px 10px;
    background-color: aliceblue;
    border: 2px solid black; 
    display: table;
}

.woo-custom-installments-table tbody>tr:nth-child(odd)>td, 
table tbody>tr:nth-child(odd)>th {
    background-color: #c0e7d3 !important;
}

#order_review table.woocommerce-checkout-review-order-table tfoot tr.order-total {
    background-color: #f3f3f300 !important;
}

/* =================================================================
   TÍTULOS E CATEGORIAS
   ================================================================= */

.woocommerce-loop-category__title {
    font-family: auto !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: initial !important;
}

/* =================================================================
   ELEMENTOR CUSTOMIZATIONS
   ================================================================= */

.elementor-field-textual {
    font-family: "Gabriela", Sans-serif;
    font-size: 15px;
    line-height: 1.6em;
    background: antiquewhite;
}

.woocommerce {
    background: border-box;
}

/* =================================================================
   GALERIA DE NAVEGAÇÃO
   ================================================================= */

.wpgs-nav .slick-slide {
    border: 3px solid #85009d !important;
    box-shadow: 0px 0px 3px 3px #00000070 !important;
    border-radius: 5px !important;
    background: linear-gradient(20deg, #ffa500 0%, #fafa03 10%, #33ff00 20%, #02dd02 30%, #00ffd0 40%, #011eee 50%, #8902de 60%, #ff1800 70%, #a19f9f 80%, #00FF00 90%, #cc00ff 100%) !important;
}

/* =================================================================
   VARIAÇÕES COLORIDAS E BOTÕES
   ================================================================= */

/* Termos de variação - Botões */
.wpcvs-type-button .wpcvs-term>span {
    padding: 0 0 1px 0 !important;
    color: white !important;
    background: #ff7800;
    text-align: center !important;
    border-radius: 25px !important;
    font-size: 12px !important;
    font-family: 'Roboto' !important;
}

.wpcvs-terms.wpcvs-type-button .wpcvs-term {
    height: max-content;
    min-width: 42px;
    line-height: 16px;
}

.wpcvs-type-button .wpcvs-term {
    height: 38px !important;
    min-width: 38px !important;
    line-height: 38px !important;
    background: linear-gradient(120deg, #000000 0%, #530572 50%, #0c0c0c 100%) !important;
}

/* Termos de variação - Cores */
.wpcvs-type-color .wpcvs-term {
    height: 37px !important;
    width: 37px !important;
    border-radius: 100% !important;
}

.wpcvs-type-color .wpcvs-term>span {
    border-radius: 100% !important;
    padding: 2px !important;
}

.wpcvs-terms.wpcvs-type-color .wpcvs-term .wpcvs-term-color {
    flex: 0 0 26px !important;
}

.wpcvs-terms.wpcvs-style-rounded .wpcvs-term .wpcvs-term-color {
    border-radius: 100% !important; 
}

/* Configurações gerais dos termos */
.wpcvs-term {
    margin: 3px 2px 0 2px !important;
    display: inline-flex !important;
    padding: 1px !important;
    border-width: 2px !important;
    border-color: #0066ff !important;
}

.wpcvs-term.wpcvs-selected {
    border-color: #01ff01 !important;
}

.wpcvs-terms {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center !important;
}

.wpcvs-terms.wpcvs-style-rounded .wpcvs-term {
    border-radius: 25px !important;
}

.wpcvs-term>span {
    height: 31px !important;
    line-height: 29px !important;
    width: 100% !important;
    position: relative !important;
    font-weight: 400 !important;
}

.wpcvs-terms .wpcvs-term .wpcvs-term-inner {
    display: flex !important;
    background: linear-gradient(120deg, #000000 0%, #530572 50%, #0c0c0c 100%);
    justify-content: space-evenly !important;
    line-height: 25px !important;
}

.wpcvs-terms.wpcvs-type-button .wpcvs-term .wpcvs-term-inner .wpcvs-term-label {
    padding: 0 4px !important;
}

/* =================================================================
   CONTADOR E ACESSIBILIDADE
   ================================================================= */

.woofc-count {
    width: 45px;
    height: 50px;
    background-color: #00ff2b;
}

#pojo-a11y-toolbar *, 
#pojo-a11y-toolbar :before, 
#pojo-a11y-toolbar :after {
    border-radius: 10px !important;
}

/* =================================================================
   CHECKOUT CUSTOMIZADO
   ================================================================= */

body div.woocommerce .fc-wrapper .fc-coupon_code__collapsible .fc-coupon-code__apply {
    z-index: 11;
    position: absolute !important;
    top: 1px;
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    left: auto;
    right: 5px;
    height: 35px !important;
    min-height: 35px !important;
    line-height: 1 !important;
    width: auto;
    border-radius: 10px;
}

/* =================================================================
   RESPONSIVIDADE
   ================================================================= */

@media (max-width: 768px) {
    .woocommerce div.product form.cart div.quantity {
        margin: 3px 0 4px 0 !important;
        justify-content: center;
    }
    
    .woocommerce div.product form.cart .variations select {
        max-width: 100% !important;
        min-width: 100% !important;
    }
    
    #modelo {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    ul.products li.product .button {
        font-size: 13px !important;
        padding: 4px 5px !important;
    }
    
    .wpcvs-type-button .wpcvs-term>span {
        font-size: 10px !important;
    }
}