/* Add/remove notifications only. Desktop and all other TI dialogs are untouched. */
@media (max-width: 767px) {
    body .tinv-wishlist .tinvwl_added_to_wishlist.tinv-modal {
        z-index: 100000 !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist.tinv-modal .tinv-overlay {
        background: #10291b !important;
        opacity: .58 !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinv-cell {
        padding: 24px 16px !important;
        box-sizing: border-box !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinv-modal-inner {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 380px !important;
        max-height: calc(100vh - 48px) !important;
        max-height: calc(100dvh - 48px) !important;
        overflow-y: auto !important;
        margin: 0 auto !important;
        padding: 28px 24px 24px !important;
        border: 1px solid #d5e9da !important;
        border-top: 4px solid var(--sf-primary-dark, #15803d) !important;
        border-radius: 20px !important;
        background: #fff !important;
        color: #1e293b !important;
        text-align: center !important;
        box-shadow: 0 16px 48px rgba(10, 40, 22, .2) !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinv-modal-inner > :is(.icon_big_heart_check, .icon_big_times) {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        width: 72px !important;
        height: 72px !important;
        margin: 0 auto 20px !important;
        border: 1px solid #cce9d5 !important;
        border-radius: 50% !important;
        background: #f0fdf4 !important;
        color: #15803d !important;
        font-size: 40px !important;
        line-height: 1 !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinv-modal-inner > :is(.icon_big_heart_check, .icon_big_times)::before {
        top: 0 !important;
        left: 0 !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinv-txt {
        margin: 0 !important;
        color: #1e293b !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1.75 !important;
        overflow-wrap: anywhere !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinv-txt a {
        color: #15803d !important;
        text-decoration: underline !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinvwl-buttons-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin: 24px 0 0 !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinvwl-buttons-group .button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-height: 48px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 12px 16px !important;
        border: 1px solid #15803d !important;
        border-radius: 12px !important;
        background: #15803d !important;
        color: #fff !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.5 !important;
        white-space: normal !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        box-shadow: none !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinvwl-buttons-group .tinvwl_button_close {
        border-color: #c4decc !important;
        background: #f0fdf4 !important;
        color: #14532d !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinvwl-buttons-group .button:hover {
        background: #14532d !important;
        color: #fff !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinvwl-buttons-group .tinvwl_button_close:hover {
        background: #dcfce7 !important;
        color: #14532d !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinvwl-buttons-group .button:focus-visible {
        outline: 3px solid #15803d !important;
        outline-offset: 3px !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinvwl-buttons-group .button i {
        top: 0 !important;
        margin: 0 !important;
        color: inherit !important;
        font-size: 20px !important;
        line-height: 1 !important;
    }
    body .tinv-wishlist .tinvwl_added_to_wishlist .tinvwl-buttons-group .button i::before {
        top: 0 !important;
    }
    /* Follow the child theme's existing explicit dark-mode preference. */
    html.dark-mode body .tinv-wishlist .tinvwl_added_to_wishlist .tinv-modal-inner {
        background: #17251d !important;
        border-color: #34523e !important;
        border-top-color: #16a34a !important;
    }
    html.dark-mode body .tinv-wishlist .tinvwl_added_to_wishlist .tinv-txt {
        color: #f1f5f3 !important;
    }
    html.dark-mode body .tinv-wishlist .tinvwl_added_to_wishlist .tinv-txt a {
        color: #86efac !important;
    }
    html.dark-mode body .tinv-wishlist .tinvwl_added_to_wishlist .tinv-modal-inner > :is(.icon_big_heart_check, .icon_big_times),
    html.dark-mode body .tinv-wishlist .tinvwl_added_to_wishlist .tinvwl-buttons-group .tinvwl_button_close {
        background: #233b2c !important;
        border-color: #446d50 !important;
        color: #bbf7d0 !important;
    }
    html.dark-mode body .tinv-wishlist .tinvwl_added_to_wishlist .tinvwl-buttons-group .tinvwl_button_close:hover {
        background: #2d4d38 !important;
    }
}
