.mp-delivery-mode-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    padding: 7px 12px;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    box-sizing: border-box;
}

body.admin-bar .mp-delivery-mode-bar {
    top: 32px;
}

.mp-delivery-mode-bar-pickup {
    background: #2d8517;
}

.mp-delivery-mode-bar-delivery {
    background: #f5c400;
    color: #1f1f1f;
}

body.mp-mode-pickup,
body.mp-mode-delivery {
    padding-top: 28px;
}

body.admin-bar.mp-mode-pickup,
body.admin-bar.mp-mode-delivery {
    padding-top: 28px;
}

.mp-takeaway-price del {
    opacity: .65;
    margin-right: 6px;
}

.mp-takeaway-price ins {
    text-decoration: none;
    font-weight: 700;
}


/* Décale le header sticky Divi sous la barre de mode. */
body.mp-mode-pickup .mp-scroll-header,
body.mp-mode-delivery .mp-scroll-header,
body.mp-mode-pickup .et_pb_section.mp-scroll-header,
body.mp-mode-delivery .et_pb_section.mp-scroll-header,
body.mp-mode-pickup .et-l--header .et_pb_sticky,
body.mp-mode-delivery .et-l--header .et_pb_sticky,
body.mp-mode-pickup #main-header.et-fixed-header,
body.mp-mode-delivery #main-header.et-fixed-header {
    top: 28px !important;
}

body.admin-bar.mp-mode-pickup .mp-scroll-header,
body.admin-bar.mp-mode-delivery .mp-scroll-header,
body.admin-bar.mp-mode-pickup .et_pb_section.mp-scroll-header,
body.admin-bar.mp-mode-delivery .et_pb_section.mp-scroll-header,
body.admin-bar.mp-mode-pickup .et-l--header .et_pb_sticky,
body.admin-bar.mp-mode-delivery .et-l--header .et_pb_sticky,
body.admin-bar.mp-mode-pickup #main-header.et-fixed-header,
body.admin-bar.mp-mode-delivery #main-header.et-fixed-header {
    top: 60px !important;
}

/* Ne pas grossir la typo des prix Take away côté cartes produits. */
.mp-pizzas-loop .mp-price-takeaway,
.mp-pizzas-loop .mp-price-takeaway del,
.mp-pizzas-loop .mp-price-takeaway ins {
    font-size: inherit;
}

/* Pixemea 1.3.9 — message CP livraison non desservie. */
.mp-delivery-postcode-error {
    margin-top: 8px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-left: 4px solid #b81c23;
    background: #fff3f3;
    color: #7a1015;
    font-size: 14px;
    line-height: 1.4;
}

.mp-disabled-by-postcode {
    opacity: .55;
    cursor: not-allowed !important;
}


/* Pixemea 1.3.12 — message CP placé au-dessus du bouton Commander. */
.mp-delivery-postcode-button-error {
    display: block !important;
    width: 100% !important;
    max-width: 480px;
    box-sizing: border-box;
    clear: both;
    margin: 0 0 12px 0 !important;
}

form.checkout .mp-delivery-postcode-button-error,
.wc-block-checkout .mp-delivery-postcode-button-error {
    flex: 0 0 100% !important;
}
