/** LG Menu Widget — CSS */

.lg-menu {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
    min-height: 80vh;
}
@media (min-width: 1025px) {
    body.admin-bar .lg-menu { padding-top: 128px; }
}

/* Sidebar */
.lg-menu__sidebar {
    width: 224px;
    flex-shrink: 0;
    position: sticky;
    top: 96px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: none;
    border: 1px solid rgba(var(--lge-foreground-rgb),.05);
    background: var(--lge-surface);
}
.lg-menu__sidebar::-webkit-scrollbar { display: none; }
body.admin-bar .lg-menu__sidebar { top: 128px; max-height: calc(100vh - 152px); }
.lg-menu__nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

/* Sidebar group buttons (FEATURED, MENU, POOL MENU, DRINKS) */
.lg-menu__nav-group { border-bottom: 1px solid rgba(var(--lge-foreground-rgb),.05); }
.lg-menu__nav-group:last-child { border-bottom: none; }
.lg-menu__nav-group-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--lge-muted-fg);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color .3s;
}
.lg-menu__nav-group-btn:hover { color: var(--lge-foreground); }
.lg-menu__nav-group-btn.is-active { color: #EF7A23 !important; }
.lg-menu__nav-group-btn:focus,
.lg-menu__nav-group-btn:focus-visible { outline: none; }

/* Sidebar subcategories */
.lg-menu__nav-subcats {
    display: none;
    flex-direction: column;
    padding-bottom: 8px;
}
.lg-menu__nav-item {
    display: block;
    padding: 8px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: none;
    color: rgba(var(--lge-foreground-rgb),.6);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color .2s;
}
.lg-menu__nav-item:hover { color: var(--lge-foreground); }
.lg-menu__nav-item.is-active {
    color: #EF7A23;
    border-left-color: #EF7A23;
    padding-left: 18px;
}

/* Mobile Tab Bar (in-flow, becomes fixed via JS when scrolled past navbar) */
.lg-menu__mobile-tabs {
    display: none;
    align-items: stretch;
    background: var(--lge-background);
    border-bottom: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    z-index: 1000;
}
.lg-menu__mobile-tabs-placeholder { display: none; }
.lg-menu__mobile-tabs-inner {
    display: flex;
    align-items: stretch;
}
.lg-menu__mobile-group-dropdown {
    position: relative;
    flex-shrink: 0;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--lge-foreground);
    background: var(--lge-surface);
    border: none;
    border-right: 1px solid rgba(var(--lge-foreground-rgb),.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
.lg-menu__mobile-group-btn {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
}
.lg-menu__mobile-group-dropdown svg { transition: transform .2s; }
.lg-menu__mobile-group-dropdown.is-open svg { transform: rotate(180deg); }
.lg-menu__mobile-group-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: var(--lge-surface);
    border: 1px solid rgba(var(--lge-foreground-rgb),.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
    z-index: 1000;
}
.lg-menu__mobile-group-menu.is-open { display: block; }
.lg-menu__mobile-group-menu button {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--lge-muted-fg) !important;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}
.lg-menu__mobile-group-menu button:hover { color: var(--lge-foreground) !important; background: rgba(var(--lge-foreground-rgb),.05); }
.lg-menu__mobile-group-menu button.is-active { color: #EF7A23 !important; }
/* Subcats scroll wrapper (contains subcats + arrow buttons) */
.lg-menu__mobile-subcats-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: stretch;
}
.lg-menu__mobile-subcats {
    display: flex;
    overflow-x: auto;
    flex: 1;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.lg-menu__mobile-subcats::-webkit-scrollbar { display: none; }

/* Scroll arrow buttons */
.lg-menu__scroll-arrow {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    z-index: 2;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--lge-foreground) !important;
    padding: 0;
    transition: opacity .15s;
}
.lg-menu__scroll-arrow--left {
    left: 0;
    background: linear-gradient(to right, var(--lge-background) 40%, transparent) !important;
}
.lg-menu__scroll-arrow--right {
    right: 0;
    background: linear-gradient(to left, var(--lge-background) 40%, transparent) !important;
}
.lg-menu__scroll-arrow.is-visible { display: flex; }
.lg-menu__scroll-arrow:hover { opacity: .8; }
.lg-menu__tab,
.lg-menu__mobile-subcat {
    flex-shrink: 0;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--lge-muted-fg) !important;
    background: none;
    border: none;
    border-bottom: 2px solid transparent !important;
    cursor: pointer;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}
.lg-menu__tab.is-active,
.lg-menu__mobile-subcat.is-active {
    color: #EF7A23 !important;
    border-bottom: 2px solid #EF7A23 !important;
}
@media (max-width: 1024px) {
    .lg-menu__sidebar { display: none; }
    .lg-menu {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    .lg-menu__content { padding: 24px 16px; }
    .lg-menu__mobile-tabs { display: flex; }
    .lg-menu__mobile-tabs:not(.is-stuck) {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    .lg-menu__mobile-tabs.is-stuck {
        position: fixed;
        z-index: 999;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,.5);
    }
}

/* Content */
.lg-menu__content { flex: 1; min-width: 0; }
.lg-menu__intro {
    text-align: center;
    max-width: 672px;
    margin: 0 auto;
    padding: 60px 24px 0;
    color: rgba(var(--lge-foreground-rgb),.8);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 300;
}
.lg-menu__section { margin-bottom: 80px; }
.lg-menu__section-header { text-align: center; margin-bottom: 40px; }

/* Chef's Selection label */
.lg-menu__chef-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #C9A96E;
    margin-bottom: 8px;
}
.lg-menu__cat-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.875rem, 3vw, 2.25rem);
    color: var(--lge-foreground);
    font-weight: 400;
    margin: 0 0 20px;
}
.lg-menu__cat-desc {
    color: var(--lge-muted-fg);
    font-size: .85rem;
    margin: 0 0 12px;
}
.lg-menu__cat-divider {
    width: 48px;
    height: 1px;
    background: #C9A96E;
    margin: 0 auto;
}

/* Featured grid */
.lg-menu__featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
/* Odd count (e.g. 3): center the lone last card so it doesn't leave a gap. Desktop 2-col only. */
@media (min-width: 769px) {
    .lg-menu__featured-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 8px);
        justify-self: center;
    }
}
@media (max-width: 768px) { .lg-menu__featured-grid { grid-template-columns: 1fr; } }
.lg-menu__featured-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    cursor: pointer;
}
@media (min-width: 768px) { .lg-menu__featured-card { height: 400px; } }
.lg-menu__featured-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 2s ease;
}
.lg-menu__featured-card:hover img { transform: scale(1.1); }
.lg-menu__featured-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.2), transparent);
}
.lg-menu__featured-cat {
    font-size: 10px;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .25em;
}
.lg-menu__featured-overlay h3 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 4px 0;
}
.lg-menu__featured-overlay p {
    color: rgba(255,255,255,.6);
    font-size: .8rem;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lg-menu__featured-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}
.lg-menu__featured-price {
    color: #C9A96E;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}
.lg-menu__featured-badge {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #C9A96E;
}

/* Menu items */
.lg-menu__items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
}
@media (max-width: 768px) { .lg-menu__items-grid { grid-template-columns: 1fr; } }
.lg-menu__item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(var(--lge-foreground-rgb),.05);
}
.lg-menu__item-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.lg-menu__item-name-wrap { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-width: 0; }
.lg-menu__item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    color: var(--lge-foreground);
}
.lg-menu__item-badge {
    font-size: .6rem;
    letter-spacing: .25em;
    text-transform: uppercase;
}
.lg-menu__item-badge--signature { color: #EF7A23; }
.lg-menu__item-badge--new, .lg-menu__item-badge--featured { color: #C9A96E; }
.lg-menu__item-dots { display: none; }
.lg-menu__item-price {
    color: #C9A96E;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    flex-shrink: 0;
    white-space: nowrap;
}
.lg-menu__item-desc {
    color: var(--lge-muted-fg);
    font-size: .875rem;
    margin: 4px 0 0;
    line-height: 1.5;
}
.lg-menu__item-dietary {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 8px;
}
.lg-menu__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--border, rgba(201,169,110,.3));
    border-radius: 20px;
    padding: 3px 11px 3px 6px;
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    color: rgba(201,169,110,.85);
    white-space: nowrap;
}
.lg-menu__chip-ico {
    display: inline-block;
    width: 17px;
    height: 17px;
    background-color: var(--accent, #c9a96e);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    flex: 0 0 auto;
}
.lg-menu__legend {
    margin: 60px auto 8px;
    max-width: 900px;
    text-align: center;
}
.lg-menu__legend .lg-menu__legend-title {
    font-size: .9rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(201,169,110,.8);
    font-weight: 400;
    margin: 0 0 42px;
}
.lg-menu__legend-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 32px;
}
.lg-menu__legend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 78px;
}
.lg-menu__legend-ico {
    width: 26px;
    height: 26px;
    background-color: var(--accent, #c9a96e);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.lg-menu__legend-name {
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 11px;
    letter-spacing: .03em;
    line-height: 1.3;
    color: rgba(201,169,110,.7);
}
.lg-menu__disclaimer {
    text-align: center;
    color: var(--lge-muted-fg);
    font-size: .75rem;
    margin-top: 40px;
}

/* Build Your Pasta section */
.lg-menu__pasta-section {
    margin-top: 80px;
}
.lg-menu__pasta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 32px;
}
@media (max-width: 768px) { .lg-menu__pasta-grid { grid-template-columns: 1fr; } }
.lg-menu__pasta-type-title,
.lg-menu__pasta-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #C9A96E;
    margin-bottom: 16px;
}
.lg-menu__pasta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(var(--lge-foreground-rgb),.05);
    margin-bottom: 12px;
}
.lg-menu__pasta-item-name,
.lg-menu__pasta-name {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    color: var(--lge-foreground);
}
.lg-menu__pasta-item-desc,
.lg-menu__pasta-desc {
    display: block;
    font-size: .75rem;
    color: var(--lge-muted-fg);
    margin-top: 4px;
}
.lg-menu__pasta-item-price {
    color: #C9A96E;
    font-size: .875rem;
    flex-shrink: 0;
}
.lg-menu__pasta-option {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(var(--lge-foreground-rgb),.05);
}
.lg-menu__pasta-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.lg-menu__pasta-option .lg-menu__item-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.lg-menu__pasta-option .lg-menu__item-price {
    color: #C9A96E;
    font-size: .875rem;
    flex-shrink: 0;
    white-space: nowrap;
}

/* FAB (mobile) */
.lg-menu__fab {
    display: none;
    position: fixed !important;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    width: 48px;
    height: 48px;
    padding: 0 !important;
    border-radius: 50%;
    background: #EF7A23 !important;
    border: none !important;
    color: #fff !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(239,122,35,.25);
    align-items: center;
    justify-content: center;
    transition: all .3s;
}
@media (max-width: 1024px) { .lg-menu__fab { display: flex !important; } }
.lg-menu__fab:hover { box-shadow: 0 20px 25px -5px rgba(239,122,35,.4); transform: scale(1.05); }
.lg-menu__fab-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #EF7A23;
    border: none;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(239,122,35,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}
.lg-menu__fab-btn:hover { background: rgba(239,122,35,.9); }
.lg-menu__fab-menu {
    display: none;
    position: fixed !important;
    bottom: 80px;
    right: 24px;
    z-index: 100000;
    width: 224px;
    background: var(--lge-surface);
    border: 1px solid rgba(var(--lge-foreground-rgb),.1);
    backdrop-filter: blur(24px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
    max-height: 60vh;
    overflow-y: auto;
}
.lg-menu__fab-menu.is-open { display: block; }

/* FAB icon toggle */
.lg-menu__fab.is-open .lg-menu__fab-icon--menu { display: none; }
.lg-menu__fab.is-open .lg-menu__fab-icon--close { display: block !important; }

/* FAB group structure */
.lg-menu__fab-group-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--lge-muted-fg) !important;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: color .2s;
}
.lg-menu__fab-group-btn:hover { color: var(--lge-foreground) !important; }
.lg-menu__fab-group-btn.is-active { color: #EF7A23 !important; }

.lg-menu__fab-divider {
    height: 1px;
    background: rgba(var(--lge-foreground-rgb),.08);
    margin: 4px 12px;
}

.lg-menu__fab-subcat {
    display: block;
    width: 100%;
    padding: 6px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: normal;
    color: var(--lge-muted-fg) !important;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: color .2s;
}
.lg-menu__fab-subcat:hover { color: var(--lge-foreground) !important; }
.lg-menu__fab-subcat.is-active { color: #EF7A23 !important; }
