/* ========================================
   VICENTE - CSS Principal
   Design Moderno e Elegante
   ======================================== */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Principais */
    --primary-color: #000000;
    --primary-dark: #333333;
    --primary-light: #111111;
    --primary-lighter: #444444;
    
    /* Cores de Fundo */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #f1f3f4;
    --bg-gray: #e9ecef;
    
    /* Cores de Texto */
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
    --text-light: #ffffff;
    
    /* Cores de Destaque */
    --accent-gold: #ffffff;
    --accent-red: #dc3545;
    --accent-green: #000000;
    --accent-blue: #000000;
    
    /* Cores de Status */
    --success: #000000;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #666666;
    
    /* Tipografia */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: Arial, Helvetica, sans-serif;
    
    /* Espaçamentos */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Bordas */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.2);
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

/* ========================================
   BARRA PROMOCIONAL - NOVO DESIGN
   ======================================== */

.promo-bar {
    background: #000000;
    color: #ffffff;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Animação de entrada deslizante */
@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Efeito shimmer melhorado */
.promo-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shimmer 4s ease-in-out infinite;
}

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

.promo-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animação de fade-in para o conteúdo */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.promo-message {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.promo-message i {
    font-size: 16px;
    color: #ffffff;
    animation: bounce 2s ease-in-out infinite;
}

.promo-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.promo-close:hover {
    opacity: 1;
}

/* Animação de bounce para o ícone */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.promo-message span {
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.promo-message:hover span {
    letter-spacing: 0.8px;
}

/* Responsividade da barra promocional */
@media (max-width: 768px) {
    .header-top .container {
        padding: 0 2px;
    }
    .promo-content {
        gap: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .promo-message {
        font-size: 0.8rem;
    }
    
    .promo-message i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header-top .container {
        padding: 0 1px;
    }
    .promo-bar {
        padding: 0.5rem 0;
    }
    
    .promo-content {
        gap: 0.25rem;
    }
    
    .promo-message {
        font-size: 0.75rem;
    }
    
    .promo-message i {
        font-size: 0.8rem;
    }
}

/* ========================================
   HEADER - NOVO DESIGN LOLOJA
   ======================================== */

.header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}

/* Header Superior */
.header-top {
    background: #000000;
    padding: 15px 0;
    border-bottom: 1px solid #333333;
}

.header-top-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo-img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}



/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.header-links {
    display: flex;
    gap: 20px;
}

.header-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.header-link:hover {
    color: #ffffff;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-link, .cart-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.user-link:hover, .cart-link:hover {
    color: #ffffff;
    background: #333333;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #000000;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
}

/* Menu de Navegação Horizontal */
.header-nav {
    background: #ffffff;
    border-top: 1px solid #e8e8e8;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 20px 28px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: #fafafa;
    border-bottom-color: var(--primary-color);
}

/* Active item */
.nav-item.active > .nav-link {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: #fafafa;
}

/* Dropdown categories */
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 680px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.15s ease;
    z-index: 1000;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 16px;
}

.dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

.dropdown-link:hover {
    background: #f3f4f6;
    transform: translateX(2px);
}

.nav-item.has-dropdown .mega-menu {
    left: 50%;
    transform: translate(-45%, 8px);
}

.dropdown-menu.mega-menu {
    width: min(1080px, calc(100vw - 32px));
    padding: 32px;
    display: flex;
    gap: 32px;
}

.mega-menu-left {
    flex: 1.6;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mega-menu-eyebrow {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #9ca3af;
    margin: 0;
}

.mega-menu-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.mega-menu-columns {
    display: flex;
    gap: 20px;
}

.mega-menu-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #f9fafb;
    border-radius: 10px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.mega-menu-link:hover {
    border-color: #111827;
    transform: translateX(4px);
    background: #ffffff;
}

.mega-menu-link-pill {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
}

.mega-menu-divider {
    width: 1px;
    background: linear-gradient(180deg, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
}

.mega-menu-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mega-menu-highlight {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mega-menu-highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    color: #111827;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.mega-menu-highlight-item:hover {
    border-color: #0f172a;
    transform: translateY(-2px);
}

.mega-menu-highlight-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #111827;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.mega-menu-highlight-title {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.mega-menu-highlight-description {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.mega-menu-highlight-arrow {
    margin-left: auto;
    color: #cbd5f5;
}

.mega-menu-hero {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #ffffff;
    overflow: hidden;
}

.mega-menu-hero-content h5 {
    margin: 4px 0;
    font-size: 1.1rem;
}

.mega-menu-hero-content p {
    margin: 0 0 12px 0;
    color: rgba(255, 255, 255, 0.75);
}

.mega-menu-hero-eyebrow {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.mega-menu-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fbbf24;
    color: #111827;
    font-weight: 600;
    text-decoration: none;
}

.mega-menu-hero-image img {
    width: 120px;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.35);
}

.mega-menu-empty {
    color: #6b7280;
}

@media (max-width: 992px) {
    .dropdown-menu.mega-menu {
        flex-direction: column;
        width: min(640px, calc(100vw - 16px));
    }
    
    .mega-menu-columns {
        flex-direction: column;
    }
    
    .mega-menu-divider {
        display: none;
    }
}

.nav-item.promocao .nav-link {
    color: #000000;
    font-weight: 500;
    position: relative;
}

.nav-item.promocao .nav-link::after {
    content: none;
}

.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: var(--spacing-sm) !important;
    flex-shrink: 0 !important;
}

.search-box {
    position: relative !important;
}

.search-form {
    display: flex !important;
    align-items: center !important;
    max-width: 560px !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 9999px !important;
    padding: 2px !important;
}

.search-input {
    width: 100% !important;
    padding: 10px 16px !important;
    border: none !important;
    border-radius: 9999px !important;
    font-size: 0.95rem !important;
    transition: var(--transition-fast) !important;
    background: transparent !important;
    color: var(--text-primary) !important;
}

.search-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.search-input::placeholder {
    color: var(--text-secondary) !important;
    opacity: 0.7 !important;
}

.search-btn {
    background: transparent !important;
    color: #000000 !important;
    border: none !important;
    padding: 8px 10px !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    transition: var(--transition-fast) !important;
    margin-left: 0 !important;
    font-weight: 600 !important;
}

.search-btn:hover {
    background: rgba(0, 0, 0, 0.1) !important;
}

/* Autocomplete */
.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    margin-top: 6px;
    overflow: hidden;
    z-index: 1001;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    color: #111827;
}

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

.search-result-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.user-actions {
    display: flex !important;
    align-items: center !important;
    gap: var(--spacing-sm) !important;
}

.user-link, .cart-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: var(--bg-light) !important;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    transition: var(--transition-fast) !important;
    position: relative !important;
}

.user-link:hover, .cart-link:hover {
    background: var(--primary-color) !important;
    color: var(--text-light) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
}

.cart-count {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    background: var(--accent-red) !important;
    color: var(--text-light) !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

.cart-link {
    margin-left: var(--spacing-sm) !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    margin-left: 8px;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 1001;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    display: block;
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.mobile-logo img {
    max-height: 40px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 20px 0;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: #f8f8f8;
    color: #ff6b35;
    padding-left: 30px;
}

.mobile-nav-link.promocao {
    color: #000000;
    font-weight: 600;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.main-content {
    min-height: calc(100vh - 200px);
    background: var(--bg-white);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: #000000;
    color: #ffffff;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    align-items: start;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: var(--spacing-lg);
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-logo-img {
    width: 240px;
    height: auto;
    margin-right: 0;
    border-radius: 0;
    object-fit: contain;
    filter: none;
}

.footer-logo-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-description {
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    color: #ffffff;
    font-size: 1.2rem;
    transition: var(--transition-fast);
    opacity: 0.8;
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: #dddddd;
    text-decoration: none;
    transition: var(--transition-fast);
    opacity: 0.8;
    position: relative;
    padding-left: var(--spacing-md);
}

.footer-links a::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    transition: var(--transition-fast);
    font-size: 1.2rem;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: var(--spacing-lg);
}

.footer-links a:hover::before {
    transform: scale(1.2);
    color: #ffffff;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    color: #dddddd;
    opacity: 0.9;
}

.footer-contact-item i {
    margin-right: var(--spacing-sm);
    color: var(--accent-gold);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    color: #dddddd;
    opacity: 0.9;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-payment-text {
    color: #dddddd;
    opacity: 0.9;
    font-size: 0.9rem;
}

.footer-payment-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-payment-icons i {
    color: #dddddd;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-payment-icons i:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

/* Responsividade */
@media (max-width: 768px) {
    .header-top-content {
        grid-template-columns: auto auto;
        gap: 12px;
        justify-content: space-between;
        padding: 0 8px;
    }
    
    .logo {
        order: 1;
        margin-left: 0;
        justify-self: start;
        padding-left: 0;
    }
    
    .header-actions { order: 2; }
    .search-box { display: none !important; }
    .search-autocomplete { display: none !important; }
    

    
    .header-links {
        display: none;
    }
    
    .header-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo-img {
        max-height: 48px !important;
    }
    
    .user-link, .cart-link {
        padding: 5px;
        font-size: 15px;
    }
    
    .user-actions {
        gap: 7px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-top-content {
        grid-template-columns: auto auto;
        padding: 0 6px;
        justify-content: space-between;
    }
    
    .logo {
        order: 1;
        margin-left: 0;
        justify-self: start;
        padding-left: 0;
    }
    
    .header-actions { order: 2; }
    
    .search-box { display: none !important; }
    .search-autocomplete { display: none !important; }
    
    .search-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .logo-img {
        max-height: 44px;
    }
    
    .user-actions {
        gap: 6px;
    }
    
    .user-link, .cart-link {
        padding: 4px;
        font-size: 14px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .promo-bar {
        padding: 8px 0;
        font-size: 12px;
    }
    
    .promo-content {
        padding: 0 15px;
    }
}

/* ========================================
   ANIMAÇÕES
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-down {
    animation: fadeInDown 0.6s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* ========================================
   POPUP NEWSLETTER
   ======================================== */

.newsletter-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.newsletter-popup.active {
    display: flex;
}

.newsletter-popup-content {
    background: white;
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    min-height: 650px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideInUp 0.4s ease;
}

.newsletter-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b35;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: white;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.newsletter-popup-close:hover {
    background: #e55a25;
    color: white;
    transform: scale(1.1) rotate(90deg);
}

.newsletter-popup-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: #000;
}

.newsletter-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.newsletter-popup-form {
    padding: 35px 30px;
    background: white;
}

.newsletter-popup-form input[type="email"] {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.newsletter-popup-form input[type="email"]:focus {
    outline: none;
    border-color: #b7fe02;
    background: white;
    box-shadow: 0 0 0 4px rgba(183, 254, 2, 0.1);
}

.newsletter-submit-btn {
    width: 100%;
    padding: 15px 20px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.newsletter-submit-btn:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.newsletter-submit-btn:active {
    transform: translateY(0);
}

/* Animações do Popup */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsividade do Popup */
@media (max-width: 768px) {
    .newsletter-popup-content {
        max-width: 380px;
        width: 95%;
        min-height: 580px;
    }
    
    .newsletter-popup-image {
        height: 360px;
    }
    
    .newsletter-popup-form {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .newsletter-popup-content {
        max-width: 340px;
        width: 98%;
        min-height: 540px;
    }
    
    .newsletter-popup-image {
        height: 320px;
    }
    
    .newsletter-popup-form {
        padding: 20px 15px;
    }
    
    .newsletter-popup-form input[type="email"] {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .newsletter-submit-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* ========================================
   UTILITÁRIOS
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* ========================================
   SISTEMA DE MENSAGENS/ALERTAS
   ======================================== */

.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease;
    font-family: var(--font-primary);
}

.alert-success {
    background: linear-gradient(135deg, var(--success), #20c997);
    color: white;
    border-left: 4px solid #1e7e34;
}

.alert-error {
    background: linear-gradient(135deg, var(--danger), #e74c3c);
    color: white;
    border-left: 4px solid #c82333;
}

.alert-warning {
    background: linear-gradient(135deg, var(--warning), #ffca2c);
    color: #212529;
    border-left: 4px solid #e0a800;
}

.alert-content {
    display: flex;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    gap: var(--spacing-sm);
}

.alert-content i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.alert-content span {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: 50%;
    transition: var(--transition-fast);
    flex-shrink: 0;
    opacity: 0.8;
}

.alert-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.alert-close i {
    font-size: 1rem;
}

/* Animação de entrada */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animação de saída */
@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.alert.hiding {
    animation: slideOutRight 0.3s ease forwards;
}

/* Responsividade para alertas */
@media (max-width: 768px) {
    .alert {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .alert-content {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .alert-content span {
        font-size: 0.9rem;
    }
}

/* Responsividade para logo */
@media (max-width: 768px) {
    .header-main-content {
        grid-template-columns: 1.5fr auto 1.5fr auto !important;
        gap: var(--spacing-md) !important;
    }
    
    .logo-img {
        width: 180px !important;
    }
    
    .footer-logo-img {
        width: 200px;
    }
    
    .auth-logo-img {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .header-main-content {
        grid-template-columns: 1fr auto 1fr auto !important;
        gap: var(--spacing-sm) !important;
    }
    
    .logo-img {
        width: 150px !important;
    }
    
    .footer-logo-img {
        width: 160px;
    }
    
    .auth-logo-img {
        width: 140px;
    }
    
    /* Ocultar botão/lupa da busca no mobile muito estreito */
    .search-btn { display: none !important; }
    .search-form { max-width: 100% !important; }
}

@media (max-width: 640px) {
    .header-main-content {
        grid-template-columns: auto 1fr auto !important;
        gap: var(--spacing-sm) !important;
    }
    
    .nav-left {
        display: none !important;
    }
    
    .nav-right {
        display: none !important;
    }
    
    .logo {
        grid-column: 2 !important;
    }
    
    .header-actions {
        grid-column: 3 !important;
    }
}
