/* Catalogue presentation: product photo, model, category, availability, price and actions. */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; align-items: stretch; }
.product-grid > .product,
.store-products .product-grid > .product,
.aligned-shop .product-grid > .product,
.aligned-product .product-grid > .product {
  min-width: 0; border: 1px solid #e0e8f1; border-radius: 6px;
  overflow: hidden; background: #fff; box-shadow: none;
}
.product-grid > .product:hover { border-color: #a7bfdf; box-shadow: 0 5px 18px #102b5510; }
.product-grid > .product .product-art,
.store-products .product-grid > .product .product-art,
.aligned-shop .product-grid > .product .product-art,
.aligned-product .product-grid > .product .product-art {
  display: grid; width: 100%; height: auto; min-height: 0; aspect-ratio: 3 / 4;
  border: 0; border-bottom: 1px solid #e8edf4; background: #f5f7fa;
}
.product-grid > .product .product-art.has-product-image { background: #fff; }
.product-grid > .product .product-art.has-product-image img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.product-grid > .product .product-body,
.store-products .product-grid > .product .product-body,
.aligned-shop .product-grid > .product .product-body,
.aligned-product .product-grid > .product .product-body { display: flex; flex-direction: column; min-width: 0; padding: 14px; gap: 7px; }
.product-grid > .product .product-title { min-height: 0; font-size: 1rem; line-height: 1.45; font-weight: 650; overflow-wrap: anywhere; }
.product-grid > .product .product-title a { color: #112a50; }
.product-grid > .product .product-title a:hover { color: #125ed8; }
.product-grid > .product .product-category-line { display: block; font-size: .875rem; line-height: 1.45; color: #64738a; overflow-wrap: anywhere; }
.product-grid > .product .product-category { font-size: inherit; color: #125acb; }
.product-grid > .product .availability { font-size: .875rem; line-height: 1.4; color: #49637c; }
.product-grid > .product .product-bottom,
.store-products .product-grid > .product .product-bottom,
.aligned-shop .product-grid > .product .product-bottom,
.aligned-product .product-grid > .product .product-bottom { margin-top: auto; padding-top: 7px; border: 0; }
.product-grid > .product .price { color: #123d7e; line-height: 1.35; }
.product-grid > .product .product-order {
  display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 7px;
  align-items: stretch; padding-top: 4px; margin-top: 0;
}
.product-grid > .product .product-order > .qty-step { width: 100%; min-height: 42px; }
.product-grid > .product .product-order > button[type="submit"] { width: 100%; min-width: 0; min-height: 42px; padding: 7px 8px; white-space: nowrap; }
.product-grid > .product .product-order > .product-quote { grid-column: 1 / -1; min-height: 40px; font-size: .875rem; }
.product-grid > .product .product-order > .product-quote:hover { text-decoration: none; }
.aligned-shop .shop-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.aligned-shop .shop-filters { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.aligned-shop .shop-filters .field { min-width: 0; }
.aligned-shop .shop-filters select { min-height: 44px; }
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 820px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .aligned-shop .shop-filters { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .product-grid { gap: 12px; }
  .product-grid > .product .product-body,
  .store-products .product-grid > .product .product-body,
  .aligned-shop .product-grid > .product .product-body,
  .aligned-product .product-grid > .product .product-body { padding: 10px; gap: 6px; }
  .product-grid > .product .product-title { font-size: .94rem; }
  .product-grid > .product .product-order { grid-template-columns: minmax(0, 75px) minmax(0, 1fr); gap: 6px; }
  .product-grid > .product .product-order > .qty-step { grid-template-columns: 22px minmax(25px, 1fr) 22px; }
  .product-grid > .product .product-order > button[type="submit"] { padding-inline: 4px; font-size: .875rem; }
  .product-grid > .product .product-order > button[type="submit"] .icon { display: none; }
  .aligned-shop .shop-filters { width: 100%; }
  .aligned-shop .shop-filters .field { flex: 1 1 42%; }
  .aligned-shop .shop-filters select { width: 100%; min-width: 0; max-width: none; }
}
@media (max-width: 359px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-grid > .product .product-order { grid-template-columns: 94px minmax(0, 1fr); }
}
