/* public/css/pages/shop.css */

/* --- 1. CONTENEDOR DEL MODAL (CRISTAL) --- */
.shop-glass-card {
    background: #0f0c15; /* Fondo oscuro sólido premium */
    width: 95%;
    max-width: 900px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: auto;
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Cabecera */
.secure-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.brand-name { font-family: 'Cinzel', serif; color: white; letter-spacing: 1px; font-weight: 700; }
.brand-name .dot { color: #6366f1; }
.close-modal-btn { background: none; border: none; color: #aaa; font-size: 2rem; cursor: pointer; line-height: 1; }
.close-modal-btn:hover { color: #fff; }

/* Cuerpo */
.shop-body { padding: 40px; text-align: center; }
.shop-title { font-size: 2rem; color: white; margin-bottom: 10px; font-weight: 700; font-family: 'Cinzel', serif; }
.shop-subtitle { color: #888; margin-bottom: 40px; font-size: 1rem; }

/* --- 2. GRID DE PRODUCTOS --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* --- 3. TARJETAS (Nombres corregidos para coincidir con shop.js) --- */
.price-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; padding: 30px 20px; position: relative;
    transition: all 0.3s ease; display: flex; flex-direction: column;
    align-items: center; z-index: 1;
}

.price-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Tarjeta POPULAR (Sanador) */
.price-card.popular {
    border: 1px solid #6366f1; 
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.15) 0%, rgba(0,0,0,0) 100%);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15); z-index: 2;
    transform: scale(1.05); transform-style: preserve-3d;
}
.price-card.popular:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

/* Etiqueta "Más Vendido" */
.popular-tag {
    position: absolute;
    top: -12px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

/* Iconos y Textos */
.coin-icon { font-size: 3.5rem; margin-bottom: 15px; display: block; }
.price-card h4 { color: white; font-family: 'Cinzel', serif; font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }
.amount { color: #ccc; font-size: 0.9rem; margin-bottom: 15px; }
.price { color: white; font-size: 2.2rem; font-weight: 700; margin-bottom: 20px; text-shadow: 0 0 15px rgba(255,255,255,0.1); }

/* --- 4. BOTONES DE PAGO --- */
.btn-stripe-pay {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.btn-stripe-pay:hover { background: rgba(255, 255, 255, 0.15); border-color: white; }

/* Botón Brillante (Glow) */
.btn-stripe-pay.glow {
    background: #6366f1; border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative; z-index: 100 !important; color: #fff !important;
    transform: translateZ(20px); text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.btn-stripe-pay.glow:hover {
    background: #4f46e5;
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
    transform: translateY(-2px);
}
/* Footer pequeño */
.stripe-footer-mini {
    margin-top: 20px;
    font-size: 0.75rem;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.price-card.popular .btn-stripe-pay {
    background-color: #6366f1 !important;  
    color: #ffffff !important; border: none !important;
    position: relative !important; z-index: 9999 !important;
    transform: translateZ(50px) !important; transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.5) !important; 
    opacity: 1 !important;
}
.price-card.popular .btn-stripe-pay:hover {
    background-color: #4f46e5 !important;
    transform: translateZ(50px) translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.7) !important;
}