@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&family=Open+Sans&display=swap');
@keyframes fadeIn {
  from {
    opacity: 0; 
    transform: translateY(5px); 
  }
  to {
    opacity: 1;
    transform: translateY(0); 
  }
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;  
}

html{
  scroll-behavior: smooth;
}

body {
  animation: fadeIn 0.4s ease-in-out;
  background-color: #1A2B4C;
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1A2B4C;
  color: white;
  padding: 12px 40px;
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo{
  display: flex;
  align-items: center;
}
.logo-text{
  font-family: 'Montserrat', sans-serif;
  font-size: 1.7rem;
  margin: 0;
}
.foto-logo{
  height: 40px;
  width: auto;
  margin-left: 10px;
  margin-right: 10px;
}
nav {
  position: absolute; 
  left: 50%; 
  transform: translateX(-50%);   
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #00bbff;
  text-shadow:0 0 10px #00bbff;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem; 
    top: 17px;
    right: 30px;
    cursor: pointer;
    position: absolute;
    z-index: 2;
}

section {
  padding: 60px 20px;
  margin: auto;
}

#inicio{
  scroll-margin-top: 55px;
}

.hero {
  height: 42rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  width: 100%;
  gap: 150px;
  position: relative;
  overflow: hidden;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 45px;
  font-weight: 700;
  padding-bottom: 35px;
  margin-bottom: 35px;
  box-sizing: border-box;
  width: 600px;
}

.hero p {
  font-size: 1rem;
  padding-bottom: 40px;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Al fondo */
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover; /* Para que la foto cubra todo sin deformarse */
  background-position: center;
  opacity: 0; /* Invisibles por defecto */
  transition: opacity 1.5s ease-in-out; /* Efecto suave de 1.5s */
}
.hero-slide.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; 
  background-color: rgba(0, 50, 100, 0.5); 
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem; 
  margin-bottom: 20px;
  text-align: center;
}

footer {
  background-color: #1A2B4C;
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.8rem;
}

#empresa{
  height: 40rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0px 0px 12px 0px rgb(0, 0, 0, 0.2);
  color: #000000;
  background-color: #ecf5ff;
  text-align: center;
  padding: 80px 20px;
  width: 100%;
  scroll-margin-top: 55px;
}


.empresa-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px; /* Espacio generoso entre las dos columnas */
  align-items: flex-start; /* Alinea todo arriba */
}

/* --- COLUMNA IZQUIERDA (HISTORIA) --- */
.columna-info {
  flex: 1; /* Ocupa el 50% aprox */
}

.titulo-seccion {
  font-size: 2.5rem;
  color: #002b5c; /* Azul oscuro corporativo */
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

/* Pequeña línea decorativa debajo del título */
.titulo-seccion::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #5985e1; /* Azul más claro (como tu logo) */
  margin-top: 10px;
  border-radius: 2px;
}

.texto-historia p {
  margin-bottom: 20px;
  line-height: 1.8; /* Hace que el texto sea muy fácil de leer */
  font-size: 1.05rem;
  color: #555;
  text-align: justify; /* Opcional: para que quede cuadradito */
}

/* --- COLUMNA DERECHA (BENEFICIOS TIPO LISTA) --- */
.columna-features {
  flex: 1; /* Ocupa el otro 50% */
  background-color: #ffffff; /* Fondo blanco para resaltar */
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Sombra suave y elegante */
}

.titulo-features {
  font-size: 1.8rem;
  color: #002b5c;
  margin-bottom: 30px;
}

.lista-beneficios {
  list-style: none; /* Quitamos los puntos feos por defecto */
  padding: 0;
  margin: 0;
}

.lista-beneficios li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px; /* Espacio entre items */
}

/* EL ÍCONO (Círculo) */
.lista-beneficios .icono {
  background-color: #eaf2ff; /* Fondo celeste muy clarito */
  color: #0056b3; /* Ícono azul fuerte */
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* Lo hace redondo */
  font-size: 1.5rem;
  flex-shrink: 0; /* Evita que el círculo se aplaste si hay mucho texto */
}

/* EL TEXTO DEL BENEFICIO */
.contenido-li {
  display: flex;
  flex-direction: column;
}

.contenido-li strong {
  font-size: 1.1rem;
  color: #002b5c;
  margin-bottom: 5px;
}

.contenido-li span {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}


#productos{
  height: 45rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  padding-top: 20px;
  color: #000000;
}

#productos h2{
  color: #000000;
  margin-bottom: 13px;
  text-align: center;
  font-size: 2.5rem;
  letter-spacing: 1.5px;
}

.slide-container{  
  min-height: 35vh;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 70px;
}
.slider-window {
    width: 90%;             /* O el ancho que prefieras */
    max-width: 1000px;      /* Un límite para que no se vea eterno en PC */
    overflow: hidden;       /* CRÍTICO: Oculta las cards que están fuera */
    margin-bottom: 50px;
    position: relative;
}
.slider-track {
    display: flex;
    gap: 20px;              /* Espacio entre tarjetas */
    width: max-content;     /* El ancho es la suma de todas las cards */
    transition: transform 0.5s ease-in-out; /* Suaviza el movimiento */
}
.sin-transicion {
    transition: none !important; /* Apaga la suavidad para el teletransporte */
}


.image-content,.card-content{
 display: flex;
 flex-direction: column;
 align-items: center;
 padding: 10px 14px;
}

.image-content{
  row-gap: 10px;
}
#productos .card {
    /* IMPORTANTE: flex-shrink 0 evita que se aplasten */
    flex-shrink: 0;
    flex: 0 0 250px;        
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 350px;
    background-color: #FFFFFF;
}
.card{
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 300px;
  width: 250px;
  border-radius: 5px;
  background-color: #FFFFFF;
}
.card a{
  text-decoration: none;
  color: #000000;
  display: block;
  width: fit-content;
  margin-bottom:  10px;
}
.card a:hover{
  color: #b3dcf4; 
  font-size: 1.05rem;
  font-weight: bold;
}

.card-image{
  position: relative;
  height: 200px;
  width: 100;
  border-radius: 3.5px;
  padding: 3px;
}

.card-image .card-img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 3.5px;
}

.description{
  font-size: 14px;
  font-family: 'open sans', sans-serif;
  color: #707070;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.name{
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  color: #000000;
  text-shadow: #000000 0px 0px 0px 2px;
}

.card-content .btn-more{
  color: #000000;
  background-color: #ffffff;
  border: 1.7px solid #000000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-more {
  font-size: 17px;
  letter-spacing: 1px;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  padding: 0.4em 0.9em;
  border: 1.7px solid #ffffff;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.16), 0 3px 6px rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s ease all;
  z-index: 1;
  margin-bottom: 10px;
}   
.btn-more:before {
  transition: 0.5s all ease;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  opacity: 0;
  content: '';
  background-color: #63cef5;
  z-index: -1;
}
.btn-more:hover, btn:focus {
  color: rgb(255, 255, 255);
  cursor: pointer;
  border:3px solid #63cef5;
}
.btn-more:hover:before, btn:focus:before {
  transition: 0.5s all ease;
  left: 0;
  right: 0;
  opacity: 1;
}
.btn-more:active {
  transform: scale(0.9);
}

#productos .btn-more{
  font-size: 17px;
  color: #000000;
  background-color: #ffffff;
  border: 1.7px solid #000000;
}


#servicios{
  height: 40rem;
  width: 100%;
  padding: 60px 20px;
  margin: auto;
  text-align: center;
  color: #002b5c;
  background-color: #ecf5ff;
  box-shadow: inset 0px 0px 12px 0px rgb(0, 0, 0, 0.2);
  scroll-margin-top: 55px;
}

.servicios{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color:#002b5c;
  gap: 30px;
}

#servicios h2{
  font-size: 2.5rem;
  margin-bottom: 13px;
}

.subtext{
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2rem;
  color:  #000000;
  margin-bottom: 50px;
}

.box {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 25px;
  max-width: 600px;
  margin: 20px ; 
  transition: transform 0.3s ease, box-shadow 0.5s ease;
}
.box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); 
  cursor: pointer;
}

.box:hover .asesoramiento a {
  color: #5985e1;
}
.box:hover .fabricacion a {
  color: #5985e1;
}

.img-box{
  flex-shrink: 0; 
  width: 70px; 
  height: 70px; 
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(20px);
}

.box a{
 color: #002b5c; 
  font-size: 1.6em; 
  margin-top: 0; 
  margin-bottom: 10px; 
  line-height: 1.2; 
  transition: color 0.3s ease;
}
.box p{
 color: #002b5c; 
  font-size: 1em; 
  line-height: 1.5; 
  margin-bottom: 0;
}
.img-box img{
  max-width: 100%; 
  height: auto;
  display: block;
}
.fabricacion a{
  display: block;
  margin-bottom: 17px;
}

.contenido-servicio{
 flex-grow: 1;;
}
.contenido-servicio p{
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  padding: 5px;
}

#productos-section{
  background-color: #ffffff;
  color: #000000;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#productos-section h2{
  color: #000000;
  margin-bottom: 50px;
}
#productos-section .slide-container{
  width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4.2rem;
  justify-content: center;
  
}
#productos-section .card{
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 410px;
  width: 300px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  background-color: #FFFFFF;
  overflow: hidden;
  flex-direction: column;
}
#productos-section .card:hover {
  transform: scale(1.03);
  transition: transform 0.5s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
#productos-section .card-image{
  height: 200px;
  width: 100%;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 13px;
}
#productos-section .card-img{
  min-height: 100%;
  min-width: 100%;
  object-fit: contain;
}
#productos-section  .card-content{
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
#productos-section .name{
  font-size: 1.2rem;
  margin-bottom: 10px;
}
#productos-section .description{
  font-size: 0.95rem;
  flex-grow: 1;
}



#seccion-contacto-full {
  width: 100%;
    background-color: #27466c; 
    padding: 30px 20px;
    font-family: Arial, sans-serif;
    scroll-margin-top: 55px; 
}

.titulo-secion {
    text-align: center;
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
}

#seccion-contacto-full .subtext {
  color: #ffffff;
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 40px;  
}

.contenedor-principal {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 60% 1fr; 
    gap: 40px; 
    align-items: start; 
}


.columna-mapa {
   
    height: 550px; 
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    
}

.columna-info {
    display: flex;
    flex-direction: column; 
    gap: 20px; 
    height: 100%; 
    justify-content: center; 
}

.card-contacto {
    background: white;
    color: #000000;
    width: 100%; 
    box-sizing: border-box;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

 
.icono-personalizado {
    background-color: #5985e1; 
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}


.card-wide {
    width: 100%; 
    box-sizing: border-box; 
    margin-bottom: 20px;
}

.telefonos-grid {
    display: flex;
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
    text-align: center;
}


.btn-wsp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    transition: transform 0.3s;
}

.btn-wsp-flotante:hover {
    transform: scale(1.1); 
}



#prod-detail{
  background-color: #ffffff;
  color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  width: 100%;
}
.small-container{
  max-width: 1200px;
  margin-right: 100px;
  padding: 20px;
}
.modal-container{
  width: 100%;
  display: flex;
  gap: 100px;
  align-items:normal;
}

.big-img{
  width: 400px;
  position: relative; 
  display: inline-block; 
}

.btn-flecha {
    position: absolute; 
    top: 50%;           
    transform: translateY(-50%); 
    background-color: #00000000;
    color: rgb(0, 0, 0);
    border: none;
    font-size: 10px;
    padding: 7px 10px;
    cursor: pointer;
    transition: background 0.3s;
    user-select: none; 
    z-index: 10;
}


.btn-flecha:hover {
  background-color: rgba(133, 135, 137, 0.8);
}


.btn-prev { left: 10px; }  
.btn-next { right: 10px; } 





.small-img-row{
  display: flex; 
    gap: 10px; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    padding-bottom: 10px; 
    scrollbar-width: none; 
    -ms-overflow-style: none;  
}
.small-img-row::-webkit-scrollbar {
    display: none; 
}
.small-img-col{

    width: 80px; 
    height: 80px;
    object-fit: cover; 
    border-radius: 6px;
    cursor: pointer; 
    flex: 0 0 auto; 
    scroll-snap-align: start;
    border: 2px solid transparent; 
    transition: border-color 0.3s;
  }
  
.small-img{
  height: 70px;
  object-fit: cover;
}

.prod-detail{
  max-width: fit-content;
  margin-left: 50px;
  display: flex;
  flex-direction: column; 
  align-items: center;    
  text-align: center;
}
.prod-detail h3{
  margin-bottom: 20px;
  text-align: center;
}
.prod-detail p{
  color: #555;
  width: 400px;
  text-align: center;
  padding-bottom: 20px;
}

.prod-detail .btn-more{
  font-size: 15px;
  color: #00bbff;
  background-color: #ffffff;
  border: 1.7px solid #00bbff;
}
.prod-detail .btn-more:hover{
  font-size: 15px;
  color: #ffffff;
}

/* RESPONSIVE (Para celulares) */
/* HERO */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
    width: auto;
  }
  .hero {
    flex-direction: column;
    height: auto;
    padding: 40px 20px;
    gap: 30px;
  }
}
@media(max-width: 768px){
  
  #inicio{
    height: 45vh;
  }
  .hero-text h1{
    font-size: 1.8rem;
    padding-bottom: 0;
  }
  .hero-text a{
    font-size: smaller;
  }
}

/*----NAVBAR----*/
ul.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;  
}

  @media (max-width: 1050px) {
    .nav-main{
      left:0;
      top: 0;
    }
    .menu-toggle {
      display: block; 
      color: #ffffff;
    }
    
    .nav-main ul.nav-menu{
      background-color: #000000;
      display: block;
      height: 200vw;
      left: 0px;
      top: 0px;
      position: absolute !important;
      padding: 30px;
      opacity: 0.9;
      transform: translateX(-300px);
      transition: transform 0.3s ease-in-out;
      padding-top: 40px;
    }
    .nav-main ul.nav-menu.show{
      transform: translateX(-10px);
    }
    .nav-main ul.nav-menu li{
      margin: 20px 0;
      font-size: 20px;
    }





  }

  /*-----EMPRESA------*/
@media (max-width: 900px) {
  #empresa{
    height: auto;
    padding: 40px 20px;
  }

  .empresa-container {
      flex-direction: column; /* Pone uno abajo del otro */
      gap: 7px;
    }
  
    .columna-features {
      width: 100%; /* Que ocupe todo el ancho */
      box-sizing: border-box; /* Para que el padding no rompa el ancho */
    }

    .titulo-seccion{
      font-size: 2rem;
    }

    .columna-info{
      width: 100%; 
      box-sizing: border-box;
    }
    .texto-historia p {
      font-size: 1rem;
    }
  }


  /*----SERVICIOS----*/
@media (max-width: 768px) {
    #servicios{
      height: auto;
      padding: 40px 20px;
    }
    .box {
      flex-direction: column;
      text-align: center;
    }
    .img-box{
      transform: translateY(0); 
    }
  }

/*----PRODUCTOS----*/
@media (max-width: 768px) {
    #productos{
      height: auto;
      padding: 40px 20px;
    }
    .slide-container{ 
      min-height: auto; 
      gap: 1.5rem;
    }
    .slider-window {
      width: 100%; 
      max-width: none;
  }
  #productos h2{
    font-size: 2rem;
  }
  .subtext{
    font-size: 1rem;
    text-align: center;
  }

  .card{
    flex: 0 0 170px !important;
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    height: 260px !important;
    min-height: auto;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .card-image {
    height: 120px; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
  }
  .card .name {
    font-size: 0.9rem; 
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
  }
  .card .description {
    font-size: 0.75rem; 
    line-height: 1.2;
  }
  .slider-track {
    gap: 10px;  
  }
}


  /*----CONTACTO FULL----*/
@media (max-width: 900px) {
      .contenedor-principal {
          grid-template-columns: 1fr; 
          height: auto;
      }
      .columna-mapa {
          height: 300px; 
      }
  }
  

  
  /*----SECCION DE PRODUCTOS*/

@media (max-width: 768px) {
    #productos-section .slide-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 0 10px !important;
        overflow: visible !important;
        transform: none !important;
        justify-content: center !important;
    }

    #productos-section .card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    #productos-section .card-image {
        height: 100px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 5px !important;
    }
    
    #productos-section .card-img {
        height: 100% !important;
        width: auto !important;
        object-fit: contain !important;
    }

    #productos-section .name {
        font-size: 0.8rem !important;
        margin: 5px 0 !important;
        text-align: center !important;
        white-space: normal !important;
    }

    #productos-section .description {
        display: none !important;
    }

    #productos-section .btn-detalle, 
    #productos-section a {
        font-size: 0.75rem !important;
        padding: 5px !important;
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        margin-top: 5px !important;
        background-color: transparent !important;
        color: #000000 !important;
        border: 1px solid #e0e0e000 !important;
        border-radius: 5px !important;
    }
}
  
/*----PRODUCTOS DETAILS----
@media (max-width: 768px) {
  .btn-flecha { padding: 8px 12px; font-size: 18px; }
}*/

@media (max-width: 768px) {
    #prod-detail .modal-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #prod-detail .big-img {
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        margin: 0 auto 20px auto !important;
        overflow: hidden !important;
    }

    #prod-detail #ProductImg {
        width: 100% !important;
        height: auto !important;
        max-height: 350px !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        border-radius: 8px !important;
    }

    #prod-detail .prod-detail {
        width: 100%;
        padding: 0 10px;
        text-align: center;
    }

    #prod-detail h2 {
        font-size: 1.6rem;
    }

    #prod-detail h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    #prod-detail p {
        text-align: justify;
        font-size: 0.80rem;
        color: #333;
    }

    #prod-detail .btn-more {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        padding: 15px;
    }

    #prod-detail .small-img-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 10px !important;
        padding: 10px 5px !important;
        width: 100% !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    #prod-detail .small-img-row::-webkit-scrollbar {
        display: none;
    }

    #prod-detail .small-img-col {
        flex: 0 0 60px !important;
        height: 60px !important;
    }

    #prod-detail .small-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 4px !important;
    }

    #prod-detail .btn-flecha {
        font-size: 1.2rem !important;
        padding: 5px 10px !important;
        background-color: rgba(255, 255, 255, 0.7) !important;
    }
    
    #prod-detail,
    #prod-detail .small-container,
    #prod-detail .modal-container {
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
    }

    #prod-detail .prod-detail {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    #prod-detail .prod-detail > * {
         max-width: 100% !important;
    }

    #prod-detail .big-img {
        margin-left: auto !important;
        margin-right: auto !important;
    }

}

  