/* ── Reset & base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-bg:      #ffffff;
    --color-surface: #ffffff;
    --color-border:  rgba(0,0,0,0.08);
    --color-text:    #1a1a1a;
    --color-muted:   #666;
    --font-main:     'Inter', system-ui, sans-serif;
    --radius:        10px;
    --stripe-odd:    #faf8f5;
    --stripe-even:   #f9f5ee;
}

body.menu-page {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

/* ── Light mode ───────────────────────────────────────── */
.menu-root--light {
    --color-bg:      #ffffff;
    --color-surface: #ffffff;
    --color-border:  rgba(0,0,0,0.08);
    --color-text:    #1a1a1a;
    --color-muted:   #666;
}

/* ── Root scoping (needed for variable inheritance) ───── */
.menu-root {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

/* ── Merch ────────────────────────────────────────────── */
.merch-section {
    padding: 1.5rem 1.25rem 2rem;
    border-top: 1px solid var(--color-border);
}

.merch-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.merch-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.merch-icon {
    font-size: 2rem;
    color: var(--color-muted);
}

.merch-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.merch-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

/* ── Header ───────────────────────────────────────────── */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.menu-header .logo {
	width: 200px;	
}

.festival-glass {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.75rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.glass-price { font-size: 1.1rem; color: var(--color-text); font-weight: 600; }

/* ── Keg rows ─────────────────────────────────────────── */

.keg-row {
    display: grid;
    /* tap# | art | info | prices */
    grid-template-columns: 2rem 3.5rem 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.15s;
}
.keg-row.no-art {
    grid-template-columns: 3.5rem 1fr auto;
}

.keg-row:nth-child(odd)  { background: var(--stripe-odd); }
.keg-row:nth-child(even) { background: var(--stripe-even); }

.tap-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-muted);
    text-align: center;
    line-height: 1;
}

.keg-art img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
    border-radius: 4px;
}

.keg-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.keg-name {
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.keg-style  { font-size: 0.9rem;  color: black; }
.keg-abv    { font-size: 0.9rem;  color: black; }

.keg-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
}
.price--half { font-size: 0.8rem; color: var(--color-muted); }

/* ── Cans ─────────────────────────────────────────────── */
.cans-section {
    padding: 1.5rem 1.25rem 2rem;
    border-top: 1px solid var(--color-border);
}

.cans-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.cans-grid {
display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-content: center;
}

.can-card {
     width: 100px;
     text-align: center;
}

.can-image {
    width: 100%;
    max-width: 90px;
    height: auto;
    object-fit: contain;
    padding: 10px;
}

.can-info { display: flex; flex-direction: column; gap: 0.15rem; }
.can-name  { font-size: 1.1rem; font-weight: 700; }
.can-style { font-size: 0.9rem; color: var(--color-muted); }
.can-price { font-size: 1rem; font-weight: 600; margin-top: 0.1rem; }

/* ── Footer ───────────────────────────────────────────── */
.menu-footer {
    margin-top: auto;
    padding: 1.25rem;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--color-border);
}

.menu-footer .logo {
	width: 50px;
}

/* ── Responsive tweaks ────────────────────────────────── */
@media (max-width: 400px) {
    .keg-row {
        grid-template-columns: 1.5rem 1fr 0 auto;
    }
    .keg-art { display: none; }
    .keg-name { font-size: 1rem; }
}