/* Menu Page Styles */

/* Reserve space at top when scrolling to anchors so fixed jump nav doesn't cover section titles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 131px;
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 330px;
    }
}

.menu-page {
    min-height: 100vh;
    background: #ffffff;
    padding-top: 0;
    padding-bottom: 60px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

/* Menu Page SEO Content Section */
.menu-page-content {
    background: #f8f8f8;
    padding: 80px 22px;
    color: #000000;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.menu-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.menu-content-title {
    font-family: "Yellowtail", cursive;
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 400;
    color: #000000;
    margin: 0 0 30px 0;
    text-align: center;
    letter-spacing: 0.02em;
}

.menu-content-text {
    font-family: "Inter", sans-serif;
}

.menu-content-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #000000;
    margin: 0 0 50px 0;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* GEO-friendly page definition (visible to crawlers and users) */
.menu-page-intro {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0 0 24px 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
    text-align: center;
}

.menu-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 40px;
}

.menu-content-item {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.menu-content-item-title {
    font-family: "Platypi", serif;
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    color: #000000;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.menu-content-item p {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #000000;
    margin: 0;
    text-align: left;
}

.menu-content-item p strong {
    font-weight: 600;
    color: #000000;
}

.menu-content-item a {
    color: #000000;
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.3);
    transition: text-decoration-color 0.2s ease;
}

.menu-content-item a:hover {
    text-decoration-color: #000000;
}

@media (max-width: 1024px) {
    .menu-content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .menu-page-content {
        padding: 60px 22px;
    }
    
    .menu-content-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .menu-content-intro {
        font-size: 17px;
        margin-bottom: 40px;
    }
}

@media (max-width: 520px) {
    .menu-page-content {
        padding: 50px 16px;
    }
    
    .menu-content-intro {
        font-size: 16px;
        margin-bottom: 35px;
    }
}

/* Menu Page FAQ Section */
.menu-page-faq {
    background: #ffffff;
    padding: 60px 22px;
    color: #000000;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.menu-faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.menu-faq-title {
    font-family: "Yellowtail", cursive;
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 400;
    color: #000000;
    margin: 0 0 36px 0;
    text-align: center;
    letter-spacing: 0.02em;
}

.menu-faq-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.menu-faq-item {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.menu-faq-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.menu-faq-question {
    font-family: "Platypi", serif;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 600;
    color: #000000;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.menu-faq-answer {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #000000;
    margin: 0;
}

.menu-faq-answer a {
    color: #000000;
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.3);
    transition: text-decoration-color 0.2s ease;
}

.menu-faq-answer a:hover {
    text-decoration-color: #000000;
}

@media (max-width: 767px) {
    .menu-page-faq {
        padding: 50px 22px;
    }
    
    .menu-faq-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 28px;
    }
    
    .menu-faq-content {
        gap: 24px;
    }
    
    .menu-faq-item {
        padding-bottom: 24px;
    }
    
    .menu-faq-question {
        font-size: clamp(17px, 3vw, 20px);
    }
    
    .menu-faq-answer {
        font-size: 15px;
    }
}

@media (max-width: 520px) {
    .menu-page-faq {
        padding: 40px 16px;
    }
    
    .menu-faq-content {
        gap: 20px;
    }
    
    .menu-faq-item {
        padding-bottom: 20px;
    }
}

/* Prevent horizontal scroll on all devices */
body.menu-page-body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

/* Make header static on menu page so it doesn't overlay content */
.menu-page-body .site-header.menu-page-header {
    position: static;
    background: #ffffff;
    padding: 40px 0;
    border-bottom: none;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.menu-page-header .header-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    position: relative;
}

.menu-page-header .header-section:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: rgba(0, 0, 0, 0.15);
}

.menu-page-header .header-logo-section {
    justify-content: flex-start;
}

.menu-page-header .header-title-section {
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.menu-page-header .header-contact-section {
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.menu-page-body .header-logo img {
    filter: brightness(0);
    opacity: 1;
    width: min(180px, 25vw);
    height: auto;
    transition: opacity 0.2s ease;
}

.menu-page-body .header-logo:hover img {
    opacity: 0.7;
}

.header-contact-line {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #000000;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.header-contact-line a {
    color: #000000;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.header-contact-line a:hover {
    opacity: 0.7;
}

.header-contact-phone,
.header-contact-phone a {
    font-family: "Platypi", serif;
    font-size: 20px;
    font-weight: 600;
}

.header-contact-line .header-directions-link {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Jump to section navigation - sticks to top when scrolling */
.menu-jump-nav-wrapper {
    position: relative;
}

.menu-jump-nav-spacer {
    height: 0;
    transition: height 0.15s ease;
    pointer-events: none;
}

.menu-jump-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fafaf9;
    border-bottom: 2px solid rgba(42, 36, 31, 0.2);
    padding: 18px 0;
    margin: 0 -22px 32px -22px;
    padding-left: 22px;
    padding-right: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Fixed state: nav follows user down the page (applied via JS when scrolled past) */
.menu-jump-nav--fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    margin: 0;
    padding-left: 22px;
    padding-right: 22px;
    max-width: 100vw;
    box-sizing: border-box;
}

/* When fixed, hide "Jump to:" to keep the bar shorter */
.menu-jump-nav--fixed .menu-jump-nav-label {
    display: none;
}

/* Dismissed: user closed the fixed bar; hide it until they scroll to top and down again or refresh */
.menu-jump-nav--fixed.menu-jump-nav--dismissed {
    transform: translateY(-100%);
    pointer-events: none;
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-jump-nav--fixed {
    transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Close (X) button: only visible when fixed; plain X in the sections bar */
.menu-jump-nav-close {
    display: none;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #000000;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.menu-jump-nav--fixed .menu-jump-nav-close {
    display: flex;
}
.menu-jump-nav--fixed.menu-jump-nav--dismissed .menu-jump-nav-close {
    display: none;
}
.menu-jump-nav-close:hover {
    color: #333333;
    opacity: 0.85;
}
.menu-jump-nav-close:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Trigger button: hidden by default, shown only when fixed on mobile */
.menu-jump-nav-trigger {
    display: none;
    border: none;
    background: transparent;
    font: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

@media (min-width: 1200px) {
    .menu-jump-nav--fixed {
        left: 50%;
        right: auto;
        margin-left: -600px;
        width: 1200px;
        padding-left: 22px;
        padding-right: 22px;
    }
}

.menu-jump-nav-label {
    font-family: "Yellowtail", cursive;
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 400;
    color: #000000;
    margin: 0;
    white-space: nowrap;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.menu-jump-nav-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 14px;
    column-gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: flex-start;
    align-content: flex-start;
}

.menu-jump-nav-list li {
    margin: 0;
    padding: 0;
}

.menu-jump-nav-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Platypi", serif;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    padding: 6px 14px;
    border: 2px solid #000000;
    border-radius: 6px;
    white-space: nowrap;
    line-height: 1.3;
    min-height: 36px;
    box-sizing: border-box;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.menu-jump-nav-list a:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-1px);
}

.menu-jump-nav-list a:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Ensure text is always readable */
* {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Prevent overflow on mobile */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}


.menu-header {
    background: #000000;
    color: #ffffff;
    padding: 50px 22px 40px;
    margin: 0 -22px 60px -22px;
}

.menu-title {
    font-family: var(--serif);
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    color: #000000;
    margin: 0 0 20px 0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.menu-download-btn {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    padding: 12px 24px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
    text-align: center;
}

.menu-download-btn:hover,
.menu-download-btn:focus {
    background: #000000;
    color: #ffffff;
    transform: translateY(-1px);
    outline: 2px solid #000000;
    outline-offset: 2px;
}

.menu-download-btn i {
    font-size: 16px;
    margin-right: 8px;
}

.menu-welcome {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(42, 36, 31, 0.15);
}

.menu-welcome-title {
    font-family: var(--serif);
    font-size: clamp(40px, 7vw, 56px);
    font-weight: 400;
    color: #000000;
    margin: 0 0 24px 0;
    letter-spacing: 0.02em;
    font-style: italic;
}

.menu-welcome-content {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #000000;
    max-width: 700px;
    margin: 0 auto;
}

.menu-welcome-content p {
    margin: 0 0 16px 0;
}

.menu-welcome-content p:last-child {
    margin-bottom: 0;
}

.menu-sections {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.menu-section {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.menu-section-title {
    font-family: "Yellowtail", cursive;
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 400;
    color: #000000;
    margin: 0 0 20px 0;
    letter-spacing: 0.02em;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(42, 36, 31, 0.2);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    /* Position section title just below fixed jump nav when scrolling to anchor */
    scroll-margin-top: 131px;
}

@media (max-width: 767px) {
    .menu-section-title {
        scroll-margin-top: 330px;
    }
}

.menu-section-subtitle {
    font-family: "Inter", sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: #000000;
    font-style: normal;
}

.menu-subsection-title {
    font-family: "Yellowtail", cursive;
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 400;
    color: #000000;
    margin: 50px 0 30px 0;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.menu-subsection-title:first-of-type {
    margin-top: 30px;
    padding-top: 20px;
}

.menu-section-intro {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #000000;
    margin: 0 0 24px 0;
    font-style: italic;
    letter-spacing: 0.01em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    box-sizing: border-box;
    max-width: 100%;
    padding: 0 16px;
}

.menu-section-intro strong {
    font-weight: 600;
    color: #000000;
    font-style: normal;
}

.menu-note {
    font-family: "Yellowtail", cursive;
    font-size: 24px;
    font-weight: 400;
    color: #000000;
    margin: 24px 0 0 0;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(42, 36, 31, 0.15);
}

.menu-items {
    column-count: 2;
    column-gap: 40px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* JS masonry layout: removes column flow and positions items to reduce gaps */
.menu-items.menu-items--masonry {
    column-count: unset;
    column-gap: unset;
    position: relative;
}

.menu-items.menu-items--masonry .menu-item {
    position: absolute;
    margin-bottom: 0;
    transition: left 0.2s ease, top 0.2s ease, width 0.2s ease;
}

.menu-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 32px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    word-wrap: break-word;
}

.menu-item-spacing {
    margin-bottom: 60px;
}

.menu-item-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.menu-item-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    vertical-align: middle;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.menu-item-name {
    font-family: "Platypi", serif;
    font-size: clamp(18px, 2.8vw, 22px);
    font-weight: 800;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #000000;
    margin: 0;
    flex: 1;
    min-width: 0;
    text-shadow: 0.4px 0 0 currentColor;
    letter-spacing: 0.015em;
    position: relative;
    padding-right: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.menu-or-text {
    font-family: "Yellowtail", cursive;
    font-weight: 400;
    font-style: normal;
}

.menu-item-name:has(.menu-item-number) {
    padding-left: 40px;
}

.menu-item-number {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: #000000;
    color: #fff;
    border-radius: 50%;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 28px;
    position: absolute;
    left: 0;
    top: 0;
    flex-shrink: 0;
}

.menu-item-quantity {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    font-style: italic;
}

.menu-item-price {
    font-family: "Inter", sans-serif;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 500;
    color: #000000;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.4;
}

.menu-item-description {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    hyphens: none;
    line-height: 1.7;
    color: #000000;
    margin: 0;
    max-width: 100%;
    letter-spacing: 0.01em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.menu-item-modifier {
    font-family: "Yellowtail", cursive;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    color: #000000;
    margin: 6px 0 0 0;
    font-style: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Popular items with borders */
.menu-item.popular {
    border: 2px solid #000000;
    padding: 16px;
    border-radius: 4px;
    background: #ffffff;
    break-inside: avoid;
    page-break-inside: avoid;
    position: relative;
    align-self: start;
}


/* Improve touch targets for mobile */
@media (max-width: 767px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
}

/* Accessibility improvements */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Improve readability with better contrast */
.menu-item-name,
.menu-item-price,
.menu-section-title {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure proper spacing for readability */
.menu-item-description,
.menu-section-intro {
    word-spacing: 0.05em;
}

/* Landscape orientation adjustments */
/* Desktop adjustments */
@media (min-width: 768px) {
    .menu-items {
        column-count: 2;
        column-gap: 40px;
    }
    
    .menu-item {
        margin-bottom: 32px;
    }
    
    /* Three-column layout for Mariscos only */
    .menu-section[aria-labelledby="mariscos-heading"] .menu-items {
        column-count: 3;
        column-gap: 32px;
    }
    
    .menu-section[aria-labelledby="mariscos-heading"] .menu-item {
        margin-bottom: 28px;
    }
    
    .menu-item-description {
        max-width: 100%;
    }
    
    .menu-item.popular {
        padding: 20px;
    }
}

/* Disable JS masonry on narrow viewports (e.g. Safari iOS) to prevent overlapping text from absolute positioning */
@media (max-width: 767px) {
    .menu-items.menu-items--masonry {
        position: relative;
        height: auto !important;
    }
    .menu-items.menu-items--masonry .menu-item {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: auto !important;
    }
}

/* Medium tablets - maintain 2-column layout for all sections */
@media (min-width: 481px) and (max-width: 767px) {
    .menu-jump-nav {
        margin: 0 -20px 28px -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .menu-jump-nav--fixed {
        padding-left: 28px;
        padding-right: 24px;
    }
    
    .menu-items {
        column-count: 2;
        column-gap: 32px;
    }
    
    .menu-item {
        margin-bottom: 24px;
    }
    
    .menu-item-description {
        max-width: 100%;
    }
}

/* Tablet adjustments */
@media (min-width: 481px) and (max-width: 767px) {
    .menu-container {
        padding: 0 20px;
    }
    
    .menu-item-name {
        font-size: clamp(18px, 3.2vw, 21px);
    }
    
    .menu-item-description {
        font-size: 15px;
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .menu-page {
        padding-top: 20px;
        padding-bottom: 30px;
    }
    
    .menu-container {
        padding: 0 16px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .menu-jump-nav {
        margin: 0 -16px 24px -16px;
        padding: 14px 16px;
    }
    .menu-jump-nav--fixed {
        left: 0;
        right: 0;
        margin-left: 0;
        width: 100%;
        padding: 12px 20px 12px 28px;
        box-sizing: border-box;
    }
    
    /* X centered vertically in the sections bar (first row only) */
    .menu-jump-nav--fixed .menu-jump-nav-close {
        top: 12px;
        height: 44px;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* When fixed on mobile: show compact "Sections" trigger; list is collapsed by default */
    .menu-jump-nav--fixed .menu-jump-nav-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 8px 48px 8px 14px;
        font-family: "Platypi", serif;
        font-size: 15px;
        font-weight: 600;
        color: #000000;
        border: 2px solid #000000;
        border-radius: 6px;
        background: #fafaf9;
        gap: 6px;
    }
    .menu-jump-nav--fixed .menu-jump-nav-trigger::after {
        content: '';
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #000000;
        transition: transform 0.2s ease;
    }
    .menu-jump-nav--fixed.menu-jump-nav--expanded .menu-jump-nav-trigger::after {
        transform: rotate(180deg);
    }
    .menu-jump-nav--fixed .menu-jump-nav-list {
        max-height: 0;
        overflow: hidden;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 0;
        padding-bottom: 0;
        transition: max-height 0.25s ease;
        -webkit-overflow-scrolling: touch;
    }
    .menu-jump-nav--fixed.menu-jump-nav--expanded .menu-jump-nav-list {
        max-height: 60vh;
        overflow-x: auto;
        overflow-y: auto;
        padding: 10px 0 4px 8px;
    }
    
    .menu-jump-nav-label {
        display: block;
        margin-bottom: 10px;
        font-size: clamp(20px, 5vw, 24px);
    }
    
    .menu-jump-nav-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .menu-jump-nav-list a {
        flex-shrink: 0;
        font-size: 14px;
        padding: 5px 12px;
        min-height: 34px;
        border-width: 1.5px;
    }
    
    /* When fixed + expanded, slightly smaller pills to fit more */
    .menu-jump-nav--fixed.menu-jump-nav--expanded .menu-jump-nav-list a {
        font-size: 13px;
        padding: 4px 10px;
        min-height: 32px;
    }
    
    .menu-header {
        margin-bottom: 32px;
        padding: 40px 16px 30px;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .menu-title {
        font-size: clamp(36px, 10vw, 48px);
        margin-bottom: 10px;
    }
    
    .menu-download-btn {
        font-size: 12px;
        padding: 10px 20px;
        margin-top: 8px;
    }
    
    .menu-download-btn i {
        font-size: 14px;
    }
    
    .menu-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .menu-download-link {
        font-size: 13px;
    }
    
    .menu-sections {
        gap: 48px;
    }
    
    .menu-section-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 24px;
        padding-bottom: 12px;
        border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    }
    
    .menu-section-intro {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 24px;
    }
    
    .menu-items {
        column-count: 1;
        column-gap: 0;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    /* Disable JS masonry on mobile: absolute positioning + off-screen measurement can cause wrong heights and overlapping text on Safari iOS */
    .menu-items.menu-items--masonry {
        position: relative;
        height: auto !important;
    }
    .menu-items.menu-items--masonry .menu-item {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: auto !important;
    }
    
    /* One-column card layout: gap guarantees space between items (no margin collapse) */
    .menu-item {
        margin-bottom: 0 !important;
        gap: 12px;
        background: #fafaf9;
        padding: 18px;
        padding-bottom: 24px;
        border-radius: 12px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    }
    
    /* Item with photo: image spans full width at top of card so it’s clearly attached to the item */
    .menu-item:has(.menu-item-image) {
        padding-top: 0;
        overflow: hidden;
    }
    .menu-item:has(.menu-item-image) .menu-item-image {
        margin: 0 -18px 14px -18px;
        border-radius: 12px 12px 0 0;
        width: calc(100% + 36px);
        max-width: none;
    }
    .menu-item:has(.menu-item-image) .menu-item-image img {
        border-radius: 12px 12px 0 0;
    }
    
    .menu-item.popular {
        padding: 18px;
        border-width: 2px;
        border-color: rgba(0, 0, 0, 0.2);
    }
    .menu-item.popular:has(.menu-item-image) .menu-item-image {
        margin: 0 -18px 14px -18px;
        width: calc(100% + 36px);
    }
    
    .menu-item-spacing {
        margin-bottom: 44px;
    }
    
    .menu-item-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 12px !important;
        flex-wrap: nowrap !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .menu-item-name {
        font-size: clamp(16px, 4vw, 19px) !important;
        min-width: 0 !important;
        line-height: 1.3;
        flex: 1 1 0% !important;
        max-width: none !important;
        width: auto !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto;
        box-sizing: border-box;
        padding-right: 12px !important;
    }
    
    .menu-item-price {
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        align-self: flex-start !important;
        font-size: clamp(16px, 4vw, 20px) !important;
        white-space: nowrap !important;
        min-width: 50px !important;
        text-align: right !important;
        margin-left: auto !important;
    }
    
    .menu-item-description {
        font-size: 15px;
        line-height: 1.6;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: none;
    }
    
    .menu-item {
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        margin-bottom: 0 !important;
    }
    
    .menu-item-modifier {
        font-size: 21px;
        line-height: 1.5;
    }
    
    .menu-item-quantity {
        font-size: 13px;
    }
    
    .menu-note {
        font-size: 20px;
        margin-top: 20px;
        padding-top: 16px;
        line-height: 1.5;
    }
    
    .menu-item-number {
        width: 22px;
        height: 22px;
        font-size: 11px;
        line-height: 22px;
        margin-right: 8px;
    }
    
    .menu-page-body .site-header.menu-page-header {
        padding: 30px 16px;
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        box-sizing: border-box;
        width: 100%;
    }
    
    .menu-page-header .header-section {
        padding: 0;
        justify-content: center;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .menu-page-header .header-section::after {
        display: none;
    }
    
    .menu-page-header .header-logo-section {
        justify-content: center;
    }
    
    .menu-page-header .header-title-section {
        align-items: center;
    }
    
    .menu-page-header .header-contact-section {
        align-items: center;
        text-align: center;
    }
    
    .menu-page-body .header-logo {
        display: flex;
        justify-content: center;
    }
    
    .menu-page-body .header-logo img {
        width: min(160px, 35vw);
    }
    
    .menu-title {
        font-size: clamp(36px, 10vw, 48px);
    }
}

/* Small mobile devices */
@media (max-width: 360px) {
    .menu-container {
        padding: 0 12px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .menu-page-body .site-header.menu-page-header {
        padding: 30px 12px;
    }
    
    .menu-page-header .header-section {
        padding: 0;
    }
    
    .menu-title {
        font-size: clamp(32px, 12vw, 42px);
    }
    
    .menu-section-title {
        font-size: clamp(24px, 10vw, 32px);
    }
    
    .menu-item-name {
        font-size: clamp(14px, 4.8vw, 18px);
    }
    
    .menu-item-description {
        font-size: 14px;
    }
    
    .menu-item.popular {
        padding: 12px;
    }
}

/* Large screens - improve readability */
@media (min-width: 1200px) {
    .menu-container {
        max-width: 1200px;
    }
    
    .menu-item-description {
        font-size: 17px;
        line-height: 1.7;
    }
    
    .menu-section-intro {
        font-size: 17px;
    }
    
    .menu-item-name {
        font-size: clamp(19px, 2.8vw, 24px);
    }
}

/* Extra large screens */
@media (min-width: 1400px) {
    .menu-container {
        max-width: 1200px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .menu-item-name,
    .menu-section-title {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Restaurant Description Styles */
.restaurant-description {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.restaurant-desc-content {
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

.restaurant-desc-content p {
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #000000;
    margin: 0 0 24px 0;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.restaurant-desc-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .restaurant-description {
        margin-top: 60px;
        padding-top: 40px;
    }
    
    .restaurant-desc-content p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 20px;
    }
}

/* FAQ Section Styles */
.menu-faq {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-title {
    font-family: "Yellowtail", cursive;
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 400;
    color: #000000;
    margin: 0 0 40px 0;
    text-align: center;
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
}

.faq-item {
    padding: 0;
}

.faq-question {
    font-family: "Platypi", serif;
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    color: #000000;
    margin: 0 0 12px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.faq-answer {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #000000;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.faq-answer a {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-answer a:hover {
    opacity: 0.7;
}

@media (max-width: 767px) {
    .menu-faq {
        margin-top: 60px;
        padding-top: 40px;
    }
    
    .faq-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 30px;
    }
    
    .faq-content {
        gap: 24px;
    }
    
    .faq-question {
        font-size: clamp(18px, 4vw, 22px);
    }
    
    .faq-answer {
        font-size: 15px;
    }
}

/* Footer Copyright */
.footer-copyright {
    max-width: 1200px;
    margin: 50px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright-left {
    flex: 1;
    min-width: 0;
}

.footer-copyright-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.footer-copyright p {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-copyright-right a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
}

.graticle-logo {
    height: 40px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
    pointer-events: none;
}

.footer-copyright-right a:hover .graticle-logo,
.footer-copyright-right a:focus .graticle-logo {
    filter: none;
}

@media (max-width: 767px) {
    .footer-copyright {
        margin-top: 40px;
        padding-top: 25px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-copyright-left,
    .footer-copyright-right {
        width: 100%;
        justify-content: center;
    }
    
    .footer-copyright p {
        font-size: 13px;
        justify-content: center;
    }
    
    .graticle-logo {
        height: 36px;
    }
}

/* Print styles */
@media print {
    .menu-page {
        background: white;
        padding: 0;
    }
    
    .site-header,
    .site-footer {
        display: none;
    }
    
    .menu-container {
        max-width: 100%;
        padding: 0;
    }
    
    .menu-section {
        page-break-inside: avoid;
    }
}
