body.no-scroll {
  overflow: hidden;
}

main {
  background-color: var(--Surface-Surface-Secondary-Dark);
  color: var(--Text-Text-White);
  font-family: var(--font-nav-rubik);
}

.nuvei-modal,
.payment-checkout-modal,
iframe[src*="nuvei"] {
  z-index: 999999 !important;
}

.planes {
  /* width: 100%;
  max-width: 1200px;*/
  margin: 0 auto;
  padding: 122px 187px 72px 187px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.detSpan {
  display: flex;
  flex-direction: column;
}

.detalle-prorrateo {
  display: block;
  margin-top: 4px !important;
  font-size: 12px !important;
  font-style: normal !important;;
  font-weight: 500 !important;;
  color: var(--Color-fondos-y-superficies-Pearl-Grey) !important;;
}

.encabz {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.encabz h1 {
  justify-content: center;
  align-items: flex-start;
  font-family: var(--font-titles-barlow);
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  text-transform: uppercase;
}

p.intro {
  font-family: var(--font-titles-montse);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

/*CARDS PLANES */
.cards-container {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  max-width: 1268px;
  gap: 24px;
  flex-wrap: wrap;
  box-sizing: border-box;
}


.terminos-cond {
  display: block !important; /* Permite que el texto fluya de corrido como párrafo */
  color: var(--Text-Text-Dark);
  font-family: var(--font-nav-rubik);
  font-size: 14px;
  line-height: 1.5; /* Evita que las líneas se monten en móvil */
}


.terminos-cond input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 6px 0 0;
  
  /* Centrado vertical perfecto con el texto */
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -2px; /* Ajuste fino si requiere subir o bajar según la tipografía */
}

.terminos-cond .link-terminos {
  color: var(--link-hover);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.card {
  flex: 1;
  min-width: 100px;
  max-width: 340px;
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
 gap: 16px;
  border-radius: 12px;
  background: var(--secondary-800);
  box-shadow: 0.5px 0.5px 0 #1a1a1a17;
  color: var(--Text-Text-White);
}

.featured {
  background: var(--Secondary-100);
  color: var(--Text-Text-Dark);
}
.card.featured,
.card.featured * {
  color: var(--Text-Text-Dark);
}

.card-header {
  text-align: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-header h3 {
  display: flex;
  width: 127px;
  height: 24px;
  flex-direction: column;
  justify-content: center;
  font-family: var(--font-titles-montse);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
    color: var(--Success-100-g);
}

.card-subtitle {
  font-family: var(--font-body);
  padding: 4px 12px;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border-radius: 16px;
  border: 1px solid var(--Surface-Surface-white);
  width: fit-content;
}

.featured .card-subtitle {
  background: var(--Success-500);
  color: var(--Text-Text-White);
}

.price {
  color: var(--Text-Text-White);
  font-family: var(--font-titles-montse);
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
}

.price span {
  color: var(--Text-Text-White);
  font-family: var(--font-titles-montse);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.price-detail {
  color: var(--Text-Text-White);
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.card-simulator {
  display: flex;
  padding: var(--gap-padding-12, 12px);
  flex-direction: column;
  gap: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
}

.featured .card-simulator {
  background: #d3f6ff;
}

.card-simulator h4 {
  color: var(--Text-Text-White);
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.input-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.input-group label {
  color: var(--Surface-Surface-white);
  font-family: var(--font-nav-rubik);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.input-group input {
  display: flex;
  padding: 0 0 0 12px;
  align-items: flex-end;
  gap: 12px;
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 6px;
  border: 1px solid var(--Border-Border-Disabled);
  background: rgba(255, 255, 255, 0.1);
  max-width: 60px;
  height: 35px;
  color: var(--Text-Text-White);
}

.card-total {
  display: flex;
  height: 30px;
  padding-top: 8px;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-nav-rubik);
}
.card-total p {
  color: var(--Text-Text-White);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.total-price {
  color: var(--Text-Text-White);
  text-align: right;
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.btn-select {
  display: flex; /*estaba en none */
  padding: 12px 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: var(--Radius-10, 10px);
  background: var(--Surface-Surface-white, #fff);
  color: var(--Text-Text-Dark);
  text-align: center;
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.btn-select:hover {
  background: var(--Gray-Blue-100);
  cursor: pointer;
}

.informacion2 {
  display: flex;
  width: 100%;
  max-width: 1228px;
  padding: 24px 20px;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  gap: 12px;
  align-self: stretch;
  border-radius: 12px;
  background: var(--secondary-800);
  background-image: url("/web/frontend/assets/media/img-planes/Mask group11.png");
  background-size: 60%;
  background-position: right;
  background-repeat: no-repeat;
}

.titulo {
  display: flex;
  padding: 4px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: var(--Success-50);
  color: var(--Text-Text-Link);
  font-family: Rubik;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.cantidad {
  color: var(--Text-Text-White);
  font-family: var(--font-titles-montse);
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
}

.cantidad span {
  font-family: var(--font-titles-montse);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.detalles {
  max-width: 516.989px;
  color: var(--Text-Text-White);
  text-align: center;
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  line-height: normal;
}

.contacto {
  display: flex;
  width: 200px;
  padding: 12px 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background: var(--Surface-Surface-white);
  text-decoration: none;
  color: var(--Text-Text-Dark);
  text-align: center;
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.titPasos {
  color: var(--Text-Text-Dark);
  font-family: var(--font-titles-montse);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.masinfo {
  color: var(--Color-fondos-y-superficies-Pearl-Grey);
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.notificacionmb {
  display: none;
}

/*modal planes */

.modal {
  display: none;
}

.modal.show {
  position: fixed;
  top: 0;
  inset: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  display: grid;
  grid-template-columns: 270px 1fr;
  width: 100%;
  max-width: 752px;
  min-height: 300px;
  background: var(--Surface-Surface-white);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  padding: 24px;
  gap: 8px;
}

/*PARA NUEVI */
.modal-content.full {
  /*display: block; /* o flex si quieres */
  grid-template-columns: unset;
  max-width: 550px;
}

.salir {
  grid-column: 1 / -1; /* ocupa todas las columnas */
  display: flex;
  justify-content: flex-end; /* manda la X a la derecha */
  align-items: center;
  border: none;
  background: white;
  cursor: pointer;
  gap: 10px;
}

.modal-image {
  display: flex;
  max-width: 218px;
  height: auto;
  padding: 32px 16px;
  flex-direction: column;
  align-items: center;
  gap: 45px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--Secondary-50);
}
.modal-image,
.modal-form {
  min-width: 0;
}

.img-edificio {
  width: 118px;
}

.img-persona {
  width: 150px;
}

.img-config {
  width: 120px;
}

.img-vector {
  width: 71px;
  padding-top: 106px;
}

.contentinit {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tittleModal {
  color: var(--Secondary-900);
  font-family: var(--font-titles-montse);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.introModal {
  color: var(--Secondary-600);
  font-family: var(--font-nav-rubik);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.modal-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.step[data-step="5"] {
  max-height: calc(90vh - 250px);
  overflow-y: auto;
  padding: 0 15px;
}

.step {
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 16px;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step.active {
  display: flex;
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acciones {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step span {
  color: var(--Text-Text-Dark);
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  min-width: 45px;
}

.step input {
  width: 100%;
  box-sizing: border-box;
  display: block;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--Border-Border-Disabled);
  background: var(--Surface-Surface-white);
  transition: 0.2s;
  font-family: var(--font-nav-rubik);
}

.step input::placeholder {
  color: var(--Text-Text-Activated);
}

.doble {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

h4 {
  color: var(--Secondary-950);
  font-family: var(--font-titles-montse);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
/*
.step label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
}*/

.actions {
  display: flex;
  flex-direction: column;
}

.next-btn,
.prev-btn,
.next-cancelar,
.finalizar,
.step button[type="submit"] {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.next-btn,
.finalizar,
.step button[type="submit"] {
  background: var(--Grayscale-100);
  color: var(--Text-Text-Activated);
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.next-btn:hover {
  background: var(--Primary-Brand-400-Brand);
  color: var(--Text-Text-White);
}

.next-cancelar,
.step button[type="submit"] {
  background: none;
  color: #546e7a;
  font-family: var(--font-nav-rubik);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.prev-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  justify-content: center;
}

input.error {
  border: 1px solid red;
}

/*dots de pasos*/
.stepDatos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}
.step-plan {
  display: flex;
  padding: 4px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--secondary-800);
  font-family: var(--font-nav-rubik);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border-radius: var(--Radius-16, 16px);
  background: var(--Secondary-50);
  text-transform: capitalize;
}
.stepper {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
}

.step-text {
  display: block;
  font-family: var(--font-nav-rubik);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--Color-fondos-y-superficies-Pearl-Grey);
}

.step-dots {
  display: flex;
  gap: 8px;
  flex: 1 0 0;
  align-self: stretch;
}

.spandatos {
  display: flex;
  align-self: flex-start;
  width: 219px;
  padding: 6px 12px;
  gap: 8px;
  border-radius: 12px;
  background: var(--Warning-50);
}
.spandatos p {
  color: #263238;
  font-family: var(--font-nav-rubik);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.spandatos img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.dot {
  flex: 1;
  height: 6px;
  border-radius: 2px;
  background: #e2e8f0;
}

.dot.active {
  border-radius: 2px;
  background: var(--Primary-Brand-400-Brand);
}

.dot.hidden {
  display: none;
}

/* paso 3 */
.option-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-list {
  min-height: 200px;
  width: 100%;
}
.step[data-step="3"] .option {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.step[data-step="3"] input {
  width: 30px;
}

.step[data-step="3"] .option .radio {
  width: 16px;
  height: 16px;
  margin-top: 4px;
}

.option-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* estado seleccionado */

.option-content span {
  font-weight: 500;
}
.option-content p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* estado seleccionado */
.option:has(input:checked) {
  border: 2px solid #519e36 !important;
  background: var(--Success-50);
}

.option input[type="radio"] {
  accent-color: var(--Primary-Brand-400-Brand);
}

#notificacion {
  display: none;
  padding: 16px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  align-self: stretch;
  background: var(--secondary-800);
}

#notificacion.show {
  display: flex;
}

#notificacion > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

#notificacion ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
}

#notificacion li {
  text-align: left;
  display: list-item;
}

#notificacion p {
  margin: 0;
  line-height: 1;
  color: var(--Secondary-50);
  font-family: var(--font-nav-rubik);
  font-size: 14px;
  font-weight: 700;
}

#notificacion ul {
  color: var(--Secondary-50);
  font-family: var(--font-nav-rubik);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
#notificacion img {
  width: 44.7px;
  height: 44.7px;
}

#notificacion a {
  color: #43a047;
}
/* paso 4 */

.datos-factura,
.datos-envio {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/*.datos-envio.oculto {
  display: none;
}*/
/*carrito*/

.product-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--Color-fondos-y-superficies-Light-Silver);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
}

.same-data {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-nav-rubik);
  color: var(--Text-Text-Dark);
}
/*.same-data.oculto {
  display: none;
}*/

.oculto {
  display: none !important;
}

/* checkbox personalizado */
.same-data input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--Primary-Brand-400-Brand);
  cursor: pointer;
}

/* imagen pequeña */
.product-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

/* info */
.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-info h4 {
  margin: 0;
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-weight: 700;
  color: var(--Text-Text-Dark);
}

/* fila inferior */
.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* botón detalles */
.details-btn {
  background: transparent;
  cursor: pointer;
  color: var(--link-hover);
  font-family: var(--font-nav-rubik);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.details-btn:hover {
  background: #f5f5f5;
}

.row-info {
  width: 300px;
}

/* precio */
.pricet {
  display: inline-block;
  width: 100%;
  text-align: right;
  font-weight: 600;
  color: var(--Primary-Brand-400-Brand) !important;
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

/* contador */
.qty {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.qty button {
  width: 28px;
  height: 28px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.qty span {
  width: 32px;
  text-align: center;
  font-size: 13px;
}

.row h4 {
  color: var(--Text-Text-Dark);
  font-family: Rubik;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.cart-total .label {
  color: var(--Text-Text-Dark);
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.cart-total .currency {
  color: var(--Primary-Brand-400-Brand);
  font-family: var(--font-nav-rubik);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
}


.cart-section.section-biometricos {
  max-height: 200px; /* Ajusta los píxeles según la altura que prefieras */
  overflow-y: auto;
  padding-right: 8px; /* Espacio para que el scroll no tape el contenido */
}

/* Opcional: Personalizar el diseño de la barra de scroll para que luzca limpia */
.cart-section.section-biometricos::-webkit-scrollbar {
  width: 6px;
}

.cart-section.section-biometricos::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.cart-section.section-biometricos::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 4px;
}

.cart-section.section-biometricos::-webkit-scrollbar-thumb:hover {
  background: #999999;
}


.row-bottom{
  display: flex;
    flex-direction: column;
    align-items: end
}


.error-message {
  display: none;
  color: #e53935;
  background: #ffebee;
  border: 1px solid #ffcdd2;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.error-message.show {
  display: block;
}
#pais_f.error,
#ciudad_fact.error,
#pais_e.error,
#ciudad_e.error,
#pais_empresa.error,
#ciudad_empresa.error {
  border: 1px solid red;
  background-color: #fff0f0;
}

/*detalle fact*/

.detalles_fact {
  width: 100%;
  color: var(--Text-Text-Dark);
  font-family: var(--font-nav-rubik);
}

.linea {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.linea span {
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.linea .labelG {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  color: var(--Color-fondos-y-superficies-Pearl-Grey);
}
.linea .valorG {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  color: var(--Color-fondos-y-superficies-Pearl-Grey);
}

.valor {
  white-space: nowrap;
  font-weight: 500;
}

.detalles_fact label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.detalles_fact input[type="checkbox"] {
  width: auto;
  transform: scale(1);
}

.total-final.ncss {
  display: flex;
  padding: 16px 12px;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-radius: 12px;
  background: var(--Success-50);
}

.total-final .label {
  color: var(--Text-Text-Dark);
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.total-final .valor.ncss {
  color: var(--Primary-Brand-400-Brand);
  font-family: var(--font-titles-montse);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

/* selects */
#pais_f,
#ciudad_f,
#pais_e,
#ciudad_e,
#pais_empresa,
#ciudad_empresa {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background-color: #fff;
  font-size: 16px;
  color: #333;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.accordion-header img {
  transition: transform 0.25s ease;
}

/* contenido colapsado */
.detalles_fact.collapsed {
  display: none;
}

/* rotar flecha */
.accordion.open .accordion-header img {
  transform: rotate(180deg);
}

.nuvei-pago {
  display: none;
  padding: 10px 0 100px 0;
  flex-direction: column;
}

.success_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.success_box img {
  display: flex;
  width: 80px;
  height: 80px;
  justify-content: center;
  align-items: center;
}

.success_box h2 {
  color: var(--Text-Text-Dark);
  text-align: center;
  font-family: var(--font-titles-montse);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.success_box p {
  color: #546e7a;
  text-align: center;
  font-family: Rubik;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.detalle-pago {
  color: var(--Text-Text-Dark);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(90vh - 250px);
  overflow-y: auto;
  padding: 0 15px;
  width: 100%;
  max-width: 550px;
}

.encab-det {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.encab-det h1 {
  color: var(--Text-Text-Dark);
  text-align: center;
  font-family: var(--font-titles-montse);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.icon-success {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e7fee3;

  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-success img {
  width: 56px;
  height: 56px;
}

.encab-det h2 {
  color: var(--Text-Text-Dark);
  text-align: center;
  font-family: var(--font-titles-montse);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 28px */
}

.encab-det p {
  color: var(--Color-fondos-y-superficies-Pearl-Grey);
  text-align: center;
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.detalle-pago .row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.desglose,
.dts-facturacion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-nav-rubik);
}

.desglose p,
.dts-facturacion p {
  color: var(--Text-Text-Dark);
  font-family: var(--font-nav-rubik);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.desglose span,
.dts-facturacion span {
  color: var(--Color-fondos-y-superficies-Pearl-Grey);
  font-family: var(--font-nav-rubik);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.desglose > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--Color-fondos-y-superficies-Light-Silver);
  padding-bottom: 12px;
}

.nombrePlan {
  padding: 4px 12px;
  color: var(--secondary-800);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  border-radius: 16px;
  background: var(--Secondary-50);
}

.desglose .valorPlan {
  color: var(--Primary-Brand-400-Brand);
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.desglose .nameEmpresa,
.row.negritas span {
  font-weight: 700;
}

.dts-final {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-nav-rubik);
}

.row.totalf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  flex-direction: row;
  border-radius: 12px;
  background: var(--Success-50);
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  color: var(--Text-Text-Dark);
  font-weight: 700;
  margin: 16px 0;
}
.row.totalf .tt {
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  color: var(--Text-Text-Dark);
  font-weight: 700;
}

.row .totalPagar {
  color: var(--Primary-Brand-400-Brand);
  font-family: var(--font-titles-montse);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

@media (max-width: 768px) {
  .planes {
    display: flex;
    padding: 64px 20px 48px 20px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    align-self: stretch;
  }

  .doble {
    grid-template-columns: 1fr;
  }

  .encabz {
    padding: 64px 0 48px 0;
  }

  .encabz h1 {
    color: var(--Text-Text-White);
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    text-transform: uppercase;
  }

  .encabz .intro {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    align-self: stretch;
  }

  /* CONTENEDOR DE CARDS */
  .cards-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    align-items: center;
  }

  /* CADA CARD */
  .card {
    width: 100%;
    max-width: 450px;
  }

  /* PLAN DESTACADO */
  .card.featured {
    transform: none; /* evita que rompa el layout en móvil */
  }

  /* INPUTS MÁS COMPACTOS */
  .card-simulator {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .input-group input {
    width: 100%;
    padding: 10px;
    max-width: 60px;
    height: 35px;
  }

  /* TOTAL */
  .card-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
  }

  /* BOTÓN */
  .btn-select {
    width: 100%;
    padding: 12px;
  }

  /* BLOQUE FINAL */
  .informacion2 {
    text-align: center;
    padding: 20px;
  }

  .cantidad {
    font-size: 22px;
  }

  .detalles {
    color: var(--Text-Text-White);
    text-align: center;
    font-family: var(--font-nav-rubik);
  }

  .modal-image {
    display: none;
  }

  .modal-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
  }

  .notificacionmb {
    display: block;
    color: #92400e;

    font-family: var(--font-nav-rubik);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 8px;
    border: 1px solid #fef3c7;
    background: #fffbeb;

    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    padding: 12px;
  }
  .notificacionmb img {
    width: 16px;
    height: 16px;
    color: #92400e;
  }

  .notificacionmb ul {
    margin: 0;
    list-style: disc;
    display: flex;
    flex-direction: column;
    padding-left: 16px;
    gap: 8px;
  }

  .notificacionmb > div {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .step[data-step="5"] {
    max-height: none;
    overflow-y: auto;
    padding: 0 15px;
  }
  .detalle-pago {
    max-height: none;
    padding: 0;
  }
}

@media (max-width: 400px) {
  .card {
    max-width: 300px;
    width: 100%;
  }
}
