.cards-hero {
  grid-template-columns: minmax(360px, 0.82fr) minmax(560px, 1.18fr);
  min-height: 405px;
  padding: 28px 30px;
}

.cards-hero__eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font: 800 15px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.cards-hero h1 {
  max-width: 650px;
  font-size: clamp(52px, 5vw, 78px);
}

.cards-hero .books-hero__copy > p:last-child {
  max-width: 560px;
}

.cards-hero__art {
  align-self: stretch;
  background: var(--paper-light);
}

.cards-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.cards-catalog {
  padding-top: 34px;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

.greeting-card {
  min-width: 0;
}

.greeting-card .product-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 6.2;
  padding: 14px;
  background: rgba(255, 247, 224, 0.72);
}

.greeting-card .product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.greeting-card .product-card__body {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto auto;
  gap: 9px;
  min-height: 330px;
}

.greeting-card h3 {
  min-height: 1.2em;
  font-size: 21px;
  line-height: 1.08;
}

.greeting-card .product-card__subtitle {
  min-height: 2.6em;
  line-height: 1.3;
}

.greeting-card__description {
  min-height: 5.2em;
  margin: 0;
  font: 500 13px/1.3 Arial, sans-serif;
}

.greeting-card__format {
  align-self: end;
  margin: 0;
  color: var(--brown);
  font: 700 12px/1.3 Arial, sans-serif;
  text-transform: uppercase;
}

.greeting-card .product-card__price {
  margin: 0;
}

.greeting-card .product-card__button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
}

@media (max-width: 1100px) {
  .cards-hero {
    grid-template-columns: minmax(300px, 0.82fr) minmax(450px, 1.18fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cards-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px;
  }

  .cards-hero h1 {
    max-width: none;
    font-size: clamp(44px, 11vw, 64px);
  }

  .cards-hero__art {
    width: 100%;
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 600px) {
  .cards-hero {
    padding: 18px;
  }

  .cards-hero h1 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .greeting-card .product-card__media {
    aspect-ratio: 5 / 6.2;
    padding: 18px;
  }

  .greeting-card .product-card__body {
    min-height: 0;
  }

  .greeting-card h3,
  .greeting-card .product-card__subtitle,
  .greeting-card__description {
    min-height: 0;
  }
}
