/* Product cards use existing imagery and dynamic product titles. */
#catalog .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
#catalog .catalog-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #d8e3ed; border-radius: 12px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
#catalog .catalog-card:hover { border-color: #b8cede; box-shadow: 0 4px 12px #0a254012; transform: none; translate: none; }
#catalog .catalog-card > a { display: block; flex-shrink: 0; }
#catalog .catalog-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; }
#catalog .catalog-body { flex: 1; display: flex; flex-direction: column; padding: 16px 18px; }
#catalog .catalog-card-category { margin-bottom: 6px; color: #4e6a88; font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: .045em; text-transform: uppercase; }
#catalog .catalog-card h3 { margin: 0; color: #0a2540; font-size: clamp(17px, 1.35vw, 22px); font-weight: 800; line-height: 1.35; letter-spacing: -.025em; }
#catalog .card-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 12px; font-size: 12px; font-weight: 700; line-height: 1.6; }
#catalog .card-actions > a { color: #0a2540; }
#catalog .card-actions > :is(a, button) { min-height: 36px; display: inline-flex; align-items: center; padding: 0; white-space: nowrap; }
#catalog .card-actions > a:hover { text-decoration: underline; text-underline-offset: 4px; }
#catalog .card-actions > button { color: var(--blue); font-size: inherit; font-weight: inherit; }
@media (max-width: 1200px) and (min-width: 981px) { #catalog .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { #catalog .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  #catalog .catalog-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #catalog .catalog-card h3 { font-size: 21px; }
  #catalog .card-actions { font-size: 13px; }
  #catalog .card-actions > :is(a, button) { min-height: 44px; }
}
