/* =========================================================
   ATRIBUTO TAMANHO DO FOTOLIVRO - TEXTO FIXO ABAIXO
   Plugin: RTWPVS Variation Swatches
   ========================================================= */


/* BLOCO DAS IMAGENS */
.rtwpvs-terms-wrapper.image-variable-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    max-width: 380px !important;
    align-items: flex-start !important;
}


/* QUADRINHO EXTERNO */
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-image-term,
.rtwpvs-terms-wrapper.image-variable-wrapper [class*="image-variable-term-"] {
    width: 112px !important;
    height: 132px !important;
    min-width: 112px !important;
    min-height: 132px !important;
    max-width: 112px !important;
    max-height: 132px !important;
    padding: 4px 4px 26px 4px !important;
    margin: 0 !important;
    border: 1px solid #bdbdbd !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}


/* ÁREA INTERNA */
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term-span {
    width: 100% !important;
    height: 96px !important;
    min-width: 100% !important;
    min-height: 96px !important;
    max-width: 100% !important;
    max-height: 96px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}


/* IMAGEM */
.rtwpvs-terms-wrapper.image-variable-wrapper img,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term img,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term-span img {
    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}


/* TEXTO FIXO ABAIXO DA IMAGEM */
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term::after,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-image-term::after,
.rtwpvs-terms-wrapper.image-variable-wrapper [class*="image-variable-term-"]::after {
    content: attr(title) !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: absolute !important;
    top: auto !important;
    left: 4px !important;
    right: 4px !important;
    bottom: 6px !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    color: #666666 !important;
    font-weight: 600 !important;
    z-index: 10 !important;
    pointer-events: none !important;
}


/* REMOVE TOOLTIP PRETO DO HOVER */
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term::before,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-image-term::before,
.rtwpvs-terms-wrapper.image-variable-wrapper [class*="image-variable-term-"]::before {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}


/* HOVER */
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term:hover,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-image-term:hover,
.rtwpvs-terms-wrapper.image-variable-wrapper [class*="image-variable-term-"]:hover {
    border-color: #777777 !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08) !important;
}


/* ITEM SELECIONADO - MAIS DESTAQUE */
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term.selected,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term.rtwpvs-selected-term,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-selected-term,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-image-term.selected,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-image-term.rtwpvs-selected-term {
    border: 2px solid #000000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.16) !important;
    background: #fafafa !important;
}


/* TEXTO DO ITEM SELECIONADO */
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term.selected::after,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term.rtwpvs-selected-term::after,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-selected-term::after,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-image-term.selected::after,
.rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-image-term.rtwpvs-selected-term::after {
    color: #000000 !important;
    font-weight: 700 !important;
}


/* MANTER BOTÕES DE PÁGINAS NORMAIS */
.rtwpvs-terms-wrapper:not(.image-variable-wrapper) .rtwpvs-term,
.rtwpvs-terms-wrapper:not(.image-variable-wrapper) .rtwpvs-button-term {
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    max-width: none !important;
    max-height: none !important;
    padding: 8px 12px !important;
    margin: 0 4px 6px 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
}


/* TEXTO DOS BOTÕES DE PÁGINAS */
.rtwpvs-terms-wrapper:not(.image-variable-wrapper) .rtwpvs-term-span {
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    max-width: none !important;
    max-height: none !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    display: inline-block !important;
}


/* ESPAÇAMENTO GERAL */
table.variations td.value {
    padding-bottom: 10px !important;
}

table.variations label {
    font-weight: 600 !important;
}


/* RESPONSIVO */
@media (max-width: 768px) {
    .rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term,
    .rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-image-term,
    .rtwpvs-terms-wrapper.image-variable-wrapper [class*="image-variable-term-"] {
        width: 92px !important;
        height: 114px !important;
        min-width: 92px !important;
        min-height: 114px !important;
        max-width: 92px !important;
        max-height: 114px !important;
        padding: 4px 4px 24px 4px !important;
    }

    .rtwpvs-terms-wrapper.image-variable-wrapper img,
    .rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term img,
    .rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term-span img {
        width: 76px !important;
        height: 76px !important;
        min-width: 76px !important;
        min-height: 76px !important;
        max-width: 76px !important;
        max-height: 76px !important;
    }

    .rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-term::after,
    .rtwpvs-terms-wrapper.image-variable-wrapper .rtwpvs-image-term::after,
    .rtwpvs-terms-wrapper.image-variable-wrapper [class*="image-variable-term-"]::after {
        font-size: 11px !important;
    }
}
/* =========================================================
   OCULTAR SKU, QUANTIDADE, INFORMAÇÕES ADICIONAIS E AVALIAÇÕES
   Aplicar em todo o site
   ========================================================= */


/* =========================================================
   1. OCULTAR SKU NA PÁGINA DO PRODUTO
   ========================================================= */

.product_meta .sku_wrapper,
.single-product .product_meta .sku_wrapper {
    display: none !important;
}




/* =========================================================
   3. AJUSTAR BOTÃO ADICIONAR AO CARRINHO APÓS OCULTAR QUANTIDADE
   ========================================================= */

.single-product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart .button,
.woocommerce-variation-add-to-cart .single_add_to_cart_button {
    margin-left: 0 !important;
}


/* =========================================================
   4. OCULTAR ABA INFORMAÇÃO ADICIONAL
   ========================================================= */

.woocommerce-tabs ul.tabs li.additional_information_tab,
.woocommerce div.product .woocommerce-tabs ul.tabs li.additional_information_tab {
    display: none !important;
}


/* =========================================================
   5. OCULTAR ABA AVALIAÇÕES
   ========================================================= */

.woocommerce-tabs ul.tabs li.reviews_tab,
.woocommerce div.product .woocommerce-tabs ul.tabs li.reviews_tab {
    display: none !important;
}


/* =========================================================
   6. OCULTAR CONTEÚDO DE INFORMAÇÃO ADICIONAL
   ========================================================= */

.woocommerce-Tabs-panel--additional_information,
#tab-additional_information {
    display: none !important;
}


/* =========================================================
   7. OCULTAR CONTEÚDO DE AVALIAÇÕES
   ========================================================= */

.woocommerce-Tabs-panel--reviews,
#tab-reviews,
#reviews {
    display: none !important;
}


/* =========================================================
   8. MANTER DESCRIÇÃO VISÍVEL
   Oculta somente Informações adicionais e Avaliações
   ========================================================= */

/* Mantém o bloco principal das abas visível */
.woocommerce-tabs.wc-tabs-wrapper,
.woocommerce div.product .woocommerce-tabs {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mantém o conteúdo da descrição visível */
.woocommerce-Tabs-panel--description,
#tab-description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    padding-top: 20px !important;
}

/* Oculta a barra de abas, deixando somente a descrição */
.woocommerce-tabs ul.tabs,
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: none !important;
}
/* =========================================================
   DESTAQUE DELICADO NO TÍTULO DO PRODUTO
   Página individual do produto
   ========================================================= */

.single-product h1.product_title,
.single-product .product_title.entry-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    color: #1f2f4a !important;
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    letter-spacing: 0.2px !important;
}

/* Responsivo para celular */
@media (max-width: 768px) {
    .single-product h1.product_title,
    .single-product .product_title.entry-title {
        font-size: 22px !important;
    }

}
/* =========================================================
   OPCIONAIS DO PRODUTO - ESTILO BOTÕES
   Advanced Product Fields / Product Addons
   Transforma radio buttons em botões visuais
   ========================================================= */


/* Espaçamento geral dos grupos de opcionais */
.wapf-field-container,
.wapf-field-group,
.advanced-product-fields,
.apf-field,
.product-addon,
.wc-pao-addon {
    margin-bottom: 22px !important;
}


/* Título/pergunta do campo */
.wapf-field-label,
.wapf-field-label label,
.apf-field label,
.product-addon h3,
.wc-pao-addon-name {
    font-size: 17px !important;
    font-weight: 400 !important;
    color: #333333 !important;
    margin-bottom: 10px !important;
    display: block !important;
}


/* Container das opções */
.wapf-swatch-wrapper,
.wapf-field-input,
.apf-field-options,
.product-addon-options,
.wc-pao-addon-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 14px !important;
    align-items: center !important;
}


/* Esconde o círculo original do radio */
.wapf-field-input input[type="radio"],
.wapf-field-input input[type="checkbox"],
.apf-field input[type="radio"],
.apf-field input[type="checkbox"],
.product-addon input[type="radio"],
.product-addon input[type="checkbox"],
.wc-pao-addon input[type="radio"],
.wc-pao-addon input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}


/* Estilo dos botões */
.wapf-swatch-label,
.wapf-swatch label,
.wapf-field-input label,
.apf-field label,
.product-addon label,
.wc-pao-addon label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 8px 14px !important;
    border: 1px solid #cccccc !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
}


/* Hover */
.wapf-swatch-label:hover,
.wapf-swatch label:hover,
.wapf-field-input label:hover,
.apf-field label:hover,
.product-addon label:hover,
.wc-pao-addon label:hover {
    border-color: #1f2f4a !important;
    color: #1f2f4a !important;
}


/* Opção selecionada */
.wapf-field-input input[type="radio"]:checked + label,
.wapf-field-input input[type="checkbox"]:checked + label,
.apf-field input[type="radio"]:checked + label,
.apf-field input[type="checkbox"]:checked + label,
.product-addon input[type="radio"]:checked + label,
.product-addon input[type="checkbox"]:checked + label,
.wc-pao-addon input[type="radio"]:checked + label,
.wc-pao-addon input[type="checkbox"]:checked + label {
    background: #1f2f4a !important;
    border-color: #1f2f4a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}


/* Caso o plugin use classe de swatch selecionado */
.wapf-swatch--selected,
.wapf-swatch.selected,
.wapf-swatch.wapf-checked,
.wapf-checked label,
.wapf-swatch--selected label,
.wapf-swatch.selected label {
    background: #1f2f4a !important;
    border-color: #1f2f4a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}


/* Texto explicativo abaixo dos opcionais */
.wapf-field-description,
.apf-field-description,
.product-addon-description,
.wc-pao-addon-description {
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: #666666 !important;
    margin-top: 12px !important;
    max-width: 620px !important;
}
/* =========================================================
   OPCIONAIS DO PRODUTO - BOTÕES LADO A LADO
   Advanced Product Fields / Product Addons
   ========================================================= */

/* Container geral das opções */
.wapf-field-input,
.wapf-field-input .options,
.wapf-radios,
.wapf-checkboxes,
.wapf-swatch-wrapper,
.apf-field-options,
.product-addon-options,
.wc-pao-addon-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px 12px !important;
    align-items: center !important;
}

/* Cada opção */
.wapf-field-input > div,
.wapf-field-input .wapf-checkable,
.wapf-field-input .wapf-swatch,
.wapf-radios > div,
.wapf-checkboxes > div,
.apf-field-options > div,
.product-addon-options > div,
.wc-pao-addon-wrap > div {
    display: inline-flex !important;
    width: auto !important;
    margin: 0 !important;
}

/* Esconde radio/checkbox original */
.wapf-field-input input[type="radio"],
.wapf-field-input input[type="checkbox"],
.apf-field input[type="radio"],
.apf-field input[type="checkbox"],
.product-addon input[type="radio"],
.product-addon input[type="checkbox"],
.wc-pao-addon input[type="radio"],
.wc-pao-addon input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* Botão visual */
.wapf-field-input label,
.wapf-swatch label,
.wapf-swatch-label,
.apf-field label,
.product-addon label,
.wc-pao-addon label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: auto !important;
    min-height: 38px !important;
    padding: 8px 14px !important;
    margin: 0 !important;
    border: 1px solid #cccccc !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

/* Hover */
.wapf-field-input label:hover,
.wapf-swatch label:hover,
.wapf-swatch-label:hover,
.apf-field label:hover,
.product-addon label:hover,
.wc-pao-addon label:hover {
    border-color: #1f2f4a !important;
    color: #1f2f4a !important;
}

/* Selecionado */
.wapf-field-input input[type="radio"]:checked + label,
.wapf-field-input input[type="checkbox"]:checked + label,
.apf-field input[type="radio"]:checked + label,
.apf-field input[type="checkbox"]:checked + label,
.product-addon input[type="radio"]:checked + label,
.product-addon input[type="checkbox"]:checked + label,
.wc-pao-addon input[type="radio"]:checked + label,
.wc-pao-addon input[type="checkbox"]:checked + label {
    background: #1f2f4a !important;
    border-color: #1f2f4a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Se o plugin colocar classe de selecionado */
.wapf-checked label,
.wapf-swatch.selected label,
.wapf-swatch--selected label,
.wapf-swatch.wapf-checked label {
    background: #1f2f4a !important;
    border-color: #1f2f4a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Espaçamento entre o título do opcional e os botões */
.wapf-field-label,
.wapf-field-label label,
.apf-field label:first-child,
.product-addon h3,
.wc-pao-addon-name {
    margin-bottom: 8px !important;
    display: block !important;
}

/* Espaçamento entre grupos de opcionais */
.wapf-field-container,
.wapf-field-group,
.advanced-product-fields,
.apf-field,
.product-addon,
.wc-pao-addon {
    margin-bottom: 20px !important;
}
/* =========================================================
   OPCIONAIS DO PRODUTO - SELECIONADO PRETO
   Advanced Product Fields / WAPF
   ========================================================= */

/* Opção normal */
.wapf-field-input label,
.wapf-swatch label,
.wapf-swatch-label,
.wapf-checkable label {
    background: #ffffff !important;
    border: 1px solid #cccccc !important;
    color: #333333 !important;
    font-weight: 400 !important;
}

/* Opção selecionada - preto igual aos atributos */
.wapf-field-input input[type="radio"]:checked + label,
.wapf-field-input input[type="checkbox"]:checked + label,
.wapf-checkable input[type="radio"]:checked + label,
.wapf-checkable input[type="checkbox"]:checked + label,
.wapf-swatch input[type="radio"]:checked + label,
.wapf-swatch input[type="checkbox"]:checked + label {
    background: #1f1f1f !important;
    border-color: #1f1f1f !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Caso o plugin use classe no item selecionado */
.wapf-checked label,
.wapf-swatch.selected label,
.wapf-swatch--selected label,
.wapf-swatch.wapf-checked label,
.wapf-field-input .selected label {
    background: #1f1f1f !important;
    border-color: #1f1f1f !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Hover dos opcionais */
.wapf-field-input label:hover,
.wapf-swatch label:hover,
.wapf-swatch-label:hover,
.wapf-checkable label:hover {
    border-color: #1f1f1f !important;
    color: #1f1f1f !important;
}

/* Hover quando já estiver selecionado */
.wapf-field-input input[type="radio"]:checked + label:hover,
.wapf-field-input input[type="checkbox"]:checked + label:hover,
.wapf-checkable input[type="radio"]:checked + label:hover,
.wapf-checkable input[type="checkbox"]:checked + label:hover,
.wapf-swatch input[type="radio"]:checked + label:hover,
.wapf-swatch input[type="checkbox"]:checked + label:hover,
.wapf-checked label:hover,
.wapf-swatch.selected label:hover,
.wapf-swatch--selected label:hover {
    background: #1f1f1f !important;
    border-color: #1f1f1f !important;
    color: #ffffff !important;
}
/* =========================================================
   CUSTOM FIELDS - FONTE IGUAL AOS ATRIBUTOS
   Advanced Product Fields / WAPF
   ========================================================= */

/* Título/pergunta dos opcionais */
.wapf-field-label,
.wapf-field-label label,
.wapf-field-container label:first-child {
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #001f3f !important;
    margin-bottom: 8px !important;
}

/* Texto dos botões dos opcionais */
.wapf-field-input label,
.wapf-swatch label,
.wapf-swatch-label,
.wapf-checkable label {
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #000000 !important;
}

/* Preço adicional dentro dos botões */
.wapf-field-input label span,
.wapf-swatch label span,
.wapf-swatch-label span,
.wapf-checkable label span {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #777777 !important;
}

/* Botão selecionado */
.wapf-field-input input[type="radio"]:checked + label,
.wapf-field-input input[type="checkbox"]:checked + label,
.wapf-checkable input[type="radio"]:checked + label,
.wapf-checkable input[type="checkbox"]:checked + label,
.wapf-swatch input[type="radio"]:checked + label,
.wapf-swatch input[type="checkbox"]:checked + label,
.wapf-checked label,
.wapf-swatch.selected label,
.wapf-swatch--selected label {
    background: #1f1f1f !important;
    border-color: #1f1f1f !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Preço adicional quando selecionado */
.wapf-field-input input[type="radio"]:checked + label span,
.wapf-field-input input[type="checkbox"]:checked + label span,
.wapf-checkable input[type="radio"]:checked + label span,
.wapf-checkable input[type="checkbox"]:checked + label span,
.wapf-swatch input[type="radio"]:checked + label span,
.wapf-swatch input[type="checkbox"]:checked + label span,
.wapf-checked label span,
.wapf-swatch.selected label span,
.wapf-swatch--selected label span {
    color: #ffffff !important;
}

/* Espaçamento entre grupos */
.wapf-field-container {
    margin-bottom: 22px !important;
}
/* =========================================================
   CUSTOM FIELDS / OPCIONAIS - CORES IGUAIS AOS ATRIBUTOS
   Advanced Product Fields / WAPF
   ========================================================= */


/* Título dos opcionais */
.wapf-field-label,
.wapf-field-label label,
.wapf-field-container .wapf-field-label label {
    color: #001f3f !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}


/* Botões normais dos opcionais */
.wapf-field-input label,
.wapf-swatch label,
.wapf-checkable label,
.wapf-swatch-label {
    background: #ffffff !important;
    border: 1px solid #cccccc !important;
    color: #000000 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}


/* Texto dentro dos botões */
.wapf-field-input label span,
.wapf-swatch label span,
.wapf-checkable label span,
.wapf-swatch-label span {
    color: #000000 !important;
    font-weight: 400 !important;
}


/* Preço adicional dentro dos botões */
.wapf-field-input label .wapf-pricing-hint,
.wapf-swatch label .wapf-pricing-hint,
.wapf-checkable label .wapf-pricing-hint,
.wapf-swatch-label .wapf-pricing-hint {
    color: #777777 !important;
    font-weight: 400 !important;
}


/* Hover dos botões */
.wapf-field-input label:hover,
.wapf-swatch label:hover,
.wapf-checkable label:hover,
.wapf-swatch-label:hover {
    border-color: #1f1f1f !important;
    color: #1f1f1f !important;
}


/* Botão selecionado */
.wapf-field-input input[type="radio"]:checked + label,
.wapf-field-input input[type="checkbox"]:checked + label,
.wapf-checkable input[type="radio"]:checked + label,
.wapf-checkable input[type="checkbox"]:checked + label,
.wapf-swatch input[type="radio"]:checked + label,
.wapf-swatch input[type="checkbox"]:checked + label,
.wapf-checked label,
.wapf-swatch.selected label,
.wapf-swatch--selected label,
.wapf-swatch.wapf-checked label {
    background: #1f1f1f !important;
    border-color: #1f1f1f !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}


/* Texto do botão selecionado */
.wapf-field-input input[type="radio"]:checked + label span,
.wapf-field-input input[type="checkbox"]:checked + label span,
.wapf-checkable input[type="radio"]:checked + label span,
.wapf-checkable input[type="checkbox"]:checked + label span,
.wapf-swatch input[type="radio"]:checked + label span,
.wapf-swatch input[type="checkbox"]:checked + label span,
.wapf-checked label span,
.wapf-swatch.selected label span,
.wapf-swatch--selected label span,
.wapf-swatch.wapf-checked label span {
    color: #ffffff !important;
}


/* Preço adicional quando selecionado */
.wapf-field-input input[type="radio"]:checked + label .wapf-pricing-hint,
.wapf-field-input input[type="checkbox"]:checked + label .wapf-pricing-hint,
.wapf-checkable input[type="radio"]:checked + label .wapf-pricing-hint,
.wapf-checkable input[type="checkbox"]:checked + label .wapf-pricing-hint,
.wapf-swatch input[type="radio"]:checked + label .wapf-pricing-hint,
.wapf-swatch input[type="checkbox"]:checked + label .wapf-pricing-hint,
.wapf-checked label .wapf-pricing-hint,
.wapf-swatch.selected label .wapf-pricing-hint,
.wapf-swatch--selected label .wapf-pricing-hint,
.wapf-swatch.wapf-checked label .wapf-pricing-hint {
    color: #ffffff !important;
}


/* Remove cor azul/tema que possa estar herdando */
.wapf-field-input label *,
.wapf-swatch label *,
.wapf-checkable label * {
    text-decoration: none !important;
}
/* =========================================================
   DIMINUIR MAIS O ESPAÇO ENTRE OS OPCIONAIS
   ========================================================= */

/* Espaço entre um grupo e outro */
.wapf-field-container,
.wapf-field-group {
    margin-bottom: 4px !important;
    padding-bottom: 0 !important;
}

/* Espaço entre o título e os botões */
.wapf-field-label,
.wapf-field-label label {
    margin-bottom: 2px !important;
    padding-bottom: 0 !important;
}

/* Espaço abaixo dos botões */
.wapf-field-input {
    margin-bottom: 2px !important;
}

/* Remove margens extras dos grupos */
.wapf-field {
    margin-bottom: 4px !important;
}
/* =========================================================
   ESPAÇO ENTRE DESCRIÇÃO DO CUSTOM FIELD E BOTÃO CARRINHO
   Advanced Product Fields / WAPF
   ========================================================= */

/* Descrição dos opcionais */
.wapf-field-description {
    margin-top: 10px !important;
    margin-bottom: 24px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #777777 !important;
}

/* Garante espaço antes do botão adicionar ao carrinho */
.wapf-wrapper {
    margin-bottom: 22px !important;
}

/* Espaço entre os campos opcionais e a área do carrinho */
.single_variation_wrap,
.woocommerce-variation-add-to-cart {
    margin-top: 12px !important;
}
/* =========================================================
   MENSAGEM DE OBRIGATÓRIO DOS OPCIONAIS - ESTILO BALÃO
   Aparece somente após clicar em Adicionar ao carrinho
   ========================================================= */

.mensagem-obrigatoria-wapf {
    display: inline-block !important;
    position: relative !important;
    background: #fff5f5 !important;
    color: #b42318 !important;
    border: 1px solid #f3b6b6 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-top: 6px !important;
    margin-bottom: 10px !important;
    box-shadow: 0 2px 6px rgba(180, 35, 24, 0.12) !important;
}

/* Setinha do balão */
.mensagem-obrigatoria-wapf::before {
    content: "" !important;
    position: absolute !important;
    top: -7px !important;
    left: 18px !important;
    width: 12px !important;
    height: 12px !important;
    background: #fff5f5 !important;
    border-left: 1px solid #f3b6b6 !important;
    border-top: 1px solid #f3b6b6 !important;
    transform: rotate(45deg) !important;
}

/* Remove linhas vermelhas e efeitos do plugin */
.wapf-field-container,
.wapf-field-container *,
.wapf-field-input,
.wapf-field-input * {
    box-shadow: none !important;
}

/* Mantém os botões com layout normal mesmo com erro */
.campo-obrigatorio-erro label {
    border-color: #cccccc !important;
}
/* =========================================================
   BLOQUEAR QUANTIDADE ATÉ ESCOLHER OS OPCIONAIS
   ========================================================= */

.quantity.quantidade-bloqueada {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    position: relative !important;
}

.quantity.quantidade-bloqueada input.qty {
    cursor: not-allowed !important;
    background: #f5f5f5 !important;
}

/* =========================================================
   CARRINHO CLÁSSICO - LAYOUT EM CARDS
   Usar com shortcode: [woocommerce_cart]
   ========================================================= */

/* Área geral */
.woocommerce-cart .woocommerce {
    max-width: 1180px !important;
    margin: 0 auto !important;
}

/* Layout em duas colunas */
.woocommerce-cart form.woocommerce-cart-form {
    width: 58% !important;
    float: left !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 28px !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10) !important;
}

.woocommerce-cart .cart-collaterals {
    width: 36% !important;
    float: right !important;
}

/* Card do total */
.woocommerce-cart .cart_totals {
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 28px !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10) !important;
}

/* Títulos das colunas */
.woocommerce-cart table.shop_table th {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    text-transform: none !important;
    border-bottom: none !important;
}

/* Tabela */
.woocommerce-cart table.shop_table {
    border: none !important;
    margin-bottom: 20px !important;
}

.woocommerce-cart table.shop_table td {
    border-top: none !important;
    vertical-align: middle !important;
    padding: 14px 10px !important;
}

/* Linha do produto */
.woocommerce-cart table.cart tr.cart_item {
    border-bottom: 1px solid #dddddd !important;
}

/* Imagem do produto */
.woocommerce-cart table.cart img {
    width: 58px !important;
    height: 58px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
}

/* Nome do produto */
.woocommerce-cart table.cart .product-name a {
    color: #a6362f !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

/* Detalhes dos opcionais */
.woocommerce-cart dl.variation {
    margin-top: 6px !important;
    font-size: 14px !important;
    color: #000000 !important;
}

.woocommerce-cart dl.variation dt {
    font-weight: 600 !important;
    display: block !important;
    margin-top: 4px !important;
}

.woocommerce-cart dl.variation dd {
    margin: 0 0 4px 0 !important;
    display: block !important;
}

/* Preço e subtotal */
.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #000000 !important;
}

/* Quantidade */
.woocommerce-cart .quantity input.qty {
    width: 52px !important;
    height: 34px !important;
    border: 1px solid #d6d6d6 !important;
    border-radius: 4px !important;
    text-align: center !important;
}

/* Botão remover */
.woocommerce-cart a.remove {
    color: #000000 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.woocommerce-cart a.remove:hover {
    color: #c62828 !important;
    background: transparent !important;
}

/* Botão atualizar carrinho */
.woocommerce-cart button[name="update_cart"] {
    background: #ffffff !important;
    border: 2px solid #d0d0d0 !important;
    color: #999999 !important;
    font-weight: 700 !important;
    padding: 14px 26px !important;
    border-radius: 2px !important;
    text-transform: uppercase !important;
}

/* Cupom */
.woocommerce-cart .coupon {
    margin-top: 20px !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 28px !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10) !important;
}

.woocommerce-cart .coupon input.input-text {
    width: 60% !important;
    height: 46px !important;
    border: 1px solid #333333 !important;
    border-radius: 3px !important;
    padding: 0 12px !important;
}

.woocommerce-cart .coupon button {
    width: 34% !important;
    height: 46px !important;
    background: #ffffff !important;
    border: 2px solid #999999 !important;
    color: #999999 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* Total no carrinho */
.woocommerce-cart .cart_totals h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-bottom: 22px !important;
}

.woocommerce-cart .cart_totals table {
    border: none !important;
}

.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
    border: none !important;
    padding: 8px 0 !important;
    font-size: 15px !important;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* Botão avançar para pagamento */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: #111111 !important;
    color: #ffffff !important;
    border-radius: 3px !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    width: 100% !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #000000 !important;
}

/* Responsivo */
@media (max-width: 900px) {
    .woocommerce-cart form.woocommerce-cart-form,
    .woocommerce-cart .cart-collaterals {
        width: 100% !important;
        float: none !important;
        margin-bottom: 24px !important;
    }

    .woocommerce-cart .coupon input.input-text,
    .woocommerce-cart .coupon button {
        width: 100% !important;
        margin-bottom: 10px !important;
    }
}
/* =========================================================
   CARRINHO MOBILE - CENTRALIZADO NA TELA DO CELULAR
   ========================================================= */

@media (max-width: 768px) {

    /* Evita qualquer estouro lateral */
    html,
    body {
        overflow-x: hidden !important;
    }

    body.woocommerce-cart {
        background: #f7f7f7 !important;
    }

    /* Containers principais sem deslocamento lateral */
    body.woocommerce-cart .site-content,
    body.woocommerce-cart .content-area,
    body.woocommerce-cart .entry-content,
    body.woocommerce-cart main,
    body.woocommerce-cart .ast-container,
    body.woocommerce-cart .wc-block-cart,
    body.woocommerce-cart .wp-block-woocommerce-cart,
    body.woocommerce-cart .wc-block-cart__main,
    body.woocommerce-cart .wc-block-cart-items,
    body.woocommerce-cart .wc-block-cart__sidebar,
    body.woocommerce-cart .wc-block-components-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
    }

    /* Conteúdo interno com respiro igual dos dois lados */
    body.woocommerce-cart .entry-content,
    body.woocommerce-cart .wc-block-cart {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Título Carrinho */
    body.woocommerce-cart h1,
    body.woocommerce-cart .entry-title {
        font-size: 42px !important;
        line-height: 1.1 !important;
        text-align: center !important;
        color: #1f2f4a !important;
        margin: 0 0 24px 0 !important;
        padding: 0 !important;
    }

    /* Card do produto centralizado */
    body.woocommerce-cart .wc-block-cart-items__row {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto 26px auto !important;
        padding: 28px 18px !important;
        border-radius: 22px !important;
        background: #ffffff !important;
        box-shadow: 0 6px 26px rgba(0,0,0,0.11) !important;
        border: none !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        text-align: center !important;
        grid-template-columns: 1fr !important;
    }

    /* Remove a coluna invisível da imagem */
    body.woocommerce-cart .wc-block-cart-item__image,
    body.woocommerce-cart .wc-block-cart-item__image a,
    body.woocommerce-cart .wc-block-cart-item__image img {
        display: none !important;
        width: 0 !important;
        max-width: 0 !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Produto ocupa o centro do card */
    body.woocommerce-cart .wc-block-cart-item__product,
    body.woocommerce-cart .wc-block-cart-item__wrap {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    /* Nome do produto */
    body.woocommerce-cart .wc-block-components-product-name {
        display: block !important;
        font-size: 22px !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
        color: #9b3d38 !important;
        text-align: center !important;
        margin: 0 auto 12px auto !important;
    }

    /* Preço principal */
    body.woocommerce-cart .wc-block-components-product-price,
    body.woocommerce-cart .wc-block-cart-item__prices {
        display: block !important;
        font-size: 19px !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
        color: #000000 !important;
        text-align: center !important;
        margin: 0 auto 20px auto !important;
    }

    /* Caixa externa dos opcionais */
    body.woocommerce-cart .wc-block-components-product-metadata,
    body.woocommerce-cart .wc-block-components-product-details {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 18px auto 24px auto !important;
        padding: 18px 14px !important;
        background: #fafafa !important;
        border: 1px solid #eeeeee !important;
        border-radius: 16px !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
        line-height: 1.55 !important;
        color: #222222 !important;
        text-align: center !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    /* Cada quadrado interno dos opcionais */
    body.woocommerce-cart .wc-block-components-product-details li {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 12px auto !important;
        padding: 16px 12px !important;
        background: #ffffff !important;
        border: 1px solid #eeeeee !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
        text-align: center !important;
        list-style: none !important;
    }

    body.woocommerce-cart .wc-block-components-product-details li:last-child {
        margin-bottom: 0 !important;
    }

    /* Quantidade centralizada */
    body.woocommerce-cart .wc-block-cart-item__quantity {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 22px auto 0 auto !important;
        text-align: center !important;
    }

    body.woocommerce-cart .wc-block-cart-item__quantity::before {
        content: "Quantidade:" !important;
        display: block !important;
        width: 100% !important;
        font-size: 17px !important;
        font-weight: 700 !important;
        color: #1f2f4a !important;
        margin-bottom: 6px !important;
        text-align: center !important;
    }

    body.woocommerce-cart .wc-block-components-quantity-selector {
        width: 180px !important;
        max-width: 180px !important;
        height: 48px !important;
        border-radius: 10px !important;
        border: 1px solid #d5d5d5 !important;
        background: #ffffff !important;
        margin: 0 !important;
    }

    /* Lixeira centralizada ao lado da quantidade */
    body.woocommerce-cart .wc-block-cart-item__remove-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        color: #1f2f4a !important;
        font-size: 0 !important;
        text-decoration: none !important;
    }

    body.woocommerce-cart .wc-block-cart-item__remove-link::before {
        content: "🗑" !important;
        display: inline-block !important;
        font-size: 22px !important;
        line-height: 1 !important;
    }

    /* Subtotal do item centralizado */
    body.woocommerce-cart .wc-block-cart-item__total {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin: 24px auto 0 auto !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        color: #000000 !important;
        box-sizing: border-box !important;
    }

    /* Sidebar centralizada */
    body.woocommerce-cart .wc-block-cart__sidebar,
    body.woocommerce-cart .wc-block-components-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
    }

    /* Card do cupom */
    body.woocommerce-cart .wc-block-components-totals-coupon {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 24px auto !important;
        padding: 24px 18px !important;
        background: #ffffff !important;
        border-radius: 22px !important;
        box-shadow: 0 6px 26px rgba(0,0,0,0.11) !important;
        border: none !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .wc-block-components-panel__button {
        width: 100% !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        color: #1f2f4a !important;
        padding: 0 0 14px 0 !important;
        text-align: left !important;
    }

    /* Formulário do cupom */
    body.woocommerce-cart .wc-block-components-totals-coupon__form {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 10px !important;
    }

    body.woocommerce-cart .wc-block-components-totals-coupon__input,
    body.woocommerce-cart .wc-block-components-totals-coupon__button {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .wc-block-components-totals-coupon__input input {
        width: 100% !important;
        height: 52px !important;
        font-size: 16px !important;
        border: 1px solid #555555 !important;
        border-radius: 8px !important;
        padding: 0 14px !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .wc-block-components-totals-coupon__button {
        height: 52px !important;
        margin-top: 12px !important;
        border-radius: 8px !important;
        border: 2px solid #999999 !important;
        background: #ffffff !important;
        color: #999999 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
    }

    /* Card do total */
    body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 24px auto !important;
        padding: 24px 18px !important;
        background: #ffffff !important;
        border-radius: 22px !important;
        box-shadow: 0 6px 26px rgba(0,0,0,0.11) !important;
        border: none !important;
        box-sizing: border-box !important;
    }

    /* Total estimado */
    body.woocommerce-cart .wc-block-components-totals-footer-item {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #000000 !important;
        padding: 0 !important;
    }

    /* Botão finalizar centralizado */
    body.woocommerce-cart .wc-block-cart__submit,
    body.woocommerce-cart .wc-block-cart__submit-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 22px auto 0 auto !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .wc-block-cart__submit-button {
        width: 100% !important;
        max-width: 100% !important;
        height: 58px !important;
        border-radius: 8px !important;
        background: #111111 !important;
        color: #ffffff !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        box-sizing: border-box !important;
    }
}
/* =========================================================
   CARRINHO MOBILE - OPCIONAIS NO MESMO QUADRADO
   ========================================================= */

@media (max-width: 768px) {

    /* Caixa única dos opcionais */
    body.woocommerce-cart .wc-block-components-product-metadata,
    body.woocommerce-cart .wc-block-components-product-details {
        padding: 20px 16px !important;
        background: #fafafa !important;
        border: 1px solid #eeeeee !important;
        border-radius: 16px !important;
        box-shadow: none !important;
    }

    /* Remove os quadrados separados de cada opção */
    body.woocommerce-cart .wc-block-components-product-details li {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 0 12px 0 !important;
        margin: 0 0 12px 0 !important;
        box-shadow: none !important;
        border-bottom: 1px solid #eeeeee !important;
    }

    /* Último item sem linha */
    body.woocommerce-cart .wc-block-components-product-details li:last-child {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        border-bottom: none !important;
    }
}
/* =========================================================
   CARRINHO MOBILE - REMOVER QUADRADOS INTERNOS DOS OPCIONAIS
   Deixar todas as opções dentro de uma única caixa
   ========================================================= */

@media (max-width: 768px) {

    /* Caixa única geral dos opcionais */
    body.woocommerce-cart .wc-block-components-product-metadata,
    body.woocommerce-cart .wc-block-components-product-details {
        background: #fafafa !important;
        border: 1px solid #eeeeee !important;
        border-radius: 16px !important;
        padding: 18px 16px !important;
        margin: 18px auto 24px auto !important;
        box-shadow: none !important;
    }

    /* Remove os cards/quadrados internos */
    body.woocommerce-cart .wc-block-components-product-details li,
    body.woocommerce-cart .wc-block-components-product-details > div,
    body.woocommerce-cart .wc-block-components-product-metadata li,
    body.woocommerce-cart .wc-block-components-product-metadata > div,
    body.woocommerce-cart .detalhe-carrinho-linha {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 0 12px 0 !important;
        margin: 0 0 12px 0 !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Linha separadora suave entre as opções */
    body.woocommerce-cart .wc-block-components-product-details li:not(:last-child),
    body.woocommerce-cart .wc-block-components-product-details > div:not(:last-child),
    body.woocommerce-cart .wc-block-components-product-metadata li:not(:last-child),
    body.woocommerce-cart .wc-block-components-product-metadata > div:not(:last-child),
    body.woocommerce-cart .detalhe-carrinho-linha:not(:last-child) {
        border-bottom: 1px solid #eeeeee !important;
    }

    /* Última opção sem margem extra */
    body.woocommerce-cart .wc-block-components-product-details li:last-child,
    body.woocommerce-cart .wc-block-components-product-details > div:last-child,
    body.woocommerce-cart .wc-block-components-product-metadata li:last-child,
    body.woocommerce-cart .wc-block-components-product-metadata > div:last-child,
    body.woocommerce-cart .detalhe-carrinho-linha:last-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
    }
}
/* =========================================================
   CARRINHO MOBILE - NÃO EXIBIR CARD VAZIO
   Mantém frete, impostos e totais funcionando
   ========================================================= */

@media (max-width: 768px) {

    /* Remove o visual de card dos wrappers genéricos */
    body.woocommerce-cart
    .wc-block-components-sidebar
    .wc-block-components-totals-wrapper {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 0 18px 0 !important;
        min-height: 0 !important;
    }

    /* Esconde somente wrappers realmente vazios */
    body.woocommerce-cart
    .wc-block-components-sidebar
    .wc-block-components-totals-wrapper:empty {
        display: none !important;
    }

    /* Total estimado continua destacado */
    body.woocommerce-cart
    .wc-block-components-totals-footer-item {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 24px 18px !important;
        margin: 0 auto 24px auto !important;
        background: #ffffff !important;
        border-radius: 22px !important;
        box-shadow: 0 6px 26px rgba(0, 0, 0, 0.11) !important;
        box-sizing: border-box !important;
    }

    /* Frete, impostos e outras linhas continuam visíveis */
    body.woocommerce-cart
    .wc-block-components-totals-shipping,
    body.woocommerce-cart
    .wc-block-components-totals-item,
    body.woocommerce-cart
    .wc-block-components-totals-discount,
    body.woocommerce-cart
    .wc-block-components-totals-fees {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}
/* =========================================================
   DESCRIÇÃO DO PRODUTO - REDUZIR ESPAÇO SUPERIOR
   Aproxima a descrição da área principal do produto
   ========================================================= */

.single-product .woocommerce-tabs.wc-tabs-wrapper,
.single-product div.product .woocommerce-tabs {
    margin-top: 20px !important;
    padding-top: 0 !important;
}

.single-product .woocommerce-Tabs-panel--description,
.single-product #tab-description {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ajuste para celular */
@media (max-width: 768px) {
    .single-product .woocommerce-tabs.wc-tabs-wrapper,
    .single-product div.product .woocommerce-tabs {
        margin-top: 16px !important;
    }
}

/* ==========================================================================
   REVESTIMENTO VERSO — AJUSTE FINAL V6
   Remove a tarja branca interna, mantém a imagem quadrada e o nome abaixo.
   Este bloco deve permanecer no FINAL do CSS.
   ========================================================================== */

/* GRADE — COMPUTADOR */
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) {
    display: grid !important;
    grid-template-columns: repeat(3, 185px) !important;
    gap: 14px !important;
    align-items: start !important;
    justify-content: start !important;

    width: max-content !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

/* CARD EXTERNO DA TEXTURA */
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-term,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-image-term,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > [class*="image-variable-term-"] {
    position: relative !important;

    display: block !important;

    width: 185px !important;
    min-width: 185px !important;
    max-width: 185px !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;

    /* Reserva espaço somente para o nome abaixo da imagem */
    padding: 8px 8px 54px 8px !important;

    background: #ffffff !important;
    border: 1px solid #c7c7c7 !important;
    border-radius: 0 !important;

    overflow: hidden !important;

    text-align: center !important;
    vertical-align: top !important;

    box-sizing: border-box !important;
}

/* A classe da lupa fica somente no contêiner interno da imagem */
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) .rv-item-com-lupa {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    aspect-ratio: 1 / 1 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;

    overflow: hidden !important;

    box-sizing: border-box !important;
}

/* Remove definitivamente a tarja branca criada no contêiner interno */
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa)
.rv-item-com-lupa:not(.rtwpvs-term)::after,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa)
.rv-item-com-lupa:not(.rtwpvs-image-term)::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ÁREA INTERNA DO PLUGIN */
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa)
> .rtwpvs-term .rtwpvs-term-span,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa)
> .rtwpvs-image-term .rtwpvs-term-span,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa)
> [class*="image-variable-term-"] .rtwpvs-term-span {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    aspect-ratio: 1 / 1 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;

    overflow: hidden !important;

    box-sizing: border-box !important;
}

/* IMAGEM QUADRADA */
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa)
> .rtwpvs-term img,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa)
> .rtwpvs-image-term img,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa)
> [class*="image-variable-term-"] img {
    display: block !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    aspect-ratio: 1 / 1 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;

    border-radius: 0 !important;
    background: #ffffff !important;

    box-sizing: border-box !important;
}

/* NOME ABAIXO DA IMAGEM — SOMENTE NO CARD EXTERNO */
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-term::after,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-image-term::after,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > [class*="image-variable-term-"]::after {
    content: attr(title) !important;

    position: absolute !important;

    top: auto !important;
    right: 6px !important;
    bottom: 6px !important;
    left: 6px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;

    margin: 0 !important;
    padding: 0 3px !important;

    background: #ffffff !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: #444444 !important;

    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;

    text-align: center !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    z-index: 30 !important;
    pointer-events: none !important;

    box-sizing: border-box !important;
}

/* ITEM SELECIONADO */
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-term.selected,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-term.rtwpvs-selected-term,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-image-term.selected,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-image-term.rtwpvs-selected-term {
    border-color: #000000 !important;
    border-width: 2px !important;
}

.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-term.selected::after,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-term.rtwpvs-selected-term::after,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-image-term.selected::after,
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-image-term.rtwpvs-selected-term::after {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* LUPA */
.rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) .rv-lupa {
    top: 10px !important;
    right: 10px !important;

    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;

    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
}

/* REMOVE TOOLTIP ESCURO DOS BOTÕES DE PÁGINAS */
.rtwpvs-terms-wrapper:not(.image-variable-wrapper) .rtwpvs-term::before,
.rtwpvs-terms-wrapper:not(.image-variable-wrapper) .rtwpvs-term::after,
.rtwpvs-terms-wrapper:not(.image-variable-wrapper) .rtwpvs-button-term::before,
.rtwpvs-terms-wrapper:not(.image-variable-wrapper) .rtwpvs-button-term::after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ==========================================================================
   CELULAR — 2 POR LINHA, IMAGEM QUADRADA E NOME ABAIXO
   ========================================================================== */

@media (max-width: 700px) {

    .rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;

        width: 100% !important;
        max-width: 100% !important;
    }

    .rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-term,
    .rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-image-term,
    .rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > [class*="image-variable-term-"] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        padding: 8px 8px 56px 8px !important;

        overflow: hidden !important;
    }

    .rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) .rv-item-com-lupa,
    .rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa)
    > .rtwpvs-term .rtwpvs-term-span,
    .rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa)
    > .rtwpvs-image-term .rtwpvs-term-span {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        aspect-ratio: 1 / 1 !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        margin: 0 !important;
    }

    .rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa)
    > .rtwpvs-term img,
    .rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa)
    > .rtwpvs-image-term img {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        aspect-ratio: 1 / 1 !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        object-fit: cover !important;
    }

    .rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-term::after,
    .rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > .rtwpvs-image-term::after,
    .rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) > [class*="image-variable-term-"]::after {
        right: 6px !important;
        bottom: 6px !important;
        left: 6px !important;

        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;

        font-size: 13px !important;
        line-height: 1.15 !important;

        background: #ffffff !important;
    }

    .rtwpvs-terms-wrapper.image-variable-wrapper:has(.rv-item-com-lupa) .rv-lupa {
        top: 10px !important;
        right: 10px !important;

        width: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;

        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
    }
}
/* =========================================================
   COR DA MADEIRA — IMAGENS GRANDES
   Tamanho semelhante ao atributo Revestimento Verso
   ========================================================= */

/* Container das opções */
.rtwpvs-terms-wrapper.image-variable-wrapper[
    data-attribute_name="attribute_pa_escolha-a-cor-da-madeira"
] {
    max-width: 520px !important;
    gap: 10px !important;
}

/* Quadrado externo de cada opção */
.rtwpvs-terms-wrapper.image-variable-wrapper[
    data-attribute_name="attribute_pa_escolha-a-cor-da-madeira"
] .rtwpvs-term {
    width: 150px !important;
    height: 180px !important;

    min-width: 150px !important;
    min-height: 180px !important;

    max-width: 150px !important;
    max-height: 180px !important;

    padding: 5px 5px 30px 5px !important;
}

/* Área interna da imagem */
.rtwpvs-terms-wrapper.image-variable-wrapper[
    data-attribute_name="attribute_pa_escolha-a-cor-da-madeira"
] .rtwpvs-term-span {
    width: 100% !important;
    height: 140px !important;

    min-width: 100% !important;
    min-height: 140px !important;

    max-width: 100% !important;
    max-height: 140px !important;
}

/* Imagem da opção */
.rtwpvs-terms-wrapper.image-variable-wrapper[
    data-attribute_name="attribute_pa_escolha-a-cor-da-madeira"
] .rtwpvs-term img {
    width: 140px !important;
    height: 140px !important;

    min-width: 140px !important;
    min-height: 140px !important;

    max-width: 140px !important;
    max-height: 140px !important;

    object-fit: contain !important;
}

/* Nome da cor abaixo da imagem */
.rtwpvs-terms-wrapper.image-variable-wrapper[
    data-attribute_name="attribute_pa_escolha-a-cor-da-madeira"
] .rtwpvs-term::after {
    bottom: 8px !important;
    font-size: 12px !important;
}
.wapf-field-description {
    margin-top: -8px !important;
    margin-bottom: 12px !important;
}
/* ==========================================================
   Correção do flash dos atributos do WooCommerce
   ========================================================== */

form.variations_form .variations {
    opacity: 0;
    visibility: hidden;
}

body.variations-loaded form.variations_form .variations {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease;
}
/* ==========================================================
   TOTAL SEMPRE VISÍVEL — ADVANCED PRODUCT FIELDS
   ========================================================== */

.single-product .wapf-product-totals {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* Título movido acima da imagem no celular */

/* ==========================================================
   MOBILE — CENTRALIZAR TÍTULO ACIMA DA IMAGEM
   ========================================================== */

@media (max-width: 768px) {
    .single-product .titulo-movido-mobile {
        width: calc(100% - 32px) !important;
        margin: 18px auto 16px !important;
        padding: 0 !important;
        text-align: center !important;
        font-size: 28px !important;
        line-height: 1.2 !important;
        color: #1f2f4a !important;
        box-sizing: border-box !important;
    }
}
.footer-links a {
    text-decoration: none !important;
}

.footer-links a:hover {
    text-decoration: none !important;
}
@media (min-width: 768px) and (max-width: 1024px) {
    .footer-links a {
        text-decoration: none !important;
    }

    .footer-links a:hover {
        text-decoration: none !important;
    }
}
/* ========================================
   CONTADOR DO CARRINHO
   DESKTOP + TABLET + CELULAR
======================================== */

/* Bolinha do contador */
.ast-site-header-cart .ast-addon-cart-wrap i.astra-icon:after {
    background: #e60000 !important;
    color: #ffffff !important;

    border: 2px solid #ffffff !important;
    border-radius: 50% !important;

    min-width: 18px !important;
    width: 18px !important;
    height: 18px !important;
    line-height: 15px !important;
    padding: 0 !important;

    font-size: 11px !important;
    font-weight: 700 !important;
    text-align: center !important;

    box-sizing: border-box !important;
    z-index: 50 !important;
}


/* ========================================
   TABLET + CELULAR
======================================== */
@media (max-width: 921px) {

    /* Mantém o carrinho afastado da borda */
    #ast-site-header-cart {
        margin-right: 16px !important;
    }

    /* Move a bolinha para o lado DIREITO do carrinho */
    .ast-site-header-cart .ast-addon-cart-wrap i.astra-icon:after {
        transform: translateX(28px) !important;
    }
}
/* ========================================
   BOTÕES DOS PRODUTOS - COR PRETA
======================================== */

/* Botões dos produtos na loja */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* Ao passar o mouse */
.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
    border-color: #333333 !important;
}
/* ==================================================
   CONTADOR DO CARRINHO — SOMENTE TABLET
   Aproxima o número vermelho do ícone
   ================================================== */

@media (min-width: 768px) and (max-width: 1024px) {

    .ast-site-header-cart .ast-addon-cart-wrap i.astra-icon:after,
    .ast-site-header-cart .ast-cart-menu-wrap .count,
    .ast-header-woo-cart .count {
        transform: translateX(2px) !important;
    }

}
/* ==========================================================
   BOTÃO ADICIONAR AO CARRINHO - PRETO
   ========================================================== */

.single_add_to_cart_button {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.single_add_to_cart_button:hover,
.single_add_to_cart_button:focus {
    background: #222 !important;
    border-color: #222 !important;
    color: #fff !important;
}
/* ==========================================================
   BOTÃO "VER CARRINHO" - PRETO
   ========================================================== */

.woocommerce-message .button,
.woocommerce-message a.button {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.woocommerce-message .button:hover,
.woocommerce-message a.button:hover,
.woocommerce-message .button:focus,
.woocommerce-message a.button:focus {
    background: #222 !important;
    border-color: #222 !important;
    color: #fff !important;
}
/* ==========================================================
   MENSAGEM PRODUTO ADICIONADO AO CARRINHO - CLEAN
   ========================================================== */

.woocommerce-message {
    background: #fafafa !important;
    border: 1px solid #e5e5e5 !important;
    border-top: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

/* Ícone de confirmação */
.woocommerce-message::before {
    color: #000 !important;
}

/* BOTÃO "VER CARRINHO" - PRETO */
.woocommerce-message .button,
.woocommerce-message a.button {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.woocommerce-message .button:hover,
.woocommerce-message a.button:hover,
.woocommerce-message .button:focus,
.woocommerce-message a.button:focus {
    background: #222 !important;
    border-color: #222 !important;
    color: #fff !important;
}
/* ==========================================================
   OCULTA CATEGORIA E LINHA ABAIXO DAS FORMAS DE PAGAMENTO
   ========================================================== */

.single-product .product_meta {
    display: none !important;
    border: none !important;
}

/* Remove eventual linha aplicada pelo formulário */
.single-product form.cart {
    border-bottom: none !important;
}
/* ==========================================================
   OCULTA CAMINHO E CATEGORIA ACIMA DO TÍTULO DO PRODUTO
   ========================================================== */

/* Breadcrumb */
.single-product .woocommerce-breadcrumb,
.single-product nav.woocommerce-breadcrumb {
    display: none !important;
}

/* Categoria exibida acima do título */
.single-product .ast-woo-product-category,
.single-product .product-category,
.single-product .posted_in {
    display: none !important;
}


/* =========================================
   SOCIAL CHAT - SOMENTE ÍCONE DO WHATSAPP
   ========================================= */

.qlwapp-toggle .qlwapp-text {
    display: none !important;
}

.qlwapp-toggle {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}