/* My Kitchen — static digital menu styles.
   Brand-continuous with the existing site: same orange/red hero gradient,
   same typography stack, same chip language. */

:root {
    --mk-orange: #c2410c;
    --mk-deep: #9a3412;
    --mk-ink: #1f2937;
    --mk-muted: #6b7280;
    --mk-cream: #fff7ed;
    --mk-cardline: #fde3c3;
}

body.menu-body {
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    color: var(--mk-ink);
    background: #fffdf9;
}

.mk-container { max-width: 1100px; margin-inline: auto; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.menu-hero {
    background: linear-gradient(140deg, var(--mk-orange) 0%, var(--mk-deep) 100%);
    padding: 2.2rem 1rem 2.4rem;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 10px 30px rgba(154, 52, 18, .25);
}

.restaurant-logo {
    width: 76px; height: 76px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.1rem;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 22px;
    backdrop-filter: blur(4px);
}

.restaurant-name {
    font-size: clamp(1.7rem, 5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: .5px;
}

.restaurant-tagline { opacity: .92; letter-spacing: 2px; text-transform: uppercase; font-size: .78rem; }

.browse-note {
    font-size: .95rem;
    font-weight: 600;
    opacity: .95;
}

/* Dine-In / Takeaway toggle */
.price-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    padding: .25rem;
}

.toggle-btn {
    border: 0;
    color: #fff;
    background: transparent;
    font-weight: 700;
    font-size: .95rem;
    padding: .45rem 1.3rem;
    border-radius: 999px;
    transition: background .15s ease, color .15s ease;
    min-width: 106px;
}

.toggle-btn.is-active {
    background: #fff;
    color: var(--mk-orange);
}

.toggle-btn:focus-visible,
.veg-btn:focus-visible,
.chip-cat:focus-visible,
.mk-search:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ── Search + filters ─────────────────────────────────────────────── */
.search-wrap { margin-top: 1.1rem; }

.mk-search {
    border: 1.5px solid var(--mk-cardline);
    border-radius: 14px;
    padding-block: .55rem;
}

.mk-search:focus { box-shadow: 0 0 0 3px rgba(194, 65, 12, .15); border-color: var(--mk-orange); }

.mode-note {
    margin: .5rem 0 0;
    font-size: .84rem;
    color: var(--mk-muted);
}

.mode-note strong { color: var(--mk-orange); }

.filter-bar { margin-top: .9rem; }

.chip-row {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: .25rem 2px;
    -webkit-overflow-scrolling: touch;
}

.chip-cat {
    flex: 0 0 auto;
    border: 1.5px solid var(--mk-cardline);
    background: #fff;
    color: var(--mk-ink);
    font-weight: 600;
    font-size: .86rem;
    padding: .42rem .95rem;
    border-radius: 999px;
    white-space: nowrap;
    transition: all .15s ease;
}

.chip-cat.is-active {
    background: var(--mk-orange);
    border-color: var(--mk-orange);
    color: #fff;
}

.veg-filter {
    display: flex;
    gap: .4rem;
    margin-top: .6rem;
    flex-wrap: wrap;
}

.veg-btn {
    border: 1.5px solid var(--mk-cardline);
    background: #fff;
    color: var(--mk-ink);
    font-weight: 600;
    font-size: .8rem;
    padding: .34rem .85rem;
    border-radius: 999px;
    transition: all .15s ease;
}

.veg-btn.is-active { background: #1f2937; border-color: #1f2937; color: #fff; }

/* ── Menu sections & cards ────────────────────────────────────────── */
.menu-section { margin-top: 1.6rem; }

.section-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .3rem;
}

.section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mk-deep);
    margin: 0;
}

.section-count {
    font-size: .76rem;
    font-weight: 700;
    color: var(--mk-muted);
    background: var(--mk-cream);
    border: 1px solid var(--mk-cardline);
    border-radius: 999px;
    padding: .18rem .6rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .85rem;
    margin-top: .8rem;
}

.menu-card {
    background: #fff;
    border: 1px solid var(--mk-cardline);
    border-radius: 16px;
    padding: .95rem 1rem .85rem;
    box-shadow: 0 1px 6px rgba(31, 41, 55, .05);
    display: flex;
    flex-direction: column;
}

.card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.dish-name { font-size: 1rem; font-weight: 700; line-height: 1.35; margin: 0; }

.vdot {
    flex: 0 0 auto;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid;
    margin-top: .28rem;
}

.vd-veg    { border-color: #15803d; background: #15803d; }
.vd-egg    { border-color: #f59e0b; background: #fff; box-shadow: inset 0 0 0 3px #fff7ed; background-clip: padding-box; }
.vd-egg::after { content: ""; }
.vd-egg    { background: #f59e0b; box-shadow: inset 0 0 0 4px #fff; background-clip: padding-box; }
.vd-nonveg { border-color: #b91c1c; background: #b91c1c; }

.dish-desc {
    font-size: .83rem;
    color: var(--mk-muted);
    line-height: 1.45;
    margin: .4rem 0 .55rem;
}

.dish-price {
    margin-top: auto;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--mk-deep);
}

/* Unit label, e.g. "per piece" */
.unit-tag {
    display: inline-block;
    margin-left: .4rem;
    font-size: .68rem;
    font-weight: 700;
    color: var(--mk-deep);
    background: var(--mk-cream);
    border: 1px solid var(--mk-cardline);
    border-radius: 999px;
    padding: .1rem .5rem;
    vertical-align: middle;
}

/* ── Empty state + footer ─────────────────────────────────────────── */
.empty-msg {
    margin: 2.5rem auto;
    max-width: 480px;
    text-align: center;
    color: var(--mk-muted);
    background: #fff;
    border: 1.5px dashed var(--mk-cardline);
    border-radius: 16px;
    padding: 1.6rem 1.2rem;
}

.menu-footer {
    margin-top: 2.5rem;
    padding: 1.6rem 1rem 2rem;
    background: var(--mk-cream);
    border-top: 1px solid var(--mk-cardline);
    color: var(--mk-ink);
}

.menu-footer .tag { color: var(--mk-orange); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: .78rem; }
.menu-footer .small { color: var(--mk-muted); }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 991px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 575px) {
    .menu-hero { padding: 1.35rem .9rem 1.6rem; border-radius: 0 0 22px 22px; }
    .restaurant-logo { width: 60px; height: 60px; font-size: 1.65rem; border-radius: 18px; }
    .restaurant-name { font-size: 1.6rem; }
    .restaurant-tagline { font-size: .7rem; letter-spacing: 1.6px; }
    .toggle-btn { min-width: 92px; padding: .4rem 1rem; font-size: .88rem; }
    .menu-grid { grid-template-columns: 1fr; }
    .menu-card { padding: .85rem .9rem .75rem; }
    .dish-price { font-size: 1rem; }
}
