@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

html{
    margin: 0;
}
body{
  overflow-x: hidden;
}

/* Style the tab */
.tab {
    display: block;
    position: fixed;
    float: left;
    border: 1px 0px 1px 1px solid #ccc;
    background-color: #212529;
    color: #fff;
    width: 22%;
    height: 100vh;
    padding: 5.5% 0px 0px 30px;
    font-family: 'Roboto' ,sans-serif;
    z-index: 99;
}

  /* Style the buttons inside the tab */
.tab button {
    display: block;
    background-color: inherit;
    color: white;
    padding: 5px 10px 5px 15px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
}
  
  /* Change background color of buttons on hover */
.tab button:hover {
    color: #7b2cb7;
    font-weight: bold;
}
  
  /* Create an active/current "tab button" class */
.tab button.active {
    color: #7b2cb7;
    font-weight: bold;
}

.tab button img{
  margin: 0px 10px 0 0;
}
  
  /* Style the tab content */
.tabcontent {
    float: right;
    padding: 60px 12px;
    width: 78%;
    border-left: none;
    margin-top: 15px;
    font-family: 'Roboto' ,sans-serif;
}

/*  TAB HORIZONTAL DE ACCESORIOS */



.ref-accesorio{
    font-size: 14px;
    color: darkgrey;
}
.producto{
  border-right: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  height: 420px;
  align-items:flex-end;
  margin: 10px 1px 10px 0;
  position: relative;
  padding: 10px;
}

.precio{
    color: #000;
    font-weight: bold;
    font-size: 22px;
    position: absolute;
    bottom: 15%;
    right: 20%;
    left: 20%;
}

.nombre-producto{
  font-size: 16px;
  margin: 10px;
}


select{
  width: 90%;
  margin: 6px 0;
  padding: 7px;
}
.img-comp-container {
  position: relative;
  height: 200px; /*should be the same height as the images*/
}

.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow: hidden;
}

.img-comp-img img {
  display: block;
}

.img-comp-slider {
  position: absolute;
  z-index: 9;
  cursor: ew-resize;
  /*set the appearance of the slider:*/
  width: 40px;
  height: 40px;
  background-color: #f1b434;
  opacity: 0.7;
  border-radius: 50%;
  color: #fff;
  font-size: 25px;
}
.img-comp-slider::before{
  content: '<>';  
}

/* Style the tab */
.tab-stop {
  overflow: hidden;
}

.tab-stop p{
  color: white;
}

/* Style the buttons that are used to open the tab content */
.tab-stop button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab-stop button p:hover {
  color: #f1b434;
}

/* Create an active/current tablink class */
.tab-stop button.active p {
  color: #f1b434;
}

/* Style the tab content */
.tabcontent-stop, .tabcontent-semaforo {
  display: none;
  padding: 6px 12px;
  border-top: none;
}

.btnfichaTecnica{
  background: local;
  padding: 5px 10px;
  color: white;
  border-radius: 10px;
  font-size: 18px;
  border: 0px 0px 1px 0px solid #f1b434;
}

.btnfichaTecnica:hover{
  background: white;
  padding: 5px 10px;
  color: black;
  border-radius: 10px;
}
.cuadroColor{
  width: 20px;
  height: 20px;
  margin: 8px;
  float:inline-start;
}
section{
	align-items: center;
	min-height: 420px;
}
#texto-color{
  font-weight: 600;
  font-size: 25px;
  margin-top: -20px;
}
.fondoGris{
  background: rgba(85, 85, 85, 0.628);
  margin: 30px 10px;
  border-radius: 20px;
}
.fondoImgProd{
  background-color: black; 
}

.fondoImgProd2{
  background-color: black; 
  background-image: url(../Imagenes/Productos/licuadoras/L570\ Enc\ Amll\ Fn.png); 
  background-repeat: no-repeat;
	background-size:cover; 
  background-position: -250px -50px;
}

.texto-envio{
  font-size: 16px;
}
.TextoEspecificaciones{
  font-weight: 700;
  margin: 10px 0px;
  padding: 20px;
}


.color-selector{
  border: none;
  width:80%;
  position: absolute;
  bottom: 28%;
  left: 10%;
  text-align: center;
}

.botonesCurrency{
  position: fixed;
  right: 0;
  top: 50%;
  width: 60px;
}
.btnCurrency{
  margin: 10px 2px 2px 0px;
  width: 100%;
  background-color: #7B2CB7;
  color: #fff;
  border: none;
  border-radius: 5px 0px 0px 5px;
  padding: 5px;
}
.btnCurrency:hover{
  background-color: #000;
  color: #fff;
  transition: 0.2s;
}


.fondo-regleta{
  min-height: 70vh;
  align-items: center;
  display: flex;
  background: linear-gradient(to bottom, black, #232323);
}
.btnRegleta{
  border: none;
  width: 200px;
  padding: 10px;
  border-radius: 15px;
  background-color: #f1b434;
  font-weight: bold;
  animation: moverBoton 3s infinite;
  position: relative;
  box-shadow: 0px 5px 10px #f1b534be;
  margin: 20px;
}
        /* Animación */
        @keyframes moverBoton {
          0% {
              left: 0; /* Punto de inicio */
          }
          50% {
              left: 50px; /* Mitad del recorrido */
          }
          100% {
              left: 0; /* Regresa al punto inicial */
          }
      }
.login , .registrarse{
  width: 100%;
  color: #000;  
  min-height: 50vh;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column; /* Apila los elementos verticalmente */
  justify-content: center; /* Espacio entre ellos */
}
.login button, .crear-usuario{
  width: 100%;
  padding: 10px;
  background-color: #232323;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  margin: 30px 0;
  font-size: 20px;

}

.login input {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc; 
  margin-top: 20px;
}

.login h2, .registrarse h2{
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-weight: bold;
}

.login span, .login a , .registrarse a ,.registrarse span {
  color: #000;
}
.btn-carrito {
  background: #7B2CB7;
  color: #FFF;
  border: none;
  border-radius: 10px;
  position: absolute;
  font-size: 20px;
  bottom: 20px;
  right: 5%;
  padding: 5px 10px ;
}

.btn-carrito:hover {
  color: white;
  transition: 0.9s;
  border: 1px solid #000;
}

.menos, .mas{
  background: #7B2CB7;
  color: #FFF;
  border: none;
  border-radius: 7px;
  font-size: 20px;
  padding: 5px 5px ;
  margin: 0;
}

.cantidad-container{
  position: absolute;
  bottom: 20px;
  left: 5%;
  margin: 0;
}
.btn-cotizacion{
  position: fixed;
  bottom: 20px;
  left: 7%;
  z-index: 99;
  background: #000;
  color: #fff;
  padding: 5px 10px;
  border-radius: 10px;
  text-decoration: none;
}
.btn-cotizacion a{
  text-decoration: none;
  color: white;
}
.btn-cotizacion a:hover{
  
  color: #f1b434;
}

.btn-cotizacion:hover{
  border: 1px solid #f1b434;
  color: #f1b434;
}

.btn-volver{
  bottom: 20px;
  left: 10px;
  width: 100px;
  background: #7b2cb7;
  border-radius: 10px;
  color: #fff;
  border: none;
  font-weight: bold;
  padding: 5px;
}
.btn-volver:hover{
 background: #000;
 color: #fff;
}
.btn-descargar{
  background-color: #7b2cb7;
  color: #fff;
  border: none;
}
.btn-descargar:hover{
  background-color: #000;
  color: #fff;
  transition: 0.2s;
}
.contenedor-carrito{
    box-shadow: 0px 13px 41px 0 #e5eaef;
    margin: 100px auto;
    padding: 40px;
    border-radius: 20px;
    width: 85%;
}
.contenedor-principal{
  margin-top: 100px;
}
@media (max-width: 1366px){
  
  .btn-cotizacion{
    left: 5%;
  }
  .btn-carrito, .menos, .mas, .cantidad-container {
    font-size: 14px;
  }
  .precio{
    font-size: 19px;
  }
  .nombre-producto{
  font-size: 16px;
  }
}



@media (max-width:768px) {
    .tab button{
      padding: 10px 5px;
    }
    .tab{
      margin: 70px 0;
      padding: 5px;
      width: 100%;
      height: 110px;
    }
    .tabcontent{
      width: 100%;
      padding-top: 170px;
    }
    select{
      width: 100%;
    }
    .login , .registrarse{
      min-height: 50vh;
    }
    .contenedor-carrito{
    box-shadow: 0px 13px 41px 0 #e5eaef;
    margin: 60px 10px 10px 10px;
    padding: 10px;
    border-radius: 20px;
    width: 95%;
}

}

@media (max-width: 430px) { 
  section{
    min-height: auto;
  }
  
}
