/* Попап «Товар добавлен в корзину» */

/* Плавное opacity-появление вместо общего zoom-эффекта; ширина wrapper'а ограничена. */
.popUp.popUp--cart-added {
    transform: none;
    transition: opacity .25s ease, visibility .25s ease;
}
.popUp.popUp--cart-added .popUp__wrapper {
    flex: 0 0 auto;
    max-width: 480px;
    width: 100%;
}

.popUp__content--cart-added {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.cart-added__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-added__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1C1C1C;
    line-height: 1.3;
}

.cart-added__actions {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 4px;
}

.cart-added__continue,
.cart-added__go-to-cart {
    flex: 1 1 50%;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-added__continue {
    background: #fff;
    color: #008858;
    border: 1px solid #008858;
}
.cart-added__continue:hover {
    background: #E6F4EF;
    text-decoration: none;
}

.cart-added__go-to-cart {
    background: #008858;
    color: #fff;
    border: 1px solid #008858;
    text-decoration: none;
}
.cart-added__go-to-cart:hover {
    background: #007249;
    border-color: #007249;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 480px) {
    .popUp__content--cart-added {
        min-width: 0;
        width: 100%;
        padding: 32px 20px !important;
    }
    .cart-added__actions {
        flex-direction: column;
    }
    .cart-added__title {
        font-size: 18px;
    }
}
