/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.custom-container-450 {
    width: 450px; /* Tamaño máximo igual al ancho de tus imágenes más grandes */
    margin: 0 auto; /* Centrar horizontalmente */
    padding: 0 15px; /* Padding lateral en pantallas pequeñas */
    -webkit-box-sizing: border-box;
            box-sizing: border-box; /* Incluye padding dentro del ancho */
    color: #fff;
    @media screen and (max-width: 450px){
        width: 100%;
    }
}

.custom-container-600 {
    /* max-width: 600px; Tamaño máximo igual al ancho de tus imágenes más grandes */
    margin: 0 auto; /* Centrar horizontalmente */
    width: 100%; /* Responsivo: se ajusta al ancho del contenedor padre */
    padding: 0 15px; /* Padding lateral en pantallas pequeñas */
    -webkit-box-sizing: border-box;
            box-sizing: border-box; /* Incluye padding dentro del ancho */
    color: #fff;
}

.thumbnails-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
}

.thumbnail {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  aspect-ratio: 1 / 1; /* cuadrado moderno */
  width: 150px; /* o el tamaño que quieras */
}

/* Imagen dentro */
.thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* 🔁 Fallback para navegadores antiguos sin aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
  .thumbnail::before {
    content: "";
    display: block;
    padding-top: 100%; /* mantiene 1:1 */
  }

  .thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}


.thumbnail-active{
    opacity: 1;
}

.thumbnail-not_active{
    opacity: .3 !important;
}

.thumbnail:hover {
    opacity: 1;
}


.blockPreview{
    border: 2px solid white;
}

.custom-accordion ul{
    margin-left: 22px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; 
    -webkit-box-orient: vertical; 
    -webkit-box-direction: normal; 
        -ms-flex-direction: column; 
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.custom-accordion li{
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.custom-accordion{
    width: 100%;
}

.custom-accordion p{
    text-align: center;
} 

.arrow_slider_left{
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}
.arrow_slider_right{
    -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
            transform: translateX(50%);
}