
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ff9c33;
  text-align: center;
}



header {
  padding: 20px;
}

.top-bar {
  background-color: #ffd8ae;
  border-radius: 10px;
  padding: 8px;
  top: 10px;
  margin: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* título a la izquierda, menú a la derecha */
}

.top-bar1 {
  background-color: #ffd8ae;
  border-radius: 10px;
  padding: 8px;
  top: 10px;
  margin: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* título a la izquierda, menú a la derecha */
}

.titulo-1 {
  margin: 0;
}

.titulo p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.hero{
  border-radius: 50%
}

.hero-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  
  /* CLAVE: Que no se pase del alto ni del ancho del video */
  max-width: 90%; 
  max-height: 90%; 
  
  /* Mantiene la proporción de la imagen */
  width: auto;
  height: auto;
  
  border-radius: 50%;
}
.menu select {
  padding: 6px 10px;
  font-size: 16px;
}

.titulo-1{
border-radius: 10px;
padding: 15px;
}

.catalogo {
  padding: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}


.producto {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  padding-bottom: 1px;
}

.contacto a {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 8px;
}

.menu{
    display: flex;
    padding: 10px;
    column-gap: 10%;
    gap: 15px;
}

.foto1{ 
    width: 100%;
    height: 90%;
    border-radius: 10px;

}

.foto2{
    width: 100%;
    height: 90%;
    border-radius: 10px ;
}

.foto3{
    width: 100%;
    border-radius: 20px;
    height: 90%;
}

a{
    text-decoration: none;
    color: inherit;
}

.boton{
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 8px;
}


.icono-carrito{
    position:fixed;
    bottom:20px;
    left:20px;
    background:rgb(20, 0, 73);
    color:white;
    padding:10px 15px;
    border-radius:20px;
    text-decoration:none;
    font-size:18px;
    border: solid 1px #fff;
}


#contador-carrito{
    background:rgb(89, 189, 189);
    padding:3px 8px;
    border-radius:50%;
    margin-left:5px;
    font-family: Poppins;

}

.video{
  width: 100%;
  border-radius: 30px;
  display: block;
}

.banner {
  position: relative;
  width: 96%;
  /* Ajusta la altura según necesites o deja que el video la mande */
  overflow: hidden; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

button {
  background: #fbca1f;
  font-family: inherit;
  padding: 0.6em 1.3em;
  font-weight: 900;
  font-size: 18px;
  border: 3px solid black;
  border-radius: 0.4em;
  box-shadow: 0.1em 0.1em;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  transform: translate(-0.05em, -0.05em);
  box-shadow: 0.15em 0.15em;
}

button:active {
  transform: translate(0.05em, 0.05em);
  box-shadow: 0.05em 0.05em;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 100;
}
.carrusel{
  margin: 50px auto;
  width: 100%;
  display: flex;
  overflow-x: auto  ;
}

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

.group{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  animation: spin 7s infinite linear;
  padding-right: 1em;
}

.fotos{
  flex: 0 0 5em;
  padding: 1em;
  height: 20em;
  align-content: center;
}

.group img{
  height: 20em;
  border-radius: 3em;
}

.instagram-float {
    position: fixed;
    bottom: 90px; /* MÁS ARRIBA que WhatsApp */
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 100;
}

.whatsapp-float img,
.instagram-float img {
    width: 100%;
    height: 100%;
    transition: 0.3s;
}

.whatsapp-float img:hover,
.instagram-float img:hover {
    transform: scale(1.1);
}

.catalogo-nav:hover{
  text-decoration: underline;
}

@keyframes spin{
  from {translate: 0;}
  to {translate: -100%;}
}

@media (max-width: 768px){
  .catalogo {
    font-size: 16px;     /* Texto más pequeño */
    padding: 20px;       /* Menos espacio */
    max-width: 80%;     /* Que use todo el ancho */
  }

  .hero-img{
    width: 70vw;
  }
}

@media (max-width: 768px) {
  .hero-img {
    max-width: 80%; /* Un poco más pequeña en móvil para que luzca mejor */
    max-height: 80%;
  }
}