/* ================================
   ESTILOS GENERALES, FOOTER Y MODAL
   ================================ */

body {
    background-color: #323232;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

/* FOOTER */
.custom-footer {
    background-color: #000000;
    border-top: 4px solid var(--color-pink);
    color: #fff;
    padding-top: 3rem;
}

.footer-title {
    color: var(--color-pink);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-text {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--color-pink);
    padding-left: 5px;
}

.footer-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-icon:hover {
    background-color: var(--color-pink);
    border-color: var(--color-pink);
    box-shadow: 0 0 10px rgba(255, 47, 146, 0.6);
}

.footer-bottom {
    background-color: #0a0a0a;
    border-top: 1px solid #222;
    padding: 20px 0;
    color: #888;
    font-size: 0.9rem;
}

/* BOTÓN WHATSAPP FLOTANTE */
.btn-wsp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-wsp-flotante:hover {
    transform: scale(1.1);
    color: #fff;
}

/* MODAL DE PLANES (Estilo Cyberpunk/Moderno) */
#modalPlanes .plx-modal-content {
    background: radial-gradient(circle at 10% 20%, rgba(20, 20, 20, 1) 0%, rgba(0, 0, 0, 1) 90%);
    border: 1px solid var(--color-pink);
    box-shadow: 0 0 50px rgba(255, 47, 146, 0.15);
}

#modalPlanes .plx-modal-header {
    border-bottom: 1px solid rgba(255, 47, 146, 0.3);
    background: rgba(255, 47, 146, 0.05);
}

#modalPlanes .plx-modal-title {
    color: var(--color-pink);
}

/* ESTRUCTURA INTERNA DEL MODAL (Logística de diseño) */
.plx-product-grid {
    display: flex;
    flex-direction: row; /* Asegura que esten uno al lado del otro */
    gap: 25px;
    margin-bottom: 25px;
    align-items: stretch;
}

.plx-col-img {
    flex: 1; /* Ocupa el 50% */
    min-height: 400px;
    background: #fff; /* Fondo para que las fotos transparentes se vean bien */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.plx-col-info {
    flex: 1; /* Ocupa el 50% */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Cuadro de descripción con scroll */
.custom-scroll {
    max-height: 250px; /* Evita que el modal sea gigante */
    overflow-y: auto;
}

/* Categoría del producto (mismo estilo que las tarjetas del catálogo) */
.plx-modal-categoria {
    color: var(--color-pink);
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Precio contado, destacado */
.plx-modal-precio-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    background: rgba(255, 47, 146, 0.06);
    border: 1px solid rgba(255, 47, 146, 0.25);
    border-radius: 10px;
    padding: 14px 18px;
}

.plx-modal-precio-label {
    color: #b0b0b0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plx-modal-precio-valor {
    color: var(--color-pink);
    font-weight: 800;
    font-size: 1.6rem;
}

/* Cards de Planes dentro del modal */
.plx-plan-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px;
    transition: all 0.25s ease;
}

.plx-plan-card:hover {
    border-color: var(--color-pink);
    background: rgba(255, 47, 146, 0.05);
    transform: translateY(-3px);
}

.plx-plan-title {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-pink);
    font-weight: 700;
    margin-bottom: 14px;
}

.plx-plan-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plx-plan-row:last-child {
    border-bottom: none;
}

.plx-plan-row-nombre {
    color: #ccc;
    font-size: 0.85rem;
}

.plx-plan-row-cuota {
    color: #fff;
    font-weight: 700;
}

.plx-modal-footer {
    border-top: 1px solid rgba(255, 47, 146, 0.2);
    background: rgba(255, 47, 146, 0.03);
}

/* Scroll personalizado para la descripción */
.custom-scroll::-webkit-scrollbar {
    width: 6px;
}
.custom-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.custom-scroll::-webkit-scrollbar-thumb {
    background-color: var(--color-pink);
    border-radius: 10px;
}

/* RESPONSIVE: En tablets y celulares se apilan */
@media (max-width: 992px) {
    .plx-product-grid {
        flex-direction: column;
    }
    .plx-col-img {
        min-height: 300px;
        height: 300px;
    }
    .plx-col-info {
        flex: none;
    }
}