/* ELY-068: catalog presentation only; shared commerce cards keep their behavior. */
.ely-catalog {
  background: var(--ely-surface-soft);
  padding-block: clamp(32px, 4vw, 56px);
}
.ely-catalog .ely-section-heading {
  max-width: 850px;
  margin-bottom: 32px;
}
.ely-catalog .ely-section-heading h1 {
  max-width: 800px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  text-wrap: balance;
  margin-block: 12px 16px;
}
.ely-catalog .ely-section-heading p {
  margin: 0;
  max-width: 640px;
  line-height: 1.65;
}
.ely-catalog .ely-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.ely-catalog .ely-product {
  border-radius: 10px;
  transition: border-color var(--ely-duration-fast);
}
.ely-catalog .ely-product:hover {
  box-shadow: none;
  border-color: var(--ely-gold);
}
.ely-catalog .ely-product-image {
  position: relative;
  height: clamp(320px, 29vw, 400px);
  aspect-ratio: auto;
  padding: 0;
  background: var(--ely-cream);
}
.ely-catalog .ely-product-image img {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  max-height: none;
  margin: auto;
  object-fit: contain;
  object-position: center;
}
.ely-catalog .ely-product-body {
  padding: 24px;
  gap: 8px;
}
.ely-catalog .ely-product h3 {
  min-height: 2.6em;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.3;
  overflow-wrap: normal;
}
.ely-catalog .ely-product-volume {
  margin: 0;
  color: var(--ely-muted);
}
.ely-catalog .ely-product-price {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 8px;
  margin: 4px 0 12px;
  font-size: 1.375rem;
}
.ely-catalog .ely-product-price del {
  margin: 0;
  font-weight: 400;
}
.ely-catalog .ely-product .ely-button {
  min-height: 48px;
  white-space: normal;
  line-height: 1.4;
  padding: 12px;
}
.ely-catalog .ely-product .ely-text-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  font-size: .875rem;
  font-weight: 500;
}
.ely-catalog :is(a, button):focus-visible {
  outline: 3px solid var(--ely-navy);
  outline-offset: -4px;
}
.ely-catalog .ely-catalog-recipes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 36px;
  padding-block: 24px;
  border-top: 1px solid var(--ely-border);
}
.ely-catalog-recipes p {
  margin: 0;
  font-family: var(--ely-heading-font);
  font-size: 1.5rem;
  line-height: 1.4;
}
.ely-catalog-recipes p span {
  display: block;
  margin-top: 4px;
  font: .9375rem/1.6 var(--ely-body-font, sans-serif);
  color: var(--ely-muted);
}
.ely-catalog-recipes .ely-arrow-link {
  max-width: 100%;
  min-height: 48px;
}
@media (max-width: 1000px) {
  .ely-catalog .ely-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ely-catalog .ely-product-image { height: 360px; }
}
@media (max-width: 600px) {
  .ely-catalog .ely-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ely-catalog .ely-product-image { height: clamp(180px, 48vw, 280px); }
  .ely-catalog .ely-product-body { padding: 12px 8px; }
  .ely-catalog .ely-product h3 { min-height: 2.6em; font-size: 1.125rem; overflow-wrap: anywhere; }
  .ely-catalog .ely-product-price { font-size: 1.125rem; }
  .ely-catalog .ely-product .ely-button { padding: 10px 6px; font-size: .75rem; }
  .ely-catalog .ely-product .ely-text-link { font-size: .75rem; }
  .ely-catalog .ely-section-heading { margin-bottom: 24px; }
  .ely-catalog .ely-catalog-recipes { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .ely-catalog .ely-product { transition: none; }
}
