/* Product-card refinement. Scoped to miniatures; product-detail pages unaffected. */
#wrapper .js-product:has(> .product-miniature) {
  display: flex;
  min-width: 0;
}
#wrapper article.product-miniature {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin: 0;
  border-radius: 18px;
}
#wrapper .product-miniature .tremml-product-card {
  width: 100%;
  flex: 1;
  min-width: 0;
  height: auto;
  min-height: 0;
}
#wrapper .tremml-product-card .thumbnail-top {
  flex-shrink: 0;
  padding: 10px;
  background: #fff;
}
#wrapper .tremml-product-card .tremml-product-media,
#wrapper .tremml-product-card .product-thumbnail {
  background: #fff;
  border-radius: 10px;
  box-shadow: none;
  margin: 0;
}
#wrapper .tremml-product-card .product-thumbnail {
  aspect-ratio: 1;
  width: 100%;
}
#wrapper .tremml-product-card .product-thumbnail picture {
  display: block;
  height: 100%;
}
#wrapper .tremml-product-card .product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
/* The energy-class graphic must not inherit the product-image hover effect. */
#wrapper .tremml-product-card .cazzeek-energy-class-image {
  width: 72px;
  height: auto;
  transform: none;
  filter: none;
}
#wrapper .tremml-product-card .product-description {
  position: static;
  width: 100%;
  height: auto;
  flex: 1;
  gap: 20px;
  padding: 18px;
  text-align: left;
}
#wrapper .tremml-product-card .product-title {
  min-height: 2.8em;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  text-align: left;
  overflow-wrap: anywhere;
}
#wrapper .tremml-product-card .product-title a {
  font: inherit;
  color: #f7f7f2;
}
#wrapper .tremml-product-card .product-title a:hover {
  color: #f4e225;
}
#wrapper .tremml-product-card .tremml-product-reviews {
  min-height: 0;
}
#wrapper .tremml-product-card .tremml-product-bottom {
  gap: 14px;
}
#wrapper .tremml-product-card .product-price-and-shipping {
  justify-content: flex-start;
  text-align: left;
  padding-top: 16px;
}
#wrapper .tremml-product-card .price {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#wrapper .tremml-product-card .tremml-product-cta {
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  border-color: rgba(244, 226, 37, .4);
  background: rgba(244, 226, 37, .06);
  color: #f4e225;
  font-size: 14px;
}
#wrapper .tremml-product-card .tremml-product-cta:hover {
  background: #f4e225;
  color: #232323;
}
#wrapper .tremml-product-card a:focus-visible {
  outline: 3px solid #f4e225;
  outline-offset: -3px;
}
#wrapper .tremml-product-card .product-thumbnail:focus-visible {
  outline-color: #232323;
}
@media (min-width: 1200px) {
  .tremml-category-section--products #js-product-list .products.row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .tremml-category-section--products #js-product-list .products.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  #wrapper .tremml-product-card .product-thumbnail {
    aspect-ratio: 4 / 3;
  }
  #wrapper .tremml-product-card .product-description {
    gap: 16px;
  }
  #wrapper .tremml-product-card .product-title {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  #wrapper article.product-miniature,
  #wrapper .tremml-product-card img,
  #wrapper .tremml-product-card a {
    transition: none;
    transform: none;
  }
}
