@font-face {
  font-family: "Heading Pro Bold";
  font-style: normal;
  font-weight: normal;
  src: local("Heading Pro Bold"),
    url("../fonts/Heading-Pro-Bold.woff") format("woff");
}

.prueba-font {
  font-family: "Lexend", sans-serif;
}

.hidden {
  overflow: hidden;
}

* {
  user-select: none;
}

:root {
  --rojo: #E70100;
  --rojo-hover: #B40000;
  --amarillo: #EABC00;
  --negro: #1D1D1B;
  --gris-claro: #f3f3f3;
  --borde: #ddd;
}

body {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background-color: #fff;
  position: relative;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  display: none;
}

::-webkit-scrollbar:vertical {
  display: block;
  width: 5px;
}

::-webkit-scrollbar-track:vertical {
  background: transparent;
}

::-webkit-scrollbar-thumb:vertical {
  background: #5c5c5c;
}

/**** ELEMENTOS GENERALES */

.contenido {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.sombra-portada {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.contenedor-wrap-reverse {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap-reverse;
}

/**** NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #1d1d1b;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  box-shadow: 0px 0px 4px 2px #cecece;
  z-index: 10;
}

.logo-nav {
  /* position: absolute; */
  left: 30px;
  height: 40px;
}

.logo-nav img {
  height: 100%;
}

.leyenda-nav {
  font-family: "Lexend", sans-serif;
  font-size: 26px;
  color: #fff;
}

.ops-nav {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 60px;
}

.op-nav {
  font-family: "Lexend", sans-serif;
  font-size: 20px;
  color: #000;
}

.btn-nav {
  width: 160px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #b40000;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  cursor: pointer;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.btn-nav2 {
  position: absolute;
  right: 30px;
  width: 130px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  cursor: pointer;
}

.panel-ingreso {
  z-index: 10;
  position: absolute;
  display: none;
  top: 100%;
  left: -10px;
  width: 150px;
  height: auto;
  background-color: #1d1d1b;
  /* box-shadow: 1px 6px 4px 2px #cecece; */
}

.panel-ingreso.active {
  display: block;
}

.opcion-ingreso {
  cursor: pointer;
}

.icons-nav {
  position: absolute;
  right: 20px;
  margin-right: 40px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.icon-nav {
  margin-left: 20px;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}

.barra-nav {
  position: absolute;
  top: 100%;
  width: 100%;
  height: auto;
  padding-bottom: 10px;
  padding-top: 10px;
  /* height: 60px;
  line-height: 60px; */
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: space-evenly;
  background-color: #eabc00;
}

.texto-barra-nav {
  padding: 15px;
  background-color: #ececec;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  cursor: pointer;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.campo-nav {
  width: 200px;
  display: flex;
  flex-wrap: wrap;
}

.nav-textfield {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  background-color: transparent;
  height: calc(3em + 2px);
  padding: 1em;
  font-size: 1em;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #000;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  -webkit-box-shadow: none;
  box-shadow: none;
  resize: none;
  outline: none;
  color: #000;
  font-family: "Montserrat", sans-serif;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

/* .nav-textfield:focus,
.nav-textfield:active {
  border: 1px solid #B40000;
} */

.nav-textfield:focus + label:before,
.nav-textfield:active + label:before {
  color: #000;
}

.nav-textfield + label {
  display: block;
  font-size: 1em;
  height: 3em;
  line-height: 3em;
  margin-top: calc(-3em - 1px);
  margin-bottom: 1em;
  pointer-events: none;
}

.nav-textfield + label:before {
  content: attr(placeholder);
  display: inline-block;
  color: #000;
  font-family: "Montserrat", sans-serif;
  margin: 0 calc(1em + 2px);
  white-space: nowrap;
  transition-property: color, -webkit-transform;
  -webkit-transition-property: color, -webkit-transform;
  transition-property: transform, color;
  transition-property: transform, color, -webkit-transform;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-delay: 0;
  transition-delay: 0;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  -webkit-transform-origin: left center;
  transform-origin: left center;
}

.nav-textfield:focus + label:before,
.nav-textfield.active + label:before,
.nav-textfield:valid + label:before {
  background: transparent;
  line-height: 1;
  padding: 0 1.5px;
  -webkit-transform: translateY(calc(-3em / 2 - 1px / 2)) scale(0.8, 0.8);
  transform: translateY(calc(-3em / 2 - 1px / 2)) scale(0.8, 0.8);
  -moz-transform: translateY(calc(-3em / 2 - 1px / 2)) scale(0.8, 0.8);
  -ms-transform: translateY(calc(-3em / 2 - 1px / 2)) scale(0.8, 0.8);
  -o-transform: translateY(calc(-3em / 2 - 1px / 2)) scale(0.8, 0.8);
}

@media (max-width: 500px) {
  .nav {
    justify-content: flex-start;
  }

  .logo-nav {
    position: relative;
    left: auto;
    transform: translateX(20px);
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
  }

  .leyenda-nav {
    display: none;
  }

  .ops-nav {
    display: none;
  }

  .icons-nav {
    margin-right: 0;
  }

  .texto-barra-nav {
    margin-bottom: 10px;
  }
}

/**** ELEMENTOS GENERALES */

.textfield {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  background-color: transparent;
  height: calc(3em + 2px);
  padding: 1em;
  font-size: 1em;
  border: 1px solid #5b5b5b;
  border-radius: 5px;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  -webkit-box-shadow: none;
  box-shadow: none;
  resize: none;
  outline: none;
  color: #000;
  font-family: "Montserrat", sans-serif;
}

.sombra {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 49;
  display: none;
}

.sombra.active {
  display: block;
}

/* .textfield option {
  background-color: #2a3743;
} */

.textfield:focus,
.textfield:active {
  border: 1px solid #b40000;
}

.textfield:focus + label:before,
.textfield:active + label:before {
  color: #b40000;
}

.textfield + label {
  display: block;
  font-size: 1em;
  height: 3em;
  line-height: 3em;
  margin-top: calc(-3em - 1px);
  margin-bottom: 1em;
  pointer-events: none;
}

.textfield + label:before {
  content: attr(placeholder);
  display: inline-block;
  color: #5b5b5b;
  font-family: "Montserrat", sans-serif;
  margin: 0 calc(1em + 2px);
  white-space: nowrap;
  transition-property: color, -webkit-transform;
  -webkit-transition-property: color, -webkit-transform;
  transition-property: transform, color;
  transition-property: transform, color, -webkit-transform;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-delay: 0;
  transition-delay: 0;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  -webkit-transform-origin: left center;
  transform-origin: left center;
}

.textfield:focus + label:before,
.textfield.active + label:before,
.textfield:valid + label:before {
  background: #fff;
  line-height: 1;
  padding: 0 1.5px;
  -webkit-transform: translateY(calc(-3em / 2 - 1px / 2)) scale(0.8, 0.8);
  transform: translateY(calc(-3em / 2 - 1px / 2)) scale(0.8, 0.8);
}

/**** BANNER PROMO */

.banner-promo {
  position: fixed;
  width: 90%;
  max-width: 550px;
  top: 8%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  z-index: 51;
  display: none;
}

.banner-promo.active {
  display: block;
}

.banner-promo img {
  width: 100%;
}

/**** HOME */

.panel-servicios {
  z-index: 50;
  position: fixed;
  top: calc(50% - 150px);
  left: 50%;
  width: 90%;
  max-width: 800px;
  height: 300px;
  display: none;
  flex-wrap: wrap;
  align-content: space-evenly;
  justify-content: space-evenly;
  background-color: #fff;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  padding-top: 20px;
  padding-bottom: 20px;
}

.panel-servicios.active {
  display: flex;
}

@media (max-width: 500px) {
  .panel-servicios {
    height: 500px;
  top: calc(50% - 250px);
  }
}

.titulo-panel-servicios {
  width: 100%;
  text-align: center;
  font-size: 40px;
  font-family: "Heading Pro Bold", sans-serif;
  color: var(--negro);
}

.op-panel-servicios {
  width: 150px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  background-color: var(--rojo);
  cursor: pointer;
}

.seccion-home {
  width: 100%;
  min-height: 500px;
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}

.titulo-home {
  width: 100%;
  text-align: center;
  font-size: 40px;
  font-family: "Heading Pro Bold", sans-serif;
  font-weight: bold;
  color: #b40000;
}

.texto-seccion {
  width: 90%;
  max-width: 800px;
  font-size: 20px;
  text-align: justify;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.portada {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.portada-boton {
  position: absolute;
  top: calc(60% - 20px);
  right: 15%;
  width: 270px;
  height: 60px;
  line-height: 60px;
  background-color: #b40000;
  color: #fff;
  font-size: 22px;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  cursor: pointer;
  -webkit-animation: breathing 2s ease-out infinite normal;
  animation: breathing 2s ease-out infinite normal;
}

@-webkit-keyframes breathing {
  0% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  25% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  60% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  100% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}

@keyframes breathing {
  0% {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
  }

  25% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }

  60% {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
  }

  100% {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
  }
}

.panel-cita {
  position: fixed;
  top: calc(50% - 250px);
  left: 50%;
  background-color: #fff;
  z-index: 50;
  width: 90%;
  max-width: 600px;
  height: 500px;
  display: none;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.panel-cita.active {
  display: flex;
}

.cerrar-panel-cita,
.cerrar-panel-servicios {
  position: absolute;
  right: 15px;
  top: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: #5b5b5b;
  cursor: pointer;
}

.texto-bienvenida {
  width: 100%;
  margin-top: 50px;
  font-size: 25px;
  color: #b40000;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

.titulo-cita {
  width: 100%;
  font-size: 40px;
  color: #b40000;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  font-weight: bold;
}

.campos-cita {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.campo-home {
  width: 90%;
  max-width: 170px;
  display: flex;
  flex-wrap: wrap;
}

.leyenda-campo {
  width: 100%;
  margin-left: 3px;
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
  color: #5b5b5b;
  font-weight: 600;
}

/* .textfield {
  width: 100%;
  max-width: 150px;
  height: 40px;
  line-height: 40px;
  appearance: none;
  outline: none;
  border: none;
  border: 2px solid #B40000;
  color: #5b5b5b;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  padding-left: 10px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
} */

.btn-cita {
  width: 90%;
  max-width: 390px;
  margin-top: 20px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  background-color: #b40000;
  color: #fff;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  cursor: pointer;
}

@media (max-width: 500px) {
}

.banners {
  width: 90%;
  max-width: 1200px;
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}

.banner {
  width: 100%;
  max-width: 300px;
}

.banner img {
  width: 100%;
}

:root {

  --swiper-pagination-color: var(--rojo);
  --swiper-pagination-bullet-inactive-color: var(--rojo);
}

.swiper {
  user-select: none;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  height: 60%;
  padding: 48px 0px;
  font-family: Exo;
}

.swiper-slide {
  display: flex;
  flex-wrap: wrap-reverse;
  align-content: center;
  justify-content: center;
  width: 75%;
  height: 100%;
  position: relative;
  box-sizing: border-box;
  border: 3px solid var(--rojo);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.textos-swiper {
  width: 90%;
  max-width: 700px;
  display: flex;
  flex-wrap: wrap;
  align-content: space-evenly;
  justify-content: center;
}

.titulo-swiper {
  width: 90%;
  text-align: center;
  font-family: "Heading Pro Bold", sans-serif;
  font-size: 40px;
  color: #fff;
  letter-spacing: 2px;
}

.desc-swiper {
  width: 70%;
  margin-top: 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  color: #fff;
  line-height: 22px;
}

.btn-swiper {
  width: 90%;
  max-width: 220px;
  margin-top: 20px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  background-color: #b40000;
  color: #fff;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  cursor: pointer;
}

.img-swiper {
  width: 80%;
  max-width: 300px;
}

.img-swiper img {
  width: 100%;
}

@media (max-width: 500px) {
  .swiper {
    height: auto;
  }

  .textos-swiper {
    margin-bottom: 20px;
  }
}

/**** FOOTER */

.footer {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-evenly;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #1d1d1b;
}

.section-footer {
  width: 80%;
  max-width: 400px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

.title-footer {
  width: 100%;
  margin: 5px auto;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.element-footer {
  width: 100%;
  margin: 8px auto;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  cursor: pointer;
}

.element-footer a {
  text-decoration: none;
  outline: none;
  color: #000;
}

.element-footer img {
  width: 150px;
}

.logo-footer {
  margin: 10px auto;
}

.logo-footer img {
  height: 90px;
}

.somm-footer {
  font-size: 10px;
  font-family: "HighlandGothicFLF Regular";
  cursor: pointer;
}

@media (max-width: 1100px) {
  .section-footer {
    margin: 20px auto;
  }
}

@media (max-width: 1199px) {
  .title-footer,
  .element-footer {
    text-align: center;
  }
}

/**** CHECKOUT */

.payment-wrapper {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-width: 420px;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  font-family: "Montserrat", sans-serif; /* Consistencia con tipografía */
  color: #5b5b5b; /* tono gris para texto principal */
}

.payment-wrapper h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 2rem; /* ligeramente más grande para mejor jerarquía */
  color: #b40000; /* rojo principal de la página */
  font-weight: 700;
}

.payment-wrapper p {
  margin-bottom: 30px;
  font-size: 1rem;
  color: #444; /* tono oscuro para buen contraste */
}

/* Añadido para descripción extendida */
.descripcion {
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Mensaje info/estado */
.message {
  font-size: 0.95rem;
  color: #b40000; /* rojo destacado */
  margin: 20px 0 10px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
}

.message.active {
  opacity: 1;
  transform: translateY(0);
}

/* Contenedor de Brick (metodo de pago) */
#brick_container {
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-bottom: 20px;
  border: 2px solid #b40000; /* borde rojo para mantener consistencia */
  border-radius: 10px;
  padding: 15px;
  background-color: #fff;
}

/* Botón principal de pago */
.btn-checkout {
  width: 100%;
  max-width: 100%;
  height: 50px;
  line-height: 50px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  background-color: #b40000;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}

.btn-checkout:hover {
  background-color: #8a0000; /* rojo más oscuro en hover */
}

/* Overlay éxito */
.success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  animation: fadeIn 0.6s ease;
  font-family: "Montserrat", sans-serif;
}

.success-overlay h3 {
  color: #28a745;
  font-size: 1.5rem;
  margin-top: 10px;
  font-weight: 700;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 15px;
}

/* Animación fadeIn para overlay éxito */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Para inputs del checkout (añadir si tienes inputs dentro del checkout) */
.checkout-input {
  width: 100%;
  height: 40px;
  line-height: 40px;
  border: 2px solid #b40000;
  border-radius: 10px;
  padding-left: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #5b5b5b;
  margin-bottom: 15px;
  outline: none;
  transition: border-color 0.3s ease;
}

.checkout-input:focus {
  border-color: #8a0000;
}

/* Label para campos */
.checkout-label {
  display: block;
  font-size: 14px;
  color: #b40000;
  font-weight: 600;
  margin-bottom: 6px;
  font-family: "Montserrat", sans-serif;
  text-align: left;
}

/* Contenedor general para formularios en checkout */
.checkout-form {
  text-align: left;
  margin-top: 20px;
}

.btn-pagar-checkout {
  width: 100%;
  height: 38px;
  line-height: 38px;
  margin: 0;
  display: flex;
  background-color: #848484;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
}

.contenido-btn-pagar-checkout {
  width: 90%;
  height: 100%;
  margin: 0 auto;
  display: flex;
}

.texto-btn-pagar-checkout {
  width: 50%;
  height: 100%;
  margin: 0 auto;
}

.icono-btn-pagar-checkout {
  width: 40%;
  height: 100%;
  margin: 0 auto;
  text-align: right;
}

/* ===== Checkout Pro ===== */

/* Layout general (saca estilos inline) */
/* === Layout: columnas con misma altura === */
.seccion-checkout-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px 0;
  align-items: stretch; /* <- hace que las tarjetas estiren a la misma altura */
  margin-top: 180px;
}
@media (min-width: 992px) {
  .seccion-checkout-wrap {
    grid-template-columns: repeat(2, minmax(0, 480px));
  }
}

/* Tarjetas estirables */
.checkout-resumen,
.checkout-pago {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Quitar sticky del resumen (era lo que "seguía" el scroll) */
@media (min-width: 992px) {
  .checkout-resumen {
    position: static;
    top: auto;
  }
}

/* Títulos */
.titulo-checkout {
  font-size: 24px;
  color: #b40000;
  font-weight: 800;
  margin: 0 0 16px;
}

/* Bloque: métodos (cards) */
.metodos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 520px) {
  .metodos-grid {
    grid-template-columns: 1fr;
  }
}

.metodo-card {
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
  background: #fff;
}
.metodo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #e6e6e6;
}

/* Logo box */
.metodo-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f7f7f7;
  overflow: hidden;
}
.metodo-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Info */
.metodo-info {
  display: grid;
  gap: 6px;
}
.metodo-titulo {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #1b1b1b;
  font-size: 16px;
}
.metodo-sub {
  font-family: "Montserrat", sans-serif;
  color: #5b5b5b;
  font-size: 13px;
  line-height: 1.2;
}

/* Botón dentro de cada método */
.metodo-cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  line-height: 44px;
  padding: 0 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.1s ease;
}
.metodo-cta:active {
  transform: translateY(1px);
}

/* Estilo TARJETA (usa tu botón actual, pero lo vestimos mejor) */
.btn-tarjeta {
  background: linear-gradient(180deg, #b40000, #8a0000);
  color: #fff;
}
.btn-tarjeta i {
  font-size: 16px;
}

/* Estilo OXXO identidad */
.btn-oxxo {
  background: #e31e24; /* rojo OXXO */
  color: #fff;
  position: relative;
}
.btn-oxxo::after {
  content: "";
  width: 46px;
  height: 22px;
  background: url("https://upload.wikimedia.org/wikipedia/commons/0/08/Oxxo_Logo.svg")
    center/contain no-repeat;
  display: inline-block;
}

/* Contenedor del resultado/voucher */
#oxxo-result.success-overlay {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  padding: 18px;
  border-radius: 12px;
  background: #fff7f0;
  border: 1px dashed #f0b38f;
  animation: fadeIn 0.3s ease;
}

/* Trust badges */
.checkout-trust {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: #444;
}
.trust-item i {
  color: #2e7d32;
}

/* Breakdowns y mini detalles */
.detalle-checkout {
  display: flex;
  justify-content: space-between;
}
.detalle-checkout strong {
  color: #1b1b1b;
}
.total-checkout {
  font-size: 20px;
}

.detalle-mini {
  margin-top: 6px;
  font-size: 12px;
  color: #777;
}

/* Campo rápido (opcional) para OXXO nombre/email */
.inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.inline-fields .checkout-input {
  height: 42px;
  line-height: 42px;
}
@media (max-width: 520px) {
  .inline-fields {
    grid-template-columns: 1fr;
  }
}

/* Logo OXXO: asegúrate que ocupe bien el contenedor */
.metodo-logo--oxxo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

/* Inputs compactos OXXO */
.inline-fields--compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.checkout-input--sm {
  height: 38px;
  line-height: 38px;
  font-size: 14px;
  border-width: 1.5px;
  border-color: #d9d9d9;
  border-radius: 8px;
  padding-left: 10px;
}
.checkout-input--sm:focus {
  border-color: #b40000;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1000;
}
.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1001;
}
.modal-content {
  width: 92%;
  max-width: 520px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  padding: 18px;
  animation: fadeIn 0.2s ease;
  font-family: "Montserrat", sans-serif;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.modal-header h3 {
  margin: 0;
  font-size: 20px;
  color: #1b1b1b;
  font-weight: 700;
}
.modal-close {
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.modal-body p {
  margin: 10px 0;
  color: #444;
}
.modal-note {
  font-size: 14px;
  color: #555;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}
.modal-btn {
  height: 42px;
  line-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}
.modal-btn--ghost {
  background: #f2f2f2;
  color: #333;
}
.modal-btn--primary {
  background: #b40000;
  color: #fff;
}
.modal-btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Inline fields: solo una columna */
.inline-fields--one {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}

/* Input extra-chico para OXXO */
.checkout-input--xs {
  height: 34px;
  line-height: 34px;
  font-size: 13px;
  border-width: 1px;
  border-color: #d9d9d9;
  border-radius: 8px;
  padding-left: 10px;
}
.checkout-input--xs:focus {
  border-color: #b40000;
}

/* Asegura que ningún estilo anterior lo oculte */
.inline-fields {
  display: grid;
}

.metodo-logo--stripe img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

/* ===== Resumen Pro ===== */
.resumen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.resumen-id {
  font-size: 13px;
  color: #777;
  letter-spacing: 0.2px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #fff4f4;
  color: #b40000;
  border: 1px solid #ffd4d4;
}
.badge--pending:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a5a;
  display: inline-block;
}

.resumen-section {
  margin: 10px 0;
}
.resumen-title {
  font-weight: 700;
  font-size: 14px;
  color: #1b1b1b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.resumen-divider {
  border: 0;
  border-top: 1px dashed #e9e9e9;
  margin: 14px 0;
}

.resumen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
/* @media (min-width: 520px) {
  .resumen-grid {
    grid-template-columns: 1fr 1fr;
  }
} */
.resumen-grid--compact .kv {
  margin: 2px 0;
}

.kv {
  display: flex;
  align-items: flex-start; /* <- permite múltiples líneas sin empalmar */

  gap: 8px;
  width: 100%;
}
.kv-label {
  color: #666;
  font-size: 13px;
  flex: 0 0 auto; /* ancho según contenido */
}

/* Valor a la derecha, con wrap duro si es necesario */
.kv-value {
  color: #1b1b1b;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  flex: 1 1 auto; /* ocupa el resto */
  overflow-wrap: anywhere; /* corta cadenas largas (tel, correo, etc.) */
  word-break: break-word;
  line-height: 1.35;
}

/* Fila "ancha" para campos con textos largos (p.ej. Vehículo) */
.kv--wide {
  grid-column: 1 / -1; /* ocupa las 2 columnas del grid */
}
.resumen-sub {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  color: #444;
  font-size: 13px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.resumen-sub a {
  color: #b40000;
  text-decoration: underline;
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #1b1b1b;
}

/* El grid de detalle se mantiene, pero con buen wrap en 2 cols */
.resumen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
/* @media (min-width: 520px) {
  .resumen-grid {
    grid-template-columns: 1fr 1fr;
  }
} */
