/* Reusable Woo Wishlist
   Neutral styling: no store/brand-specific names or colours.
*/

.rw-wishlist-button {
    -webkit-appearance: none;
    appearance: none;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    box-shadow: none;
    cursor: pointer;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.45));
    transition: color .15s ease, opacity .15s ease;
}

.rw-wishlist-button:hover {
    color: var(--awb-color5);
    transform: none;
}

.rw-wishlist-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.rw-wishlist-button svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.rw-wishlist-button.is-active {
    color: var(--awb-color5);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}

.rw-wishlist-button.is-active svg {
    fill: currentColor;
    stroke: currentColor;
}


.rw-wishlist-button.is-loading {
	opacity: .55;
	pointer-events: none;
}

/* Avada Post Card positioning.
   The JS moves the wishlist Text Block into the image wrapper so the
   heart is positioned relative to the image itself. */

.rw-wishlist-image-host {
    position: relative !important;
}

.product-wishlist-button {
    position: absolute !important;
    top: 10px;
    right: 10px;
    z-index: 50;
    width: 36px;
    height: 36px;
    margin: 0 !important;
}

.product-wishlist-button > p,
.product-wishlist-button .fusion-text,
.product-wishlist-button .fusion-text > p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.rw-wishlist-empty {
	padding: 36px 0;
	text-align: center;
	font-size: 15px;
}

.rw-wishlist-count {
	display: inline-block;
	min-width: 1ch;
}
