/* ============================================================
   SECCIÓN DE TIENDA (SHOP) - LATINOX RZ
   ============================================================ */
.shop-wrapper {
    max-width: 1600px;
    margin: 150px auto;
    padding: 0 50px;
}

/* Encabezado de la Tienda */
.shop-header {
    text-align: center;
    margin-bottom: 80px;
}

.shop-header h1 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 15px;
}

.shop-subtitle {
    font-size: 1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* Navegación de Categorías (Pills) */
.shop-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-dim);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.category-btn:hover, .category-btn.active {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

/* Grid de Productos */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Tarjeta de Producto */
.product-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

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

/* Imagen del Producto */
.product-img-wrapper {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.product-img {
    max-width: 80%;
    max-height: 100%;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
    transition: var(--transition);
}

.product-card:hover .product-img { transform: scale(1.1) rotate(-5deg); }

/* Info del Producto */
.product-info {
    position: relative;
    z-index: 2;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 25px;
    line-height: 1.6;
    height: 40px;
    overflow: hidden;
}

/* Precio y Botón */
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

.product-price {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.buy-btn {
    background: var(--text);
    color: var(--bg);
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.buy-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.05);
}

/* Badge de "Popular" o "Oferta" */
.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--red-latinox);
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 1px;
    z-index: 3;
}

/* ============================================================
   VARIACIÓN PARA MONEDAS (LATINOX COINS)
   ============================================================ */
.card-coins {
    border-color: rgba(255, 215, 0, 0.1);
}

.card-coins .product-price {
    color: #ffd700; /* Color Oro para las monedas */
}

/* Responsive */
@media (max-width: 768px) {
    .shop-header h1 { font-size: 2.5rem; }
    .shop-wrapper { padding: 0 20px; }
    .shop-grid { grid-template-columns: 1fr; }
}