.shop_container .grid_item {
  display: flex;
  flex-direction: column;
}

.shop_container .product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.shop_container .product_info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.shop_container .product_title {
  min-height: 40px;
  /* Ajusta esta altura según sea necesario */
}

.shop_container .pr_desc {
  margin-top: auto;
}

.plan-card.plan-compact {
  box-shadow: none;
  border: 1px solid #eef0f2;
  border-radius: 12px;
}

.plan-card.plan-compact .plan-head {
  padding: 12px 14px;
}

.plan-card.plan-compact .plan-icon {
  width: 28px;
  height: 28px;
  font-size: 16px;
  border-radius: 8px;
}

.plan-card.plan-compact .plan-title {
  font-size: 1rem;
  margin: 0;
}

.plan-card.plan-compact .plan-subtitle {
  font-size: 0.85rem;
  margin: 2px 0 0;
}

.plan-card.plan-compact .card-body {
  padding: 12px 14px;
}

.plan-card.plan-compact .plan-bullets {
  margin: 0 0 0.5rem;
  padding-left: 1.1rem;
}

.plan-card.plan-compact .plan-bullets li {
  margin-bottom: 0.3rem;
}

.plan-card.plan-compact .plan-block-title {
  font-size: 0.8rem;
  margin: 0.25rem 0 0.4rem;
  letter-spacing: 0.04em;
  color: #8b9aa5;
}

.plan-card.plan-compact .plan-price {
  padding: 12px 14px;
}

.plan-card.plan-compact .price-lines > div {
  line-height: 1.25;
}

/* ====== Estilos del card embebido (como captura2) ====== */
.plan-embed .plan-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef0f2;
}

/* Header con color + tipografía */
.plan-embed .plan-head {
  padding: 16px 18px;
  color: #1b1b1b;
  border-bottom: 1px solid #f0f0f0;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
}

/* Aseguramos los colores del header por plan */
.plan-embed .plan-flow .plan-head {
  background: #c9da59;
}

/* verde lima */
.plan-embed .plan-clasico .plan-head {
  background: #98b9c4;
}

/* celeste grisáceo */
.plan-embed .plan-maestro .plan-head {
  background: #e7864e;
}

/* naranja */

/* Icono y títulos del header */
.plan-embed .plan-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
  font-size: 20px;
}

.plan-embed .plan-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.plan-embed .plan-subtitle {
  font-size: 0.9rem;
  color: #5a6a75;
  margin: 0;
}

/* Cuerpo y bullets */
.plan-embed .card-body {
  padding: 16px 18px;
}

.plan-embed .plan-bullets {
  margin: 0 0 1rem 0;
  padding-left: 1.2rem;
}

.plan-embed .plan-bullets li {
  margin-bottom: 0.35rem;
}

/* Bloque “Beneficios” */
.plan-embed .plan-block-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8b9aa5;
  margin: 0.25rem 0 0.6rem;
}

/* Pie de precio */
.plan-embed .plan-price {
  background: #f7f8f9;
  border-top: 1px solid #eef0f2;
  padding: 16px 18px;
}

.plan-embed .price-lines > div {
  line-height: 1.3;
}

/* ====== Espaciado respecto al botón “Ver” ====== */
.product_info .plan-embed {
  margin-top: 10px;
  margin-bottom: 14px;
}

.product_info .plan-embed + .product_price {
  margin-top: 10px !important;
}

/* Por si tu card tenía altura mínima que hacía presión */
.product_wrap {
  min-height: unset;
}

/* === OVERRIDES FINALES PARA QUE SE VEA COMO LA CAPTURA === */

/* Card con radio grande y sombra suave */
.plan-embed .plan-card {
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 6px 20px rgba(7, 23, 45, 0.08) !important;
  border: 0 !important;
}

/* Header de color (sin borde inferior), layout icono + textos */
.plan-embed .plan-head {
  padding: 16px 18px !important;
  display: grid !important;
  grid-template-columns: 40px 1fr !important;
  column-gap: 12px !important;
  align-items: center !important;
  border: 0 !important;
  color: #1b1b1b !important;
}

/* Colores por plan */
.plan-embed .plan-flow .plan-head {
  background: #c9da59 !important;
}

.plan-embed .plan-clasico .plan-head {
  background: #98b9c4 !important;
}

.plan-embed .plan-maestro .plan-head {
  background: #e7864e !important;
}

/* Icono y tipografías del header */
.plan-embed .plan-icon {
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
}

.plan-embed .plan-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1b1b1b;
}

.plan-embed .plan-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #5a6a75;
}

/* Cuerpo */
.plan-embed .card-body {
  padding: 18px 20px !important;
}

.plan-embed .plan-bullets {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.plan-embed .plan-bullets li {
  margin-bottom: 0.5rem;
}

/* “Beneficios” */
.plan-embed .plan-block-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8b9aa5;
  margin: 0.25rem 0 0.6rem;
}

/* Footer gris suave con separación */
.plan-embed .plan-price {
  background: #eef2f5 !important;
  /* gris como la captura */
  border-top: 1px solid #e7eaee !important;
  padding: 16px 20px !important;
}

.plan-embed .price-lines > div {
  line-height: 1.3;
}

/* Márgenes respecto al botón "Ver" */
.product_info .plan-embed {
  margin-top: 10px;
  margin-bottom: 16px;
}

.product_info .product_price {
  margin-top: 12px !important;
}

/* --- Separación desde "Suscripción" --- */
.product_title + .plan-embed {
  margin-top: 12px !important;
}

/* más aire */
.product_info .plan-embed {
  margin-bottom: 16px !important;
}

/* separación del botón */

/* --- Fix del header: forzar layout en 2 filas (título arriba, subtítulo abajo) --- */
.plan-embed .plan-head {
  display: grid !important;
  grid-template-columns: 40px 1fr !important;
  /* icono + textos */
  grid-template-rows: auto auto !important;
  /* dos filas */
  column-gap: 12px !important;
  align-items: center !important;
  border: 0 !important;
}

/* El ícono ocupa ambas filas */
.plan-embed .plan-icon {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  /* 2 filas */
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
}

/* Título en fila 1, columna 2 */
.plan-embed .plan-title {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1b1b1b;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Subtítulo en fila 2, columna 2 (evita “columna del icono”) */
.plan-embed .plan-subtitle {
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  font-size: 0.9rem;
  color: #5a6a75;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Opcional: redondeo/sombra como en la maqueta */
.plan-embed .plan-card {
  border-radius: 20px !important;
  box-shadow: 0 6px 20px rgba(7, 23, 45, 0.08) !important;
  border: 0 !important;
  overflow: hidden !important;
}

.plan-embed .plan-flow .plan-head {
  background: #c9da59 !important;
}

.plan-embed .plan-clasico .plan-head {
  background: #98b9c4 !important;
}

.plan-embed .plan-maestro .plan-head {
  background: #e7864e !important;
}

.plan-embed .card-body {
  padding: 18px 20px !important;
}

.plan-embed .plan-price {
  background: #eef2f5 !important;
  border-top: 1px solid #e7eaee !important;
  padding: 16px 20px !important;
}

/* Callout "Modo avión" debajo del plan */
.plan-embed .modo-avion {
  background: #f36c9a;
  /* rosa de la captura */
  color: #fff;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 6px 20px rgba(7, 23, 45, 0.08);
  margin-top: 12px;
  /* separación del article */
}

.plan-embed .modo-avion .modo-title {
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 8px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.plan-embed .modo-avion .modo-price {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 4px 0;
}

.plan-embed .modo-avion .modo-note {
  color: rgba(0, 0, 0, 0.55);
  /* gris sobre rosa, como en la captura */
  font-weight: 500;
}

/* Más aire con el botón "Ver" */
.product_info .plan-embed .modo-avion {
  margin-bottom: 16px;
}

.product_info .product_price {
  margin-top: 12px !important;
}
