/* Menu page editorial polish — loaded only by Views/Menu/Index.cshtml. */

.menu-hero {
    padding-block: var(--sp-10) var(--sp-6);
}

.menu-hero .display {
    font-size: clamp(3rem, 9vw, 6rem);
    color: var(--cream);
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.01em;
}

/* Category section separator — thin ember rule between categories */
.menu-category {
    position: relative;
}

.menu-category + .menu-category::before {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--ember);
    margin: 0 auto var(--sp-8);
}

/* Section heading (BAGELS, SCHMEARS, etc.) with flanking ember marks */
.menu-category > .page-section-pt > .container > h2 {
    position: relative;
    display: table;
    padding-inline: var(--sp-6);
    margin: 0 auto var(--sp-6);
    font-size: clamp(2rem, 5vw, 3.25rem);
}

.menu-category > .page-section-pt > .container > h2::before,
.menu-category > .page-section-pt > .container > h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: var(--sp-4);
    height: 1px;
    background: color-mix(in oklch, var(--ember) 70%, transparent);
}

.menu-category > .page-section-pt > .container > h2::before { left: 0; }
.menu-category > .page-section-pt > .container > h2::after  { right: 0; }

/* Sub-category label — richer typography */
.menu-category .menu-sub-category-name {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cream);
    margin-top: var(--sp-6);
    margin-bottom: var(--sp-4);
}

/* Two-price banner row (Schmears "Bagel / 8oz") */
.menu-category .menu-box > .d-flex.align-items-center {
    border-bottom: 1px solid color-mix(in oklch, var(--stone) 40%, transparent);
    padding-bottom: var(--sp-2);
    margin-bottom: var(--sp-4);
}

.menu-category .menu-box > .d-flex .menu-item-price {
    font-family: var(--font-display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: var(--fs-sm);
    color: var(--ember);
}

/* Bottom CTA band */
.menu-order-cta {
    border-top: 1px solid color-mix(in oklch, var(--stone) 25%, transparent);
}

/* ============================================================
   3-col bagel grid (Topped, Flavored, Deluxe, Premium, Combos,
   Coffee, Espresso, Tea): tighter thumbnails, stacked name/price,
   smaller display type so nothing overlaps.
   ============================================================ */

@media (min-width: 992px) {
    .menu-category .grid-cols-lg-3 .menu-item .menu-thumbnail {
        width: 100px;
        margin-right: var(--sp-3);
    }

    /* Stack name and price vertically so long names aren't forced onto two
       lines while fighting the price column for space. */
    .menu-category .grid-cols-lg-3 .menu-item > .d-flex.w-100 {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }

    .menu-category .grid-cols-lg-3 .menu-item-name {
        font-size: var(--fs-lg);
        line-height: var(--lh-snug);
    }

    .menu-category .grid-cols-lg-3 .menu-item .ms-auto {
        margin-left: 0 !important;
        margin-top: var(--sp-1);
    }

    .menu-category .grid-cols-lg-3 .menu-item-price {
        font-size: var(--fs-base);
    }
}

/* ============================================================
   2-col layouts (Schmears, Sandwiches, Smoothies): ensure price
   has breathing room from the name on a single line.
   ============================================================ */

.menu-category .menu-item > .flex-shrink-0,
.menu-category .menu-item > .flex-grow-1 {
    min-width: 0;
}

.menu-category .menu-item > .flex-shrink-0.ms-3 {
    margin-inline-start: var(--sp-4);
    white-space: nowrap;
}
