/* ===================================
   FRIC & FRAC v2 - SQUARE SITE CLONE
   Exact visual match to fricandfrac39.square.site
   Font: Square Market (system fallback)
   Colors: #000000 primary, #ffffff background
   =================================== */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #000000;
    --background: #ffffff;
    --light-bg: #f7f7f7;
    --text-dark: #000000;
    --text-body: #333333;
    --text-muted: #666666;
    --border: #e0e0e0;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.35s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   PAGE LOADER
   =================================== */

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--background);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===================================
   SCROLL REVEAL ANIMATIONS
   =================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   HEADER - Square layout
   Static position (matches Square site - NOT sticky)
   White bg, logo left, social + order btn right
   =================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    min-height: 80px;
    display: flex;
    align-items: center;
}

.site-header.header-transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: none;
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

.header-logo .logo-img {
    height: 40px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-social a {
    color: var(--text-dark);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
    display: flex;
    align-items: center;
}

.header-social a:hover {
    opacity: 1;
}

.header-order-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: none;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.header-order-btn:hover {
    background: var(--primary);
    color: var(--background);
}

/* Transparent header overrides (homepage with hero) */
.header-transparent .header-social a { color: #fff; opacity: 0.85; }
.header-transparent .header-order-btn { border-color: #fff; color: #fff; }
.header-transparent .header-order-btn:hover { background: #fff; color: var(--text-dark); }
.header-transparent .header-nav a { color: #fff; }
.header-transparent .header-nav a:hover { color: rgba(255,255,255,0.7); }
.header-transparent .hamburger span { background: #fff; }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Hamburger animated to X when open */
body.nav-open .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

body.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
}

body.nav-open .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   MOBILE NAV
   =================================== */

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 2000;
    transition: background 0.3s ease, visibility 0s 0.3s;
    visibility: hidden;
    pointer-events: none;
}

body.nav-open .mobile-nav {
    visibility: visible;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease, visibility 0s 0s;
}

.mobile-nav-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: var(--background);
    padding: 60px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

body.nav-open .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-panel a {
    font-size: 16px;
    color: var(--text-dark);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left var(--transition-fast);
}

.mobile-nav-panel a:hover {
    padding-left: 8px;
}

.mobile-nav-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-dark);
    line-height: 1;
    transition: transform var(--transition-fast);
}

.mobile-nav-close:hover {
    transform: rotate(90deg);
}

.mobile-nav-social {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.mobile-nav-social a {
    font-size: 14px;
    border: none;
    opacity: 0.6;
}

/* ===================================
   BANNER - Square banner-8, medium height
   Full-width bg image with dark overlay
   No margin-top (header is static, not fixed)
   =================================== */

.banner {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.banner-content {
    position: relative;
    z-index: 1;
    padding: 60px 24px;
    max-width: 700px;
}

.banner-content h1 {
    font-size: 36px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.banner-sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.btn-primary:hover {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ===================================
   ABOUT US - Square about-us-landscape
   Image left (4:3), text right
   =================================== */

.about-section {
    padding: 80px 24px;
    background: var(--background);
}

.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ===================================
   LOCATION & HOURS - Square location-hours-stacked
   Light background (#f7f7f7)
   =================================== */

.location-section {
    padding: 80px 24px;
    background: var(--light-bg);
}

.location-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.location-inner h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 40px;
    letter-spacing: -0.2px;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
}

.location-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
}

.location-info p,
.location-hours p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
}

.location-phone a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.location-phone a:hover {
    text-decoration: underline;
}

.get-directions-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.get-directions-btn:hover {
    background: var(--primary);
    color: var(--background);
}

/* ===================================
   DAILY SPECIALS - Square basic-text block
   White background, centered text
   =================================== */

.specials-section {
    padding: 80px 24px;
    background: var(--background);
    text-align: center;
}

.specials-inner {
    max-width: 700px;
    margin: 0 auto;
}

.specials-section-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.specials-subtitle {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
}

.specials-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-style: italic;
}

.specials-list p {
    font-size: 16px;
    color: var(--text-body);
    line-height: 2;
}

/* ===================================
   NEWSLETTER - Square newsletter-1
   Light background
   =================================== */

.newsletter-section {
    padding: 60px 24px;
    background: var(--light-bg);
    text-align: center;
}

.newsletter-inner {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-inner h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 8px;
}

.newsletter-inner > p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-right: none;
    font-size: 14px;
    font-family: var(--font-family);
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 12px 24px;
    background: var(--primary);
    color: var(--background);
    border: 1px solid var(--primary);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.newsletter-form button:hover {
    opacity: 0.85;
}

.newsletter-thanks {
    font-size: 15px;
    color: var(--text-body);
    margin-top: 12px;
}

/* ===================================
   INSTAGRAM - Square instagram-grid section
   =================================== */

.instagram-section {
    padding: 60px 24px;
    background: var(--background);
    text-align: center;
}

.instagram-inner {
    max-width: 800px;
    margin: 0 auto;
}

.instagram-inner behold-widget {
    display: block;
    max-height: 600px;
    overflow: hidden;
}

.instagram-inner h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 8px;
}

.instagram-handle {
    margin-bottom: 24px;
}

.instagram-handle a {
    color: var(--text-muted);
    font-size: 16px;
    transition: color var(--transition-fast);
}

.instagram-handle a:hover {
    color: var(--primary);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-bottom: 24px;
}

.instagram-placeholder {
    aspect-ratio: 1;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.instagram-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 200%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 200%; }
    100% { background-position: -200% -200%; }
}

.instagram-inner .btn-primary {
    color: var(--primary);
    border-color: var(--primary);
    margin-top: 32px;
}

.instagram-inner .btn-primary:hover {
    background: var(--primary);
    color: var(--background);
}

/* ===================================
   MENU SECTION (SEO enhancement)
   Clean layout matching Square aesthetic
   Collapsible categories
   =================================== */

.menu-cta-section {
    padding: 48px 24px;
    text-align: center;
    background: var(--light-bg);
}

.menu-cta-section h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 8px;
}

.menu-cta-section p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.menu-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

.menu-section {
    padding: 80px 24px;
    background: var(--light-bg);
}

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

.menu-inner > h2 {
    font-size: 36px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.menu-subtitle {
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.menu-subtitle a {
    color: var(--primary);
    text-decoration: underline;
}

.menu-category {
    margin-bottom: 8px;
    background: var(--background);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.menu-category h3 {
    font-size: 20px;
    font-weight: 600;
    padding: 16px 20px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast);
    user-select: none;
    border-bottom: 2px solid var(--primary);
}

.menu-category h3:hover {
    background: var(--light-bg);
}

.menu-category h3::after {
    content: '\25BC';
    font-size: 12px;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.menu-category.collapsed h3::after {
    transform: rotate(-90deg);
}

.menu-items {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    opacity: 1;
}

.menu-category.collapsed .menu-items {
    max-height: 0;
    padding: 0 20px;
    opacity: 0;
}

.menu-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.menu-item:last-child {
    border-bottom: none;
    margin-bottom: 8px;
}

.item-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.item-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.item-price {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
}

.item-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.5;
}

.menu-cta {
    text-align: center;
    margin-top: 48px;
}

.menu-cta .btn-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-size: 16px;
    padding: 16px 40px;
}

.menu-cta .btn-primary:hover {
    background: var(--primary);
    color: var(--background);
}

/* ===================================
   FAQ SECTION - Accordion style
   =================================== */

.faq-section {
    padding: 80px 24px;
    background: var(--background);
}

.faq-inner {
    max-width: 700px;
    margin: 0 auto;
}

.faq-inner > h2 {
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.2px;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--text-muted);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding-bottom 0.35s ease;
    padding-bottom: 0;
}

.faq-answer.open {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ===================================
   FOOTER - Square footer-6
   Dark background (#000000)
   =================================== */

.site-footer {
    background: var(--primary);
    color: var(--background);
    padding: 60px 24px 40px;
    text-align: center;
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo .logo-img {
    height: 36px;
    width: auto;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.footer-social a {
    color: var(--background);
    opacity: 0.7;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    display: flex;
    align-items: center;
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-text {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.footer-address {
    font-size: 13px;
    opacity: 0.6;
}

.footer-address a {
    color: var(--background);
    text-decoration: underline;
}
.footer-links {
    font-size: 12px;
    opacity: 0.5;
    margin-top: 8px;
}
.footer-links a {
    color: var(--background);
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 840px) {
    .header-social,
    .header-order-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .banner {
        min-height: 380px;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
        gap: 8px;
    }

    .newsletter-form input {
        border-right: 1px solid var(--border);
    }
}

@media (max-width: 480px) {
    .banner {
        min-height: 320px;
    }

    .banner-content h1 {
        font-size: 24px;
    }

    .banner-sub {
        font-size: 16px;
    }

    .about-text h2,
    .location-inner h2,
    .specials-section-title,
    .specials-subtitle,
    .menu-inner > h2,
    .faq-inner > h2 {
        font-size: 24px;
    }

    .menu-category h3 {
        font-size: 18px;
    }

    .item-name {
        font-size: 15px;
    }

    .item-desc {
        font-size: 13px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   MENU PAGES - Dedicated category pages
   =================================== */

/* Breadcrumb navigation */
.breadcrumb {
    padding: 16px 24px;
    background: var(--light-bg);
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
    max-width: 900px;
    margin: 0 auto;
}

.breadcrumb a {
    color: var(--text-dark);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--text-muted);
}

.breadcrumb .separator {
    margin: 0 8px;
    color: var(--text-muted);
}

/* Menu page header */
.menu-page-header {
    padding: 60px 24px 40px;
    background: var(--primary);
    color: var(--background);
    text-align: center;
}

.menu-page-header h1 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.menu-page-header p {
    font-size: 16px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.menu-page-header .btn-order-hero {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.menu-page-header .btn-order-hero:hover {
    background: #ffffff;
    color: var(--primary);
}

/* Category navigation bar */
.menu-category-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--background);
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
}

.menu-category-nav-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
}

.menu-category-nav-inner::-webkit-scrollbar {
    display: none;
}

.menu-cat-link {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.menu-cat-link:hover,
.menu-cat-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Menu section titles */
.menu-section-title {
    font-size: 26px;
    font-weight: 600;
    margin: 48px 0 20px;
    padding-top: 16px;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 12px;
    scroll-margin-top: 60px;
}

.menu-section-title:first-of-type {
    margin-top: 0;
}

/* Menu page content */
.menu-page-content {
    padding: 48px 24px 80px;
    background: var(--light-bg);
}

.menu-page-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* Menu item card with order button */
.menu-item-card {
    background: var(--background);
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    transition: box-shadow var(--transition-fast);
}

.menu-item-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-item-card .item-info {
    flex: 1;
}

.menu-item-card .item-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.menu-item-card .item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.menu-item-card .item-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.menu-item-card .btn-order-item {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: background var(--transition-fast), color var(--transition-fast);
    flex-shrink: 0;
    align-self: center;
}

.menu-item-card .btn-order-item:hover {
    background: var(--primary);
    color: var(--background);
}

/* Menu page bottom CTA */
.menu-page-cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.menu-page-cta .btn-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-size: 16px;
    padding: 16px 40px;
}

.menu-page-cta .btn-primary:hover {
    background: var(--primary);
    color: var(--background);
}

.menu-page-back {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.menu-page-back:hover {
    color: var(--text-dark);
}

/* Menu overview page - category grid */
.menu-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.menu-overview-card {
    background: var(--background);
    border-radius: 4px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
    border-bottom: 3px solid var(--primary);
}

.menu-overview-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.menu-overview-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.menu-overview-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.menu-overview-card .item-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Desktop nav links for menu pages */
.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.header-nav a:hover {
    color: var(--text-muted);
}

@media (max-width: 840px) {
    .header-nav {
        display: none;
    }

    .menu-overview-grid {
        grid-template-columns: 1fr;
    }

    .menu-item-card {
        flex-direction: column;
        align-items: stretch;
    }

    .menu-item-card .btn-order-item {
        align-self: flex-start;
        margin-top: 12px;
    }

    .menu-page-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .menu-overview-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 601px) and (max-width: 840px) {
    .menu-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
