/* ===================================
   MENU SECTION
   =================================== */

.menu {
    padding: 80px 0;
    background-color: var(--white);
}

.menu .section-header {
    padding: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

.menu .section-header .container {
    background-color: var(--white);
    max-width: 1200px;
    padding: 20px 20px 10px;
    width: 100%;
}

.menu .section-title {
    font-size: clamp(46px, 6.8vw, 62px);
}

.addons-label,
.included-label,
.optional-label {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--text-dark);
}

.addons-label,
.included-label {
    font-weight: 700;
}

/* --- Tab Bar --- */

.menu-tabs-shell {
    position: sticky;
    top: var(--header-offset);
    z-index: 10;
    background-color: var(--white);
    overflow: hidden;
}

.menu-tabs-shell::before,
.menu-tabs-shell::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.menu-tabs-shell::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.menu-tabs-shell::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.menu-tabs-shell.is-scrollable:not(.at-start)::before {
    opacity: 1;
}

.menu-tabs-shell.is-scrollable:not(.at-end)::after {
    opacity: 1;
}

.menu-tabs-shell:empty {
    display: none;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    background-color: var(--white);
    border-bottom: none;
    padding: 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar {
    display: none;
}

.menu-tabs-shell.is-scrollable .menu-tabs {
    justify-content: flex-start;
}

.menu-tab {
    flex: 0 0 auto;
    padding: 14px 24px;
    border: none;
    background: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.menu-tab::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--medium-gray);
    transition: background-color 0.3s ease, height 0.3s ease;
}

.menu-tab:hover {
    color: var(--text-dark);
}

.menu-tab.active {
    color: var(--primary-red);
}

.menu-tab.active::after {
    background-color: var(--primary-red);
    height: 3px;
}

.menu-tab:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: -2px;
}


/* --- Menu Content --- */

.menu-categories {
    padding: 0 20px;
}

.menu-category {
    background-color: var(--white);
    padding: 24px 20px;
    border: none;
    border-radius: 0;
}

.menu-category + .menu-category {
    margin-top: 20px;
}

.js [data-menu-root].is-enhanced .menu-category {
    margin-top: 0;
}

.js [data-menu-root].is-enhanced .menu-category.is-active {
    animation: menuPanelFadeIn 0.3s ease;
}

@keyframes menuPanelFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-title {
    font-family: var(--font-body);
    font-size: 21px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.category-subtitle {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.category-subtitle + .category-subtitle {
    margin-top: -10px;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    transition: transform 0.2s ease;
}

.menu-item:hover {
    transform: translateX(8px);
}

.menu-item h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.menu-item .price {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    font-variant-numeric: tabular-nums;
}

.menu-item .price::before {
    content: '$';
}
