@import url('ofertasImperdibles.css?v=2.5');
@import url('destacadosCirculos.css?v=2.3');
/* DESTACADOS */

.body1 {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contenedor-circulos {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

.circulo {
  width: 180px;
  height: 180px;
  background-color: #fff;
  border-radius: 50%;
  text-align: center;
  position: relative;
}

.circulo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.titulo {
  position: absolute;
  bottom: -20px;
  width: 100%;
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
}

/* ============================================================================== */

body {
  font-family: Arial, sans-serif;
}

/* ============================================================================= */


.tituloDestacado {
  background-color: #344488;
  background-color: #f0f0f0;
}

.tituloDestacado h1 {
  margin-top: -5px;
}

.bold-text {
  font-weight: bold;
}

.semi-bold-text {
  font-weight: 500;
}

.productosDestacados {
  background-color: #344488;
  background-color: #f0f0f0;
}

.productosDestacados ul li figure.figureGrid0 {
  overflow: hidden;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  width: 272px;
  width: auto;
  height: 272px;
  border-radius: 3px;
}

.productosDestacados ul li figure.figureGridTemporal {
  overflow: hidden;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  width: auto;
  height: 500px;

  border-radius: 3px;
}

.productosDestacados ul li figure.figureGridTemporal img.imgCuota {
  position: absolute;
  top: 48%;
  right: 3%;
  width: 23%;
  background-color: transparent;
}

.productosDestacados ul li figure.figureGridTemporal img.imgAvisoStock {
  position: absolute;
  top: 48%;
  left: 3%;
  width: 30%;
  background-color: transparent;
}

.productosDestacados ul li figure.figureGridTemporal img.imgEnvioGratis {
  position: absolute;
  top: 1.5%;
  left: 2%;
  width: 23%;
  z-index: 999;
  background-color: transparent;
}

.productosDestacados ul li p.lineaClasificacion {
  position: absolute;
  top: 1%;
  right: 1%;
  color: #777;
  font-size: x-small;
  cursor: default;
  background-color: transparent;
}

.productosDestacados ul li p.lineaClasificacion:hover {
  right: 4%;
  transform: scale(1.3, 1.3);
}

.productosDestacados {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.productosDestacados::-webkit-scrollbar {
  display: none;
}

.productosDestacados {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.productosDestacados ul {
  display: flex;
  gap: 20px;
  padding: 20px 10px;
}

.productosDestacados ul li {
  flex: 0 0 calc(25% - 16px);
  min-width: 280px;
  scroll-snap-align: start;
}

.productosDestacados ul li figure.figureGrid0 img.imgCuota {
  position: absolute;
  top: 48%;
  right: 3%;
  width: 23%;
  background-color: transparent;
}

.productosDestacados ul li figure.figureGrid0 img.imgAvisoStock {
  position: absolute;
  top: 48%;
  left: 3%;
  width: 30%;
  background-color: transparent;
}

.productosDestacados ul li figure.figureGrid0 img.imgEnvioGratis {
  position: absolute;
  top: 1.5%;
  left: 2%;
  width: 23%;
  z-index: 999;
  background-color: transparent;
}

.productosDestacados ul li.liGrid0 {

  background-color: rgb(201, 173, 173);
  background-color: white;
  border: 1px solid red;
  border: 1px solid #E2E4EB;
  border-radius: 5px;
  margin: 6px;
  margin-bottom: 20px;
  padding: 10px;
  position: relative;
  width: 280px;
  height: 491px;

}

.productosDestacados ul li.liGrid0:hover {

  border: 1px solid #c5c5c5;
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.35);
  border-radius: 7px;

}

.productosDestacados ul li.liGrid0NuevoDisenio {

  background-color: rgb(201, 173, 173);
  background-color: white;
  border: 1px solid red;
  border: 1px solid #E2E4EB;
  border-radius: 5px;
  margin: 6px;
  margin: 16px;
  margin-bottom: 20px;
  padding: 10px;
  padding: 0px;
  position: relative;
  width: 350px;
  height: 446px;
}

.productosDestacados ul li.liGrid0NuevoDisenio:hover {

  border: 1px solid #c5c5c5;
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.35);
  border-radius: 7px;

}

.productosDestacados ul li figure.figureGridTarjetas {
  overflow: hidden;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  width: auto;
  height: 167px;
  border-radius: 3px;
}

.productosDestacados ul li.liGrid0Tarjetas {

  background-color: rgb(201, 173, 173);
  background-color: white;
  border: 1px solid red;
  border: 1px solid #E2E4EB;
  border-radius: 5px;
  margin: 6px;
  margin: 16px;
  margin-bottom: 20px;
  padding: 10px;
  padding: 0px;
  position: relative;
  width: 550px;
  height: 167px;
}

.productosDestacados ul li.liGrid0Tarjetas:hover {

  border: 1px solid #c5c5c5;
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.35);
  border-radius: 7px;

}

.productosDestacados ul li div.informacionCartilla div.cadenaPrecioAlFinal {
  position: absolute;
  bottom: 2%;
  left: 0%;
  right: 3%;
  margin: auto;
  text-align: center;
  height: 12%;
}

.productosDestacados ul li div.informacionCartilla div.cadenaPrecioAlFinal span strong {
  vertical-align: middle;
  color: black;
  margin-left: 7px;
  font-family: 'Poppins', sans-serif;
}

.productosDestacados ul li div.informacionCartilla div.ultimoParrafo {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  margin-top: 0;
  text-align: center;
  height: 28%;
  /* background-color:pink; */

}

.productosDestacados h1 small {
  text-transform: uppercase;
}

/* .productos ul li a img:hover{
  transition: .3s all ease;
  opacity: .8;
  transform: scale(1.1,1.1);
} */

.productosDestacados ul li h4 {
  color: #848688;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  font-weight: light;
}

.productosDestacados ul li div.informacionCartilla div.cadenaDescripcion h4 a {
  color: #848688;
  color: black;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  font-weight: light;
}

.productosDestacados ul li div.informacionCartilla div.cadenaDescripcion {
  /* background-color: #344488; */
  height: 75px;
  width: 270px;
  ;
  padding-right: 5%;
}

.productosDestacados ul li div.informacionCartilla p {
  text-align: center;
  color: black;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: small;
}

.productosDestacados ul li div.informacionCartilla div.ultimoParrafo p.cadenaCuotas {
  color: #344488;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-weight: 400;
  margin-top: 6px;
  margin-bottom: 0px;
  padding-bottom: 0px;
  bottom: 0;
  line-height: 50%;
}

.productosDestacados ul li div.informacionCartilla div.ultimoParrafo p.montoCuotas {
  color: #344488;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-weight: 700;
  font-size: xx-large;
  margin-top: 0px;
  padding-top: 0px;
  top: 0;
}

.productosDestacados ul li div.informacionCartilla {
  position: absolute;
  padding-bottom: 0;
  height: 110px;
  ;
  height: 210px;
  ;
}

.productosDestacados ul li h5 {
  color: #848688;
  @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');
  font-family: 'Open Sans', sans-serif;
  font-size: medium;
  text-align: center;
  font-weight: lighter;
}


.productosDestacados ul li h4 a {
  color: #818181;
  color: white;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  font-weight: bold;
  font-size: medium;

}

.productosDestacados ul li div.precio {
  padding: 0;
  margin-top: -30px;
  padding-bottom: 20px;
}

.productosDestacados ul li div.enlaces {
  padding: 0;
  padding-bottom: 20px;
}

.productosDestacados ul li div.enlaces button {
  margin: 2px;
}

.productosDestacados ul li div.enlaces button i {
  color: #999;
  font-size: 12px;
}



.marcas-titulo {
  font-size: 2.2em;
  margin: 30px 0 20px;
  text-align: center;
  color: #344488;
}

.marcas-titulo .semi-bold-text {
  font-weight: 500;
}

.marcas-titulo .bold-text {
  font-weight: bold;
}

/* ---- ESTILOS LOS MÁS VENDIDOS ---- */
.carousel-container-masvendidos {
  position: relative;
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
  overflow: hidden;
  padding: 0;
}

.carousel-item-masvendidos:first-child {
  margin-left: 42px;
}

.carousel-item-masvendidos:last-child {
  margin-right: 50px;
}

.carousel-masvendidos {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 20px;
  padding: 20px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-masvendidos::-webkit-scrollbar {
  display: none;
}

.carousel-item-masvendidos {
  flex: 0 0 calc(25% - 10px);
  text-align: center;
  padding: 0 5px;
  box-sizing: border-box;
  scroll-snap-align: start;
}

.carousel-cartilla-masvendidos {
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 270px;
  height: 520px;
  border-radius: 4px;
  background-color: white;
}

.carousel-cartilla-masvendidos:hover {
  border: 1px solid #c5c5c5;
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}

.carousel-button-masvendidos {
  background-color: white;
  border-radius: 50%;
  border: 1px solid #c5c5c5;
  font-weight: normal;
  font-size: 2em;
  color: #344488;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.carousel-button-masvendidos.prev-masvendidos {
  left: 5px;
}

.carousel-button-masvendidos.prev-masvendidos:hover {
  color: #344488;
  border: 1px solid #344488;
  box-shadow: 0px 0px 7px 1px #344488;
}

.carousel-button-masvendidos.next-masvendidos {
  right: 5px;
}

.carousel-button-masvendidos.next-masvendidos:hover {
  color: #344488;
  border: 1px solid #344488;
  box-shadow: 0px 0px 7px 1px #344488;
}

.carousel-button-masvendidos:focus-visible {
  outline: 2px solid #344488;
  outline-offset: 2px;
}

.carousel-button-masvendidos:active {
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
}

.carousel-item-masvendidos figure.figureGrid0 {
  overflow: hidden;
  margin: 0;
  width: auto;
  height: 272px;
  border-radius: 3px;
}

.carousel-item-masvendidos figure.figureGrid0 img.imgCuota {
  position: absolute;
  top: 48%;
  right: 4.5%;
  width: 4%;
  background-color: transparent;
}

.carousel-item-masvendidos figure.figureGrid0 img.imgAvisoStock {
  position: absolute;
  top: 48%;
  left: 3%;
  width: 30%;
  background-color: transparent;
}

.carousel-item-masvendidos figure.figureGrid0 img.imgEnvioGratis {
  position: absolute;
  top: 1.5%;
  left: 4%;
  width: 4%;
  z-index: 999;
  background-color: transparent;
}

.carousel-item-masvendidos div.informacionCartilla div.cadenaDescripcion h4 a {
  color: #000000 !important;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  font-weight: light;
}

.carousel-item-masvendidos div.informacionCartilla div.ultimoParrafo p.cadenaCuotas {
  color: #344488;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-weight: 400;
  margin-top: 6px;
  margin-bottom: 0px;
  padding-bottom: 0px;
  bottom: 0;
  line-height: 50%;
}

.carousel-item-masvendidos div.informacionCartilla div.ultimoParrafo p.montoCuotas {
  color: #344488;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-weight: 700;
  font-size: xx-large;
  margin-top: 0px;
  padding-top: 0px;
  top: 0;
}

.carousel-item-masvendidos div.informacionCartilla div.cadenaDescripcion {
  height: 75px;
  width: 270px;
  padding-right: 5%;
}

.carousel-item-masvendidos div.informacionCartilla p {
  text-align: center;
  color: black;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: small;
}

.carousel-item-masvendidos div.informacionCartilla {
  position: absolute;
  padding-bottom: 0;
  height: 110px;
  height: 210px;
}

@media (min-width: 769px) {
  .carousel-masvendidos {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
}

@media (max-width: 767px) {
  .marcas-titulo {
    font-size: 1.4em;
    margin: 20px 0 15px;
  }
}

@media (max-width: 480px) {
  .marcas-titulo {
    font-size: 1.2em;
    margin: 15px 0 10px;
  }
}

@media (min-width: 1200px) {
  .marcas-titulo {
    font-size: 2.8em;
  }
}

/* =============================================
   CARRUSEL DE MARCAS PREMIUM
   ============================================= */
.carousel-marcas-wrapper {
  position: relative;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}

.carousel-marcas {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 20px;
  padding: 20px 10px;

  /* Ocultar barra de scroll */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-marcas::-webkit-scrollbar {
  display: none;
}

/* Items individuales */
.carousel-marcas-item {
  flex: 0 0 calc(20% - 16px);
  min-width: 150px;
  scroll-snap-align: center;
  text-align: center;
}

@media (max-width: 1199px) {
  .carousel-marcas-item {
    flex: 0 0 calc(25% - 15px);
  }
}

@media (max-width: 991px) {
  .carousel-marcas-item {
    flex: 0 0 calc(33.33% - 14px);
  }
}

@media (max-width: 767px) {
  .carousel-marcas-wrapper {
    padding: 0;
    width: 100%;
  }

  .carousel-marcas {
    gap: 15px;
    padding: 15px 5px;
  }

  .carousel-marcas-item {
    flex: 0 0 calc(45% - 8px);
    min-width: 120px;
  }
}

/* Tarjeta Premium */
.marca-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 20px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.marca-card:hover {
  box-shadow: 0 8px 24px rgba(52, 68, 136, 0.15);
  transform: translateY(-4px);
  border-color: rgba(52, 68, 136, 0.1);
}

/* Imagen en su color original por defecto */
.marca-img {
  width: 100%;
  height: auto;
  max-height: 55px;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fallback de texto para marcas sin logo */
.marca-nombre {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'Poppins', 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #344488;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.marca-card:hover .marca-nombre {
  color: #9F47FC;
}

/* Efecto de elevación e iluminación sutil al hacer hover en PC */
@media (hover: hover) {
  .marca-card:hover .marca-img {
    filter: brightness(1.08);
    transform: scale(1.05);
  }
}

/* Botones de navegación */
.marca-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #344488;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.marca-nav-btn:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 16px rgba(52, 68, 136, 0.2);
}

.prev-marca {
  left: 5px;
}

.next-marca {
  right: 5px;
}

@media (max-width: 767px) {
  .marca-nav-btn {
    display: none;
  }
}

/*=============================================
ESCRITORIO GRANDE (LG revisamos en 1366px en adelante)
=============================================*/
@media (min-width:1200px) {

  .carousel-container-ofertas h1,
  .carousel-container-masvendidos h1 {
    font-size: 3.5em;
  }
}

@media (max-width:991px) and (min-width:768px) {
  /* .circle {
    background-color: blue
  } */
}

@media (max-width:767px) {
  /* Purged old circle override */
}

@media (max-width:412px) {
  .carousel-container {
    width: 100%;
  }

  .carousel-container-ofertas h1,
  .carousel-container-masvendidos h1 {
    font-size: 1.8em;
  }

  .carousel-container-ofertas,
  .carousel-container-masvendidos {
    max-width: 100%;
  }

  .carousel-item-ofertas {
    flex: 0 0 0;
    text-align: center;
    padding-left: 5px;
    padding-right: 20px;
    box-sizing: border-box;
  }


  .carousel-item-ofertas figure.figureGrid0 img.imgEnvioGratis {
    left: 14%;
    width: 15%;
  }

  .carousel-item-ofertas figure.figureGrid0 img.imgCuota {
    right: 1%;
    width: 14%;
  }







}

/* ====================================
   SECCIÓN TARJETAS (NO CARRUSEL)
   ==================================== */

.container-tarjetas {
  width: 100%;
  padding: 20px 0;
  overflow: hidden;
}

.grid-tarjetas {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tarjeta-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 550px;
  height: 167px;
  position: relative;
  display: flex;
}

.tarjeta-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.figureTarjetas {
  margin: 0;
  width: 100%;
  height: 200px !important;
  overflow: hidden;
}

.figureTarjetas img {
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: cover;
}

.texto-tarjetas {
  padding: 10px 15px !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.texto-tarjetas p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3;
}

.texto-tarjetas .titulo1 {
  line-height: 1.1 !important;
  margin-bottom: 8px !important;
  font-weight: bold;
  text-transform: uppercase;
}

.texto-tarjetas .linea1,
.texto-tarjetas .linea2 {
  line-height: 1.2 !important;
  font-weight: 300;
}

.texto-tarjetas .ver-mas {
  margin-top: 10px !important;
  display: inline-block;
}

/* ============================================================================== */
/* BREAKPOINT MD: 3 Columnas de Productos + 1 de Filtro (Tablet Horiz/PC min)     */
/* ============================================================================== */
@media (max-width: 1199px) and (min-width: 992px) {

  .carousel-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

  }

  .carousel {
    margin: 0 !important;
    padding: 0 !important;
  }

  .carousel-container-ofertas,
  .carousel-container-masvendidos {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .carousel-item-ofertas,
  .carousel-item-masvendidos {
    padding: 0 30px;
  }

  .carousel-cartilla-ofertas,
  .carousel-cartilla-masvendidos {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.20) !important;
    border: 1px solid #D0D0D0 !important;
    border-radius: 10px !important;
  }

}

@media (max-width: 767px) {
  .grid-tarjetas {
    flex-direction: column;
    align-items: center;
  }

  .tarjeta-item {
    width: 95% !important;
  }



  .carousel-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

  }

  .carousel {
    margin: 0 !important;
    padding: 0 !important;
  }

  .carousel-container-ofertas,
  .carousel-container-masvendidos {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .carousel-item-ofertas,
  .carousel-item-masvendidos {
    padding: 0 30px;
  }

  .carousel-cartilla-ofertas,
  .carousel-cartilla-masvendidos {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.20) !important;
    border: 1px solid #D0D0D0 !important;
    border-radius: 10px !important;
  }

  .carousel-item-masvendidos {
    flex: 0 0 95% !important;
    padding: 0 5px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   SECCIÓN VISTOS RECIENTEMENTE (clonada e independizada de Ofertas)
   ========================================================================== */
.carousel-container-vistos {
  position: relative;
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
  overflow: hidden;
  padding: 0;
  display: block;
}

.carousel-vistos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: 10px 0;
  width: 100%;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-vistos::-webkit-scrollbar {
  display: none;
}

.carousel-item-vistos {
  flex: 0 0 calc(25% - 10px);
  min-width: 0;
  text-align: center;
  padding: 0 5px;
  box-sizing: border-box;
  scroll-snap-align: start;
}

.carousel-item-vistos:first-child {
  margin-left: 42px;
}

.carousel-item-vistos:last-child {
  margin-right: 50px;
}

.carousel-cartilla-vistos {
  width: 100%;
  max-width: 350px;
  height: 485px;
  border-radius: 4px;
  background-color: white;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  margin: 0 auto;
}

.carousel-cartilla-vistos:hover {
  border: 1px solid #c5c5c5;
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}

.carousel-button-vistos {
  background-color: white;
  border-radius: 50%;
  font-weight: normal;
  font-size: 2em;
  color: #344488;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  border: 1px solid #c5c5c5;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

.carousel-button-vistos:hover {
  border: 1px solid #344488;
  color: #344488;
  box-shadow: 0px 0px 7px 1px #344488;
}

.carousel-button-vistos.prev-vistos {
  left: 4px;
}

.carousel-button-vistos.next-vistos {
  right: 5px;
}

.carousel-item-vistos figure.figureGrid0 {
  width: 100%;
  height: 272px;
  border-radius: 3px 3px 0 0;
  position: relative;
  margin: 0;
  overflow: hidden;
  padding: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item-vistos figure.figureGrid0 img {
  width: 100%;
}

.carousel-item-vistos figure.figureGrid0 img.imgEnvioGratis {
  position: absolute;
  top: 1.5%;
  left: 4%;
  width: 4%;
  z-index: 999;
  background-color: transparent;
}

.carousel-item-vistos figure.figureGrid0 img.imgCuota {
  position: absolute;
  top: 48%;
  right: 4.5%;
  width: 4%;
  background-color: transparent;
}

.carousel-item-vistos div.informacionCartilla {
  position: relative;
  width: 100%;
  height: auto;
  padding: 10px;
  box-sizing: border-box;
  flex: 1;
}

.carousel-item-vistos div.informacionCartilla div.cadenaDescripcion {
  height: 75px;
  width: 100%;
  padding-right: 5%;
}

.carousel-item-vistos div.informacionCartilla div.cadenaDescripcion h4 a {
  color: black;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  font-weight: light;
}

.carousel-item-vistos div.informacionCartilla p {
  text-align: center;
  color: black;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: small;
}

.carousel-item-vistos div.informacionCartilla p.destacados-php {
  color: #a3a3a3;
}

.carousel-item-vistos div.informacionCartilla div.ultimoParrafo p.cadenaCuotas {
  color: #344488;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-weight: 400;
  font-size: x-large;
  margin-top: 6px;
  margin-bottom: 0px;
  padding-bottom: 0px;
  line-height: 50%;
}

.carousel-item-vistos div.informacionCartilla div.ultimoParrafo p.montoCuotas {
  color: #344488;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-weight: 700;
  font-size: xx-large;
  margin-top: 0px;
  padding-top: 0px;
}

.carousel-item-vistos div.informacionCartilla div.cadenaPrecioAlFinal {
  position: absolute;
  bottom: 2%;
  left: 0%;
  right: 3%;
  margin: auto;
  text-align: center;
  height: 12%;
}

.carousel-item-vistos div.informacionCartilla div.cadenaPrecioAlFinal span strong {
  vertical-align: middle;
  color: black;
  margin-left: 7px;
  font-family: 'Poppins', sans-serif;
}

/* Responsive Vistos */
@media (min-width: 1200px) {
  .carousel-item-vistos {
    flex: 0 0 calc(25% - 10px);
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .carousel-container-vistos {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .carousel-item-vistos {
    flex: 0 0 calc(33.33% - 10px);
    padding: 0 25px;
  }

  .carousel-cartilla-vistos {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.20) !important;
    border: 1px solid #D0D0D0 !important;
    border-radius: 10px !important;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .carousel-item-vistos {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 767px) {
  .carousel-container-vistos {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .carousel-vistos {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .carousel-item-vistos {
    flex: 0 0 95% !important;
    padding: 0 5px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .carousel-item-vistos:first-child {
    margin-left: 0;
  }

  .carousel-item-vistos:last-child {
    margin-right: 0;
  }

  .carousel-button-vistos {
    display: none !important;
  }
}

/* En desktop las flechas controlan el scroll via animateScroll (JS).
   Desactivamos snap y scroll-behavior para evitar brinquito al finalizar. */
@media (min-width: 769px) {
  .carousel-vistos {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
}

/* Flechas de Los Más Vendidos: ocultas en navegación táctil (dedo) */
@media (hover: none) and (pointer: coarse) {
  .carousel-button-masvendidos {
    display: none !important;
  }
}

/* ============================================================
   IMÁGENES DE CARTILLAS DESTACADAS (ESTILO CATÁLOGO REVENDEDORES)
   Centradas y adaptadas al cuadro sin recortar (object-fit: contain)
   ============================================================ */
.carousel-item-ofertas figure.figureGrid0,
.carousel-item-masvendidos figure.figureGrid0,
.carousel-item-vistos figure.figureGrid0 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
}

.carousel-item-ofertas figure.figureGrid0>a,
.carousel-item-masvendidos figure.figureGrid0>a,
.carousel-item-vistos figure.figureGrid0>a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.carousel-item-ofertas figure.figureGrid0>a>img.img-responsive,
.carousel-item-masvendidos figure.figureGrid0>a>img.img-responsive,
.carousel-item-vistos figure.figureGrid0>a>img.img-responsive {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

/* ============================================================
   CARRUSELES DESTACADOS: CARTILLAS UNIFICADAS
   270 x 500 px / separación 24 px / 4-3-2-1 columnas
   ============================================================ */
.carousel-ofertas,
.carousel-masvendidos,
.carousel-vistos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 77.3333px;
  padding: 10px 0;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-ofertas::-webkit-scrollbar,
.carousel-masvendidos::-webkit-scrollbar,
.carousel-vistos::-webkit-scrollbar {
  display: none;
}

.carousel-item-ofertas,
.carousel-item-masvendidos,
.carousel-item-vistos {
  flex: 0 0 calc(25% - 58px);
  min-width: 0;
  margin: 0 !important;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
  scroll-snap-align: start;
}

.carousel-cartilla-ofertas,
.carousel-cartilla-masvendidos,
.carousel-cartilla-vistos {
  width: 100%;
  max-width: none;
  height: 500px;
  margin: 0 auto;
  border-radius: 4px;
  background-color: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.carousel-item-ofertas figure.figureGrid0,
.carousel-item-masvendidos figure.figureGrid0,
.carousel-item-vistos figure.figureGrid0 {
  width: 100%;
  height: 272px;
  min-height: 0;
  flex: 0 1 272px;
  margin: 0;
  padding: 12px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-item-ofertas div.informacionCartilla,
.carousel-item-masvendidos div.informacionCartilla,
.carousel-item-vistos div.informacionCartilla {
  position: relative;
  bottom: auto;
  left: auto;
  width: 100%;
  height: auto;
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
}

.carousel-item-ofertas div.informacionCartilla div.cadenaDescripcion,
.carousel-item-masvendidos div.informacionCartilla div.cadenaDescripcion,
.carousel-item-vistos div.informacionCartilla div.cadenaDescripcion {
  height: 75px;
  width: 100%;
  padding: 0 5%;
  box-sizing: border-box;
  flex-shrink: 0;
}

@media (max-width: 1199px) and (min-width: 992px) {
  .carousel-item-ofertas,
  .carousel-item-masvendidos,
  .carousel-item-vistos {
    flex: 0 0 calc(33.333% - 51.5556px);
    padding: 0 !important;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .carousel-item-ofertas,
  .carousel-item-masvendidos,
  .carousel-item-vistos {
    flex: 0 0 calc(50% - 38.6667px);
    padding: 0 !important;
  }
}

@media (max-width: 767px) {
  .carousel-ofertas,
  .carousel-masvendidos,
  .carousel-vistos {
    gap: 15px;
    padding: 0;
  }

  .carousel-item-ofertas,
  .carousel-item-masvendidos,
  .carousel-item-vistos {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
  }

  .carousel-cartilla-ofertas,
  .carousel-cartilla-masvendidos,
  .carousel-cartilla-vistos {
    width: 100%;
    max-width: 320px;
    height: 500px;
    margin: 0 auto;
  }

  .carousel-item-ofertas figure.figureGrid0,
  .carousel-item-masvendidos figure.figureGrid0,
  .carousel-item-vistos figure.figureGrid0 {
    height: 220px;
    flex-basis: 220px;
  }
}