/* ============================================================
   NeoStore - CSS Principal | Dark Tech Theme
   ============================================================ */

/* ====== VARIABLES GLOBALES ====== */
:root {
    --bg-primary: #06080f;
    --bg-secondary: #0d1117;
    --bg-card: #161b22;
    --bg-card-hover: #1c2333;
    --bg-elevated: #1a1f2e;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --accent-cyan: #00d4ff;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-green: #22c55e;
    --accent-orange: #f97316;
    --accent-red: #ef4444;
    --accent-gradient: linear-gradient(135deg, #00d4ff, #a855f7);
    --accent-gradient-hover: linear-gradient(135deg, #00b8e6, #9333ea);
    --gradient-hot: linear-gradient(135deg, #f97316, #ef4444);
    --gradient-cold: linear-gradient(135deg, #06b6d4, #3b82f6);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.6);
    --shadow-glow-cyan: 0 0 20px rgba(0, 212, 255, 0.15);
    --shadow-glow-purple: 0 0 20px rgba(168, 85, 247, 0.15);
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-pill: 50px;
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ====== RESET & BASE ====== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
}

input, select {
    font-family: inherit;
    outline: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gradient);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gradient-hover);
}

/* ====== SELECCIÓN DE TEXTO ====== */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
}

/* ====== PRELOADER ====== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-secondary);
    border-top: 3px solid var(--accent-cyan);
    border-right: 3px solid var(--accent-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#preloader p {
    margin-top: 24px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ============================================================
   HEADER
   ============================================================ */
#main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 8, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px 0;
    transition: var(--transition);
}

#main-header.scrolled {
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(0, 212, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo i {
    color: var(--accent-cyan);
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

.logo span {
    color: var(--text-primary);
}

.logo span span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ====== NAV MENU ====== */
.nav-menu ul {
    display: flex;
    gap: 4px;
}

.nav-menu ul li a {
    padding: 8px 18px;
    border-radius: var(--border-radius-pill);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.2px;
}

.nav-menu ul li a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.nav-menu ul li a.active {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 2px 15px rgba(0, 212, 255, 0.3);
    font-weight: 600;
}

/* ====== HEADER ACTIONS ====== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 42px 10px 18px;
    border-radius: var(--border-radius-pill);
    color: var(--text-primary);
    font-size: 0.88rem;
    width: 200px;
    transition: var(--transition);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    width: 260px;
    background: rgba(255, 255, 255, 0.06);
}

.search-box i {
    position: absolute;
    right: 14px;
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
}

/* ====== CART BUTTON ====== */
.cart-btn {
    background: var(--accent-gradient);
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--border-radius-pill);
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.cart-badge {
    background: var(--accent-red);
    color: #fff;
    border-radius: 50%;
    padding: 1px 7px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.4;
    min-width: 18px;
    text-align: center;
}

/* ============================================================
   BANNER / HERO
   ============================================================ */
#banner {
    position: relative;
    margin: 24px 0 48px;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 420px;
    box-shadow: var(--shadow-lg);
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 80px;
    opacity: 0;
    transition: opacity 1s ease;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-slide:nth-child(1) {
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 40%, #1a3a5c 100%);
}

.banner-slide:nth-child(2) {
    background: linear-gradient(135deg, #150a28 0%, #1f0d47 40%, #2d1a5c 100%);
}

.banner-slide:nth-child(3) {
    background: linear-gradient(135deg, #0a1e1e 0%, #0d3333 40%, #1a4d4d 100%);
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.banner-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.banner-content h1 .gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.btn-primary {
    background: var(--accent-gradient);
    border: none;
    padding: 14px 36px;
    border-radius: var(--border-radius-pill);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.banner-indicators {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-indicators .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.banner-indicators .dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.banner-indicators .dot.active {
    background: var(--accent-cyan);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 12px var(--accent-cyan);
    transform: scale(1.2);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.stat-item {
    text-align: center;
    padding: 8px;
}

.stat-item .stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
}

/* ============================================================
   FILTROS
   ============================================================ */
.filters-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    padding: 22px 28px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.filter-group label i {
    color: var(--accent-cyan);
    font-size: 0.8rem;
}

.filter-group select {
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 9px 18px;
    border-radius: var(--border-radius-pill);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-group select:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.filter-group select:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.section-title .count {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-section {
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.15);
    box-shadow: var(--shadow-glow-cyan);
    background: var(--bg-card-hover);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card .product-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    margin-bottom: 16px;
    background: var(--bg-secondary);
    transition: var(--transition-slow);
}

.product-card:hover .product-img {
    transform: scale(1.03);
}

.product-card .product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-hot);
    padding: 4px 12px;
    border-radius: var(--border-radius-pill);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-card .product-tag.new {
    background: var(--gradient-cold);
}

.product-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.product-card .product-brand {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-card .product-brand i {
    font-size: 0.7rem;
}

.product-card .product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin: 4px 0;
    letter-spacing: -0.5px;
}

.product-card .product-final-price {
    font-size: 0.85rem;
    color: var(--accent-purple);
    margin-bottom: 6px;
    font-weight: 500;
}

.product-card .product-stock {
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-card .product-stock::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    display: inline-block;
}

.product-card .product-stock.agotado {
    color: var(--accent-red);
}

.product-card .product-stock.agotado::before {
    background: var(--accent-red);
}

.product-card .product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.btn-add-cart {
    flex: 1;
    background: var(--accent-gradient);
    border: none;
    padding: 10px 16px;
    border-radius: var(--border-radius-pill);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.2px;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35);
}

.btn-add-cart:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-detail {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: var(--border-radius-pill);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.btn-detail:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   MODAL CARRITO
   ============================================================ */
.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.cart-modal-overlay.open {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.cart-modal {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    max-width: 620px;
    width: 95%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.3s ease;
}

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

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-modal-header h3 i {
    color: var(--accent-cyan);
}

.close-modal {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close-modal:hover {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    border-color: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg);
}

.cart-modal-body {
    padding: 20px 28px;
    overflow-y: auto;
    flex: 1;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.cart-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

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

.cart-item-info h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-info p {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-item-info small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-qty button {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.cart-item-qty button:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
}

.cart-item-qty span {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 4px;
}

.cart-item-remove:hover {
    color: var(--accent-red);
    transform: scale(1.15);
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    padding: 50px 0;
    font-size: 1.05rem;
}

.cart-modal-footer {
    padding: 22px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.cart-summary p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cart-summary .total {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
    margin-top: 8px;
}

.cart-summary .total span {
    color: var(--accent-cyan);
}

.cart-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 11px 22px;
    border-radius: var(--border-radius-pill);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    border-color: rgba(239, 68, 68, 0.3);
}

.cart-actions .btn-primary {
    flex: 1.5;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
    padding: 60px 0;
    margin-bottom: 0;
}

.newsletter-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.newsletter-card p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 22px;
    border-radius: var(--border-radius-pill);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    border-color: var(--accent-cyan);
}

.newsletter-form button {
    padding: 14px 30px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 60px 0 0;
    margin-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.05rem;
    font-weight: 600;
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 4px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: var(--transition-fast);
    display: inline-block;
    padding: 3px 0;
}

.footer-col ul li a:hover {
    color: var(--accent-cyan);
    transform: translateX(4px);
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-icons a:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.footer-bottom {
    text-align: center;
    padding: 22px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============================================================
   NOTIFICACIONES (TOAST)
   ============================================================ */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-elevated);
    border-left: 4px solid var(--accent-green);
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);
    z-index: 5000;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.notification span {
    font-size: 0.88rem;
    font-weight: 500;
}

.notification.success {
    border-left-color: var(--accent-green);
}

.notification.success i {
    color: var(--accent-green);
}

.notification.error {
    border-left-color: var(--accent-red);
}

.notification.error i {
    color: var(--accent-red);
}

.notification.info {
    border-left-color: var(--accent-cyan);
}

.notification.info i {
    color: var(--accent-cyan);
}

/* ============================================================
   UTILIDADES DE ANIMACIÓN
   ============================================================ */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-slide {
        padding: 0 32px;
    }

    #banner {
        height: 320px;
    }

    .filters-section {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select {
        flex: 1;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .cart-modal {
        width: 98%;
        max-height: 90vh;
    }

    .cart-item {
        flex-wrap: wrap;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .stat-item .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

    .nav-menu ul li a {
        font-size: 0.78rem;
        padding: 6px 12px;
    }

    .banner-content h1 {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        padding: 16px;
    }

    .product-card .product-img {
        height: 180px;
    }

    .notification {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    .stats-bar {
        padding: 20px;
        gap: 12px;
    }

    .newsletter-card {
        padding: 32px 20px;
    }
}
