body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


/* --------ANUNCIO REBAJAS-------- */


.rebajas-pequeño {
  background-color: rgb(226, 0, 0);
  text-align: center;
  color: #fff;
  font-size: 14px;
  padding: 10px;
}

.enlace {
 text-decoration: none;
 color: #fff;
 margin-right: 8px;
}


/* --------ANUNCIO REBAJAS END-------- */


/* --------CABECERA-------- */


.cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cabecera-left {
  display: flex;
  align-items: center;
  margin-left: 20px;
  gap: 15px;
 }

 .cabecera-rigth {
  display: flex;
  align-items: center;
  margin-right: 20px;
  gap: 10px;
 }

 .fijo {
  background-color: white;
  position: absolute;
  position: sticky;
  top: 0;
  margin: 0;
  padding: 0;
}


/* --------CABECERA END-------- */


/* ------BOTTON FIJO UP------ */


.up {
  background-color: white;
  border-radius: 50%;
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

.up.show {
  display: block;
}


/* ------BOTTON FIJO UP END------ */


/* ------MENU HAMBURGUESA------ */


.menu-link {
  margin-right: 24px;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: black;
}

#menu {
  display: none;
}

#X {
  display: none;
}

#menu-hamburguesa {
  display: none;
  scroll-behavior: smooth;
}

.hamburguesa-link {
  text-decoration: none;
  color: black;
}

.flecha {
  width: 25px;
  height: 35px;
}


  /* ------MENU HAMBURGUESA END------ */


 /* --------NAV-------- */


 .buscador-barra {
  position: relative;
  margin-left: 20px;
  width: 90%;
  height: 35px;
  border-radius: 20px;
  border: none;
  border: 1px solid rgba(0, 0, 0, 0.154);
  color: black;
  font-size: 15px;
  text-indent: 25px;
 }

 .lupa {
  position: absolute;
  right: 1.8rem;
  margin-top: 5px;
  padding: 2px 10px;
  background-color: green;
  border-radius: 20px;
 }


 /* --------NAV END-------- */


 /* --------SECCIONES-------- */


 #secciones {
  display: flex;
  justify-content: space-evenly;
  font-weight: 500;
  font-size: 14px;
  margin-top: 20px;
 }

 .secciones-link {
  text-decoration: none;
  color: black;
 }

 .título-sección {
  text-align: center;
  font-size: 20px;
}

.filtrador {
  margin-left: 20px;
  margin-right: 30px;
  display: flex;
  justify-content: space-between;
}

.fil {
  margin-left: 15px;
  cursor: pointer;
}

.filtros {
  margin-bottom: 20px;
}

.filtros > a {
  color: black;
}


 /* --------SECCIONES END-------- */


 /* ----MODO VISTA 1 COLUMNA O 2 COLUMNAS---- */


 .checkbox {
  display: none;
 }


 /* ----MODO VISTA 1 COLUMNA O 2 COLUMNAS END---- */


 /* --------MAIN ENLACE IMAGENES-------- */


.primera {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  margin-top: 40px;
}

.img-enlaces {
  text-align: center;
  margin-left: 15px;
  width: 110px;
  height: 110px;
}

.descuento {
  color: red;
  text-align: center;
  font-size: 14px;
}

.categoría {
  color: black;
  text-align: center;
}


/* --------MAIN ENLACE IMAGENES END-------- */


/* --------MAIN ARTICULOS-------- */


.articulos-lista {
  display: grid;
  grid-template-columns: 50% 50%;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.img-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.descripción {
  margin-left: 7px;
  margin-top: -10px;
}

.li-item {
  display: flex;
  flex-direction: column;
}

.li-título {
  font-weight: bold;
  font-size: 14px;
}

.li-descripción {
  font-size: 14px;
  margin-top: -5px;
}

.colores {
  margin: 0;
}

.colores > a {
  color: black;
}

.li-btn {
  color: white;
  background-color: black;
  border: none;
  padding: 8px;
  width: 160px;
  margin: 10px;
  margin-top: 15px;
  align-self: center;
}

.li-btn:hover {
  background-color: white;
  color: black;
  border: 1px solid black;
}

.precio {
  color: red;
}

span {
  color: black;
  text-decoration: line-through;
  margin-left: 10px;
  margin-right: 10px;
}


/* --------MAIN ARTICULOS END-------- */


/* ------MEDIA QUERIES------ */


@media (min-width: 766px) {

  .articulos-lista {
    grid-template-columns: 25% 25% 25% 25%;
  }
  .img-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .buscador {
    width: 30%;
    margin: auto;
    margin-top: -30px;
    margin-bottom: 20px;
  }
  .secciones {
    width: 40%;
    margin: auto;
  }
  .lupa {
    display: none;
  }
  #ventanas {
  display: none;
  }
  .primera {
    grid-template-columns: 15% 15% 15% 15% 15% 15%;
    justify-content: space-evenly;
  }
  .img-enlaces {
    margin-left: 10px;
  }
  .vistas {
    display: none;
  }
  #menu-hamburguesa {
    width: 40%;
  }
}

@media (min-width: 1500px) {
  .img-enlaces {
    width: 250px;
    height: 250px;
  }
  .img-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .filtrador {
    margin-left: 200px;
    margin-right: 20px;
  }
  .fil {
    margin-left: 25px;
  }
}


/* ------MEDIA QUERIES END------ */