/* Shared product-card image motion for catalog, series and related products. */
.catalog-product-link {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.catalog-product-quote {
  width: calc(100% - 44px);
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 22px 22px;
  padding: 0 19px;
  border: 0;
  border-radius: 0;
  background: #0b1628;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .24s ease, color .24s ease;
}

.catalog-product-quote:hover,
.catalog-product-quote:focus-visible {
  background: #2497df;
  color: #fff;
}

.catalog-product-quote.added,
.catalog-product-quote.added:hover {
  background: #14703b;
}

.catalog-product-card > script {
  display: none !important;
}

@media (max-width: 600px) {
  .catalog-product-quote {
    width: calc(100% - 32px);
    margin: 0 16px 16px;
  }
}

:is(.products-page, .category-detail-page, .product-detail-page)
  .catalog-product-image > img {
  transform: scale(1) !important;
  transform-origin: center center;
  transition: transform .34s cubic-bezier(.22, .61, .36, 1) !important;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  :is(.products-page, .category-detail-page, .product-detail-page)
    .catalog-product-card:hover
    .catalog-product-image > img {
    transform: scale(1.065) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.products-page, .category-detail-page, .product-detail-page)
    .catalog-product-image > img {
    transition: none !important;
  }
}
