/*
Theme Name: Hello Child
Theme URI: https://spartanvale.com.br/
Description: Child theme do Hello Elementor
Author: Spartan Vale
Author URI: https://spartanvale.com.br/
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-child
*/

/* ===== FONTE GLOBAL - INTER ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== SOBRESCREVER MAX-WIDTH DO WOOCOMMERCE E HELLO ELEMENTOR ===== */
.woocommerce,
.woocommerce-page {
    max-width: 100% !important;
}

/* Sobrescrever .site-main do Hello Elementor nas páginas WooCommerce */
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce .site-main {
    max-width: 100% !important;
}

/* Media queries para forçar largura total */
@media (min-width: 576px) {
    body.woocommerce-cart .site-main,
    body.woocommerce-checkout .site-main,
    body.woocommerce .site-main {
        max-width: 100% !important;
    }
}

@media (min-width: 768px) {
    body.woocommerce-cart .site-main,
    body.woocommerce-checkout .site-main,
    body.woocommerce .site-main {
        max-width: 100% !important;
    }
}

@media (min-width: 992px) {
    body.woocommerce-cart .site-main,
    body.woocommerce-checkout .site-main,
    body.woocommerce .site-main {
        max-width: 100% !important;
    }
}

@media (min-width: 1200px) {
    body.woocommerce-cart .site-main,
    body.woocommerce-checkout .site-main,
    body.woocommerce .site-main {
        max-width: 100% !important;
    }
}

/* ===== TOPBAR AZUL ===== */
.spartan-topbar {
    background: #05307A;
    color: white;
    padding: 10px 0;
    font-size: 13px;
}

.spartan-topbar .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.topbar-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
}

.topbar-contacts {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.topbar-phones {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.topbar-whatsapp,
.topbar-email {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: opacity 0.2s;
}

.topbar-whatsapp svg,
.topbar-email svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.topbar-whatsapp:hover,
.topbar-email:hover {
    opacity: 0.8;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
    position: relative;
}

.topbar-social-icon svg {
    width: 20px;
    height: 20px;
}

.topbar-social-icon:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Instagram - ícone branco sem gradiente */
.topbar-social-icon[title="Instagram"] {
    color: white;
}

.topbar-social-icon[title="Instagram"] svg {
    color: white;
}

.topbar-icon {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    position: relative;
}

.topbar-icon:hover {
    opacity: 0.8;
}

.cart-icon .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* ===== HEADER PRINCIPAL ===== */
.spartan-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.spartan-header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-logo img {
    height: 55px;
    width: auto;
}

.header-menu {
    flex: 1;
}

.main-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-menu li a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.main-menu li a:hover {
    color: #05307A;
}

/* ===== MEGA MENU MODERNO ===== */
.main-menu li {
    position: relative;
}

.main-menu .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    padding: 25px;
    min-width: 280px;
    z-index: 1000;
    border-top: 3px solid #05307A;
}

/* Abrir submenu com classe JS */
.main-menu .menu-item-has-children.submenu-open > .sub-menu {
    display: block !important;
}

.main-menu .sub-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #05307A;
}

.main-menu .sub-menu li {
    display: block;
    padding: 0;
    margin-bottom: 8px;
}

.main-menu .sub-menu li:last-child {
    margin-bottom: 0;
}

.main-menu .sub-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.main-menu .sub-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #05307A;
    transform: scaleY(0);
    transition: transform 0.2s;
}

.main-menu .sub-menu li a:hover {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    color: #05307A;
    padding-left: 20px;
}

.main-menu .sub-menu li a:hover::before {
    transform: scaleY(1);
}

/* Ícone de seta para itens com submenu */
.main-menu .menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s;
}

.main-menu .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Mega menu com múltiplas colunas (para menus maiores) */
.main-menu .mega-menu {
    min-width: 600px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.main-menu .mega-menu .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    padding: 0;
    border-top: none;
    opacity: 1;
    animation: none;
    transform: none;
}

.main-menu .mega-menu .sub-menu::before {
    display: none;
}

/* Título de categoria no mega menu */
.main-menu .mega-menu > li > a {
    font-size: 13px;
    font-weight: 600;
    color: #05307A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 0 12px 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 12px;
    pointer-events: none;
}

.main-menu .mega-menu > li > a:hover {
    background: transparent;
    padding-left: 0;
}

/* ===== BUSCA AJAX EXPANSIVA ===== */
.header-search {
    width: 350px;
    position: relative;
}

.search-wrapper {
    position: relative;
}

.header-search input[type="search"] {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.header-search input[type="search"]:focus {
    outline: none;
    border-color: #05307A;
    box-shadow: 0 4px 12px rgba(5,48,122,0.1);
}

.search-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 5px 10px;
}

/* Resultados da busca - Estilo expansivo */
.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.search-results.active {
    max-height: 500px;
    opacity: 1;
    overflow-y: auto;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.search-results::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.search-loading {
    padding: 20px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.search-item {
    display: flex;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.search-item:hover {
    background: #f9fafb;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.search-item-info {
    flex: 1;
    min-width: 0;
}

.search-item-title {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-item-price {
    font-size: 14px;
    color: #05307A;
    font-weight: 600;
}

.search-no-results {
    padding: 30px 20px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.search-view-all {
    display: block;
    padding: 12px;
    text-align: center;
    background: #f9fafb;
    color: #05307A;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    border-top: 1px solid #e5e7eb;
    transition: background 0.2s;
}

.search-view-all:hover {
    background: #f3f4f6;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
    background: transparent !important;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-search {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-action-icon {
    background: transparent;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s;
    border-radius: 8px;
}

.header-action-icon:hover {
    background: #f3f4f6;
    color: #05307A;
}

.header-action-icon .cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #05307A;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ===== MODALS MODERNOS ===== */
.spartan-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

.spartan-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    animation: slideUp 0.3s ease;
}

.modal-cart {
    max-width: 420px;
}

.modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #05307A 0%, #042559 100%);
}

.modal-header h3 {
    margin: 0;
    color: white;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(255,255,255,0.3);
}

.modal-body {
    padding: 30px;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

/* Profile Modal */
.profile-info {
    text-align: center;
    padding: 20px 0;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #05307A 0%, #042559 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
    margin: 0 auto 15px;
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.profile-email {
    font-size: 14px;
    color: #6b7280;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #05307A 0%, #042559 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(5,48,122,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(5,48,122,0.3);
}

.btn-secondary {
    background: #f3f4f6;
    color: #1a1a1a;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

/* ===== MINI CART CUSTOMIZADO ===== */
.cart-empty {
    text-align: center;
    padding: 40px 20px;
}

.cart-empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-empty-icon svg {
    color: #9ca3af;
}

.cart-empty-text {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 20px;
}

/* Lista de produtos no carrinho */
.woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.woocommerce-mini-cart-item {
    padding: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 15px;
}

.woocommerce-mini-cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-item-wrapper {
    display: flex;
    gap: 12px;
    position: relative;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
    border: 1px solid #f3f4f6;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.cart-item-name:hover {
    color: #05307A;
}

.cart-item-quantity {
    font-size: 13px;
    color: #6b7280;
}

.quantity-label {
    font-weight: 500;
}

.cart-item-price {
    font-size: 15px;
    color: #05307A;
    font-weight: 600;
}

.cart-item-price .amount {
    font-size: 15px;
}

/* Botão remover */
.remove_from_cart_button {
    position: absolute;
    top: 0;
    right: 0;
    background: #fee2e2;
    color: #dc2626;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.remove_from_cart_button:hover {
    background: #fecaca;
    transform: scale(1.1);
}

/* Resumo do carrinho */
.cart-summary {
    border-top: 2px solid #f3f4f6;
    padding-top: 20px;
    margin-top: 20px;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
}

.subtotal-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.subtotal-amount {
    font-size: 18px;
    font-weight: 700;
    color: #05307A;
}

/* Botões do carrinho */
.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-buttons .button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-view-cart {
    background: #f3f4f6;
    color: #1a1a1a;
}

.btn-view-cart:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.btn-checkout {
    background: linear-gradient(135deg, #05307A 0%, #042559 100%);
    color: white !important;
    box-shadow: 0 4px 12px rgba(5,48,122,0.2);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(5,48,122,0.3);
}

/* Wishlist Modal */
.wishlist-empty {
    text-align: center;
    padding: 40px 20px;
}

.wishlist-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.wishlist-item:hover {
    border-color: #05307A;
    box-shadow: 0 4px 12px rgba(5,48,122,0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .header-search {
        width: 250px;
    }
    
    .main-menu {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }
    
    /* Forçar background branco no menu mobile */
    nav.header-menu,
    nav.header-menu *,
    .header-menu,
    .header-menu * {
        background-color: white !important;
    }
    
    /* Exceções para elementos específicos */
    .header-menu .sub-menu,
    .header-menu .sub-menu * {
        background-color: #f9fafb !important;
    }
    
    .header-menu .main-menu > li.active > a,
    .header-menu .main-menu > li:hover > a {
        background-color: #f0f4ff !important;
    }
    
    .header-menu .sub-menu li a:hover {
        background-color: white !important;
    }
    
    .mobile-search {
        background-color: white !important;
    }
    
    .spartan-topbar {
        padding: 8px 0;
    }
    
    .topbar-content {
        flex-direction: column;
        padding: 16px 0;
        gap: 16px;
    }
    
    .topbar-contacts {
        flex-direction: column;
        gap: 12px;
    }
    
    .topbar-phones {
        flex-direction: row;
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .topbar-whatsapp,
    .topbar-email {
        font-size: 13px;
    }
    
    .topbar-whatsapp svg,
    .topbar-email svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .topbar-social {
        gap: 20px;
    }
    
    .topbar-social-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .spartan-header {
        padding: 12px 0;
    }
    
    .header-content {
        gap: 15px;
        justify-content: space-between;
    }
    
    .header-logo {
        flex: 0 0 auto;
    }
    
    .header-logo img {
        height: 35px;
    }
    
    .header-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white !important;
        z-index: 9999;
        transition: left 0.3s ease;
        box-shadow: 2px 0 12px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    .header-menu::before,
    .header-menu::after {
        display: none !important;
    }
    
    .header-menu.mobile-active {
        left: 0;
    }
    
    .header-menu .main-menu {
        flex-direction: column;
        padding: 80px 20px 100vh 20px;
        gap: 0;
        background: white !important;
        min-height: 100vh;
    }
    
    .header-menu .main-menu > li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        background: white !important;
    }
    
    .header-menu .main-menu > li > a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 16px 12px !important;
        font-size: 16px !important;
        color: #1a1a1a !important;
        background: transparent !important;
        border: none !important;
    }
    
    .header-menu .main-menu > li > a::before {
        display: none !important;
    }
    
    .header-menu .main-menu > li.active > a,
    .header-menu .main-menu > li:hover > a {
        background: #f0f4ff !important;
        color: #05307A !important;
    }
    
    .header-menu .main-menu > li.menu-item-has-children > a::after {
        content: '' !important;
        display: block !important;
        width: 8px !important;
        height: 8px !important;
        border-right: 2px solid #9ca3af !important;
        border-bottom: 2px solid #9ca3af !important;
        border-top: none !important;
        border-left: none !important;
        transform: rotate(45deg) !important;
        transition: transform 0.3s !important;
        flex-shrink: 0;
        margin-left: 12px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .header-menu .main-menu > li.menu-item-has-children.active > a::after {
        transform: rotate(-135deg) !important;
        border-color: #05307A !important;
    }
    
    .header-menu .sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #f9fafb !important;
        padding: 0 !important;
        margin: 0 !important;
        display: none !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100% !important;
        left: auto !important;
        top: auto !important;
        border-radius: 0 !important;
    }
    
    .header-menu .main-menu > li.menu-item-has-children.active .sub-menu {
        display: block !important;
        max-height: 500px;
    }
    
    .header-menu .sub-menu li {
        width: 100%;
        border-bottom: none !important;
    }
    
    .header-menu .sub-menu li a {
        display: block !important;
        padding: 12px 24px !important;
        font-size: 14px !important;
        color: #6b7280 !important;
        background: transparent !important;
    }
    
    .header-menu .sub-menu li a:hover {
        background: white !important;
        color: #05307A !important;
    }
    
    /* Busca no menu mobile */
    .mobile-search {
        display: block !important;
        padding: 20px;
        border-bottom: 2px solid #f0f0f0;
    }
    
    .mobile-search input {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        font-size: 14px;
        outline: none;
    }
    
    .mobile-search input:focus {
        border-color: #05307A;
    }
    
    .header-search {
        display: none;
    }
    
    .header-actions {
        display: flex;
    }
    
    .header-action-icon {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 10000;
        position: relative;
        background: transparent !important;
    }
    
    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:active,
    .mobile-menu-toggle:focus,
    .mobile-menu-toggle.active {
        background: transparent !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Overlay quando menu mobile está aberto */
    .header-menu.mobile-active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: -1;
    }
}
