/* Ajuste isolado dos cards de máquinas. Não altera o restante do site. */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-width: 0;
  min-height: 495px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--navy);
  background: #fff;
  border-radius: 20px;
}

/* O !important impede que qualquer display:flex posterior reexiba o card. */
.product-grid > .product-card[hidden],
.product-grid > .product-card.is-filtered-out {
  display: none !important;
}

.product-image {
  position: relative;
  width: 100%;
  height: 215px;
  display: block;
  flex: 0 0 215px;
  overflow: hidden;
  background: #f1f5f9;
}

.product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-image > span {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 9px;
  color: #fff;
  background: var(--navy);
  border-left: 2px solid var(--orange);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-body {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-body h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.035em;
}

.product-body > p {
  min-height: 69px;
  margin: 12px 0 20px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.65;
}

.product-body dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 14px;
  margin: auto 0 0;
  border-block: 1px solid #e2e8f0;
}

.product-body dl div {
  min-width: 0;
  padding-inline: 10px;
  border-right: 1px solid #e2e8f0;
}

.product-body dl div:first-child { padding-left: 0; }
.product-body dl div:last-child { padding-right: 0; border-right: 0; }
.product-body dt { color: #94a3b8; font-size: 7px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.product-body dd { margin: 5px 0 0; overflow: hidden; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }

.product-quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  margin-top: 0;
  color: var(--orange);
  font-size: 11px;
  font-weight: 850;
}

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .product-grid { grid-template-columns: 1fr; }
}
