
@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');


*{
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

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: 100%;
  /* 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;
  box-sizing: border-box;
}

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: 22em;
  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;
}

.title-new{
  border: solid black;
  display: inline-block;
  text-align: center;
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0.2em 0.2em;
  margin-top: 40px;

}

/*Nuevas medias*/

/* From Uiverse.io by janisar-hyder */ 
.new-card{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px;
  gap: 70px;
}

.new-card img {
  display: block;
  max-width: 100%;
  min-height: 100%;
}

.stack {
  width: 55%;
  max-width: 400px;
  transition: 0.25s ease;
  &:hover {
    transform: rotate(5deg);
    .card:before {
      transform: translatey(-2%) rotate(-4deg);
    }
    .card:after {
      transform: translatey(2%) rotate(4deg);
    }
  }
}

.card {
  aspect-ratio: 3 / 2;
  border: 4px solid;
  background-color: #fff;
  position: relative;
  transition: 0.15s ease;
  cursor: pointer;
  padding: 5% 5% 5% 5%;
  &:before,
  &:after {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    border: 4px solid;
    background-color: #fff;
    transform-origin: center center;
    z-index: -1;
    transition: 0.15s ease;
    top: 0;
    left: 0;
  }

  &:before {
    transform: translatey(-2%) rotate(-6deg);
  }

  &:after {
    transform: translatey(2%) rotate(6deg);
  }
}
.image {
  width: 100%;
  border: 4px solid;
  background-color: #eee;
  aspect-ratio: 1 / 1;
  position: relative;
}

.browser-warning {
  margin-bottom: 4rem;
}

@supports (aspect-ratio: 1 / 1) {
  .browser-warning {
    display: none;
  }
}


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

@media (max-width: 768px){

  .banner{
    right: 50px;
  }
  .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;
  }
  #loader{
    background-size: cover;
  }
}

@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%;
  }
}