.ref-menu-header {
    padding-top: 8px;
}

.ref-menu-note {
    margin: 0 0 20px;
    font-size: 0.95rem;
}

.ref-menu-section {
    margin-bottom: 28px;
}

.ref-menu-section h2 {
    margin: 0 0 16px;
    scroll-margin-top: 24px;
}

.ref-menu-section h3 {
    margin: 24px 0 10px;
    font-size: 1.15rem;
    color: var(--teal);
}

.ref-menu-section h4 {
    margin: 18px 0 8px;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.ref-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.ref-item-card {
    border: 1px solid var(--border);
    border-radius: 8px 24px 8px 28px;
    padding: 16px 18px;
    background: rgba(0, 0, 0, 0.22);
}

.ref-item-card h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--cream);
    text-transform: none;
    font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
    font-weight: 800;
}

.ref-item-card .ref-price {
    color: var(--orange);
    font-weight: 900;
    margin-bottom: 8px;
}

.ref-item-card .ref-desc {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.ref-item-options {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
}

.ref-item-options li {
    padding: 3px 0;
    color: var(--muted);
}

.ref-item-options .opt-price {
    color: var(--orange);
    font-weight: 700;
}

.ref-category-options {
    margin-top: 24px;
}

.ref-flavor-list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px 16px;
    font-size: 0.92rem;
}

.ref-flavor-list li {
    color: var(--muted);
}

.ref-flavor-list .opt-price {
    color: var(--orange);
    font-weight: 700;
}

.ref-price-table-wrap {
    overflow-x: auto;
    margin-bottom: 8px;
}

.ref-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.ref-price-table th,
.ref-price-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.ref-price-table th {
    color: var(--teal);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ref-price-table td:last-child {
    text-align: right;
    white-space: nowrap;
    color: var(--orange);
    font-weight: 800;
}

.ref-price-table tr:last-child td {
    border-bottom: 0;
}

.ref-pizza-build {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
}

.ref-menu-footer {
    margin: 32px 0 48px;
    text-align: center;
}

.ref-menu-error {
    color: var(--error);
    font-weight: 700;
}

.ref-menu-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.ref-menu-jump a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cream);
}

.ref-menu-jump a:hover {
    border-color: var(--teal);
    color: var(--teal);
}

@media (max-width: 640px) {
    .ref-item-grid {
        grid-template-columns: 1fr;
    }
}

/* Lobby touchscreen kiosk (?kiosk=1) */
html.kiosk,
body.kiosk {
    overflow-x: hidden;
}

html.kiosk .kiosk-hide {
    display: none !important;
}

html.kiosk .kiosk-only {
    display: block !important;
}

html.kiosk .site-shell {
    width: min(1400px, calc(100% - 48px));
    padding-bottom: 48px;
}

html.kiosk .ref-menu-header h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
}

html.kiosk .ref-menu-note {
    font-size: 1.15rem;
    margin-bottom: 28px;
}

html.kiosk .ref-menu-jump {
    gap: 12px;
    margin-bottom: 28px;
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 12px 0;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.96) 60%, transparent);
}

html.kiosk .ref-menu-jump a {
    min-height: 48px;
    padding: 12px 22px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    -webkit-tap-highlight-color: rgba(0, 208, 194, 0.25);
}

html.kiosk .ref-menu-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    scroll-margin-top: 80px;
}

html.kiosk .ref-item-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

html.kiosk .ref-item-card {
    padding: 20px 22px;
}

html.kiosk .ref-item-card h3 {
    font-size: 1.25rem;
}

html.kiosk .ref-item-card .ref-price {
    font-size: 1.2rem;
}

html.kiosk .ref-item-card .ref-desc {
    font-size: 1.02rem;
}

html.kiosk .ref-menu-footer {
    display: none;
}

@media (min-width: 1600px) {
    html.kiosk .site-shell {
        width: min(1600px, calc(100% - 64px));
    }

    html.kiosk .ref-item-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

