/* Leos Wear v1.9.142.12
   Product-card Wishlist presentation parity for Offers and Collections.
   Wishlist state, storage, events and navigation remain owned by app.js. */

:is(.offer-product-card .offer-product-image, .collection-card .collection-card-image) > .product-wishlist-btn {
    position: absolute !important;
    top: auto !important;
    right: 12px !important;
    bottom: 12px !important;
    left: auto !important;
    z-index: 12 !important;
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 40px !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, .94) !important;
    color: #222 !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .10) !important;
    line-height: 1 !important;
    cursor: pointer;
    overflow: hidden;
    -webkit-appearance: none;
    appearance: none;
}

:is(.offer-product-card .offer-product-image, .collection-card .collection-card-image) > .product-wishlist-btn svg,
:is(.offer-product-card .offer-product-image, .collection-card .collection-card-image) > .product-wishlist-btn i {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    flex: 0 0 20px !important;
    stroke-width: 2 !important;
}

:is(.offer-product-card .offer-product-image, .collection-card .collection-card-image) > .product-wishlist-btn:hover,
:is(.offer-product-card .offer-product-image, .collection-card .collection-card-image) > .product-wishlist-btn:focus-visible {
    background: #fff !important;
    color: #e63946 !important;
}

:is(.offer-product-card .offer-product-image, .collection-card .collection-card-image) > .product-wishlist-btn.active {
    background: #fff !important;
    color: #ef3340 !important;
}

html[data-leos-dark-mode-ready="1"][data-theme="dark"]
:is(.offer-product-card .offer-product-image, .collection-card .collection-card-image) > .product-wishlist-btn {
    background: rgba(20, 23, 28, .94) !important;
    color: var(--lw-theme-text-1, #fff) !important;
    border: 1px solid var(--lw-theme-border-medium, rgba(255, 255, 255, .22)) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .30) !important;
}

html[data-leos-dark-mode-ready="1"][data-theme="dark"]
:is(.offer-product-card .offer-product-image, .collection-card .collection-card-image) > .product-wishlist-btn:hover,
html[data-leos-dark-mode-ready="1"][data-theme="dark"]
:is(.offer-product-card .offer-product-image, .collection-card .collection-card-image) > .product-wishlist-btn:focus-visible {
    background: var(--lw-theme-surface-3, #24282f) !important;
    color: var(--lw-theme-danger, #ff6f7b) !important;
}

html[data-leos-dark-mode-ready="1"][data-theme="dark"]
:is(.offer-product-card .offer-product-image, .collection-card .collection-card-image) > .product-wishlist-btn.active {
    background: var(--lw-theme-danger, #ef3340) !important;
    color: #fff !important;
    border-color: var(--lw-theme-danger, #ef3340) !important;
}

@media (max-width: 768px) {
    :is(.offer-product-card .offer-product-image, .collection-card .collection-card-image) > .product-wishlist-btn {
        right: 9px !important;
        bottom: 9px !important;
    }
}

@media (max-width: 360px) {
    :is(.offer-product-card .offer-product-image, .collection-card .collection-card-image) > .product-wishlist-btn {
        right: 8px !important;
        bottom: 8px !important;
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        flex-basis: 38px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    :is(.offer-product-card .offer-product-image, .collection-card .collection-card-image) > .product-wishlist-btn {
        transition: none !important;
    }
}
