/**
 * MABSTORE CHINA — Frontend v1.1.2
 *
 * Refonte design premium (Alibaba / application mobile moderne).
 * Couleurs officielles MABSTORE : rouge vif dominant, noir élégant,
 * blanc métallique argent, touches dorées. Aucune dépendance externe :
 * pile de polices système, SVG locaux uniquement.
 *
 * Toutes les classes utilisées par les templates, le JS (handlers AJAX,
 * timeline, toasts, squelettes) et le rendu PHP des cartes catalogue
 * (MBC_Ajax::render_product_card) sont conservées et stylées.
 */

/* ------------------------------------------------------------------ */
/* 1. Design tokens                                                    */
/* ------------------------------------------------------------------ */

.mbc-home,
.mbc-catalogue,
.mbc-request-form-wrap,
.mbc-calculator,
.mbc-tracking,
.mbc-account,
.mbc-notifications,
.mbc-bottom-nav {
    --mbc-red: #E30613;
    --mbc-red-dark: #B0050F;
    --mbc-red-deep: #7A040C;
    --mbc-red-soft: #FDECEC;
    --mbc-black: #111111;
    --mbc-ink: #1A1A1A;
    --mbc-white: #FFFFFF;
    --mbc-silver: #C0C0C0;
    --mbc-silver-light: #E8EAED;
    --mbc-gold: #C9A227;
    --mbc-gold-light: #F5E7B8;
    --mbc-bg: #F6F7F9;
    --mbc-surface: #FFFFFF;
    --mbc-border: #E8EAED;
    --mbc-text: #1A1A1A;
    --mbc-muted: #6B7280;
    --mbc-green: #15803D;
    --mbc-green-soft: #E7F6EC;
    --mbc-amber: #B45309;
    --mbc-amber-soft: #FDF3E3;
    --mbc-blue: #1D4ED8;
    --mbc-blue-soft: #E8EEFC;
    --mbc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --mbc-radius: 16px;
    --mbc-radius-lg: 20px;
    --mbc-radius-sm: 12px;
    --mbc-radius-pill: 999px;
    --mbc-shadow-sm: 0 1px 2px rgba(17, 17, 17, .06), 0 2px 8px rgba(17, 17, 17, .05);
    --mbc-shadow-md: 0 4px 14px rgba(17, 17, 17, .08), 0 12px 32px rgba(17, 17, 17, .08);
    --mbc-shadow-lg: 0 12px 32px rgba(17, 17, 17, .14), 0 24px 64px rgba(17, 17, 17, .12);
    --mbc-shadow-red: 0 8px 24px rgba(227, 6, 19, .35);
    --mbc-max: 1180px;
    --mbc-nav-h: 64px;
}

/* ------------------------------------------------------------------ */
/* 2. Base (scopée au plugin, sans toucher au thème)                   */
/* ------------------------------------------------------------------ */

.mbc-home,
.mbc-catalogue,
.mbc-request-form-wrap,
.mbc-calculator,
.mbc-tracking,
.mbc-account,
.mbc-notifications {
    font-family: var(--mbc-font);
    color: var(--mbc-text);
    font-size: 16px;
    line-height: 1.55;
    max-width: var(--mbc-max);
    margin-inline: auto;
    -webkit-font-smoothing: antialiased;
}

.mbc-home *,
.mbc-catalogue *,
.mbc-request-form-wrap *,
.mbc-calculator *,
.mbc-tracking *,
.mbc-account *,
.mbc-notifications *,
.mbc-bottom-nav * {
    box-sizing: border-box;
}

.mbc-home h1, .mbc-home h2, .mbc-home h3,
.mbc-catalogue h1, .mbc-catalogue h2, .mbc-catalogue h3,
.mbc-request-form-wrap h1, .mbc-request-form-wrap h2, .mbc-request-form-wrap h3,
.mbc-calculator h1, .mbc-calculator h2, .mbc-calculator h3,
.mbc-tracking h1, .mbc-tracking h2, .mbc-tracking h3,
.mbc-account h1, .mbc-account h2, .mbc-account h3,
.mbc-notifications h1, .mbc-notifications h2, .mbc-notifications h3 {
    font-family: var(--mbc-font);
    color: var(--mbc-ink);
    line-height: 1.2;
    letter-spacing: -.01em;
}

.mbc-home a, .mbc-catalogue a, .mbc-request-form-wrap a,
.mbc-calculator a, .mbc-tracking a, .mbc-account a, .mbc-notifications a {
    color: var(--mbc-red);
    text-decoration: none;
}

.mbc-home a:hover, .mbc-catalogue a:hover, .mbc-request-form-wrap a:hover,
.mbc-calculator a:hover, .mbc-tracking a:hover, .mbc-account a:hover,
.mbc-notifications a:hover {
    text-decoration: underline;
}

.mbc-page-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    margin: 0 0 .5rem;
}

.mbc-section-title {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 800;
    margin: 0 0 .25rem;
}

.mbc-section-sub {
    color: var(--mbc-muted);
    margin: 0 0 1.25rem;
}

.mbc-muted {
    color: var(--mbc-muted);
}

.mbc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mbc-icon {
    width: 20px;
    height: 20px;
    flex: none;
    vertical-align: -4px;
}

.mbc-icon--large {
    width: 56px;
    height: 56px;
}

.mbc-icon--small {
    width: 16px;
    height: 16px;
}

:focus-visible {
    outline: 3px solid rgba(227, 6, 19, .45);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ------------------------------------------------------------------ */
/* 3. Boutons                                                          */
/* ------------------------------------------------------------------ */

.mbc-btn,
.mbc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .65rem 1.35rem;
    border-radius: var(--mbc-radius-pill);
    border: 1.5px solid transparent;
    font-family: var(--mbc-font);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
    -webkit-tap-highlight-color: transparent;
}

.mbc-btn:hover,
.mbc-button:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.mbc-btn:active,
.mbc-button:active {
    transform: translateY(0) scale(.98);
}

.mbc-btn:disabled,
.mbc-button:disabled,
.mbc-btn[disabled],
.mbc-button[disabled] {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.mbc-btn--primary,
.mbc-button:not(.mbc-button--outline):not(.mbc-btn--secondary) {
    background: linear-gradient(135deg, #F20D1D 0%, var(--mbc-red) 45%, var(--mbc-red-dark) 100%);
    color: #fff;
    box-shadow: var(--mbc-shadow-red);
}

.mbc-btn--primary:hover,
.mbc-button:not(.mbc-button--outline):not(.mbc-btn--secondary):hover {
    box-shadow: 0 10px 28px rgba(227, 6, 19, .45);
}

/* v1.1.1 : les thèmes colorent les liens (`.entry-content a`) et
   écrasent le blanc des boutons primaires — les libellés devenaient
   rouge foncé sur fond rouge. Spécificité relevée pour les ancres. */
.mbc-home a.mbc-btn--primary,
.mbc-catalogue a.mbc-btn--primary,
.mbc-account a.mbc-btn--primary,
.mbc-request-form-wrap a.mbc-btn--primary,
.mbc-calculator a.mbc-btn--primary,
.mbc-tracking a.mbc-btn--primary,
.mbc-notifications a.mbc-btn--primary,
.woocommerce a.mbc-btn--primary {
    color: #fff;
}

/* v1.1.2 : exception — le bouton « Voir le catalogue » du hero est
   une pastille BLANCHE, son libellé doit rester rouge foncé (la règle
   ci-dessus l'avait rendu blanc sur blanc). */
.mbc-home .mbc-hero__actions a.mbc-btn--primary {
    color: var(--mbc-red-dark);
}

.mbc-btn--secondary,
.mbc-button--outline {
    background: var(--mbc-white);
    border-color: var(--mbc-silver-light);
    color: var(--mbc-ink);
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-btn--secondary:hover,
.mbc-button--outline:hover {
    border-color: var(--mbc-red);
    color: var(--mbc-red);
}

.mbc-btn--ghost {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
    box-shadow: none;
}

.mbc-btn--ghost:hover {
    background: rgba(255, 255, 255, .24);
    color: #fff;
}

.mbc-btn--danger {
    background: var(--mbc-white);
    border-color: #F3C2C2;
    color: var(--mbc-red);
    box-shadow: none;
}

.mbc-btn--danger:hover {
    background: var(--mbc-red-soft);
    border-color: var(--mbc-red);
}

.mbc-btn--small {
    min-height: 38px;
    padding: .45rem .95rem;
    font-size: .875rem;
}

.mbc-btn--block {
    display: flex;
    width: 100%;
}

.mbc-btn.is-armed,
.mbc-button.is-armed {
    background: linear-gradient(135deg, #B45309, #92400E);
    color: #fff;
    box-shadow: 0 8px 24px rgba(180, 83, 9, .35);
    animation: mbc-pulse 1s ease-in-out infinite;
}

@keyframes mbc-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.mbc-btn .mbc-icon,
.mbc-button .mbc-icon {
    width: 18px;
    height: 18px;
}

/* ------------------------------------------------------------------ */
/* 4. Badges                                                           */
/* ------------------------------------------------------------------ */

.mbc-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .28rem .7rem;
    border-radius: var(--mbc-radius-pill);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    background: var(--mbc-black);
    color: #fff;
}

.mbc-badge--attention {
    background: var(--mbc-amber-soft);
    color: var(--mbc-amber);
}

.mbc-badge--success,
.mbc-badge--done {
    background: var(--mbc-green-soft);
    color: var(--mbc-green);
}

.mbc-badge--pending {
    background: var(--mbc-amber-soft);
    color: var(--mbc-amber);
}

.mbc-badge--unread {
    background: var(--mbc-red);
    color: #fff;
    box-shadow: var(--mbc-shadow-red);
}

.mbc-badge--availability,
.mbc-badge--availability-available {
    background: var(--mbc-green-soft);
    color: var(--mbc-green);
}

.mbc-badge--availability-order_china {
    background: var(--mbc-blue-soft);
    color: var(--mbc-blue);
}

.mbc-badge--availability-on_demand {
    background: var(--mbc-gold-light);
    color: #7A5C00;
}

.mbc-notif-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 .35rem;
    border-radius: var(--mbc-radius-pill);
    background: var(--mbc-red);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
}

.mbc-notif-count.is-hidden {
    display: none;
}

/* ------------------------------------------------------------------ */
/* 5. Cartes génériques, alertes, états vides                          */
/* ------------------------------------------------------------------ */

.mbc-card {
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius-lg);
    box-shadow: var(--mbc-shadow-sm);
    padding: 1.25rem;
}

.mbc-card--hover {
    transition: transform .18s ease, box-shadow .18s ease;
}

.mbc-card--hover:hover {
    transform: translateY(-3px);
    box-shadow: var(--mbc-shadow-md);
}

.mbc-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 .5rem;
}

.mbc-alert {
    border-radius: var(--mbc-radius);
    padding: .9rem 1.1rem;
    font-size: .95rem;
    border: 1px solid transparent;
}

.mbc-alert--success {
    background: var(--mbc-green-soft);
    border-color: #BFE6CB;
    color: #14532D;
}

.mbc-alert--error {
    background: var(--mbc-red-soft);
    border-color: #F3C2C2;
    color: var(--mbc-red-dark);
}

.mbc-notice {
    background: var(--mbc-blue-soft);
    border: 1px solid #C7D6F7;
    color: #1E3A8A;
    border-radius: var(--mbc-radius);
    padding: 1rem 1.15rem;
}

.mbc-empty {
    text-align: center;
    background: var(--mbc-surface);
    border: 1.5px dashed var(--mbc-silver-light);
    border-radius: var(--mbc-radius-lg);
    padding: 2.5rem 1.5rem;
}

.mbc-empty .mbc-icon--large {
    color: var(--mbc-silver);
    margin-bottom: .75rem;
}

.mbc-empty__title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 .35rem;
}

.mbc-empty__text {
    color: var(--mbc-muted);
    margin: 0 auto 1rem;
    max-width: 34rem;
}

.mbc-empty__illustration {
    max-width: 180px;
    margin: 0 auto .75rem;
}

/* ------------------------------------------------------------------ */
/* 6. Formulaires                                                      */
/* ------------------------------------------------------------------ */

.mbc-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.mbc-fieldset {
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius-lg);
    background: var(--mbc-surface);
    padding: 1.25rem;
    margin: 0;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-fieldset legend {
    font-weight: 800;
    font-size: 1rem;
    padding: 0 .5rem;
    color: var(--mbc-ink);
}

.mbc-field {
    margin: 0 0 .95rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.mbc-field:last-child {
    margin-bottom: 0;
}

.mbc-field label,
.mbc-field__label {
    font-weight: 700;
    font-size: .92rem;
    color: var(--mbc-ink);
}

.mbc-field label .mbc-field__required {
    color: var(--mbc-red);
}

.mbc-field input[type="text"],
.mbc-field input[type="email"],
.mbc-field input[type="tel"],
.mbc-field input[type="url"],
.mbc-field input[type="number"],
.mbc-field input[type="search"],
.mbc-field input[type="date"],
.mbc-field select,
.mbc-field textarea,
.mbc-input,
.mbc-select,
.mbc-textarea {
    width: 100%;
    min-height: 48px;
    padding: .7rem .9rem;
    border: 1.5px solid var(--mbc-silver-light);
    border-radius: var(--mbc-radius-sm);
    background: #fff;
    font-family: var(--mbc-font);
    font-size: 1rem;
    color: var(--mbc-text);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.mbc-field textarea,
.mbc-textarea {
    min-height: 96px;
    resize: vertical;
}

.mbc-field input:focus,
.mbc-field select:focus,
.mbc-field textarea:focus,
.mbc-input:focus,
.mbc-select:focus,
.mbc-textarea:focus {
    outline: none;
    border-color: var(--mbc-red);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, .15);
}

.mbc-field--error input,
.mbc-field--error select,
.mbc-field--error textarea {
    border-color: var(--mbc-red);
}

.mbc-field__error {
    color: var(--mbc-red);
    font-size: .85rem;
    font-weight: 600;
}

.mbc-field__help {
    color: var(--mbc-muted);
    font-size: .85rem;
}

.mbc-field--radio {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .6rem;
}

.mbc-field--radio label {
    flex: 1 1 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 52px;
    padding: .6rem .8rem;
    border: 1.5px solid var(--mbc-silver-light);
    border-radius: var(--mbc-radius);
    cursor: pointer;
    font-weight: 700;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.mbc-field--radio label:has(input:checked) {
    border-color: var(--mbc-red);
    background: var(--mbc-red-soft);
    color: var(--mbc-red-dark);
}

.mbc-field--radio input[type="radio"] {
    accent-color: var(--mbc-red);
    width: 18px;
    height: 18px;
    margin: 0;
}

.mbc-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 0;
}

.mbc-form-note {
    color: var(--mbc-muted);
    font-size: .92rem;
    margin: 0;
}

.mbc-form-message {
    min-height: 1rem;
}

.mbc-radio-group {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.mbc-radio-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1rem;
    border: 1.5px solid var(--mbc-silver-light);
    border-radius: var(--mbc-radius-pill);
    font-weight: 700;
    cursor: pointer;
}

.mbc-radio-pill input {
    accent-color: var(--mbc-red);
}

.mbc-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: .9rem;
}

@media (min-width: 640px) {
    .mbc-form-row--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tableaux */
.mbc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius);
    overflow: hidden;
    font-size: .93rem;
}

.mbc-table th,
.mbc-table td {
    padding: .75rem .9rem;
    text-align: left;
    border-bottom: 1px solid var(--mbc-border);
}

.mbc-table thead th {
    background: var(--mbc-bg);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--mbc-muted);
}

.mbc-table tbody tr:last-child td {
    border-bottom: 0;
}

.mbc-table tbody tr:hover td {
    background: #FAFAFB;
}

.mbc-table-wrap {
    overflow-x: auto;
    border-radius: var(--mbc-radius);
}

/* ------------------------------------------------------------------ */
/* 7. Barre app (en-tête façon application)                            */
/* ------------------------------------------------------------------ */

.mbc-appbar {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem .9rem;
    margin-bottom: 1rem;
    border-radius: var(--mbc-radius-lg);
    background: linear-gradient(120deg, var(--mbc-black) 0%, #262626 55%, var(--mbc-red-dark) 130%);
    color: #fff;
    box-shadow: var(--mbc-shadow-md);
}

.mbc-appbar__brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    flex: none;
    color: #fff;
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: .02em;
    white-space: nowrap;
}

.mbc-appbar__brand:hover {
    text-decoration: none;
    color: #fff;
}

.mbc-appbar__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F20D1D, var(--mbc-red-dark));
    box-shadow: 0 4px 12px rgba(227, 6, 19, .5), inset 0 1px 0 rgba(255, 255, 255, .35);
    color: #fff;
    overflow: hidden;
}

.mbc-appbar__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.mbc-appbar__logo .mbc-icon {
    width: 22px;
    height: 22px;
}

.mbc-appbar__brand em {
    font-style: normal;
    color: var(--mbc-gold-light);
}

.mbc-appbar__search {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
    background: rgba(255, 255, 255, .96);
    border-radius: var(--mbc-radius-pill);
    padding: .15rem .15rem .15rem .85rem;
}

.mbc-appbar__search .mbc-icon {
    color: var(--mbc-muted);
}

.mbc-appbar__search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    font-family: var(--mbc-font);
    font-size: .95rem;
    color: var(--mbc-text);
    padding: .45rem 0;
}

.mbc-appbar__search input:focus {
    outline: none;
}

.mbc-appbar__search .mbc-btn {
    min-height: 38px;
    padding: .45rem 1rem;
    font-size: .88rem;
    flex: none;
}

.mbc-appbar__links {
    display: none;
    align-items: center;
    gap: .35rem;
    flex: none;
}

.mbc-appbar__links a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .7rem;
    border-radius: var(--mbc-radius-pill);
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    background: rgba(255, 255, 255, .1);
}

.mbc-appbar__links a:hover {
    background: rgba(255, 255, 255, .2);
    text-decoration: none;
}

@media (min-width: 768px) {
    .mbc-appbar__links {
        display: inline-flex;
    }
}

/* ------------------------------------------------------------------ */
/* 8. Accueil : hero                                                   */
/* ------------------------------------------------------------------ */

.mbc-home {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mbc-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(120% 140% at 88% -10%, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 42%),
        radial-gradient(90% 120% at 0% 110%, rgba(201, 162, 39, .35) 0%, rgba(201, 162, 39, 0) 45%),
        linear-gradient(125deg, #F20D1D 0%, var(--mbc-red) 42%, var(--mbc-red-dark) 78%, var(--mbc-red-deep) 100%);
    color: #fff;
    padding: 1.75rem 1.4rem;
    box-shadow: var(--mbc-shadow-lg);
}

.mbc-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px);
    pointer-events: none;
}

.mbc-hero__content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.mbc-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .32rem .8rem;
    border-radius: var(--mbc-radius-pill);
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .25);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--mbc-gold-light);
}

.mbc-hero h1,
.mbc-hero__title {
    color: #fff;
    font-size: clamp(1.7rem, 5.2vw, 2.7rem);
    font-weight: 900;
    line-height: 1.08;
    margin: .8rem 0 .6rem;
    text-wrap: balance;
}

.mbc-hero__subtitle {
    color: rgba(255, 255, 255, .92);
    font-size: 1.02rem;
    margin: 0 0 1.2rem;
    max-width: 34rem;
}

.mbc-hero__search {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: #fff;
    border-radius: var(--mbc-radius-pill);
    padding: .3rem .3rem .3rem 1rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
    margin-bottom: 1rem;
    max-width: 560px;
}

.mbc-hero__search .mbc-icon {
    color: var(--mbc-muted);
}

.mbc-hero__search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    font-family: var(--mbc-font);
    font-size: 1rem;
    color: var(--mbc-text);
    padding: .5rem 0;
}

.mbc-hero__search input:focus {
    outline: none;
}

.mbc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.mbc-hero__actions .mbc-btn--primary {
    background: #fff;
    color: var(--mbc-red-dark);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
}

.mbc-hero__actions .mbc-btn--primary:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}

.mbc-hero__image {
    display: none;
}

.mbc-hero__image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--mbc-radius-lg);
}

@media (min-width: 768px) {
    .mbc-hero {
        padding: 2.5rem 2.25rem;
        display: grid;
        grid-template-columns: 1.15fr .85fr;
        gap: 2rem;
        align-items: center;
    }

    .mbc-hero__image {
        display: block;
        position: relative;
        z-index: 1;
    }
}

/* Bandeau délais */
.mbc-promo {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
}

.mbc-promo__item {
    display: flex;
    align-items: center;
    gap: .8rem;
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius);
    padding: .85rem 1rem;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-promo__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 14px;
    background: var(--mbc-red-soft);
    color: var(--mbc-red);
}

.mbc-promo__icon .mbc-icon {
    width: 24px;
    height: 24px;
}

.mbc-promo__item strong {
    display: block;
    font-size: .95rem;
}

.mbc-promo__item span {
    color: var(--mbc-muted);
    font-size: .88rem;
}

@media (min-width: 768px) {
    .mbc-promo {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Compteurs */
.mbc-counters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .7rem;
}

.mbc-counter-card {
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius);
    padding: 1rem;
    text-align: center;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-counter-card__number {
    display: block;
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--mbc-red);
    line-height: 1.1;
}

.mbc-counter-card__label {
    font-size: .85rem;
    font-weight: 700;
    color: var(--mbc-muted);
}

@media (min-width: 768px) {
    .mbc-counters {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Sections d'accueil — le hero et le CTA final ont leur propre fond
   (rouge / noir) et ne doivent pas hériter de la carte blanche. */
.mbc-home section:not(.mbc-hero):not(.mbc-cta-final) {
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius-lg);
    padding: 1.4rem;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-home section.mbc-promo-wrap {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

/* Catégories */
.mbc-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .7rem;
}

.mbc-cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1rem .6rem;
    border-radius: var(--mbc-radius);
    background: var(--mbc-bg);
    border: 1px solid var(--mbc-border);
    color: var(--mbc-ink);
    font-weight: 700;
    font-size: .92rem;
    text-align: center;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.mbc-cat-tile:hover {
    transform: translateY(-2px);
    border-color: var(--mbc-red);
    box-shadow: var(--mbc-shadow-md);
    text-decoration: none;
    color: var(--mbc-red-dark);
}

.mbc-cat-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mbc-red), var(--mbc-red-dark));
    color: #fff;
    box-shadow: var(--mbc-shadow-red);
}

.mbc-cat-tile__icon .mbc-icon {
    width: 24px;
    height: 24px;
}

@media (min-width: 768px) {
    .mbc-cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Étapes */
.mbc-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
    counter-reset: mbc-step;
}

.mbc-step {
    position: relative;
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    background: var(--mbc-bg);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius);
    padding: 1rem;
}

.mbc-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mbc-red), var(--mbc-red-dark));
    color: #fff;
    font-weight: 900;
    font-size: 1.05rem;
    box-shadow: var(--mbc-shadow-red);
}

.mbc-step__icon {
    display: none;
}

.mbc-step h3 {
    font-size: 1rem;
    margin: 0 0 .2rem;
}

.mbc-step p {
    margin: 0;
    color: var(--mbc-muted);
    font-size: .92rem;
}

@media (min-width: 768px) {
    .mbc-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .mbc-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Confiance */
.mbc-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
}

.mbc-trust-item {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
}

.mbc-trust-item .mbc-promo__icon {
    background: var(--mbc-gold-light);
    color: #7A5C00;
}

.mbc-trust-item strong {
    display: block;
}

.mbc-trust-item p {
    margin: 0;
    color: var(--mbc-muted);
    font-size: .92rem;
}

@media (min-width: 768px) {
    .mbc-trust {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CTA connexion / final */
.mbc-cta-login {
    text-align: center;
}

.mbc-cta-login p {
    margin: 0 0 1rem;
}

.mbc-cta-login .mbc-btn {
    margin: .2rem;
}

.mbc-cta-final {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(120deg, var(--mbc-black) 0%, #262626 60%, var(--mbc-red-dark) 140%);
    color: #fff;
    padding: 2rem 1.5rem;
    text-align: center;
}

.mbc-cta-final h2 {
    color: #fff;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin: 0 0 .5rem;
}

.mbc-cta-final p {
    color: rgba(255, 255, 255, .85);
    margin: 0 auto 1.2rem;
    max-width: 30rem;
}

.mbc-cta-final .mbc-btn--primary {
    background: linear-gradient(135deg, #F20D1D, var(--mbc-red-dark));
}

/* Teaser calculateur / suivi sur l'accueil */
.mbc-home-calculator,
.mbc-home-tracking {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.mbc-home-calculator p,
.mbc-home-tracking p {
    margin: 0;
    color: var(--mbc-muted);
}

.mbc-tracking-mini {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.mbc-tracking-mini label {
    font-weight: 700;
}

.mbc-tracking-mini input {
    min-height: 48px;
    padding: .7rem .9rem;
    border: 1.5px solid var(--mbc-silver-light);
    border-radius: var(--mbc-radius-sm);
    font-family: var(--mbc-font);
    font-size: 1rem;
    width: 100%;
}

.mbc-tracking-mini input:focus {
    outline: none;
    border-color: var(--mbc-red);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, .15);
}

@media (min-width: 640px) {
    .mbc-tracking-mini {
        flex-direction: row;
        align-items: flex-end;
    }

    .mbc-tracking-mini .mbc-field {
        flex: 1 1 auto;
        margin: 0;
    }
}

/* ------------------------------------------------------------------ */
/* 9. Cartes produit (template + rendu AJAX)                           */
/* ------------------------------------------------------------------ */

.mbc-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .8rem;
}

@media (min-width: 768px) {
    .mbc-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .mbc-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mbc-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius-lg);
    overflow: hidden;
    box-shadow: var(--mbc-shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mbc-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mbc-shadow-md);
    border-color: #F0C4C7;
}

.mbc-product-card__link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    color: var(--mbc-ink);
}

.mbc-product-card__link:hover {
    text-decoration: none;
}

.mbc-product-card__image {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--mbc-bg);
    overflow: hidden;
}

.mbc-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.mbc-product-card:hover .mbc-product-card__image img {
    transform: scale(1.05);
}

.mbc-product-card__image:empty::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--mbc-red-soft), var(--mbc-bg)),
        var(--mbc-bg);
}

.mbc-product-card .mbc-badge {
    position: absolute;
    top: .6rem;
    left: .6rem;
    z-index: 2;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-product-card__title,
.mbc-product-card__name {
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.35;
    margin: .8rem .9rem .3rem;
    color: var(--mbc-ink);
}

.mbc-product-card__title a,
.mbc-product-card__name a {
    color: var(--mbc-ink);
}

.mbc-product-card__title a:hover,
.mbc-product-card__name a:hover {
    color: var(--mbc-red);
    text-decoration: none;
}

.mbc-product-card__price {
    margin: 0 .9rem .8rem;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--mbc-red);
}

.mbc-product-card__price del {
    color: var(--mbc-muted);
    font-weight: 600;
    font-size: .85rem;
    margin-right: .4rem;
}

.mbc-product-card__price .woocommerce-Price-currencySymbol {
    font-size: .85em;
}

.mbc-product-card__actions {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 0 .9rem .9rem;
    margin-top: auto;
}

.mbc-product-card__actions .mbc-button,
.mbc-product-card__actions .mbc-btn {
    width: 100%;
}

.mbc-product-card > .mbc-btn,
.mbc-product-card > .mbc-button {
    margin: 0 .9rem .9rem;
    margin-top: auto;
}

.mbc-featured__more {
    text-align: center;
    margin: 1.2rem 0 0;
}

/* ------------------------------------------------------------------ */
/* 10. Catalogue                                                       */
/* ------------------------------------------------------------------ */

.mbc-catalogue {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.mbc-catalogue-search {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--mbc-surface);
    border: 1.5px solid var(--mbc-border);
    border-radius: var(--mbc-radius-pill);
    padding: .3rem .3rem .3rem 1rem;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-catalogue-search:focus-within {
    border-color: var(--mbc-red);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, .15);
}

.mbc-catalogue-search .mbc-icon {
    color: var(--mbc-muted);
    flex: none;
}

.mbc-catalogue-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    font-family: var(--mbc-font);
    font-size: 1rem;
    color: var(--mbc-text);
    padding: .5rem 0;
}

.mbc-catalogue-search input[type="search"]:focus {
    outline: none;
}

.mbc-catalogue-search .mbc-btn {
    min-height: 40px;
    flex: none;
}

.mbc-catalogue-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
}

.mbc-catalogue-count {
    font-size: .9rem;
    color: var(--mbc-muted);
    font-weight: 600;
    margin: 0;
}

.mbc-catalogue-sort {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
    font-weight: 700;
    color: var(--mbc-muted);
}

.mbc-catalogue-sort select {
    min-height: 42px;
    padding: .45rem .7rem;
    border: 1.5px solid var(--mbc-silver-light);
    border-radius: var(--mbc-radius-pill);
    background: #fff;
    font-family: var(--mbc-font);
    font-size: .92rem;
    font-weight: 700;
    color: var(--mbc-ink);
    cursor: pointer;
}

.mbc-catalogue-sort select:focus {
    outline: none;
    border-color: var(--mbc-red);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, .15);
}

.mbc-cat-filters {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.mbc-cat-filter {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 40px;
    padding: .45rem 1rem;
    border-radius: var(--mbc-radius-pill);
    border: 1.5px solid var(--mbc-silver-light);
    background: var(--mbc-surface);
    color: var(--mbc-ink);
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.mbc-cat-filter:hover {
    border-color: var(--mbc-red);
    color: var(--mbc-red-dark);
    text-decoration: none;
}

.mbc-cat-filter.is-active {
    background: linear-gradient(135deg, var(--mbc-red), var(--mbc-red-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: var(--mbc-shadow-red);
}

.mbc-catalogue-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mbc-catalogue-results .mbc-skeleton--card {
    aspect-ratio: auto;
    min-height: 280px;
}

.mbc-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem;
    margin-top: .4rem;
}

.mbc-pagination .page-numbers,
.mbc-pagination .mbc-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: .4rem .7rem;
    border-radius: 12px;
    border: 1.5px solid var(--mbc-silver-light);
    background: var(--mbc-surface);
    color: var(--mbc-ink);
    font-weight: 700;
    font-size: .92rem;
}

.mbc-pagination .page-numbers:hover,
.mbc-pagination .mbc-page-link:hover {
    border-color: var(--mbc-red);
    color: var(--mbc-red-dark);
    text-decoration: none;
}

.mbc-pagination .page-numbers.current,
.mbc-pagination .mbc-page-link.is-active {
    background: linear-gradient(135deg, var(--mbc-red), var(--mbc-red-dark));
    border-color: transparent;
    color: #fff;
}

.mbc-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}

.mbc-no-result {
    text-align: center;
    color: var(--mbc-muted);
    padding: 1.5rem 0;
}

/* ------------------------------------------------------------------ */
/* 11. Formulaire de demande                                           */
/* ------------------------------------------------------------------ */

.mbc-request-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.mbc-request-intro {
    color: var(--mbc-muted);
    margin: 0;
}

.mbc-request-steps {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mbc-request-steps li {
    flex: 1 1 120px;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem .8rem;
    border-radius: var(--mbc-radius-pill);
    background: var(--mbc-surface);
    border: 1.5px solid var(--mbc-border);
    font-size: .88rem;
    font-weight: 700;
    color: var(--mbc-muted);
}

.mbc-request-steps li.is-current {
    border-color: var(--mbc-red);
    color: var(--mbc-red-dark);
    background: var(--mbc-red-soft);
}

.mbc-request-steps .mbc-step__num {
    width: 26px;
    height: 26px;
    font-size: .82rem;
}

.mbc-request-item {
    position: relative;
    border: 1.5px solid var(--mbc-border);
    border-radius: var(--mbc-radius);
    background: var(--mbc-bg);
    padding: 1rem;
    margin-bottom: .9rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.mbc-request-item:hover {
    border-color: #EFC3C6;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-request-item__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-bottom: .8rem;
}

.mbc-request-item__title {
    font-weight: 800;
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.mbc-request-item__title .mbc-icon {
    color: var(--mbc-red);
}

.mbc-request-item .mbc-field {
    margin-bottom: .75rem;
}

.mbc-request-item .mbc-field input,
.mbc-request-item .mbc-field select {
    background: #fff;
}

.mbc-request-item-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 .9rem;
}

@media (min-width: 640px) {
    .mbc-request-item-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mbc-request-item-grid .mbc-field--wide {
        grid-column: 1 / -1;
    }
}

.mbc-request-item-remove {
    margin-top: .2rem;
}

.mbc-photo-preview {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .4rem;
}

.mbc-photo-preview img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 12px;
    border: 1.5px solid var(--mbc-border);
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-photo-drop {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem;
    border: 1.5px dashed var(--mbc-silver);
    border-radius: var(--mbc-radius-sm);
    background: #fff;
    color: var(--mbc-muted);
    font-size: .9rem;
}

.mbc-photo-drop .mbc-icon {
    color: var(--mbc-red);
    width: 24px;
    height: 24px;
}

.mbc-photo-drop input[type="file"] {
    min-height: 0;
    padding: 0;
    border: 0;
}

#mbc-request-confirmation {
    margin-top: .4rem;
}

/* ------------------------------------------------------------------ */
/* 12. Calculateur                                                     */
/* ------------------------------------------------------------------ */

.mbc-calculator {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.mbc-calculator > p:first-child {
    color: var(--mbc-muted);
    margin: 0;
}

.mbc-calculator .mbc-field--radio {
    background: var(--mbc-bg);
    border-radius: var(--mbc-radius-pill);
    padding: .35rem;
}

.mbc-calculator .mbc-field--radio label {
    border-color: transparent;
    background: transparent;
    border-radius: var(--mbc-radius-pill);
    box-shadow: none;
}

.mbc-calculator .mbc-field--radio label:has(input:checked) {
    background: #fff;
    border-color: transparent;
    box-shadow: var(--mbc-shadow-md);
    color: var(--mbc-red-dark);
}

.mbc-calc-result {
    min-height: 4rem;
}

.mbc-calc-result__empty {
    color: var(--mbc-muted);
    background: var(--mbc-surface);
    border: 1.5px dashed var(--mbc-silver-light);
    border-radius: var(--mbc-radius-lg);
    padding: 1.4rem;
    text-align: center;
    margin: 0;
}

.mbc-calc-result .mbc-card {
    border: 0;
    background: linear-gradient(135deg, var(--mbc-black) 0%, #262626 60%, var(--mbc-red-dark) 150%);
    color: #fff;
    box-shadow: var(--mbc-shadow-lg);
    animation: mbc-rise .35s ease both;
}

.mbc-calc-result .mbc-muted {
    color: rgba(255, 255, 255, .75);
}

.mbc-calc-result__amount {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 .6rem;
    letter-spacing: -.01em;
}

.mbc-calc-result__rows {
    list-style: none;
    margin: 0 0 .6rem;
    padding: .6rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.mbc-calc-result__rows li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .95rem;
}

.mbc-calc-result__rows li span {
    color: rgba(255, 255, 255, .72);
}

.mbc-calc-result__rows li strong {
    color: #fff;
    text-align: right;
}

.mbc-calc-result__note {
    margin: 0;
    font-size: .85rem;
    color: rgba(255, 255, 255, .65);
}

.mbc-calc-validity,
.mbc-calc-disclaimer {
    color: var(--mbc-muted);
    font-size: .88rem;
    margin: 0;
}

.mbc-rates,
.mbc-rates-sea {
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-rates h2,
.mbc-rates-sea h2 {
    font-size: 1.1rem;
    margin: 0 0 .8rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.mbc-rates h2 .mbc-icon,
.mbc-rates-sea h2 .mbc-icon {
    color: var(--mbc-red);
}

.mbc-rates p,
.mbc-rates-sea p {
    margin: .35rem 0;
}

.mbc-rates .mbc-table {
    border: 0;
    border-radius: 0;
}

.mbc-rates .mbc-table th,
.mbc-rates .mbc-table td {
    padding: .6rem .4rem;
}

@keyframes mbc-rise {
    from { opacity: 0; transform: translateY(10px) scale(.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ------------------------------------------------------------------ */
/* 13. Suivi de colis / timeline                                       */
/* ------------------------------------------------------------------ */

.mbc-tracking {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.mbc-tracking > p:first-child {
    color: var(--mbc-muted);
    margin: 0;
}

.mbc-tracking .mbc-form {
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-tracking-result {
    min-height: 6rem;
}

.mbc-tracking-result .mbc-empty {
    border-style: solid;
}

.mbc-timeline-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius-lg);
    padding: 1rem 1.15rem;
    box-shadow: var(--mbc-shadow-sm);
    margin-bottom: 1rem;
}

.mbc-timeline-head strong {
    font-size: 1.05rem;
}

.mbc-timeline-head .mbc-badge {
    font-size: .85rem;
    padding: .4rem .85rem;
}

.mbc-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.mbc-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 17px;
    width: 2px;
    background: linear-gradient(var(--mbc-red), var(--mbc-silver-light));
    border-radius: 2px;
}

.mbc-timeline__item {
    position: relative;
    padding: 0 0 1.4rem 3.2rem;
    animation: mbc-rise .35s ease both;
}

.mbc-timeline__item:last-child {
    padding-bottom: 0;
}

.mbc-timeline__dot {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--mbc-surface);
    border: 2px solid var(--mbc-silver-light);
    color: var(--mbc-muted);
    z-index: 1;
}

.mbc-timeline__dot .mbc-icon,
.mbc-timeline__dot svg {
    width: 18px;
    height: 18px;
}

.mbc-timeline__item.is-current .mbc-timeline__dot {
    background: linear-gradient(135deg, var(--mbc-red), var(--mbc-red-dark));
    border-color: var(--mbc-red);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(227, 6, 19, .18), var(--mbc-shadow-red);
}

.mbc-timeline__item.is-done .mbc-timeline__dot {
    background: var(--mbc-green-soft);
    border-color: var(--mbc-green);
    color: var(--mbc-green);
}

.mbc-timeline__item.is-current .mbc-timeline__title {
    color: var(--mbc-red-dark);
}

.mbc-timeline__title {
    font-weight: 800;
    font-size: 1rem;
    margin: 0 0 .15rem;
    color: var(--mbc-ink);
}

.mbc-timeline__meta {
    margin: 0;
    color: var(--mbc-muted);
    font-size: .88rem;
    font-weight: 600;
}

.mbc-timeline__desc {
    margin: .25rem 0 0;
    color: var(--mbc-text);
    font-size: .93rem;
}

.mbc-timeline__content {
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius);
    padding: .8rem 1rem;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-timeline__content strong {
    display: block;
    font-size: .98rem;
}

.mbc-timeline__location {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--mbc-muted);
    font-size: .88rem;
    font-weight: 600;
}

.mbc-timeline__content p {
    margin: .3rem 0 0;
    font-size: .92rem;
}

.mbc-timeline__content time {
    display: block;
    margin-top: .3rem;
    color: var(--mbc-muted);
    font-size: .84rem;
}

/* ------------------------------------------------------------------ */
/* 14. Espace client                                                   */
/* ------------------------------------------------------------------ */

.mbc-account {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mbc-account-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(120deg, var(--mbc-black) 0%, #262626 55%, var(--mbc-red-dark) 135%);
    border-radius: var(--mbc-radius-lg);
    color: #fff;
    padding: 1.3rem;
    box-shadow: var(--mbc-shadow-md);
}

.mbc-account-profile__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #F20D1D, var(--mbc-red-dark));
    border: 3px solid rgba(255, 255, 255, .5);
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    box-shadow: var(--mbc-shadow-red);
}

.mbc-account-profile h1.mbc-account-profile__name {
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0;
    color: #fff;
}

.mbc-account-profile__email {
    margin: .1rem 0 .45rem;
    color: rgba(255, 255, 255, .8);
    font-size: .92rem;
    word-break: break-all;
}

.mbc-account-profile .mbc-badge {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
}

.mbc-tabs {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    padding-bottom: .3rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.mbc-tab,
.mbc-tabs__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex: none;
    min-height: 42px;
    padding: .5rem 1rem;
    border-radius: var(--mbc-radius-pill);
    border: 1.5px solid var(--mbc-silver-light);
    background: var(--mbc-surface);
    color: var(--mbc-ink);
    font-weight: 700;
    font-size: .9rem;
    white-space: nowrap;
}

.mbc-tab:hover,
.mbc-tabs__link:hover {
    border-color: var(--mbc-red);
    color: var(--mbc-red-dark);
    text-decoration: none;
}

.mbc-tab.is-active,
.mbc-tabs__link.is-active {
    background: linear-gradient(135deg, var(--mbc-red), var(--mbc-red-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: var(--mbc-shadow-red);
}

.mbc-menu-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .7rem;
}

.mbc-menu-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    padding: 1.05rem;
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius-lg);
    color: var(--mbc-ink);
    box-shadow: var(--mbc-shadow-sm);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.mbc-menu-card:hover {
    transform: translateY(-2px);
    border-color: #F0C4C7;
    box-shadow: var(--mbc-shadow-md);
    text-decoration: none;
}

.mbc-menu-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--mbc-red-soft);
    color: var(--mbc-red);
}

.mbc-menu-card__icon .mbc-icon {
    width: 22px;
    height: 22px;
}

.mbc-menu-card strong {
    font-size: .98rem;
}

.mbc-menu-card span {
    color: var(--mbc-muted);
    font-size: .86rem;
}

.mbc-menu-card .mbc-menu-card__count {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--mbc-red);
}

@media (min-width: 768px) {
    .mbc-menu-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mbc-account-section {
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-account-section h2 {
    font-size: 1.15rem;
    margin: 0 0 .9rem;
}

.mbc-account-section > p:last-child {
    margin-bottom: 0;
}

/* Demandes */
.mbc-request-card {
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius-lg);
    padding: 1.15rem;
    margin-bottom: .9rem;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-request-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .3rem;
}

.mbc-request-card__header strong {
    font-size: 1.02rem;
}

.mbc-request-card__meta {
    color: var(--mbc-muted);
    font-size: .9rem;
    margin: 0 0 .7rem;
}

.mbc-quote {
    background: var(--mbc-bg);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius);
    padding: .9rem 1rem;
    margin-bottom: .7rem;
}

.mbc-quote p {
    margin: 0 0 .5rem;
}

.mbc-quote p:last-child {
    margin-bottom: 0;
}

.mbc-quote__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.mbc-request-card__detail-link {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.mbc-request-detail {
    margin-top: .7rem;
    border-top: 1px solid var(--mbc-border);
    padding-top: .8rem;
}

.mbc-request-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.mbc-request-items li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem;
    background: var(--mbc-bg);
    border-radius: var(--mbc-radius-sm);
    padding: .6rem .8rem;
    font-size: .93rem;
}

/* Colis */
.mbc-package-card {
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius-lg);
    padding: 1.15rem;
    margin-bottom: .9rem;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-package-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .3rem;
}

.mbc-package-card__header strong {
    font-size: 1.02rem;
    word-break: break-all;
}

.mbc-package-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    color: var(--mbc-muted);
    font-size: .9rem;
    margin: 0 0 .9rem;
}

.mbc-package-card__meta .mbc-icon {
    width: 17px;
    height: 17px;
    color: var(--mbc-red);
}

/* Profil */
.mbc-profile {
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius-lg);
    padding: .4rem 1.15rem;
    box-shadow: var(--mbc-shadow-sm);
    margin: 0;
}

.mbc-profile__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .3rem 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--mbc-border);
}

.mbc-profile__row:last-child {
    border-bottom: 0;
}

.mbc-profile__row dt {
    font-weight: 700;
    color: var(--mbc-muted);
}

.mbc-profile__row dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}

/* Assistance / FAQ */
.mbc-support-contact,
.mbc-faq {
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-support-contact h2,
.mbc-faq h2 {
    font-size: 1.15rem;
    margin: 0 0 .8rem;
}

.mbc-faq__item {
    border-top: 1px solid var(--mbc-border);
    padding: .9rem 0;
}

.mbc-faq__item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.mbc-faq__item h3 {
    font-size: 1rem;
    margin: 0 0 .3rem;
}

.mbc-faq__item p {
    margin: 0;
    color: var(--mbc-muted);
    font-size: .93rem;
}

.mbc-support-links {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 0;
}

/* ------------------------------------------------------------------ */
/* 15. Notifications                                                   */
/* ------------------------------------------------------------------ */

.mbc-notifications {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.mbc-notifications__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem;
}

.mbc-notifications__header .mbc-page-title {
    margin: 0;
    margin-right: auto;
}

.mbc-notif-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.mbc-notif-item {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius);
    padding: .95rem 1rem;
    box-shadow: var(--mbc-shadow-sm);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.mbc-notif-item:hover {
    border-color: #EFC3C6;
    box-shadow: var(--mbc-shadow-md);
}

.mbc-notif-item.is-unread {
    border-left: 4px solid var(--mbc-red);
    background: linear-gradient(90deg, var(--mbc-red-soft) 0%, var(--mbc-surface) 55%);
}

.mbc-notif-item.is-unread::before {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--mbc-red);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, .18);
}

.mbc-notif-item > .mbc-icon {
    color: var(--mbc-red);
    margin-top: 2px;
}

.mbc-notif-item.is-unread > .mbc-icon {
    display: none;
}

.mbc-notif-item__content {
    flex: 1 1 auto;
    min-width: 0;
}

.mbc-notif-item__title {
    display: block;
    font-size: .97rem;
    margin-bottom: .15rem;
}

.mbc-notif-item__message {
    margin: 0;
    color: var(--mbc-muted);
    font-size: .9rem;
}

.mbc-notif-item__date {
    display: block;
    margin-top: .3rem;
    color: var(--mbc-muted);
    font-size: .8rem;
}

.mbc-notif-item__icon {
    color: var(--mbc-red);
}

/* ------------------------------------------------------------------ */
/* 16. Toasts, squelettes, chargement                                  */
/* ------------------------------------------------------------------ */

.mbc-toast-container {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(var(--mbc-nav-h) + 16px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    width: min(92vw, 480px);
    pointer-events: none;
}

.mbc-toast {
    display: flex;
    align-items: center;
    gap: .7rem;
    width: 100%;
    padding: .85rem 1rem;
    border-radius: var(--mbc-radius);
    background: var(--mbc-black);
    color: #fff;
    font-size: .93rem;
    font-weight: 600;
    box-shadow: var(--mbc-shadow-lg);
    pointer-events: auto;
    animation: mbc-toast-in .25s ease both;
}

.mbc-toast--success {
    background: linear-gradient(135deg, #15803D, #166534);
}

.mbc-toast--error {
    background: linear-gradient(135deg, var(--mbc-red), var(--mbc-red-dark));
}

.mbc-toast--info {
    background: linear-gradient(135deg, #1F2937, var(--mbc-black));
}

.mbc-toast__close {
    margin-left: auto;
    flex: none;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.mbc-toast.is-leaving {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}

@keyframes mbc-toast-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.mbc-skeleton {
    position: relative;
    overflow: hidden;
    background: var(--mbc-silver-light);
    border-radius: 10px;
    min-height: 18px;
    margin: .5rem 0;
}

.mbc-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
    animation: mbc-shimmer 1.3s infinite;
}

.mbc-skeleton--line {
    height: 18px;
}

.mbc-skeleton--line-short {
    width: 55%;
}

.mbc-skeleton--card {
    min-height: 260px;
    border-radius: var(--mbc-radius-lg);
    margin: 0;
}

@keyframes mbc-shimmer {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.mbc-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mbc-spin .7s linear infinite;
    vertical-align: -3px;
}

@keyframes mbc-spin {
    to { transform: rotate(360deg); }
}

/* Statistiques (compatibilité anciennes classes) */
.mbc-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .7rem;
}

.mbc-stat {
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius);
    padding: 1rem;
    text-align: center;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-stat__value {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--mbc-red);
}

.mbc-stat__label {
    font-size: .85rem;
    font-weight: 700;
    color: var(--mbc-muted);
}

.mbc-stat--green .mbc-stat__value {
    color: var(--mbc-green);
}

.mbc-stat--red .mbc-stat__value {
    color: var(--mbc-red);
}

/* Grille générique (compatibilité) */
.mbc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .8rem;
}

.mbc-grid__item {
    background: var(--mbc-surface);
    border: 1px solid var(--mbc-border);
    border-radius: var(--mbc-radius);
    padding: .9rem;
    box-shadow: var(--mbc-shadow-sm);
}

.mbc-grid__title {
    font-weight: 800;
    margin: 0 0 .2rem;
}

.mbc-grid__meta {
    color: var(--mbc-muted);
    font-size: .88rem;
    margin: 0;
}

.mbc-grid__price {
    font-weight: 900;
    color: var(--mbc-red);
    font-size: 1.05rem;
}

.mbc-search {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.mbc-search__icon {
    color: var(--mbc-muted);
}

.mbc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.mbc-tabs__count {
    font-size: .78rem;
    background: var(--mbc-red-soft);
    color: var(--mbc-red-dark);
    border-radius: var(--mbc-radius-pill);
    padding: .1rem .5rem;
    font-weight: 800;
}

/* ------------------------------------------------------------------ */
/* 17. Animations d'apparition                                         */
/* ------------------------------------------------------------------ */

.mbc-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
}

.mbc-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mbc-reveal--delay-1 { transition-delay: .07s; }
.mbc-reveal--delay-2 { transition-delay: .14s; }
.mbc-reveal--delay-3 { transition-delay: .21s; }

/* ------------------------------------------------------------------ */
/* 18. Navigation basse (façon application)                            */
/* ------------------------------------------------------------------ */

.mbc-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--mbc-border);
    box-shadow: 0 -6px 24px rgba(17, 17, 17, .08);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mbc-bottom-nav__list {
    list-style: none;
    margin: 0 auto;
    padding: .35rem .4rem .45rem;
    display: flex;
    max-width: 560px;
}

.mbc-bottom-nav__item {
    flex: 1 1 0;
}

.mbc-bottom-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-height: 52px;
    padding: .45rem .2rem .35rem;
    border-radius: 14px;
    color: var(--mbc-muted);
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
}

.mbc-bottom-nav__link:hover {
    color: var(--mbc-red-dark);
    text-decoration: none;
}

.mbc-bottom-nav__link.is-active {
    color: var(--mbc-red);
}

.mbc-bottom-nav__link.is-active .mbc-bottom-nav__icon {
    background: linear-gradient(135deg, var(--mbc-red), var(--mbc-red-dark));
    color: #fff;
    box-shadow: var(--mbc-shadow-red);
}

.mbc-bottom-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 30px;
    border-radius: var(--mbc-radius-pill);
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.mbc-bottom-nav__icon .mbc-icon,
.mbc-bottom-nav__icon svg {
    width: 22px;
    height: 22px;
}

.mbc-bottom-nav__label {
    line-height: 1.1;
}

.mbc-bottom-nav-spacer {
    height: calc(var(--mbc-nav-h) + 12px);
}

/* ------------------------------------------------------------------ */
/* 19. Harmonisation WooCommerce (CSS uniquement)                      */
/*                                                                     */
/* Ces règles s'appliquent partout où la feuille du plugin est         */
/* chargée (pages du plugin : catalogue, compte, commandes). Pour les  */
/* activer aussi sur Boutique / fiche produit / panier, il suffit      */
/* d'étendre le chargement des assets à ces pages (une ligne dans      */
/* MBC_Frontend::is_plugin_page()). Aucun template WC n'est touché.   */
/* ------------------------------------------------------------------ */

.woocommerce .mbc-home .button,
.woocommerce .mbc-catalogue .button,
.woocommerce .mbc-account .button,
.woocommerce .button.mbc-btn {
    border-radius: var(--mbc-radius-pill);
    font-weight: 700;
    min-height: 44px;
    padding: .65rem 1.35rem;
}

.woocommerce .mbc-home a.button.alt,
.woocommerce .mbc-catalogue a.button.alt,
.woocommerce .mbc-account a.button.alt,
.woocommerce button.button.alt,
.woocommerce .mbc-home .button.alt,
.woocommerce .mbc-catalogue .button.alt {
    background: linear-gradient(135deg, #F20D1D, var(--mbc-red-dark));
    color: #fff;
}

.woocommerce .mbc-product-card__price .woocommerce-Price-amount,
.woocommerce .mbc-product-card .price {
    color: var(--mbc-red);
    font-weight: 900;
}

.woocommerce .mbc-product-card .onsale,
.woocommerce .mbc-catalogue .onsale {
    background: linear-gradient(135deg, var(--mbc-red), var(--mbc-red-dark));
    border-radius: var(--mbc-radius-pill);
    font-weight: 800;
    min-height: 0;
    line-height: 1.4;
    padding: .35rem .7rem;
}

.woocommerce .mbc-catalogue .woocommerce-message,
.woocommerce .mbc-account .woocommerce-message {
    border-top-color: var(--mbc-red);
    border-radius: var(--mbc-radius);
    background: var(--mbc-red-soft);
}

.woocommerce .mbc-catalogue .woocommerce-message::before,
.woocommerce .mbc-account .woocommerce-message::before {
    color: var(--mbc-red);
}

.woocommerce .mbc-account .woocommerce-MyAccount-navigation-link a {
    color: var(--mbc-ink);
}

.woocommerce .mbc-account .woocommerce-MyAccount-navigation-link.is-active a {
    color: var(--mbc-red);
}

/* ------------------------------------------------------------------ */
/* 20. Responsive                                                      */
/* ------------------------------------------------------------------ */

@media (min-width: 768px) {
    .mbc-home,
    .mbc-catalogue,
    .mbc-request-form-wrap,
    .mbc-calculator,
    .mbc-tracking,
    .mbc-account,
    .mbc-notifications {
        padding-inline: .5rem;
    }

    .mbc-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mbc-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .mbc-bottom-nav {
        display: none;
    }

    .mbc-bottom-nav-spacer {
        display: none;
    }

    .mbc-toast-container {
        bottom: 24px;
    }
}

@media (max-width: 767px) {
    .mbc-table thead {
        display: none;
    }

    .mbc-table,
    .mbc-table tbody,
    .mbc-table tr,
    .mbc-table td {
        display: block;
        width: 100%;
    }

    .mbc-table {
        border: 0;
        background: transparent;
    }

    .mbc-table tbody tr {
        background: var(--mbc-surface);
        border: 1px solid var(--mbc-border);
        border-radius: var(--mbc-radius);
        margin-bottom: .7rem;
        padding: .4rem .9rem;
        box-shadow: var(--mbc-shadow-sm);
    }

    .mbc-table td {
        border-bottom: 0;
        padding: .35rem 0;
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }

    .mbc-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--mbc-muted);
        font-size: .85rem;
    }

    .mbc-table td:empty::before {
        content: "";
    }

    /* v1.1.1 : barre d'application sur mobile — la recherche passait
       sur sa propre ligne, les liens Suivi/Compte réapparaissent en
       icônes seules, le logo reste visible (seul le mot MABSTORE est
       masqué) et les badges des cartes ne débordent plus. */
    .mbc-appbar {
        flex-wrap: wrap;
    }

    .mbc-appbar__brand > span:last-child {
        display: none;
    }

    .mbc-appbar__links {
        display: inline-flex;
        margin-left: auto;
    }

    .mbc-appbar__links a {
        font-size: 0;
        gap: 0;
        padding: .5rem;
    }

    .mbc-appbar__search {
        flex: 1 1 100%;
        order: 3;
    }

    .mbc-product-card .mbc-badge {
        font-size: .68rem;
        padding: .2rem .5rem;
        max-width: calc(100% - 1.2rem);
        white-space: normal;
        line-height: 1.3;
    }
}

/* ------------------------------------------------------------------ */
/* 21. Mouvement réduit                                                */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
    .mbc-home *,
    .mbc-catalogue *,
    .mbc-request-form-wrap *,
    .mbc-calculator *,
    .mbc-tracking *,
    .mbc-account *,
    .mbc-notifications *,
    .mbc-bottom-nav *,
    .mbc-toast,
    .mbc-skeleton::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .mbc-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ------------------------------------------------------------------
   MABSTORE APP SHELL — interface propriétaire, thème relégué au moteur
   ------------------------------------------------------------------ */
body.mbc-app-active { background:#f5f6f8 !important; }
body.mbc-app-active #page, body.mbc-app-active .site, body.mbc-app-active .site-content { background:transparent; }
body.mbc-app-active .site-header, body.mbc-app-active .site-footer, body.mbc-app-active .ct-header, body.mbc-app-active .ct-footer { display:none !important; }
.mbc-app-header { position:sticky; top:0; z-index:9990; width:100%; background:rgba(255,255,255,.88); border-bottom:1px solid rgba(20,20,20,.07); backdrop-filter:blur(22px) saturate(170%); -webkit-backdrop-filter:blur(22px) saturate(170%); transition:transform .32s cubic-bezier(.2,.8,.2,1),box-shadow .25s; }
.mbc-app-header.is-scrolled { box-shadow:0 10px 34px rgba(18,20,25,.08); }
.mbc-app-header__inner { max-width:1440px; min-height:76px; margin:auto; padding:12px clamp(16px,3vw,42px); display:flex; align-items:center; gap:22px; }
.mbc-app-brand { display:flex; align-items:center; gap:7px; flex:none; color:#151515 !important; font-size:11px; font-weight:900; letter-spacing:.18em; text-decoration:none !important; }
.mbc-app-brand img { width:142px; height:auto; max-height:44px; object-fit:contain; }
.mbc-app-brand span { color:#e30613; border-left:1px solid #ddd; padding-left:8px; }
.mbc-menu-trigger { width:42px;height:42px; flex:none; display:grid;align-content:center;justify-content:center;gap:5px;border:1px solid #ececef;border-radius:14px;background:#fff;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.04); }
.mbc-menu-trigger span { display:block;width:17px;height:2px;border-radius:3px;background:#171717;transition:transform .25s,opacity .2s; }
.mbc-menu-trigger[aria-expanded="true"] span:first-child { transform:translateY(7px) rotate(45deg); }
.mbc-menu-trigger[aria-expanded="true"] span:nth-child(2) { opacity:0; }
.mbc-menu-trigger[aria-expanded="true"] span:last-child { transform:translateY(-7px) rotate(-45deg); }
.mbc-app-search { height:48px; display:flex;align-items:center;gap:10px;flex:1;max-width:690px;margin:0 auto;padding:4px 5px 4px 16px;background:#f5f6f8;border:1px solid #eceef1;border-radius:16px;transition:border .2s,box-shadow .2s; }
.mbc-app-search:focus-within { border-color:#ef9ba0;box-shadow:0 0 0 4px rgba(227,6,19,.07); }
.mbc-app-search svg { width:19px;height:19px;fill:none;stroke:#777;stroke-width:1.8; }
.mbc-app-search input { min-width:0;flex:1;border:0 !important;outline:0 !important;background:transparent !important;box-shadow:none !important;font:500 14px inherit;color:#171717; }
.mbc-app-search button { border:0;border-radius:12px;padding:11px 17px;background:#e30613;color:#fff;font-size:12px;font-weight:800;cursor:pointer; }
.mbc-app-actions { display:flex;align-items:center;gap:12px; }
.mbc-header-icon { position:relative;width:42px;height:42px;display:grid;place-items:center;border:1px solid #ececef;border-radius:14px;background:#fff;color:#171717 !important; }
.mbc-header-icon svg { width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
.mbc-header-icon:hover { color:#e30613 !important;transform:translateY(-2px); }
.mbc-header-account { padding:13px 17px;border-radius:13px;background:#151515;color:#fff !important;font-size:12px;font-weight:800;text-decoration:none !important; }
.mbc-drawer-backdrop { position:fixed;inset:0;z-index:10010;background:rgba(10,12,18,.48);backdrop-filter:blur(4px);opacity:0;transition:opacity .25s; }
.mbc-drawer-backdrop.is-open { opacity:1; }
.mbc-app-drawer { position:fixed;z-index:10011;inset:0 auto 0 0;width:min(360px,88vw);padding:25px 22px;background:#fff;box-shadow:24px 0 70px rgba(0,0,0,.18);transform:translateX(-105%);transition:transform .34s cubic-bezier(.2,.8,.2,1);overflow:auto; }
.mbc-app-drawer.is-open { transform:translateX(0); }
.mbc-drawer-top { display:flex;align-items:center;justify-content:space-between;font-size:18px;font-weight:900; }
.mbc-drawer-close { width:36px;height:36px;border:0;border-radius:50%;background:#f2f3f5;font-size:25px;cursor:pointer; }
.mbc-drawer-user { display:flex;align-items:center;gap:13px;margin:25px 0;padding:17px;border-radius:18px;background:linear-gradient(120deg,#171717,#3b1115);color:white; }
.mbc-drawer-avatar { width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:#e30613;font-weight:900;font-size:20px; }
.mbc-drawer-user b,.mbc-drawer-user small { display:block; }.mbc-drawer-user small { margin-top:4px;color:#c9c9c9;font-size:11px; }
.mbc-app-drawer nav { display:grid;gap:5px; }.mbc-app-drawer nav a { display:flex;align-items:center;gap:15px;padding:14px 12px;border-radius:13px;color:#222 !important;font-size:14px;font-weight:700;text-decoration:none !important; }.mbc-app-drawer nav a:hover { background:#fff0f1;color:#d90010 !important; }.mbc-app-drawer nav a:first-child { background:#fff0f1;color:#d90010 !important; }.mbc-app-drawer nav a em { margin-left:auto;padding:4px 8px;border-radius:20px;background:#e30613;color:#fff;font-size:9px;font-style:normal; }
.mbc-drawer-foot { margin-top:25px;padding:17px 10px;border-top:1px solid #eee;color:#333;font-size:12px;font-weight:700;line-height:1.8; }.mbc-drawer-foot small { color:#888;font-weight:500; }
.mbc-bottom-nav { position:fixed !important;z-index:9998 !important;left:50% !important;bottom:max(13px,env(safe-area-inset-bottom)) !important;transform:translateX(-50%) translateY(0);width:min(590px,calc(100% - 24px)) !important;padding:8px 10px !important;border:1px solid rgba(255,255,255,.75) !important;border-radius:23px !important;background:rgba(255,255,255,.78) !important;box-shadow:0 12px 42px rgba(15,18,25,.16),inset 0 1px 0 rgba(255,255,255,.9) !important;backdrop-filter:blur(26px) saturate(190%) !important;-webkit-backdrop-filter:blur(26px) saturate(190%) !important;transition:transform .32s cubic-bezier(.2,.8,.2,1),opacity .25s !important; }
.mbc-bottom-nav.is-hidden { transform:translateX(-50%) translateY(150%) !important;opacity:0;pointer-events:none; }
.mbc-bottom-nav__list { display:grid !important;grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:2px !important;margin:0 !important;padding:0 !important;list-style:none !important; }.mbc-bottom-nav__item { min-width:0; }.mbc-bottom-nav__link { min-height:48px !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:3px !important;padding:5px 2px !important;border-radius:15px !important;color:#747780 !important;text-decoration:none !important;transition:background .2s,color .2s,transform .2s !important; }.mbc-bottom-nav__link .mbc-icon { width:20px;height:20px; }.mbc-bottom-nav__label { font-size:10px !important;font-weight:750 !important;line-height:1.1; }.mbc-bottom-nav__link.is-active,.mbc-bottom-nav__link[aria-current="page"] { color:#e30613 !important;background:rgba(227,6,19,.09) !important; }.mbc-bottom-nav__link:active { transform:scale(.92); }
.mbc-bottom-nav-spacer { height:92px; }
.mbc-stories-page { max-width:1240px;margin:30px auto 80px;padding:0 clamp(14px,3vw,34px);font-family:var(--mbc-font,Arial,sans-serif);color:#171717; }
.mbc-stories-heading { display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px; }.mbc-eyebrow { color:#e30613;font-size:10px;font-weight:900;letter-spacing:.2em; }.mbc-stories-heading h1 { margin:7px 0 4px;font-size:clamp(34px,5vw,54px);font-weight:950;letter-spacing:-.06em; }.mbc-stories-heading p { margin:0;color:#777;font-size:14px; }.mbc-live-pill { display:flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid #eee;border-radius:30px;background:#fff;font-size:11px;font-weight:800; }.mbc-live-pill i { width:7px;height:7px;border-radius:50%;background:#e30613;box-shadow:0 0 0 5px #ffe5e7; }
.mbc-stories-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px; }.mbc-story-card { overflow:hidden;border:1px solid #eceef1;border-radius:23px;background:#fff;box-shadow:0 10px 35px rgba(15,20,30,.055);transition:transform .28s,box-shadow .28s; }.mbc-story-card:hover { transform:translateY(-5px);box-shadow:0 18px 45px rgba(15,20,30,.12); }.mbc-story-media { position:relative;aspect-ratio:9/13;overflow:hidden;background:linear-gradient(145deg,#1a1a1a,#5b1117); }.mbc-story-media video,.mbc-story-media img { width:100%;height:100%;object-fit:cover; }.mbc-story-tag { position:absolute;top:14px;left:14px;padding:7px 10px;border:1px solid rgba(255,255,255,.35);border-radius:30px;background:rgba(15,15,15,.45);color:#fff;font-size:9px;font-weight:900;letter-spacing:.12em;backdrop-filter:blur(12px); }.mbc-story-placeholder { height:100%;display:grid;place-items:center;color:#fff;font-size:48px; }.mbc-story-content { padding:17px 18px 18px; }.mbc-story-content h2 { margin:0 0 8px;font-size:17px;font-weight:850; }.mbc-story-copy { color:#666;font-size:13px;line-height:1.6; }.mbc-story-actions { display:flex;justify-content:space-between;gap:10px;margin-top:15px;padding-top:12px;border-top:1px solid #f0f0f0;font-size:11px; }.mbc-story-actions a { color:#e30613 !important;font-weight:800; }.mbc-story-actions span { color:#999; }.mbc-stories-empty { padding:75px 25px;text-align:center;border:1px dashed #ddd;border-radius:25px;background:linear-gradient(145deg,#fff,#fafafa); }.mbc-empty-orbit { width:74px;height:74px;display:grid;place-items:center;margin:0 auto 20px;border-radius:25px;background:#fff0f1;color:#e30613;font-size:28px;box-shadow:0 0 0 12px #fff8f8; }.mbc-stories-empty h2 { font-size:22px;font-weight:900; }.mbc-stories-empty p { max-width:460px;margin:8px auto;color:#777;font-size:14px; }
@media(max-width:760px) { .mbc-app-header__inner { min-height:64px;padding:9px 12px;gap:10px; }.mbc-app-brand img { width:105px;max-height:34px; }.mbc-app-brand span { display:none; }.mbc-menu-trigger { width:38px;height:38px;border-radius:12px; }.mbc-app-search { height:40px;padding-left:10px;border-radius:13px;gap:6px; }.mbc-app-search input { font-size:12px; }.mbc-app-search button { display:none; }.mbc-app-actions { gap:6px; }.mbc-header-icon { width:36px;height:36px;border-radius:11px; }.mbc-header-account { display:none; }.mbc-stories-page { margin:20px auto 55px;padding-inline:13px; }.mbc-stories-heading { align-items:start; }.mbc-stories-heading p { max-width:250px;font-size:12px; }.mbc-stories-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }.mbc-story-card { border-radius:17px; }.mbc-story-content { padding:12px; }.mbc-story-content h2 { font-size:14px; }.mbc-story-copy { font-size:11px; }.mbc-story-actions { font-size:10px;flex-wrap:wrap; } }
@media(max-width:390px) { .mbc-app-brand img { width:82px; }.mbc-app-header__inner { gap:7px; }.mbc-stories-grid { grid-template-columns:1fr; }.mbc-story-media { aspect-ratio:9/12; } }
@media(prefers-reduced-motion:reduce) { .mbc-app-header,.mbc-app-drawer,.mbc-bottom-nav,.mbc-story-card { transition:none !important; } }

/* ================================================================
   MABSTORE CHINA 1.3 — Commerce experience, reels and checkout
   ================================================================ */
:root{--mbc-red:#e30613;--mbc-ink:#17191f;--mbc-muted:#747984;--mbc-line:#eceef2;--mbc-soft:#f6f7f9;--mbc-radius-xl:22px}
body.mbc-commerce-experience{background:#f7f8fa!important;color:var(--mbc-ink)}
.mbc-commerce-experience .site-main,.mbc-commerce-experience .content-area,.mbc-commerce-experience .site-content{background:transparent!important}
/* Product listing: premium cards, independent of the active theme */
.mbc-commerce-experience .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;margin:22px 0!important}
.mbc-commerce-experience .woocommerce ul.products:before,.mbc-commerce-experience .woocommerce ul.products:after{display:none!important}
.mbc-commerce-experience .woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:12px!important;background:#fff!important;border:1px solid rgba(20,24,32,.055)!important;border-radius:20px!important;overflow:hidden!important;box-shadow:0 5px 22px rgba(18,24,38,.045)!important;transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s!important}
.mbc-commerce-experience .woocommerce ul.products li.product:hover{transform:translateY(-5px);box-shadow:0 16px 38px rgba(18,24,38,.11)!important}
.mbc-commerce-experience .woocommerce ul.products li.product a img{width:100%!important;aspect-ratio:1/1!important;object-fit:cover!important;border-radius:14px!important;margin:0 0 12px!important;background:#f3f4f6}
.mbc-commerce-experience .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;font-weight:750!important;line-height:1.4!important;color:#20232a!important;padding:0!important;min-height:40px}
.mbc-commerce-experience .woocommerce ul.products li.product .price{color:var(--mbc-red)!important;font-size:17px!important;font-weight:850!important;margin:10px 0!important}
.mbc-commerce-experience .woocommerce ul.products li.product .button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:42px!important;margin:10px 0 0!important;border-radius:12px!important;background:#17191f!important;color:#fff!important;font-weight:800!important;font-size:12px!important}
.mbc-commerce-experience .woocommerce ul.products li.product .onsale{top:10px!important;left:10px!important;right:auto!important;margin:0!important;border-radius:30px!important;min-height:0!important;padding:7px 10px!important;background:var(--mbc-red)!important;font-size:10px!important;font-weight:850!important}
/* Single product: app-like gallery and information panel */
.mbc-product-experience .woocommerce div.product{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr)!important;gap:34px!important;align-items:start!important;max-width:1240px;margin:28px auto!important;padding:24px!important;background:#fff!important;border:1px solid var(--mbc-line)!important;border-radius:26px!important;box-shadow:0 12px 42px rgba(20,25,35,.055)!important}
.mbc-product-experience .woocommerce div.product div.images{width:100%!important;float:none!important;margin:0!important;min-width:0}
.mbc-product-experience .woocommerce div.product div.images .woocommerce-product-gallery__wrapper{border-radius:20px;overflow:hidden;background:#f4f5f7}
.mbc-product-experience .woocommerce div.product div.images img{border-radius:18px!important}
.mbc-product-experience .woocommerce div.product div.summary{width:100%!important;float:none!important;margin:0!important;padding:10px 4px!important}
.mbc-product-experience .woocommerce div.product .product_title{font-size:clamp(25px,3vw,36px)!important;line-height:1.16!important;font-weight:850!important;letter-spacing:-.8px!important;color:#17191f!important;margin:0 0 14px!important}
.mbc-product-experience .woocommerce div.product p.price,.mbc-product-experience .woocommerce div.product span.price{font-size:30px!important;font-weight:900!important;color:var(--mbc-red)!important;margin:18px 0!important}
.mbc-product-experience .woocommerce div.product .woocommerce-product-details__short-description{color:#646a75;font-size:15px;line-height:1.75}
.mbc-product-experience .woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:10px;padding:18px 0;border-top:1px solid var(--mbc-line);border-bottom:1px solid var(--mbc-line);margin:22px 0!important}
.mbc-product-experience .woocommerce div.product form.cart .quantity .qty{height:48px;min-width:72px;border:1px solid #e3e5e9;border-radius:12px;background:#fff;font-weight:800}
.mbc-product-experience .woocommerce div.product form.cart .single_add_to_cart_button{flex:1;min-height:48px;border-radius:13px!important;background:linear-gradient(135deg,#ed111d,#c9000b)!important;color:#fff!important;font-weight:850!important;box-shadow:0 9px 22px rgba(227,6,19,.2)!important}
.mbc-product-experience .woocommerce div.product .product_meta{font-size:12px;color:#858a94;display:grid;gap:8px}
.mbc-product-experience .woocommerce div.product .woocommerce-tabs{grid-column:1/-1;width:100%;margin:0!important;padding-top:18px;border-top:1px solid var(--mbc-line)}
.mbc-product-experience .woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important;margin:0 0 18px!important;border:0!important}
.mbc-product-experience .woocommerce div.product .woocommerce-tabs ul.tabs:before{display:none!important}
.mbc-product-experience .woocommerce div.product .woocommerce-tabs ul.tabs li{border:0!important;border-radius:30px!important;background:#f2f3f5!important;margin:0 7px 0 0!important;padding:0 16px!important}
.mbc-product-experience .woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#17191f!important;color:#fff!important}
.mbc-product-experience .woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:12px 0!important;color:inherit!important;font-weight:750!important}
.mbc-product-experience .related.products{grid-column:1/-1;width:100%}
/* Cart and checkout */
.mbc-commerce-experience .woocommerce-cart-form,.mbc-commerce-experience .cart-collaterals,.mbc-commerce-experience .woocommerce-checkout #customer_details,.mbc-commerce-experience .woocommerce-checkout #order_review{background:#fff;border:1px solid var(--mbc-line);border-radius:20px;padding:22px;box-shadow:0 8px 30px rgba(20,25,35,.04)}
.mbc-commerce-experience .woocommerce table.shop_table{border:0!important;border-collapse:separate!important;border-spacing:0!important;border-radius:14px;overflow:hidden}
.mbc-commerce-experience .woocommerce table.shop_table th{background:#f5f6f8!important;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#6e7480;padding:14px!important}
.mbc-commerce-experience .woocommerce table.shop_table td{padding:15px!important;border-color:#eef0f3!important;vertical-align:middle}
.mbc-commerce-experience .woocommerce input.input-text,.mbc-commerce-experience .woocommerce textarea,.mbc-commerce-experience .woocommerce select{min-height:46px;border:1px solid #e3e6eb!important;border-radius:12px!important;background:#fff!important;padding:10px 13px!important;box-shadow:none!important}
.mbc-commerce-experience .woocommerce .button,.mbc-commerce-experience .woocommerce button.button,.mbc-commerce-experience #place_order{border:0!important;border-radius:13px!important;min-height:46px;padding:12px 20px!important;background:#17191f!important;color:#fff!important;font-weight:850!important;transition:transform .2s,box-shadow .2s!important}
.mbc-commerce-experience .woocommerce .button:hover,.mbc-commerce-experience #place_order:hover{transform:translateY(-2px);box-shadow:0 10px 24px #17191f22!important}
.mbc-commerce-experience .woocommerce-message,.mbc-commerce-experience .woocommerce-info,.mbc-commerce-experience .woocommerce-error{border:0!important;border-radius:14px!important;background:#fff!important;box-shadow:0 5px 20px #00000008;padding:16px 18px 16px 48px!important}
.mbc-commerce-experience .woocommerce-checkout h3{font-size:19px;font-weight:850;letter-spacing:-.3px}
/* Invoice panel */
.mbc-invoice-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:22px 0;padding:22px 24px;border:1px solid #f4c9cd;border-radius:20px;background:linear-gradient(120deg,#fff 0%,#fff5f5 100%);box-shadow:0 12px 35px rgba(227,6,19,.07)}
.mbc-invoice-kicker{font-size:10px;font-weight:900;letter-spacing:.13em;color:var(--mbc-red)}.mbc-invoice-panel h3{font-size:21px;margin:7px 0;color:#181a20}.mbc-invoice-panel p{color:#717681;margin:0 0 14px}.mbc-invoice-button{display:inline-flex!important;background:var(--mbc-red)!important;color:#fff!important;border-radius:12px!important;padding:12px 18px!important;font-weight:850!important}.mbc-invoice-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#e9f8ef;color:#159447;font-size:24px;font-weight:900}
/* Vertical social video feed */
.mbc-reels-experience{max-width:1100px;margin:0 auto;padding:22px 16px 110px}.mbc-reels-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:10px 0 22px}.mbc-reels-header h1{font-size:clamp(28px,5vw,42px);font-weight:900;letter-spacing:-1.3px;margin:5px 0}.mbc-reels-header p{color:#747984;margin:0}.mbc-reels-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.mbc-reel{position:relative;overflow:hidden;border-radius:24px;background:#111;aspect-ratio:9/15;max-height:760px;box-shadow:0 18px 50px rgba(10,12,18,.17);isolation:isolate}.mbc-reel-media,.mbc-reel-video,.mbc-reel-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.mbc-reel-video,.mbc-reel-cover{background:#191a1e}.mbc-reel-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),transparent 24%,transparent 52%,rgba(0,0,0,.78));pointer-events:none}.mbc-reel-brand{position:absolute;top:18px;left:16px;display:flex;align-items:center;gap:8px;color:#fff;font-size:12px;text-shadow:0 2px 8px #0008}.mbc-reel-brand small{opacity:.8}.mbc-reel-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#e30613;font-weight:950;border:2px solid #fff}.mbc-reel-caption{position:absolute;left:18px;right:75px;bottom:25px;color:#fff;text-shadow:0 2px 8px #0007}.mbc-reel-caption h2{font-size:19px;line-height:1.2;font-weight:900;margin:0 0 7px;color:#fff}.mbc-reel-caption div{font-size:12px;line-height:1.5;max-height:72px;overflow:hidden}.mbc-reel-caption p{margin:0}.mbc-reel-product{display:inline-flex;gap:10px;align-items:center;margin-top:12px;padding:9px 13px;border-radius:30px;background:#fff;color:#17191f!important;text-decoration:none!important;font-size:11px;font-weight:900;text-shadow:none}.mbc-reel-actions{position:absolute;right:12px;bottom:28px;display:flex;flex-direction:column;gap:17px;align-items:center}.mbc-reel-action{display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:transparent;color:#fff!important;text-decoration:none!important;padding:0;cursor:pointer;text-shadow:0 2px 8px #0009}.mbc-reel-action svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 4px #0005)}.mbc-reel-action b{font-size:10px;font-weight:850}.mbc-reel-like.is-liked svg{fill:#ff304b;stroke:#ff304b;animation:mbc-heart-pop .35s ease}.mbc-reel-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:62px;height:62px;border:1px solid #ffffff80;border-radius:50%;background:#ffffff2b;backdrop-filter:blur(12px);display:grid;place-items:center;color:#fff;opacity:0;transition:opacity .2s;z-index:3}.mbc-reel:not(.is-playing) .mbc-reel-play{opacity:1}.mbc-reel-play svg{width:25px;height:25px;fill:currentColor}.mbc-reel-comment-form{position:absolute;left:12px;right:12px;bottom:10px;z-index:5;display:flex;gap:7px;padding:8px;border-radius:15px;background:#ffffffed;box-shadow:0 8px 28px #0003}.mbc-reel-comment-form[hidden]{display:none}.mbc-reel-comment-form input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;padding:8px!important;font-size:12px}.mbc-reel-comment-form button{border:0;border-radius:10px;background:#e30613;color:#fff;padding:0 13px;font-size:11px;font-weight:850}.mbc-reel-placeholder{height:100%;display:grid;place-items:center;color:#fff}.mbc-reel-placeholder svg{width:72px;height:72px;fill:none;stroke:currentColor}.mbc-reels-experience .mbc-stories-empty{padding:70px 20px;text-align:center;background:#fff;border-radius:24px}
@keyframes mbc-heart-pop{0%{transform:scale(.6)}70%{transform:scale(1.25)}100%{transform:scale(1)}}
@media(max-width:900px){.mbc-commerce-experience .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mbc-product-experience .woocommerce div.product{gap:22px;padding:18px!important}}
@media(max-width:640px){.mbc-commerce-experience .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:14px 0!important}.mbc-commerce-experience .woocommerce ul.products li.product{padding:8px!important;border-radius:15px!important}.mbc-commerce-experience .woocommerce ul.products li.product a img{border-radius:11px!important;margin-bottom:8px!important}.mbc-commerce-experience .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px!important;min-height:34px}.mbc-commerce-experience .woocommerce ul.products li.product .price{font-size:15px!important;margin:6px 0!important}.mbc-commerce-experience .woocommerce ul.products li.product .button{min-height:38px!important;font-size:11px!important}.mbc-product-experience .woocommerce div.product{display:flex!important;flex-direction:column!important;gap:16px!important;margin:12px 10px!important;padding:12px!important;border-radius:20px!important}.mbc-product-experience .woocommerce div.product div.images,.mbc-product-experience .woocommerce div.product div.summary{width:100%!important}.mbc-product-experience .woocommerce div.product .product_title{font-size:24px!important}.mbc-product-experience .woocommerce div.product p.price{font-size:26px!important}.mbc-product-experience .woocommerce div.product .woocommerce-tabs{padding-top:12px}.mbc-commerce-experience .woocommerce-cart-form,.mbc-commerce-experience .cart-collaterals,.mbc-commerce-experience .woocommerce-checkout #customer_details,.mbc-commerce-experience .woocommerce-checkout #order_review{padding:13px;border-radius:16px}.mbc-invoice-panel{padding:17px;align-items:flex-start}.mbc-invoice-panel h3{font-size:18px}.mbc-invoice-mark{flex:0 0 42px;width:42px;height:42px}.mbc-reels-experience{padding:8px 10px 110px}.mbc-reels-header{margin:10px 4px 16px}.mbc-reels-header h1{font-size:30px}.mbc-reels-feed{display:flex;flex-direction:column;gap:16px}.mbc-reel{width:100%;aspect-ratio:9/15;max-height:calc(100svh - 170px);min-height:500px;border-radius:20px}.mbc-reel-caption{left:15px;right:67px;bottom:23px}.mbc-reel-caption h2{font-size:17px}.mbc-reel-actions{right:10px;bottom:25px;gap:15px}}
@media(prefers-reduced-motion:reduce){.mbc-reel,.mbc-reel-play,.mbc-reel-action{animation:none!important;transition:none!important}}
.mbc-header-icon{position:relative}.mbc-header-icon .mbc-notif-count{position:absolute;top:-5px;right:-7px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:20px;background:#e30613;color:#fff;font-size:9px;font-weight:900;border:2px solid #fff}.mbc-header-icon .mbc-notif-count.is-hidden{display:none}
.mbc-order-timeline{margin:24px 0;padding:22px;background:#fff;border:1px solid #eceef2;border-radius:20px;box-shadow:0 8px 28px #11111108}.mbc-timeline-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.mbc-timeline-heading h3{margin:4px 0 0;font-size:19px;font-weight:900}.mbc-timeline-number{background:#f5f6f8;padding:7px 11px;border-radius:20px;font-size:11px;font-weight:850}.mbc-order-timeline ol{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;list-style:none;padding:0;margin:24px 0 14px;position:relative}.mbc-order-timeline li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;color:#969ba4;font-size:10px;font-weight:750;line-height:1.3}.mbc-order-timeline li:before{content:"";position:absolute;top:14px;left:calc(-50% + 16px);right:calc(50% + 16px);height:2px;background:#e8eaee}.mbc-order-timeline li:first-child:before{display:none}.mbc-timeline-dot{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#f0f1f3;color:#969ba4;font-size:10px;font-weight:900;border:2px solid #fff;box-shadow:0 0 0 1px #e5e7eb;z-index:1}.mbc-order-timeline li.is-done,.mbc-order-timeline li.is-current{color:#252830}.mbc-order-timeline li.is-done .mbc-timeline-dot{background:#17191f;color:#fff;box-shadow:0 0 0 1px #17191f}.mbc-order-timeline li.is-current .mbc-timeline-dot{background:#e30613;color:#fff;box-shadow:0 0 0 4px #ffe4e6}.mbc-order-timeline li.is-done:before,.mbc-order-timeline li.is-current:before{background:#e30613}.mbc-order-timeline>small{color:#858b95;font-size:11px}
@media(max-width:640px){.mbc-order-timeline{padding:16px 12px;overflow:hidden}.mbc-order-timeline ol{display:flex;overflow-x:auto;gap:0;padding:4px 0 10px;scroll-snap-type:x mandatory}.mbc-order-timeline li{flex:0 0 88px;scroll-snap-align:start}.mbc-order-timeline li:before{left:-30px;right:calc(50% + 15px)}.mbc-order-timeline li:first-child:before{display:none}.mbc-order-timeline li span:last-child{max-width:78px}}

.mbc-product-trust{display:grid;gap:11px;margin:18px 0 8px;padding:16px;background:#f7f8fa;border:1px solid #edf0f3;border-radius:16px}.mbc-product-trust>div{display:flex;align-items:flex-start;gap:11px}.mbc-product-trust>div>span{flex:0 0 27px;width:27px;height:27px;border-radius:9px;display:grid;place-items:center;background:#fff0f1;color:#df0713;font-weight:950}.mbc-product-trust p{margin:0;display:grid;gap:3px}.mbc-product-trust strong{font-size:12px;font-weight:850;color:#20232a}.mbc-product-trust small{font-size:11px;line-height:1.45;color:#7a808a}

/* WooCommerce Cart / Checkout blocks, when a page uses block templates */
.mbc-commerce-experience .wc-block-cart__main,.mbc-commerce-experience .wc-block-components-sidebar,.mbc-commerce-experience .wc-block-checkout__main,.mbc-commerce-experience .wc-block-checkout__sidebar{background:#fff;border:1px solid #eceef2;border-radius:20px;padding:20px;box-shadow:0 8px 28px #11111108}.mbc-commerce-experience .wc-block-components-totals-wrapper{border-color:#eceef2!important}.mbc-commerce-experience .wc-block-components-text-input input,.mbc-commerce-experience .wc-block-components-combobox .components-combobox-control__input{border:1px solid #e3e6eb!important;border-radius:12px!important;min-height:46px}.mbc-commerce-experience .wc-block-components-button:not(.is-link){background:#17191f!important;border-radius:13px!important;color:#fff!important;font-weight:850!important;min-height:46px}.mbc-commerce-experience .wc-block-cart-items__row{border-color:#eceef2!important}
