/* -------------------------------------------------------------------------- */
/* Produtos em destaque — grade 4 colunas (referência FAD Store)              */
/* -------------------------------------------------------------------------- */

.featured {
  background: var(--color-white);
  padding-block: 48px 64px;
}

.featured .shell {
  padding-inline: var(--shell-pad);
}

.featured__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.featured__title {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured__link {
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.featured__link:hover {
  text-decoration: underline;
}

.featured__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 2px;
  overflow: hidden;
}

.product-card__media {
  background: var(--color-gray-100);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-card__body {
  padding: 16px 16px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card__name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.35;
}

.product-card__price {
  font-size: 0.9375rem;
  font-weight: 700;
}

.product-card__buy {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-right: -16px;
  margin-bottom: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
}

.product-card__buy:hover {
  opacity: 0.92;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .featured__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
