/* Restaurant Menu — Advanced (print-style) + Interactive (cards + filters).
 * Shared root selector is .lyra-bt-rm. Modifiers split the two block flavors:
 *   .lyra-bt-rm--advanced, .lyra-bt-rm--interactive.
 * Style presets only apply to .lyra-bt-rm--advanced.
 */

.lyra-bt-rm {
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
}
.lyra-bt-rm *, .lyra-bt-rm *::before, .lyra-bt-rm *::after { box-sizing: border-box; }

.lyra-bt-rm__heading {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 700;
}
.lyra-bt-rm__subheading {
    margin: 0 0 24px;
    color: #475569;
    font-size: 16px;
}
.lyra-bt-rm__empty {
    color: #64748b;
    font-style: italic;
    padding: 24px 0;
}

.lyra-bt-rm__section { margin-bottom: 36px; }
.lyra-bt-rm__section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

/* ── Advanced (print-style) ──────────────────────────────────────────── */

.lyra-bt-rm--advanced .lyra-bt-rm__sections {
    display: block;
}
.lyra-bt-rm--advanced.lyra-bt-rm--cols-2 .lyra-bt-rm__sections {
    column-count: 2;
    column-gap: 40px;
}
.lyra-bt-rm--advanced.lyra-bt-rm--cols-2 .lyra-bt-rm__section {
    break-inside: avoid;
}

.lyra-bt-rm__items {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lyra-bt-rm__item {
    padding: 12px 0;
    border-bottom: 1px dotted #cbd5e1;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.lyra-bt-rm__item:last-child { border-bottom: none; }
.lyra-bt-rm__photo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.lyra-bt-rm__body { flex: 1; min-width: 0; }

.lyra-bt-rm__head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
}
.lyra-bt-rm__title { font-weight: 600; }
.lyra-bt-rm__dots {
    flex: 1;
    border-bottom: 1.5px dotted #94a3b8;
    margin: 0 2px 4px;
    align-self: stretch;
    min-height: 1px;
}
.lyra-bt-rm__price {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.lyra-bt-rm__diet-row {
    margin-top: 4px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.lyra-bt-rm__desc {
    margin-top: 4px;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
}
.lyra-bt-rm__allergens {
    margin-top: 4px;
    color: #b45309;
    font-size: 12px;
}

.lyra-bt-rm__diet {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    background: #ecfdf5;
    color: #047857;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 1px solid #a7f3d0;
}
.lyra-bt-rm__spice {
    display: inline-block;
    font-size: 12px;
    letter-spacing: -2px;
}

/* Inline price alignment */
.lyra-bt-rm--align-inline .lyra-bt-rm__head {
    flex-wrap: wrap;
}
.lyra-bt-rm--align-inline .lyra-bt-rm__dots { display: none; }
.lyra-bt-rm--align-inline .lyra-bt-rm__price::before { content: " — "; color: #94a3b8; }

/* Style presets (advanced only) */
.lyra-bt-rm--style-modern {
    /* default styling above is the modern preset */
}
.lyra-bt-rm--style-classic {
    font-family: Georgia, "Times New Roman", serif;
}
.lyra-bt-rm--style-classic .lyra-bt-rm__heading { font-weight: 400; font-style: italic; text-align: center; }
.lyra-bt-rm--style-classic .lyra-bt-rm__section-title { text-align: center; border-bottom: 2px solid #1e293b; }
.lyra-bt-rm--style-classic .lyra-bt-rm__item { border-bottom-style: solid; border-bottom-color: #e2e8f0; }

.lyra-bt-rm--style-elegant {
    font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    background: #fafaf9;
    padding: 48px 32px;
}
.lyra-bt-rm--style-elegant .lyra-bt-rm__heading {
    text-align: center;
    font-size: 40px;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.lyra-bt-rm--style-elegant .lyra-bt-rm__section-title {
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 16px;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 24px;
    color: #78716c;
}
.lyra-bt-rm--style-elegant .lyra-bt-rm__item { border-bottom-color: #e7e5e4; }

/* ── Interactive (cards + filters) ───────────────────────────────────── */

.lyra-bt-rm--interactive .lyra-bt-rm__filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}
.lyra-bt-rm__filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.lyra-bt-rm__filter-label {
    font-weight: 600;
    color: #475569;
    margin-right: 4px;
    font-size: 13px;
}
.lyra-bt-rm__chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}
.lyra-bt-rm__chip:hover { border-color: #94a3b8; }
.lyra-bt-rm__chip.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.lyra-bt-rm--interactive .lyra-bt-rm__cards {
    display: grid;
    gap: 16px;
}
.lyra-bt-rm--layout-grid .lyra-bt-rm__cards {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.lyra-bt-rm--layout-list .lyra-bt-rm__cards {
    grid-template-columns: 1fr;
}
.lyra-bt-rm--layout-list .lyra-bt-rm__card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
}

.lyra-bt-rm__card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.15s ease;
}
.lyra-bt-rm__card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.15); }
.lyra-bt-rm__card.is-hidden { display: none; }

.lyra-bt-rm__photo-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f1f5f9;
}
.lyra-bt-rm--layout-list .lyra-bt-rm__photo-wrap { aspect-ratio: 1/1; }
.lyra-bt-rm__photo-wrap .lyra-bt-rm__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.lyra-bt-rm__card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lyra-bt-rm__card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}
.lyra-bt-rm__diets {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.lyra-bt-rm__card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
}
.lyra-bt-rm__add-btn, .lyra-bt-rm__info-btn {
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}
.lyra-bt-rm__add-btn:hover, .lyra-bt-rm__info-btn:hover { background: #1e293b; }
.lyra-bt-rm__add-btn.is-added { background: #16a34a; }

.lyra-bt-rm__cart-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: #0f172a;
    color: #fff;
    padding: 12px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.5);
}
.lyra-bt-rm__cart-icon { font-size: 18px; }
.lyra-bt-rm__cart-count { font-variant-numeric: tabular-nums; }

/* Responsive */
@media (max-width: 640px) {
    .lyra-bt-rm { padding: 24px 16px; }
    .lyra-bt-rm--advanced.lyra-bt-rm--cols-2 .lyra-bt-rm__sections { column-count: 1; }
    .lyra-bt-rm--layout-list .lyra-bt-rm__card { grid-template-columns: 100px 1fr; }
}

/* ════════════════════════════════════════════════════════════════════
 * Additional layouts (4–10) — compound class .lyra-bt-rm--rmlayout-{layout}
 * Advanced block: diner-board, minimalist, matrix, editorial
 * Interactive block: trendy-grid, spotlight, tabbed
 * ════════════════════════════════════════════════════════════════════ */

/* ── Layout 5: Diner Board (bold, scannable grid) ──────────────────── */
.lyra-bt-rm--rmlayout-diner-board .lyra-bt-rm__sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px 40px;
}
.lyra-bt-rm--rmlayout-diner-board .lyra-bt-rm__section { margin-bottom: 16px; break-inside: avoid; }
.lyra-bt-rm--rmlayout-diner-board .lyra-bt-rm__section-title {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 15px;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 2px solid #0f172a;
}
.lyra-bt-rm--rmlayout-diner-board .lyra-bt-rm__item {
    padding: 4px 0;
    border-bottom: none;
    align-items: baseline;
    gap: 8px;
}
.lyra-bt-rm--rmlayout-diner-board .lyra-bt-rm__num {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #ef4444;
    font-size: 13px;
    min-width: 22px;
}
.lyra-bt-rm--rmlayout-diner-board .lyra-bt-rm__head { font-size: 14px; line-height: 1.25; }
.lyra-bt-rm--rmlayout-diner-board .lyra-bt-rm__title { font-weight: 700; }
.lyra-bt-rm--rmlayout-diner-board .lyra-bt-rm__desc { font-size: 12px; margin-top: 1px; line-height: 1.3; }

/* ── Layout 6: Premium Minimalist (asymmetric whitespace) ──────────── */
.lyra-bt-rm--rmlayout-minimalist {
    max-width: 760px;
    padding: 72px 32px;
}
.lyra-bt-rm--rmlayout-minimalist .lyra-bt-rm__heading {
    font-weight: 300;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.lyra-bt-rm--rmlayout-minimalist .lyra-bt-rm__section { margin-bottom: 64px; }
.lyra-bt-rm--rmlayout-minimalist .lyra-bt-rm__section-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #94a3b8;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 28px;
}
.lyra-bt-rm--rmlayout-minimalist .lyra-bt-rm__item {
    border-bottom: none;
    padding: 0 0 32px;
    display: block;
}
.lyra-bt-rm--rmlayout-minimalist .lyra-bt-rm__head {
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.01em;
}
.lyra-bt-rm--rmlayout-minimalist .lyra-bt-rm__dots { display: none; }
.lyra-bt-rm--rmlayout-minimalist .lyra-bt-rm__price { font-weight: 400; color: #475569; }
.lyra-bt-rm--rmlayout-minimalist .lyra-bt-rm__desc {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 13px;
    letter-spacing: 0.02em;
    max-width: 52ch;
}

/* ── Layout 8: Matrix (multi-column price list) ────────────────────── */
.lyra-bt-rm__matrix-table { display: block; }
.lyra-bt-rm__matrix-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(var(--lyra-bt-rm-matrix-cols, 1), minmax(56px, max-content));
    gap: 8px 18px;
    align-items: baseline;
    padding: 9px 0;
    border-bottom: 1px solid #eef2f6;
}
.lyra-bt-rm__matrix-row:last-child { border-bottom: none; }
.lyra-bt-rm__matrix-head {
    border-bottom: 2px solid #0f172a;
    padding-bottom: 6px;
}
.lyra-bt-rm__matrix-head .lyra-bt-rm__matrix-cell {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}
.lyra-bt-rm__matrix-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lyra-bt-rm__matrix-name .lyra-bt-rm__title { font-weight: 600; }
.lyra-bt-rm__matrix-name .lyra-bt-rm__desc { font-size: 12px; color: #64748b; }
.lyra-bt-rm__matrix-cell {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.lyra-bt-rm__matrix-empty { color: #cbd5e1; }

/* ── Layout 9: Image-First Editorial (alternating rows) ────────────── */
.lyra-bt-rm__editorial .lyra-bt-rm__ed-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 48px;
}
.lyra-bt-rm__editorial .lyra-bt-rm__ed-row--right .lyra-bt-rm__ed-media { order: 2; }
.lyra-bt-rm__editorial .lyra-bt-rm__ed-row--noimg { grid-template-columns: 1fr; }
.lyra-bt-rm__ed-media {
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f5f9;
}
.lyra-bt-rm__ed-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.lyra-bt-rm__ed-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}
.lyra-bt-rm__ed-body .lyra-bt-rm__title { font-size: 24px; font-weight: 700; }
.lyra-bt-rm__ed-body .lyra-bt-rm__price { font-size: 18px; }
.lyra-bt-rm__ed-body .lyra-bt-rm__desc { margin-top: 10px; font-size: 15px; line-height: 1.6; color: #475569; }

/* ── Layout 4: Trendy Grid (2–3 column visual thumbnails) ──────────── */
.lyra-bt-rm--rmlayout-trendy-grid .lyra-bt-rm__cards {
    grid-template-columns: repeat(var(--lyra-bt-rm-grid-cols, 3), 1fr);
}
.lyra-bt-rm--rmlayout-trendy-grid .lyra-bt-rm__photo-wrap { aspect-ratio: 1/1; }
.lyra-bt-rm--rmlayout-trendy-grid .lyra-bt-rm__card { border: none; border-radius: 14px; }
.lyra-bt-rm--rmlayout-trendy-grid .lyra-bt-rm__card-title { font-size: 17px; }

/* ── Layout 7: Highlight Featured Row (asymmetric spotlight) ───────── */
.lyra-bt-rm__spotlight-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdf8, #fff);
}
.lyra-bt-rm__spot-media { background: #f1f5f9; min-height: 240px; }
.lyra-bt-rm__spot-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.lyra-bt-rm__spot-body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}
.lyra-bt-rm__spot-title { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.15; }
.lyra-bt-rm__spot-body .lyra-bt-rm__desc { color: #475569; font-size: 15px; line-height: 1.55; }
.lyra-bt-rm__spot-foot {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
}
.lyra-bt-rm__spot-foot .lyra-bt-rm__price { font-size: 22px; }
.lyra-bt-rm__spot-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 12px -4px rgba(239, 68, 68, 0.6);
}

/* ── Layout 10: Tabbed Menu ────────────────────────────────────────── */
.lyra-bt-rm__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}
.lyra-bt-rm__tab {
    appearance: none;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
    margin-bottom: -1px;
}
.lyra-bt-rm__tab:hover { color: #0f172a; }
.lyra-bt-rm__tab.is-active { color: #0f172a; border-bottom-color: #0f172a; }
.lyra-bt-rm__section.is-tab-hidden { display: none; }

/* ── Responsive: stack everything to a single column on mobile ─────── */
@media (max-width: 640px) {
    .lyra-bt-rm--rmlayout-diner-board .lyra-bt-rm__sections { grid-template-columns: 1fr; }
    .lyra-bt-rm--rmlayout-trendy-grid .lyra-bt-rm__cards { grid-template-columns: 1fr; }
    .lyra-bt-rm__spotlight-card { grid-template-columns: 1fr; }
    .lyra-bt-rm__spot-media { min-height: 200px; aspect-ratio: 16/9; }
    .lyra-bt-rm__editorial .lyra-bt-rm__ed-row,
    .lyra-bt-rm__editorial .lyra-bt-rm__ed-row--noimg { grid-template-columns: 1fr; }
    .lyra-bt-rm__editorial .lyra-bt-rm__ed-row--right .lyra-bt-rm__ed-media { order: 0; }
    .lyra-bt-rm__matrix-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .lyra-bt-rm__matrix-head { display: none; }
    .lyra-bt-rm__matrix-row .lyra-bt-rm__matrix-cell { text-align: left; }
    .lyra-bt-rm--rmlayout-minimalist { padding: 40px 20px; }
}
