@font-face {
  font-family: "Mulish";
  src: url("../css/fonts/Mulish-Bold.ttf") format("truetype");
  font-weight: bold;
}

@font-face {
  font-family: "Poppins";
  src: url("../css/fonts/Poppins-Light.ttf") format("truetype");
  font-weight: bold;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
}

.main-content {
  flex: 1; 
}

.navbar {
  width: 100%;
  height: 12.7vh;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
  display: flex;
  justify-content: center; /* Centra el logo horizontalmente */
  align-items: center;
  position: relative; /* Permite la posición absoluta de la flecha */
  padding: 0 20px;
}

.back-to-catalog {
  position: absolute; /* Posiciona la flecha a la izquierda */
  left: 40px; /* Ajusta la distancia desde la izquierda */
}

.back-to-catalog i {
  font-size: 20px; /* Aumenta el tamaño del icono */
  cursor: pointer;
  color: #113A83;

}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-saminox {
  height: 60px;
  width: 160px;
  cursor: pointer;
}


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

.items li {
  list-style-type: none;
  display: inline;
  cursor: pointer;
  padding: 20px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.48px;
}

.filter-container {
  display: flex;
  justify-content: flex-end;
  margin: 20px;
}

#filter-select {
  padding: 10px;
  font-size: 1.6rem;
  border: 1px solid #113A83;
  border-radius: 4px;
  background-color: #113A83;
  color: white;
  border-radius: 8px;

}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 20px;
}

.item {
  padding: 20px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.item:hover {
  transform: translateY(-5px);
}

.item img {
  max-width: 100%;
  height: auto;
  max-height: 150px; /* Ajuste la altura máxima */
  display: block;
  margin: 0 auto;
}

.item-name {
  font-size: 1.8rem;
  margin: 10px 0;
  font-weight: bold;
}

.item-brand {
  color: #777;
  font-size: 1.4rem;
  margin: 10px 0;
}

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

@media (max-width: 768px) {
  .grid-container {
      grid-template-columns: 1fr;
  }

  .filter-container {
      justify-content: center;
      margin: 10px 0;
  }

  #filter-select {
      width: 100%;
      margin: 0 10px;
  }

  .item {
      margin-bottom: 20px;
  }
}

footer {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  width: 100%;
  padding: 20px 0;
}

.footer-bar {
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  padding: 0 70px;
  
}

.widget--copyright {
  font-size: 14px;
  color: #999999;
  line-height: 19px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  text-align: left; 
}

.widget--social {
  display: flex;
  align-items: center; 
}

.widget--social a {
  margin-left: 15px;
  margin-right: 15px;
  color: #999999;
  text-decoration: none;
  font-size: 14px;
}

.widget--social a:hover {
  color: #113A83; 
}

@media (max-width: 576px) {
  .footer-bar {
      flex-direction: column;
      align-items: center;
  }
  .widget--social {
      margin-top: 10px;
  }
  .widget--copyright {
      text-align: center; 
      margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 10px;
  }
  .back-to-catalog i {
    font-size: 23px; /* Aumenta aún más el tamaño en móviles */
    color: #113A83;
    margin-bottom: 5px;
  }
  .logo-saminox {
    height: 60px; /* Ajusta el tamaño del logo en móviles */
    width: auto;
  }
}