/* MENU PAGE — tabs, sections, items, PDF buttons */

/* ── PDF Download Buttons ── */
.menu-pdf-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.menu-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--text-color-light-2);
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.menu-pdf-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color-light-1);
    text-decoration: none;
}

.menu-pdf-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ── Category Tabs ── */
.menu-tabs-wrap {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--background-color-dark-1);
    padding: 0.5rem 0;
    margin-bottom: 1rem;
}

.menu-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

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

.menu-tab {
    flex-shrink: 0;
    padding: 0.75rem 1.25rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-color-light-2);
    font-family: 'Cormorant', serif;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

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

.menu-tab.active {
    color: var(--text-color-light-1);
    border-bottom-color: var(--text-color-light-1);
}

/* ── Category Content ── */
.menu-category {
    display: none;
    animation: menuFadeIn 0.3s ease;
}

.menu-category.active {
    display: block;
}

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

/* ── Section ── */
.menu-section {
    margin-bottom: 2.5rem;
}

.menu-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-section-title {
    font-family: 'Cormorant', serif;
    font-size: 1.5rem;
    color: var(--text-color-light-1);
    line-height: 120%;
}

.menu-section-units {
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-color-light-2);
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 1rem;
}

/* ── Menu Item ── */
.menu-item {
    display: flex;
    align-items: baseline;
    padding: 0.6rem 0;
}

.menu-item-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex-shrink: 1;
}

.menu-item-name {
    font-family: 'Cormorant', serif;
    font-size: 1.1rem;
    line-height: 130%;
    color: var(--text-color-light-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-item-desc {
    font-size: 10px;
    line-height: 140%;
    color: var(--text-color-light-2);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-item-dots {
    flex: 1;
    min-width: 1rem;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.12);
    margin: 0 0.5rem;
    align-self: baseline;
    position: relative;
    top: -4px;
}

.menu-item-prices {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.menu-item-price {
    font-family: 'Cormorant', serif;
    font-size: 1.05rem;
    color: var(--text-color-light-2);
    white-space: nowrap;
    min-width: 2.5rem;
    text-align: right;
}

/* Single price — no gap needed */
.menu-item-prices .menu-item-price:only-child {
    min-width: auto;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .menu-section-title {
        font-size: 1.25rem;
    }

    .menu-item-name {
        font-size: 1rem;
    }

    .menu-item-price {
        font-size: 0.95rem;
        min-width: 2rem;
    }

    .menu-item-prices {
        gap: 0.6rem;
    }

    .menu-tab {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }

    .menu-pdf-btn {
        font-size: 9px;
        padding: 7px 10px;
    }
}

@media (max-width: 575.98px) {
    .menu-item-name {
        white-space: normal;
    }
}
