/*
 Theme Name:   Envo Royal Child
 Theme URI:    https://e-ceasa.com/
 Description:  Tema filho do Envo Royal customizado para o e-Ceasa, replicando elementos visuais e de layout do tema Various do Shopify.
 Author:       WebContent
 Author URI:   https://e-ceasa.com/
 Template:     envo-royal
 Version:      1.0.2
 Text Domain:  envo-royal-child
*/

:root {
    /* Cores Principais do Layout */
    --eceasa-green-dark: #002b26;
    /* Verde Floresta Escuro (Premium, B2B) */
    --eceasa-green-light: #439519;
    /* Verde Vivo (Cor Oficial do Logotipo) */
    --eceasa-gold: #ffbf00;
    /* Amarelo/Dourado (Ofertas e Destaques) */
    --eceasa-gold-hover: #e5ab00;
    /* Amarelo/Dourado Escurecido para Hover */

    /* Mapeamento de compatibilidade com classes legadas / Elementor */
    --various-green: var(--eceasa-green-dark);
    --various-gold: var(--eceasa-gold);

    /* Cores de Texto e Neutras */
    --eceasa-text-dark: #333333;
    /* Cinza Escuro do Logo (Substitui o preto puro, suaviza a leitura) */
    --eceasa-text-light: #ffffff;
    /* Branco */
    --eceasa-creme: #f3f2ea;
    /* Creme Suave */
    --eceasa-bg-light: #fcfdfb;
    /* Fundo Geral Claro/Sutil */
    --eceasa-border-color: rgba(0, 43, 38, 0.08);
    /* Borda sutil com tom verde floresta */

    /* Degradês (Gradients) Premium */
    /* 1. Gradiente Verde Corporativo (Mescla o Verde Escuro com o Verde Vivo do Logo) */
    --eceasa-gradient-green: linear-gradient(135deg, var(--eceasa-green-dark) 0%, #154a3a 50%, var(--eceasa-green-light) 100%);

    /* 2. Gradiente Dourado Enérgico para Botões e Ações */
    --eceasa-gradient-gold: linear-gradient(135deg, var(--eceasa-gold) 0%, #ffa200 100%);

    /* 3. Gradiente Suave de Fundo para Seções Neutras */
    --eceasa-gradient-bg-soft: linear-gradient(180deg, var(--eceasa-bg-light) 0%, #f4f6f3 100%);
}

body {
    color: var(--eceasa-text-dark);
}

/* Adicione customizações globais de estilos que não sejam específicas da homepage aqui. */

/* Ocultar cabeçalhos e barras superiores originais do Envo Royal residuais */
.top-bar-section,
.site-header,
.main-menu,
.business-heading,
.woo-heading,
#second-site-navigation {
    display: none !important;
}

/* --- NOVO CABEÇALHO VARIOUS (SHOPIFY) --- */

/* 1. Barra de Anúncios Superior */
.eceasa-announcement-bar {
    background: var(--eceasa-gradient-green);
    padding: 8px 15px;
    min-height: 38px;
    overflow: hidden;
    position: relative;
    z-index: 100;
    text-align: center;
}

.eceasa-announcement-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.eceasa-announcement-slide {
    display: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.eceasa-announcement-slide.active {
    display: flex;
    animation: slideFadeIn 0.5s ease-in-out;
}

.eceasa-announcement-slide a {
    color: var(--eceasa-gold);
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

.eceasa-announcement-slide a:hover {
    text-decoration: underline;
}

/* 2. Header Principal */
.eceasa-main-header {
    background: #ffffff;
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(0, 43, 38, 0.08);
    position: relative;
    z-index: 99;
}

.eceasa-header-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* 3 Colunas do Header */
.eceasa-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
}

.eceasa-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 650px;
}

.eceasa-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

/* Ícones da Direita */
.eceasa-header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.eceasa-header-link {
    color: #002b26;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.eceasa-header-link:hover {
    color: #ffbf00;
}

.eceasa-header-icon {
    color: #002b26;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.eceasa-header-icon:hover {
    color: #ffbf00;
}

.eceasa-header-icon svg {
    width: 22px;
    height: 22px;
}

.eceasa-icon-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eceasa-cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.eceasa-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffbf00;
    color: #002b26;
    font-size: 10px;
    font-weight: 800;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.eceasa-cart-badge.empty {
    display: none;
}

.eceasa-cart-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.eceasa-cart-title {
    font-size: 9px;
    color: rgba(0, 43, 38, 0.5);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.eceasa-cart-amount {
    font-size: 13px;
    font-weight: 700;
    color: #002b26;
}

/* Logo */
.eceasa-header-logo {
    flex-shrink: 0;
}

.eceasa-header-logo img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.eceasa-header-logo .logo-link {
    text-decoration: none;
}

.eceasa-header-logo .logo-text {
    font-size: 24px;
    font-weight: 900;
    color: #002b26;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

/* Botão Menu de Categorias Lateral */
.eceasa-nav-categories {
    flex-shrink: 0;
}

.eceasa-categories-btn {
    border: none;
    background: #002b26;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 30px;
    /* Arredondado estilo Maximize */
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid #002b26;
}

.eceasa-categories-btn:hover {
    background: var(--eceasa-gradient-gold);
    color: var(--eceasa-green-dark);
    border-color: var(--eceasa-gold);
}

.eceasa-categories-btn svg {
    width: 16px;
    height: 16px;
}

/* Caixa de Busca */
.eceasa-header-search {
    width: 100%;
}

.eceasa-search-form {
    width: 100%;
    margin: 0;
}

.eceasa-search-fields {
    display: flex;
    border: 2px solid #002b26;
    border-radius: 30px;
    overflow: hidden;
    background: #ffffff;
    transition: box-shadow 0.3s ease;
}

.eceasa-search-fields:focus-within {
    box-shadow: 0 0 0 4px rgba(0, 43, 38, 0.1);
}

.eceasa-search-category-select {
    background: #f4f6f5;
    border-right: 1px solid rgba(0, 43, 38, 0.1);
    padding: 0 12px;
    display: flex;
    align-items: center;
}

.eceasa-search-category-select select {
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: #002b26;
    outline: none;
    padding: 8px 5px;
    height: 100%;
    cursor: pointer;
}

.eceasa-search-input {
    border: none;
    outline: none;
    padding: 10px 15px;
    font-size: 13px;
    color: #002b26;
    flex-grow: 1;
    background: transparent;
    width: 100%;
}

.eceasa-search-input::placeholder {
    color: rgba(0, 43, 38, 0.45);
}

.eceasa-search-submit {
    border: none;
    background: var(--eceasa-gradient-gold);
    color: var(--eceasa-green-dark);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.eceasa-search-submit:hover {
    background: linear-gradient(135deg, #ffa200 0%, var(--eceasa-gold) 100%);
}

.eceasa-search-submit svg {
    width: 16px;
    height: 16px;
}

/* --- GAVETA LATERAL (SIDEBAR DRAWER) --- */
.eceasa-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: #ffffff;
    box-shadow: 4px 0 15px rgba(0, 43, 38, 0.15);
    z-index: 10000;
    transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.eceasa-drawer.open {
    left: 0;
}

.eceasa-drawer-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 43, 38, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #002b26;
    color: #ffffff;
}

.eceasa-drawer-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
}

.eceasa-drawer-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.2s ease;
}

.eceasa-drawer-close:hover {
    color: #ffbf00;
}

.eceasa-drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

/* Lista de Itens do Menu Principal no Drawer */
.eceasa-drawer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.eceasa-drawer-menu-list li {
    position: relative;
    width: 100%;
}

.eceasa-drawer-menu-list a {
    display: block;
    padding: 12px 25px;
    color: #002b26;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 43, 38, 0.03);
    transition: all 0.2s ease;
}

.eceasa-drawer-menu-list a:hover {
    background: #f4f6f5;
    color: #ffbf00;
    padding-left: 30px;
}

/* Submenus no Drawer */
.eceasa-drawer-menu-list .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fafafa;
}

.eceasa-drawer-menu-list .sub-menu a {
    padding-left: 40px;
    font-size: 13px;
    font-weight: 500;
}

.eceasa-drawer-menu-list .sub-menu a:hover {
    padding-left: 45px;
}

/* Overlay Escuro */
.eceasa-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 38, 0.6);
    backdrop-filter: blur(2px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.eceasa-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

body.eceasa-drawer-open {
    overflow: hidden;
}

/* --- INTEGRAÇÃO DO MEGA MENU (ELEMENTSKIT) NO DRAWER --- */

/* Impedir que o ElementsKit force estilos de menu horizontal ou dropdowns flutuantes padrão dentro da gaveta lateral */
.eceasa-drawer .eceasa-drawer-menu-list {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

/* Ocultar cabeçalho móvel / botão voltar por padrão no Desktop */
.eceasa-mobile-back-btn {
    display: none !important;
}

/* Reset de especificidade máxima para o Painel de Mega Menu no Desktop */
#eceasa-sidebar-drawer.eceasa-drawer ul.eceasa-drawer-menu-list.elementskit-navbar-nav li.elementskit-megamenu-has div.elementskit-megamenu-panel {
    position: fixed !important;
    top: 0 !important;
    left: -480px !important;
    /* Escondido fora da tela */
    width: 480px !important;
    height: 100vh !important;
    background: #ffffff !important;
    box-shadow: 4px 0 15px rgba(0, 43, 38, 0.12) !important;
    border-left: 1px solid rgba(0, 43, 38, 0.08) !important;
    display: block !important;
    /* Anula display none do plugin */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-15px) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    z-index: -1 !important;
    /* Posicionado atrás do Drawer principal para evitar conflito de hover */
    overflow-y: auto !important;
    padding: 30px !important;
}

/* Ao passar o mouse sobre o item que possui megamenu, ou sobre o próprio painel, abre o mega menu */
@media (min-width: 992px) {
    #eceasa-sidebar-drawer.eceasa-drawer {
        width: 320px !important;
        /* Um pouco mais largo para acomodar o menu lateral principal */
        left: -340px !important;
        overflow: visible !important;
        /* IMPORTANTE: impede corte do mega menu */
    }

    #eceasa-sidebar-drawer.eceasa-drawer.open {
        left: 0 !important;
    }

    #eceasa-sidebar-drawer.eceasa-drawer .eceasa-drawer-nav {
        overflow: visible !important;
        /* IMPORTANTE: impede corte do mega menu */
    }

    #eceasa-sidebar-drawer.eceasa-drawer ul.eceasa-drawer-menu-list.elementskit-navbar-nav li.elementskit-megamenu-has {
        position: static !important;
        /* Necessário para que o painel fixed se posicione em relação à barra lateral, não ao item li */
    }

    /* Quando o drawer estiver aberto e passarmos o mouse no li ou no painel */
    #eceasa-sidebar-drawer.eceasa-drawer ul.eceasa-drawer-menu-list.elementskit-navbar-nav li.elementskit-megamenu-has:hover div.elementskit-megamenu-panel,
    #eceasa-sidebar-drawer.eceasa-drawer div.elementskit-megamenu-panel:hover {
        opacity: 1 !important;
        visibility: visible !important;
        left: 320px !important;
        /* Alinhado ao lado direito do drawer principal */
        transform: translateX(0) !important;
    }
}

/* --- ESTILOS DO CONTEÚDO DO MEGA MENU (DESIGN INTERNO) --- */

/* Resetando margens e paddings indesejados gerados pelo widget do ElementsKit dentro do painel */
#eceasa-sidebar-drawer.eceasa-drawer .elementskit-megamenu-panel .elementor-section-wrap,
#eceasa-sidebar-drawer.eceasa-drawer .elementskit-megamenu-panel .elementor-section {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Estilos de links internos gerados no Elementor */
#eceasa-sidebar-drawer.eceasa-drawer .elementskit-megamenu-panel a {
    border-bottom: none !important;
    padding: 6px 0 !important;
    font-weight: 500;
    color: #555555;
    transition: all 0.2s ease;
}

#eceasa-sidebar-drawer.eceasa-drawer .elementskit-megamenu-panel a:hover {
    color: var(--eceasa-green-light) !important;
    background: transparent !important;
    padding-left: 5px !important;
}

/* Estilo para alinhar o item de menu do ElementsKit */
#eceasa-sidebar-drawer.eceasa-drawer .elementskit-megamenu-has>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Customizar o indicador de submenu do ElementsKit para usar um caractere de seta direita universal (❯) e ocultar o ícone quebrado */
#eceasa-sidebar-drawer.eceasa-drawer i.elementskit-submenu-indicator.icon {
    font-family: inherit !important;
}

#eceasa-sidebar-drawer.eceasa-drawer .elementskit-submenu-indicator {
    margin-left: auto;
    font-size: 0 !important;
    /* Esconde o caractere quadrado original da fonte */
    color: rgba(0, 43, 38, 0.4);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: inline-block;
}

#eceasa-sidebar-drawer.eceasa-drawer .elementskit-submenu-indicator::before {
    content: "\276f" !important;
    /* Caractere de seta direita universal e elegante (❯) */
    font-family: inherit !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: inline-block !important;
}

/* Indicador de submenu no hover do item principal no Desktop */
@media (min-width: 992px) {
    #eceasa-sidebar-drawer.eceasa-drawer .elementskit-megamenu-has:hover .elementskit-submenu-indicator {
        transform: translateX(4px) !important;
        /* Deslocamento suave para a direita */
        color: var(--eceasa-gold) !important;
    }
}

/* --- ADAPTAÇÃO PARA DISPOSITIVOS MÓVEIS (DRILL-DOWN FLOW) --- */
@media (max-width: 991px) {

    /* Container do Drawer no Mobile */
    .eceasa-drawer {
        width: 280px;
        left: -300px;
        overflow: hidden !important;
        /* Importante para o slide horizontal do submenu */
    }

    .eceasa-drawer.open {
        left: 0;
    }

    /* Efeito de transição suave quando o submenu é ativado */
    .eceasa-drawer.eceasa-submenu-active .eceasa-drawer-nav {
        opacity: 0.3;
        transform: scale(0.97);
        pointer-events: none;
    }

    .eceasa-drawer-nav {
        transition: all 0.3s ease;
    }

    /* Painel do Mega Menu no Mobile (desliza por cima) */
    #eceasa-sidebar-drawer.eceasa-drawer ul.eceasa-drawer-menu-list.elementskit-navbar-nav li.elementskit-megamenu-has div.elementskit-megamenu-panel {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: #ffffff !important;
        z-index: 10100 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(100%) !important;
        /* Escondido à direita */
        transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.15s ease !important;
        padding: 0 15px 30px !important;
        box-shadow: none !important;
        border-left: none !important;
    }

    /* Quando ativado pelo clique */
    #eceasa-sidebar-drawer.eceasa-drawer ul.eceasa-drawer-menu-list.elementskit-navbar-nav li.elementskit-megamenu-has div.elementskit-megamenu-panel.open {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
        /* Desliza para cobrir a tela */
    }

    /* Cabeçalho de Retorno / Voltar no Mobile */
    .eceasa-mobile-back-btn {
        display: flex !important;
        align-items: center;
        padding: 18px 5px;
        border-bottom: 1px solid var(--eceasa-border-color);
        margin-bottom: 15px;
        color: var(--eceasa-green-dark);
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        background: #fbfcfb;
    }

    .eceasa-back-arrow {
        font-size: 18px;
        margin-right: 10px;
        color: var(--eceasa-green-light);
        font-weight: 700;
        transition: transform 0.2s ease;
    }

    .eceasa-mobile-back-btn:hover .eceasa-back-arrow {
        transform: translateX(-3px);
    }
}

/* --- BARRA DE MENU INFERIOR DE LARGURA TOTAL --- */
.eceasa-bottom-header-menu {
    background: #ffffff;
    padding: 20px 0 0;
    width: 100%;
}

.eceasa-bottom-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: center;
}

.eceasa-bottom-header-menu .eceasa-horizontal-menu {
    width: 100%;
    display: flex;
    justify-content: center;
}

.eceasa-menu-list {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.eceasa-menu-list li {
    position: relative;
}

.eceasa-menu-list a {
    color: #002b26;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    display: inline-block;
    transition: color 0.2s ease;
}

.eceasa-menu-list a:hover {
    color: #ffbf00;
}

/* Submenus (Dropdowns) do Menu Horizontal Secundário */
.eceasa-menu-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 43, 38, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    margin: 0;
    list-style: none;
    min-width: 220px;
    z-index: 1000;
    border-radius: 6px;
}

.eceasa-menu-list li:hover>.sub-menu {
    display: block;
    animation: slideFadeIn 0.2s ease-in-out;
}

.eceasa-menu-list .sub-menu li {
    width: 100%;
}

.eceasa-menu-list .sub-menu a {
    padding: 10px 20px !important;
    display: block !important;
    width: 100%;
    box-sizing: border-box;
    text-transform: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border: none !important;
}

.eceasa-menu-list .sub-menu a:hover {
    background-color: #f4f6f5;
    color: #ffbf00 !important;
}

/* Responsividade do Cabeçalho */
@media (max-width: 991px) {
    .eceasa-header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .eceasa-header-left {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }

    .eceasa-header-center {
        max-width: 100%;
        width: 100%;
    }

    .eceasa-header-right {
        justify-content: center;
        width: 100%;
    }

    .eceasa-header-search {
        max-width: 100%;
        width: 100%;
    }

    .eceasa-header-icons {
        justify-content: center;
        width: 100%;
        gap: 20px;
    }

    .eceasa-bottom-header-menu {
        display: none !important;
    }
}

/* Ajustes responsivos adicionais para submenus no mobile */
@media (max-width: 991px) {
    .eceasa-menu-list .sub-menu {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        padding: 5px 0 5px 20px;
        background: #fafafa;
        min-width: auto;
    }
}

/* ==========================================================================
   ESTILOS ADICIONAIS DA HOMEPAGE VARIOUS (SHOPIFY) MIGRADOS DO PHP
   ========================================================================== */
.various-section {
    padding: 60px 0;
}

.various-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.various-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.various-section-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    color: var(--various-green);
}

.various-view-all {
    color: var(--various-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: color 0.3s ease;
}

.various-view-all:hover {
    color: var(--various-gold);
}

.various-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Slider Hero */
.various-hero-slider-section {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.various-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.various-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
}

.various-slide.active {
    opacity: 1;
    z-index: 2;
}

.various-slide-content {
    max-width: 600px;
    margin-left: 10%;
    color: #ffffff;
    z-index: 3;
}

.various-slide-content h2 {
    font-size: 56px;
    font-weight: 800;
    margin: 10px 0 20px 0;
    color: #ffffff !important;
    line-height: 1.1;
}

.various-slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.slide-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--various-gold);
    font-weight: 700;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 4;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: var(--various-green);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dots .dot.active {
    background: var(--various-gold);
    width: 25px;
    border-radius: 10px;
}

/* Grids e Layouts */
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.align-center {
    align-items: center;
}

.showcase-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 43, 38, 0.15);
}

.showcase-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--various-gold);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.showcase-desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.showcase-timer-box {
    margin-bottom: 25px;
}

.timer-title {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--various-gold);
    margin-bottom: 10px;
    display: block;
}

.showcase-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.showcase-bullets li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.showcase-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--various-gold);
    font-weight: bold;
}

/* Abas */
.various-tabs-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
    border-bottom: 2px solid var(--various-border);
    padding-bottom: 10px;
}

.various-tab-btn {
    background: transparent;
    border: none;
    font-family: var(--various-heading-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--various-text-light);
    cursor: pointer;
    padding: 8px 16px;
    position: relative;
    transition: color 0.3s;
}

.various-tab-btn.active,
.various-tab-btn:hover {
    color: var(--various-green);
}

.various-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--various-gold);
}

.various-tab-content {
    display: none;
}

.various-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Responsividade */
@media (max-width: 992px) {
    .various-hero-slider-section {
        height: 450px;
    }

    .various-slide-content h2 {
        font-size: 42px;
    }

    .dual-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .various-section {
        padding: 40px 0;
    }

    .various-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Garantia de largura total para os wrappers estruturais da homepage */
.home.page-template-template-parts-template-page-builders-php #site-content.page-builders,
.home.page-template-template-parts-template-page-builders-php .page-builders-content-area {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* --- E-CEASA VENDORS MARQUEE (CARROSSEL INFINITO DE PARCEIROS/LOJISTAS) --- */
.eceasa-vendors-marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    border-bottom: 1px solid var(--various-border, #eaeaea);
    border-top: 1px solid var(--various-border, #eaeaea);
    padding: 18px 0;
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.eceasa-vendors-marquee-track {
    display: flex;
    width: max-content;
    animation: eceasa-marquee-animation 30s linear infinite;
    box-sizing: border-box;
}

.eceasa-vendors-marquee-track.pause-on-hover:hover {
    animation-play-state: paused;
}

.eceasa-vendors-marquee-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    box-sizing: border-box;
}

.eceasa-vendors-marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 45px;
    text-decoration: none;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.eceasa-vendors-marquee-item:hover {
    transform: scale(1.05);
}

.eceasa-vendors-marquee-item img {
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.eceasa-vendors-marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.eceasa-vendor-text-fallback {
    font-family: var(--various-heading-font, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 700;
    color: var(--various-text-light, #555555);
    background-color: var(--various-bg-alt, #f9f9f9);
    border: 1px solid var(--various-border, #eaeaea);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.eceasa-vendors-marquee-item:hover .eceasa-vendor-text-fallback {
    color: var(--various-green, #002b26);
    background-color: #ffffff;
    border-color: var(--various-gold, #ffbf00);
    box-shadow: 0 4px 8px rgba(0, 43, 38, 0.08);
}

@keyframes eceasa-marquee-animation {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- E-CEASA HOT DEALS CAROUSEL (MIGRAÇÃO DE SHORTCODE PARA WIDGET) --- */
.eceasa-hot-deals-wrapper {
    padding: 60px 0;
    width: 100%;
    box-sizing: border-box;
}

.eceasa-hot-deals-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: stretch;
}

.eceasa-hot-deals-left-col {
    background-color: var(--various-green, #002b26);
    color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 43, 38, 0.05);
}

.eceasa-hot-deals-subtitle {
    font-family: var(--various-body-font, 'Inter', sans-serif);
    font-size: 11px;
    font-weight: 700;
    color: var(--various-gold, #ffbf00);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.eceasa-hot-deals-left-col h2 {
    font-family: var(--various-heading-font, 'Outfit', sans-serif);
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #ffffff !important;
    line-height: 1.25;
}

.eceasa-hot-deals-desc {
    font-family: var(--various-body-font, 'Inter', sans-serif);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.eceasa-hot-deals-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.eceasa-filter-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 30px;
    font-family: var(--various-heading-font, 'Outfit', sans-serif);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.eceasa-filter-btn::after {
    content: '→';
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateX(-8px);
    font-weight: bold;
}

.eceasa-filter-btn:hover,
.eceasa-filter-btn.active {
    background: var(--eceasa-gradient-gold);
    color: var(--eceasa-green-dark) !important;
    border-color: var(--eceasa-gold);
    box-shadow: 0 4px 12px rgba(255, 191, 0, 0.2);
}

.eceasa-filter-btn:hover::after,
.eceasa-filter-btn.active::after {
    opacity: 1;
    transform: translateX(0);
}

.eceasa-hot-deals-right-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
}

.eceasa-carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 20px;
    z-index: 10;
}

.eceasa-carousel-prev,
.eceasa-carousel-next {
    background: #ffffff;
    border: 1px solid var(--various-border, #eaeaea);
    color: var(--various-green, #002b26);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    outline: none;
}

.eceasa-carousel-prev:hover,
.eceasa-carousel-next:hover {
    background-color: var(--various-green, #002b26);
    color: #ffffff;
    border-color: var(--various-green, #002b26);
    box-shadow: 0 4px 10px rgba(0, 43, 38, 0.12);
}

.eceasa-products-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    padding: 5px 0 15px 0;
    box-sizing: border-box;
    flex-grow: 1;
}

.eceasa-products-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.eceasa-product-slide {
    flex: 0 0 280px;
    scroll-snap-align: start;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Responsividade do Grid */
@media (max-width: 992px) {
    .eceasa-hot-deals-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .eceasa-hot-deals-left-col {
        padding: 30px;
    }

    .eceasa-hot-deals-filters {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .eceasa-filter-btn {
        width: auto;
        padding: 8px 16px;
        font-size: 12px;
        border-radius: 20px;
    }

    .eceasa-filter-btn::after {
        display: none;
    }

    .eceasa-carousel-nav {
        display: none;
        /* No mobile, prioriza o swipe nativo */
    }
}

/* --- ESTILIZAÇÃO DOS CARTÕES DE PRODUTOS PREMIUM (VARIOUS STYLE) --- */
.various-product-card {
    background: #ffffff;
    border: 1px solid var(--various-border, #eaeaea);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-sizing: border-box;
}

.various-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 43, 38, 0.08);
    border-color: rgba(0, 43, 38, 0.1);
}

/* Badge de Oferta */
.various-product-badge-sale {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--various-gold, #ffbf00);
    color: var(--various-green, #002b26);
    font-family: var(--various-heading-font, 'Outfit', sans-serif);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 5;
    letter-spacing: 0.5px;
}

/* Área Superior (Imagem, Loja, Título) */
.various-product-card .product-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/* Padronização da Imagem do Produto */
.various-product-card .product-img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    border-radius: 8px;
    transition: transform 0.5s ease;
    display: block;
}

.various-product-card:hover .product-img {
    transform: scale(1.03);
}

/* Identificação da Loja (WCFM Vendor) */
.eceasa-product-vendor {
    margin-top: 5px;
    margin-bottom: 2px;
}

.eceasa-product-vendor .vendor-link {
    font-family: var(--various-body-font, 'Inter', sans-serif);
    font-size: 11px;
    font-weight: 500;
    color: var(--various-text-light, #888888) !important;
    text-transform: none;
    text-decoration: none;
    letter-spacing: 0;
    transition: color 0.2s ease;
    display: inline-block;
}

.eceasa-product-vendor .vendor-link:hover {
    color: var(--various-gold, #ffbf00) !important;
    text-decoration: underline;
}

/* Título do Produto */
.various-product-card .product-title-link {
    text-decoration: none;
}

.various-product-card .product-title {
    font-family: var(--various-heading-font, 'Outfit', sans-serif);
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--various-green, #002b26) !important;
    margin: 2px 0 0 0;
    line-height: 1.3;
    transition: color 0.2s ease;
    /* Limita o título a 2 linhas com reticências */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
    /* Altura fixa para manter o alinhamento do grid */
}

.various-product-card:hover .product-title {
    color: var(--various-gold, #ffbf00) !important;
}

/* Área Inferior (Preço e Botão de Compra) */
.various-product-card .product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 12px;
    box-sizing: border-box;
}

/* Preço */
.various-product-card .product-price {
    display: flex;
    flex-direction: column;
    font-family: var(--various-heading-font, 'Outfit', sans-serif);
    color: var(--various-green, #002b26);
    line-height: 1.2;
}

.various-product-card .product-price del {
    font-size: 11px;
    color: var(--various-text-light, #888888);
    font-weight: 500;
}

.various-product-card .product-price ins,
.various-product-card .product-price>.amount {
    font-size: 17px !important;
    font-weight: 800 !important;
    text-decoration: none;
    color: var(--various-green, #002b26) !important;
}

/* Botão de Adicionar ao Carrinho */
.various-product-card .various-product-add-to-cart {
    background-color: var(--various-green, #002b26) !important;
    color: #ffffff !important;
    font-family: var(--various-heading-font, 'Outfit', sans-serif);
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 18px !important;
    border-radius: 30px !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.5px;
    border: 1px solid var(--various-green, #002b26) !important;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    line-height: 1 !important;
}

.various-product-card .various-product-add-to-cart:hover {
    background: var(--eceasa-gradient-gold) !important;
    color: var(--eceasa-green-dark) !important;
    border-color: var(--eceasa-gold) !important;
    box-shadow: 0 4px 10px rgba(255, 191, 0, 0.2) !important;
}

/* --- E-CEASA DUAL BANNERS (WIDGET ELEMENTOR) --- */
.various-banners-section {
    padding: 30px 0;
    width: 100%;
    box-sizing: border-box;
}

.various-banner-wrapper {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 43, 38, 0.05);
}

.various-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.various-banner-wrapper:hover .various-banner-bg {
    transform: scale(1.05);
}

.various-banner-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 43, 38, 0.9) 0%, rgba(21, 74, 58, 0.7) 50%, rgba(67, 149, 25, 0.45) 100%);
    z-index: 2;
}

.various-banner-content {
    position: relative;
    z-index: 3;
    max-width: 80%;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.various-banner-content .label {
    font-family: var(--various-body-font, 'Inter', sans-serif);
    font-size: 11px;
    font-weight: 700;
    color: var(--various-gold, #ffbf00);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.various-banner-content h3 {
    font-family: var(--various-heading-font, 'Outfit', sans-serif);
    font-size: 28px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.various-banner-content p {
    font-family: var(--various-body-font, 'Inter', sans-serif);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.various-btn-primary,
.various-btn-secondary {
    font-family: var(--various-heading-font, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.5px;
    display: inline-block;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
}

.various-btn-primary {
    background: var(--eceasa-gradient-gold);
    color: var(--eceasa-green-dark) !important;
    border: none;
    box-shadow: 0 4px 10px rgba(255, 191, 0, 0.2);
}

.various-btn-primary:hover {
    background: linear-gradient(135deg, #ffa200 0%, var(--eceasa-gold) 100%);
    box-shadow: 0 6px 20px rgba(255, 191, 0, 0.35);
    transform: translateY(-1px);
}

.various-btn-secondary {
    background-color: transparent;
    color: #ffffff !important;
    border: 2px solid #ffffff;
}

.various-btn-secondary:hover {
    background-color: #ffffff;
    color: var(--various-green, #002b26) !important;
}

@media (max-width: 768px) {
    .various-banner-wrapper {
        height: 300px;
        padding: 30px;
    }

    .various-banner-content {
        max-width: 100%;
    }

    .various-banner-content h3 {
        font-size: 24px;
    }
}

/* --- E-CEASA CTA BANNER (WIDGET ELEMENTOR) --- */
.eceasa-cta-banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.eceasa-cta-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.eceasa-cta-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.eceasa-cta-banner-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 60px 20px;
    color: #ffffff;
    box-sizing: border-box;
    width: 100%;
}

.eceasa-cta-banner-content.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.eceasa-cta-banner-content.text-left {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: auto;
}

.eceasa-cta-banner-content.text-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
}

.eceasa-cta-banner-subheading {
    font-family: var(--various-body-font, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 700;
    color: var(--various-gold, #ffbf00);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.eceasa-cta-banner-heading {
    font-family: var(--various-heading-font, 'Outfit', sans-serif);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 20px 0;
}

.eceasa-cta-banner-desc {
    font-family: var(--various-body-font, 'Inter', sans-serif);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .eceasa-cta-banner-heading {
        font-size: 28px;
    }

    .eceasa-cta-banner-content {
        padding: 40px 20px;
    }
}

/* --- E-CEASA DIETARY TAGS CAROUSEL (WIDGET ELEMENTOR) --- */
.eceasa-dietary-section {
    padding: 60px 0;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.eceasa-dietary-title {
    font-family: var(--various-heading-font, 'Outfit', sans-serif);
    font-size: 32px;
    font-weight: 800;
    color: var(--various-green, #002b26) !important;
    margin: 0 0 30px 0;
    text-transform: none;
    letter-spacing: -0.5px;
}

.eceasa-dietary-grid-wrapper {
    position: relative;
    width: 100%;
    margin: 0 -10px;
    /* Para estender levemente as bordas no mobile */
    padding: 0 10px;
    box-sizing: border-box;
}

.eceasa-dietary-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 20px 0;
    scrollbar-width: none;
    /* Firefox */
}

.eceasa-dietary-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.eceasa-dietary-card {
    flex: 0 0 160px;
    /* Largura fixa de cada card do carrossel */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    border-radius: 20px;
    text-decoration: none !important;
    text-align: center;
    border: 1px solid rgba(0, 43, 38, 0.05);
    box-shadow: 0 4px 12px rgba(0, 43, 38, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
}

.eceasa-dietary-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 43, 38, 0.08);
    border-color: rgba(0, 43, 38, 0.1);
}

.eceasa-dietary-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 43, 38, 0.04);
    border: 1px solid rgba(0, 43, 38, 0.03);
    transition: transform 0.3s ease;
}

.eceasa-dietary-card:hover .eceasa-dietary-icon-wrapper {
    transform: scale(1.05);
}

.eceasa-dietary-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.eceasa-dietary-card:hover .eceasa-dietary-icon {
    transform: scale(1.1);
}

.eceasa-dietary-placeholder-icon {
    font-size: 32px;
}

.eceasa-dietary-name {
    font-family: var(--various-heading-font, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .eceasa-dietary-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .eceasa-dietary-card {
        flex: 0 0 140px;
        padding: 20px 10px;
    }

    .eceasa-dietary-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 12px;
    }

    .eceasa-dietary-icon {
        width: 38px;
        height: 38px;
    }
}

/* --- E-CEASA BENEFITS SECTION (LINHAS DIVISORAS VERTICAIS) --- */
.elementor-section:has(.elementor-col-25 .elementor-widget-icon-box) .elementor-column {
    position: relative;
}

@media (min-width: 769px) {
    .elementor-section:has(.elementor-col-25 .elementor-widget-icon-box) .elementor-column:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 15%;
        right: 0;
        height: 70%;
        width: 1px;
        background-color: rgba(0, 43, 38, 0.08);
    }
}

@media (max-width: 768px) {
    .elementor-section:has(.elementor-col-25 .elementor-widget-icon-box) .elementor-column {
        border-bottom: 1px solid rgba(0, 43, 38, 0.05);
    }

    .elementor-section:has(.elementor-col-25 .elementor-widget-icon-box) .elementor-column:last-child {
        border-bottom: none;
    }
}

/* --- E-CEASA SUBCATEGORIES SECTION (6 COLUNAS CREME) --- */
.eceasa-subcategories-section-wrapper .elementor-column {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.eceasa-subcategories-section-wrapper .elementor-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 43, 38, 0.08) !important;
}

.eceasa-subcategories-section-wrapper .elementor-image-box-title {
    font-family: var(--various-heading-font, 'Outfit', sans-serif) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--various-green, #002b26) !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
}

.eceasa-subcategories-section-wrapper .elementor-image-box-img img {
    border-radius: 8px !important;
    width: 100% !important;
    height: 120px !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.eceasa-subcategories-section-wrapper .elementor-column:hover .elementor-image-box-img img {
    transform: scale(1.03);
}

/* Estilização da lista de subcategorias com alta especificidade usando as classes de caixa do Elementor (corrigido para o DOM) */
.elementor-widget-image-box ul.eceasa-subcat-list-items,
.elementor-widget-image-box ul.eceasa-subcat-list-items li {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 10px 0 !important;
    text-indent: 0 !important;
}

.elementor-widget-image-box ul.eceasa-subcat-list-items li {
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
    padding-left: 0 !important;
}

.elementor-widget-image-box ul.eceasa-subcat-list-items li::before,
.elementor-widget-image-box ul.eceasa-subcat-list-items li::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

.elementor-widget-image-box ul.eceasa-subcat-list-items li a {
    font-family: var(--various-body-font, 'Inter', sans-serif) !important;
    font-size: 13px !important;
    color: rgba(0, 43, 38, 0.7) !important;
    text-decoration: none !important;
    transition: color 0.2s ease, padding-left 0.2s ease !important;
    display: inline-block !important;
}

.elementor-widget-image-box ul.eceasa-subcat-list-items li a:hover {
    color: var(--various-gold, #ffbf00) !important;
    padding-left: 3px !important;
}


.eceasa-subcat-shop-all {
    font-family: var(--various-body-font, 'Inter', sans-serif) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--various-green, #002b26) !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 6px !important;
    transition: color 0.2s ease !important;
}

.eceasa-subcat-shop-all:hover {
    color: var(--various-gold, #ffbf00) !important;
}

/* --- E-CEASA SHOWCASE BOX (WIDGET ELEMENTOR) --- */
.various-showcase-section {
    background: var(--eceasa-gradient-green) !important;
}

/* --- TIPOGRAFIA CURSIVA UNIFICADA (OPÇÃO A) --- */
.various-slide-content h2,
.elementor-slide-heading,
.elementor-slide-title,
.elementor-widget-heading h2.elementor-heading-title,
.various-section-header h2,
.eceasa-hot-deals-left-col h2,
.various-banner-content h3,
.various-showcase-section h2,
.eceasa-cta-banner-heading,
.eceasa-dietary-title {
    font-family: 'Story Script', cursive !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* --- SUBTÍTULOS CURSIVOS (DOURADOS) --- */
.slide-subtitle,
.various-banner-content .label,
.showcase-tag,
.eceasa-cta-banner-subheading,
.eceasa-hot-deals-subtitle {
    font-family: 'Story Script', cursive !important;
    font-size: 24px !important;
    font-weight: 100 !important;
    text-transform: lowercase !important;
    letter-spacing: normal !important;
    color: var(--eceasa-gold) !important;
    display: inline-block !important;
}

/* Ajustes de tamanho e cor específicos para títulos cursivos */
.various-slide-content h2,
.elementor-slide-heading,
.elementor-slide-title {
    font-size: 58px !important;
}

.eceasa-cta-banner-heading {
    font-size: 52px !important;
}

.various-section-header h2,
.eceasa-dietary-title,
.various-showcase-section h2,
.elementor-widget-heading h2.elementor-heading-title {
    font-size: 46px !important;
}

.eceasa-hot-deals-left-col h2 {
    font-size: 46px !important;
    color: #ffffff !important;
}

.various-banner-content h3 {
    font-size: 38px !important;
    color: #ffffff !important;
}

/* ==========================================================================
   ECEASA FOOTER (SHOPIFY VARIOUS STYLE)
   ========================================================================== */
.eceasa-footer {
    background-color: var(--eceasa-green-dark, #002b26);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.eceasa-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.eceasa-footer a:hover {
    color: var(--eceasa-gold, #ffbf00);
}

.eceasa-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Bloco Superior e Grid */
.eceasa-footer-top {
    padding: 80px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.eceasa-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.eceasa-footer-col {
    display: flex;
    flex-direction: column;
}

.eceasa-footer-title {
    color: #ffffff !important;
    font-family: 'Story Script', cursive !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.eceasa-footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

/* Newsletter Form */
.eceasa-footer-newsletter-form {
    margin-bottom: 25px;
}

.eceasa-newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    overflow: hidden;
    padding: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eceasa-newsletter-input-group:focus-within {
    border-color: var(--eceasa-gold, #ffbf00);
    box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.15);
}

.eceasa-newsletter-input-group input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    padding: 10px 18px;
    font-size: 13px;
    width: 100%;
}

.eceasa-newsletter-input-group input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.eceasa-newsletter-input-group .eceasa-btn-gold {
    background: var(--eceasa-gradient-gold);
    color: var(--eceasa-green-dark);
    border: none;
    outline: none;
    padding: 0 24px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

.eceasa-newsletter-input-group .eceasa-btn-gold:hover {
    opacity: 0.95;
}

.eceasa-newsletter-input-group .eceasa-btn-gold:active {
    transform: scale(0.97);
}

/* Informações de Contato */
.eceasa-footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eceasa-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
}

.eceasa-contact-icon {
    font-size: 16px;
    display: inline-block;
    width: 20px;
    text-align: center;
}

/* Listas de Menu */
.eceasa-footer-menu-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eceasa-footer-menu-list li {
    padding: 0 !important;
    margin: 0 !important;
}

.eceasa-footer-menu-list a {
    font-size: 14px;
    display: inline-block;
    padding: 2px 0;
}

/* 2. Bloco Inferior (Bottom Footer) */
.eceasa-footer-bottom {
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.15);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.eceasa-footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.eceasa-copyright p {
    margin: 0 !important;
}

.eceasa-copyright a {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}

.eceasa-copyright a:hover {
    color: var(--eceasa-gold, #ffbf00);
}

/* Parceiro Financeiro */
.eceasa-footer-partner {
    display: flex;
    gap: 10px;
    align-items: center;
}

.eceasa-partner-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.eceasa-payment-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.eceasa-payment-badge.sicoob {
    background-color: #003641;
    /* Verde escuro do Sicoob */
    border-color: #005b6a;
    color: #ffffff;
}

.eceasa-payment-badge.sicoob:hover {
    background-color: #005b6a;
    border-color: var(--eceasa-gold, #ffbf00);
    color: var(--eceasa-gold, #ffbf00);
}

/* 3. Responsividade */
@media (max-width: 991px) {
    .eceasa-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 575px) {
    .eceasa-footer-top {
        padding: 50px 0 30px;
    }

    .eceasa-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .eceasa-footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .eceasa-footer-partner {
        justify-content: center;
    }
}

/* --- REMOÇÃO DE SIDEBAR E LAYOUT DE LARGURA TOTAL NO SITE INTEIRO --- */

/* Ocultar elementos de barra lateral física e áreas de widget */
#secondary,
.sidebar,
aside,
.widget-area,
.envo-royal-right-sidebar,
#sidebar {
    display: none !important;
}

/* Forçar os artigos e contêineres de conteúdo a ocupar 100% da largura útil */
#primary,
.main-content,
article.col-md-9,
article.col-md-8,
.col-md-9,
.col-md-8 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* Ajustes finos do WooCommerce para layout sem sidebar */
.woocommerce-content-area {
    width: 100% !important;
}

/* Customizações do Marketplace (WCFM) */
.wcfmmp_sold_by_container_advanced {
    display: flex !important;
    align-items: center !important;
}

.wcfmmp_sold_by_container_advanced .wcfmmp_sold_by_label {
    display: none;
}

/* --- AJUSTE DE LAYOUT DO PRODUTO ÚNICO (TRÊS COLUNAS: IMAGEM | COMPRA | ABAS) --- */
@media (min-width: 768px) {

    /* Galeria de imagem à esquerda (mais compacta para dar espaço às descrições) */
    .woocommerce div.product div.images,
    .woocommerce-product-gallery,
    .woocommerce div.product .images {
        width: 24% !important;
        float: left !important;
        margin-right: 20px !important;
        /* Espaçamento fixo em pixels para evitar afastamento */
        margin-bottom: 20px !important;
        padding: 0 !important;
        /* Remove qualquer padding interno do tema */
    }

    /* Container do resumo à direita (expandido) */
    .woocommerce div.product div.summary {
        width: calc(76% - 20px) !important;
        /* Desconta exatamente os 20px fixos */
        float: right !important;
        margin-bottom: 20px !important;
        display: flex !important;
        flex-direction: row !important;
        /* Ordem natural: Compra no meio, Abas na direita */
        justify-content: space-between !important;
        gap: 15px !important;
        /* Espaço reduzido entre os blocos */
        padding-left: 0 !important;
        /* Anula os 4% de recuo esquerdo herdados do tema pai */
    }

    /* Bloco de compra no meio */
    .eceasa-product-purchase-box {
        width: 50% !important;
        flex: 0 0 50% !important;
    }

    /* Bloco de abas na extrema direita (ampliado para mais descrição) */
    .woocommerce div.product .woocommerce-tabs {
        width: 50% !important;
        flex: 0 0 50% !important;
        margin-top: 0 !important;
        /* Remove margem superior no desktop */
        padding-top: 0 !important;
        border-top: none !important;
        /* Sem borda no desktop */
        overflow: visible !important;
    }
}

/* Regras gerais para as abas do produto */
.woocommerce div.product .woocommerce-tabs {
    width: 100%;
}

/* Ajustes no título e abas para ficarem mais compactos e limpos */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    margin: 0 0 15px 0 !important;
    padding: 0 0 0 5px !important;
    /* 5px de folga à esquerda para evitar corte da primeira letra */
    display: flex !important;
    border-bottom: 1px solid #eef2ed !important;
    overflow: visible !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-right: 20px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #888888 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 8px 0 !important;
    display: block !important;
    position: relative !important;
    transition: color 0.2s ease !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--eceasa-green-dark, #002b26) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
    content: "" !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background-color: var(--eceasa-gold, #ffbf00) !important;
}

/* Ocultar o título duplicado "Descrição" dentro do conteúdo das abas para visual mais limpo */
.woocommerce div.product .woocommerce-tabs .panel h2 {
    display: none !important;
}

/* --- SEÇÃO DE PRODUTOS RELACIONADOS (6 COLUNAS, ESPAÇAMENTO E PADRONIZAÇÃO) --- */

/* Separar e dar mais espaço para a seção de relacionados */
.woocommerce .related.products,
.woocommerce-page .related.products,
.related.products {
    margin-top: 80px !important;
    border-top: 1px solid #eef2ed !important;
    padding-top: 50px !important;
    clear: both !important;
}

/* Título de Produtos Relacionados */
.woocommerce .related.products>h2 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #002b26 !important;
    margin-bottom: 30px !important;
    border-left: 4px solid #ffbf00 !important;
    padding-left: 12px !important;
    line-height: 1.2 !important;
}

@media (min-width: 768px) {

    /* Forçar 6 produtos em apenas uma linha no Desktop */
    .woocommerce .related.products ul.products,
    .woocommerce-page .related.products ul.products {
        display: flex !important;
        flex-wrap: nowrap !important;
        /* Sem quebra de linha */
        gap: 15px !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    /* Configuração de largura de cada produto no Desktop (1/6 da linha) */
    .woocommerce .related.products ul.products li.product,
    .woocommerce-page .related.products ul.products li.product {
        width: calc(100% / 6 - 13px) !important;
        flex: 0 0 calc(100% / 6 - 13px) !important;
        margin: 0 !important;
        float: none !important;
    }

    /* Padronizar tamanho das imagens no Desktop */
    .woocommerce .related.products ul.products li.product a img,
    .woocommerce-page .related.products ul.products li.product a img {
        width: 100% !important;
        height: 140px !important;
        /* Altura fixa e padronizada */
        object-fit: cover !important;
        /* Preenchimento perfeito */
        border-radius: 8px !important;
        transition: transform 0.3s ease !important;
    }

    /* Efeito sutil de zoom no hover da imagem */
    .woocommerce .related.products ul.products li.product:hover a img {
        transform: scale(1.03) !important;
    }
}

@media (max-width: 767px) {

    /* 2 colunas no Mobile */
    .woocommerce .related.products ul.products,
    .woocommerce-page .related.products ul.products {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        padding: 0 !important;
    }

    .woocommerce .related.products ul.products li.product,
    .woocommerce-page .related.products ul.products li.product {
        width: calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
        margin: 0 !important;
    }

    /* Imagens responsivas no Mobile */
    .woocommerce .related.products ul.products li.product a img,
    .woocommerce-page .related.products ul.products li.product a img {
        width: 100% !important;
        height: 120px !important;
        object-fit: cover !important;
        border-radius: 6px !important;
    }
}

/* Ocultar a label "Vendido por:" nos produtos relacionados */
.related.products .wcfmmp_sold_by_label {
    display: none !important;
}

/* Alinhamento horizontal do logo e nome do lojista nos relacionados */
.related.products .wcfmmp_sold_by_wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* Centraliza a linha inteira no cartão do produto */
    gap: 6px !important;
    /* Espaço entre o logo e o nome */
    flex-wrap: nowrap !important;
    /* Impede que o logo e o nome quebrem em duas linhas separadas */
    margin: 8px 0 0 0 !important;
}

/* Estilo do logo da loja parceira nos relacionados */
.related.products .wcfmmp_sold_by_logo {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    /* Mantém redondo se aplicável */
    object-fit: cover !important;
    flex: 0 0 20px !important;
    /* Impede o flexbox de encolher o logo */
    margin: 0 !important;
    display: inline-block !important;
}

/* Estilo do link/nome do lojista nos relacionados */
.related.products .wcfmmp_sold_by_wrapper a.wcfm_dashboard_item_title {
    display: inline-block !important;
    white-space: normal !important;
    /* Permite quebrar a linha se o texto for longo */
    word-break: break-word !important;
    /* Quebra palavras muito longas */
    line-height: 1.2 !important;
    text-align: left !important;
    /* Alinhamento do texto ao lado do logo */
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--eceasa-green-light, #439519) !important;
    transition: color 0.2s ease !important;
}

.related.products .wcfmmp_sold_by_wrapper a.wcfm_dashboard_item_title:hover {
    color: var(--eceasa-green-dark, #002b26) !important;
}

/* --- REMOÇÃO DO HERO BANNER SUPERIOR DE TODAS AS PÁGINAS --- */
.top-header,
.singular-heading,
.home-heading,
.header-title-bar,
.header-title {
    display: none !important;
}

/* Espaçamento superior das páginas internas para compensar a falta do hero banner */
body:not(.home) .site-content,
body:not(.home) .main-container {
    padding-top: 40px !important;
}

/* Ocultar breadcrumbs na página de produto único */
.single-product .woocommerce-breadcrumb,
.single-product .woo-breadcrumbs {
    display: none !important;
}

/* Tamanho de fonte do título do produto único */
.single-product .product_title {
    font-size: 28px !important;
}

/* --- REDESENHO DO CABEÇALHO DO PERFIL DO LOJISTA (SEM BANNER - ESTILO INTEGRADO CLEAN) --- */

/* 1. Ocultar a imagem de banner de paisagem da loja (hero) */
html body .wcfm_banner_area,
html body .wcfm_banner_area_desktop,
html body .wcfm_banner_area_mobile {
    display: none !important;
}

/* 2. Estilizar a caixa do cabeçalho do perfil da loja de forma integrada (SEM BORDAS OU SOMBRAS) */
html body #wcfmmp-store #wcfm_store_header,
html body #wcfm_store_header,
html body .wcfm_store_header {
    background: transparent !important;
    /* Fundo transparente integrado */
    background-color: transparent !important;
    border: none !important;
    /* Sem bordas envolvendo tudo */
    box-shadow: none !important;
    /* Sem sombras */
    padding: 10px 0 25px 0 !important;
    /* Sem paddings nas laterais, alinhamento puro à esquerda */
    margin-bottom: 20px !important;
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    overflow: visible !important;
}

/* 3. Limpar fundos e bordas escuras das divs internas herdadas do plugin */
html body #wcfmmp-store .header_wrapper,
html body #wcfmmp-store .header_area {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
}

/* 4. Forçar o contêiner interno esquerdo (header_left) a se alinhar horizontalmente com Flexbox */
html body #wcfmmp-store .header_left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 25px !important;
    float: none !important;
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 5. Estilizar o logotipo do lojista (Quadrado com cantos arredondados, sem cortes, na extrema esquerda!) */
html body #wcfmmp-store #wcfm_store_header .header_wrapper .header_area .header_left .logo_area,
html body #wcfmmp-store .logo_area {
    width: 100px !important;
    height: 100px !important;
    flex: 0 0 100px !important;
    border-radius: 8px !important;
    /* Cantos arredondados normais */
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    margin: 0 !important;
    position: relative !important;
    padding: 8px !important;
    /* Padding interno para manter o logo inteiro visível */
    top: 0 !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

/* Resetar posições absolutas, transforms e margens negativas nativas do plugin na imagem e link do logo com especificidade absoluta */
html body #wcfmmp-store #wcfm_store_header .header_wrapper .header_area .header_left .logo_area a,
html body #wcfmmp-store .logo_area a {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: 0 !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
}

html body #wcfmmp-store #wcfm_store_header .header_wrapper .header_area .header_left .logo_area a img,
html body #wcfmmp-store #wcfm_store_header .header_wrapper .header_area .header_left .logo_area img,
html body #wcfmmp-store .logo_area img {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: 0 !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    /* Mantém a proporção da foto do lojista */
}

/* 6. Área de informações (Título e contatos) com contraste total */
html body #wcfmmp-store .address {
    float: none !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #1e293b !important;
    /* Cor cinza escuro de excelente contraste */
    gap: 6px !important;
}

/* Nome da Loja / Lojista (Verde Escuro e Legível) */
html body #wcfmmp-store .header_wrapper .address h1,
html body #wcfmmp-store .address h1,
html body #wcfmmp-store h1.wcfm_store_title,
html body #wcfmmp-store .wcfm_store_title,
html body .wcfm_store_title {
    color: #002b26 !important;
    /* Verde escuro do e-Ceasa - contraste excelente */
    font-size: 26px !important;
    font-weight: 800 !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    text-shadow: none !important;
    line-height: 1.2 !important;
    display: block !important;
    visibility: visible !important;
}

/* Ocultar elementos fantasmas e spacers ruidosos que poluem e quebram a ordem */
html body #wcfmmp-store .spacer,
html body #wcfmmp-store .logo_area_after,
html body #wcfmmp-store .wcfm-clearfix,
html body #wcfmmp-store .header_right {
    display: none !important;
}

/* 7. Estilizar os contatos (email, telefone, localização) */
html body #wcfmmp-store .header_store_name {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body #wcfmmp-store .store_info_parallal {
    color: #334155 !important;
    /* Texto dos contatos em cinza de alta leitura */
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body #wcfmmp-store .store_info_parallal a {
    color: #334155 !important;
}

html body #wcfmmp-store .store_info_parallal i,
html body #wcfmmp-store .store_info_parallal span {
    color: #ffbf00 !important;
    /* Dourado nos ícones */
}

/* 8. Responsividade do cabeçalho (Mobile) */
@media (max-width: 767px) {
    html body #wcfmmp-store #wcfm_store_header {
        padding: 15px 10px !important;
    }

    html body #wcfmmp-store .header_left {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 15px !important;
    }

    html body #wcfmmp-store .logo_area {
        margin: 0 auto !important;
    }

    html body #wcfmmp-store .address {
        align-items: center !important;
        text-align: center !important;
    }

    html body #wcfmmp-store .wcfm_store_title {
        font-size: 22px !important;
        text-align: center !important;
    }

    html body #wcfmmp-store .header_store_name {
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
}

/* 9. Forçar a área de conteúdo da loja (right_side) a ocupar largura total (100%), eliminando o espaço vazio da sidebar */
html body #wcfmmp-store .right_side {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 10. Garantir que as abas se alinhem corretamente */
html body #wcfmmp-store .tab_area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 11. Espaçamento inferior elegante para a página do lojista não colar no rodapé */
html body #wcfmmp-store {
    margin-bottom: 60px !important;
    padding-bottom: 40px !important;
}

/* --- PADRONIZAÇÃO DO TAMANHO DAS IMAGENS DE PRODUTO NO GRID --- */
html body #wcfmmp-store ul.products li.product a img,
html body #wcfmmp-store ul.products li.product .archive-img-wrap img {
    height: 200px !important;
    width: 100% !important;
    object-fit: cover !important;
    /* Corta e ajusta as imagens mantendo a proporção */
}

/* 12. Remover qualquer borda cinza ou sombra externa envolvendo a página inteira da loja */
html body #wcfmmp-store,
html body .wcfmmp-store {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 auto 60px auto !important;
}

/* 13. Espaçamento vertical (margin-bottom) elegante em cada linha de produtos no grid da loja */
html body #wcfmmp-store ul.products li.product {
    margin-bottom: 40px !important;
}

/* 14. Ocultar categoria do produto e rótulo de lojista nos blocos do grid APENAS na página de perfil do lojista */
body.wcfmmp-store-page .archive-product-categories,
body.wcfmmp-store-page .wcfmmp_sold_by_container_advanced,
body.wcfmmp-store-page .wcfmmp_sold_by_wrapper,
body.wcfmmp-store-page .wcfmmp_sold_by_label,
body.wcfmmp-store-page .wcfmmp_author_link,
body.wcfmmp-store-page .wcfmmp_sold_by_container {
    display: none !important;
}

/* 15. Estilização das abas do lojista (Produtos / Sobre) nas cores oficiais e-Ceasa */
html body #wcfmmp-store .tab_links_area {
    border-bottom: 2px solid #e2e8f0 !important;
    margin-bottom: 40px !important;
    /* Aumentado de 30px para 40px para dar um espaçamento confortável com o conteúdo */
    padding-bottom: 0 !important;
    display: flex;
}

html body #wcfmmp-store .tab_links_area ul.tab_links {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    list-style: none !important;
}

html body #wcfmmp-store .tab_area .tab_links li:after {
    background: #439519 !important;
}

/* Neutralizar bordas azuis ou de status ativas do WCFM no li.active e no estado :hover */
html body #wcfmmp-store .tab_links_area ul.tab_links li.active,
html body #wcfmmp-store .tab_links_area ul.tab_links li,
html body #wcfmmp-store .tab_links_area ul.tab_links li:hover,
html body #wcfmmp-store .tab_links_area ul.tab_links li.active:hover {
    border: none !important;
    border-top: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-shadow: none !important;
}

/* Links das abas em cinza e-Ceasa com peso semi-negrito */
html body #wcfmmp-store .tab_links_area ul.tab_links li a {
    color: #475569 !important;
    /* Cinza slate escuro */
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    padding: 10px 15px !important;
    border: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    background: transparent !important;
    display: inline-block !important;
    position: relative !important;
    top: 2px !important;
    /* Alinha por cima da borda do contêiner */
    border-bottom: 3px solid transparent !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

/* Aba ativa em verde escuro com borda inferior dourada premium - remove o topo azul */
html body #wcfmmp-store .tab_links_area ul.tab_links li.active a {
    color: #002b26 !important;
    /* Verde escuro do e-Ceasa */
    border-bottom: 3px solid #ffbf00 !important;
    /* Borda dourada oficial na base */
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

/* Hover nos links das abas - Neutraliza qualquer borda azul no topo ou box-shadow do hover */
html body #wcfmmp-store .tab_links_area ul.tab_links li a:hover,
html body #wcfmmp-store .tab_links_area ul.tab_links li.active a:hover,
html body #wcfmmp-store .tab_links_area ul.tab_links li:hover a {
    color: #002b26 !important;
    border-bottom: 3px solid #e2e8f0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
}

html body #wcfmmp-store .tab_links_area ul.tab_links li.active a:hover {
    border-bottom: 3px solid #ffbf00 !important;
    /* Mantém dourado se for ativa */
}