/* Align the touch target with the image; keep a thin orange cross inset equally. */
.favorites-body .product-card > button.rp-favorites-remove {
    position: absolute;
    top: 1px !important;
    right: 1rem !important;
    left: auto !important;
    z-index: 3 !important;
    opacity: 1 !important;
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin: 0 !important;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 44px;
    text-shadow: none !important;
}
.favorites-body button.rp-favorites-remove::before {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    display: block;
    width: 15px;
    height: 15px;
    text-shadow: none !important;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.16));
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M1 1L19 19M19 1L1 19' fill='none' stroke='%23f55c37' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
}
.favorites-body button.rp-favorites-remove .mdi,
.favorites-body button.rp-favorites-remove .fav-count { display: none !important; }
.favorites-body button.rp-favorites-remove:focus-visible { outline: 3px solid #1f5da8; outline-offset: 3px; }

/* Return to the store from the empty favorites panel. */
.fav-empty .rp-favorites-shop {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    min-height: 44px;
    margin: 16px auto 0;
    background-color: #fff;
    border: 1px solid #cbd2d8;
    font-weight: 400;
}
.fav-empty .rp-favorites-shop:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}
.fav-empty .rp-favorites-shop:focus-visible {
    outline: 2px solid #1f5da8;
    outline-offset: 3px;
}
