.grid {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255, 196, 0, .22);
  background: linear-gradient(180deg, #18181b 0%, #111113 100%);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 196, 0, .68);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .42), 0 0 24px rgba(255, 196, 0, .08);
}

.photo {
  height: 320px;
  flex: 0 0 320px;
  aspect-ratio: auto;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: radial-gradient(circle at 50% 30%, rgba(255, 196, 0, .12), transparent 64%), #0d0d0f;
}

.body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 55%);
}

.body h3 {
  min-height: 2.5em;
  margin: 2px 0 0;
  color: #f8fafc;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.015em;
  text-wrap: balance;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 5px rgba(0, 0, 0, .9);
}

.body .category {
  align-self: flex-start;
  padding: 6px 9px;
  border: 1px solid rgba(255, 196, 0, .28);
  border-radius: 999px;
  background: rgba(255, 196, 0, .11);
  color: #ffd83d;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .12em;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

.body .price {
  margin: 4px 0 14px;
  color: #ffe16b;
  font-size: 22px;
  line-height: 1.15;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 0 22px rgba(255, 196, 0, .16);
}

.wa {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 8px 20px rgba(37, 211, 102, .14);
  transition: transform .18s ease, filter .18s ease;
}

.wa:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

@media (max-width: 800px) {
  .photo { height: 280px; flex-basis: 280px; }
}

@media (max-width: 520px) {
  .photo { height: 310px; flex-basis: 310px; }
  .body h3 { min-height: auto; }
}
