/* ==========================================
   PROTEANJOS - ULTRA MODERN UI
   ========================================== */

:root {
    /* Cores Premium - Azul Bebê & Dourado Premium */
    --primary: #89CFF0;
    --primary-light: #B8E4FA;
    --primary-dark: #5BA4D9;
    --secondary: #14b8a6;
    --accent: #f59e0b;
    --dark: #000000;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    
    /* Gradientes Ultra Modernos - Azul Bebê & Dourado Premium */
    --gradient-primary: linear-gradient(135deg, #89CFF0 0%, #5BA4D9 100%);
    --gradient-glow: linear-gradient(135deg, #89CFF0 0%, #B8E4FA 50%, #5BA4D9 100%);
    --gradient-cyber: linear-gradient(135deg, #00d4ff 0%, #090979 100%);
    --gradient-sunset: linear-gradient(135deg, #89CFF0 0%, #B8E4FA 100%);
    --gradient-ocean: linear-gradient(135deg, #2af598 0%, #009efd 100%);
    
    /* Sombras Realistas */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 40px rgba(91, 164, 217, 0.3);
    --shadow-neon: 0 0 20px rgba(91, 164, 217, 0.6), 0 0 60px rgba(91, 164, 217, 0.4);
    
    /* Transições Suaves */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-fast: all 0.2s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Responsividade global para imagens e mídia */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #faf9f6;
    color: #1a1a1a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.index-page {
    background: #faf9f6;
    color: #1a1a1a;
}

/* Main content deve crescer para empurrar o footer */
.main-content {
    flex: 1;
    padding-top: 188px;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 clamp(12px, 2vw, 24px);
    box-sizing: border-box;
}

/* ==========================================
   HEADER FUTURISTA
   ========================================== */

/* Animação da linha azul bebê brilhante - Header */
@keyframes blueGlowLine {
    0%, 100% {
        box-shadow: 0 2px 10px rgba(16, 48, 112, 0.4), 0 4px 20px rgba(16, 48, 112, 0.2);
        border-bottom-color: rgba(240, 224, 0, 0.8);
        border-top-color: rgba(240, 224, 0, 0.8);
    }
    50% {
        box-shadow: 0 2px 20px rgba(240, 224, 0, 0.6), 0 4px 40px rgba(16, 48, 112, 0.4);
        border-bottom-color: rgba(240, 224, 0, 1);
        border-top-color: rgba(240, 224, 0, 1);
    }
}

/* Animação da linha amarela brilhante - Footer */
@keyframes yellowGlowFooter {
    0%, 100% {
        box-shadow: 0 -2px 10px rgba(240, 224, 0, 0.3), 0 -4px 20px rgba(240, 224, 0, 0.15);
        border-top-color: rgba(240, 224, 0, 0.6);
    }
    50% {
        box-shadow: 0 -2px 20px rgba(240, 224, 0, 0.6), 0 -4px 40px rgba(255, 215, 0, 0.4);
        border-top-color: rgba(240, 224, 0, 1);
    }
}

/* Shimmer - linha brilhante que percorre a borda */
@keyframes shimmerLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: #103070;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 3px solid rgba(240, 224, 0, 0.8);
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(16, 48, 112, 0.3), 0 4px 20px rgba(16, 48, 112, 0.15);
    animation: blueGlowLine 2.5s ease-in-out infinite;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    gap: 32px;
    min-height: 80px;
}

.logo {
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.logo a {
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo h1 {
    font-size: 32px;
    font-weight: 900;
    color: #eeff00;
    letter-spacing: -1px;
    position: relative;
    transition: color 0.3s ease;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(91, 164, 217, 0.6)); }
    50% { filter: drop-shadow(0 0 20px rgba(91, 164, 217, 0.9)); }
}

.logo .tagline {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
    display: block;
}

/* ==========================================
   CATEGORIES TABS
   ========================================== */

.categories-tabs {
    position: fixed;
    top: 130px; /* Logo abaixo do header fixo */
    left: 0;
    right: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-top: none;
    border-bottom: 1px solid rgba(91, 164, 217, 0.2);
    padding: 0;
}

.tabs-wrapper {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0;
    scrollbar-width: none;
    justify-content: center;
}

.tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-item i {
    font-size: 16px;
}

.tab-item:hover {
    background: rgba(91, 164, 217, 0.1);
    color: white;
    border-bottom-color: rgba(91, 164, 217, 0.5);
}

.tab-item.active {
    background: rgba(240, 224, 0, 0.15);
    border-bottom-color: #F0E000;
    color: white;
}

.tab-item.active i {
    color: #F0E000;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Search Bar - Design Clean (estilo Meu Carrinho) */
.search-bar {
    flex: 1;
    max-width: 600px;
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-bar input {
    width: 100%;
    padding: 14px 20px;
    padding-right: 60px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    color: #000000;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-bar input::placeholder {
    color: #666666;
}

.search-bar input:focus {
    outline: none;
    background: #ffffff;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 16px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    color: #103070;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #F0E000;
    color: #103070;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(240, 224, 0, 0.4);
}

/* ==================== AUTOCOMPLETE BUSCA ==================== */
.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    z-index: 10003;
    display: none;
    max-height: 400px;
    overflow: hidden;
}

.search-autocomplete.active {
    display: block;
}

.autocomplete-results {
    max-height: 400px;
    overflow-y: auto;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: #f5f5f5;
}

.autocomplete-item-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    background: #f0f0f0;
    flex-shrink: 0;
}

.autocomplete-item-info {
    flex: 1;
    min-width: 0;
}

.autocomplete-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-item-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #10b981;
    margin: 0;
}

.autocomplete-item-old-price {
    font-size: 0.75rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.autocomplete-loading,
.autocomplete-empty {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.autocomplete-loading i {
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

.autocomplete-view-all {
    display: block;
    padding: 12px 16px;
    text-align: center;
    background: #f8f9fa;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border-top: 1px solid #eee;
    transition: all 0.2s;
}

.autocomplete-view-all:hover {
    background: #10b981;
    color: #fff;
}

.autocomplete-view-all i {
    margin-left: 6px;
}

/* Navegação com Efeitos */
.header-nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #F0E000;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F0E000;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
    border-radius: 12px;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover {
    color: #103070;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(240, 224, 0, 0.4);
}

.nav-link:hover i,
.nav-link:hover span {
    color: #103070 !important;
    text-shadow: none !important;
    animation: none !important;
}

.nav-link i {
    font-size: 24px;
}

.nav-link span {
    font-size: 12px;
    font-weight: 600;
}

.cart-badge {
    position: absolute;
    top: 6px;
    right: 10px;
    background: linear-gradient(135deg, #F0E000 0%, #FFD700 100%);
    color: #103070;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ==========================================
   USER DROPDOWN
   ========================================== */

.user-dropdown-container {
    position: relative;
    cursor: pointer;
    z-index: 10001;
}

/* Área invisível para conectar o trigger ao dropdown */
.user-dropdown-container::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px; /* Ponte entre trigger e dropdown */
    background: transparent;
}

/* Novo design do trigger do usuário */
.user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.user-trigger:hover,
.user-dropdown-container.active .user-trigger {
    background: #103070;
    box-shadow: 0 4px 15px rgba(16, 48, 112, 0.4);
}

.user-trigger:hover .user-welcome,
.user-trigger:hover .user-action,
.user-trigger:hover .user-action span,
.user-trigger:hover .user-action i,
.user-dropdown-container.active .user-welcome,
.user-dropdown-container.active .user-action,
.user-dropdown-container.active .user-action span,
.user-dropdown-container.active .user-action i {
    color: #ffffff;
}

.user-trigger-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.user-welcome {
    font-size: 12px;
    color: #F0E000;
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.user-action {
    font-size: 13px;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-action span {
    font-weight: 400;
    color: #ffffff;
}

.user-action i {
    font-size: 10px;
    margin-left: 4px;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.user-dropdown-container:hover .user-action i {
    transform: rotate(180deg);
}

/* Estado logado - Avatar + Nome */
.user-trigger-logged {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.user-trigger-logged:hover,
.user-dropdown-container.active .user-trigger-logged {
    background: #103070;
    box-shadow: 0 4px 15px rgba(16, 48, 112, 0.4);
}

.user-trigger-logged:hover .user-name-logged,
.user-trigger-logged:hover .user-name-display,
.user-trigger-logged:hover .user-name-logged i,
.user-dropdown-container.active .user-name-logged,
.user-dropdown-container.active .user-name-display,
.user-dropdown-container.active .user-name-logged i {
    color: #ffffff;
}

.user-trigger-logged .user-trigger-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F0E000, #d4c800);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(16, 48, 112, 0.3);
}

@media (max-width: 768px) {
    .user-avatar-small {
        display: none !important;
    }
}

.user-avatar-small i {
    font-size: 14px;
    color: #ffffff;
}

.user-avatar-small img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-name-logged {
    font-size: 13px;
    color: #ffffff;
    color: #F0E000;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-name-logged i {
    font-size: 10px;
    color: rgba(240, 224, 0, 0.7);
    transition: transform 0.2s ease;
}

.user-dropdown-container:hover .user-name-logged i {
    transform: rotate(180deg);
}

.user-name-display {
    font-size: 14px;
    font-weight: 600;
    color: #F0E000;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-trigger-logged > i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.2s ease;
}

.user-dropdown-container:hover .user-trigger-logged > i {
    transform: rotate(180deg);
}

/* Design antigo do user-link (mantido para compatibilidade) */
.user-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.user-link:hover {
    color: var(--white);
}

.user-link i {
    font-size: 24px;
}

.user-link span {
    font-size: 12px;
    font-weight: 600;
}

/* Novo design do dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    min-width: 220px;
    background: #faf9f6;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(16, 48, 112, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    transition-delay: 0.1s; /* Pequeno delay para não fechar imediatamente */
    z-index: 10002;
    pointer-events: none;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Mostrar dropdown no hover (desktop) ou clique (mobile) */
.user-dropdown-container:hover .user-dropdown,
.user-dropdown-container.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s; /* Abre imediatamente */
}

/* Mobile: dropdown abre via clique, desabilita hover */
@media (max-width: 768px) {
    .user-dropdown-container:hover .user-dropdown {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
    }
    
    .user-dropdown-container.active .user-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        position: absolute;
        top: 100%;
        bottom: auto;
        left: 0;
        right: auto;
        width: 220px;
        max-height: 60vh;
        overflow-y: auto;
        z-index: 10002;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        margin-top: 5px;
    }
    
    /* === DROPDOWN COMPACTO NO MOBILE === */
    .user-dropdown {
        min-width: 180px !important;
    }
    
    .dropdown-header {
        padding: 10px 12px !important;
        gap: 8px !important;
    }
    
    .dropdown-avatar {
        width: 32px !important;
        height: 32px !important;
    }
    
    .dropdown-avatar i {
        font-size: 14px !important;
    }
    
    .dropdown-greeting {
        font-size: 12px !important;
    }
    
    .dropdown-menu-items {
        padding: 4px 0 !important;
    }
    
    .user-dropdown .dropdown-item {
        padding: 8px 12px !important;
        gap: 8px !important;
        font-size: 12px !important;
    }
    
    .user-dropdown .dropdown-item i {
        font-size: 12px !important;
        width: 16px !important;
    }
    
    .dropdown-login-actions {
        padding: 8px 12px !important;
        gap: 6px !important;
    }
    
    .dropdown-btn-primary,
    .dropdown-btn-secondary {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    
    .dropdown-footer {
        padding: 4px 0 !important;
    }
    
    /* === ESCONDER LINKS DESKTOP NO MOBILE === */
    .nav-link-desktop {
        display: none !important;
    }
    
    /* === ESCONDER BARRA DE BUSCA DESKTOP NO MOBILE === */
    .search-bar-desktop {
        display: none !important;
    }
    
    /* === REORGANIZAR HEADER MOBILE === */
    .header-content {
        flex-wrap: nowrap !important;
        padding: 10px 15px !important;
        gap: 10px !important;
        align-items: center !important;
    }
    
    /* Esconder título e subtítulo no mobile */
    .logo h1,
    .logo #siteName,
    .logo .tagline,
    .logo #siteTagline,
    .logo > a > div {
        display: none !important;
    }
    
    /* Logo apenas imagem - na mesma linha */
    .logo {
        order: 1;
        flex: 0 0 auto;
    }
    
    .logo > a {
        gap: 0 !important;
    }
    
    .logo img,
    #headerLogoImg {
        height: 55px !important;
        width: 55px !important;
        object-fit: contain !important;
    }
    
    /* Header nav reorganizado */
    .header-nav {
        order: 2;
        flex: 1;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    
    /* Bem vindo primeiro (após logo) */
    .user-dropdown-container {
        order: 1;
        flex: 1;
        display: flex;
        justify-content: center;
    }
    
    /* Menu hambúrguer segundo */
    .mobile-menu-container {
        order: 2;
    }
    
    /* Lupa mobile escondida - busca sempre visível */
    .mobile-search-btn {
        display: none !important;
    }
    
    /* === AJUSTAR ESPAÇAMENTO DO CONTEÚDO === */
    .main-content {
        padding-top: 80px !important;
    }
    
    .hero-section,
    .banner-section,
    .hero-banner-section {
        margin-top: 0 !important;
    }
    
    /* === ÍCONE DE BUSCA MOBILE (escondido, busca sempre visível) === */
    .mobile-search-btn {
        display: none !important;
    }
    
    .mobile-search-btn:hover,
    .mobile-search-btn:active {
        background: #F0E000;
        color: #103070;
        box-shadow: 0 4px 15px rgba(240, 224, 0, 0.4);
    }
    
    /* === BARRA DE BUSCA MOBILE - SEMPRE VISÍVEL === */
    .search-bar-mobile {
        display: flex !important;
        position: relative;
        left: 0;
        right: 0;
        background: #faf9f6;
        padding: 8px 15px;
        z-index: 9998;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .search-bar-mobile.active {
        display: flex;
    }
    
    .search-bar-mobile input {
        flex: 1;
        padding: 10px 15px;
        background: #fff;
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 25px;
        color: #333;
        font-size: 14px;
        outline: none;
    }
    
    .search-bar-mobile input:focus {
        border-color: #F0E000;
    }
    
    .search-bar-mobile input::placeholder {
        color: #999;
    }
    
    .search-btn-mobile {
        width: 40px;
        height: 40px;
        background: #F0E000;
        border: none;
        border-radius: 50%;
        color: #103070;
        font-size: 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }
    
    .search-btn-mobile:hover {
        background: #FFD700;
    }
    
    .search-close-mobile {
        display: none !important;
    }
    
    /* === MENU HAMBÚRGUER MOBILE === */
    .mobile-menu-container {
        display: block !important;
        position: relative;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 20px;
        cursor: pointer;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn:hover,
    .mobile-menu-btn:active,
    .mobile-menu-container.active .mobile-menu-btn {
        background: #103070;
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(16, 48, 112, 0.4);
    }
    
    .mobile-menu-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        min-width: 160px;
        background: #103070;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 8px;
        box-shadow: 0 10px 40px rgba(6, 18, 47, 0.35);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 9999;
        margin-top: 5px;
        overflow: hidden;
    }
    
    .mobile-menu-container.active .mobile-menu-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .mobile-menu-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .mobile-menu-item:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }
    
    .mobile-menu-item i {
        font-size: 16px;
        width: 20px;
        text-align: center;
        color: #ffffff;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-item:hover i {
        color: #ffffff;
    }
    
    .mobile-menu-item .cart-badge {
        position: absolute;
        right: 16px;
        background: #89CFF0;
        color: #fff;
        font-size: 10px;
        padding: 2px 6px;
        border-radius: 10px;
    }
}

/* Desktop: esconder menu hambúrguer e busca mobile */
@media (min-width: 769px) {
    .mobile-menu-container {
        display: none !important;
    }
    
    .mobile-search-btn {
        display: none !important;
    }
    
    .search-bar-mobile {
        display: none !important;
    }
    
    .nav-link-desktop {
        display: flex !important;
    }
    
    .search-bar-desktop {
        display: flex !important;
    }
}

/* Header do dropdown com avatar */
.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(16, 48, 112, 0.2);
    background: #faf9f6;
}

.dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eef3fb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dropdown-avatar i {
    font-size: 22px;
    color: #103070;
}

.dropdown-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-greeting {
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

.dropdown-greeting strong {
    color: #103070;
    font-weight: 600;
}

/* Menu items */
.dropdown-menu-items {
    padding: 8px 0;
}

.user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.user-dropdown .dropdown-item:hover {
    background: #103070;
    color: #ffffff;
}

.mobile-menu-item span {
    color: #ffffff;
}

.user-dropdown .dropdown-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #103070;
    transition: all 0.2s ease;
}

.user-dropdown .dropdown-item:hover i {
    color: #F0E000;
}

/* Footer do dropdown */
.dropdown-footer {
    border-top: 1px solid rgba(16, 48, 112, 0.2);
    padding: 8px 0;
}

.logout-item {
    color: #103070 !important;
}

.logout-item i {
    color: #103070 !important;
}

.logout-item:hover {
    background: #103070 !important;
    color: #F0E000 !important;
}

.logout-item:hover i {
    color: #F0E000 !important;
}

/* Ações de login (quando não logado) */
.dropdown-login-actions {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(16, 48, 112, 0.2);
}

.dropdown-btn-primary {
    display: block;
    padding: 10px 16px;
    background: #103070;
    color: #F0E000;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-btn-primary:hover {
    background: #0d2560;
}

.dropdown-btn-secondary {
    display: block;
    padding: 10px 16px;
    background: transparent;
    color: #103070;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #103070;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-btn-secondary:hover {
    background: #103070;
    color: #F0E000;
    border-color: #103070;
}

.user-dropdown .dropdown-divider {
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
    margin: 8px 0;
}

/* ==========================================
   HERO BANNER ESPETACULAR
   ========================================== */

.hero-banner {
    margin-top: 160px; /* Espaço para header + categories-tabs */
    position: relative;
    height: 700px;
    background: var(--gradient-glow);
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.4) 0%, transparent 50%);
}

.banner-slider {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.banner-slide.active {
    opacity: 1;
    animation: slideIn 1s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.banner-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.banner-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
    animation: textReveal 1s ease;
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.banner-subtitle {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.95;
    animation: textReveal 1s ease 0.2s backwards;
}

.btn {
    display: inline-block;
    padding: 18px 48px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 16px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    animation: textReveal 1s ease 0.4s backwards;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(91, 164, 217, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

/* Setas do Banner */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 100;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.banner-arrow-left { left: 32px; }
.banner-arrow-right { right: 32px; }

.banner-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.banner-dot.active {
    width: 40px;
    border-radius: 6px;
    background: white;
}

/* ==========================================
   SECTIONS
   ========================================== */

.categories-section,
.featured-products,
.benefits-section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    color: #1a1a1a;
    text-align: center;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 64px;
}

.view-all-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.view-all-link:hover {
    gap: 16px;
    color: white;
}

/* ==========================================
   CATEGORIAS ULTRA MODERNAS
   ========================================== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.05);
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(91, 164, 217, 0.3),
        transparent 30%
    );
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: var(--transition-smooth);
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(91, 164, 217, 0.5);
    box-shadow: 0 20px 60px rgba(91, 164, 217, 0.3);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: var(--gradient-ocean);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: var(--transition-bounce);
}

.category-card:hover .category-icon {
    transform: rotate(10deg) scale(1.1);
}

.category-icon i {
    font-size: 48px;
    color: white;
}

.category-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.category-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* ==========================================
   PRODUTOS PREMIUM
   ========================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.product-card::after {
    display: none;
}

.product-card:hover::after {
    display: none;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #ddd;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 320px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: none;
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #89CFF0 0%, #B8E4FA 100%);
    color: var(--dark);
    font-size: 12px;
    font-weight: 800;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(250, 112, 154, 0.6);
    z-index: 10;
}

.product-info {
    padding: 24px;
}

.product-category {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Novo estilo de preços inspirado no Kabum */
.product-prices {
    margin-bottom: 16px;
}

.price-main-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.price-main-value {
    font-size: 27px;
    font-weight: 900;
    color: #10b981;
    line-height: 1.1;
}

.price-pix-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    text-transform: lowercase;
}

.price-installment-info {
    margin-top: 2px;
    margin-bottom: 12px;
}

.price-installment-text {
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
}

.price-installment-text strong {
    color: #6b7280;
    font-weight: 600;
}

/* Garantir que o padrão seja aplicado em todos os cards de produto */
.product-card .price-main-row,
.products-carousel .product-card .price-main-row,
.category-section .product-card .price-main-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: baseline !important;
    gap: 6px;
    margin-bottom: 4px;
    white-space: nowrap;
}

.product-card .price-main-value,
.products-carousel .product-card .price-main-value,
.category-section .product-card .price-main-value {
    font-size: 24px;
    font-weight: 900;
    color: #10b981;
    line-height: 1.1;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-card .price-pix-label,
.products-carousel .product-card .price-pix-label,
.category-section .product-card .price-pix-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    text-transform: lowercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-card .price-installment-info,
.products-carousel .product-card .price-installment-info,
.category-section .product-card .price-installment-info {
    margin-top: 2px;
    margin-bottom: 12px;
}

.product-card .price-installment-text,
.products-carousel .product-card .price-installment-text,
.category-section .product-card .price-installment-text {
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
}

.product-card .price-installment-text strong,
.products-carousel .product-card .price-installment-text strong,
.category-section .product-card .price-installment-text strong {
    color: #6b7280;
    font-weight: 600;
}

.quantity-selector-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.quantity-selector-bottom .qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector-bottom .qty-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.quantity-selector-bottom .qty-value {
    min-width: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.price-current {
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-old {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 12px;
}

.product-actions button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-add-cart {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(91, 164, 217, 0.4);
}

.btn-add-cart:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(91, 164, 217, 0.6);
}

.btn-favorite {
    width: 52px;
    background: #f3f4f6;
    color: #ef4444;
    border: 2px solid #e5e7eb;
}

.btn-favorite:hover {
    background: #fee2e2;
    border-color: #ef4444;
    color: #dc2626;
    transform: scale(1.1);
}

/* ==========================================
   BENEFÍCIOS
   ========================================== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(91, 164, 217, 0.5);
    box-shadow: 0 16px 48px rgba(91, 164, 217, 0.3);
}

.benefit-card i {
    font-size: 56px;
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ==========================================
   FOOTER PREMIUM
   ========================================== */

.footer {
    position: relative;
    background: #103070 !important;
    border-top: 3px solid rgba(240, 224, 0, 0.6);
    padding: 0;
    margin-top: clamp(40px, 5vw, 60px);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    animation: yellowGlowFooter 2.5s ease-in-out infinite;
}

/* Shimmer effect on footer top line */
.footer::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -100%;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shimmerLine 3s ease-in-out infinite;
    z-index: 3;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
}

.footer-column h3, .footer-column h4 {
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 700;
    color: #F0E000;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #F0E000;
    background-clip: unset;
}

.footer-column p {
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 14px;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-column a:hover {
    color: #F0E000;
    transform: translateX(4px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.7);
}

.contact-info i {
    width: 24px;
    color: #F0E000;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 0;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(240, 224, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(240, 224, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #F0E000, #FFD700);
    opacity: 0;
    transition: var(--transition-smooth);
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a i {
    position: relative;
    z-index: 1;
    font-size: 16px;
    color: #F0E000;
}

.social-links a svg {
    position: relative;
    z-index: 1;
    fill: #F0E000;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(240, 224, 0, 0.5);
    box-shadow: 0 4px 16px rgba(240, 224, 0, 0.35);
}

.social-links a:hover i {
    color: #103070;
}

.social-links a:hover svg {
    fill: #103070;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(240, 224, 0, 0.2);
    padding: 0.75rem clamp(16px, 3vw, 32px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    margin: 0;
}

.payment-methods {
    display: flex;
    gap: 20px;
    font-size: 36px;
}

.payment-methods i {
    opacity: 0.5;
    color: #F0E000;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.payment-methods i:hover {
    opacity: 1;
    transform: translateY(-4px);
    filter: drop-shadow(0 4px 8px rgba(240, 224, 0, 0.4));
}

/* ==========================================
   MODAL CARRINHO - SLIDE LATERAL
   ========================================== */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: block;
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cart-modal {
    position: fixed;
    top: 0;
    right: -500px;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    height: 100dvh;
    background: #fafafa;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transition: right 0.35s ease;
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.active .cart-modal {
    right: 0;
}

.modal-header {
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #1a1a1a;
    margin: 0;
}

.modal-header h3 i {
    font-size: 1.1rem;
    color: #10b981;
}

.close-modal {
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: #1a1a1a;
    color: white;
}

.cart-items {
    flex: 0 0 auto;
    padding: 1rem;
    overflow: visible;
    background: #fafafa;
}

.cart-items::-webkit-scrollbar {
    width: 4px;
}

.cart-items::-webkit-scrollbar-track {
    background: transparent;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.cart-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    align-items: center;
    transition: all 0.2s ease;
}

.cart-item:hover {
    border-color: #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cart-item-image {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: contain;
    background: #f5f5f5;
    border: 1px solid #eee;
    padding: 4px;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.35;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: #10b981;
    font-weight: 700;
    font-size: 0.95rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 3px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #1a1a1a;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.qty-btn:hover {
    background: #10b981;
}

.qty-btn:active {
    transform: scale(0.95);
}

.cart-item-quantity span {
    min-width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a1a;
}

.cart-item-remove {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    color: #ccc;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-left: 0.5rem;
}

.cart-item-remove:hover {
    background: #fef2f2;
    color: #ef4444;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    height: 100%;
}

.cart-empty i {
    font-size: 3.5rem;
    color: #ddd;
    margin-bottom: 1.25rem;
}

.cart-empty h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: 600;
}

.cart-empty p {
    color: #888;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.cart-footer {
    padding: 1.25rem;
    background: #ffffff;
    border-top: 1px solid #eee;
    flex-shrink: 0;
    position: static;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1rem;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.cart-summary-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.cart-summary-title i {
    color: #10b981;
    font-size: 1rem;
}

.cart-summary-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cart-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cart-panel-title,
.cart-discount-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: #111827;
}

.cart-panel-title i,
.cart-discount-title i {
    color: #10b981;
}

.cart-panel-status {
    color: #f59e0b;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.cart-shipping-calc {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cart-shipping-form,
.cart-coupon-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-shipping-input,
.cart-coupon-input {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.85rem;
    background: #f9fafb;
    color: #111827;
    outline: none;
}

.cart-shipping-input:focus,
.cart-coupon-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.cart-shipping-button,
.cart-coupon-button {
    border: none;
    border-radius: 8px;
    background: #10b981;
    color: #ffffff;
    padding: 0.72rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.cart-shipping-options {
    margin-top: 0.1rem;
}

.cart-discount-header {
    padding: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.cart-discount-header #cartCouponChevron {
    color: #6b7280;
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.cart-coupon-input-container {
    padding-top: 0.75rem;
}

.cart-coupon-error {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.cart-coupon-applied {
    margin-top: 0.5rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: #d1d5db;
    margin-bottom: 0;
}

.cart-summary-row span:first-child {
    color: rgba(255, 255, 255, 0.72);
}

.cart-summary-row span:last-child {
    color: #ffffff;
    font-weight: 700;
    white-space: nowrap;
}

/* === CART TOTAL ANIMATED (igual ao checkout) === */
.cart-total-animated {
    position: relative;
    margin-top: 0;
    padding: 1.15rem 1.25rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #0b3b2f 100%);
    border: 1px solid rgba(16, 185, 129, 0.22);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18), 0 8px 20px rgba(5, 150, 105, 0.12);
    position: relative;
    overflow: hidden;
}

.cart-total-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 36%),
        linear-gradient(120deg, rgba(16, 185, 129, 0.18), transparent 52%);
    pointer-events: none;
}

.cart-summary-breakdown {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cart-summary-breakdown .cart-discount-row span:first-child,
.cart-summary-breakdown .cart-discount-row span:last-child {
    color: #86efac;
}

.cart-summary-breakdown .cart-shipping-row span:last-child {
    color: #6ee7b7;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.cart-total-label {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cart-total-heading-stack {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.cart-total-values {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    text-align: right;
    position: relative;
    z-index: 1;
}

.cart-total-original {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.56);
    text-decoration: line-through;
    font-weight: 700;
    text-transform: uppercase;
}

.cart-total-value {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.18);
    animation: cartTotalPulse 2s ease-in-out infinite;
}

@keyframes cartTotalPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.cart-total-savings {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1;
}

.cart-total-savings i {
    color: #fbbf24;
    font-size: 0.8rem;
}

.cart-total-savings span {
    color: #fbbf24;
    font-size: 0.8rem;
    font-weight: 600;
}

.cart-installments {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.5rem;
    padding: 0.6rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
}

.cart-installments strong {
    color: #10b981;
}

.total-price {
    color: #10b981;
    background: none;
    -webkit-text-fill-color: #10b981;
}

.cart-checkout-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: #1a1a1a;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.cart-checkout-btn:hover {
    background: #10b981;
}

.cart-checkout-btn:active {
    transform: scale(0.98);
}

.cart-continue-btn {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: transparent;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cart-continue-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* Botões do carrinho - específicos */
.cart-footer .cart-checkout-btn,
.cart-footer .btn-block.cart-checkout-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: #1a1a1a;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    box-shadow: none;
    transform: none;
    animation: none;
}

.cart-footer .cart-checkout-btn::before {
    display: none;
}

.cart-footer .cart-checkout-btn:hover {
    background: #10b981;
    transform: none;
    box-shadow: none;
}

.cart-footer .cart-continue-btn,
.cart-footer .btn-block.cart-continue-btn {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: transparent;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: none;
    transform: none;
    animation: none;
}

.cart-footer .cart-continue-btn::before {
    display: none;
}

.cart-footer .cart-continue-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
    transform: none;
    box-shadow: none;
}

/* Cart fixed footer - botões flutuantes */
.cart-fixed-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-footer {
    padding-bottom: 0 !important;
}

@media (max-width: 768px) {
    .cart-fixed-footer {
        position: fixed;
        left: 0;
        right: 0;
        padding: 0.75rem 1rem;
    }
    
    .cart-footer {
        padding-bottom: 120px !important;
    }
}

/* Badges de segurança do carrinho */
.cart-security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

.cart-security-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #888;
    font-size: 0.75rem;
    font-weight: 500;
}

.cart-security-badge i {
    font-size: 0.9rem;
    color: #10b981;
}

/* Ícones de pagamento do carrinho */
.cart-payment-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}

.cart-payment-icons i {
    font-size: 1.5rem;
    color: #bbb;
    transition: color 0.2s;
}

.cart-payment-icons i:hover {
    color: #1a1a1a;
}

.btn-block {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 16px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(91, 164, 217, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(91, 164, 217, 0.6);
}

.btn-block:active {
    transform: translateY(0);
}

.btn-block i {
    font-size: 18px;
}

/* Mobile Responsivo */
@media (max-width: 768px) {
    .cart-modal {
        max-width: 100%;
    }
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(91, 164, 217, 0.6);
}

/* ==========================================
   LOADING SKELETON
   ========================================== */

.loading-skeleton {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.skeleton-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

@keyframes skeletonPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.6; }
}

.skeleton-card::before {
    content: '';
    display: block;
    height: 320px;
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }
    
    .banner-title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .header-nav {
        gap: 12px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .banner-title {
        font-size: 40px;
    }
    
    .banner-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .categories-grid,
    .products-grid,
    .benefits-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 32px;
    }
    
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   PÁGINA DE PRODUTOS
   ========================================== */

.products-page {
    padding-top: 120px;
    min-height: 100vh;
}

.products-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(12px, 2vw, 24px);
    box-sizing: border-box;
}

.page-header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    margin-bottom: 1rem;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: white;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.filters-sidebar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 32px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.filter-group {
    margin-bottom: 32px;
}

.filter-group h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #666666;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-group label:hover {
    color: #1a1a1a;
}

.filter-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.products-main {
    min-height: 400px;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
}

.products-count {
    color: #666666;
    font-size: 14px;
}

.sort-select {
    padding: 12px 20px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sort-select:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

/* ==========================================
   PÁGINA DO PRODUTO
   ========================================== */

.product-page {
    padding-top: 120px;
    min-height: 100vh;
    padding-bottom: 80px;
}

.product-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(12px, 2vw, 24px);
    box-sizing: border-box;
}

.product-card-full {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.product-header {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: 48px;
    padding: 48px;
}

.product-gallery {
    position: sticky;
    top: 120px;
}

.product-main-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    transform: none !important;
    transition: none !important;
    cursor: default;
    pointer-events: none;
}

.product-main-image:hover,
.product-main-image:active,
.product-main-image:focus {
    transform: none !important;
    transition: none !important;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.product-thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--primary);
    transform: scale(1.05);
}

.product-details h1 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #fbbf24;
    font-size: 18px;
}

.product-sku {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.product-price-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 32px;
}

.product-price-large {
    font-size: 56px;
    font-weight: 900;
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.product-price-installments {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.product-actions-section {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.product-actions-section .btn {
    flex: 1;
}

.product-description {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-description h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-light);
}

.product-description p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 16px;
}

.product-specs {
    background: rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: 16px;
    margin-top: 32px;
}

.product-specs h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.spec-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.spec-value {
    color: white;
    font-weight: 600;
}

.related-products {
    margin-top: 80px;
}

.related-products h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 32px;
    text-align: center;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* USER DROPDOWN - FORÇADO (removido - estilos agora estão nas linhas 362-450) */

/* ==========================================
   BANNER CARROSSEL - HOMEPAGE
   ========================================== */

.banner-section {
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.banner-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-content {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 48px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.banner-text {
    max-width: 600px;
    color: white;
    z-index: 2;
}

.banner-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.5);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #ffc107;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.banner-text h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.6;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #89CFF0 0%, #8b5cf6 100%);
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(91, 164, 217, 0.4);
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(91, 164, 217, 0.5);
}

.banner-image {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

/* Banner Controls */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-arrow:hover {
    background: rgba(91, 164, 217, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.banner-arrow-left {
    left: 24px;
}

.banner-arrow-right {
    right: 24px;
}

.banner-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active,
.banner-dot:hover {
    background: #89CFF0;
    transform: scale(1.2);
}

/* ==========================================
   CATEGORIAS SECTION - HOMEPAGE (APENAS ÍCONES)
   ========================================== */

.categories-section {
    padding: 24px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.categories-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    min-width: 100px;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: #89CFF0;
    box-shadow: 0 12px 32px rgba(91, 164, 217, 0.2);
}

.category-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #89CFF0 0%, #8b5cf6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-icon i {
    font-size: 24px;
    color: white;
}

.category-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: center;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-count {
    display: none;
}

.categories-loading,
.products-loading {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #64748b;
    gap: 12px;
}

.categories-loading i,
.products-loading i {
    font-size: 28px;
    color: #89CFF0;
}

/* ==========================================
   PRODUTOS SECTION - HOMEPAGE
   ========================================== */

.products-section {
    padding: clamp(24px, 3vw, 40px) clamp(12px, 2vw, 24px);
    background: #000000;
    color: #ffffff;
    max-width: 100%;
    width: 100%;
    margin: 1rem auto;
    border-radius: 16px;
    box-sizing: border-box;
}

.products-section .products-container {
    max-width: 100%;
    padding: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #103070;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #F0E000;
}

.section-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #103070;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-link:hover {
    gap: 12px;
    color: #0d2560;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Responsive Banner */
@media (max-width: 768px) {
    .banner-carousel {
        height: 350px;
    }
    
    .banner-text h2 {
        font-size: 28px;
    }
    
    .banner-text p {
        font-size: 14px;
    }
    
    .banner-content {
        padding: 0 24px;
    }
    
    .banner-image {
        display: none;
    }
    
    .banner-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-card {
        padding: 16px 12px;
    }
    
    .category-icon {
        width: 48px;
        height: 48px;
    }
    
    .category-icon i {
        font-size: 22px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ==========================================
   MOBILE GLOBAL - ESPAÇAMENTO HEADER FIXO
   ========================================== */
@media (max-width: 768px) {
    /* === LOGO E TÍTULO MAIORES NO MOBILE === */
    .logo img,
    #headerLogoImg {
        height: 55px !important;
        width: 55px !important;
        min-width: 55px !important;
        min-height: 55px !important;
    }
    
    .logo h1,
    #siteName {
        font-size: 22px !important;
        font-weight: 700 !important;
    }
    
    .logo .tagline,
    #siteTagline {
        font-size: 10px !important;
    }
    
    /* === ESPAÇAMENTO EXTRA ENTRE HEADER E CONTEÚDO === */
    .search-bar {
        margin-bottom: 15px !important;
    }
    
    /* Conteúdo principal com espaço para header fixo + busca + mega-nav */
    .main-content {
        padding-top: 310px !important;
    }
    
    /* Hero/Banner sections - quando são os primeiros elementos */
    .main-content > .hero-section:first-child,
    .main-content > .banner-section:first-child,
    .main-content > .hero-banner-section:first-child,
    .main-content > section:first-child {
        margin-top: 0 !important;
    }
    
    /* Se hero-banner está com display:none, o próximo visível precisa da margem */
    .hero-banner-section + .horizontal-banner-section,
    .hero-banner-section + section {
        margin-top: 0 !important;
    }
    
    /* Página de produtos - produtos.html */
    .products-page {
        padding-top: 310px !important;
    }
    
    /* Página de produto individual - produto.html */
    .product-page {
        padding-top: 310px !important;
    }
    
    .product-container {
        padding-top: 20px !important;
    }
    
    /* Checkout */
    .checkout-page {
        padding-top: 310px !important;
    }

    .checkout-container {
        padding-top: 20px !important;
    }
    
    /* Carrinho */
    .cart-page,
    .cart-container {
        padding-top: 310px !important;
    }
    
    /* Perfil e Pedidos */
    .profile-page,
    .profile-container,
    .orders-page,
    .orders-container {
        padding-top: 310px !important;
    }
    
    /* Favoritos */
    .favorites-page {
        padding-top: 310px !important;
    }
    
    /* Páginas de autenticação */
    .auth-page,
    .login-page,
    .register-page,
    .auth-container {
        padding-top: 310px !important;
    }
    
    /* Páginas informativas */
    .about-page,
    .terms-page,
    .privacy-page,
    .help-page,
    .returns-page,
    .help-container {
        padding-top: 310px !important;
    }
    
    /* Container genérico - fallback */
    .page-container {
        padding-top: 310px !important;
    }
    
    /* Seção de categorias - ajustar posição */
    .categories-tabs {
        top: 80px !important;
    }
    
    /* Quando tem categories-tabs visível, aumentar o espaço */
    .categories-tabs ~ .main-content,
    .categories-tabs + .main-content {
        padding-top: 290px !important;
    }
}

/* ==================== MEGA MENU CATEGORIAS ==================== */

.mega-nav {
    position: relative;
    left: 0;
    right: 0;
    z-index: 1001;
    background: linear-gradient(135deg, #0d2560 0%, #103070 100%);
    border-top: none;
    border-bottom: 1px solid rgba(240, 224, 0, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mega-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 48px;
}

.mega-nav-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    border: none;
    padding: 0 22px;
    height: 48px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.mega-nav-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.mega-nav-trigger:hover::before {
    left: 100%;
}

.mega-nav-trigger:hover,
.mega-nav-trigger.active {
    background: rgba(255, 255, 255, 0.1);
}

.mega-nav-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.mega-nav-trigger.active .mega-nav-arrow {
    transform: rotate(180deg);
}

.mega-nav-links {
    display: flex;
    align-items: center;
    height: 48px;
    flex: 1;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.mega-nav-link {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition-fast);
    position: relative;
}

.mega-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-glow);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.mega-nav-link:hover {
    color: #fff;
    background: rgba(137, 207, 240, 0.15);
}

.mega-nav-link:hover::after {
    width: 70%;
}

.mega-catlist {
    position: fixed;
    top: 178px;
    left: 24px;
    width: 280px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 1001;
    padding: 8px 0;
}

.mega-catlist.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.mega-catlist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.mega-catlist-item i {
    font-size: 11px;
    color: #94a3b8;
    transition: all 0.15s ease;
}

.mega-catlist-item:hover,
.mega-catlist-item.active {
    background: #f1f5f9;
    color: var(--primary-dark);
    border-left-color: var(--primary);
}

.mega-catlist-item:hover i,
.mega-catlist-item.active i {
    color: var(--primary);
    transform: translateX(2px);
}

.mega-flyout {
    position: fixed;
    top: 178px;
    left: 304px;
    width: 700px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    background: #fff;
    border-radius: 0 0 12px 0;
    box-shadow: 8px 12px 40px rgba(0, 0, 0, 0.15);
    border-left: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 1000;
    padding: 24px 28px;
}

.mega-flyout.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: all;
}

.mega-flyout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.mega-flyout-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-flyout-header h3::before {
    content: '';
    width: 4px;
    height: 22px;
    background: var(--gradient-primary);
    border-radius: 4px;
}

.mega-flyout-header a {
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(137, 207, 240, 0.08);
}

.mega-flyout-header a:hover {
    background: var(--primary);
    color: #fff;
}

.mega-flyout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.mega-subcat-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #475569;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.mega-subcat-link:hover {
    background: rgba(137, 207, 240, 0.06);
    color: var(--primary-dark);
    transform: translateX(3px);
}

.mega-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 32px;
    color: var(--primary);
    font-size: 20px;
}

.mega-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
    color: #94a3b8;
    font-size: 14px;
}

/* Mega menu responsive - adaptado para mobile */
@media (max-width: 768px) {
    .mega-nav {
        /* Dentro do header fixo, não precisa de position:fixed */
        z-index: 1001;
        margin-top: 0 !important;
        border-top: none !important;
        box-shadow: none;
    }

    .header {
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }

    .mega-nav-inner {
        padding: 0 8px;
        height: 40px;
    }

    .mega-nav-trigger {
        padding: 0 10px;
        height: 40px;
        font-size: 12px;
        gap: 6px;
    }

    .mega-nav-trigger span {
        display: inline;
        font-size: 11px;
    }

    .mega-nav-links {
        height: 40px;
        flex: 1;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mega-nav-link {
        height: 40px;
        padding: 0 12px;
        font-size: 12px;
    }

    /* Dropdown categorias mobile */
    .mega-catlist {
        left: 0 !important;
        width: 100% !important;
        max-height: 60vh;
        border-radius: 0 0 12px 12px;
    }

    .mega-flyout {
        position: fixed;
        left: 0 !important;
        width: 100% !important;
        border-radius: 0 0 12px 12px;
    }

    .mega-flyout-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
