/* Food & Drink Menu — scoped under .scm-mod-Menu
 *
 * Laid out like a printed menu rather than a product grid: name, leader dots, price. That reads
 * as a menu at a glance, which a card grid does not, and it degrades cleanly when an item has no
 * photo (most will not).
 */

.scm-mod-Menu {
    display: block;
}

/* ---- Menu switcher (only rendered when a venue publishes more than one) ---- */

.scm-mod-Menu .menu-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.scm-mod-Menu .menu-tab {
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.scm-mod-Menu .menu-tab:hover,
.scm-mod-Menu .menu-tab:focus-visible {
    border-color: var(--accent-color, #e10600);
}

.scm-mod-Menu .menu-tab--active {
    background: var(--accent-color, #e10600);
    border-color: var(--accent-color, #e10600);
    color: #fff;
}

/* ---- Sections ---- */

.scm-mod-Menu .menu {
    max-width: 780px;
    margin: 0 auto;
}

.scm-mod-Menu .menu__intro {
    text-align: center;
    margin-bottom: 2rem;
}

.scm-mod-Menu .menu-section {
    margin-bottom: 2.5rem;
}

.scm-mod-Menu .menu-section__title {
    font-size: 1.4rem;
    margin: 0 0 0.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color, #e10600);
    color: var(--heading-color, inherit);
}

.scm-mod-Menu .menu-section__desc {
    margin: 0.5rem 0 1rem;
    opacity: 0.8;
}

/* ---- Items ---- */

.scm-mod-Menu .menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.scm-mod-Menu .menu-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
}

.scm-mod-Menu .menu-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.scm-mod-Menu .menu-item__img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: var(--border-radius, 0.5rem);
    flex-shrink: 0;
}

.scm-mod-Menu .menu-item__body {
    flex: 1;
    min-width: 0;
}

/* Leader dots: the middle span expands to fill whatever the name and price leave behind. */
.scm-mod-Menu .menu-item__head {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.scm-mod-Menu .menu-item__name {
    font-weight: 600;
}

.scm-mod-Menu .menu-item__dots {
    flex: 1;
    border-bottom: 1px dotted var(--border-color, #cbd5e1);
    transform: translateY(-0.25rem);
    min-width: 1.5rem;
}

.scm-mod-Menu .menu-item__price {
    font-weight: 600;
    white-space: nowrap;
    color: var(--accent-color, #e10600);
}

.scm-mod-Menu .menu-item__desc {
    margin: 0.35rem 0 0;
    opacity: 0.85;
}

/* ---- Tags and allergens ---- */

.scm-mod-Menu .menu-item__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.scm-mod-Menu .menu-tag {
    font-size: 0.75rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--surface-color, #f1f5f9);
    border: 1px solid var(--border-color, #e2e8f0);
}

.scm-mod-Menu .menu-tag--new,
.scm-mod-Menu .menu-tag--popular,
.scm-mod-Menu .menu-tag--featured {
    background: var(--accent-color, #e10600);
    border-color: var(--accent-color, #e10600);
    color: #fff;
}

.scm-mod-Menu .menu-tag--muted {
    opacity: 0.7;
}

/* Allergens are a safety notice. Kept as sentence text so it is read, not scanned past. */
.scm-mod-Menu .menu-item__allergens {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    opacity: 0.85;
}

.scm-mod-Menu .menu-empty {
    text-align: center;
    padding: 3rem 1rem;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .scm-mod-Menu .menu-item__img {
        width: 60px;
        height: 60px;
    }
}
