@charset "UTF-8";
/**
 * Canonical Engine-owned Product Card.
 *
 * This is the only file allowed to style Product Card category, media, hover,
 * Quick View/Compare overlay, title, price/rating and loop actions. Layout
 * modules may place cards in grids or rails but must not restyle these parts.
 */

.woocommerce ul.products li.product.stm-product-card,
.stm-product-card {
  position: relative;
  z-index: 1;
  isolation: isolate;
  align-self: start;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  transform: translateY(0);
  transition:
    transform var(--stm-product-card-hover-transition),
    z-index 0s;
}

.woocommerce ul.products li.product.stm-product-card > .stm-pl,
.stm-product-card > .stm-pl {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: auto;
  align-content: start;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
  padding:
    max(0px, calc(var(--stm-product-card-padding) - var(--stm-product-card-top-reduction)))
    var(--stm-product-card-padding)
    var(--stm-product-card-bottom-padding);
  overflow: visible;
  border: var(--stm-product-card-border);
  border-radius: var(--stm-product-card-radius);
  background: var(--stm-product-card-bg);
  box-shadow: none;
  transition:
    box-shadow var(--stm-product-card-hover-transition),
    background-color var(--stm-product-card-hover-transition);
}

/* Category / reusable metadata link role. */
.stm-pl__catwrap {
  min-width: 0;
  margin: 0 0 var(--stm-product-card-category-gap);
  padding: 0;
}

.stm-pl__cat {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--stm-product-category-color);
  font-size: var(--stm-product-card-category-size);
  font-weight: var(--stm-product-card-category-weight);
  line-height: var(--stm-product-category-line-height);
  letter-spacing: var(--stm-letter-wide);
  text-decoration: none;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.stm-pl__cat:hover,
.stm-pl__cat:focus-visible {
  color: var(--stm-product-category-hover);
  text-decoration: underline;
  text-decoration-thickness: var(--stm-link-underline-thickness);
  text-underline-offset: var(--stm-product-link-underline-offset);
}

/* Media. */
.stm-pl__media-shell {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--stm-product-media-bg);
}

.stm-pl__media-shell::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: var(--stm-product-media-hover-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--stm-product-card-hover-transition);
}

.stm-pl__media-link {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.stm-pl__media {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  aspect-ratio: var(--stm-product-media-ratio);
  place-items: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--stm-product-media-bg);
}

.stm-pl__media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: contain;
  filter: none;
  transform: scale(1);
  transition:
    filter var(--stm-product-card-hover-transition),
    transform var(--stm-product-card-hover-transition);
}

.stm-pl__media-actions {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--stm-product-media-action-gap);
  pointer-events: none;
  transform: translateY(var(--stm-product-media-actions-offset-y));
}

.stm-pl__media-actions button,
.stm-pl__media-actions a {
  pointer-events: auto;
}

.stm-pl__media-actions .stm-qv-btn,
.stm-pl__media-actions .stm-qv-trigger,
.stm-pl__media-actions .stm-compare-btn--overlay {
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(var(--stm-product-media-action-rest-scale));
  transition:
    opacity var(--stm-product-card-hover-transition),
    transform var(--stm-product-card-hover-transition),
    background-color var(--stm-commerce-transition),
    border-color var(--stm-commerce-transition),
    color var(--stm-commerce-transition);
}

.stm-pl__media-actions .stm-qv-btn,
.stm-pl__media-actions .stm-qv-trigger {
  position: relative;
  display: inline-flex;
  width: auto;
  min-width: 0;
  height: var(--stm-product-quickview-height);
  min-height: var(--stm-product-quickview-height);
  align-items: center;
  justify-content: center;
  gap: var(--stm-space-2);
  padding: 0 var(--stm-product-quickview-padding-x);
  border: var(--stm-border-width) solid var(--stm-commerce-primary);
  border-radius: var(--stm-radius-pill);
  background: var(--stm-commerce-primary);
  color: var(--stm-commerce-button-text);
  font-family: var(--stm-commerce-font);
  font-size: var(--stm-product-quickview-font-size);
  font-weight: var(--stm-weight-bold);
  line-height: 1;
  white-space: nowrap;
}

.stm-pl__media-actions .stm-qv-btn::before,
.stm-pl__media-actions .stm-qv-trigger::before {
  content: "";
  display: block;
  flex: 0 0 var(--stm-product-quickview-icon-size);
  width: var(--stm-product-quickview-icon-size);
  height: var(--stm-product-quickview-icon-size);
  background: currentColor;
  -webkit-mask: url("../icons/eye.svg") center / contain no-repeat;
  mask: url("../icons/eye.svg") center / contain no-repeat;
}

.stm-pl__media-actions .stm-qv-btn::after,
.stm-pl__media-actions .stm-qv-trigger::after {
  display: none;
  content: none;
}

.stm-pl__media-actions .stm-compare-btn--overlay {
  display: grid;
  width: var(--stm-product-media-action-size);
  min-width: var(--stm-product-media-action-size);
  height: var(--stm-product-media-action-size);
  min-height: var(--stm-product-media-action-size);
  place-items: center;
  padding: 0;
  border: var(--stm-border-width) solid var(--stm-commerce-primary);
  border-radius: 50%;
  background: var(--stm-commerce-primary);
  color: var(--stm-commerce-button-text);
}

.stm-pl__media-actions .stm-qv-btn:hover,
.stm-pl__media-actions .stm-qv-btn:focus-visible,
.stm-pl__media-actions .stm-qv-trigger:hover,
.stm-pl__media-actions .stm-qv-trigger:focus-visible,
.stm-pl__media-actions .stm-compare-btn--overlay:hover,
.stm-pl__media-actions .stm-compare-btn--overlay:focus-visible {
  border-color: var(--stm-commerce-primary-deep);
  background: var(--stm-commerce-primary-deep);
  color: var(--stm-commerce-button-text);
}

.stm-pl__media-actions .stm-compare-btn--overlay[aria-pressed="true"] {
  border-color: var(--stm-commerce-primary-deep);
  background: var(--stm-commerce-primary-deep);
  color: var(--stm-commerce-button-text);
}

.stm-pl__media-actions .stm-compare-btn__ico {
  display: block;
  width: var(--stm-icon-size-md);
  height: var(--stm-icon-size-md);
  background: currentColor;
  -webkit-mask: url("../icons/compare.svg") center / contain no-repeat;
  mask: url("../icons/compare.svg") center / contain no-repeat;
}

/* Semantic rows. */
.stm-pl__row {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: var(--stm-product-inline-gap);
  margin: 0;
  padding: 0;
  background: transparent;
}

.stm-pl__row--title {
  align-items: flex-start;
  margin: var(--stm-product-title-gap-top) 0 0;
}

.stm-pl__heading {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.stm-pl__title {
  display: -webkit-box;
  width: 100%;
  min-width: 0;
  max-height: calc(var(--stm-product-title-line-height) * 2em);
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--stm-product-title-color);
  font-family: var(--stm-commerce-font);
  font-size: var(--stm-product-title-size);
  font-weight: var(--stm-product-title-weight);
  line-height: var(--stm-product-title-line-height);
  letter-spacing: var(--stm-letter-tight);
  overflow-wrap: anywhere;
  text-decoration: none;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--stm-product-title-lines);
  transition:
    color var(--stm-commerce-transition),
    text-decoration-color var(--stm-commerce-transition);
}

.stm-pl__title:hover,
.stm-pl__title:focus-visible {
  color: var(--stm-product-title-hover);
  text-decoration: underline;
  text-decoration-thickness: var(--stm-link-underline-thickness);
  text-underline-offset: var(--stm-product-link-underline-offset);
}

.stm-pl__row--meta {
  align-items: flex-end;
  margin-top: var(--stm-product-meta-gap-top);
}

.stm-pl__row--actions {
  align-items: center;
  justify-content: space-between;
  margin-top: var(--stm-product-actions-gap-top);
  margin-bottom: 0;
  padding: 0;
}

/* Price. */
.stm-pl__price,
.stm-price-stack {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.stm-price-stack__old,
.stm-price-stack__range-min {
  position: absolute;
  left: 0;
  bottom: calc(100% + var(--stm-product-price-old-offset));
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.stm-price-stack__old,
.stm-price-stack__old .amount {
  color: var(--stm-commerce-danger);
  font-size: var(--stm-product-price-small-size);
  font-weight: var(--stm-weight-semibold);
  line-height: 1.1;
  text-decoration: line-through;
}

.stm-price-stack__range-min,
.stm-price-stack__range-min .amount {
  color: var(--stm-commerce-muted);
  font-size: var(--stm-product-price-small-size);
  font-weight: var(--stm-weight-semibold);
  line-height: 1.1;
}

.stm-price-stack__current {
  display: block;
  margin: 0;
  padding: 0;
}

.stm-price-stack__current,
.stm-price-stack__current .amount {
  color: var(--stm-commerce-heading);
  font-size: var(--stm-product-price-size);
  font-weight: var(--stm-product-price-weight);
  line-height: 1.15;
}

/* Official WooCommerce rating. */
.stm-pl__rating {
  flex: 0 0 auto;
  align-self: flex-end;
  margin: 0 0 1px auto;
  padding: 0;
  line-height: 1;
}

.woocommerce ul.products li.product.stm-product-card .stm-pl__rating .star-rating,
.woocommerce .stm-product-card .stm-pl__rating .star-rating,
.stm-product-card .stm-pl__rating .star-rating {
  float: none;
  width: 5.4em;
  height: 1em;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--stm-product-rating-color);
  font-size: var(--stm-product-rating-size);
  line-height: 1;
  letter-spacing: 0;
}

.woocommerce .stm-product-card .stm-pl__rating .star-rating::before,
.stm-product-card .stm-pl__rating .star-rating::before {
  color: var(--stm-product-rating-empty);
  opacity: 1;
}

.woocommerce .stm-product-card .stm-pl__rating .star-rating span::before,
.stm-product-card .stm-pl__rating .star-rating span::before {
  color: var(--stm-product-rating-color);
}

/* Wishlist. */
.stm-product-card .stm-pl__wish,
.stm-product-card .stm-pl-action--wishlist {
  display: grid;
  width: var(--stm-product-wishlist-button-size);
  min-width: var(--stm-product-wishlist-button-size);
  height: var(--stm-product-wishlist-button-size);
  min-height: var(--stm-product-wishlist-button-size);
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--stm-commerce-heading);
  line-height: 0;
  cursor: pointer;
}

.stm-product-card .stm-pl__wish:hover,
.stm-product-card .stm-pl__wish:focus-visible,
.stm-product-card .stm-pl-action--wishlist:hover,
.stm-product-card .stm-pl-action--wishlist:focus-visible {
  border-color: transparent;
  background: transparent;
  color: var(--stm-commerce-primary-deep);
}

.stm-product-card .stm-pl__icon--wish,
.stm-product-card .stm-pl-action--wishlist::before {
  content: "";
  display: block;
  width: var(--stm-product-wishlist-icon-size);
  height: var(--stm-product-wishlist-icon-size);
  margin: 0;
  background: currentColor;
  -webkit-mask: url("../icons/wishlist.svg") center / contain no-repeat;
  mask: url("../icons/wishlist.svg") center / contain no-repeat;
}

.stm-product-card .stm-pl__wish.is-active .stm-pl__icon--wish,
.stm-product-card .stm-pl-action--wishlist.is-added::before {
  background: var(--stm-commerce-success);
  -webkit-mask-image: url("../icons/wishlist-filled.svg");
  mask-image: url("../icons/wishlist-filled.svg");
}

/* Add to cart. */
.stm-product-card .stm-pl__atc {
  box-sizing: border-box;
  display: grid;
  flex: 0 0 var(--stm-product-atc-button-size);
  width: var(--stm-product-atc-button-size);
  min-width: var(--stm-product-atc-button-size);
  height: var(--stm-product-atc-button-size);
  min-height: var(--stm-product-atc-button-size);
  place-items: center;
  margin: 0 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: var(--stm-border-width) solid var(--stm-commerce-primary);
  border-radius: 50%;
  background: var(--stm-commerce-primary);
  color: var(--stm-commerce-button-text);
  font-size: 0;
  line-height: 0;
  text-align: center;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  vertical-align: middle;
  transition:
    background-color var(--stm-commerce-transition),
    border-color var(--stm-commerce-transition),
    color var(--stm-commerce-transition),
    transform var(--stm-commerce-transition);
}

.stm-product-card .stm-pl__atc:hover,
.stm-product-card .stm-pl__atc:focus-visible {
  border-color: var(--stm-commerce-primary-deep);
  background: var(--stm-commerce-primary-deep);
  color: var(--stm-commerce-button-text);
}

.stm-product-card .stm-pl__atc.is-added,
.stm-product-card .stm-pl__atc.is-added:hover,
.stm-product-card .stm-pl__atc.is-added:focus-visible {
  border-color: var(--stm-product-atc-added-bg);
  background: var(--stm-product-atc-added-hover);
  color: var(--stm-product-atc-added-text);
}

.stm-product-card .stm-pl__atc:not(.stm-sold-btn)::before,
.stm-product-card .stm-pl__atc:not(.stm-sold-btn)::after {
  display: none;
  content: none;
}

.stm-product-card .stm-pl__atc.stm-sold-btn {
  display: inline-flex;
  width: auto;
  min-width: var(--stm-product-atc-button-size);
  padding-inline: var(--stm-space-2);
  border-color: var(--stm-product-sold-bg);
  border-radius: var(--stm-radius-pill);
  background: var(--stm-product-sold-bg);
  color: var(--stm-product-sold-text);
  cursor: not-allowed;
  font-size: var(--stm-product-sold-font-size);
  line-height: 1;
  opacity: 1;
}

.stm-product-card .stm-pl__atc.stm-sold-btn::after {
  content: attr(data-sold-label);
  display: inline-block;
  color: var(--stm-product-sold-text);
  font-size: var(--stm-product-sold-font-size);
  font-weight: var(--stm-button-font-weight);
  line-height: 1;
  letter-spacing: var(--stm-letter-wide);
  text-transform: uppercase;
}

.stm-pl__icon {
  display: block;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.stm-pl__icon--atc {
  display: block;
  align-self: center;
  justify-self: center;
  width: var(--stm-product-atc-icon-size);
  height: var(--stm-product-atc-icon-size);
  margin: 0;
  background: currentColor;
  transform: translate(
    var(--stm-product-atc-icon-offset-x),
    var(--stm-product-atc-icon-offset-y)
  );
  -webkit-mask: url("../icons/cart.svg") center / contain no-repeat;
  mask: url("../icons/cart.svg") center / contain no-repeat;
}

.stm-pl__atc.is-added .stm-pl__icon--atc {
  -webkit-mask-image: url("../icons/tick.svg");
  mask-image: url("../icons/tick.svg");
}

.stm-pl-action--wishlist.is-loading,
.stm-pl__atc.is-loading {
  pointer-events: none;
  opacity: var(--stm-loading-opacity);
}

/* Sale badge. */
.woocommerce ul.products li.product .stm-pl__media span.onsale.stm-sale-badge {
  position: absolute;
  z-index: 4;
  top: var(--stm-product-sale-badge-top);
  right: var(--stm-product-sale-badge-right);
  left: auto;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0;
  padding:
    var(--stm-product-sale-badge-padding-y)
    var(--stm-product-sale-badge-padding-x);
  border: 0;
  border-radius: var(--stm-product-sale-badge-radius);
  background: var(--stm-product-sale-badge-bg);
  box-shadow: var(--stm-product-sale-badge-shadow);
  color: var(--stm-product-sale-badge-text);
  font-size: var(--stm-product-sale-badge-font-size);
  font-weight: var(--stm-weight-bold);
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Global hover and keyboard focus. */
@media (hover: hover) and (pointer: fine) {
  .woocommerce ul.products li.product.stm-product-card:hover,
  .stm-product-card:hover {
    z-index: var(--stm-product-card-hover-z);
    transform: translateY(var(--stm-product-card-hover-lift));
  }

  .woocommerce ul.products li.product.stm-product-card:hover > .stm-pl,
  .stm-product-card:hover > .stm-pl {
    box-shadow: var(--stm-product-card-hover-shadow);
  }

  .stm-pl__media-shell:hover::after {
    opacity: 1;
  }

  .stm-pl__media-shell:hover .stm-pl__media img {
    filter: var(--stm-product-card-hover-media-filter);
    transform: scale(var(--stm-product-media-image-hover-scale));
  }

  .stm-pl__media-shell:hover .stm-pl__media-actions .stm-compare-btn--overlay,
  .stm-pl__media-shell:hover .stm-pl__media-actions .stm-qv-btn,
  .stm-pl__media-shell:hover .stm-pl__media-actions .stm-qv-trigger {
    opacity: 1;
    pointer-events: auto;
    transform: scale(var(--stm-product-media-action-hover-scale));
  }
}

.stm-product-card:focus-within {
  z-index: var(--stm-product-card-hover-z);
  transform: translateY(var(--stm-product-card-hover-lift));
}

.stm-product-card:focus-within > .stm-pl {
  box-shadow: var(--stm-product-card-hover-shadow);
}

.stm-pl__media-shell:focus-within::after {
  opacity: 1;
}

.stm-pl__media-shell:focus-within .stm-pl__media-actions .stm-compare-btn--overlay,
.stm-pl__media-shell:focus-within .stm-pl__media-actions .stm-qv-btn,
.stm-pl__media-shell:focus-within .stm-pl__media-actions .stm-qv-trigger {
  opacity: 1;
  pointer-events: auto;
  transform: scale(var(--stm-product-media-action-hover-scale));
}


  html[data-stm-layout="mobile"] .stm-product-card > .stm-pl{
    padding:
      max(0px, calc(var(--stm-product-card-padding-mobile) - var(--stm-product-card-top-reduction)))
      var(--stm-product-card-padding-mobile)
      var(--stm-product-card-bottom-padding);
  }

  html[data-stm-layout="mobile"] .stm-product-card .stm-pl__atc{
    flex-basis: var(--stm-product-atc-button-size-mobile);
    width: var(--stm-product-atc-button-size-mobile);
    min-width: var(--stm-product-atc-button-size-mobile);
    height: var(--stm-product-atc-button-size-mobile);
    min-height: var(--stm-product-atc-button-size-mobile);
  }

