:root {
    --forest: #173f35;
    --ink: #243a32;
    --paper: #f5f6f3;
    --muted: #68766d;
    --line: #e7e8df;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
.menu-page {
    --graphic-accent: #173f3518;
    min-height: 100vh;
    position: relative;
    isolation: isolate;
    background-color: var(--paper);
    background-image:
        linear-gradient(90deg, #173f3505 1px, transparent 1px),
        linear-gradient(#173f3505 1px, transparent 1px);
    background-size: 64px 64px;
}

.menu-page::before,
.menu-page::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
    background: transparent;
    border: 1px solid var(--graphic-accent);
}

.menu-page::before {
    width: 520px;
    height: 520px;
    top: -190px;
    right: -270px;
    border-radius: 48px;
    transform: rotate(35deg);
    box-shadow: 24px 24px 0 -1px var(--paper), 24px 24px 0 0 var(--graphic-accent);
}

.menu-page::after {
    width: 240px;
    height: 340px;
    bottom: 50px;
    left: -170px;
    border-radius: 24px;
    transform: rotate(-18deg);
}

.menu-page-promo { --graphic-accent: #8a704226; }
.menu-page-carta { --graphic-accent: #3f584b26; }
.menu-page-bibite { --graphic-accent: #46596526; }
.menu-page-baby { --graphic-accent: #66545c26; }

@media (max-width: 767px) {
    .menu-page { background-size: 48px 48px; }
    .menu-page::before { right: -380px; top: -250px; }
    .menu-page::after { left: -205px; }
}

a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #dd8b46; outline-offset: 5px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.menu-shell { max-width: 1120px; padding: 0 24px; margin: 0 auto; }
.welcome { display: flex; align-items: center; gap: 24px; padding: 20px 0 24px; }
.welcome-logo { width: 112px; height: 112px; object-fit: contain; flex-shrink: 0; }
.welcome h1 { font-size: clamp(27px, 4vw, 40px); line-height: 1.15; letter-spacing: -1px; margin: 0 0 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: 2px; font-weight: 700; }
.eyebrow .icon { width: 17px; height: 17px; }
h1 { font-family: Georgia, serif; font-size: clamp(38px, 6vw, 68px); font-weight: normal; letter-spacing: -2px; line-height: 1.04; margin: 18px 0; }
h1 em { color: #7b8c64; font-weight: normal; }
.welcome p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.choice-card { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; min-height: 290px; border-radius: 24px; padding: 28px; box-shadow: 0 5px 12px #173f3512, 0 16px 32px #173f3520; transition: transform .2s, box-shadow .2s; }
.choice-card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px #173f3518, 0 22px 42px #173f352b; }
.choice-promo { background: #e9efd9; }
.choice-carta { background: #f7e8da; }
.choice-bibite { background: #e0edf0; }
.choice-baby { background: #f5e4e9; }
.choice-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #243a3220; border-radius: 13px; margin-bottom: 20px; }
.choice-text { max-width: 75%; }
.choice-text .eyebrow { font-size: 8px; letter-spacing: 1.5px; }
.choice-text h2 { font-family: Georgia, serif; font-size: 32px; font-weight: normal; margin: 9px 0; letter-spacing: -.6px; }
.choice-text p { font-size: 13px; line-height: 1.6; margin: 0; max-width: 250px; }
.choice-photo { position: absolute; z-index: -1; right: -20px; bottom: 45px; width: 160px; height: 160px; object-fit: cover; border-radius: 50%; box-shadow: 0 10px 25px #173f3520; opacity: .75; transform: rotate(-9deg); }
.choice-illustration {
    position: absolute;
    z-index: -1;
    right: 24px;
    bottom: 60px;
    width: 110px;
    height: 110px;
    stroke-width: 1.2;
    opacity: .2;
    transform: rotate(-8deg);
}
.choice-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 25px; font-size: 12px; font-weight: 700; }
.choice-bottom .icon { border: 1px solid #243a3220; border-radius: 50%; padding: 5px; width: 31px; height: 31px; }
.back-link { display: inline-flex; align-items: center; gap: 16px; margin: 12px 0 16px; font-size: 13px; color: var(--muted); }
.section-logo { width: 72px; height: 72px; object-fit: contain; }
.section-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; }
.section-tabs .section-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 17px;
    border-radius: 8px;
    border: 1px solid var(--pill-border);
    background: var(--pill-background);
    color: var(--pill-color);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.section-pill-promo { --pill-color: #655744; --pill-background: #f1ede6; --pill-border: #dcd4c7; }
.section-pill-carta { --pill-color: #3f584b; --pill-background: #eaf0eb; --pill-border: #cdd8cf; }
.section-pill-bibite { --pill-color: #465965; --pill-background: #ebeff2; --pill-border: #cfd8de; }
.section-pill-baby { --pill-color: #66545c; --pill-background: #f1ebee; --pill-border: #ddd1d7; }
.section-tabs .section-pill .icon { width: 18px; height: 18px; }
.section-tabs .section-pill[aria-current="page"] {
    background: var(--pill-color);
    color: #fff;
    border-color: var(--pill-color);
    box-shadow: 0 2px 5px #243a3210;
}
.section-tabs .section-pill:hover { border-color: var(--pill-color); }
.section-intro { padding: 35px 0 20px; }
.section-intro h1 { font-size: clamp(38px, 5vw, 54px); }
.category-links { display: flex; gap: 8px; overflow-x: auto; position: sticky; top: 0; z-index: 5; background: var(--paper); padding: 15px 0; border-bottom: 1px solid var(--line); }
.category-links a { padding: 8px 14px; background: #eff1e9; border-radius: 9px; white-space: nowrap; font-size: 12px; }
.dish-section { scroll-margin-top: 70px; margin-top: 35px; }
.group-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; gap: 10px; }
.group-heading h2, .group-title { font: normal 30px Georgia, serif; margin: 0; }
.group-heading span { font-size: 11px; color: var(--muted); }
.group-description { color: var(--muted); font-size: 14px; }
.dish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dish-card { background: white; padding: 20px; border: 1px solid var(--line); border-radius: 16px; display: flex; align-items: flex-start; gap: 17px; }
.dish-photo { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.dish-info { min-width: 0; flex: 1; }
.dish-title { display: flex; justify-content: space-between; gap: 12px; }
.dish-info h3 { font-size: 15px; line-height: 1.45; margin: 0; }
.dish-info p { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 8px 0; }
.dish-price { font-size: 22px; line-height: 1.2; white-space: nowrap; display: inline-block; font-variant-numeric: tabular-nums; }
.allergens { margin-top: 10px; font-size: 12px; line-height: 1.6; color: #66543a; }
.dish-info .allergens,
.course-content > .allergens,
.drink-description .allergens {
    margin-top: 12px;
    padding: 8px 10px;
    border-left: 3px solid #b49a67;
    background: #f5f0e5;
    border-radius: 0 6px 6px 0;
    color: #66543a;
    font-size: 12px;
}
.dish-unavailable { background: #f6f5f0; }
.dish-unavailable .dish-photo { filter: grayscale(.65); }
.pill { display: inline-block; background: #e6edda; color: var(--forest); border-radius: 999px; padding: 7px 12px; font-size: 11px; font-weight: 600; }
.pill-unavailable { background: #fce8cf; color: #89551f; }
.promo-feature { background: var(--forest); color: #fff; border-radius: 22px; padding: 30px; margin-bottom: 28px; }
.promo-feature-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.promo-feature h2 { font: normal 32px Georgia, serif; margin: 14px 0; }
.promo-feature p { font-size: 14px; line-height: 1.8; color: #d3ded4; }
.promo-feature .eyebrow { color: #d6dda9; }
.promo-price {
    flex-shrink: 0;
    padding: 20px 24px;
    border-radius: 15px;
    background: #f5e8c8;
    color: var(--forest);
    font: normal 38px Georgia, serif;
    white-space: nowrap;
    text-align: center;
}
.promo-price small {
    display: block;
    margin-top: 8px;
    color: #536449;
    font: 11px Arial, sans-serif;
}
.promo-feature .pill { background: #ffffff20; color: #fff; }
.promo-feature-compact {
    padding: 20px;
    margin: 20px 0;
    border-radius: 16px;
}
.promo-feature-compact .promo-feature-top {
    flex-direction: row;
    align-items: center;
    gap: 14px;
}
.promo-feature-compact h1 {
    font: normal 28px Georgia, serif;
    line-height: 1.15;
    letter-spacing: -.5px;
    margin: 0 0 10px;
}
.promo-feature-compact .promo-price {
    align-self: auto;
    font-size: 30px;
    padding: 13px 16px;
    border-radius: 11px;
}
.promo-feature-compact .promo-price small { margin-top: 4px; }
.promo-includes-title { font-size: 23px; }
.promo-extra-info { margin: 20px 0; font-size: 13px; color: var(--muted); }
.promo-extra-info summary { cursor: pointer; }
.promo-extra-info p { line-height: 1.7; }
.group-title { margin-bottom: 18px; }
.promo-courses {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.promo-course {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
}

.course-number {
    flex-shrink: 0;
    align-self: flex-start;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e9efd9;
    color: var(--forest);
    font-size: 13px;
    font-weight: 700;
}

.course-photo {
    width: 160px;
    height: 140px;
    object-fit: cover;
    border-radius: 14px;
    flex-shrink: 0;
}

.course-content { flex: 1; min-width: 0; }
.course-category { color: #8a7042; font-size: 10px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; }
.course-content h3 { font: normal 27px Georgia, serif; margin: 10px 0; line-height: 1.2; }
.course-content > p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; max-width: 620px; }

@media (max-width: 767px) {
    .promo-course { flex-wrap: wrap; gap: 14px; padding: 20px; }
    .course-photo { width: calc(100% - 56px); height: 150px; }
    .course-content { flex-basis: 100%; }
    .course-content h3 { font-size: 25px; }
    .course-content > p { font-size: 13px; }
}
.drink-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.drink-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, 230px);
    align-items: start;
    gap: 24px;
    padding: 20px 24px;
    background: #fff;
}

.drink-row:nth-child(even) { background: #edf1e8; }
.drink-row + .drink-row { border-top: 1px solid var(--line); }
.drink-description h3 { margin: 0; font-size: 15px; line-height: 1.5; }
.drink-description p { margin: 6px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.drink-prices { text-align: right; font-size: 20px; }
.drink-prices dl { margin: 0; }
.drink-prices dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.drink-prices dl > div + div {
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid #cbd4c5;
}
.drink-prices dt { color: var(--muted); font-size: 12px; font-weight: normal; }
.drink-prices dd { margin: 0; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.drink-prices > strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.drink-unavailable .drink-description h3 { color: var(--muted); }
.empty-state { padding: 26px; border: 1px dashed #cbd5c1; border-radius: 14px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.site-footer { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 50px 20px 32px; color: var(--muted); font-size: 11px; }
.site-footer strong { font: normal 18px Georgia, serif; color: var(--forest); }
.site-footer .icon { color: #84966f; margin-bottom: 4px; }
.share-menu-button {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: calc(20px + env(safe-area-inset-bottom));
    z-index: 20;
    display: none;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid #ffffff30;
    border-radius: 16px;
    background: var(--forest);
    color: white;
    box-shadow: 0 6px 20px #173f3540;
    cursor: pointer;
}
.share-menu-button:hover { background: #285548; }
.share-menu-button:focus-visible { outline: 3px solid #dd8b46; outline-offset: 4px; }
.share-menu-feedback {
    position: fixed;
    right: 20px;
    bottom: calc(85px + env(safe-area-inset-bottom));
    z-index: 21;
    max-width: calc(100vw - 40px);
    margin: 0;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--forest);
    color: white;
    font-size: 13px;
    box-shadow: 0 5px 15px #173f3520;
}

@media (max-width: 767px) {
    .share-menu-button { display: grid; }
}

@media (max-width: 767px) {
    .drink-row { grid-template-columns: minmax(0, 1fr) 125px; gap: 14px; padding: 17px 15px; }
    .section-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding: 0;
    }
    .section-tabs .section-pill {
        justify-content: center;
        min-height: 46px;
        padding: 11px 10px;
        border-radius: 10px;
        font-size: 13px;
    }
    .drink-description h3 { font-size: 14px; }
    .drink-prices { font-size: 18px; }
    .drink-prices dt { font-size: 11px; }
    .menu-shell { padding: 0 18px; }
    .welcome { padding: 16px 0 20px; gap: 14px; }
    .welcome-logo { width: 86px; height: 86px; }
    .choice-grid { gap: 12px; }
    .choice-card { min-height: 260px; padding: 18px; border-radius: 19px; }
    .choice-text { max-width: 100%; }
    .choice-text h2 { font-size: 23px; }
    .choice-text p { font-size: 11px; max-width: 130px; }
    .choice-text .eyebrow { display: none; }
    .choice-icon { width: 35px; height: 35px; margin-bottom: 14px; }
    .choice-photo { width: 90px; height: 90px; bottom: 38px; right: -28px; opacity: .35; }
    .choice-illustration { width: 76px; height: 76px; right: 8px; bottom: 46px; opacity: .18; }
    .choice-bottom { font-size: 10px; gap: 6px; }
    .choice-bottom .icon { width: 25px; height: 25px; }
    .dish-grid { grid-template-columns: 1fr; }
    .dish-card { padding: 16px; gap: 13px; }
    .dish-photo { width: 75px; height: 85px; }
    .dish-title { flex-wrap: wrap; gap: 5px; }
    .promo-feature { padding: 24px; }
    .promo-feature-top { flex-direction: column; }
    .promo-price { align-self: stretch; padding: 18px 20px; }
    .promo-feature h2 { font-size: 29px; }
}

.choice-icon,
.choice-bottom .icon,
.section-pill .icon,
.dish-photo,
.course-photo,
.share-menu-button,
.category-links a {
    transition: transform .25s cubic-bezier(.22, 1, .36, 1), background-color .2s, box-shadow .2s;
}

.section-tabs .section-pill {
    transition: transform .2s, background-color .2s, color .2s, box-shadow .2s;
}

.choice-card:active,
.section-tabs .section-pill:active,
.share-menu-button:active {
    transform: scale(.97);
}

@media (hover: hover) and (pointer: fine) {
    .choice-card:hover .choice-icon { transform: rotate(-8deg) scale(1.08); }
    .choice-card:hover .choice-bottom .icon { transform: translateX(4px); }
    .section-tabs .section-pill:hover { transform: translateY(-2px); }
    .section-tabs .section-pill:hover .icon { transform: rotate(-7deg); }
    .dish-card:hover .dish-photo,
    .promo-course:hover .course-photo { transform: scale(1.035); }
    .share-menu-button:hover { transform: translateY(-3px); }
    .category-links a:hover { transform: translateY(-2px); background: #e1e8db; }
}

.share-menu-feedback:not([hidden]) {
    animation: feedback-enter .22s ease-out;
}

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

.menu-page [hidden] { display: none !important; }
.image-loader {
    display: block;
    overflow: hidden;
    background: linear-gradient(100deg, #e7ebe4 20%, #f8faf6 45%, #e7ebe4 70%);
    background-size: 250% 100%;
    animation: image-shimmer 1.5s linear infinite;
}
.image-loader:not(.choice-photo) { position: relative; }
.image-loader.image-loaded { animation: none; background: transparent; }
.loaded-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    opacity: 0;
    transition: opacity .25s ease-out;
}
.image-loaded .loaded-photo { opacity: 1; }
.menu-load-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 100;
    overflow: hidden;
    background: #173f3515;
}
.menu-load-bar::after {
    content: "";
    display: block;
    width: 35%;
    height: 100%;
    background: var(--forest);
    border-radius: 999px;
    animation: menu-load-progress 1s ease-in-out infinite;
}
.menu-loading-notice {
    position: fixed;
    bottom: calc(22px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 19px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 25px #173f3520;
    white-space: nowrap;
    font-size: 13px;
}
.menu-loading-spinner {
    width: 17px;
    height: 17px;
    border: 2px solid #dce4d7;
    border-top-color: var(--forest);
    border-radius: 50%;
    animation: menu-spin .7s linear infinite;
}
@keyframes menu-spin { to { transform: rotate(360deg); } }
@keyframes menu-load-progress { from { transform: translateX(-100%); } to { transform: translateX(390%); } }
@keyframes image-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .menu-page *, .menu-page *::before, .menu-page *::after {
        animation: none !important;
        transition: none !important;
    }
}
