/* Bannière info livraison — Boulangerie Cerise */

.cerise-delivery-notice {
    position: relative;
    margin: 0 0 22px;
    padding: 0;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #faf0f9 0%, #fff 55%, #fef8fe 100%);
    box-shadow: 0 4px 24px rgba(172, 1, 159, 0.12);
    border: 1px solid rgba(172, 1, 159, 0.18);
    animation: ceriseNoticeIn 0.45s ease;
}

.cerise-delivery-notice__accent {
    height: 4px;
    background: linear-gradient(90deg, #ac019f, #d042c6, #ac019f);
}

.cerise-delivery-notice__inner {
    padding: 18px 48px 18px 20px;
}

.cerise-delivery-notice__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(172, 1, 159, 0.08);
    color: #888;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.cerise-delivery-notice__close:hover {
    background: rgba(172, 1, 159, 0.15);
    color: #ac019f;
    transform: scale(1.05);
}

.cerise-delivery-notice__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cerise-delivery-notice__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(172, 1, 159, 0.15);
}

.cerise-delivery-notice__title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.02em;
}

.cerise-delivery-notice__lead {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #444;
}

.cerise-delivery-notice__lead strong {
    color: #ac019f;
}

.cerise-delivery-notice__badge {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    color: #fff;
    background: #ac019f;
    border-radius: 20px;
    vertical-align: middle;
}

.cerise-delivery-notice__zones-label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.cerise-delivery-notice__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.cerise-delivery-notice__cities li {
    margin: 0;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1.3;
    color: #333;
    background: #fff;
    border: 1px solid rgba(172, 1, 159, 0.2);
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cerise-delivery-notice__cities li span {
    color: #888;
    font-size: 11px;
}

.cerise-delivery-notice__footnote {
    margin: 0;
    padding-top: 10px;
    border-top: 1px dashed rgba(172, 1, 159, 0.2);
    font-size: 12px;
    font-style: italic;
    color: #777;
    line-height: 1.45;
}

@keyframes ceriseNoticeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .cerise-delivery-notice__inner {
        padding: 16px 40px 16px 16px;
    }

    .cerise-delivery-notice__title {
        font-size: 15px;
    }

    .cerise-delivery-notice__cities li {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* Barre d'étapes checkout — couleur Cerise (#ac019f) à la place du rouge */
ul#order_step li.step_current,
ul.step#order_step li.step_current,
ul.step li.step_current {
    background: #ac019f !important;
    border-top-color: #9b0190 !important;
    border-bottom-color: #6d0164 !important;
    border-right-color: #8a017f !important;
}

@media (min-width: 992px) {
    ul#order_step li.step_current span:after,
    ul.step#order_step li.step_current span:after,
    ul.step li.step_current span:after {
        background: url(../img/order-step-a-cerise.png) right 0 no-repeat !important;
    }
}

/* Confirmation date de livraison — couleur marque */
#delivery_record_insert.alert-success,
.box #delivery_record_insert {
    background-color: #ac019f !important;
    background-image: none !important;
    border-color: #8a017f !important;
    color: #fff !important;
    border-radius: 8px;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.15);
}

#delivery_record_insert.alert-success:before {
    color: #fff;
}
