/**
 * Wishlist button.
 *
 */
ul.products li.product {
  position: relative;
}

.wc-block-grid__products .wc-block-grid__product {
  position: relative;
}

.merchant-wishlist-button {
  position: absolute;
  top: var(--mrc-wl-button-position-top, 20px);
  right: var(--mrc-wl-button-position-left, 20px);
  z-index: 999;
}
.merchant-wishlist-button svg {
  fill: var(--mrc-wl-button-icon-fill-color, transparent);
  stroke: var(--mrc-wl-button-icon-stroke-color, #212121);
}
.merchant-wishlist-button svg path {
  fill: var(--mrc-wl-button-icon-fill-color, transparent);
  stroke: var(--mrc-wl-button-icon-stroke-color, #212121);
}
.merchant-wishlist-button:hover svg, .merchant-wishlist-button.active svg {
  fill: var(--mrc-wl-button-icon-fill-color-hover, #f04c4c);
  stroke: var(--mrc-wl-button-icon-stroke-color-hover, #212121);
}
.merchant-wishlist-button:hover svg path, .merchant-wishlist-button.active svg path {
  fill: var(--mrc-wl-button-icon-fill-color-hover, #f04c4c);
  stroke: var(--mrc-wl-button-icon-stroke-color-hover, #212121);
}
.merchant-wishlist-button:focus, .merchant-wishlist-button:active {
  outline: none;
}
.merchant-wishlist-button.merchant-wishlist-button-tooltip:before {
  content: attr(data-merchant-wishlist-tooltip);
  position: absolute;
  top: 50%;
  right: calc(100% + 15px);
  background: var(--mrc-wl-button-tooltip-background-color, #212121);
  color: var(--mrc-wl-button-tooltip-text-color, #FFF);
  padding: 5px 14px;
  font-size: 0.8rem;
  border-radius: var(--mrc-wl-button-tooltip-border-radius, 4px);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translate3d(0, -50%, 0);
          transform: translate3d(0, -50%, 0);
  -webkit-transition: ease opacity 300ms;
  transition: ease opacity 300ms;
}
.merchant-wishlist-button.merchant-wishlist-button-tooltip:after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + 9px);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid var(--mrc-wl-button-tooltip-background-color, #212121);
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translate3d(0, -50%, 0);
          transform: translate3d(0, -50%, 0);
  -webkit-transition: ease opacity 300ms;
  transition: ease opacity 300ms;
}
.merchant-wishlist-button.merchant-wishlist-button-tooltip:hover:before, .merchant-wishlist-button.merchant-wishlist-button-tooltip:hover:after {
  opacity: 1;
  visibility: visible;
}
.merchant-wishlist-button.merchant-wishlist-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 7px;
}

.summary.entry-summary .merchant-wishlist-button {
  position: relative;
  top: auto;
  right: auto;
  -webkit-transform: none;
          transform: none;
}

.merchant-wishlist-button__shortcode {
  position: static;
  -webkit-transform: none;
          transform: none;
  text-decoration: none !important;
}

.merchant-wishlist-section-cart {
  margin-block: 30px;
  clear: both;
}
.merchant-wishlist-section-cart .section-title {
  margin-bottom: 15px;
}

.woocommerce .merchant-wishlist-items-cart ul.products:not(.elementor-grid),
.woocommerce-page .merchant-wishlist-items-cart ul.products:not(.elementor-grid) {
  row-gap: 2em;
}