/**
 * Rappel « commande en cours ».
 *
 * Cette feuille est chargée sur tout le site : elle ne déclare donc que ses
 * propres classes, et rien qui puisse déteindre sur le thème.
 */
.svmc-resume-notice {
    position: fixed;
    z-index: 9999;
    right: 22px;
    bottom: 22px;
    display: grid;
    gap: 4px;
    width: min(320px, calc(100vw - 32px));
    padding: 18px 42px 18px 20px;
    border: 1px solid #e2dff0;
    border-left: 4px solid #ef3f5c;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(32, 24, 79, .18);
    color: #20184f;
    font-size: 14px;
    line-height: 1.45;

    /* Point de départ de l'animation : la carte est posée mais invisible tant
     * que le script n'a pas confirmé qu'il y a bien quelque chose à reprendre. */
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .22s ease, transform .22s ease;
}
.svmc-resume-notice.is-visible { opacity: 1; transform: none; }

.svmc-resume-notice__title { font-size: 15px; font-weight: 750; line-height: 1.3; }
.svmc-resume-notice__summary { color: #6d6789; font-size: 13px; }
.svmc-resume-notice__step { color: #6d6789; font-size: 13px; }

.svmc-resume-notice__action {
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ef3f5c;
    color: #fff;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}
.svmc-resume-notice__action:hover,
.svmc-resume-notice__action:focus { background: #d93552; color: #fff; text-decoration: none; }

.svmc-resume-notice__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #6d6789;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.svmc-resume-notice__close:hover { background: #f4f2fb; color: #20184f; }

@media (max-width: 600px) {
    .svmc-resume-notice {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
    }
}

/* Un rappel qui glisse est une commodité, pas une information : il se pose sans
 * animation pour qui a demandé moins de mouvement à l'écran. */
@media (prefers-reduced-motion: reduce) {
    .svmc-resume-notice { transition: none; transform: none; }
}
