/**
 * Estilos do Header Personalizado
 * Custom Header Plugin
 */

/* Reset e base */
.custom-header-promotional-banner,
.custom-header-main-nav {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Compensar header fixo */
body {
    padding-top: 120px;
}

/* Remover padding-top na página /agendamento/ */
body.page-template-agendamento,
body.page-slug-agendamento,
body[class*="agendamento"],
body.agendamento-page {
    padding-top: 0 !important;
}

/* Adicionar margin-bottom automática ao header */
.custom-header-promotional-banner,
.custom-header-main-nav {
    margin-bottom: 20px;
}

/* Garantir espaçamento do conteúdo principal */
body > *:not(.custom-header-promotional-banner):not(.custom-header-main-nav):not(.custom-header-mobile) {
    margin-top: 0px;
}

/* Espaçamento específico para conteúdo principal */
main,
.content,
.entry-content,
.post-content,
.page-content {
    margin-top: 0px;
    padding-top: 0px;
}

/* Banner Promocional */
.custom-header-promotional-banner {
    background-color: #f5f5f5;
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500 !important;
    width: 100%;
    overflow: hidden;
}

/* Desativar sticky menu na página /agendamento/ */
body.page-template-agendamento .custom-header-promotional-banner,
body.page-slug-agendamento .custom-header-promotional-banner,
body[class*="agendamento"] .custom-header-promotional-banner {
    position: static !important;
}

.custom-header-promotional-banner .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.promotional-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.promotional-text {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.promotional-text strong {
    color: #3366cc;
    font-weight: 800;
}

/* Ícone de biometria no banner promocional - Background gigante */
.promotional-icon {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 300px;
    color: #3366cc;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    margin-top: 50px;
}

.promotional-icon i {
    display: block;
    line-height: 1;
    animation: subtleFloat 6s ease-in-out infinite;
}

@keyframes subtleFloat {
    0%, 100% { 
        transform: rotate(-15deg) translateY(-50%) translateX(0px); 
    }
    50% { 
        transform: rotate(-15deg) translateY(-50%) translateX(-5px); 
    }
}


/* Navegação Principal */
.custom-header-main-nav {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 499 !important;
    width: 100%;
}

/* Desativar sticky menu na página /agendamento/ */
body.page-template-agendamento .custom-header-main-nav,
body.page-slug-agendamento .custom-header-main-nav,
body[class*="agendamento"] .custom-header-main-nav {
    position: static !important;
}

.custom-header-main-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Logo */
.nav-logo .logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.nav-logo .logo-link:hover {
    opacity: 0.8;
}

.logo-image {
    height: 28px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Menu de Navegação */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3366cc;
}

.nav-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    opacity: 0.7;
    margin-left: 6px;
}

.nav-arrow.fas {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.nav-icon {
    font-size: 16px;
    margin-right: 8px;
    opacity: 0.8;
}

.nav-icon.fas {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown Styles */
.nav-item.dropdown {
    position: relative;
}

/* Custom Dropdown Menu - Nova classe para evitar conflitos */
.custom-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    min-width: 220px !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
    padding: 8px 0 !important;
    list-style: none !important;
}

.nav-item.dropdown:hover .custom-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.custom-dropdown-item {
    display: flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    gap: 12px !important;
}

.custom-dropdown-item:hover {
    background-color: #f8f9fa !important;
    color: #3366cc !important;
    padding-left: 25px !important;
}

.custom-dropdown-item i {
    width: 16px !important;
    text-align: center !important;
    font-size: 14px !important;
}


/* Botões de Ação */
.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.action-button {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

/* Menu Minha Conta Dropdown */
.minha-conta-dropdown {
    position: relative;
}

.minha-conta-button {
    background-color: transparent;
    color: #333;
    border: none;
    padding: 10px 0;
    min-width: auto;
    justify-content: center;
    gap: 8px;
    position: relative;
    text-decoration: none;
}

.minha-conta-button:hover {
    background-color: transparent;
    color: #3366cc;
    transform: none;
    box-shadow: none;
}

.minha-conta-button .button-text,
.login-cadastro-button .button-text {
    font-size: 14px;
    font-weight: 500;
}

.login-cadastro-button {
    background-color: transparent;
    color: #333;
    border: none;
    padding: 10px 0;
    min-width: auto;
    justify-content: center;
    gap: 8px;
    position: relative;
    text-decoration: none;
}

.login-cadastro-button:hover {
    background-color: transparent;
    color: #3366cc;
    transform: none;
    box-shadow: none;
}

.minha-conta-button .dropdown-arrow {
    font-size: 12px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.minha-conta-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.minha-conta-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 600;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
    padding: 8px 0;
}

.minha-conta-dropdown:hover .minha-conta-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.minha-conta-dropdown-content .dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    gap: 12px;
}

.minha-conta-dropdown-content .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #3366cc;
    padding-left: 25px;
}

.minha-conta-dropdown-content .dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.minha-conta-dropdown-content .dropdown-item.logout {
    color: #dc3545;
}

.minha-conta-dropdown-content .dropdown-item.logout:hover {
    background-color: #f8d7da;
    color: #721c24;
}

.dropdown-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 8px 0;
}

/* Modal de Login */
body.modal-open {
    overflow: hidden;
}

.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

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

.login-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-modal.active .login-modal-overlay {
    opacity: 1;
}

.login-modal-content {
    position: relative;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
}

.login-modal.active .login-modal-content {
    transform: scale(1) translateY(0);
}

.login-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

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

.login-modal-header h3 i {
    font-size: 18px;
    color: #3366cc;
}

.login-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.login-modal-close:hover {
    background-color: #e0e0e0;
    color: #333;
}

.login-modal-body {
    padding: 25px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Mobile: remover gap do login-form */
@media (max-width: 768px) {
    .login-form {
        gap: 0px !important;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #3366cc;
    box-shadow: 0 0 0 3px rgba(51, 102, 204, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3366cc;
}

.login-submit-btn {
    background: linear-gradient(135deg, #3366cc 0%, #4a7cff 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-submit-btn:hover {
    background: linear-gradient(135deg, #2a55a8 0%, #3366cc 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(51, 102, 204, 0.3);
}

.login-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-links {
    text-align: center;
    margin-top: 10px;
}

.forgot-password-link {
    color: #3366cc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #2a55a8;
    text-decoration: underline;
}

.register-link {
    color: #3366cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #2a55a8;
    text-decoration: underline;
}

/* Responsividade do Modal */
@media (max-width: 480px) {
    .login-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .login-modal-header,
    .login-modal-body {
        padding: 20px;
    }
    
    .login-modal-header h3 {
        font-size: 18px;
    }
}

.portal-button {
    background-color: white;
    color: #3366cc;
    border: 2px solid #3366cc;
    padding: 12px;
    min-width: 48px;
    justify-content: center;
}

.portal-button:hover {
    background-color: #3366cc;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(51, 102, 204, 0.3);
}

.buy-button {
    background: linear-gradient(135deg, #3366cc 0%, #4a7cff 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(51, 102, 204, 0.3);
}

.buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.buy-button:hover {
    background: linear-gradient(135deg, #2a55a8 0%, #3366cc 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 102, 204, 0.4);
}


.button-icon {
    font-size: 16px;
    opacity: 0.8;
    margin-right: 8px;
}

.portal-button .button-icon {
    margin-right: 0;
    font-size: 18px;
}

.cart-button {
    background-color: white;
    color: #3366cc;
    border: 2px solid #3366cc;
    padding: 12px;
    min-width: 48px;
    justify-content: center;
    position: relative;
}

.cart-button:hover {
    background-color: #3366cc;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(51, 102, 204, 0.3);
}

.cart-button .button-icon {
    margin-right: 0;
    font-size: 18px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.cart-count.updated {
    transform: scale(1.2);
    background-color: #ff6666;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.cart-count:empty {
    display: none;
}

/* Carrinho Dropdown */
.cart-dropdown {
    position: relative;
}

.cart-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    max-width: 400px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.cart-dropdown:hover .cart-dropdown-content,
.cart-dropdown-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.cart-header h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.view-cart-link {
    color: #3366cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.view-cart-link:hover {
    color: #2a55a8;
    text-decoration: underline;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px 0;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

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

.item-image {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.item-details {
    flex: 1;
}

.item-details h5 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
}

.item-price {
    margin: 0 0 3px 0;
    font-size: 14px;
    font-weight: 600;
    color: #3366cc;
}

.item-quantity {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.item-quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

/* Wrapper para controles de quantidade e botão de remover */
.quantity-controls-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Estilos simples para input de quantidade */
.item-quantity-controls {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.item-quantity-controls input[type="number"] {
    width: 50px !important;
    height: 28px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-size: 13px !important;
    padding: 0 6px !important;
    background-color: #fff !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
}

.item-quantity-controls input[type="number"]:focus {
    border-color: #999 !important;
    outline: none !important;
    box-shadow: 0 0 0 1px rgba(153, 153, 153, 0.3) !important;
}

.item-quantity-controls input[type="number"]:hover {
    border-color: #999 !important;
}

/* Estilos específicos para input customizado */
.quantity-input-custom {
    width: 50px !important;
    height: 28px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-size: 13px !important;
    padding: 0 6px !important;
    background-color: #fff !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
}

.quantity-input-custom:focus {
    border-color: #999 !important;
    outline: none !important;
    box-shadow: 0 0 0 1px rgba(153, 153, 153, 0.3) !important;
}

.quantity-input-custom:hover {
    border-color: #999 !important;
}

/* Estilos mais específicos para garantir aplicação */
.cart-dropdown .item-actions .quantity-controls-wrapper .item-quantity-controls input[type="number"] {
    width: 50px !important;
    height: 28px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-size: 13px !important;
    padding: 0 6px !important;
    background-color: #fff !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.cart-dropdown .item-actions .quantity-controls-wrapper .item-quantity-controls input[type="number"]:focus {
    border-color: #999 !important;
    outline: none !important;
    box-shadow: 0 0 0 1px rgba(153, 153, 153, 0.3) !important;
}

.cart-dropdown .item-actions .quantity-controls-wrapper .item-quantity-controls input[type="number"]:hover {
    border-color: #999 !important;
}

/* Botões de quantidade customizados (se ainda existirem) */
.quantity-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: #3366cc;
    color: white;
    border-color: #3366cc;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8f9fa;
    color: #999;
    border-color: #ddd;
}

.quantity-btn:disabled:hover {
    background-color: #f8f9fa;
    color: #999;
    border-color: #ddd;
    transform: none;
}

.item-actions {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.remove-item-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ff4444;
    background-color: #fff;
    color: #ff4444;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.3s ease;
}

.remove-item-btn:hover {
    background-color: #ff4444;
    color: white;
    transform: scale(1.05);
}

.remove-item-btn:active {
    transform: scale(0.95);
}

.item-quantity.updated {
    color: #3366cc;
    font-weight: bold;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.cart-empty {
    padding: 30px 20px;
    text-align: center;
    color: #666;
}

.cart-footer {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.cart-total {
    margin-bottom: 10px;
    text-align: center;
    font-size: 16px;
    color: #333;
}

.checkout-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #3366cc 0%, #4a7cff 100%);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.checkout-button:hover {
    background: linear-gradient(135deg, #2a55a8 0%, #3366cc 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(51, 102, 204, 0.3);
}

.button-icon.fas {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Responsividade */
@media (max-width: 1024px) {
    .nav-list {
        gap: 25px;
    }
    
    .nav-actions {
        gap: 10px;
    }
    
    .action-button {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* Menu Mobile */
.custom-header-mobile {
    display: none;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    margin-top: 0;
}

.mobile-nav-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    gap: 15px;
}


/* Logo Mobile */
.mobile-logo {
    flex: 0 0 auto;
    text-align: left;
}

.mobile-logo-image {
    height: 36px !important;
    max-width: 140px !important;
    width: auto !important;
    object-fit: contain !important;
    margin-top: 4px !important;
}

/* Container dos Botões Mobile */
.mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* Botão Calendário Mobile */
.mobile-calendar-button {
    background: #f8f9fa;
    color: #3366cc;
    text-decoration: none;
    padding: 8px;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e0e0e0;
}

.mobile-calendar-button:hover {
    background: #3366cc;
    color: white;
    transform: translateY(-1px);
    border-color: #3366cc;
}

/* Botão Carrinho Mobile */
.mobile-cart-button {
    background: #f8f9fa;
    color: #3366cc;
    text-decoration: none;
    padding: 8px;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e0e0e0;
    position: relative;
}

.mobile-cart-button:hover {
    background: #3366cc;
    color: white;
    transform: translateY(-1px);
    border-color: #3366cc;
}

.mobile-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    min-width: 18px;
    animation: cartPulse 2s infinite;
}

@keyframes cartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Botão Comprar Mobile */
.mobile-buy-button {
    background: linear-gradient(135deg, #3366cc 0%, #4a7cff 100%);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-buy-button:hover {
    background: linear-gradient(135deg, #2a55a8 0%, #3366cc 100%);
    color: white;
    transform: translateY(-1px);
}


@media (max-width: 768px) {
    /* Mostrar menu mobile */
    .custom-header-mobile {
        display: block !important;
    }
    
    /* Ocultar menu desktop */
    .custom-header-promotional-banner,
    .custom-header-main-nav {
        display: none !important;
    }
    
    /* Remover padding do body em mobile */
    body {
        padding-top: 60px !important;
    }
}

@media (min-width: 769px) {
    /* Ocultar menu mobile em desktop */
    .custom-header-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    /* Menu customizado oculto em mobile - regras removidas */
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-header-promotional-banner,
.custom-header-main-nav {
    animation: fadeInDown 0.5s ease-out;
}

/* Estados de foco para acessibilidade */
.action-button:focus,
.promotional-button:focus,
.nav-link:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Melhorias para impressão */
@media print {
    .custom-header-promotional-banner,
    .custom-header-main-nav {
        display: none;
    }
}

/* Animação de remoção de item */
.cart-item.removing {
    opacity: 0.5;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.cart-item.removing .remove-item-btn {
    opacity: 0;
    pointer-events: none;
}

/* Spinner de carregamento */
.remove-item-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animação de atualização de quantidade */
.item-quantity.updated {
    animation: quantityUpdate 0.5s ease;
}

@keyframes quantityUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); color: #3366cc; }
    100% { transform: scale(1); }
}

/* Estilos para forçar posicionamento correto */
.cart-dropdown .cart-item .item-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

.cart-dropdown .cart-item .quantity-controls-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.cart-dropdown .cart-item .item-quantity-controls {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.cart-dropdown .cart-item .remove-item-btn {
    margin-left: 2px !important;
    flex-shrink: 0 !important;
}

/* Forçar estilos do input mesmo após carregamento */
.cart-dropdown input[type="number"],
.cart-dropdown .quantity-input-custom,
.cart-dropdown .item-quantity-controls input[type="number"] {
    width: 50px !important;
    height: 28px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-size: 13px !important;
    padding: 0 6px !important;
    background-color: #fff !important;
    color: #333 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    flex-shrink: 0 !important;
}

/* Responsividade simples para controles de quantidade */
@media (max-width: 768px) {
    .quantity-controls-wrapper {
        flex-direction: row;
        gap: 2px;
        align-items: center;
    }
    
    .item-quantity-controls input[type="number"] {
        width: 45px;
        font-size: 16px; /* Evitar zoom no iOS */
    }
    
    .remove-item-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* Aplicar margin-top apenas no desktop */
@media (min-width: 769px) {
    .et_pb_section.et_pb_section_0.et_pb_with_background.et_section_regular {
        margin-top: 100px;
    }
}
