/* 
Theme Name: Hello Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Tema Filho baseado no Elementor Hello
Author: Fika Mais
Author URI: https://fikamais.com.br/
Template: hello-elementor
Version: 1.0
Text Domain: hello-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html

*/

/*
    Add your custom styles here
*/

/* =================================================================
   1. ESTILOS DE CHECKOUT & TABELAS (Portado de Simple Custom CSS and JS)
   ================================================================= */
.has-flyout [data-flyout][data-flyout-modal].is-activated .fc-login-form__inner[data-flyout-content] {
    padding-bottom: 50px;
    background-color: var(--fluidcheckout--color--white, #fff);
    border-radius: 20px;
}
body.woocommerce-checkout .fc-content.fc-container {
    padding: 50px 30px 80px;
}
body.woocommerce-checkout .fc-content,
body.woocommerce-checkout .fc-content * {
    box-sizing: border-box !important;
    border-radius: 0px;
}
.woocommerce #shipping-calc #wscp-postcode.text {
    width: 60%;
    height: 40px;
    margin-right: 5px;
    padding: .6180469716em;
    background-color: #f2f2f2;
    color: #43454b;
    display: inline-block;
    outline: 0;
    border: 0;
    float: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    font-weight: 400;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.125);
    border-radius: 10px;
    vertical-align: middle;
}
.woocommerce #shipping-calc #wscp-response table td, 
.woocommerce #shipping-calc #wscp-response table th {
    font-size: 13px;
    color: #5f3226;
    text-align: left;
    display: table-cell;
    padding: 1em 1.41575em;
}
.woocommerce table.shop_table_responsive tr td::before, 
.woocommerce-page table.shop_table_responsive tr td::before {
    content: attr(data-title)": ";
    font-weight: 700;
    float: left;
    display: none;
}
table td, table th {
    padding: 15px;
    line-height: 1.5;
    vertical-align: top;
    border: 0px solid hsla(0, 0%, 50.2%, .5019607843137255);
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt:hover {
    color: #fff;
}

/* =================================================================
   2. BARRA DE ROLAGEM CUSTOMIZADA (Portado)
   ================================================================= */
body::-webkit-scrollbar {
    width: 15px;
}
body::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 5px;
}
body::-webkit-scrollbar-thumb {
    background-color: gray;
    border-radius: 5px;
    border: 1px solid #f1f1f1;
}
body::-webkit-scrollbar-thumb:hover {
    background-color: #F2A38E;
}

/* =================================================================
   3. ESTILO DE PRODUTOS & HOVER LUXUOSO (Portado)
   ================================================================= */
ul.products li.product {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 0;
    text-align: center;
    overflow: hidden;
    transition: box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: none;
}
ul.products li.product:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}
ul.products li.product .woocommerce-Loop-product-link {
    display: block;
    position: relative;
    overflow: hidden;
}
ul.products li.product .attachment-woocommerce_thumbnail {
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
ul.products li.product:hover .attachment-woocommerce_thumbnail {
    transform: scale(1.05);
}
.product-info-wrapper {
    padding: 30px !important;
}
ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}
ul.products li.product .price {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}
ul.products li.product .price del {
    font-weight: 400;
    opacity: 0.5;
}
ul.products li.product a {
    text-decoration: none !important;
    box-shadow: none;
}
ul.products li.product .price ins {
    text-decoration: none !important;
    background-color: transparent !important;
}
/* Layout da Caixa de Compra (Lado a Lado) */
.fika-main-buy-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 15px auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Seletor de Quantidade Horizontal Premium (CRO) */

/* 1. Reset Agressivo e Completo de WooCommerce / Elementor dentro de .fika-qty-row */
html body .fika-qty-row,
html body .fika-qty-row *,
html body.woocommerce .fika-qty-row,
html body.woocommerce .fika-qty-row *,
html body.woocommerce-page .fika-qty-row,
html body.woocommerce-page .fika-qty-row *,
html body .elementor-element .fika-qty-row,
html body .elementor-element .fika-qty-row * {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    float: none !important;
    outline: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    background: transparent !important;
    gap: 0 !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
}

/* 2. Estilo do Container Principal (Pílula/Capsule) */
html body .fika-qty-row,
html body.woocommerce .fika-qty-row,
html body.woocommerce-page .fika-qty-row,
html body .elementor-element .fika-qty-row {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    border: 1.5px solid #ebdcd9 !important; /* Premium boutique border */
    border-radius: 8px !important; /* Canto arredondado do container */
    height: 48px !important;
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
    flex: 0 0 132px !important;
    gap: 0 !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
}

/* 3. Estilo dos Botões (- e +) */
html body .fika-qty-row button.quantity-btn,
html body.woocommerce .fika-qty-row button.quantity-btn,
html body.woocommerce-page .fika-qty-row button.quantity-btn,
html body .elementor-element .fika-qty-row button.quantity-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 100% !important;
    flex: 0 0 42px !important;
    background-color: #fdfaf7 !important;
    color: #5f3226 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    line-height: 1 !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

html body .fika-qty-row button.quantity-btn:hover {
    background-color: #ebdcd9 !important;
    color: #4a2318 !important;
}

/* Divisores internos usando bordas nos botões - ZERADOS, usaremos no container central */
html body .fika-qty-row button.minus,
html body.woocommerce .fika-qty-row button.minus,
html body.woocommerce-page .fika-qty-row button.minus,
html body .elementor-element .fika-qty-row button.minus {
    border: none !important;
}

html body .fika-qty-row button.plus,
html body.woocommerce .fika-qty-row button.plus,
html body.woocommerce-page .fika-qty-row button.plus,
html body .elementor-element .fika-qty-row button.plus {
    border: none !important;
}

/* 4. Estilo do Wrapper da Quantidade (div.quantity) - BORDAS DIVISORAS ADICIONADAS AQUI */
html body .fika-qty-row div.quantity,
html body.woocommerce .fika-qty-row div.quantity,
html body.woocommerce-page .fika-qty-row div.quantity,
html body .elementor-element .fika-qty-row div.quantity,
html body .fika-qty-row .quantity,
html body.woocommerce .fika-qty-row .quantity,
html body.woocommerce-page .fika-qty-row .quantity,
html body .elementor-element .fika-qty-row .quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 48px !important;
    flex: 0 0 48px !important;
    background-color: #ffffff !important;
    border-left: 1.5px solid #ebdcd9 !important;
    border-right: 1.5px solid #ebdcd9 !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* 5. Estilo do Campo Input.qty */
html body .fika-qty-row input.qty,
html body .fika-qty-row input[type="number"].qty,
html body.woocommerce .fika-qty-row input.qty,
html body.woocommerce .fika-qty-row input[type="number"].qty,
html body.woocommerce-page .fika-qty-row input.qty,
html body.woocommerce-page .fika-qty-row input[type="number"].qty,
html body .elementor-element .fika-qty-row input.qty,
html body .elementor-element .fika-qty-row input[type="number"].qty {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #ffffff !important;
    color: #5f3226 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border: none !important;
    border-radius: 0 !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

/* Ocultar setas do input number */
html body .fika-qty-row input.qty::-webkit-outer-spin-button,
html body .fika-qty-row input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Layout da Caixa de Compra (Páginas de Produto e Loops) */
html body .fika-main-buy-box {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 20px 0 !important;
    width: 100% !important;
    max-width: 450px !important;
    box-sizing: border-box !important;
    padding: 0 !important; /* Remove preenchimento lateral para alinhar rigorosamente à esquerda */
    justify-content: flex-start !important; /* Alinha os botões à esquerda no grid de detalhes */
}

/* Ajustes Específicos para Loops (Cards na Home e Loja) - Alinhamento Lado a Lado */
html body:not(.single-product) .fika-main-buy-box,
html body:not(.single-product) .product .fika-main-buy-box,
html body:not(.single-product) .jet-woo-products__item .fika-main-buy-box,
.products .fika-main-buy-box,
.jet-woo-products .fika-main-buy-box,
.jet-woo-products__item .fika-main-buy-box,
.jet-listing-grid .fika-main-buy-box,
.related.products .fika-main-buy-box,
.up-sells.products .fika-main-buy-box,
.cross-sells.products .fika-main-buy-box,
.elementor-widget-woocommerce-products .fika-main-buy-box {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 15px auto !important;
    padding: 0 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
html body:not(.single-product) .fika-main-buy-box .fika-qty-row,
html body:not(.single-product) .product .fika-main-buy-box .fika-qty-row,
html body:not(.single-product) .jet-woo-products__item .fika-main-buy-box .fika-qty-row,
.products .fika-main-buy-box .fika-qty-row,
.jet-woo-products .fika-main-buy-box .fika-qty-row,
.jet-woo-products__item .fika-main-buy-box .fika-qty-row,
.jet-listing-grid .fika-main-buy-box .fika-qty-row,
.related.products .fika-main-buy-box .fika-qty-row,
.up-sells.products .fika-main-buy-box .fika-qty-row,
.cross-sells.products .fika-main-buy-box .fika-qty-row,
.elementor-widget-woocommerce-products .fika-main-buy-box .fika-qty-row {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    height: 38px !important;
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
    flex: 0 0 90px !important;
    border: 1.5px solid #ebdcd9 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
}
html body:not(.single-product) .fika-main-buy-box .fika-qty-row button.quantity-btn,
html body:not(.single-product) .product .fika-main-buy-box .fika-qty-row button.quantity-btn,
html body:not(.single-product) .jet-woo-products__item .fika-main-buy-box .fika-qty-row button.quantity-btn,
.products .fika-main-buy-box .fika-qty-row button.quantity-btn,
.jet-woo-products .fika-main-buy-box .fika-qty-row button.quantity-btn,
.jet-woo-products__item .fika-main-buy-box .fika-qty-row button.quantity-btn,
.jet-listing-grid .fika-main-buy-box .fika-qty-row button.quantity-btn,
.related.products .fika-main-buy-box .fika-qty-row button.quantity-btn,
.up-sells.products .fika-main-buy-box .fika-qty-row button.quantity-btn,
.cross-sells.products .fika-main-buy-box .fika-qty-row button.quantity-btn,
.elementor-widget-woocommerce-products .fika-main-buy-box .fika-qty-row button.quantity-btn {
    width: 26px !important;
    flex: 0 0 26px !important;
    height: 100% !important;
    background-color: #fdfaf7 !important;
    color: #5f3226 !important;
    font-size: 14px !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
}
html body:not(.single-product) .fika-main-buy-box .fika-qty-row .quantity,
html body:not(.single-product) .product .fika-main-buy-box .fika-qty-row .quantity,
html body:not(.single-product) .jet-woo-products__item .fika-main-buy-box .fika-qty-row .quantity,
.products .fika-main-buy-box .fika-qty-row .quantity,
.jet-woo-products .fika-main-buy-box .fika-qty-row .quantity,
.jet-woo-products__item .fika-main-buy-box .fika-qty-row .quantity,
.jet-listing-grid .fika-main-buy-box .fika-qty-row .quantity,
.related.products .fika-main-buy-box .fika-qty-row .quantity,
.up-sells.products .fika-main-buy-box .fika-qty-row .quantity,
.cross-sells.products .fika-main-buy-box .fika-qty-row .quantity,
.elementor-widget-woocommerce-products .fika-main-buy-box .fika-qty-row .quantity {
    width: 34px !important;
    flex: 0 0 34px !important;
    height: 100% !important;
    border-left: 1.5px solid #ebdcd9 !important;
    border-right: 1.5px solid #ebdcd9 !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
}
html body:not(.single-product) .fika-main-buy-box .fika-qty-row input.qty,
html body:not(.single-product) .product .fika-main-buy-box .fika-qty-row input.qty,
html body:not(.single-product) .jet-woo-products__item .fika-main-buy-box .fika-qty-row input.qty,
.products .fika-main-buy-box .fika-qty-row input.qty,
.jet-woo-products .fika-main-buy-box .fika-qty-row input.qty,
.jet-woo-products__item .fika-main-buy-box .fika-qty-row input.qty,
.jet-listing-grid .fika-main-buy-box .fika-qty-row input.qty,
.related.products .fika-main-buy-box .fika-qty-row input.qty,
.up-sells.products .fika-main-buy-box .fika-qty-row input.qty,
.cross-sells.products .fika-main-buy-box .fika-qty-row input.qty,
.elementor-widget-woocommerce-products .fika-main-buy-box .fika-qty-row input.qty {
    width: 100% !important;
    height: 100% !important;
    text-align: center !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #5f3226 !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #ffffff !important;
}
html body:not(.single-product) .fika-main-buy-box .add_to_cart_button,
html body:not(.single-product) .product .fika-main-buy-box .add_to_cart_button,
html body:not(.single-product) .jet-woo-products__item .fika-main-buy-box .add_to_cart_button,
.products .fika-main-buy-box .add_to_cart_button,
.jet-woo-products .fika-main-buy-box .add_to_cart_button,
.jet-woo-products__item .fika-main-buy-box .add_to_cart_button,
.jet-listing-grid .fika-main-buy-box .add_to_cart_button,
.related.products .fika-main-buy-box .add_to_cart_button,
.up-sells.products .fika-main-buy-box .add_to_cart_button,
.cross-sells.products .fika-main-buy-box .add_to_cart_button,
.elementor-widget-woocommerce-products .fika-main-buy-box .add_to_cart_button {
    flex-grow: 1 !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    /* Direção Premium v1: CTA outline oliva — o produto é o herói */
    background-color: transparent !important;
    color: #5F3226 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    border: 1.5px solid #5F3226 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-shadow: none !important;
    text-transform: none !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    letter-spacing: 0.4px !important;
}
html body:not(.single-product) .fika-main-buy-box .add_to_cart_button:hover,
html body:not(.single-product) .product .fika-main-buy-box .add_to_cart_button:hover,
html body:not(.single-product) .jet-woo-products__item .fika-main-buy-box .add_to_cart_button:hover,
.products .fika-main-buy-box .add_to_cart_button:hover,
.jet-woo-products .fika-main-buy-box .add_to_cart_button:hover,
.jet-woo-products__item .fika-main-buy-box .add_to_cart_button:hover,
.jet-listing-grid .fika-main-buy-box .add_to_cart_button:hover,
.related.products .fika-main-buy-box .add_to_cart_button:hover,
.up-sells.products .fika-main-buy-box .add_to_cart_button:hover,
.cross-sells.products .fika-main-buy-box .add_to_cart_button:hover,
.elementor-widget-woocommerce-products .fika-main-buy-box .add_to_cart_button:hover {
    background-color: #5F3226 !important;
    color: #F3EFE4 !important;
}

/* Botão de Compra da Página do Produto (Single) */
.single-product .fika-main-buy-box button.single_add_to_cart_button,
.single-product .fika-main-buy-box .single_add_to_cart_button {
    box-sizing: border-box !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    flex-grow: 1 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    background-color: #5F3226 !important; /* Direção Premium v1: oliva */
    color: #ffffff !important;
    transition: background-color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    outline: none !important;
    box-shadow: none !important;
}
.single-product .fika-main-buy-box button.single_add_to_cart_button:hover,
.single-product .fika-main-buy-box .single_add_to_cart_button:hover {
    background-color: #4A2318 !important;
}

/* =================================================================
   Barra Fixa de Compra Mobile (Sticky Botão Compra)
   ================================================================= */
#botao-compra form.cart, 
#botao-compra .fika-main-buy-box,
.botao-compra form.cart, 
.botao-compra .fika-main-buy-box {
    display: flex !important; 
    flex-direction: row !important; 
    flex-wrap: nowrap !important;
    justify-content: space-between !important; 
    align-items: center !important; 
    width: 100% !important;
    margin: 0 !important; 
    padding: 10px 15px !important; 
    gap: 10px !important; 
    background-color: #ffffff !important;
}

#botao-compra .fika-qty-row,
.botao-compra .fika-qty-row { 
    display: flex !important; 
    flex: 0 0 auto !important; 
    width: auto !important; 
    margin: 0 !important; 
}

#botao-compra .fika-main-buy-box .button, 
#botao-compra .single_add_to_cart_button,
#botao-compra .add_to_cart_button,
.botao-compra .fika-main-buy-box .button, 
.botao-compra .single_add_to_cart_button,
.botao-compra .add_to_cart_button {
    flex: 1 1 auto !important; 
    width: 100% !important; 
    margin: 0 !important; 
    height: 48px !important;
    padding: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
    font-size: 13px !important; 
    white-space: nowrap !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    line-height: 1 !important;
}

#botao-compra .product-info-wrapper,
.botao-compra .product-info-wrapper { 
    padding-bottom: 0 !important; 
}


/* Botão de Compra Fixo */
ul.products li.product .add_to_cart_button {
    background: #1a1a1a;
    color: #ffffff;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: none;
    font-size: 13px;
    height: 42px;
    padding: 0 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

ul.products li.product .add_to_cart_button:hover {
    background: transparent;
    color: #1a1a1a;
    border-color: #1a1a1a;
}

ul.products li.product .onsale,
.onsale {
    background: #e2725b !important; /* Premium terracotta/coral */
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    padding: 5px 12px !important;
    top: 15px;
    left: 15px;
    right: auto;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(226, 114, 91, 0.2) !important;
}

@media (max-width: 1024px) {
    /* Ocultar cards de confiança no container fixo de compra (mobile e tablet) */
    #botao-compra .fika-product-trust-block,
    .botao-compra .fika-product-trust-block {
        display: none !important;
    }
    
    /* PDP: WhatsApp acima da bottom nav, direita */
    .single-product .fika-wa-wrapper {
        bottom: 74px !important;
        transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    body.fika-sticky-active .single-product .fika-wa-wrapper {
        bottom: 154px !important;
    }
}

@media (max-width: 768px) {
    html body .product-info-wrapper {
        padding: 20px 15px 0 15px !important;
    }
    ul.products li.product .woocommerce-loop-product__title {
        font-size: 14px !important;
    }
}

/* Ajustes extras para tablet e mobile no card (Layout Vertical / Stacked) */
@media (max-width: 991px) {
    html body:not(.single-product) .fika-main-buy-box,
    html body:not(.single-product) .product .fika-main-buy-box,
    html body:not(.single-product) .jet-woo-products__item .fika-main-buy-box,
    .products .fika-main-buy-box,
    .jet-woo-products .fika-main-buy-box,
    .jet-woo-products__item .fika-main-buy-box,
    .jet-listing-grid .fika-main-buy-box,
    .related.products .fika-main-buy-box,
    .up-sells.products .fika-main-buy-box,
    .cross-sells.products .fika-main-buy-box,
    .elementor-widget-woocommerce-products .fika-main-buy-box {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 0 12px !important;
    }
    html body:not(.single-product) .fika-main-buy-box .fika-qty-row,
    html body:not(.single-product) .product .fika-main-buy-box .fika-qty-row,
    html body:not(.single-product) .jet-woo-products__item .fika-main-buy-box .fika-qty-row,
    .products .fika-main-buy-box .fika-qty-row,
    .jet-woo-products .fika-main-buy-box .fika-qty-row,
    .jet-woo-products__item .fika-main-buy-box .fika-qty-row,
    .jet-listing-grid .fika-main-buy-box .fika-qty-row,
    .related.products .fika-main-buy-box .fika-qty-row,
    .up-sells.products .fika-main-buy-box .fika-qty-row,
    .cross-sells.products .fika-main-buy-box .fika-qty-row,
    .elementor-widget-woocommerce-products .fika-main-buy-box .fika-qty-row {
        height: 38px !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
        border-radius: 8px !important;
    }
    html body:not(.single-product) .fika-main-buy-box .fika-qty-row button.quantity-btn,
    html body:not(.single-product) .product .fika-main-buy-box .fika-qty-row button.quantity-btn,
    html body:not(.single-product) .jet-woo-products__item .fika-main-buy-box .fika-qty-row button.quantity-btn,
    .products .fika-main-buy-box .fika-qty-row button.quantity-btn,
    .jet-woo-products .fika-main-buy-box .fika-qty-row button.quantity-btn,
    .jet-woo-products__item .fika-main-buy-box .fika-qty-row button.quantity-btn,
    .jet-listing-grid .fika-main-buy-box .fika-qty-row button.quantity-btn,
    .related.products .fika-main-buy-box .fika-qty-row button.quantity-btn,
    .up-sells.products .fika-main-buy-box .fika-qty-row button.quantity-btn,
    .cross-sells.products .fika-main-buy-box .fika-qty-row button.quantity-btn,
    .elementor-widget-woocommerce-products .fika-main-buy-box .fika-qty-row button.quantity-btn {
        width: 44px !important;
        flex: 0 0 44px !important;
        height: 100% !important;
    }
    html body:not(.single-product) .fika-main-buy-box .fika-qty-row .quantity,
    html body:not(.single-product) .product .fika-main-buy-box .fika-qty-row .quantity,
    html body:not(.single-product) .jet-woo-products__item .fika-main-buy-box .fika-qty-row .quantity,
    .products .fika-main-buy-box .fika-qty-row .quantity,
    .jet-woo-products .fika-main-buy-box .fika-qty-row .quantity,
    .jet-woo-products__item .fika-main-buy-box .fika-qty-row .quantity,
    .jet-listing-grid .fika-main-buy-box .fika-qty-row .quantity,
    .related.products .fika-main-buy-box .fika-qty-row .quantity,
    .up-sells.products .fika-main-buy-box .fika-qty-row .quantity,
    .cross-sells.products .fika-main-buy-box .fika-qty-row .quantity,
    .elementor-widget-woocommerce-products .fika-main-buy-box .fika-qty-row .quantity {
        width: auto !important;
        flex: 1 1 auto !important;
        height: 100% !important;
    }
    html body:not(.single-product) .fika-main-buy-box .fika-qty-row input.qty,
    html body:not(.single-product) .product .fika-main-buy-box .fika-qty-row input.qty,
    html body:not(.single-product) .jet-woo-products__item .fika-main-buy-box .fika-qty-row input.qty,
    .products .fika-main-buy-box .fika-qty-row input.qty,
    .jet-woo-products .fika-main-buy-box .fika-qty-row input.qty,
    .jet-woo-products__item .fika-main-buy-box .fika-qty-row input.qty,
    .jet-listing-grid .fika-main-buy-box .fika-qty-row input.qty,
    .related.products .fika-main-buy-box .fika-qty-row input.qty,
    .up-sells.products .fika-main-buy-box .fika-qty-row input.qty,
    .cross-sells.products .fika-main-buy-box .fika-qty-row input.qty,
    .elementor-widget-woocommerce-products .fika-main-buy-box .fika-qty-row input.qty {
        width: 100% !important;
        height: 100% !important;
    }
    html body:not(.single-product) .fika-main-buy-box .add_to_cart_button,
    html body:not(.single-product) .product .fika-main-buy-box .add_to_cart_button,
    html body:not(.single-product) .jet-woo-products__item .fika-main-buy-box .add_to_cart_button,
    .products .fika-main-buy-box .add_to_cart_button,
    .jet-woo-products .fika-main-buy-box .add_to_cart_button,
    .jet-woo-products__item .fika-main-buy-box .add_to_cart_button,
    .jet-listing-grid .fika-main-buy-box .add_to_cart_button,
    .related.products .fika-main-buy-box .add_to_cart_button,
    .up-sells.products .fika-main-buy-box .add_to_cart_button,
    .cross-sells.products .fika-main-buy-box .add_to_cart_button,
    .elementor-widget-woocommerce-products .fika-main-buy-box .add_to_cart_button {
        height: 38px !important;
        font-size: 12px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }
}

/* =================================================================
   4. ESTILO DA CAIXA DE DESCONTO PIX (Portado)
   ================================================================= */
#pix-discount-box {
    display: flex;
    align-items: center;
    background-color: #f0f8f7;
    border: 1px dashed #5F3226;
    border-radius: 8px;
    padding: 10px 15px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.pix-icon-wrapper {
    margin-right: 12px;
    width: 28px;
    height: 28px;
    flex-shrink: 0; 
}
.pix-icon-wrapper img {
    width: 100%;
    height: auto;
}
#pix-discount-message {
    font-size: 22px;
    color: #333;
    font-weight: 500;
    line-height: 1.2;
}
#pix-discount-message .pix-price {
    font-weight: 700;
    color: #5F3226;
}
@media (max-width: 768px) {
    #pix-discount-message {
        font-size: 14px;
    }
    #pix-discount-box {
        padding: 6px 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .pix-icon-wrapper {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }
}

/* =================================================================
   5. REMOÇÃO GLOBAL DE CONTORNO DE FOCO (Portado)
   ================================================================= */
*:focus,
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* =================================================================
   6. ESTILO DA GALERIA DO PRODUTO (SLICK CAROUSEL) (Portado)
   ================================================================= */
.woocommerce-product-gallery {
    position: relative;
    overflow: hidden;
}
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    display: none !important;
}
.woocommerce-product-gallery .slick-prev,
.woocommerce-product-gallery .slick-next {
    width: 35px;
    height: 35px;
    background-color: transparent !important;
    transform: none !important;
    box-shadow: none !important;
    font-size: 0;
}
.woocommerce-product-gallery .slick-prev {
    left: 10px;
    z-index: 10;
}
.woocommerce-product-gallery .slick-next {
    right: 20px;
    z-index: 10;
}
.woocommerce-product-gallery .slick-prev:before,
.woocommerce-product-gallery .slick-next:before {
    font-size: 28px;
    color: #333;
    opacity: 0.4;
    transition: all 0.3s ease;
}
.woocommerce-product-gallery .slick-prev:hover:before,
.woocommerce-product-gallery .slick-next:hover:before {
    color: #000;
    opacity: 1;
}
.woocommerce-product-gallery .slick-dots {
    bottom: 15px;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.woocommerce-product-gallery .slick-dots li {
    display: inline-block;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}
.woocommerce-product-gallery .slick-dots li button {
    border: 1px solid #cccccc !important;
    background: transparent !important;
    border-radius: 50% !important;
    width: 12px !important;
    height: 12px !important;
    padding: 0 !important;
    font-size: 0;
    position: relative;
    transition: all 0.3s ease;
}
.woocommerce-product-gallery .slick-dots li button:before {
    display: none !important;
}
.woocommerce-product-gallery .slick-dots li button::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: #cccccc;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}
.woocommerce-product-gallery .slick-dots li.slick-active button {
    border-color: #333 !important;
}
.woocommerce-product-gallery .slick-dots li.slick-active button::after {
    background-color: #333;
}
.woocommerce-product-gallery .slick-dots li:hover button {
    border-color: #999999 !important;
}
.woocommerce-product-gallery .slick-dots li:hover button::after {
    background-color: #666;
}
.woocommerce-product-gallery .slick-slide img {
    margin: auto;
    width: 100%;
    display: block;
}
[type=button], [type=submit], button {
    border: none !important;
}

/* =================================================================
   7. BOTOES E CABEÇALHOS DO SITE (Portado)
   ================================================================= */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button {
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 30px;
    left: auto;
    color: #ffffff;
    background-color: #A8B394;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 0.75rem;
    font-weight: 600 !important;
    line-height: 1.2;
    color: #5f3226;
    text-transform: none !important;
}

/* =================================================================
   8. REDESIGN CHECKOUT ALTA CONVERSÃO (FIKA MAIS)
   ================================================================= */

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

/* Esconder cabeçalho padrão */
body.woocommerce-checkout .page-header {
    display: none !important;
}

/* Barra de segurança — UMA VEZ, apenas acima do form padrão WooCommerce */
body.woocommerce-checkout form.woocommerce-checkout::before {
    content: '\1F512  Ambiente 100% Seguro e Criptografado';
    display: block;
    width: 100%;
    text-align: center;
    background: #edf7e6;
    border: 1px solid #c5e8b0;
    border-radius: 8px;
    padding: 13px;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 700;
    color: #3b6b1c;
}

/* Coluna da direita (Resumo do Pedido) com fundo diferenciado */
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
    position: relative !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Campos de Formulário - Grandes e Limpos */
body.woocommerce-checkout input.input-text,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: 52px !important;
    border: 1.5px solid #d5d5d5 !important;
    border-radius: 6px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    background-color: #ffffff !important;
    color: #333333 !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout input.input-text:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #5f3226 !important;
    box-shadow: 0 0 0 3px rgba(95, 50, 38, 0.12) !important;
    outline: none !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 52px !important;
    padding-left: 16px !important;
}

body.woocommerce-checkout label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #444444 !important;
    margin-bottom: 7px !important;
    display: block !important;
}

/* Títulos das seções */
body.woocommerce-checkout h3,
body.woocommerce-checkout #order_review_heading {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 22px !important;
    padding-bottom: 14px !important;
    border-bottom: 2px solid #f0f0f0 !important;
}

/* Tabela de Resumo - Minimalista */
body.woocommerce-checkout table.shop_table {
    border: none !important;
    border-collapse: collapse !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    background: transparent !important;
}
body.woocommerce-checkout table.shop_table thead th {
    border: none !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #999 !important;
    padding: 0 0 12px 0 !important;
}
body.woocommerce-checkout table.shop_table tr {
    border-bottom: 1px solid #f2f2f2 !important;
}
body.woocommerce-checkout table.shop_table tr.cart-subtotal,
body.woocommerce-checkout table.shop_table tr.order-total {
    background-color: transparent !important;
}
body.woocommerce-checkout table.shop_table td,
body.woocommerce-checkout table.shop_table th {
    border: none !important;
    padding: 14px 0 !important;
    font-size: 14px !important;
    color: #444444 !important;
    background: transparent !important;
}
body.woocommerce-checkout table.shop_table .product-name {
    font-weight: 600 !important;
}
body.woocommerce-checkout table.shop_table .product-total {
    text-align: right !important;
    font-weight: 600 !important;
}
body.woocommerce-checkout table.shop_table tr.order-total th {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #1a1a1a !important;
}
body.woocommerce-checkout table.shop_table tr.order-total td strong {
    font-size: 22px !important;
    color: #3b6b1c !important;
    font-weight: 800 !important;
}

/* Cupom de desconto */
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle a {
    color: #3b6b1c !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* Métodos de Pagamento - Blocos Modernos */
body.woocommerce-checkout #payment {
    position: relative !important;
    background: transparent !important;
    border: none !important;
    padding: 16px !important; /* Reduced to match card padding of 16px */
}
body.woocommerce-checkout #payment ul.payment_methods {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
    background: #ffffff !important;
    border: 1.5px solid #ebdcd9 !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    margin-bottom: 12px !important;
    list-style: none !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:hover {
    border-color: #5f3226 !important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(input:checked) {
    border-color: #5f3226 !important;
    border-width: 2px !important;
    background: #fdf9f8 !important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"] {
    margin: 0 !important;
    flex-shrink: 0 !important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
    flex: 1 1 0% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #222222 !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label img,
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label svg {
    max-height: 22px !important;
    width: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-left: 10px !important;
    flex-shrink: 0 !important;
}
body.woocommerce-checkout #payment div.payment_box {
    background: transparent !important;
    border: none !important;
    padding: 12px 0 0 0 !important;
    margin: 0 !important;
    width: 100% !important;
    flex-basis: 100% !important;
    font-size: 13px !important;
    color: #5f3226 !important;
    line-height: 1.5 !important;
}
body.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}

/* Botão Finalizar Compra - Grande e Focado em Conversão */
body.woocommerce-checkout #place_order {
    background: linear-gradient(135deg, #46761E 0%, #3b6b1c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    padding: 18px 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(59, 107, 28, 0.3) !important;
    margin-top: 16px !important;
    display: block !important;
    text-align: center !important;
    position: relative !important;
}
body.woocommerce-checkout #place_order:hover {
    background: linear-gradient(135deg, #3b6b1c 0%, #2d5414 100%) !important;
    box-shadow: 0 10px 28px rgba(59, 107, 28, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Failsafe BlockUI Overlay & Premium Blur Transition */
body.woocommerce-checkout .blockOverlay {
    background-color: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(1.5px) !important;
    -webkit-backdrop-filter: blur(1.5px) !important;
    border-radius: 10px !important;
    will-change: opacity, backdrop-filter !important;
    transition: opacity 0.2s ease !important;
}
body.woocommerce-checkout #payment .blockOverlay {
    border-radius: 8px !important;
}
body.woocommerce-checkout .processing {
    opacity: 0.85 !important;
    filter: blur(0.5px) !important;
    transition: opacity 0.2s ease, filter 0.2s ease !important;
}

/* Barra de Confiança */
.fika-trust-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 16px;
    margin-top: 20px;
    gap: 12px;
}
.fika-trust-bar .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 11px;
    color: #777;
    font-weight: 600;
    gap: 6px;
}
.fika-trust-bar .trust-item i {
    font-size: 20px;
    color: #3b6b1c;
}

@media (max-width: 768px) {
    .fika-trust-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
    }
    .fika-trust-bar .trust-item {
        flex-direction: row;
        text-align: left;
        gap: 10px;
    }
    body.woocommerce-checkout input.input-text,
    body.woocommerce-checkout select,
    body.woocommerce-checkout textarea {
        height: 50px !important;
        font-size: 16px !important; /* Previne zoom automático no iOS */
    }
}

/* =================================================================
   9. FIKA MAIS FILTROS NATIVOS DA LOJA
   ================================================================= */
.fika-shop-filters-container {
    width: 100%;
    margin-bottom: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Categorias Scrollable */
.fika-filters-categories-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 15px;
}
.fika-filters-categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    padding-bottom: 5px;
}
.fika-filters-categories-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
@media (min-width: 769px) {
    .fika-filters-categories-scroll {
        flex-wrap: wrap;
        overflow-x: visible;
        padding-bottom: 0;
    }
    .fika-filters-categories-wrapper {
        overflow: visible;
    }
}
.fika-category-pill {
    display: inline-block;
    padding: 8px 18px;
    background-color: #f5f5f5;
    color: #444444;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
}
.fika-category-pill:hover {
    background-color: #e8e8e8;
    color: #1a1a1a;
    border-color: #dcdcdc;
}
.fika-category-pill.active {
    background-color: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

/* Linha de Controles (Dropdowns) */
.fika-filters-controls-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

/* Dropdown Base */
.fika-filter-dropdown {
    position: relative;
    display: inline-block;
}
.fika-filter-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #1a1a1a;
    border: 1px solid #dcdcdc !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.fika-filter-dropdown-toggle:hover,
.fika-filter-dropdown.active .fika-filter-dropdown-toggle {
    border-color: #1a1a1a !important;
    background-color: #fbfbfb;
}
.fika-filter-dropdown-toggle .chevron-icon {
    transition: transform 0.2s ease;
}
.fika-filter-dropdown.active .fika-filter-dropdown-toggle .chevron-icon {
    transform: rotate(180deg);
}

/* Menu Dropdown */
.fika-filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 260px;
    background-color: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 18px;
    animation: fikaFadeIn 0.2s ease;
}
.fika-filter-dropdown.active .fika-filter-dropdown-menu {
    display: block;
}

@keyframes fikaFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Faixas de preço */
.fika-price-ranges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fika-price-range-link {
    display: block;
    padding: 8px 12px;
    color: #444444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.fika-price-range-link:hover {
    background-color: #f5f5f5;
    color: #1a1a1a;
}
.fika-price-range-link.active {
    background-color: #fdf9f8;
    color: #5f3226;
    font-weight: 700;
}

.fika-price-divider {
    text-align: center;
    font-size: 11px;
    color: #999999;
    margin: 15px 0;
    position: relative;
}
.fika-price-divider::before,
.fika-price-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 25%;
    height: 1px;
    background-color: #ebebeb;
}
.fika-price-divider::before { left: 0; }
.fika-price-divider::after { right: 0; }

/* Custom Price inputs */
.fika-price-custom-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fika-price-inputs-row {
    display: flex;
    gap: 10px;
}
.fika-price-input-group {
    flex: 1;
}
.fika-price-input-group label {
    display: block;
    font-size: 11px;
    color: #666666;
    margin-bottom: 4px;
    font-weight: 600;
}
.fika-input-prefix-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.fika-input-prefix-wrapper .prefix {
    position: absolute;
    left: 10px;
    font-size: 12px;
    color: #999999;
    font-weight: bold;
}
.fika-input-prefix-wrapper input {
    width: 100%;
    height: 38px;
    padding: 0 8px 0 28px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    box-sizing: border-box;
    -moz-appearance: textfield;
}
.fika-input-prefix-wrapper input::-webkit-outer-spin-button,
.fika-input-prefix-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.fika-price-submit-btn {
    width: 100%;
    height: 38px;
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background-color 0.2s;
    border: none !important;
}
.fika-price-submit-btn:hover {
    background-color: #333333 !important;
}

/* Native Orderby Select */
.fika-filter-sort-wrapper {
    margin-left: auto;
}
.fika-sort-native-select {
    height: 42px;
    padding: 0 35px 0 15px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    background-color: #ffffff !important;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='%231a1a1a' d='M7 10l5 5 5-5H7z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
}

/* Filtros Ativos */
.fika-active-filters-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ebebeb;
}
.fika-active-filters-label {
    font-size: 12px;
    color: #777777;
    font-weight: 600;
}
.fika-active-tags-list {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.fika-active-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #fdf9f8;
    color: #5f3226;
    border: 1px solid #ebdcd9;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.fika-active-tag:hover {
    background-color: #ebdcd9;
    color: #4a2318;
}
.fika-active-tag .close-icon {
    width: 10px;
    height: 10px;
    fill: currentColor;
}
.fika-clear-all-btn {
    font-size: 12px;
    color: #888888;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 5px;
    transition: color 0.2s;
}
.fika-clear-all-btn:hover {
    color: #ff3b30;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .fika-filters-controls-row {
        justify-content: space-between;
        width: 100%;
        gap: 10px;
    }
    .fika-filter-dropdown {
        flex: 1;
    }
    .fika-filter-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    .fika-filter-sort-wrapper {
        margin-left: 0;
        flex: 1;
    }
    .fika-sort-native-select {
        width: 100%;
    }
    .fika-filter-dropdown-menu {
        width: 290px;
        left: 0;
    }
}

/* =================================================================
   10. BARRA DE BENEFÍCIOS (INFINITE SCROLL) PREMIUM
   ================================================================= */
body .feature-bar-container {
    overflow: hidden;
    padding: 12px 0 !important;
    background-color: #fdfaf7 !important; /* Soft warm boutique cream */
    border-top: 1px solid #ebdcd9 !important; /* Premium subtle border top */
    border-bottom: 1px solid #ebdcd9 !important; /* Premium subtle border bottom */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

body .feature-bar-container:hover .feature-bar-scroll {
    animation-play-state: paused !important; /* Smoothly pause marquee on hover */
    cursor: pointer;
}

body .feature-bar-scroll {
    display: flex;
    width: fit-content;
    animation: scroll-left 30s linear infinite !important; /* Slightly slower and smoother */
    will-change: transform;
}

body .feature-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 40px !important; /* More space between items */
    white-space: nowrap !important;
    position: relative !important;
}

/* Beautiful elegant vertical separator after each item */
body .feature-item::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 1px !important;
    height: 18px !important;
    background-color: rgba(95, 50, 38, 0.15) !important;
}

body .feature-item i {
    font-size: 20px !important; /* Smaller, modern, elegant size */
    color: #5f3226 !important; /* Brand accent color */
    transition: transform 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body .feature-item:hover i {
    transform: scale(1.15) !important; /* Micro-interaction scale on hover */
}

body .feature-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    text-align: left !important;
}

body .main-text {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important; /* Premium tracking */
    color: #1a1a1a !important;
    text-transform: uppercase !important; /* Clean premium uppercase */
}

body .sub-text {
    font-size: 10px !important;
    color: #777777 !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
}

/* UX & CRO Enhancement: On Desktop (>= 992px), convert scrolling marquee to a clean, static, spaced-out row */
@media (min-width: 992px) {
    body .feature-bar-scroll {
        width: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        justify-content: space-around !important;
        animation: none !important;
    }
    body .feature-item {
        padding: 0 15px !important;
        flex: 1 !important;
        justify-content: center !important;
    }
    /* Hide the repeated HTML sets (5th to 12th items) since we only need the 4 unique benefits statically */
    body .feature-item:nth-child(n+5) {
        display: none !important;
    }
    /* Hide separators since they are distributed in a neat grid row */
    body .feature-item::after {
        display: none !important;
    }
}

/* =================================================================
   11. BLOCO DE SEGURANÇA E CONFIANÇA (CRO - PRODUTO)
   ================================================================= */
.fika-product-trust-block {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    margin: 24px auto;
    max-width: 100%;
    box-sizing: border-box;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.fika-product-trust-block .trust-item {
    flex: 1 1 0px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #fdfaf7; /* Boutique soft cream */
    border: 1px solid #ebdcd9; /* Delicate terracotta outline */
    border-radius: 8px;
    padding: 12px 6px;
    gap: 8px;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fika-product-trust-block .trust-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(95, 50, 38, 0.05);
}

.fika-product-trust-block .trust-item i {
    font-size: 18px;
    color: #A8B394; /* Calm green success color */
    width: auto;
    text-align: center;
    margin: 0;
}

.fika-product-trust-block .trust-item span {
    color: #5f3226; /* Changed to brand terracotta to be more elegant and high conversion */
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.1px;
}

@media (max-width: 480px) {
    .fika-product-trust-block {
        gap: 6px;
    }
    .fika-product-trust-block .trust-item {
        padding: 10px 4px;
        gap: 6px;
    }
    .fika-product-trust-block .trust-item i {
        font-size: 15px;
    }
    .fika-product-trust-block .trust-item span {
        font-size: 10px;
    }
}

/* =================================================================
   12. PÁGINA DE ERRO DE BUSCA / NO PRODUCTS FOUND (CRO)
   ================================================================= */
.fika-no-products-found {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.fika-no-products-found .fika-no-products-icon {
    color: #ebdcd9;
    margin-bottom: 20px;
}

.fika-no-products-found h2 {
    font-size: 26px;
    font-weight: 700;
    color: #5f3226;
    margin-bottom: 12px;
}

.fika-no-products-found p.subtitle {
    font-size: 15px;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.fika-no-products-found .fika-no-products-search-box {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.fika-no-products-found .fika-no-products-search-box form {
    display: flex;
    width: 100%;
    max-width: 420px;
}

.fika-no-products-found .fika-no-products-search-box input[type="search"] {
    flex: 1;
    height: 48px;
    border: 1px solid #dcdcdc !important;
    border-radius: 8px 0 0 8px !important;
    padding: 0 16px !important;
    font-size: 14px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.fika-no-products-found .fika-no-products-search-box button[type="submit"],
.fika-no-products-found .fika-no-products-search-box input[type="submit"] {
    height: 48px;
    background-color: #5f3226 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 8px 8px 0 !important;
    padding: 0 24px !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}

.fika-no-products-found .fika-no-products-search-box button[type="submit"]:hover,
.fika-no-products-found .fika-no-products-search-box input[type="submit"]:hover {
    background-color: #4a2318 !important;
}

.fika-no-products-found .fika-suggested-categories {
    margin-top: 30px;
}

.fika-no-products-found .fika-suggested-categories h3 {
    font-size: 16px;
    color: #5f3226;
    margin-bottom: 20px;
    font-weight: 600;
}

.fika-no-products-found .categories-pills-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* =================================================================
   14. CARRINHO LATERAL PREMIUM AJAX (SLIDE CART FIKA MAIS)
   ================================================================= */

/* Prevenção de scroll do body quando o carrinho está aberto */
body.fika-cart-open {
    overflow: hidden;
}

/* Overlay do fundo escurecido e desfocado */
#fika-slide-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#fika-slide-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Painel do carrinho */
#fika-slide-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background-color: #fdfaf7; /* creme boutique suave */
    border-left: 1px solid #ebdcd9; /* moldura terracota suave */
    z-index: 999999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}
#fika-slide-cart-panel.active {
    transform: translateX(0);
}

/* Estado de Carregamento (Barra de progresso e esmaecimento) */
#fika-slide-cart-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ebdcd9, #e2725b, #ebdcd9);
    background-size: 200% 100%;
    z-index: 9999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
#fika-slide-cart-panel.fika-loading::before {
    opacity: 1;
    visibility: visible;
    animation: fika-loading-bar 1.2s infinite linear;
}
@keyframes fika-loading-bar {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

#fika-slide-cart-panel.fika-loading #fika-slide-cart-inner {
    opacity: 0.55;
    pointer-events: none; /* Impede novos cliques ou interações de forma nativa enquanto processa */
    transition: opacity 0.2s ease;
}

#fika-slide-cart-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Cabecalho */
.fika-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #ebdcd9;
    background-color: #ffffff;
}
.fika-cart-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #5f3226;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fika-cart-count-badge {
    background-color: #ebdcd9;
    color: #5f3226;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}
.fika-cart-close-btn {
    background: none !important;
    border: none !important;
    font-size: 28px;
    color: #8c8c8c;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease;
}
.fika-cart-close-btn:hover {
    color: #5f3226;
}

/* Carrinho Vazio */
.fika-cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 40px 24px;
    text-align: center;
}
.fika-cart-empty-state i {
    font-size: 48px;
    color: #ebdcd9;
    margin-bottom: 16px;
}
.fika-cart-empty-state h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #5f3226;
    font-weight: 600;
}
.fika-cart-empty-state p {
    margin: 0 0 24px 0;
    font-size: 14px;
    color: #8c8c8c;
}
.fika-cart-shop-btn {
    background-color: #5f3226 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: background-color 0.2s ease !important;
    display: inline-block;
    text-decoration: none;
}
.fika-cart-shop-btn:hover {
    background-color: #4a2318 !important;
}

/* Corpo com scroll */
.fika-cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    scrollbar-width: thin;
    scrollbar-color: #ebdcd9 #fdfaf7;
}
.fika-cart-body::-webkit-scrollbar {
    width: 6px;
}
.fika-cart-body::-webkit-scrollbar-track {
    background: #fdfaf7;
}
.fika-cart-body::-webkit-scrollbar-thumb {
    background-color: #ebdcd9;
    border-radius: 3px;
}

/* Lista de Itens */
.fika-cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Card de Produto */
.fika-cart-item {
    display: flex;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid #ebdcd9;
    border-radius: 8px;
    padding: 16px;
    position: relative;
    box-shadow: 0 2px 8px rgba(95, 50, 38, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fika-cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(95, 50, 38, 0.05);
}
.fika-cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ebdcd9;
    flex-shrink: 0;
}
.fika-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fika-cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
html body #fika-slide-cart-panel h4.fika-cart-item-title {
    margin: 0 20px 6px 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #5f3226 !important;
}
html body #fika-slide-cart-panel h4.fika-cart-item-title a {
    color: #5f3226 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease !important;
}
html body #fika-slide-cart-panel h4.fika-cart-item-title a:hover {
    color: #e2725b !important;
}
.fika-cart-item-meta {
    font-size: 12px;
    color: #8c8c8c;
    margin-bottom: 8px;
}
.fika-cart-item-meta dt, .fika-cart-item-meta dd {
    display: inline;
    margin: 0;
}
.fika-cart-item-meta dd {
    margin-right: 8px;
}
.fika-cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.fika-cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #5f3226;
}

/* Botão de Excluir Item */
.fika-cart-item-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none !important;
    border: none !important;
    font-size: 20px;
    color: #b3b3b3;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease;
}
.fika-cart-item-remove:hover {
    color: #e2725b;
}

/* Simetria Horizontal de Quantidade no Carrinho */
html body #fika-slide-cart-panel .fika-qty-row {
    display: inline-flex !important;
    align-items: stretch !important;
    border: 1px solid #ebdcd9 !important;
    border-radius: 6px !important;
    height: 28px !important;
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
}
html body #fika-slide-cart-panel .fika-qty-row button.quantity-btn {
    width: 24px !important;
    flex: 0 0 24px !important;
    background-color: #fdfaf7 !important;
    color: #5f3226 !important;
    font-size: 12px !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100% !important;
}
html body #fika-slide-cart-panel .fika-qty-row button.quantity-btn:hover {
    background-color: #ebdcd9 !important;
}
html body #fika-slide-cart-panel .fika-qty-row div.quantity {
    width: 32px !important;
    flex: 0 0 32px !important;
    border-left: 1px solid #ebdcd9 !important;
    border-right: 1px solid #ebdcd9 !important;
    border-top: none !important;
    border-bottom: none !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100% !important;
}
html body #fika-slide-cart-panel .fika-qty-row input.qty {
    width: 100% !important;
    height: 100% !important;
    text-align: center !important;
    border: none !important;
    background-color: #ffffff !important;
    color: #5f3226 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 26px !important;
}

/* Ferramentas: Cupom & Frete */
.fika-cart-tools {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid #ebdcd9;
    padding-top: 24px;
}
.fika-cart-tool-block h5 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #5f3226;
    font-weight: 600;
}
.fika-cart-tool-row {
    display: flex;
    gap: 8px;
}
.fika-cart-tool-row input.input-text {
    flex-grow: 1;
    height: 42px;
    border: 1.5px solid #ebdcd9 !important;
    border-radius: 8px !important;
    padding: 0 12px !important;
    font-size: 13px;
    background-color: #ffffff;
    color: #5f3226;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.fika-cart-tool-row input.input-text:focus {
    border-color: #e2725b !important;
}
.fika-cart-tool-row button.button {
    height: 42px;
    background-color: #ebdcd9 !important;
    color: #5f3226 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.fika-cart-tool-row button.button:hover {
    background-color: #5f3226 !important;
    color: #ffffff !important;
}

/* Cupons Aplicados */
.fika-cart-applied-coupons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.fika-coupon-tag {
    background-color: rgba(73, 146, 6, 0.08);
    border: 1px solid rgba(73, 146, 6, 0.2);
    color: #5F3226;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.fika-coupon-tag a.fika-remove-coupon {
    color: #e2725b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}
.fika-coupon-tag a.fika-remove-coupon:hover {
    color: #c15640;
}

/* Resultados do Frete */
.fika-cart-shipping-results {
    margin-top: 12px;
}
.fika-cart-shipping-methods-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fika-shipping-method-option {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    border: 1.5px solid #ebdcd9;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.fika-shipping-method-option:hover {
    border-color: #e2725b;
    background-color: rgba(253, 250, 247, 0.5);
}
.fika-shipping-radio {
    margin: 0;
    accent-color: #5f3226;
}
.fika-shipping-method-label {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #5f3226;
    font-weight: 500;
}
.fika-shipping-method-price {
    font-weight: 700;
}
.fika-shipping-no-methods {
    font-size: 12px;
    color: #e2725b;
    margin: 0;
}

/* Rodapé Fixo */
.fika-cart-footer {
    border-top: 1px solid #ebdcd9;
    background-color: #ffffff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 -4px 20px rgba(95, 50, 38, 0.03);
}

.fika-cart-totals-table {
    width: 100%;
    border-collapse: collapse;
}
.fika-cart-totals-table th, .fika-cart-totals-table td {
    padding: 6px 0 !important;
    font-size: 14px;
    color: #5f3226;
    border: none !important;
}
.fika-cart-totals-table th {
    font-weight: 500;
    text-align: left;
}
.fika-cart-totals-table td {
    text-align: right;
}
.fika-cart-totals-table .fika-cart-discount th,
.fika-cart-totals-table .fika-cart-discount td {
    color: #5F3226;
}
.fika-cart-totals-table .fika-cart-total-row th,
.fika-cart-totals-table .fika-cart-total-row td {
    font-size: 18px;
    font-weight: 700;
    padding-top: 12px !important;
    border-top: 1px dashed #ebdcd9 !important;
}

/* Botão Finalizar Compra */
.fika-cart-checkout-btn {
    background-color: #5F3226 !important; /* verde sucesso */
    color: #ffffff !important;
    height: 48px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 12px rgba(73, 146, 6, 0.2) !important;
}
.fika-cart-checkout-btn:hover {
    background-color: #4A2318 !important;
    box-shadow: 0 6px 16px rgba(73, 146, 6, 0.3) !important;
}
.fika-cart-checkout-btn:active {
    transform: scale(0.98);
}

/* Selos de segurança no rodapé */
.fika-cart-trust-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 11px;
    color: #8c8c8c;
    margin-top: 4px;
}
.fika-cart-trust-badges span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.fika-cart-trust-badges i {
    color: #ebdcd9;
}

/* Estado de carregamento nos botões de compra */
.fika-btn-loading {
    opacity: 0.75 !important;
    cursor: not-allowed !important;
}

/* =================================================================
   15. CÓDIGOS DO PERSONALIZAR (PORTADOS DO CUSTOMIZER)
   ================================================================= */

.woocommerce-message { display: none !important; }
.woocommerce-error, .woocommerce-info { display: block !important; }

body::-webkit-scrollbar { width: 12px; }
body::-webkit-scrollbar-track { background-color: #f1f1f1; }
body::-webkit-scrollbar-thumb { background: #888; border-radius: 10px; border: 3px solid #f1f1f1; }
body::-webkit-scrollbar-thumb:hover { background: #5f3226; }

/* GRADE DE PRODUTOS (ESTÉTICA PREMIUM SEM DISTORÇÃO) */
.woocommerce ul.products li.product img {
    width: 100% !important; height: auto !important;
    aspect-ratio: 1 / 1 !important; object-fit: cover !important;
    border-radius: 8px !important; display: block !important; margin: 0 auto !important;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

ul.products li.product {
    background: #fdfdfd; border: 1px solid #f0f0f0; border-radius: 10px;
    padding: 0 0 20px 0 !important; /* Respiro no fundo do card */
    text-align: center; overflow: hidden; transition: box-shadow 0.4s ease; position: relative; 
}
ul.products li.product:hover { box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08); }
ul.products li.product:hover img { transform: scale(1.05) !important; }

/* Respiro interno exclusivo para os textos (Quiet Luxury) */
.product-info-wrapper,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .price,
ul.products li.product .pix-discount-box-loop {
    padding-left: 15px !important; padding-right: 15px !important; box-sizing: border-box !important;
}

/* COMPONENTE DE COMPRA "FIKA MAIS" (GRID DA LOJA) */
.fika-main-buy-box {
    display: flex !important; flex-direction: column !important; /* Mobile: empilhado */
    align-items: center !important; gap: 8px !important; width: 100% !important;
    margin: 15px 0 !important; padding: 0 15px !important; box-sizing: border-box !important;
}

.fika-qty-row { display: flex !important; flex-direction: row !important; height: 45px !important; }
.fika-qty-row .quantity { display: flex !important; margin: 0 !important; padding: 0 !important; }
.fika-qty-row .quantity input.qty {
    width: 55px !important; height: 45px !important; border: 1px solid #d0d0d0 !important;
    border-radius: 8px 0 0 8px !important; text-align: center !important; border-right: none !important;
    margin: 0 !important; padding: 0 !important; -moz-appearance: textfield !important;
}

.fika-buttons-group { display: flex !important; flex-direction: row !important; margin: 0 !important; }
.fika-buttons-group button {
    width: 45px !important; height: 45px !important; background: #fdfdfd !important;
    border: 1px solid #d0d0d0 !important; color: #5f3226 !important; font-weight: 700 !important;
    font-size: 18px !important; display: flex !important; align-items: center !important;
    justify-content: center !important; padding: 0 !important; margin: 0 !important; cursor: pointer !important;
}
.fika-buttons-group .minus { border-radius: 0 !important; border-right: none !important; }
.fika-buttons-group .plus { border-radius: 0 8px 8px 0 !important; }

.fika-main-buy-box .button, .add_to_cart_button {
    background-color: #387202 !important; color: #fff !important; border-radius: 8px !important;
    font-weight: 700 !important; text-transform: uppercase !important; min-height: 45px !important;
    border: none !important; display: flex !important; align-items: center !important;
    justify-content: center !important; margin: 0 !important;
}

/* Ajuste Desktop: Micro-UI para caber em 5 Colunas Lado a Lado */
@media (min-width: 1024px) {
    .fika-main-buy-box { 
        flex-direction: row !important; 
        flex-wrap: nowrap !important; 
        justify-content: space-between !important; 
        align-items: stretch !important;
        padding: 0 8px !important; /* Reduz a margem lateral só nos botões para ganhar espaço */
        gap: 5px !important;
    }
    
    /* Reduz a altura geral da barra de compra no desktop */
    .fika-qty-row { 
        flex: 0 0 auto !important; 
        width: auto !important;
        height: 38px !important; 
    }
    
    /* Encolhe a caixa do número */
    .fika-qty-row .quantity input.qty {
        width: 35px !important; 
        height: 38px !important;
        font-size: 14px !important;
    }
    
    /* Encolhe os botões de + e - */
    .fika-buttons-group button {
        width: 32px !important; 
        height: 38px !important;
        font-size: 16px !important;
    }
    
    /* Ajusta o botão de Comprar para preencher o resto milimetricamente */
    .fika-main-buy-box .button, .add_to_cart_button {
        flex: 1 1 auto !important; 
        margin-left: 0 !important;
        font-size: 11px !important; /* Letra ajustada para caber a palavra COMPRAR */
        white-space: nowrap !important; 
        padding: 0 6px !important;
        min-height: 38px !important;
    }
}
@media (max-width: 768px) {
    /* No mobile da loja, mantemos empilhado para não cortar no grid de 2 colunas */
    .fika-qty-row, .fika-qty-row .quantity, .fika-qty-row .quantity input.qty { width: 100% !important; }
    .fika-buttons-group { flex-shrink: 0 !important; }
}

/* BARRA FIXA DE COMPRA (MOBILE WIDGET - BLINDAGEM TOTAL) */
#botao-compra form.cart, 
#botao-compra .fika-main-buy-box,
.botao-compra form.cart, 
.botao-compra .fika-main-buy-box {
    display: flex !important; 
    flex-direction: row !important; 
    flex-wrap: nowrap !important; /* Proíbe a quebra de linha */
    justify-content: space-between !important; 
    align-items: center !important; 
    width: 100% !important;
    margin: 0 !important; 
    padding: 10px 15px !important; 
    gap: 10px !important; 
    background-color: #ffffff !important;
}

/* Remove o padding duplo e fundo herdado de containers de variação aninhados no rodapé fixo */
#botao-compra form.cart .fika-main-buy-box,
.botao-compra form.cart .fika-main-buy-box,
#botao-compra .single_variation_wrap,
.botao-compra .single_variation_wrap,
#botao-compra .woocommerce-variation-add-to-cart,
.botao-compra .woocommerce-variation-add-to-cart {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#botao-compra .fika-qty-row,
.botao-compra .fika-qty-row { 
    display: flex !important; 
    flex: 0 0 auto !important; 
    width: auto !important; 
    min-width: 105px !important; /* Espaço vital para o + e - */
    margin: 0 !important; 
}

#botao-compra .fika-main-buy-box .button, 
#botao-compra .single_add_to_cart_button,
#botao-compra .add_to_cart_button,
.botao-compra .fika-main-buy-box .button, 
.botao-compra .single_add_to_cart_button,
.botao-compra .add_to_cart_button {
    flex: 1 1 auto !important; 
    width: 100% !important; 
    margin: 0 !important; 
    height: 48px !important;
    border-radius: 8px !important;
    font-size: 13px !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    background-color: #5F3226 !important;
    color: #ffffff !important;
    border: none !important;
}

#botao-compra .product-info-wrapper,
.botao-compra .product-info-wrapper { 
    padding-bottom: 0 !important; 
}

/* CHECKOUT E PAGAMENTOS */
#payment .payment_box { background-color: #dcd7e3 !important; border-radius: 10px !important; padding: 1.5em !important; color: #515151 !important; }
#payment .payment_box input, #payment .payment_box select { width: 100% !important; padding: 12px !important; border-radius: 5px !important; border: 1px solid #ccc !important; }

@media (max-width: 768px) {
    .woocommerce-checkout-review-order-table, .woocommerce-checkout-review-order-table tr, .woocommerce-checkout-review-order-table td { display: block !important; width: 100% !important; }
    .woocommerce-checkout-review-order-table td { text-align: left !important; padding: 10px 0 !important; }
    .product-total { text-align: right !important; font-weight: bold; }
}

/* CAIXA DE DESCONTO PIX E CALCULADOR DE FRETE */
#pix-discount-box { display: flex; align-items: center; background-color: #f0f8f7; border: 1px dashed #5F3226; border-radius: 8px; padding: 10px 15px; margin-top: 15px; margin-bottom: 15px; }
.pix-icon-wrapper { margin-right: 12px; width: 28px; height: 28px; flex-shrink: 0; }
.pix-icon-wrapper img { width: 100%; height: auto; }
#pix-discount-message { font-size: 22px; color: #333; font-weight: 500; line-height: 1.2; }
#pix-discount-message .pix-price { font-weight: 700; color: #5F3226; }

.infixs-correios-automatico-calculator { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; margin: 0 !important; }
.infixs-correios-automatico-shipping-results-cost, .infixs-correios-automatico-shipping-results-cost span.amount { color: #5f3226 !important; font-weight: bold !important; }
.infixs-correios-automatico-calculator button[name="calc_shipping"], .woocommerce-shipping-calculator button { background-color: #5f3226 !important; color: #ffffff !important; width: 100% !important; text-align: center !important; font-weight: bold !important; border-radius: 8px !important; border: none !important; padding: 12px !important; margin-top: 10px !important; }
.infixs-correios-automatico-calculator a, .woocommerce-shipping-calculator a { color: #5f3226 !important; }

.variations th.label { display: none !important; }

/* BLINDAGEM DE MENSAGENS DE ESTOQUE (INTELIGENTE) */
p.stock.in-stock, .woocommerce-variation-availability .stock.in-stock { display: none !important; }
p.stock.out-of-stock, .woocommerce-variation-availability .stock.out-of-stock {
    display: block !important; visibility: visible !important; color: #c97a7e !important; 
    font-weight: bold !important; font-size: 14px !important; margin-top: 10px !important;
}

/* BARRA DE BENEFÍCIOS (INFINITE SCROLL) */
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.feature-bar-container { overflow: hidden; padding: 15px 0; background-color: #f9f9f9; border-y: 1px solid #eee; }
.feature-bar-scroll { display: flex; width: fit-content; animation: scroll-left 25s linear infinite; }
.feature-item { display: flex; align-items: center; gap: 10px; padding: 0 25px; white-space: nowrap; }
.feature-item i { font-size: 30px; color: #5f3226; }
.main-text { font-size: 14px; font-weight: 700; color: #333; }
.sub-text { font-size: 11px; color: #666; }

/* CORREÇÃO DA TABELA DE RESUMO DO PEDIDO (CONTEÚDO INTERNO) */
.woocommerce-checkout-review-order-table,
.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout-review-order-table tfoot,
.woocommerce-checkout-review-order-table tr {
    display: table !important;
    width: 100% !important;
    table-layout: auto !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    display: table-cell !important;
    padding: 12px 10px !important; /* Spacious padding */
    text-align: left !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #f0f0f0 !important;
    word-break: normal !important;
}

.woocommerce-checkout-review-order-table tr.shipping th,
.woocommerce-checkout-review-order-table tr.shipping td {
    vertical-align: top !important;
    padding-top: 16px !important;
}

.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .cart-subtotal td,
.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout-review-order-table .fee td {
    text-align: right !important;
    white-space: nowrap !important;
    font-weight: 600 !important;
}

/* Frete em Estilo de Box de Seleção Alinhado à Direita e Responsivo */
.woocommerce-checkout-review-order-table ul#shipping_method {
    margin: 0 0 0 auto !important; /* Pushes list container to the right edge */
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important; /* Aligns contents to the right */
    gap: 8px !important;
    width: 100% !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method li {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    background: #ffffff !important;
    border: 1px solid #ebdcd9 !important;
    border-radius: 6px !important;
    width: 100% !important;
    max-width: 320px !important; /* Keep neat cards on desktop */
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    list-style: none !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method li:hover {
    border-color: #5f3226 !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method li:has(input[type="radio"]:checked) {
    background: #fdf9f8 !important;
    border-color: #5f3226 !important;
    border-width: 1.5px !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method li input[type="radio"] {
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method li label {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #444444 !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
    display: inline-block !important;
    flex-grow: 1 !important;
}

@media (max-width: 768px) {
    /* Esconder o cabecalho da tabela no mobile para evitar "PRODUTOSUBTOTAL" grudado */
    .woocommerce-checkout-review-order-table thead,
    .shop_table thead {
        display: none !important;
    }

    /* Desestruturar a tabela para layout de bloco no mobile, impedindo achatamento */
    .woocommerce-checkout-review-order-table,
    .woocommerce-checkout-review-order-table tbody,
    .woocommerce-checkout-review-order-table tfoot {
        display: block !important;
        width: 100% !important;
    }

    /* Linhas da tabela como flex ou block */
    .woocommerce-checkout-review-order-table tr {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-bottom: 1px solid #f0f0f0 !important;
        padding: 12px 0 !important;
    }

    /* Linha do item do produto empilhado (Nome total / Preço embaixo - com seletores de reforço) */
    body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item,
    body.woocommerce-checkout tr.cart_item,
    .woocommerce-checkout-review-order-table tr.cart_item,
    tr.cart_item {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box !important;
        border-bottom: 1px solid #f0f0f0 !important;
        clear: both !important;
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-name,
    body.woocommerce-checkout tr.cart_item td.product-name,
    body.woocommerce-checkout td.product-name,
    .woocommerce-checkout-review-order-table tr.cart_item td.product-name,
    tr.cart_item td.product-name {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        text-align: left !important;
        padding: 0 0 6px 0 !important;
        border-bottom: none !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-total,
    body.woocommerce-checkout tr.cart_item td.product-total,
    body.woocommerce-checkout td.product-total,
    .woocommerce-checkout-review-order-table tr.cart_item td.product-total,
    tr.cart_item td.product-total {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        text-align: left !important;
        padding: 0 !important;
        font-weight: 700 !important;
        color: #5f3226 !important;
        border-bottom: none !important;
        box-sizing: border-box !important;
    }

    /* Linha do frete em bloco (com seletores globais de reforço) */
    .woocommerce-checkout-review-order-table tr.shipping,
    .woocommerce-checkout tr.shipping,
    .woocommerce-checkout tr.woocommerce-shipping-totals,
    tr.shipping,
    tr.woocommerce-shipping-totals {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid #f0f0f0 !important;
        clear: both !important;
    }

    /* Outras linhas financeiras (subtotal, total, etc) em flexbox lado a lado */
    .woocommerce-checkout-review-order-table tr:not(.shipping):not(.cart_item) {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    /* Resetar celulas de cabecalho e dados */
    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        display: block !important;
        width: auto !important;
        padding: 0 !important;
        border-bottom: none !important;
        box-sizing: border-box !important;
    }

    /* Titulo do Frete fica em cima (com seletores globais de reforço) */
    .woocommerce-checkout-review-order-table tr.shipping th,
    .woocommerce-checkout tr.shipping th,
    .woocommerce-checkout tr.woocommerce-shipping-totals th,
    tr.shipping th,
    tr.woocommerce-shipping-totals th {
        display: block !important;
        width: 100% !important;
        font-weight: 700 !important;
        padding: 0 0 10px 0 !important;
        text-align: left !important;
    }

    /* Conteudo do Frete ocupa largura total embaixo (com seletores globais de reforço) */
    .woocommerce-checkout-review-order-table tr.shipping td,
    .woocommerce-checkout tr.shipping td,
    .woocommerce-checkout tr.woocommerce-shipping-totals td,
    tr.shipping td,
    tr.woocommerce-shipping-totals td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Container de metodos de frete ocupa 100% (com seletores globais de reforço) */
    .woocommerce-checkout-review-order-table ul#shipping_method,
    ul#shipping_method,
    #shipping_method {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    /* Cards de frete ocupando 100% de largura (com seletores globais de reforço) */
    .woocommerce-checkout-review-order-table ul#shipping_method li,
    ul#shipping_method li,
    #shipping_method li {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 16px !important;
        background: #ffffff !important;
        border: 1px solid #ebdcd9 !important;
        border-radius: 8px !important;
        margin: 0 0 8px 0 !important;
        float: none !important;
        clear: both !important;
    }

    .woocommerce-checkout-review-order-table ul#shipping_method li:last-child,
    ul#shipping_method li:last-child,
    #shipping_method li:last-child {
        margin-bottom: 0 !important;
    }

    .woocommerce-checkout-review-order-table ul#shipping_method li label,
    ul#shipping_method li label,
    #shipping_method li label {
        display: inline-block !important;
        width: auto !important;
        flex-grow: 1 !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
    }
}

.woocommerce .blockUI.blockOverlay::before {
    display: none !important;
}

/* =================================================================
   16. CORREÇÕES DE REDESIGN E COMPORTAMENTO DO CHECKOUT
   ================================================================= */

/* Failsafe de exibição para os toggles de login e cupom (corrige no-js) */
.woocommerce-no-js .woocommerce-form-login-toggle,
.woocommerce-no-js .woocommerce-form-coupon-toggle {
    display: block !important;
}

/* Oculta seção de login vazia quando o toggle não é renderizado (usuário logado) */
.e-woocommerce-login-section:empty,
.e-woocommerce-login-section:not(:has(.woocommerce-form-login-toggle)) {
    display: none !important;
}

/* Reexibe mensagens do WooCommerce na página de finalização de compra */
body.woocommerce-checkout .woocommerce-message {
    display: block !important;
}

/* Caixas de alerta e notícias com design minimalista boutique */
.woocommerce-error, 
.woocommerce-info, 
body.woocommerce-checkout .woocommerce-message {
    border-radius: 8px !important;
    padding: 16px 20px 16px 52px !important; /* Added left padding for icon */
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 25px !important;
    list-style: none !important;
    position: relative !important;
}

.woocommerce-error::before, 
.woocommerce-info::before, 
body.woocommerce-checkout .woocommerce-message::before {
    position: absolute !important;
    left: 20px !important;
    top: 18px !important;
}
.woocommerce-error {
    background-color: #fdf2f0 !important;
    border: 1px solid #e2725b !important;
    color: #b83c23 !important;
}
.woocommerce-info {
    background-color: #fff8f6 !important;
    border: 1px solid #ebdcd9 !important;
    color: #5f3226 !important;
}
body.woocommerce-checkout .woocommerce-message {
    background-color: #edf7e6 !important;
    border: 1px solid #c5e8b0 !important;
    color: #3b6b1c !important;
}

/* Padronização das caixas de descrição dos métodos de pagamento */
body.woocommerce-checkout #payment div.payment_box {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px 0 0 0 !important;
    margin: 0 !important;
    color: #5f3226 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* Ocultar os campos de país de faturamento e entrega */
#billing_country_field,
#shipping_country_field {
    display: none !important;
}

/* =================================================================
   17. ALINHAMENTO E AJUSTES VISUAIS FINOS DO CHECKOUT
   ================================================================= */

/* Rótulo dinâmico para campo de Complemento (Address 2) para alinhar com o campo de Número */
#billing_address_2_field:not(:has(label))::before,
#shipping_address_2_field:not(:has(label))::before {
    content: "Complemento (opcional)" !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #444444 !important;
    margin-bottom: 7px !important;
    display: block !important;
}

/* Reduzir o padding interno dos cards (containers) do checkout para 16px */
body.woocommerce-checkout .col-1,
body.woocommerce-checkout .shipping_address,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout .e-checkout__order_review,
body.woocommerce-checkout .e-woocommerce-login-section {
    padding: 16px !important;
}
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: flow-root !important;
}

/* Resetar fieldsets de cartões de crédito para evitar caixas duplicadas internas */
body.woocommerce-checkout #payment .wc-credit-card-form,
body.woocommerce-checkout #payment fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}
body.woocommerce-checkout #payment .wc-credit-card-form label,
body.woocommerce-checkout #payment .wc-payment-form label {
    display: none !important;
}
body.woocommerce-checkout #payment .wc-credit-card-form .form-row,
body.woocommerce-checkout #payment .wc-payment-form .form-row {
    margin-bottom: 12px !important;
}

/* Ocultar wrapper de avisos duplicados (segundo contêiner no topo) */
body.woocommerce-checkout .woocommerce-notices-wrapper + .woocommerce-notices-wrapper {
    display: none !important;
}

/* Espaçamento superior e reset de margem/padding para a área de Finalização/Termos */
body.woocommerce-checkout #payment .place-order {
    padding: 0 !important;
    margin: 20px 0 0 0 !important;
}

/* =================================================================
   18. AJUSTE DE VISIBILIDADE E DESIGN DE PREÇOS NO LOOP DA LOJA
   ================================================================= */

/* Forçar a exibição do preço no grid da loja com cor e tamanho consistentes */
body.woocommerce ul.products li.product .price,
body.woocommerce-page ul.products li.product .price,
ul.products li.product .price {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #5f3226 !important; /* Brand terracotta color for price */
    font-size: 17px !important;
    font-weight: 700 !important;
    margin: 8px 0 !important;
    text-align: center !important;
}

/* Preço original riscado (del) em produtos em promoção */
body.woocommerce ul.products li.product .price del,
ul.products li.product .price del {
    color: #999999 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    margin-right: 6px !important;
    display: inline-block !important;
}

/* Preço em promoção (ins) em destaque */
body.woocommerce ul.products li.product .price ins,
ul.products li.product .price ins {
    color: #3b6b1c !important; /* Premium green for sale price, matching conversion elements */
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block !important;
}

/* =================================================================
   19. DESIGN DE FORMULÁRIO MINIMALISTA E GRID DE CAMPOS CUSTOMIZADO
   ================================================================= */

/* Ocultar rótulos dos campos do checkout (usando apenas placeholders) */
body.woocommerce-checkout .woocommerce-billing-fields label:not(.checkbox),
body.woocommerce-checkout .woocommerce-shipping-fields label:not(.checkbox),
body.woocommerce-checkout .woocommerce-additional-fields label:not(.checkbox) {
    display: none !important;
}

/* Forçar margem superior consistente e remoção de rótulo fictício address_2 */
body.woocommerce-checkout #billing_address_2_field::before,
body.woocommerce-checkout #shipping_address_2_field::before {
    display: none !important;
}

/* Grid de Layout Customizado para Tablet e Desktop (Lado a Lado) */
@media (min-width: 768px) {
    body.woocommerce-checkout #billing_persontype_field,
    body.woocommerce-checkout #billing_company_field {
        width: 100% !important;
        clear: both !important;
    }
    body.woocommerce-checkout #billing_cpf_field,
    body.woocommerce-checkout #billing_cnpj_field {
        width: 48% !important;
        float: left !important;
        clear: none !important;
    }
    body.woocommerce-checkout #billing_postcode_field {
        width: 48% !important;
        float: right !important;
        clear: none !important;
    }
    body.woocommerce-checkout #shipping_postcode_field {
        width: 48% !important;
        float: left !important;
        clear: both !important;
    }
    body.woocommerce-checkout #billing_address_1_field, 
    body.woocommerce-checkout #shipping_address_1_field {
        width: 58% !important;
        float: left !important;
        clear: both !important;
    }
    body.woocommerce-checkout #billing_number_field, 
    body.woocommerce-checkout #shipping_number_field {
        width: 38% !important;
        float: right !important;
        clear: none !important;
    }
    body.woocommerce-checkout #billing_address_2_field, 
    body.woocommerce-checkout #shipping_address_2_field {
        width: 48% !important;
        float: left !important;
        clear: both !important;
    }
    body.woocommerce-checkout #billing_neighborhood_field, 
    body.woocommerce-checkout #shipping_neighborhood_field {
        width: 48% !important;
        float: right !important;
        clear: none !important;
    }
    body.woocommerce-checkout #billing_city_field, 
    body.woocommerce-checkout #shipping_city_field {
        width: 48% !important;
        float: left !important;
        clear: both !important;
    }
    body.woocommerce-checkout #billing_state_field, 
    body.woocommerce-checkout #shipping_state_field {
        width: 48% !important;
        float: right !important;
        clear: none !important;
    }
    body.woocommerce-checkout #billing_phone_field, 
    body.woocommerce-checkout #shipping_phone_field {
        width: 48% !important;
        float: left !important;
        clear: both !important;
    }
    body.woocommerce-checkout #billing_email_field, 
    body.woocommerce-checkout #shipping_email_field {
        width: 48% !important;
        float: right !important;
        clear: none !important;
    }
}

/* Layout Empilhado Customizado para Mobile (Um Embaixo do Outro) */
@media (max-width: 767px) {
    body.woocommerce-checkout #customer_details .form-row {
        width: 100% !important;
        float: none !important;
        clear: both !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

/* Esconde os seletores de variação, botão de limpar e informações de variação na barra de compra fixa mobile */
#botao-compra .variations,
.botao-compra .variations,
#botao-compra .reset_variations,
.botao-compra .reset_variations,
#botao-compra .woocommerce-variation,
.botao-compra .woocommerce-variation {
    display: none !important;
}

/* =================================================================
   Design Premium de Botões de Variação (Woo Variation Swatches)
   ================================================================= */
/* Remover o box cinza de fundo da tabela/linhas de variações */
.single-product table.variations,
.single-product table.variations tr,
.single-product table.variations td,
.single-product table.variations td.value {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.variations_form .variable-items-wrapper {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 12px 0 !important;
    list-style: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* Estilo Base dos Swatches (Botão, Cor, Imagem) - Cor Cinza no Estado Padrão */
.variations_form .variable-items-wrapper .variable-item {
    background-color: #ffffff !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Swatches de Texto / Botões - Texto Cinza no Estado Padrão */
.variations_form .variable-items-wrapper .variable-item.button-variable-item {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #888888 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 8px 20px !important;
    min-width: 80px !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Garantir que o span interno não quebre o alinhamento */
.variations_form .variable-items-wrapper .variable-item.button-variable-item span {
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
}

/* Swatches de Cor (Color Swatches) */
.variations_form .variable-items-wrapper .variable-item.color-variable-item {
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.variations_form .variable-items-wrapper .variable-item.color-variable-item .variable-item-span-color {
    border-radius: 50% !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Swatches de Imagem */
.variations_form .variable-items-wrapper .variable-item.image-variable-item {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 2px !important;
}

.variations_form .variable-items-wrapper .variable-item.image-variable-item img {
    border-radius: 6px !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Efeito de Hover (Passe o mouse) - Ativa cor terracota */
.variations_form .variable-items-wrapper .variable-item:hover {
    border-color: #5f3226 !important;
    background-color: #fdfaf7 !important;
    color: #5f3226 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(95, 50, 38, 0.08) !important;
}

/* Estado Selecionado/Ativo (Botões) - Destaque Terracota */
.variations_form .variable-items-wrapper .variable-item.button-variable-item.selected {
    border: 2px solid #5f3226 !important;
    background-color: #fdfaf7 !important;
    color: #5f3226 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(95, 50, 38, 0.12) !important;
    transform: none !important;
}

/* Estado Selecionado/Ativo (Cores) */
.variations_form .variable-items-wrapper .variable-item.color-variable-item.selected {
    border-color: #5f3226 !important;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #5f3226 !important;
    transform: scale(1.05) !important;
}

/* Estado Selecionado/Ativo (Imagens) */
.variations_form .variable-items-wrapper .variable-item.image-variable-item.selected {
    border-color: #5f3226 !important;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #5f3226 !important;
    transform: scale(1.05) !important;
}

/* Botão Limpar Seleção (Reset Link) */
.variations_form a.reset_variations {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #888888 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    text-decoration: none !important;
    margin-left: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    border-bottom: 1px dashed #cccccc !important;
    padding-bottom: 2px !important;
    transition: all 0.2s ease !important;
}

.variations_form a.reset_variations:hover {
    color: #e2725b !important;
    border-bottom-color: #e2725b !important;
}

/* Correções de espaçamento interno da tabela de variações */
.variations td.value {
    padding: 5px 0 !important;
}

/* =================================================================
   Páginas de Produto (Single): Forçar seletor de quantidade e
   botão COMPRAR lado a lado no tablet e mobile (Excluindo o Rodapé Fixo)
   ================================================================= */
@media (max-width: 1023px) {
    /* Container principal de compra */
    body.single-product form.cart:not(#botao-compra form.cart):not(.botao-compra form.cart):not(.products *) .fika-main-buy-box {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 450px !important; /* Limita largura máxima para manter proporcional no tablet */
        padding: 0 !important;
        margin: 20px 0 !important;
    }

    /* Restaura o layout em pílula/cápsula da quantidade, cancelando o 100% do mobile */
    body.single-product form.cart:not(#botao-compra form.cart):not(.botao-compra form.cart):not(.products *) .fika-qty-row {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: center !important;
        width: 132px !important;
        min-width: 132px !important;
        max-width: 132px !important;
        flex: 0 0 132px !important;
        height: 48px !important;
        border: 1.5px solid #ebdcd9 !important;
        border-radius: 8px !important;
        background-color: #ffffff !important;
        overflow: hidden !important;
        gap: 0 !important;
    }

    /* Botões - e + internos */
    body.single-product form.cart:not(#botao-compra form.cart):not(.botao-compra form.cart):not(.products *) .fika-qty-row button.quantity-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 100% !important;
        flex: 0 0 42px !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        border: none !important;
        background-color: #fdfaf7 !important;
    }

    /* Caixa central de texto da quantidade */
    body.single-product form.cart:not(#botao-compra form.cart):not(.botao-compra form.cart):not(.products *) .fika-qty-row div.quantity,
    body.single-product form.cart:not(#botao-compra form.cart):not(.botao-compra form.cart):not(.products *) .fika-qty-row .quantity {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        width: 48px !important;
        flex: 0 0 48px !important;
        background-color: #ffffff !important;
        border-left: 1.5px solid #ebdcd9 !important;
        border-right: 1.5px solid #ebdcd9 !important;
        border-top: none !important;
        border-bottom: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.single-product form.cart:not(#botao-compra form.cart):not(.botao-compra form.cart):not(.products *) .fika-qty-row input.qty {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        text-align: center !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border: none !important;
        background-color: #ffffff !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Botão COMPRAR da página de produto */
    body.single-product form.cart:not(#botao-compra form.cart):not(.botao-compra form.cart):not(.products *) button.single_add_to_cart_button,
    body.single-product form.cart:not(#botao-compra form.cart):not(.botao-compra form.cart):not(.products *) .single_add_to_cart_button {
        flex: 1 1 auto !important;
        width: auto !important;
        height: 48px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        margin: 0 !important;
    }
}

/* =================================================================
   Ajustes Premium do Container Fixo de Compra Mobile/Tablet (#botao-compra)
   ================================================================= */
#botao-compra, .botao-compra {
    position: fixed !important;
    bottom: 20px !important; /* Flutua acima do rodapé físico */
    left: 50% !important;
    right: auto !important;
    width: 80% !important;
    max-width: 450px !important;
    height: 60px !important; /* Altura de cápsula fixa */
    background-color: #ffffff !important;
    box-shadow: 0 8px 30px rgba(95, 50, 38, 0.15) !important;
    z-index: 99999 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 30px !important; /* Formato pílula/cápsula premium */
    border: 1.5px solid #ebdcd9 !important;
    overflow: hidden !important;
    
    /* Regra de exibição: invisível e deslocado por padrão até scrollar */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-50%) translateY(120%) !important;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#botao-compra.visible, .botao-compra.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Garante o preenchimento total e alinhamento do form dentro do widget fixed */
#botao-compra .elementor-add-to-cart,
.botao-compra .elementor-add-to-cart {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

#botao-compra form.cart,
.botao-compra form.cart {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

#botao-compra .fika-main-buy-box,
.botao-compra .fika-main-buy-box {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 16px !important; /* Espaçamento interno lateral */
    gap: 12px !important;
    background-color: transparent !important;
    box-sizing: border-box !important;
}

/* Ajustes da quantidade dentro do widget fixed */
#botao-compra .fika-qty-row,
.botao-compra .fika-qty-row {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    width: 105px !important; /* Mais estreito no mobile para dar espaço ao botão */
    min-width: 105px !important;
    max-width: 105px !important;
    flex: 0 0 105px !important;
    height: 40px !important;
    border: 1.5px solid #ebdcd9 !important;
    border-radius: 20px !important; /* Combina com o estilo arredondado */
    background-color: #ffffff !important;
    overflow: hidden !important;
    gap: 0 !important;
    margin: 0 !important;
}

#botao-compra .fika-qty-row button.quantity-btn,
.botao-compra .fika-qty-row button.quantity-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 100% !important;
    flex: 0 0 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    background-color: #fdfaf7 !important;
}

#botao-compra .fika-qty-row div.quantity,
#botao-compra .fika-qty-row .quantity,
.botao-compra .fika-qty-row div.quantity,
.botao-compra .fika-qty-row .quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 41px !important;
    flex: 0 0 41px !important;
    background-color: #ffffff !important;
    border-left: 1.5px solid #ebdcd9 !important;
    border-right: 1.5px solid #ebdcd9 !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#botao-compra .fika-qty-row input.qty,
.botao-compra .fika-qty-row input.qty {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    background-color: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Botão de Compra dentro do widget fixed */
#botao-compra .single_add_to_cart_button,
#botao-compra .add_to_cart_button,
.botao-compra .single_add_to_cart_button,
.botao-compra .add_to_cart_button {
    flex: 1 1 auto !important;
    width: auto !important;
    height: 40px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 20px !important; /* Combina com o estilo arredondado */
    margin: 0 !important;
    padding: 0 16px !important;
}

/* Esconde o bloco de segurança e confiança permanentemente no widget fixo */
#botao-compra .fika-product-trust-block,
.botao-compra .fika-product-trust-block {
    display: none !important;
}







/* =================================================================
   20. DIREÇÃO PREMIUM v2 — paleta aprovada (branco + café + verde)
   Tokens: café #5F3226 · rosa-creme #FFECE7 · verde-claro #B7E38F ·
           branco #FFFFFF · cinza-neve #F9FAFD
   Regra: card branco, CTA café sólido, stepper de quantidade
   ao lado do botão de compra na vitrine.
   ================================================================= */
:root {
    --fika-cafe: #5F3226;
    --fika-cafe-escuro: #4A2318;
    --fika-rosa: #FFECE7;
    --fika-verde: #B7E38F;
    --fika-verde-escuro: #94C46A;
    --fika-neve: #F9FAFD;
    --fika-borda: #EFE3DF;
}

/* ---------- Card da vitrine (branco puro) ---------- */
ul.products li.product {
    background: #FFFFFF;
    border: 1px solid var(--fika-borda);
    border-radius: 10px;
    transition: box-shadow .25s ease, transform .25s ease;
}
ul.products li.product:hover {
    box-shadow: 0 6px 20px rgba(95, 50, 38, .10);
    border-color: var(--fika-borda);
    transform: translateY(-2px);
}
ul.products li.product .woocommerce-LoopProduct-link,
ul.products li.product .woocommerce-Loop-product-link {
    background: #FFFFFF;
}
ul.products li.product .attachment-woocommerce_thumbnail {
    mix-blend-mode: normal;
}
ul.products li.product:hover .attachment-woocommerce_thumbnail {
    transform: scale(1.02);
}
ul.products li.product .woocommerce-loop-product__title {
    color: var(--fika-cafe);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
}

/* ---------- Hierarquia de preço ---------- */
ul.products li.product .price {
    color: var(--fika-cafe);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}
ul.products li.product .price del {
    font-size: 12px;
    color: #A99C8D;
    opacity: 1;
}
ul.products li.product .price ins {
    font-size: 18px;
    font-weight: 700;
    color: var(--fika-cafe);
}

/* ---------- Buy box: quantidade AO LADO do botão de compra ---------- */
ul.products li.product .fika-main-buy-box {
    padding: 0 14px;
    margin: 12px auto 16px;
}

/* ---------- CTA café sólido (botão de compra na vitrine) ---------- */
ul.products li.product .button,
ul.products li.product .add_to_cart_button {
    background: var(--fika-cafe) !important;
    border: 1.5px solid var(--fika-cafe) !important;
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    border-radius: 8px;
    padding: 12px 16px;
    transition: background .2s ease, border-color .2s ease;
    text-transform: none;
}
ul.products li.product .button:hover,
ul.products li.product .add_to_cart_button:hover {
    background: var(--fika-cafe-escuro) !important;
    border-color: var(--fika-cafe-escuro) !important;
    color: #FFFFFF !important;
}

/* ---------- Selo de desconto: verde-claro com café ---------- */
.woocommerce span.onsale,
ul.products li.product .onsale {
    background: var(--fika-verde) !important;
    color: var(--fika-cafe) !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 9px;
    border-radius: 999px;
    min-width: 0;
    min-height: 0;
    top: 10px;
    right: 10px;
    left: auto;
    margin: 0;
    box-shadow: none;
}

/* AWL — plugin imprime cores inline; precisa !important em tudo */
.awl-product-label,
.awl-product-label .awl-inner-text,
.awl-product-label .awl-label-text,
.awl-product-label .awl-label-before,
.awl-product-label .awl-label-after {
    background: var(--fika-verde) !important;
    color: var(--fika-cafe) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    padding: 5px 9px !important;
}
.awl-product-label .awl-angle-before,
.awl-product-label .awl-angle-after,
.awl-product-label svg {
    display: none !important;
}
/* Oculta o rótulo "OFERTA!" (id-16460); fica só o % OFF (id-16459) */
.awl-label-wrap.awl-label-id-16460 {
    display: none !important;
}

/* ---------- Botões de fluxo de compra em café sólido ---------- */
.fika-cart-checkout-btn,
.woocommerce .fika-cart-checkout-btn.button {
    background: var(--fika-cafe) !important;
    color: #FFFFFF !important;
    border: none;
    transition: background .2s ease;
}
.fika-cart-checkout-btn:hover {
    background: var(--fika-cafe-escuro) !important;
}
.single-product form.cart .single_add_to_cart_button {
    background: var(--fika-cafe) !important;
    color: #FFFFFF !important;
    border: none !important;
    transition: background .2s ease;
}
.single-product form.cart .single_add_to_cart_button:hover {
    background: var(--fika-cafe-escuro) !important;
}

/* =================================================================
   21. NAVEGAÇÃO FLUIDA (estilo Shopify) — par do fika-fluid.js
   ================================================================= */

/* Fade suave entre páginas (View Transitions cross-document).
   Navegadores sem suporte simplesmente ignoram. */
@view-transition {
    navigation: auto;
}
::view-transition-old(root) {
    animation: fika-vt-out 160ms ease both;
}
::view-transition-new(root) {
    animation: fika-vt-in 200ms ease both;
}
@keyframes fika-vt-out {
    to { opacity: 0; }
}
@keyframes fika-vt-in {
    from { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
}

/* Barra de progresso fina no topo durante a navegação */
#fika-nav-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #B7E38F, #5F3226);
    z-index: 2147483647;
    pointer-events: none;
    opacity: 0;
}
#fika-nav-progress.active {
    opacity: 1;
    animation: fika-progress 8s cubic-bezier(0.1, 0.6, 0.2, 1) forwards;
}
#fika-nav-progress.done {
    opacity: 0;
    width: 0;
    transition: opacity .2s ease;
}
@keyframes fika-progress {
    0% { width: 0; }
    10% { width: 45%; }
    35% { width: 72%; }
    100% { width: 94%; }
}

/* =================================================================
   22. AJUSTE MOBILE — remover margem lateral exagerada da vitrine
   Elementor + WooCommerce padrão empilham vários paddings de 10-20px
   em torno do grid; no mobile isso rouba largura útil. Achatamos
   TODOS eles até o nível do card. O card mantém seu próprio spacing.
   ================================================================= */
@media (max-width: 767px) {
    /* Containers Elementor que embrulham o widget de produtos */
    .elementor-section .elementor-container,
    .elementor-section > .elementor-container,
    .e-con.e-parent,
    .e-con-inner,
    .elementor-widget-wrap,
    .elementor-widget-woocommerce-products,
    .elementor-widget-jet-woo-products,
    .elementor-widget-wc-archive-products {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    /* WooCommerce/Jet loop wrapper */
    .woocommerce ul.products,
    ul.products,
    .jet-woo-products,
    .jet-woo-products__list,
    .jet-listing-grid {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Grid de 2 colunas mais estreito nas laterais */
    .woocommerce ul.products li.product,
    ul.products li.product,
    .jet-woo-products__item {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* O grid usa gap ao invés de padding externo */
    .woocommerce ul.products,
    ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

/* =================================================================
   23. BOTTOM NAV MOBILE (estilo app)
   ================================================================= */
@media (max-width: 767px) {
    body { padding-bottom: 64px !important; }

    /* Sobe o sticky buy box do produto para não colidir com a bottom nav */
    #botao-compra, .botao-compra {
        bottom: 84px !important; /* 64px barra + 20px espaço original */
    }

    .fika-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9998;
        height: 64px;
        background: #ffffff;
        border-top: 1px solid var(--fika-borda);
        box-shadow: 0 -2px 12px rgba(95, 50, 38, .08);
        justify-content: space-around;
        align-items: center;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .fika-bottom-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        flex: 1;
        text-decoration: none;
        color: #aaa;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: .3px;
        transition: color .2s;
        padding: 8px 0;
    }

    .fika-bottom-nav__item svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;
    }

    .fika-bottom-nav__item.is-active,
    .fika-bottom-nav__item:active {
        color: var(--fika-cafe);
    }

    .fika-bottom-nav__cart-wrap {
        position: relative;
        display: flex;
    }

    .fika-bottom-nav__badge {
        position: absolute;
        top: -6px;
        right: -8px;
        background: var(--fika-cafe);
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 3px;
        line-height: 1;
    }
}

@media (min-width: 768px) {
    .fika-bottom-nav { display: none; }
}

/* Search overlay: oculto por padrão em todos os breakpoints */
.fika-search-overlay { display: none; }

/* adOpt cookie icon: sobe acima da bottom nav no mobile */
@media (max-width: 767px) {
    #adopt-controller-button {
        bottom: 74px !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

    /* WhatsApp: mesmo tamanho reduzido no mobile */
    .fika-wa-wrapper {
        transform: scale(0.73) !important;
        transform-origin: bottom right !important;
    }
}

/* =================================================================
   24. AJUSTES MOBILE PÓS-BOTTOM-NAV
   ================================================================= */

/* 1. WhatsApp flutuante: acima da bottom nav, direita */
@media (max-width: 767px) {
    .fika-wa-wrapper {
        bottom: 74px !important;
    }
    body.fika-sticky-active .fika-wa-wrapper {
        bottom: 154px !important;
    }


    /* 3. Overlay de busca */
    .fika-search-overlay {
        position: fixed;
        inset: 0;
        z-index: 99999;
        background: rgba(0, 0, 0, .55);
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
    }
    .fika-search-overlay.is-open {
        opacity: 1;
        pointer-events: all;
    }
    .fika-search-overlay__box {
        background: #fff;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        gap: 10px;
        border-bottom: 1px solid var(--fika-borda);
    }
    .fika-search-overlay__input {
        flex: 1;
        border: none;
        outline: none;
        font-size: 16px; /* evita zoom iOS */
        color: #333;
        background: transparent;
        padding: 6px 0;
    }
    .fika-search-overlay__close {
        background: none;
        border: none;
        padding: 4px;
        cursor: pointer;
        color: #666;
        display: flex;
        align-items: center;
    }
    .fika-search-overlay__close svg {
        width: 20px;
        height: 20px;
    }
    .fika-search-overlay__backdrop {
        flex: 1;
    }
}

/* =================================================================
   25. PÁGINA MINHA CONTA — formulários de login/cadastro compactos
   ================================================================= */
@media (max-width: 767px) {
    .woocommerce-account .u-columns.col2-set {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .woocommerce-account .u-column1,
    .woocommerce-account .u-column2 {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }

    /* Títulos "Entrar" e "Cadastre-se" */
    .woocommerce-account .col2-set h2 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
        margin-top: 0 !important;
    }

    /* Formulários */
    .woocommerce-account .woocommerce-form-login,
    .woocommerce-account .woocommerce-form-register {
        padding: 16px !important;
        margin: 0 !important;
        border: 1px solid var(--fika-borda) !important;
        border-radius: 10px !important;
    }

    /* Campos internos */
    .woocommerce-account .woocommerce-form__label,
    .woocommerce-account .woocommerce-form-row {
        margin-bottom: 10px !important;
    }

    .woocommerce-account .woocommerce-form-row:last-of-type {
        margin-bottom: 0 !important;
    }
}

/* =================================================================
   26. PAGINAÇÃO DA LOJA — alinhada ao padrão visual (café, bordas arredondadas)
   ================================================================= */
.woocommerce-pagination ul.page-numbers,
nav.woocommerce-pagination {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 32px 0 !important;
    padding: 0;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* Neutraliza o estilo "barra unida" do widget Products Archive do Elementor
   (a li desenha uma borda quadrada própria e corta o arredondamento do link) */
.woocommerce-pagination .page-numbers li {
    display: inline-flex !important;
    overflow: visible !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.woocommerce-pagination .page-numbers li a.page-numbers,
.woocommerce-pagination .page-numbers li span.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    border: 1px solid var(--fika-borda) !important;
    border-radius: 8px !important;
    background: #fff;
    color: var(--fika-cafe);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}

.woocommerce-pagination .page-numbers li a.page-numbers:hover {
    background: var(--fika-rosa);
    border-color: var(--fika-cafe);
}

.woocommerce-pagination .page-numbers li span.page-numbers.current {
    background: var(--fika-cafe);
    border-color: var(--fika-cafe);
    color: #fff;
}

.woocommerce-pagination .page-numbers li span.page-numbers.dots {
    border: none;
    background: transparent;
    color: var(--fika-cafe);
}

.woocommerce-pagination .page-numbers li a.next,
.woocommerce-pagination .page-numbers li a.prev {
    font-size: 16px;
}

/* =================================================================
   27. LOGIN/CADASTRO UNIFICADO — página /minha-conta/
   Fluxo: e-mail -> senha (cliente existente) ou criar senha (novo cliente)
   ================================================================= */
.fika-unified-login {
    max-width: 460px;
    min-height: 55vh;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fika-unified-login__card {
    width: 100%;
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(74, 35, 24, .10);
    padding: 40px 36px 36px;
}

.fika-unified-login__card[hidden] {
    display: none;
}

.fika-unified-login__card h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--fika-cafe);
    margin: 0 0 20px;
    letter-spacing: .3px;
}

.fika-unified-login__hr {
    border: none;
    border-top: 1px solid var(--fika-borda);
    margin: 0 0 20px !important;
}

.fika-unified-login__hint {
    font-size: 14px;
    color: var(--fika-cafe-escuro);
    margin: 0 0 20px !important;
}

.fika-unified-login__card label {
    display: block !important;
    font-size: 13px;
    font-weight: 600;
    color: var(--fika-cafe);
    margin: 0 0 8px !important;
}

.fika-unified-login__card label .required {
    color: var(--fika-cafe);
}

.fika-unified-login__card input[type="text"],
.fika-unified-login__card input[type="email"],
.fika-unified-login__card input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--fika-borda);
    border-radius: 8px;
    font-size: 14px;
    margin: 0 0 18px !important;
}

.fika-unified-login__card input:focus {
    outline: none;
    border-color: var(--fika-cafe);
}

.fika-unified-login__pass-wrap {
    position: relative;
}

.fika-unified-login__pass-wrap input {
    padding-right: 44px !important;
}

.fika-unified-login__toggle-pass {
    position: absolute;
    right: 12px;
    top: 12px;
    background: none;
    border: none;
    color: var(--fika-cafe);
    cursor: pointer;
    padding: 4px;
}

.fika-unified-login__toggle-pass svg {
    width: 18px;
    height: 18px;
}

.fika-unified-login__email-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--fika-borda);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--fika-cafe-escuro);
}

.fika-unified-login__change {
    background: none;
    border: none;
    color: var(--fika-cafe);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .3px;
    cursor: pointer;
    padding: 0;
}

.fika-unified-login__remember {
    display: flex !important;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 400 !important;
    color: var(--fika-cafe-escuro);
    margin: -6px 0 18px !important;
    cursor: pointer;
}

.fika-unified-login__privacy {
    font-size: 12px;
    line-height: 1.5;
    color: var(--fika-cafe-escuro);
    margin: -4px 0 20px !important;
}

.fika-unified-login__privacy a {
    color: var(--fika-cafe);
    font-weight: 700;
    text-decoration: underline;
}

.fika-unified-login__submit {
    display: block !important;
    width: 100% !important;
    background: var(--fika-cafe) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 15px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: normal !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
    cursor: pointer;
    transition: background .2s;
    box-shadow: none !important;
}

.fika-unified-login__submit:hover {
    background: var(--fika-cafe-escuro) !important;
}

.fika-unified-login__submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.fika-unified-login__lost {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--fika-cafe);
    margin: 16px 0 0;
    text-decoration: underline;
}

.fika-unified-login__error {
    display: none;
    background: var(--fika-borda);
    color: var(--fika-cafe-escuro);
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.fika-unified-login__error.is-visible {
    display: block;
}

@media (max-width: 480px) {
    .fika-unified-login {
        margin: 20px auto;
    }
    .fika-unified-login__card {
        padding: 24px 20px 20px;
    }
}
