
#ht-vehicles,
#ht-vehicles * {
  box-sizing: border-box;
}

#ht-vehicles {
  --ht-red: #cc172c;
  --ht-dark: #171b22;
  --ht-gray: #69717b;
  font-family: 'Open Sans', sans-serif;
  background: #fff;
  padding: 75px 20px 85px;
  color: var(--ht-dark);
}

#ht-vehicles .ht-container {
  max-width: 1240px;
  margin: 0 auto;
}

#ht-vehicles .ht-header {
  text-align: center;
  margin-bottom: 34px;
}

#ht-vehicles .ht-eyebrow {
  color: var(--ht-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

#ht-vehicles .ht-header h2 {
  font-family: inherit;
  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--ht-dark);
  margin: 15px 0;
}

#ht-vehicles .ht-header h2 span {
  color: var(--ht-red);
}

#ht-vehicles .ht-header p {
  font-size: 15px;
  color: var(--ht-gray);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto;
}

#ht-vehicles .ht-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 43px;
}

#ht-vehicles .ht-filter {
  appearance: none;
  background: #f5f6f8;
  color: #414751;
  border: 1px solid transparent;
  border-radius: 30px;
  padding: 11px 24px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: .25s ease;
}

#ht-vehicles .ht-filter:hover {
  border-color: var(--ht-red);
  color: var(--ht-red);
  background: #fff;
}

#ht-vehicles .ht-filter.active {
  background: var(--ht-red);
  color: white;
}

#ht-vehicles .ht-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px 19px;
}

#ht-vehicles .ht-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #eceef1;
  background: #fff;
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

#ht-vehicles .ht-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(0,0,0,.09);
  border-color: #e5e5e5;
}

#ht-vehicles .ht-card.ht-hidden {
  display: none;
}

#ht-vehicles .ht-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 205px;
  padding: 25px 10px 10px;
  background: linear-gradient(180deg, #f6f7f9, #fff);
  overflow: hidden;
}

#ht-vehicles .ht-photo {
  overflow: hidden;
}

#ht-vehicles .ht-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;

  /* Agrandar las fotos un 25 % */
  transform: scale(1.70);

  transition: transform .45s ease;
}

#ht-vehicles .ht-card:hover .ht-photo img {
  transform: scale(1.45);
}

#ht-vehicles .ht-tag {
  position: absolute;
  z-index: 1;
  top: 15px;
  left: 15px;
  padding: 6px 10px;
  border-radius: 5px;
  background: var(--ht-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .7px;
}

#ht-vehicles .ht-tag-hybrid {
  background: #217b62;
}

#ht-vehicles .ht-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 23px 21px 24px;
}

#ht-vehicles .ht-type {
  font-size: 10px;
  font-weight: 800;
  color: var(--ht-red);
  letter-spacing: 1.5px;
  margin-bottom: 7px;
}

#ht-vehicles .ht-content h3 {
  font-family: inherit;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.15;
  color: #171b22;
  margin: 0;
}

#ht-vehicles .ht-version {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #737b85;
  margin: 8px 0 22px;
  min-height: 18px;
}

#ht-vehicles .ht-price {
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid #eceef1;
}

#ht-vehicles .ht-price span {
  display: block;
  color: #777e87;
  font-size: 12px;
  margin-bottom: 5px;
}

#ht-vehicles .ht-price strong {
  display: block;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.8px;
  color: #181b20;
}

#ht-vehicles .ht-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  margin-top: 20px;
  background: var(--ht-red);
  color: #fff !important;
  border-radius: 8px;
  text-decoration: none !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  transition: background .25s ease, transform .25s ease;
}

#ht-vehicles .ht-button span {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

#ht-vehicles .ht-button:hover {
  background: #a90e21;
  transform: translateY(-2px);
}

#ht-vehicles .ht-disclaimer {
  margin: 32px auto 0;
  max-width: 900px;
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
  color: #8b9098;
}

/* TABLET */
@media (max-width: 1024px) {
  #ht-vehicles .ht-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  #ht-vehicles .ht-photo {
    height: 240px;
  }
}

/* MÓVIL */
@media (max-width: 600px) {
  #ht-vehicles {
    padding: 48px 15px 60px;
  }

  #ht-vehicles .ht-header {
    margin-bottom: 25px;
  }

  #ht-vehicles .ht-header h2 {
    font-size: 28px;
  }

  #ht-vehicles .ht-header p {
    font-size: 13px;
  }

  #ht-vehicles .ht-filters {
    gap: 7px;
    margin-bottom: 26px;
  }

  #ht-vehicles .ht-filter {
    padding: 10px 13px;
    font-size: 11px;
  }

  #ht-vehicles .ht-grid {
    grid-template-columns: 1fr;
    gap: 19px;
    max-width: 430px;
    margin: 0 auto;
  }

  #ht-vehicles .ht-photo {
    height: 235px;
  }

  #ht-vehicles .ht-content {
    padding: 21px;
  }

  #ht-vehicles .ht-price strong {
    font-size: 26px;
  }
}

/* ACCESIBILIDAD */
@media (prefers-reduced-motion: reduce) {
  #ht-vehicles *,
  #ht-vehicles *::before,
  #ht-vehicles *::after {
    transition: none !important;
    animation: none !important;
  }
}
