.products-page { display: flex; flex-direction: column; min-height: 100svh; }
.products-page .site-header { background-image: url("../products/header-background-20261127100443.png"); background-position: center; background-size: cover; }
.products-main { display: flex; flex: 1 0 auto; align-items: stretch; padding-block: 56px 64px; }
.catalog-title { margin: 0 0 40px; font-size: 36px; font-weight: 700; line-height: 1.2; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 60px; min-width: 0; min-height: 480px; padding: 30px 20px; border-radius: 16px; background: var(--brand-card); text-align: center; }
.product-card > img { flex: 0 0 auto; }
.product-info { width: 100%; }
.product-name { margin: 0; color: var(--green); font-size: 30px; font-weight: 700; line-height: 1.2; }
.product-name > span { display: block; }
.product-status { margin: 0; font-size: 18px; font-weight: 700; line-height: 22px; }

@media (min-width: 768px) and (max-width: 1100px) {
  /* Leave enough trailing space for the final card to snap to the start. */
  .brand-page .product-grid.swipe-cards { grid-auto-columns: var(--card-max-width); padding-inline-end: calc(100% - var(--card-max-width)); }
}

/* Figma 1160:4619: 1280px content, a trimmed 26px title, and 302px cards. */
@media (min-width: 1101px) {
  .products-page .catalog { display: flex; flex-direction: column; }
  .products-page .catalog-title { flex: 0 0 auto; }
  .products-page .product-grid { flex: 0 0 auto; gap: 1.875cqw; }
  /* Frame 1160:4656 is 302 x 734; card height follows content width, not viewport height. */
  .products-page .product-card { height: 57.34375cqw; max-height: none; min-height: 0; gap: 4.6875cqw; padding: 2.34375cqw 0; }
  .products-page .product-name { font-size: 2.34375cqw; }
  .products-page .product-status { font-size: 1.40625cqw; line-height: 1.2; }
}
