/* Compact status badge beside the Teika pizzeria selector. */
.mm-karting-header-slot {
    display: inline-flex;
    align-items: center;
}
.mm-karting-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    margin-left: 12px;
    padding: 5px 10px;
    border: 1px solid #e7c4c5;
    border-radius: 999px;
    background: #fff4f4;
    color: #86242d;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    vertical-align: middle;
    box-sizing: border-box;
}
.mm-karting-header-slot .mm-karting-header-badge {
    margin-left: 0;
}
.mm-karting-header-badge__dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #c72e3d;
}
.mm-karting-header-badge__short { display: none; }
@media (max-width: 600px) {
    .mm-karting-header-badge { margin-left: 8px; padding: 4px 8px; font-size: 11px; gap: 5px; }
    .mm-karting-header-badge__full { display: none; }
    .mm-karting-header-badge__short { display: inline; }
}

/* Close partner delivery mode without adding a separate header button. */
.mm-karting-header-badge {
    padding-right: 4px;
}
.mm-karting-header-badge__close {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    min-height: 26px;
    margin: -2px -1px -2px 2px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: 19px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease;
}
.mm-karting-header-badge__close:hover { background: rgba(134,36,45,.13); }
.mm-karting-header-badge__close:focus-visible { outline: 2px solid #86242d; outline-offset: 1px; }
.mm-karting-header-badge__close:disabled { opacity: .5; cursor: wait; }
@media (max-width: 600px) {
    .mm-karting-header-badge { padding-right: 2px; }
    .mm-karting-header-badge__close { min-width: 28px; min-height: 28px; font-size: 19px; }
}

/* A partner order should not link back to the ordinary pizzeria selector.
   Only the explicitly detected header link is hidden; the X badge stays visible. */
.mm-partner-back-link-hidden {
    display: none !important;
}
