/* Menu page: persistent section bar and a scannable carte, in the existing palette. */
body.lcdg-carte-page {
    --lcdg-ink: #261E18;
    --lcdg-body: #5F5448;
    --lcdg-muted: #706957;
    --lcdg-cream: #F9F5EC;
    --lcdg-panel: #F3EEE4;
    --lcdg-line: #E4DACE;
    --lcdg-line-strong: #DDD4C5;
    --lcdg-carte-offset: 96px;
}

body.lcdg-carte-page .uicore-body-content {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

body.lcdg-carte-page .lcdg-reserve {
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 100060;
}

body.lcdg-carte-page .elementor-168 .lcdg-menu-category {
    padding: 28px 0 8px !important;
    scroll-margin-top: var(--lcdg-carte-offset);
}

body.lcdg-carte-page .elementor-168 .lcdg-menu-heritage {
    padding-top: 36px !important;
    padding-bottom: 20px !important;
}

body.lcdg-carte-page .lcdg-menu-category > .elementor-container {
    max-width: 1080px;
    padding-left: 20px;
    padding-right: 20px;
}

body.lcdg-carte-page .lcdg-menu-category > .elementor-container > .elementor-column > .elementor-widget-wrap {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

body.lcdg-carte-page .lcdg-carte-kicker { order: 1; width: 100%; margin: 0 0 8px !important; text-align: left !important; }
body.lcdg-carte-page .lcdg-carte-title { order: 2; width: 100%; margin: 0 0 12px !important; text-align: left !important; }
body.lcdg-carte-page .lcdg-menu-sketch-divider { order: 3; }
body.lcdg-carte-page .lcdg-menu-sketch { order: 4; }
body.lcdg-carte-page .lcdg-carte-photo { order: 5; }
body.lcdg-carte-page .lcdg-menu-category .elementor-inner-section { order: 6; width: 100%; }

body.lcdg-carte-page .lcdg-carte-kicker .elementor-heading-title {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--lcdg-muted);
}

body.lcdg-carte-page .lcdg-carte-title > .elementor-widget-container {
    padding: 0 !important;
}

body.lcdg-carte-page .lcdg-carte-title .elementor-heading-title {
    font-family: "Forum", serif;
    font-size: clamp(40px, 8vw, 64px);
    font-weight: 400;
    line-height: 1.05;
    color: var(--lcdg-ink);
}

body.lcdg-carte-page .lcdg-menu-sketch,
body.lcdg-carte-page .lcdg-menu-sketch-divider {
    width: 100%;
    margin: 0 0 8px !important;
    text-align: center;
}

body.lcdg-carte-page .lcdg-menu-sketch img {
    width: 72px !important;
    height: auto !important;
    max-height: 60px;
    margin-inline: auto;
    object-fit: contain;
}

body.lcdg-carte-page .lcdg-menu-sketch-divider img {
    width: 112px !important;
    height: auto !important;
    margin-inline: auto;
}

body.lcdg-carte-page .lcdg-carte-photo {
    width: 100%;
    margin: 6px 0 18px !important;
}

body.lcdg-carte-page .lcdg-carte-photo img {
    display: block;
    width: min(100%, 560px) !important;
    height: auto !important;
    margin-inline: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

body.lcdg-carte-page .lcdg-carte-photo-empty {
    display: none !important;
}

body.lcdg-carte-page .lcdg-carte-story-text .lcdg-menu-story-column {
    width: 100% !important;
}

body.lcdg-carte-page .lcdg-menu-category .elementor-inner-section:not(.lcdg-drink-showcase) .elementor-column > .elementor-widget-wrap {
    padding: 0 !important;
}

body.lcdg-carte-page .lcdg-menu-card {
    width: 100%;
    margin: 0 !important;
}

body.lcdg-carte-page .lcdg-menu-card > .elementor-widget-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    align-items: start;
    padding: 14px 0 13px;
    border-bottom: 1px solid var(--lcdg-line);
}

body.lcdg-carte-page .elementor-column > .elementor-widget-wrap > .lcdg-menu-card:last-child > .elementor-widget-container,
body.lcdg-carte-page .lcdg-menu-card:has(+ .lcdg-carte-group) > .elementor-widget-container {
    border-bottom-color: transparent;
}

body.lcdg-carte-page .lcdg-menu-card .bdt-ep-advanced-icon-box,
body.lcdg-carte-page .lcdg-menu-card .bdt-ep-advanced-icon-box-content {
    min-width: 0;
    width: 100%;
    padding: 0 !important;
    text-align: left;
}

body.lcdg-carte-page .lcdg-menu-card .bdt-ep-advanced-icon-box-title,
body.lcdg-carte-page .lcdg-menu-card .bdt-ep-advanced-icon-box-title span {
    margin: 0 !important;
    font-family: "Forum", serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--lcdg-ink) !important;
    overflow-wrap: anywhere;
}

body.lcdg-carte-page .lcdg-menu-card .bdt-ep-advanced-icon-box-description {
    width: 100%;
    max-width: none;
    margin: 4px 0 0;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1.45;
    color: var(--lcdg-body);
    text-align: left;
}

body.lcdg-carte-page .lcdg-menu-card .bdt-ep-advanced-icon-box-description:empty {
    display: none;
}

body.lcdg-carte-page .lcdg-menu-card .bdt-ep-advanced-icon-box-badge {
    position: static !important;
    grid-column: 2;
    grid-row: 1;
    inset: auto !important;
    margin: 2px 0 0 !important;
    transform: none !important;
    white-space: nowrap;
}

body.lcdg-carte-page .lcdg-menu-card .bdt-badge {
    display: block;
    padding: 0 !important;
    background: transparent !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em !important;
    line-height: 1.4 !important;
    color: var(--lcdg-ink) !important;
    white-space: nowrap;
}

body.lcdg-carte-page .lcdg-carte-group {
    width: 100%;
    margin: 26px 0 2px;
    padding-top: 18px;
    border-top: 1px solid var(--lcdg-line-strong);
    scroll-margin-top: var(--lcdg-carte-offset);
    font-family: "Forum", serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--lcdg-ink);
}

body.lcdg-carte-page .elementor-widget-wrap > .lcdg-carte-group:first-child {
    margin-top: 4px;
    padding-top: 0;
    border-top: 0;
}

@media (max-width: 767px) {
    body.lcdg-carte-page .lcdg-carte-group-continued {
        display: none;
    }
}

body.lcdg-carte-page .lcdg-drink-showcase {
    margin: 8px 0 28px;
}

body.lcdg-carte-page .lcdg-drink-caption .elementor-heading-title {
    font-family: "Forum", serif;
    color: var(--lcdg-ink);
}

.lcdg-carte-nav {
    position: fixed;
    z-index: 100040;
    right: var(--lcdg-reserve-clearance, 152px);
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    padding: 0;
    pointer-events: none;
}

.lcdg-carte-nav-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    width: min(760px, 100%);
    margin: 0 auto;
    height: 44px;
    padding: 0;
    pointer-events: auto;
    background: rgb(249 245 236 / 92%);
    border: 1px solid rgb(255 255 255 / 80%);
    border-radius: 999px;
    box-shadow: 0 22px 44px -28px rgb(38 30 24 / 55%), 0 8px 18px -14px rgb(38 30 24 / 40%);
    backdrop-filter: blur(12px);
}

.lcdg-carte-nav-scroll {
    display: flex;
    flex: 1;
    gap: 4px;
    min-width: 0;
    overflow-x: auto;
    padding: 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.lcdg-carte-nav-scroll::-webkit-scrollbar {
    display: none;
}

.lcdg-carte-nav-bar.is-overflowing::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 8px;
    width: 18px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to right, rgb(249 245 236 / 94%), transparent);
}

.lcdg-carte-nav a,
.lcdg-carte-top {
    flex: 0 0 auto;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 180ms ease, color 180ms ease, transform 150ms ease;
}

.lcdg-carte-nav a {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: var(--lcdg-body);
    background: transparent;
}

.lcdg-carte-nav a[aria-current="true"] {
    background: var(--lcdg-ink);
    color: var(--lcdg-cream);
}

.lcdg-carte-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    padding: 0;
    color: var(--lcdg-ink);
    background: var(--lcdg-panel);
    cursor: pointer;
}

.lcdg-carte-top svg {
    display: block;
}

.lcdg-carte-nav a:active,
.lcdg-carte-top:active {
    transform: scale(0.97);
}

.lcdg-carte-nav a:focus-visible,
.lcdg-carte-top:focus-visible {
    outline: 2px solid var(--lcdg-muted);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    body.lcdg-carte-page .elementor-168 .lcdg-menu-category {
        padding: 56px 0 16px !important;
    }

    body.lcdg-carte-page .lcdg-menu-category > .elementor-container {
        padding-left: 28px;
        padding-right: 28px;
    }

    body.lcdg-carte-page .lcdg-menu-category .elementor-inner-section:not(.lcdg-drink-showcase) > .elementor-container {
        display: flex;
        gap: 48px;
    }

    body.lcdg-carte-page .lcdg-menu-category .elementor-inner-section:not(.lcdg-drink-showcase) > .elementor-container > .elementor-column {
        width: calc((100% - 48px) / 2) !important;
    }

    body.lcdg-carte-page .lcdg-menu-card .bdt-ep-advanced-icon-box-title,
    body.lcdg-carte-page .lcdg-menu-card .bdt-ep-advanced-icon-box-title span {
        font-size: 24px !important;
    }
}

@media (max-width: 767px) {
    body.lcdg-carte-page .lcdg-menu-category .elementor-inner-section:not(.lcdg-drink-showcase) > .elementor-container > .elementor-column {
        width: 100% !important;
    }

    body.lcdg-carte-page .lcdg-drink-showcase > .elementor-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    body.lcdg-carte-page .lcdg-drink-showcase > .elementor-container::-webkit-scrollbar {
        display: none;
    }

    body.lcdg-carte-page .lcdg-drink-showcase .lcdg-drink-column,
    body.lcdg-carte-page .lcdg-drink-showcase .lcdg-drink-lemonades {
        flex: 0 0 78% !important;
        width: 78% !important;
        scroll-snap-align: start;
    }

    body.lcdg-carte-page .lcdg-drink-column > .elementor-widget-wrap {
        padding: 12px 10px !important;
        background: var(--lcdg-panel);
        transform: none !important;
    }

    body.lcdg-carte-page .lcdg-menu-card .bdt-ep-advanced-icon-box-title,
    body.lcdg-carte-page .lcdg-menu-card .bdt-ep-advanced-icon-box-title span {
        font-size: 21px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lcdg-carte-nav a,
    .lcdg-carte-top,
    .lcdg-carte-nav-scroll {
        scroll-behavior: auto;
        transition: none;
    }

    .lcdg-carte-nav a:active,
    .lcdg-carte-top:active {
        transform: none;
    }
}
