/* ==============================
   CONTENEDOR PRINCIPAL
================================ */

#dos h2{
  text-align: center;
  color: black;
  font-weight: 900;
  font-size: 2.5rem;
  text-shadow: 1px 1px 0px rgba(255,255,255,0.3);
  letter-spacing: 1px;
}
.imagena:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  -webkit-transform: translateY(-6px);
  -moz-transform: translateY(-6px);
  -ms-transform: translateY(-6px);
  -o-transform: translateY(-6px);
}
.imagenmov:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
/* ==============================
   FILAS / GRID
================================ */
.fila {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  width: auto;
  height: auto;
  padding: 0 20px;
  align-self: flex-start;
  position: relative;
  max-height: fit-content;
  margin-left: 5%;
  
  justify-items: center;
  align-items: center;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}
#imagenbebedero {
  max-width: fit-content;
  min-width: fit-content;
  padding: 0 20px;
}



.imagenmov{
  display: none;
}
/* Contenedor interno horizontal */
#imagenbebedero #bbe,
#imagentubiplax #tr,#imagentubiplax #bbe {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
}

/* Ajuste imágenes múltiples */
#imagenbebedero img
{
  max-height: 180px;
  width: auto;
    max-width: 200px;

}
#imagentubiplax  {
 
 min-width: fit-content;
}
#imagentubiplax img {
  max-height: 180px;
  width: auto;
  max-width: 200px;
}
/* ==============================
   TARJETAS
================================ */
.imagena {
  width: auto;
  min-width: 20vw;
  max-width: fit-content;
  height: 260px;
  margin-bottom: 10px;
  margin-top: 10px;
  position: relative;
  cursor: pointer;
  text-align: center;
  margin-bottom: 2%;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border: 1.5px solid #e0d0a0;
  transition:  0.4s ;
  filter: drop-shadow(1px 1px 1px #000d33);
  overflow: hidden;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
#imagencomedero img {
  max-height: 300px;
  width: auto;
 
}
#imagenprotector {
max-width: fit-content;
min-width: fit-content;
padding: 0 20px;
}
/* ==============================
   ANIMACIÓN DETAILS
================================ */
.imagena:has(details[open]) {
  animation: sweep 0.25s ease-in-out;
  -webkit-animation: sweep 0.25s ease-in-out;
  height: auto;
}

.imagenmov:has(details[open]) {
  animation: sweep 0.25s ease-in-out;
  -webkit-animation: sweep 0.25s ease-in-out;
  height: auto;
}

@keyframes sweep {
  0% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}

/* ==============================
   IMÁGENES
================================ */
.imagena img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 200px;
  object-fit: contain;
  padding: 10px;
  
  filter: drop-shadow(1px 1px #000d33);
  -webkit-filter: drop-shadow(1px 1px #000d33);
}
#imagencomedero{
 
   max-width: 100px;
}
/* ==============================
   TEXTO
================================ */
.imagena summary {
  font-size: 2rem;
  font-weight: 900;
  margin-top: 0px;
  cursor: pointer;
}

.imagena ul {
  padding: 0;
  margin: 10px 0;
  list-style: none;
}

/* ==============================
   BOTÓN
================================ */
details .button {
  margin: 15px auto;
  display: block;
}

a {
  text-decoration: none;
}

/* ==============================
   MOBILE
================================ */
@media screen and (max-width: 750px) {

  .fila {
  
    left: 0%;
    margin-left: 10%;
    flex-direction: column;
  }
#dos h2{
  margin: 10px;
  margin-left: 20px;
  font-size: xx-large;
  font-weight: 900;
  width: 100%;
}
  .imagena {
    max-width: 70vw;
    width: auto;
    min-width: 70vw;
    max-height: fit-content;
     margin-right: 10%;
   
  }
 
  details{
    font-size: 20px;
  }
  summary{
  font-size: xx-large;
  font-weight: 900 ;
  
 
}
 

#imagencomedero{
  
   max-width: 70vw;
}
 #imagencomedero img{
    object-fit: contain;
    padding: 20px;
    margin-left: -20px;
   
  }
#imagenbebedero{
  
  display: none;
}
#imagentubiplax{
  display: none;
}
.imagenmov{
  margin-right: 10%;
  display: block;
  width: auto;
    max-width: 70vw;
    width: auto;
    min-width: 70vw;
    max-height: fit-content;
  height: 260px;
  margin-bottom: 10px;
  margin-top: 10px;
  position: relative;
  cursor: pointer;
  text-align: center;
  
 background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
  transition: 0.4s ease;
  filter: drop-shadow(1px 1px 1px #000d33);
  overflow: hidden;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.imagenmov img {
 width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 200px;
  object-fit: contain;
  padding: 10px;
  
  filter: drop-shadow(1px 1px #000d33);
  -webkit-filter: drop-shadow(1px 1px #000d33);
}
  .imagena img {
    max-width: 80vw;
      max-height: 150px;

  }

 

  .imagena:hover ul {
    display: block;
  }
  #imagenprotector summary{
   transform: translateY(-50px);
   -webkit-transform: translateY(-50px);
   -moz-transform: translateY(-50px);
   -ms-transform: translateY(-50px);
   -o-transform: translateY(-50px);
}
 #imagenprotector:has(details[open]) summary{
   transform: translateY(0px);
   -webkit-transform: translateY(0px);
   -moz-transform: translateY(0px);
   -ms-transform: translateY(0px);
   -o-transform: translateY(0px);
}

}
