
.search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.search-input {
  padding: 12px;
  border-radius: 8px;
  border: solid 1px #283138;
  width: 100%;
  max-width: 500px;
}

.search-input.large {
  height: 46px;
  text-align: center;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 0 12px;
  border-radius: 6px;
}

.search-btn img {
  width: 16px;
}

.search-btn.green {
  background-color: #64bc32;
  width: 60px;
  height: 46px;
}

.referencia-encabezado {
  background-image: url('../imagenes/referencia/referencias_banner.jpg');
  background-size: cover;
  background-position: center;
  height: 375px;

  display: flex;
  align-items: center;
}

.header-content {
  margin-left: 5%;
  color: #fff;
}

.header-content h1 {
  font-family: 'Gotham';
}

.btn-primary {
  display: inline-block;
  padding: 16px 20px;
  background-color: #283138;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 15px;
}

.categorias-section {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
}

.categorias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 30px auto 0;
}

.categoria-item {
  text-decoration: none;
  color: #283138;
  font-family: 'Gotham';
}

.categoria-item img {
  width: 80px;
}

.categoria-item span {
  display: block;
  margin-top: 10px;
}

.banner-referencia {
  background-image: url('../imagenes/referencia/banner_referencia2.jpg');
  background-size: cover;
  background-position: center;
  height: 300px;

  display: flex;
  align-items: center;
}

.banner-content {
  max-width: 450px;
  margin-left: 8%;
  color: #fff;
  text-shadow: 1px 1px 2px black;
}

@media (max-width: 991px) {
  .header-content {
    margin-left: 0;
    text-align: center;
    width: 100%;
  }

  .banner-content {
    margin-left: 0;
    text-align: center;
    width: 100%;
  }
}