/* Asegurar que los estilos solo afectan al shortcode */
.comparacion-suscripcion {
  width: 100%;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* ---- ENCABEZADO ---- */
.suscripcion-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  background: #f8f9fa;
  padding: 10px 0;
  text-align: center;
  border-radius: 10px 10px 0 0;
  font-weight: bold;
}

.columna {
  padding: 15px;
  text-align: center;
}

.columna.titulo {
  text-align: left;
  padding-left: 20px;
}

.columna h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.limite {
  font-size: 12px;
  color: #999;
  min-height: 18px; /* Para asegurar que todos los textos de límite tengan el mismo alto */
}

.btn-suscripcion {
  background: #de1e74;
  color: white;
  padding: 10px 12px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-suscripcion:hover {
  background: #0056b3;
}

/* ---- CUERPO ---- */
.suscripcion-body {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  text-align: center;
}

.fila {
  display: contents;
}

.fila span {
  padding: 12px;
  border-bottom: 1px solid #ddd;
}

.fila .titulo {
  text-align: left;
  font-weight: bold;
  padding-left: 20px;
}

/* Última fila sin borde */
.suscripcion-body .fila:last-child span {
  border-bottom: none;
}

/* Íconos */
.check {
  color: red;
  font-size: 18px;
}

.cross {
  color: grey;
  font-size: 18px;
}


.fila:nth-child(even) span { /* Agrega color gris a las filas pares */
  background: #f2f2f2;
}

/* ---- ÍCONOS (AUMENTAR TAMAÑO) ---- */
.check, .cross {
  font-size: 22px; /* Aumentado de 18px a 22px */
}

/* Añadir líneas verticales entre columnas */
.fila span, .suscripcion-header .columna {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

/* Eliminar la línea derecha en la última columna */
.fila span:last-child,
.suscripcion-header .columna:last-child {
  border-right: none;
}

/* ---- BOTÓN "EMPIEZA AHORA" (Abarcar Toda la Celda) ---- */
.btn-suscripcion {
  background: #de1e74;
  color: white;
  padding: 15px; /* Se agranda para abarcar más */
  width: 100%; /* Ocupa toda la celda */
  border: none;
  border-radius: 5px;
  font-size: 16px; /* Un poco más grande */
  cursor: pointer;
  transition: 0.3s;
  display: block; /* Evita problemas de tamaño */
  text-align: center;
}

.btn-suscripcion:hover {
  background: #c01764;
}

/* ---- ÍCONOS (AUMENTAR TAMAÑO Y ALINEAR) ---- */
.check, .cross {
  font-size: 22px; /* Aumentado de 18px a 22px */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.columna h3{
  font-size: 33px !important;
  font-weight: 900 !important;
  text-transform: capitalize !important;
  color: #222;
  padding-bottom: 0px !important;
  margin-bottom: 0px !important;
  border-bottom: none !important;
}


/* ---- General ---- */
.comparacion-suscripcion {
  width: 100%;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

/* ---- Flechas de Navegación ---- */
.planes-nav {
  display: none; /* Oculto en escritorio, visible en móvil */
  text-align: center;
  margin-top: 10px;
}

.flecha-izquierda, .flecha-derecha {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #de1e74;
}
/* Estilos para dispositivos móviles */
@media (max-width: 767px) {

  .suscripcion-header {
    display: none !important;
}
  /* Ocultar versión escritorio y mostrar versión móvil */
  .version-escritorio .suscripcion-header,
  .version-escritorio .suscripcion-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }
  
  /* Ocultar todas las columnas de planes excepto la activa */
  .plan-basico, .plan-standard, .plan-premium {
    display: none;
  }
  
  /* Mostrar solo el plan activo */
  .plan-activo {
    display: block;
  }
  
  /* Ajustar el tamaño del botón en móvil */
  .btn-suscripcion {
    padding: 12px;
    font-size: 14px;
  }
  
  /* Estilo para la navegación en móvil */
  .planes-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
  }
  
  .plan-title {
    font-weight: bold;
    font-size: 20px;
    color: #333;
    text-align: center;
    flex-grow: 1;
  }
  
  .flecha-izquierda, .flecha-derecha {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #de1e74;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .flecha-izquierda:hover, .flecha-derecha:hover {
    background: #c01764;
  }
}

/* Estilos para escritorio */
@media (min-width: 768px) {
  .planes-nav {
    display: none; /* Ocultar navegación en escritorio */
  }
}