/* One studio frame for the catalogue and each product page. */
#product-grid .product-card .product-visual,
#product-grid .product-card:last-child:nth-child(odd) .product-visual {
  aspect-ratio: 2 / 3;
  height: auto;
  background: #f9f9fb;
}
#product-grid .product-image-link {
  display: block;
  height: 100%;
  padding: 0;
}
#product-grid .catalog-product-image {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain !important;
  object-position: center;
  transform: none;
}
#product-grid .product-info .product-en {
  display: block;
  color: #526174;
  font-size: .75rem;
  letter-spacing: .04em;
}
#product-grid .product-info .product-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
}
#product-grid .product-heading .series-stamp {
  position: static;
  width: 24px;
  height: 24px;
  padding: 0;
  object-fit: contain;
  background: transparent;
  flex: none;
}
#product-grid .product-heading h3 {
  font-size: clamp(1.1rem, 1.45vw, 1.45rem);
  line-height: 1.25;
  margin: 0;
}
#product-grid .product-heading button {
  width: 44px;
  min-height: 44px;
  margin-left: auto;
  flex: none;
}
.product-detail-page .product-cover-frame .detail-catalogue-photo {
  display: block;
  width: 100%;
  height: clamp(400px, 54vw, 640px);
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: 50% 50%;
  background: #f9f9fb;
}
@media(max-width:760px) {
  #product-grid .product-card .product-visual,
  #product-grid .product-card:last-child:nth-child(odd) .product-visual {
    height: clamp(360px, 95vw, 420px);
    aspect-ratio: auto;
  }
  #product-grid .product-heading h3 { font-size: 1.45rem; }
  .product-detail-page .product-cover-frame .detail-catalogue-photo {
    height: clamp(340px, 106vw, 450px);
  }
  .product-detail-page .product-size-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }
  .product-detail-page .product-size-table th { width: 29%; }
  .product-detail-page .product-size-table th,
  .product-detail-page .product-size-table td {
    overflow-wrap: anywhere;
  }
}
