/* ==========================================
   DRYLLCELL - ULTRA MODERN UI
   ========================================== */

:root {
    /* Cores Premium */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #14b8a6;
    --accent: #f59e0b;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    
    /* Gradientes Ultra Modernos */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-glow: linear-gradient(135deg, #667eea 0%, #f093fb 50%, #764ba2 100%);
    --gradient-cyber: linear-gradient(135deg, #00d4ff 0%, #090979 100%);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 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(99, 102, 241, 0.3);
    --shadow-neon: 0 0 20px rgba(99, 102, 241, 0.6), 0 0 60px rgba(99, 102, 241, 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;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2c3e50;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.index-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2c3e50;
}

/* Main content deve crescer para empurrar o footer */
.main-content {
    flex: 1;
    padding-top: 140px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   HEADER FUTURISTA
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #1a1a2e;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-glow);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; transform: scaleX(0.5); }
    50% { opacity: 1; transform: scaleX(1); }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 32px;
    min-height: 80px;
}

.logo {
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
}

.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(99, 102, 241, 0.6)); }
    50% { filter: drop-shadow(0 0 20px rgba(99, 102, 241, 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: 90px; /* Logo abaixo do header fixo */
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-top: none;
    border-bottom: 1px solid rgba(99, 102, 241, 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(99, 102, 241, 0.1);
    color: white;
    border-bottom-color: rgba(99, 102, 241, 0.5);
}

.tab-item.active {
    background: rgba(99, 102, 241, 0.15);
    border-bottom-color: #6366f1;
    color: white;
}

.tab-item.active i {
    color: #6366f1;
}

@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: #000000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #22c55e;
    color: #ffffff;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-neon);
}

/* ==================== 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: 1000;
    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: rgba(255, 255, 255, 0.8);
    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: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.nav-link:hover::before {
    opacity: 0.2;
}

.nav-link:hover {
    color: var(--white);
    transform: translateY(-4px);
}

.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, #fa709a 0%, #fee140 100%);
    color: var(--dark);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ==========================================
   USER DROPDOWN
   ========================================== */

.user-dropdown-container {
    position: relative;
    cursor: pointer;
}

/* Á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.2s ease;
}

.user-trigger:hover {
    opacity: 0.9;
}

.user-trigger-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.user-welcome {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.user-action {
    font-size: 13px;
    color: #fff;
    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: rgba(255, 255, 255, 0.7);
}

.user-action i {
    font-size: 10px;
    margin-left: 4px;
    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.2s ease;
}

.user-trigger-logged:hover {
    opacity: 0.9;
}

.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, #ff6b35, #f7931e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.user-avatar-small i {
    font-size: 14px;
    color: #fff;
}

.user-avatar-small img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-name-logged {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-name-logged i {
    font-size: 10px;
    color: rgba(255, 255, 255, 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: #fff;
    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: #1a1a2e;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    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: 1001;
    pointer-events: none;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Mostrar dropdown no hover */
.user-dropdown-container:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s; /* Abre imediatamente */
}

/* Header do dropdown com avatar */
.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    background: #1a1a2e;
}

.dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dropdown-avatar i {
    font-size: 22px;
    color: #666;
}

.dropdown-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-greeting {
    font-size: 14px;
    color: #fff;
    font-weight: 400;
}

.dropdown-greeting strong {
    color: #ff6b35;
    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: #fff;
    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: rgba(255, 255, 255, 0.05);
}

.user-dropdown .dropdown-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #888;
}

.user-dropdown .dropdown-item:hover i {
    color: #ff6b35;
}

/* Footer do dropdown */
.dropdown-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
}

.logout-item {
    color: #ff4444 !important;
}

.logout-item i {
    color: #ff4444 !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(255, 255, 255, 0.1);
}

.dropdown-btn-primary {
    display: block;
    padding: 10px 16px;
    background: #ff6b35;
    color: #fff;
    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: #ff8555;
}

.dropdown-btn-secondary {
    display: block;
    padding: 10px 16px;
    background: transparent;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.user-dropdown .dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    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(99, 102, 241, 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(99, 102, 241, 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(99, 102, 241, 0.5);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 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, #fa709a 0%, #fee140 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;
}

.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(99, 102, 241, 0.4);
}

.btn-add-cart:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 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(99, 102, 241, 0.5);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 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: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(99, 102, 241, 0.3);
    padding: 80px 0 32px;
    margin-top: 120px;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-glow);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(240, 147, 251, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-column h3, .footer-column h4 {
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.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: var(--primary-light);
    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: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    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: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a i {
    position: relative;
    z-index: 1;
    font-size: 20px;
}

.social-links a:hover {
    transform: translateY(-6px) scale(1.1);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

.payment-methods {
    display: flex;
    gap: 20px;
    font-size: 36px;
}

.payment-methods i {
    opacity: 0.5;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.payment-methods i:hover {
    opacity: 1;
    transform: translateY(-4px);
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 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: hidden;
}

.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: 1;
    padding: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    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: sticky;
    bottom: 0;
    z-index: 10;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1rem;
}

.cart-summary-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #eee;
}

.cart-summary-title i {
    color: #10b981;
    font-size: 1rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

.cart-summary-row.cart-discount {
    color: #10b981;
}

.cart-summary-row .discount-value {
    font-weight: 600;
    color: #10b981;
}

.cart-shipping-free {
    color: #888;
    font-weight: 500;
}

.cart-shipping-free.free {
    color: #10b981;
    font-weight: 600;
}

.cart-summary-divider {
    height: 1px;
    background: #eee;
    margin: 0.4rem 0;
}

.cart-summary-row.cart-summary-total {
    padding-top: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    border-top: 1px dashed #ddd;
    margin-top: 0.3rem;
}

.cart-summary-row.cart-summary-total .total-price {
    font-size: 1.25rem;
    color: #10b981;
    background: none;
    -webkit-text-fill-color: #10b981;
}

/* === CART TOTAL ANIMATED (igual ao checkout) === */
.cart-total-animated {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cart-total-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.cart-total-label i {
    color: #10b981;
    font-size: 1rem;
}

.cart-total-values {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
}

.cart-total-original {
    font-size: 0.8rem;
    color: #888;
    text-decoration: line-through;
    font-weight: 500;
}

.cart-total-original span {
    color: #666;
    font-weight: 400;
    margin-right: 0.2rem;
}

.cart-total-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #10b981;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
    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.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    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;
}

/* 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(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 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(99, 102, 241, 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: 20px;
        text-align: center;
    }
}

@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: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.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: 48px;
}

.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: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.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: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.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, #6366f1 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(99, 102, 241, 0.4);
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 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(99, 102, 241, 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: #6366f1;
    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: #6366f1;
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.2);
}

.category-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6366f1 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: #6366f1;
}

/* ==========================================
   PRODUTOS SECTION - HOMEPAGE
   ========================================== */

.products-section {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #6366f1;
}

.section-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-link:hover {
    gap: 12px;
    color: #4f46e5;
}

.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;
    }
}
