.cart-remove-modal {
    position: fixed;
    z-index: 100000;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px;

    box-sizing: border-box;

    background: rgba(0, 0, 0, .42);
}


.cart-remove-window {
    width: 100%;
    max-width: 510px;

    box-sizing: border-box;

    padding: 24px;

    background: #fff;

    border-radius: 16px;

    box-shadow:
            0 18px 60px rgba(0, 0, 0, .25);

    animation: cartRemoveShow .18s ease-out;
}


.cart-remove-title {
    margin-bottom: 10px;

    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;

    color: #222;
}


.cart-remove-text {
    margin-bottom: 22px;

    font-size: 16px;
    line-height: 1.5;

    color: #333;
}


.cart-remove-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 9px;
}


.cart-remove-buttons button {
    min-height: 42px;

    padding: 10px 16px;

    border: 0;
    border-radius: 9px;

    font-size: 15px;
    line-height: 1.2;

    cursor: pointer;

    transition:
            opacity .15s ease,
            transform .15s ease;
}


.cart-remove-buttons button:hover {
    opacity: .88;
}


.cart-remove-buttons button:active {
    transform: translateY(1px);
}


.cart-remove-keep {
    background: #eeeeee;
    color: #222;
}


.cart-remove-add {
    background: #e7f4e8;
    color: #176426;
}


.cart-remove-delete {
    background: #222;
    color: #fff;
}


/* -------------------------------------------------------
   TOAST
------------------------------------------------------- */

.cart-remove-toast {
    position: fixed;

    z-index: 100001;

    left: 50%;
    bottom: 25px;

    max-width: calc(100vw - 30px);

    box-sizing: border-box;

    padding: 12px 18px;

    border-radius: 12px;

    background: #222;
    color: #fff;

    font-size: 15px;
    line-height: 1.35;
    text-align: center;

    box-shadow:
            0 10px 35px rgba(0, 0, 0, .22);

    opacity: 0;

    transform:
            translate(-50%, 15px);

    transition:
            opacity .25s ease,
            transform .25s ease;

    pointer-events: none;
}


.cart-remove-toast.cart-remove-toast-show {
    opacity: 1;

    transform:
            translate(-50%, 0);
}


@keyframes cartRemoveShow {

    from {
        opacity: 0;

        transform:
                translateY(8px)
                scale(.96);
    }

    to {
        opacity: 1;

        transform:
                translateY(0)
                scale(1);
    }
}


@media (max-width: 560px) {

    .cart-remove-window {
        padding: 20px;
    }


    .cart-remove-title {
        font-size: 20px;
    }


    .cart-remove-text {
        font-size: 15px;
    }


    .cart-remove-buttons {
        flex-direction: column;
    }


    .cart-remove-buttons button {
        width: 100%;

        min-height: 46px;
    }


    /*
        На телефоні видалення навмисно останнє.
    */

    .cart-remove-delete {
        margin-top: 3px;
    }
}