/* ===================== */
/*    ESTILOS GENERALES DE LA TIENDA */
/* ===================== */
.shop-layout {
    padding: 40px 0;
    background: var(--bg);
    min-height: calc(100vh - 200px);
}

.shop-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .shop-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ===================== */
/*    SIDEBAR DE FILTROS */
/* ===================== */
.shop-sidebar {
    background: var(--gradient-card);
    border-radius: var(--radius);
    padding: 25px;
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 120px;
    box-shadow: var(--shadow);
}

.sidebar-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-title {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title i {
    color: #FFD700;
    font-size: 14px;
}

.categories-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cat-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateX(5px);
}

.cat-btn.active {
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    color: #FFD700;
    border-color: rgba(255, 215, 0, 0.3);
    font-weight: 600;
}

.cat-btn i {
    font-size: 14px;
    width: 16px;
}

/* Iconos específicos para nuevas categorías */
.cat-btn[data-cat="segunda-mano"] i {
    color: #FFD700;
}

.cat-btn[data-cat="gift-cards"] i {
    color: #FFD700;
}

.sort-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23FFD700' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.sort-select:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.2);
}

.sort-select:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
}

.price-filter-sidebar {
    padding: 10px 0;
}

.price-range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

#priceRangeSidebar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    appearance: none;
}

#priceRangeSidebar::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: #FFD700;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

#priceRangeSidebar::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #FFD700;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.search-box-sidebar {
    position: relative;
}

.search-box-sidebar input {
    width: 100%;
    padding: 12px 16px 12px 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-box-sidebar input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
}

.search-box-sidebar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ===================== */
/*    PROMOCIONES ESPECIALES */
/* ===================== */
.promo-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 140, 0, 0.1));
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC400 100%);
}

.promo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.promo-header i {
    color: #FFD700;
    font-size: 20px;
    background: rgba(255, 215, 0, 0.15);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.promo-header h4 {
    color: #FFD700;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.promo-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promo-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.promo-content i {
    color: #FFD700;
    font-size: 12px;
    flex-shrink: 0;
}

.stats-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
}

.stats-card h4 {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.stat-item span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
}

.stat-item strong {
    color: #FFD700;
    font-size: 14px;
    font-weight: 700;
}

/* ===================== */
/*    CONTENIDO PRINCIPAL */
/* ===================== */
.shop-main-content {
    background: var(--gradient-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 30px;
    box-shadow: var(--shadow);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.content-header h2 {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 800;
    margin: 0;
}

.view-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-options span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
}

.view-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 215, 0, 0.2);
}

.view-btn.active {
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    color: #FFD700;
    border-color: rgba(255, 215, 0, 0.3);
}

/* ===================== */
/*    GRID DE PRODUCTOS */
/* ===================== */
.product-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.product-grid.grid-view {
    grid-template-columns: repeat(3, 1fr);
}

.product-grid.list-view {
    grid-template-columns: 1fr;
}

@media (max-width: 1200px) {
    .product-grid.grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid.grid-view {
        grid-template-columns: 1fr;
    }
}

/* Tarjeta de producto - Vista Grid */
.product-card {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #666666 0%, #888888 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 215, 0, 0.2);
}

/* Badges especiales para nuevas categorías */
.product-card[data-category="segunda-mano"] .product-badge {
    background: linear-gradient(135deg, #666666 0%, #888888 100%);
    color: #FFD700;
}

.product-card[data-category="gift-cards"] .product-badge {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.product-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-media img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.product-card:hover .product-media img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    color: #FFD700;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 2;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.stock-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: #FFD700;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Badge especial para juegos de segunda */
.product-card[data-category="segunda-mano"] .stock-badge {
    background: rgba(102, 102, 102, 0.9);
    color: #FFD700;
}

.product-info {
    padding: 24px;
    border-top: 1px solid var(--border);
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.product-category i {
    color: #FFD700;
    font-size: 12px;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFFFFF;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #FFD700;
    font-size: 14px;
    margin-bottom: 15px;
}

.product-rating span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-left: 4px;
}

.product-price {
    font-size: 24px;
    font-weight: 800;
    color: #FFD700;
    margin: 15px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Precios especiales para juegos de segunda */
.product-card[data-category="segunda-mano"] .product-price {
    position: relative;
}

.product-card[data-category="segunda-mano"] .product-price::before {
    content: attr(data-original-price);
    position: absolute;
    top: -20px;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    font-weight: 500;
    text-decoration: line-through;
}

.product-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 15px 0;
    display: none;
}

/* Vista Lista - Descripción visible */
.product-grid.list-view .product-description {
    display: block;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.add-to-cart-btn, .buy-now-btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #444444 0%, #555555 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.buy-now-btn {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.buy-now-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ===================== */
/*    CARGAR MÁS PRODUCTOS */
/* ===================== */
.load-more-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#loadMoreBtn {
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#loadMoreBtn:hover {
    background: linear-gradient(135deg, #444444 0%, #555555 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================== */
/*    SIN PRODUCTOS */
/* ===================== */
.no-products {
    grid-column: 1/-1;
    text-align: center;
    padding: 80px 20px;
}

.no-products i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.no-products h3 {
    color: #FFD700;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.no-products p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
}

/* ===================== */
/*    NOTIFICACIONES CON DISEÑO NEGRO/DORADO */
/* ===================== */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(0, 0, 0, 0.98));
    color: #FFD700;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.1);
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    animation: slideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 350px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    font-size: 15px;
    min-width: 300px;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    border-radius: 12px 12px 0 0;
    opacity: 0.8;
}

.notification.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(16, 185, 129, 0.9));
    color: #ffffff;
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(16, 185, 129, 0.2);
}

.notification.success::before {
    background: linear-gradient(135deg, #10B981, #0da070);
}

.notification.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(239, 68, 68, 0.9));
    color: #ffffff;
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(239, 68, 68, 0.2);
}

.notification.error::before {
    background: linear-gradient(135deg, #EF4444, #dc2626);
}

.notification.info {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(0, 0, 0, 0.98));
    color: #FFD700;
    border-color: rgba(255, 215, 0, 0.2);
}

.notification i {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.notification.success i {
    background: rgba(255, 255, 255, 0.2);
}

.notification.error i {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes slideIn {
    from {
        transform: translateX(100%) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%) translateY(-20px);
        opacity: 0;
    }
}

/* ===================== */
/*    MODALES CON DISEÑO NEGRO/DORADO */
/* ===================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(145deg, #0a0a0a, #000000);
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.03);
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    border-radius: 20px 20px 0 0;
}

.modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.9);
    position: sticky;
    top: 0;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.modal-header h3 {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header h3 i {
    color: #FFD700;
    font-size: 22px;
}

.close-modal {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.close-modal:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===================== */
/*    CONTENIDO VISTA RÁPIDA */
/* ===================== */
.quick-view-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .quick-view-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.quick-view-content > div:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-view-content img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.quick-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-details h3 {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.quick-details .product-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
}

.quick-details .product-category i {
    color: #FFD700;
    font-size: 14px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFD700;
    font-size: 16px;
    font-weight: 600;
}

.product-rating span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-left: 4px;
}

.quick-price {
    font-size: 32px;
    font-weight: 900;
    color: #FFD700;
    margin: 10px 0;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
    background: rgba(255, 215, 0, 0.05);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    display: inline-block;
    backdrop-filter: blur(5px);
}

/* Precio especial para juegos de segunda */
.quick-price.segunda-mano {
    position: relative;
    padding-top: 30px;
}

.quick-price.segunda-mano::before {
    content: attr(data-original-price);
    position: absolute;
    top: 5px;
    left: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 20px;
    font-weight: 500;
    text-decoration: line-through;
}

.quick-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-description p {
    margin: 0 0 10px 0;
}

.quick-description p:last-child {
    margin-bottom: 0;
}

.quick-description strong {
    color: #FFFFFF;
    font-weight: 600;
}

.quick-specs {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-specs h4 {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-specs h4 i {
    color: #FFD700;
    font-size: 18px;
}

.quick-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.quick-specs li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.quick-specs li:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.quick-specs li span:first-child {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 14px;
}

.quick-specs li span:last-child {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
}

.quick-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.quick-actions .btn {
    flex: 1;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
}

.quick-actions .btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-actions .btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.quick-actions .btn.primary {
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.2);
    font-weight: 700;
}

.quick-actions .btn.primary:hover {
    background: linear-gradient(135deg, #444444 0%, #555555 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.1);
}

/* ===================== */
/*    CONTENIDO CARRITO DE COMPRAS */
/* ===================== */
.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item > div:first-child {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.cart-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item > div:nth-child(2) {
    flex: 1;
}

.cart-item h4 {
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.cart-item .item-price {
    color: #FFD700;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.quantity-controls button {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

.quantity-controls button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #FFD700;
}

.quantity-controls span {
    min-width: 40px;
    text-align: center;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 16px;
}

.cart-item > div:last-child {
    text-align: right;
    min-width: 120px;
}

.cart-item .item-total {
    color: #FFD700;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.cart-item .remove-item {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #EF4444;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cart-item .remove-item:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}

#cartFooter {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.cart-total h4 {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

#cartTotalPrice {
    color: #FFD700;
    font-size: 32px;
    font-weight: 900;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
    background: rgba(255, 215, 0, 0.05);
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.cart-actions {
    display: flex;
    gap: 15px;
}

.cart-actions .btn {
    flex: 1;
    padding: 18px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
}

.cart-actions .btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-actions .btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cart-actions .btn.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    font-weight: 700;
    border: none;
}

.cart-actions .btn.whatsapp-btn:hover {
    background: linear-gradient(135deg, #1DA851, #0D7B6F);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

/* ===================== */
/*    CARRITO VACÍO */
/* ===================== */
#cartContent:empty,
#cartContent:has(.empty-cart) {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.empty-cart i {
    font-size: 70px;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.empty-cart h3 {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.empty-cart p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    max-width: 300px;
    margin: 0;
}

.empty-cart .btn {
    margin-top: 20px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.empty-cart .btn:hover {
    background: linear-gradient(135deg, #444444 0%, #555555 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* ===================== */
/*    RESPONSIVE PARA MODALES */
/* ===================== */
@media (max-width: 768px) {
    .notification {
        top: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
        min-width: auto;
    }
    
    .modal-content {
        margin: 20px;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .quick-view-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quick-actions {
        flex-direction: column;
    }
    
    .cart-item {
        flex-wrap: wrap;
    }
    
    .cart-item > div:first-child {
        width: 80px;
        height: 80px;
    }
    
    .cart-item h4 {
        font-size: 16px;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    #cartTotalPrice {
        font-size: 28px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 10px;
        border-radius: 14px;
    }
    
    .modal-header {
        padding: 18px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .close-modal {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    
    .modal-body {
        padding: 18px;
    }
    
    .quick-details h3 {
        font-size: 24px;
    }
    
    .quick-price {
        font-size: 28px;
    }
    
    .quick-specs {
        padding: 20px;
    }
    
    .cart-item {
        padding: 15px;
        gap: 15px;
    }
    
    .empty-cart i {
        font-size: 60px;
    }
    
    .empty-cart h3 {
        font-size: 20px;
    }
}

/* Scrollbar personalizada para modales */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #444444 0%, #555555 100%);
}

/* ===================== */
/*    ANIMACIONES */
/* ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }
.product-card:nth-child(9) { animation-delay: 0.9s; }
.product-card:nth-child(10) { animation-delay: 1s; }

/* ===================== */
/*    BADGES ESPECIALES PARA NUEVAS CATEGORÍAS */
/* ===================== */
.product-card[data-category="segunda-mano"] {
    position: relative;
}

.product-card[data-category="segunda-mano"]::after {
    content: '🎮 USADO';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #666666 0%, #888888 100%);
    color: #FFD700;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    z-index: 2;
}

.product-card[data-category="gift-cards"] {
    position: relative;
}

.product-card[data-category="gift-cards"]::after {
    content: '🎁 GIFT CARD';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}
/* ===================== */
/*    BADGES ESPECIALES PARA NUEVAS CATEGORÍAS */
/* ===================== */
.product-card[data-category="segunda-mano"] {
    position: relative;
}

.product-card[data-category="segunda-mano"]::after {
    content: '🎮 USADO';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #666666 0%, #888888 100%);
    color: #FFD700;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    z-index: 2;
}

.product-card[data-category="gift-cards"] {
    position: relative;
}

.product-card[data-category="gift-cards"]::after {
    content: '🎁 GIFT CARD';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

/* ===================== */
/*    ESTILOS ESPECÍFICOS PARA CATEGORÍAS */
/* ===================== */
/* Juegos de Segunda Mano */
.product-card[data-category="segunda-mano"] .product-badge {
    background: linear-gradient(135deg, #666666 0%, #888888 100%);
    color: #FFD700;
}

.product-card[data-category="segunda-mano"] .stock-badge {
    background: rgba(102, 102, 102, 0.9);
    color: #FFD700;
}

/* Gift Cards */
.product-card[data-category="gift-cards"] .product-badge {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.product-card[data-category="gift-cards"] .stock-badge {
    background: rgba(37, 211, 102, 0.9);
    color: white;
}

/* ===================== */
/*    PRECIOS ESPECIALES */
/* ===================== */
/* Precio con descuento para juegos de segunda */
.product-card[data-category="segunda-mano"] .product-price {
    position: relative;
}

.product-card[data-category="segunda-mano"] .product-price::before {
    content: attr(data-original-price);
    position: absolute;
    top: -20px;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    font-weight: 500;
    text-decoration: line-through;
}

/* ===================== */
/*    ICONOS ESPECÍFICOS EN SIDEBAR */
/* ===================== */
.cat-btn[data-cat="segunda-mano"] i {
    color: #FFD700;
}

.cat-btn[data-cat="gift-cards"] i {
    color: #25D366;
}

/* ===================== */
/*    ANIMACIONES ESPECIALES */
/* ===================== */
.product-card[data-category="segunda-mano"]:hover {
    border-color: rgba(102, 102, 102, 0.3);
}

.product-card[data-category="gift-cards"]:hover {
    border-color: rgba(37, 211, 102, 0.3);
}

/* ===================== */
/*    VISTA RÁPIDA ESPECIAL */
/* ===================== */
.quick-price.segunda-mano {
    position: relative;
    padding-top: 30px;
}

.quick-price.segunda-mano::before {
    content: attr(data-original-price);
    position: absolute;
    top: 5px;
    left: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 20px;
    font-weight: 500;
    text-decoration: line-through;
}