/* The surrounding layout, typography and controls come from the active ASTAP theme. */
.stock-page .cat-title { margin-bottom: 0; }
.stock-page .stock-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stock-page .stock-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 128 / 81;
  overflow: hidden;
  border-radius: 6px;
  background: #f3f3f3;
}
.stock-page .catalog__item-media.stock-photo { margin-bottom: 14px; }
.stock-page .stock-photo .catalog__item-img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}
.stock-sale {
  position: absolute;
  top: 12px;
  left: 14px;
  padding: 4px 10px;
  transform: skewX(-8deg);
  border-radius: 3px;
  background: #131313;
  color: #fff;
  font: 20px/1 "Spaceland", sans-serif;
}
.stock-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.stock-prices strong { font-size: 1.15em; font-weight: 600; }
.stock-prices del { color: #666; font-weight: 400; }
.stock-page .stock-detail .product__gallery { padding: 0; min-height: 0; }
.stock-page .stock-detail .stock-photo { border-radius: inherit; }
.stock-page .stock-detail .product__info { min-height: 0; justify-content: center; align-items: flex-start; }
.stock-page .stock-detail .product__price { margin: 0 0 18px; font-size: 26px; }
@media (max-width: 850px) {
  .stock-page .stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .stock-page .stock-grid { grid-template-columns: minmax(0, 1fr); }
  .stock-detail .catalog__item-link { width: 100%; }
}
