/**
 * Public menu + order flow: warm paper canvas, deep red utility bar, gold primary buttons.
 */
.mb5-minh-0 {
    min-height: 0 !important;
}

.menu-browse-v5 {
    --mb5-bg: #fffbeb;
    --mb5-ink: #1c1917;
    --mb5-muted: #78716c;
    --mb5-cta: #b45309;
    --mb5-cta-dk: #92400e;
    --mb5-bar: #7f1d1d;
    --mb5-surface: #ffffff;
    --mb5-radius: 12px;
    background: var(--mb5-bg) !important;
    color: var(--mb5-ink);
    font-family: var(--bs-font-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif);
}

.mb5-jump a {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.mb5-jump a:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.3rem 0.6rem;
    background: #fff;
    color: var(--mb5-ink);
    border-radius: 4px;
    margin: 0.2rem 0.5rem;
    display: inline-block;
}

.mb5-utility {
    background: var(--mb5-bar);
    color: #fef3c7;
    text-align: center;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid #450a0a;
}

.mb5-store {
    background: var(--mb5-surface);
    box-shadow: 0 1px 0 #e2e8f0;
    padding: 0.5rem 0.75rem 0.6rem;
}

.mb5-store-inner { max-width: min(100%, 1280px); margin: 0 auto; padding-left: 0.25rem; padding-right: 0.25rem; }

.mb5-identity h1, .mb5-identity .mb5-h1 {
    font-size: clamp(1.4rem, 3.5vw, 1.85rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 0.2rem 0;
    color: var(--mb5-ink);
}

.mb5-identity .mb5-addr, .mb5-identity .mb5-phone {
    color: var(--mb5-muted);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}
.mb5-identity .mb5-phone { color: #1e293b; font-weight: 700; }

.mb5-identity .mb5-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0f5132;
    background: #d1fae5;
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    margin-top: 0.4rem;
}

.mb5-hero-h {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-top: 0.35rem;
}
.mb5-hero-h .navbar-brand {
    color: var(--mb5-ink) !important;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1;
    white-space: normal;
}
.mb5-hero-h img { border-radius: 8px; }
.mb5-head-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.6rem;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.9rem;
    font-weight: 700;
}
.mb5-head-links a { color: var(--mb5-ink); text-decoration: none; }
.mb5-head-links a:hover { color: var(--mb5-cta); text-decoration: underline; }
.mb5-head-links .text-muted { color: #cbd5e1 !important; }
.mb5-btn-sign {
    background: #fff;
    color: var(--mb5-ink) !important;
    border: 1px solid #e2e8f0;
    font-weight: 800;
    font-size: 0.78rem;
    border-radius: 6px;
    padding: 0.15rem 0.5rem;
}

.menu-browse-v5 .container { max-width: min(100%, 960px); }
body.mb5-order-active.menu-browse-v5 .container-fluid#main,
body.mb5-order-active.menu-browse-v5 #main.container-fluid {
    max-width: none !important;
}
.menu-browse-v5 .card,
.menu-browse-v5 .form-control { border-color: #e2e8f0 !important; border-radius: 10px; }
.menu-browse-v5 .form-control:focus {
    border-color: #d97706;
    box-shadow: 0 0 0 0.2rem rgba(180, 83, 9, 0.18);
}
.menu-browse-v5 .btn-primary, .menu-browse-v5 .btn-success {
    background: var(--mb5-cta) !important;
    border-color: var(--mb5-cta) !important;
    font-weight: 800;
    border-radius: 8px;
}
.menu-browse-v5 .btn-primary:hover, .menu-browse-v5 .btn-success:hover {
    background: var(--mb5-cta-dk) !important;
    border-color: var(--mb5-cta-dk) !important;
}
.menu-browse-v5 .btn-outline-secondary {
    border-color: #cbd5e1;
    color: #0f172a;
    font-weight: 600;
    border-radius: 8px;
}
.menu-browse-v5 .btn-outline-secondary:hover { background: #f1f5f9; }

.mb5-page-footer {
    background: #450a0a;
    color: #fef3c7;
    text-align: center;
    font-size: 0.8rem;
    margin-top: auto;
    padding: 0.65rem 0.4rem 0.45rem;
    border-top: 1px solid #7f1d1d;
}
.mb5-page-footer a { color: #fcd34d; text-decoration: none; }
.mb5-page-footer a:hover { color: #fff; }

/* Checkout (shared _Layout) */
.mb5-checkout-wrap { background: #f8fafc; }
body.mb5-order-active .mb5-checkout-wrap.mb5-order-page-shell {
    background: transparent !important;
    flex: 1 1 auto;
    min-height: 0;
}
body.mb5-order-active #main {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}
body.mb5-order-active #main > main {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}
.checkout-customer-order .container-fluid { max-width: none !important; }
.checkout-customer-order h2 { color: #0f172a; font-weight: 900; }
.checkout-customer-order .card { border: 0; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06); border-radius: 12px; }
.checkout-customer-order .card-header { background: #0f172a; color: #e2e8f0; font-weight: 800; border: 0; }
.checkout-customer-order .btn.btn-primary#payNowBtn,
.checkout-customer-order .btn.btn-primary { background: #ea580c !important; border-color: #c2410c !important; font-weight: 800; }
.checkout-customer-order .btn.btn-primary#payNowBtn:hover { background: #c2410c !important; }
.checkout-customer-order a.btn-outline-secondary { border-color: #94a3b8; color: #0f172a; }
.checkout-customer-order a.btn-outline-secondary:hover { background: #e2e8f0; color: #020617; }
