@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
h2{
    font-size: 16px ;
    color: black;
    text-align: center;
}
p{
  
  font-size: 14px;
  color: black;

}
 .carda {
    text-align: center;
    margin-bottom: 20px;

  }

  .img-container {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
    align-items: center;
  }

  .img-container img {
    transition: transform 0.5s ease;
  }

  .img-container:hover img {
    transform: scale(1.2);
  }
  .carda {
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.3s ease;
}

  .carda:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  .img-container img {
    max-width: 100%;
    transition: transform 0.2s ease;
  }

  .hidden-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease;
  }

  .carda:hover .hidden-content {
    opacity: 1;
    max-height: 500px; 
  }

 .button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  text-align: center;
  background-color: #F10000;
  color: white;
  text-decoration: none;
  border: none;
}

  .button:hover {
    background-color: #BE1704;
  }
  
  .description{
      font-size: 13px;
  } .carda:hover h2::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #E4E4E4; 
    margin-bottom: 10px;
  }
  .description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    max-height: 3em;
  }
  a{
    text-decoration: none !important;
    color: black;
  }

  .producto p{
    text-align: justify;
    font-size: 15px   ; 
  }

  .producto-detalle h1{
    font-weight: bold;
    padding-bottom: 20px;
    color: black;
  }

.imagen-zoom {
  width: 100%;
  max-width: 400px; 
  height: auto;
  overflow: hidden;
  position: relative;
  margin: auto;
}

.imagen-zoom img {
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
  transform-origin: center center;
  position: relative;
}
/* Carrusel */
 .swiper {
    width: 100%;
    padding-bottom: 50px;
  }

  .swiper-slide {
    text-align: center;
  }

  .producto-nombre {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
  }

  .producto-descripcion {
    font-size: 14px;
    margin-top: 5px;
  }
  .swiper-slide img {
    width: 200px;       
    height: auto;
    object-fit: contain; 
    display: block;
    margin: 0 auto;     
  }
  h3{
    font-weight: bold ;
    border-left: 5px solid #F10000;
    padding-left: 10px;

  }
  h4{
    font-size: 20px;
    font-weight: bold;
  }
  li{
    line-height: 2.0rem;
    font-size: 16px
  }
    h4::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ccc;
    margin: 10px auto 0 auto;
  }
  .wsp{
    background-color: #25D366;
    color: white;
    border:none;
    padding: 8px 8px ;
    width: 30%;
  }

  /* PORTADA */
  .contenedor {
    position: relative;
    width: 100%;
      height: 100vh; /* Añade esto para que todo lo absoluto tenga un área base */

  }
 .portada {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  opacity: 0;
  animation: subirPortada 1s ease-out forwards;
  animation-delay: 0.3s; 
}
.superpuesta {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 35%;
  z-index: 1;
  opacity: 0;
  top: 100%; /* Posición inicial (fuera de pantalla por abajo) */
  animation: subirDesdeAbajo 0.8s ease-out forwards;
  animation-delay: 0.5s;
}
  .titulo-negro {
    color: black;
    font-weight: 600;   
    display: inline-block;
    padding-bottom: 15px;
  }

  .subtitulo-rojo {
      color: red;
      font-weight: 600;   
      display: inline-block;
      padding-bottom: 15px;
  }

  .lista-iconos {
  list-style: none;  
  padding-left: 0;  
  margin: 0;
  }

  .lista-iconos li {
  font-size: 22px;
  margin-top: 8px;
  font-weight: 600;   
  display: flex;
  align-items: center;
  }

  .lista-iconos i {
  margin-right: 8px;
  font-size: 2.5rem;
  color: red;
  padding-right: 10px;
  }
  
  .texto-encima {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 30px;
    padding: 10px;
    max-width: 40%;
    z-index: 999;
    opacity: 0;
    animation: aparecer 0.7s ease-in-out forwards;
    animation-delay: 1s;
  }
  .boton-centro {
  display: block;
  margin: 20px auto 0 auto;
  padding: 10px 25px;
  font-size: 18px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  }

  .boton-centro:hover {
    background-color: darkred;
  }

  ul {
    font-size: 23px;
    margin-top: 10px;
  }

  /* ENTREGA */
.card-entrega {
  width: 100%;
  max-width: 300px;
  border: 1px solid #ddd;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-color: #fff;
  margin: 20px auto;
  transition: transform 0.3s;
}

.card-entrega:hover {
  transform: translateY(-5px);
}

.card-entrega img {
  width: 100%;
  height: auto;
  display: block;
}
.card-body{
  color: black !important;
}
.info-entrega {
  padding: 16px;
  font-family: 'Barlow', sans-serif;
  color: black;
}

.info-entrega p {
  margin: 8px 0;
  text-align: left;
  font-size: 16px;
  color: #333;
}

.info-entrega h6 {
  display: inline;
  margin-right: 5px;
  color: #BE1704;
  font-weight: bold;
  font-size: 16px;
}
/* Entrega producto perfil */
.imagen-principal img {
  width: 100%;
  object-fit: cover;
  max-height: 450px;
}

.imagenes-secundarias img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.imagenes-secundarias img:hover {
  transform: scale(1.03);
}
/*   */
.nosotros-box {
  background-color: #fff;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.nosotros-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.icono-nosotros {
  font-size: 38px;
  color: #FF1717;
  margin-bottom: 15px;
}

.titulo-nosotros {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: black;

}

.nosotros-text {
  font-size: 14px;
  line-height: 1.6;
  animation: nosotros-text 1.5s ease-out both;

}
.anuncio-superpuesto {
  position: absolute;
  left: 70%;
  transform: translateX(-20%);
  max-width: 15%;
  z-index: 2;
  opacity: 0;
  animation: aparecerAbajo 0.8s ease-out forwards;
  animation-delay: 1.2s;
}

.boton-anuncio{
  position: absolute;
  left: 70%;
  transform: translateX(-20%);
  z-index: 2;
  opacity: 0;
  border: none;
  background-color: #F10000;
  color: white;
  border-radius: 10px;
  width: 15%;
  padding: 10px;
  animation: aparecerBoton 0.8s ease-out forwards;
  animation-delay: 1.2s;
}
.boton-anuncio:hover{
  background-color: white;
  color: #F10000;
}
@keyframes aparecerAbajo {
  from {
    opacity: 0;
    top: 100%;
  }
  to {
    opacity: 1;
    top: 60%; 
  }
}
@keyframes aparecerBoton {
  from {
    opacity: 0;
    top: 100%;
  }
  to {
    opacity: 1;
    top: 80%; 
  }
}
@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateX(-50px); 
  }
  to {
    opacity: 1;
    transform: translateX(0); 
  }
}


@keyframes subirDesdeAbajo {
  from {
    opacity: 0;
    top: 100%; 
  }
  to {
    opacity: 1;
    top: 10%; 
  }
}

@keyframes subirPortada {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes nosotros-text {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.foto-text {
  animation: subirPortada 1.5s ease-out both;
}
@media (max-width: 768px) {
  .mobile-hide {
    display: none !important;
  }
  .subtitulo-rojo{
    text-align: center;
  }
  .lista-iconos li{
    font-size: 14px;
  }
  
}@media (max-width: 768px) {
  .texto-encima {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    text-align: center;
    font-size: 20px;
    max-width: 100%;
    background-color: transparent;
    z-index: auto;
  }

  .lista-iconos {
    display: grid;
    list-style: none;
    text-align: left;
  }

  .lista-iconos li {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
  }

  .lista-iconos li i {
    color: #BE1704;
    margin-right: 8px;
  }


  
}
