.elementor-324 .elementor-element.elementor-element-6e818564{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}/* Start custom CSS for container, class: .elementor-element-6e818564 *//* ==========================================================================
   MINHA CONTA WOOCOMMERCE - REDESIGN GLOBAL
   ========================================================================== */

/* 1. ESTRUTURA GERAL (Força Layout Vertical ao invés de Sidebar) */
body.woocommerce-account .woocommerce {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff;
}

/* 2. BANNER SUPERIOR (Cores e Posição) */
.custom-account-banner {
    background-color: #e5dcc4;
    padding: 60px 10% 40px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-account-banner h2 { font-size: 32px; font-weight: 700; color: #3b3530; margin-bottom: 8px; }
.custom-account-banner .greeting { font-size: 18px; font-weight: 700; color: #3b3530; margin-bottom: 8px; }
.custom-account-banner .subtitle { font-size: 15px; font-weight: 400; color: #595550; margin: 0; }

.custom-account-banner .account-banner-avatar img {
    border-radius: 50%;
    width: 140px;
    height: 140px;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* 3. MENU DE NAVEGAÇÃO HORIZONTAL */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100% !important;
    background-color: #e5dcc4;
    padding: 0 10% !important;
    margin-bottom: 0 !important; 
    float: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 75px; 
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    display: flex; 
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center; 
    justify-content: center;
    padding: 0 30px; 
    background: transparent;
    color: #3b3530 !important;
    font-weight: 700 !important; 
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.3s background-color;
    height: 100%; 
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #ffffff !important;
    color: #c48b58 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover:not(.is-active) {
    background-color: rgba(255,255,255,0.3);
}

/* 4. ÁREA DE CONTEÚDO E OCULTAÇÃO DE BOTÕES DO DOKAN */
body.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    padding: 40px 10% 50px 10% !important; 
    background: #ffffff;
    color: #555555;
    float: none !important;
}

/* Oculta qualquer botão roxo apontando para dashboard de vendor */
body.woocommerce-account .woocommerce-MyAccount-content a[href*="dashboard"], 
body.woocommerce-account .woocommerce-MyAccount-content a.button.dokan-btn,
body.woocommerce-account .woocommerce-MyAccount-content .dokan-vendor-dashboard-link {
    display: none !important;
}

/* 5. GRID DOS CARDS DE BOAS-VINDAS */
.ethio-dashboard-welcome h3 { color: #3b3530; margin-bottom: 10px; font-weight: 700; font-size: 24px; }
.ethio-dashboard-welcome > p { margin-bottom: 30px; font-size: 16px; color: #595550; }

.ethio-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* Correção de segurança: Oculta qualquer tag injetada pelo WordPress que não seja o nosso card */
.ethio-dashboard-grid > *:not(a.ethio-card) {
    display: none !important;
}

a.ethio-card {
    display: block; 
    background: #ffffff;
    border: 1px solid #e5dcc4;
    border-radius: 8px;
    padding: 25px;
    transition: 0.3s;
    text-decoration: none !important;
}

a.ethio-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transform: translateY(-3px);
    border-color: #c48b58; 
}

a.ethio-card h4 { color: #c48b58; margin-bottom: 10px; font-size: 16px; font-weight: 700; }
a.ethio-card p { font-size: 14px; margin: 0; line-height: 1.6; color: #555555; }

/* 6. RESPONSIVO MOBILE */
@media (max-width: 768px) {
    .custom-account-banner { flex-direction: column; text-align: center; padding: 40px 5%; }
    .custom-account-banner .account-banner-avatar { margin-top: 25px; }
    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content { padding-left: 5% !important; padding-right: 5% !important; }
}

/* ==========================================================================
   CORREÇÃO: ABA ENDEREÇOS (Títulos e Botões)
   ========================================================================== */

/* 1. Força a redução drástica dos Títulos "Endereço de cobrança/entrega" */
.elementor-324 .elementor-element.elementor-element-6e818564 .woocommerce-Address-title h3,
.elementor-324 .elementor-element.elementor-element-6e818564 .woocommerce-Address h3,
.elementor-324 .elementor-element.elementor-element-6e818564 .woocommerce-MyAccount-content h3 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #3b3530 !important;
    line-height: 1.2 !important;
    margin-bottom: 0 !important; /* Margem controlada pelo flexbox abaixo */
}

/* 2. Cria um container Flexbox para alinhar o Título e o Botão lado a lado */
.elementor-324 .elementor-element.elementor-element-6e818564 .woocommerce-Address-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    border-bottom: 1px solid #e5dcc4;
    padding-bottom: 15px;
}

/* 3. Transforma o link de texto solto em um Botão elegante */
.elementor-324 .elementor-element.elementor-element-6e818564 .woocommerce-Address-title a.edit {
    display: inline-block !important;
    background-color: #c48b58 !important; /* Cor café clara */
    color: #ffffff !important;
    padding: 8px 18px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    float: none !important; /* Remove o bug de flutuação nativo do Woo */
    position: static !important;
    transition: 0.3s all ease;
}

.elementor-324 .elementor-element.elementor-element-6e818564 .woocommerce-Address-title a.edit:hover {
    background-color: #3b3530 !important; /* Marrom escuro no hover */
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* 4. Oculta qualquer link duplicado que o tema esteja gerando no DOM */
.elementor-324 .elementor-element.elementor-element-6e818564 .woocommerce-Address-title a.edit ~ a.edit {
    display: none !important;
}

/* 5. Ajuste para Mobile (Empilha o título e o botão em telas pequenas) */
@media (max-width: 768px) {
    .elementor-324 .elementor-element.elementor-element-6e818564 .woocommerce-Address-title {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px;
    }
}/* End custom CSS */