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

html {
  font-size: 62.5%;
}

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

.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;
}


.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 90%;
  margin: 40px auto;
  padding: 20px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

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

.product-image img {
  max-width: 90%;
  max-height: 360px; /* Altura máxima para pantallas grandes */
  height: auto;
  display: block;
}

.product-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-details p {
  font-size: 1.8rem;
  line-height: 2.2rem;
  margin-bottom: 20px;
}

#name,
#brand,
#size,
#description,
#technical {
    color: black;
}

#sub-brand,
#sub-size,
#sub-description {
    color: gray;
}

#name {
  font-size: 3em;
  padding-bottom: 5px;
}

#brand {
  font-size: 2em;
}

.contact-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #113a83;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.6rem;
  text-align: center;
}

.contact-button:hover {
  background-color: #0d2c6a;
}

footer {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  width: 100%;
  padding: 20px 0;
  font-family: "Poppins", sans-serif;
  margin-top: auto;
}

.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;
}

.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: 768px) {
  .product-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-image {
    margin-bottom: 20px;
  }

  .product-image img {
    max-height: 200px; /* Altura máxima para pantallas móviles */
  }

  .product-details {
    text-align: left;
  }

  .contact-button {
    align-self: center;
  }

  .navbar {
    justify-content: center;
  }

  .logo-saminox {
    margin: 0;
  }
}

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