/*
 * Product cards are navigation surfaces, not hover menus.
 * Keep the primary image stable and remove legacy overlay actions/tooltips.
 * Keep the wishlist as a clean, standalone heart without a decorative capsule.
 */
.product-cart-wrap:not(.small),
.zl-product-card {
    transform: none !important;
}

.product-cart-wrap:not(.small):hover,
.zl-product-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.product-cart-wrap:not(.small) .product-img-action-wrap > .product-action-1,
.zl-product-card .product-img-action-wrap > .product-action-1 {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    text-align: center !important;
    z-index: 6 !important;
}

/* Legacy aria-label tooltips were escaping the card and covering its price/title. */
.product-cart-wrap:not(.small) .product-action-1 .action-btn::before,
.product-cart-wrap:not(.small) .product-action-1 .action-btn::after,
.zl-product-card .product-action-1 .action-btn::before,
.zl-product-card .product-action-1 .action-btn::after {
    display: none !important;
    content: none !important;
}

.product-cart-wrap:not(.small) .product-action-1 .action-btn,
.product-cart-wrap:not(.small) .product-action-1 .action-btn:hover,
.product-cart-wrap:not(.small) .product-action-1 .action-btn:focus-visible,
.zl-product-card .product-action-1 .action-btn,
.zl-product-card .product-action-1 .action-btn:hover,
.zl-product-card .product-action-1 .action-btn:focus-visible {
    transform: none !important;
}

.product-cart-wrap:not(.small) .product-img-action-wrap > .product-action-1 .action-btn,
.product-cart-wrap:not(.small) .product-img-action-wrap > .product-action-1 .action-btn:hover,
.product-cart-wrap:not(.small) .product-img-action-wrap > .product-action-1 .action-btn:focus-visible,
.zl-product-card .product-img-action-wrap > .product-action-1 .action-btn,
.zl-product-card .product-img-action-wrap > .product-action-1 .action-btn:hover,
.zl-product-card .product-img-action-wrap > .product-action-1 .action-btn:focus-visible {
    border-color: transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #171717 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.product-cart-wrap:not(.small) .product-img-action-wrap > .product-action-1 .action-btn i,
.zl-product-card .product-img-action-wrap > .product-action-1 .action-btn i {
    color: inherit !important;
    font-size: 21px !important;
}

.product-cart-wrap:not(.small) .product-img-action-wrap > .product-action-1 .action-btn:focus-visible,
.zl-product-card .product-img-action-wrap > .product-action-1 .action-btn:focus-visible {
    outline: 2px solid #171717 !important;
    outline-offset: 2px;
}

.product-cart-wrap:not(.small) .product-img-action-wrap .product-img a img.hover-img,
.zl-product-card .product-img-action-wrap .product-img a img.hover-img {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.product-cart-wrap:not(.small) .product-img-action-wrap .product-img a img.default-img,
.product-cart-wrap:not(.small):hover .product-img-action-wrap .product-img a img.default-img,
.zl-product-card .product-img-action-wrap .product-img a img.default-img,
.zl-product-card:hover .product-img-action-wrap .product-img a img.default-img {
    opacity: 1 !important;
    visibility: visible !important;
}

.product-cart-wrap:not(.small) .product-img-action-wrap .product-img a,
.zl-product-card .product-img-action-wrap .product-img a,
.product-cart-wrap:not(.small) .product-content-wrap h2 a,
.zl-product-card .product-content-wrap h2 a {
    position: relative;
    z-index: 2;
    pointer-events: auto !important;
    touch-action: manipulation;
}

@media (hover: none), (pointer: coarse) {
    .product-cart-wrap:not(.small) .product-img-action-wrap > .product-action-1,
    .zl-product-card .product-img-action-wrap > .product-action-1 {
        display: flex !important;
    }

    .product-cart-wrap:not(.small),
    .product-cart-wrap:not(.small):hover,
    .zl-product-card,
    .zl-product-card:hover {
        transform: none !important;
    }

    .product-cart-wrap:not(.small) .product-img-action-wrap .product-img a img,
    .product-cart-wrap:not(.small):hover .product-img-action-wrap .product-img a img,
    .zl-product-card .product-img-action-wrap .product-img a img,
    .zl-product-card:hover .product-img-action-wrap .product-img a img {
        transition: none !important;
    }
}

@media (max-width: 767.98px) {
    .product-cart-wrap:not(.small) .product-img-action-wrap > .product-action-1,
    .zl-product-card .product-img-action-wrap > .product-action-1 {
        top: 7px !important;
        right: 7px !important;
        width: 36px !important;
        height: 36px !important;
    }

    .product-cart-wrap:not(.small) .product-img-action-wrap > .product-action-1 .action-btn,
    .zl-product-card .product-img-action-wrap > .product-action-1 .action-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }
}
