:root {
    --copper: #B86125;
    --copper-light: #D4844A;
    --copper-dark: #8B4513;
    --copper-glow: rgba(184, 97, 37, 0.3);
    --bg-dark: #1a1512;
    --bg-card: #2a221c;
    --bg-card-hover: #332a22;
    --bg-elevated: #3d3229;
    --text-primary: #f5e6d3;
    --text-secondary: #c4a882;
    --text-muted: #8a7560;
    --border: rgba(184, 97, 37, 0.2);
    --border-light: rgba(184, 97, 37, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --radius: 16px;
    --radius-sm: 10px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
    --nav-height: 64px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(184, 97, 37, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 100%, rgba(139, 69, 19, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.menu-app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Hero — Cinematic poster */
.hero {
    position: relative;
    padding: 0;
    text-align: center;
    overflow: hidden;
    min-height: 420px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #141010;
}

.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 240px;
    overflow: hidden;
}

.hero-poster-sharp {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.02);
    will-change: transform;
}

.hero-poster-blur {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center 40%;
    filter: blur(28px) brightness(0.5);
    opacity: 0.7;
    transform: scale(1.1);
}

.hero-poster-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 16, 16, 0.15) 0%, rgba(20, 16, 16, 0.55) 55%, rgba(26, 21, 18, 1) 100%);
}

.hero:not(.hero--photo) .hero-poster {
    height: 180px;
    background:
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(184, 97, 37, 0.25) 0%, transparent 60%),
        linear-gradient(180deg, #2a1f18 0%, #1a1512 100%);
}

.hero:not(.hero--photo) .hero-poster-shade {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 21, 18, 0.9) 100%);
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 35%, transparent 0%, rgba(26, 21, 18, 0.5) 100%);
    pointer-events: none;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 45% at 50% 15%, rgba(184, 97, 37, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 10% 90%, rgba(212, 132, 74, 0.05) 0%, transparent 35%);
    pointer-events: none;
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hero-cocoa {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.hero-cocoa span {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 69, 19, 0.5) 0%, transparent 70%);
    pointer-events: none;
    animation: cocoaFloat 12s ease-in-out infinite;
}

.hero-cocoa span:nth-child(1) { width: 6px; height: 6px; top: 22%; left: 18%; animation-delay: 0s; }
.hero-cocoa span:nth-child(2) { width: 4px; height: 4px; top: 35%; right: 22%; animation-delay: 2s; }
.hero-cocoa span:nth-child(3) { width: 5px; height: 5px; top: 55%; left: 12%; animation-delay: 4s; }
.hero-cocoa span:nth-child(4) { width: 3px; height: 3px; top: 48%; right: 15%; animation-delay: 1s; }
.hero-cocoa span:nth-child(5) { width: 4px; height: 4px; top: 70%; left: 28%; animation-delay: 3s; }
.hero-cocoa span:nth-child(6) { width: 3px; height: 3px; top: 65%; right: 30%; animation-delay: 5s; }

@keyframes cocoaFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.25; }
    50% { transform: translateY(-12px) translateX(4px); opacity: 0.55; }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 24px 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 130px;
}

.hero--photo .hero-content {
    margin-top: 155px;
}

.hero-kicker {
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(212, 132, 74, 0.85);
    margin-bottom: 18px;
    opacity: 0;
    animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.hero-kicker::before,
.hero-kicker::after {
    content: '◆';
    margin: 0 12px;
    font-size: 0.4rem;
    opacity: 0.5;
    vertical-align: middle;
}

/* Logo plaque — wordmark brands */
.hero-plaque {
    position: relative;
    padding: 34px 56px;
    margin-bottom: 16px;
    background: linear-gradient(165deg, rgba(42, 34, 28, 0.92) 0%, rgba(22, 18, 15, 0.96) 100%);
    border: 1px solid rgba(184, 97, 37, 0.45);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 0 40px rgba(184, 97, 37, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    animation: heroPlaqueIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

@keyframes heroPlaqueIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-plaque-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.04) 48%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.04) 52%,
        transparent 60%
    );
    animation: plaqueShine 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes plaqueShine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.hero-plaque-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--copper-light);
    border-style: solid;
    opacity: 0.8;
}

.hero-plaque-corner--tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.hero-plaque-corner--tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.hero-plaque-corner--bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.hero-plaque-corner--br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.hero--branded .logo-img {
    display: block;
    width: auto;
    max-width: min(82vw, 340px);
    height: auto;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
}

/* Emblem — icon fallback */
.hero-emblem {
    position: relative;
    width: 148px;
    height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.hero-emblem-orbit {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(184, 97, 37, 0.25);
    animation: orbitSpin 50s linear infinite;
}

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

.hero-emblem-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(184, 97, 37, 0.4);
    box-shadow: 0 0 36px rgba(184, 97, 37, 0.12);
}

.hero-emblem-core {
    position: relative;
    z-index: 1;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 30%, #3d2e24 0%, #1a1512 100%);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, var(--copper-light), var(--copper-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 20px var(--copper-glow);
}

.logo-img {
    display: block;
    max-width: 160px;
    max-height: 64px;
    object-fit: contain;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 10px;
    opacity: 0;
    animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-tagline {
    margin-bottom: 18px;
    opacity: 0;
    animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.hero-tagline span {
    display: inline-block;
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: none;
    background: linear-gradient(
        90deg,
        #a07040 0%,
        #e8c4a0 20%,
        var(--copper-light) 40%,
        #f5deb3 50%,
        var(--copper-light) 60%,
        #e8c4a0 80%,
        #a07040 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 5s linear infinite;
}

@keyframes goldShimmer {
    to { background-position: 200% center; }
}

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 20px;
    border-radius: 999px;
    background: rgba(14, 11, 9, 0.65);
    border: 1px solid rgba(184, 97, 37, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-status.is-open { color: #4ade80; }
.hero-status.is-closed { color: #f87171; }

.hero-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    animation: statusPulse 2s ease infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.hero-meta-sep {
    width: 1px;
    height: 14px;
    background: rgba(184, 97, 37, 0.4);
}

.hero-meta-label {
    font-size: 0.63rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
    transition: transform 0.25s ease;
}

.hero-scroll:active {
    transform: scale(0.96);
}

.hero-scroll-text {
    font-size: 0.61rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--copper-light);
}

.hero-scroll-line {
    width: 1px;
    height: 24px;
    background: linear-gradient(180deg, var(--copper), transparent);
    animation: scrollLine 2.2s ease infinite;
}

.hero-scroll i {
    font-size: 0.57rem;
    color: var(--copper);
    animation: scrollBounce 2.2s ease infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.25; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.45; }
    50% { transform: translateY(5px); opacity: 1; }
}

@keyframes heroReveal {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-curve {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    line-height: 0;
}

.hero-curve svg {
    display: block;
    width: 100%;
    height: 36px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Menu Content & Views */
.menu-content {
    padding: 4px 16px 32px;
    position: relative;
    min-height: 50vh;
}

.menu-view {
    display: none;
    animation: viewOut 0.25s ease forwards;
}

.menu-view.active {
    display: block;
    animation: viewIn 0.35s ease forwards;
}

@keyframes viewIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes viewOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.view-intro {
    text-align: center;
    margin-bottom: 24px;
    padding: 8px 8px 0;
    position: relative;
}

.view-intro::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper), transparent);
    margin: 0 auto 16px;
}

.view-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.view-subtitle {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 6px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 400;
}

/* Featured strip */
.featured-strip {
    margin-bottom: 28px;
    padding: 0 2px;
}

.featured-strip-head {
    margin-bottom: 14px;
    padding: 0 6px;
}

.featured-strip-eyebrow {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--copper-light);
    margin-bottom: 4px;
}

.featured-strip-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    font-style: italic;
}

.featured-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 4px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.featured-scroll::-webkit-scrollbar {
    display: none;
}

.featured-card {
    flex: 0 0 140px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.featured-card:active {
    transform: scale(0.97);
}

.featured-card:hover {
    border-color: rgba(184, 97, 37, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.featured-card-media {
    height: 100px;
    background: #141010;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.featured-card-fallback {
    color: var(--copper);
    font-size: 1.5rem;
    opacity: 0.7;
}

.featured-card-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.featured-card-name {
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-price {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--copper-light);
}

/* Breadcrumb */
.menu-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 0 4px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.breadcrumb-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--text-muted);
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.12em;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--copper-light);
}

.breadcrumb-sep {
    color: var(--text-muted);
    opacity: 0.45;
    font-size: 0.55rem;
}

.breadcrumb-current {
    color: var(--copper-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── Category Cards ─── */
.category-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(180deg, #2e261f 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    padding: 0;
    font-family: inherit;
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    animation: catFadeUp 0.55s ease backwards;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.category-card:hover {
    border-color: rgba(184, 97, 37, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(184, 97, 37, 0.08);
    transform: translateY(-3px);
}

.category-card:nth-child(1) { animation-delay: 0.05s; }
.category-card:nth-child(2) { animation-delay: 0.1s; }
.category-card:nth-child(3) { animation-delay: 0.15s; }
.category-card:nth-child(4) { animation-delay: 0.2s; }

.category-card:active {
    transform: scale(0.985);
}

.cat-media {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #141010;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--copper), var(--copper-light), var(--copper), transparent);
    z-index: 2;
    opacity: 0.85;
}

.cat-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.category-card:hover .cat-media img {
    transform: scale(1.02);
}

.cat-media-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #3d2a1e 0%, #1a1512 100%);
}

.cat-media-fallback i {
    font-size: 2.8rem;
    color: var(--copper);
    opacity: 0.85;
}

.cat-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(26, 21, 18, 0.35) 100%);
    pointer-events: none;
}

.cat-index {
    position: absolute;
    top: 12px;
    left: 14px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #fff;
    background: rgba(26, 21, 18, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid rgba(184, 97, 37, 0.35);
}

.cat-content {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cat-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper-light);
    margin-bottom: 8px;
}

.cat-meta i {
    font-size: 0.75rem;
}

.cat-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 6px;
}

.category-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 16px;
}

.cat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 12px;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(184, 97, 37, 0.25);
}

.category-card:hover .cat-btn {
    box-shadow: 0 6px 24px rgba(184, 97, 37, 0.4);
}

.category-card:hover .cat-btn i {
    transform: translateX(3px);
}

.cat-btn i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
    pointer-events: none;
}

.empty-category {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
    font-size: 0.9rem;
}

@keyframes catFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Products View */
.products-toolbar {
    margin-bottom: 20px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--copper-light);
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    margin-bottom: 18px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.back-btn:hover {
    background: rgba(184, 97, 37, 0.12);
    border-color: var(--copper);
}

.back-btn i {
    font-size: 0.8rem;
}

.active-category-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0 4px;
}

.active-category-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(184, 97, 37, 0.12);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.active-category-icon-wrap i {
    color: var(--copper);
    font-size: 1.1rem;
}

.active-category-label h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.active-category-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 300;
}

.active-category-desc:empty {
    display: none;
}

/* Product Grid — Premium Vertical Cards */
.product-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s ease,
                border-color 0.35s ease;
    opacity: 0;
    transform: translateY(24px);
}

.product-card.is-visible {
    animation: cardReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.product-card.is-featured {
    border-color: rgba(184, 97, 37, 0.35);
    box-shadow: 0 0 0 1px rgba(184, 97, 37, 0.08);
}

.product-card:active {
    transform: scale(0.985);
}

.product-card:hover {
    border-color: rgba(184, 97, 37, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(184, 97, 37, 0.1);
}

.product-card.is-visible.product-card:active,
.product-card.is-visible:hover {
    transform: translateY(-4px);
}

.product-open-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    position: relative;
}

.product-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 4;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(26, 21, 18, 0.75);
    border: 1px solid rgba(184, 97, 37, 0.35);
    color: var(--copper-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.product-card:hover .product-zoom-hint,
.product-open-btn:focus-visible .product-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.product-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--copper), transparent);
    opacity: 0.6;
    z-index: 2;
    pointer-events: none;
}

.product-visual {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #141010;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-visual img {
    transform: scale(1.03);
}

.product-visual-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.06) 45%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.06) 55%,
        transparent 60%
    );
    transform: translateX(-100%);
    animation: shine 1.2s ease 0.4s forwards;
    pointer-events: none;
}

.product-visual-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 75%,
        rgba(26, 21, 18, 0.5) 100%
    );
    pointer-events: none;
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    pointer-events: none;
}

.product-badge-featured {
    color: #fff;
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-light) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px var(--copper-glow);
}

.product-body {
    position: relative;
    padding: 24px 24px 26px;
    background: var(--bg-card);
}

.product-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.product-num {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.4;
    min-width: 30px;
    flex-shrink: 0;
    padding-top: 4px;
    font-variant-numeric: tabular-nums;
    opacity: 0.7;
}

.product-main {
    flex: 1;
    min-width: 0;
}

.product-title-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    row-gap: 2px;
}

.product-name {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.35;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin: 0;
}

.product-sep {
    display: none;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--copper-light);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    white-space: nowrap;
    font-style: italic;
}

.product-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.55;
    font-weight: 300;
}

.product-unit {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
}

.no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-elevated), #2a221c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    to {
        transform: translateX(100%);
    }
}

@keyframes categoryReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Footer */
.menu-footer {
    padding: 24px 16px 36px;
}

.footer-panel {
    background: linear-gradient(160deg, #2e261f 0%, #221c17 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px 20px 20px;
    position: relative;
    overflow: hidden;
}

.footer-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--copper), transparent);
}

.footer-top {
    text-align: center;
    margin-bottom: 20px;
}

.footer-eyebrow {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--copper-light);
    margin-bottom: 6px;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section-social {
    text-align: center;
}

.footer-section-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-left: 2px;
}

.footer-section-social .footer-section-label {
    padding-left: 0;
}

.footer-section-social .footer-social {
    justify-content: center;
}

.footer-action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(26, 21, 18, 0.55);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.footer-action-card:hover {
    border-color: rgba(184, 97, 37, 0.45);
    background: rgba(184, 97, 37, 0.08);
    transform: translateY(-1px);
}

.footer-action-card:active {
    transform: scale(0.99);
}

.footer-action-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(184, 97, 37, 0.12);
    border: 1px solid rgba(184, 97, 37, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--copper-light);
    font-size: 1rem;
}

.footer-action-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.footer-action-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.footer-action-value {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.35;
}

.footer-action-arrow {
    color: var(--copper);
    font-size: 0.8rem;
    opacity: 0.7;
    flex-shrink: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-action-card:hover .footer-action-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

.footer-action-whatsapp {
    border-color: rgba(37, 211, 102, 0.35);
    background: rgba(37, 211, 102, 0.08);
}

.footer-action-whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.55);
    background: rgba(37, 211, 102, 0.14);
}

.footer-action-whatsapp .footer-action-icon {
    color: #25d366;
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.3);
}

.footer-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(26, 21, 18, 0.45);
    border: 1px solid var(--border);
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
}

.footer-wifi-connect {
    align-items: center;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.footer-wifi-connect:hover,
.footer-wifi-connect:focus-visible {
    border-color: rgba(184, 97, 37, 0.45);
    background: rgba(184, 97, 37, 0.08);
    transform: translateY(-1px);
    outline: none;
}

.footer-wifi-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-hours-text {
    white-space: pre-line;
    line-height: 1.55;
}

.footer-open-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

.footer-open-badge.is-open {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
}

.footer-open-badge.is-closed {
    color: #f87171;
    background: rgba(248, 113, 113, 0.12);
}

.footer-wifi-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-wifi-row + .footer-wifi-row {
    margin-top: 4px;
}

.footer-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid rgba(184, 97, 37, 0.3);
    border-radius: 8px;
    background: rgba(26, 21, 18, 0.6);
    color: var(--copper-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-copy-btn:hover {
    color: #fff;
    background: var(--copper);
    border-color: var(--copper);
}

.footer-copy-btn.is-copied {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.4);
}

body.wifi-modal-open {
    overflow: hidden;
}

.wifi-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wifi-modal[hidden] {
    display: none;
}

.wifi-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 6, 0.72);
    backdrop-filter: blur(4px);
}

.wifi-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 360px);
    padding: 28px 22px 22px;
    border-radius: 24px;
    background: linear-gradient(165deg, #2e261f 0%, #1a1512 100%);
    border: 1px solid rgba(184, 97, 37, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(184, 97, 37, 0.1);
    text-align: center;
    overflow: hidden;
}

.wifi-modal-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--copper), var(--copper-light), var(--copper), transparent);
}

.wifi-modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper-light);
    margin-bottom: 8px;
}

.wifi-modal-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.wifi-modal-qr-frame {
    padding: 12px;
    border-radius: 18px;
    background: rgba(184, 97, 37, 0.08);
    border: 1px solid rgba(184, 97, 37, 0.25);
    margin-bottom: 16px;
    display: inline-block;
}

.wifi-modal-subtitle {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.wifi-modal-qr-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.wifi-modal-qr-wrap canvas,
.wifi-modal-qr-wrap img,
.wifi-modal-qr-img {
    display: block;
    border-radius: 14px;
    background: #fff;
    padding: 8px;
}

.wifi-modal-meta {
    font-size: 0.84rem;
    color: var(--text-primary);
    text-align: left;
    margin-bottom: 14px;
}

.wifi-modal-meta p + p {
    margin-top: 4px;
}

.wifi-modal-copy {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(184, 97, 37, 0.35);
    background: rgba(184, 97, 37, 0.12);
    color: var(--copper-light);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.wifi-modal-copy:hover {
    background: rgba(184, 97, 37, 0.2);
    border-color: var(--copper);
}

/* Product lightbox */
body.product-modal-open {
    overflow: hidden;
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.product-modal[hidden] {
    display: none;
}

.product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 6, 0.78);
    backdrop-filter: blur(6px);
}

.product-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(180deg, #2e261f 0%, #1a1512 100%);
    border: 1px solid rgba(184, 97, 37, 0.3);
    border-bottom: none;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.5);
    animation: productSheetIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes productSheetIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.product-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(26, 21, 18, 0.85);
    color: var(--text-muted);
    cursor: pointer;
}

.product-modal-visual {
    height: 280px;
    background: #141010;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-modal-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-modal-no-img {
    font-size: 2.5rem;
    color: var(--text-muted);
}

.product-modal-body {
    padding: 24px 22px 32px;
    text-align: center;
}

.product-modal-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-modal-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
    font-weight: 300;
    margin-bottom: 16px;
}

.product-modal-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.product-modal-price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--copper-light);
    font-style: italic;
}

.product-modal-unit {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-modal-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #25d366;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s ease, transform 0.2s ease;
}

.product-modal-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: translateY(-1px);
}

.wifi-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(26, 21, 18, 0.7);
    color: var(--text-muted);
    cursor: pointer;
}

.footer-social-wrap {
    text-align: center;
    padding-top: 4px;
}

.footer-social-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--copper-light);
    text-decoration: none;
    background: rgba(26, 21, 18, 0.6);
    border: 1px solid rgba(184, 97, 37, 0.25);
    transition: all 0.25s ease;
}

.social-btn:hover {
    color: #fff;
    background: var(--copper);
    border-color: var(--copper);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--copper-glow);
}

.footer-bottom {
    margin-top: 22px;
    text-align: center;
}

.footer-divider {
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin-bottom: 16px;
}

.footer-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.04em;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Tablet & Desktop */
@media (min-width: 481px) {
    .menu-app {
        max-width: 600px;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
    }

    .cat-media {
        height: 260px;
    }

    .product-visual {
        height: 320px;
    }

    .product-name,
    .product-price {
        font-size: 1.12rem;
    }

    .product-desc {
        font-size: 0.84rem;
    }
}

@media (min-width: 768px) {
    .menu-app {
        max-width: 720px;
    }

    .cat-media {
        height: 280px;
    }

    .product-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .product-visual {
        height: 300px;
    }
}

/* ─── Açılış intro — cinematic ─── */
body.intro-active {
    overflow: hidden;
}

body.intro-active .menu-app {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.03);
}

body:not(.intro-active) .menu-app {
    animation: menuFadeIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.menu-revealed .hero-content > * {
    animation: heroRevealUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.menu-revealed .hero-kicker { animation-delay: 0.05s; }
body.menu-revealed .hero-plaque,
body.menu-revealed .hero-emblem { animation-delay: 0.15s; }
body.menu-revealed .hero-title { animation-delay: 0.28s; }
body.menu-revealed .hero-tagline { animation-delay: 0.42s; }
body.menu-revealed .hero-meta { animation-delay: 0.55s; }
body.menu-revealed .hero-scroll { animation-delay: 0.68s; }

body.menu-revealed .category-grid .category-card {
    animation: heroRevealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.menu-revealed .category-grid .category-card:nth-child(1) { animation-delay: 0.65s; }
body.menu-revealed .category-grid .category-card:nth-child(2) { animation-delay: 0.73s; }
body.menu-revealed .category-grid .category-card:nth-child(3) { animation-delay: 0.81s; }
body.menu-revealed .category-grid .category-card:nth-child(4) { animation-delay: 0.89s; }
body.menu-revealed .category-grid .category-card:nth-child(5) { animation-delay: 0.97s; }
body.menu-revealed .category-grid .category-card:nth-child(6) { animation-delay: 1.05s; }
body.menu-revealed .category-grid .category-card:nth-child(n+7) { animation-delay: 1.12s; }

@keyframes heroRevealUp {
    from {
        opacity: 0;
        transform: translateY(22px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes menuFadeIn {
    from { opacity: 0; transform: scale(1.02) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.menu-intro {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.menu-intro-curtain {
    position: absolute;
    left: 0;
    right: 0;
    height: 52%;
    background: linear-gradient(180deg, #0e0b09 0%, #1a1512 100%);
    z-index: 20;
    transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
    pointer-events: none;
}

.menu-intro-curtain--top {
    top: 0;
    transform: translateY(0);
    border-bottom: 1px solid rgba(184, 97, 37, 0.2);
}

.menu-intro-curtain--bottom {
    bottom: 0;
    transform: translateY(0);
    border-top: 1px solid rgba(184, 97, 37, 0.2);
}

.menu-intro.is-playing .menu-intro-curtain--top {
    animation: introCurtainOpenTop 1.15s cubic-bezier(0.76, 0, 0.24, 1) 0.05s forwards;
}

.menu-intro.is-playing .menu-intro-curtain--bottom {
    animation: introCurtainOpenBottom 1.15s cubic-bezier(0.76, 0, 0.24, 1) 0.05s forwards;
}

@keyframes introCurtainOpenTop {
    from { transform: translateY(0); }
    to { transform: translateY(-100%); }
}

@keyframes introCurtainOpenBottom {
    from { transform: translateY(0); }
    to { transform: translateY(100%); }
}

.menu-intro.is-out .menu-intro-curtain--top {
    animation: introCurtainCloseTop 0.75s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.menu-intro.is-out .menu-intro-curtain--bottom {
    animation: introCurtainCloseBottom 0.75s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes introCurtainCloseTop {
    to { transform: translateY(0); }
}

@keyframes introCurtainCloseBottom {
    to { transform: translateY(0); }
}

.menu-intro.is-out {
    pointer-events: none;
}

.menu-intro.is-out .menu-intro-stage {
    animation: introStageOut 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.menu-intro.is-done {
    display: none;
}

@keyframes introStageOut {
    to { opacity: 0; transform: scale(1.12); filter: blur(6px); }
}

.menu-intro-bg {
    position: absolute;
    inset: 0;
    background: #0a0806;
}

.menu-intro-photo {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(0.4) saturate(1.15);
    transform: scale(1.15);
    animation: introKenBurns 4s ease-out forwards;
}

@keyframes introKenBurns {
    from { transform: scale(1.25); }
    to { transform: scale(1.08); }
}

.menu-intro-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 55% at 50% 42%, rgba(184, 97, 37, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 100% 80% at 50% 50%, transparent 0%, rgba(10, 8, 6, 0.92) 100%);
}

.menu-intro-grain {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

.menu-intro-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.menu-intro-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(184, 97, 37, 0.35);
    opacity: 0;
    animation: introRingExpand 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.menu-intro-ring:nth-child(1) {
    width: 120px;
    height: 120px;
    animation-delay: 0.2s;
}

.menu-intro-ring:nth-child(2) {
    width: 120px;
    height: 120px;
    animation-delay: 0.45s;
    border-color: rgba(212, 132, 74, 0.25);
}

.menu-intro-ring:nth-child(3) {
    width: 120px;
    height: 120px;
    animation-delay: 0.7s;
    border-color: rgba(184, 97, 37, 0.15);
}

@keyframes introRingExpand {
    0% {
        opacity: 0.8;
        transform: scale(0.6);
    }
    100% {
        opacity: 0;
        transform: scale(3.2);
    }
}

.menu-intro-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.menu-intro-particles span {
    position: absolute;
    width: calc(3px + (var(--p) % 4) * 1px);
    height: calc(3px + (var(--p) % 4) * 1px);
    border-radius: 50%;
    background: radial-gradient(circle, var(--copper-light) 0%, transparent 70%);
    left: calc(8% + (var(--p) * 6.5%) % 84%);
    top: calc(12% + (var(--p) * 11%) % 76%);
    opacity: 0;
    animation: introParticle 3s ease-in-out calc(var(--p) * 0.12s) infinite;
}

@keyframes introParticle {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    30%, 70% {
        opacity: 0.7;
        transform: translateY(-20px) scale(1);
    }
}

.menu-intro-stage {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 24px 20px;
    gap: 0;
}

.menu-intro-brand {
    position: relative;
    z-index: 8;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 6px;
}

.menu-intro-logo-plaque {
    position: relative;
    padding: 28px 54px 26px;
    background: linear-gradient(165deg, rgba(42, 34, 28, 0.94) 0%, rgba(14, 11, 9, 0.98) 100%);
    border: 1px solid rgba(184, 97, 37, 0.55);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 48px rgba(184, 97, 37, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(-16px) scale(0.88);
    animation: introBrandIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards,
               introBrandFloat 4s ease-in-out 1.2s infinite;
}

.menu-intro-plaque-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--copper-light);
    border-style: solid;
    opacity: 0;
    animation: introCornerIn 0.5s ease 0.55s forwards;
}

.menu-intro-plaque-corner--tl { top: 7px; left: 7px; border-width: 2px 0 0 2px; }
.menu-intro-plaque-corner--tr { top: 7px; right: 7px; border-width: 2px 2px 0 0; animation-delay: 0.62s; }
.menu-intro-plaque-corner--bl { bottom: 7px; left: 7px; border-width: 0 0 2px 2px; animation-delay: 0.69s; }
.menu-intro-plaque-corner--br { bottom: 7px; right: 7px; border-width: 0 2px 2px 0; animation-delay: 0.76s; }

.menu-intro-plaque-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.04) 46%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.04) 54%,
        transparent 62%
    );
    animation: introPlaqueShine 2.8s ease 0.9s forwards;
    pointer-events: none;
}

.menu-intro-logo-burst {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 97, 37, 0.45) 0%, transparent 68%);
    animation: introBurst 1s ease 0.12s forwards;
    opacity: 0;
    pointer-events: none;
}

.menu-intro-logo-img {
    position: relative;
    display: block;
    width: auto;
    max-width: min(82vw, 340px);
    height: auto;
    max-height: 120px;
    object-fit: contain;
    margin: 0 auto;
    filter:
        drop-shadow(0 0 18px rgba(184, 97, 37, 0.45))
        drop-shadow(0 6px 20px rgba(0, 0, 0, 0.55))
        brightness(1.08);
}

.menu-intro-brand-name {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    text-shadow: 0 2px 16px rgba(184, 97, 37, 0.35);
    white-space: nowrap;
}

.menu-intro-brand-connector {
    width: 1px;
    height: 0;
    margin-top: 0;
    background: linear-gradient(180deg, var(--copper-light), rgba(184, 97, 37, 0.15));
    box-shadow: 0 0 10px rgba(184, 97, 37, 0.35);
    animation: introConnectorGrow 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.menu-intro-emblem {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(78vw, 300px);
    min-height: min(78vw, 300px);
    margin-top: -2px;
}

@keyframes introBrandIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes introBrandFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1); }
}

@keyframes introCornerIn {
    to { opacity: 0.85; }
}

@keyframes introPlaqueShine {
    0% { transform: translateX(-120%); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
}

@keyframes introConnectorGrow {
    to { height: 28px; }
}

.menu-intro-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 97, 37, 0.25) 0%, transparent 65%);
    animation: introGlowPulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes introGlowPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.08); }
}

.menu-intro-circle {
    position: absolute;
    width: min(72vw, 280px);
    height: min(72vw, 280px);
    transform: rotate(-90deg);
    pointer-events: none;
}

.menu-intro-circle-track {
    fill: none;
    stroke: rgba(184, 97, 37, 0.08);
    stroke-width: 1;
}

.menu-intro-circle-draw {
    fill: none;
    stroke: rgba(212, 132, 74, 0.75);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 578;
    stroke-dashoffset: 578;
    opacity: 0;
    filter: drop-shadow(0 0 6px rgba(184, 97, 37, 0.5));
    animation: introCircleDraw 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

@keyframes introCircleDraw {
    0% { opacity: 0; stroke-dashoffset: 578; }
    10% { opacity: 1; }
    100% { opacity: 1; stroke-dashoffset: 0; }
}

.menu-intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 88%;
    padding-top: 8px;
}

@keyframes introBurst {
    0% { opacity: 0.9; transform: scale(0.4); }
    100% { opacity: 0; transform: scale(2.4); }
}

.menu-intro-text-block {
    position: relative;
}

.menu-intro-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 6px 0 2px;
    opacity: 0;
    animation: introDividerIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.22s forwards;
}

.menu-intro-divider::before,
.menu-intro-divider::after {
    content: '';
    flex: 1;
    max-width: 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 97, 37, 0.55), transparent);
    transform: scaleX(0);
    animation: introDividerLine 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.28s forwards;
}

.menu-intro-divider span {
    font-size: 0.55rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(212, 132, 74, 0.85);
    font-weight: 600;
}

@keyframes introDividerIn {
    to { opacity: 1; }
}

@keyframes introDividerLine {
    to { transform: scaleX(1); }
}

.menu-intro-line {
    margin: 0;
    line-height: 1.15;
}

.menu-intro-line.is-split {
    opacity: 1;
}

.menu-intro-line--1 {
    font-family: 'Caveat', cursive;
    font-size: clamp(2.2rem, 9.5vw, 3.2rem);
    font-weight: 700;
    color: rgba(245, 230, 211, 0.95);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.menu-intro-line--2 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.8rem, 13vw, 4.6rem);
    font-weight: 400;
    margin-top: -2px;
    line-height: 1;
    white-space: nowrap;
}

.menu-intro-line--2 .intro-char {
    background: linear-gradient(
        135deg,
        #f5deb3 0%,
        #e8c4a0 20%,
        var(--copper-light) 45%,
        #fff8ee 55%,
        var(--copper-light) 75%,
        #c9a06c 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: introCharIn 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               introGoldShift 2.5s linear 1.5s infinite;
    filter: drop-shadow(0 2px 12px rgba(184, 97, 37, 0.4));
}

.intro-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotate(12deg) scale(0.3);
    animation: introCharIn 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.intro-char--space {
    width: 0.35em;
}

@keyframes introCharIn {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

@keyframes introGoldShift {
    to { background-position: 200% center; }
}

.menu-intro-sparks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.menu-intro-sparks span {
    font-size: 0.85rem;
    color: var(--copper-light);
    opacity: 0;
    transform: scale(0);
}

.menu-intro-sparks span:nth-child(1) {
    animation: introSparkPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 2.02s forwards,
               introSparkTwinkle 1.8s ease 2.55s infinite;
}

.menu-intro-sparks span:nth-child(2) {
    font-size: 1.15rem;
    animation: introSparkPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 2.17s forwards,
               introSparkTwinkle 1.8s ease 2.75s infinite;
}

.menu-intro-sparks span:nth-child(3) {
    animation: introSparkPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 2.32s forwards,
               introSparkTwinkle 1.8s ease 2.95s infinite;
}

@keyframes introSparkPop {
    to { opacity: 0.9; transform: scale(1); }
}

@keyframes introSparkTwinkle {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
}

.menu-intro-shimmer {
    position: absolute;
    inset: 0;
    z-index: 15;
    background: linear-gradient(
        105deg,
        transparent 42%,
        rgba(255, 255, 255, 0.03) 48%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 52%,
        transparent 58%
    );
    transform: translateX(-100%);
    animation: introShimmer 1.2s ease 1.4s forwards;
    pointer-events: none;
}

@keyframes introShimmer {
    to { transform: translateX(100%); }
}

.menu-intro-skip {
    position: absolute;
    bottom: 32px;
    right: 24px;
    z-index: 25;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(184, 97, 37, 0.4);
    background: rgba(14, 11, 9, 0.7);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    backdrop-filter: blur(8px);
    animation: introSkipIn 0.5s ease 1.5s forwards;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.menu-intro-skip:hover {
    color: var(--copper-light);
    border-color: var(--copper);
    background: rgba(184, 97, 37, 0.15);
}

@keyframes introSkipIn {
    to { opacity: 0.75; }
}

.menu-intro-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(184, 97, 37, 0.12);
    z-index: 25;
}

.menu-intro-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--copper-dark), var(--copper-light), #f5deb3);
    box-shadow: 0 0 16px var(--copper-glow);
    animation: introProgress 3.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes introProgress {
    to { width: 100%; }
}

.menu-intro.is-out .menu-intro-progress span {
    animation: none;
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .menu-intro-ring,
    .menu-intro-particles span,
    .menu-intro-photo,
    .menu-intro-shimmer,
    .intro-char,
    .menu-intro-logo-plaque {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .menu-intro-brand-connector {
        animation: none !important;
        height: 28px;
    }

    .menu-intro-plaque-corner {
        animation: none !important;
        opacity: 0.85;
    }

    .menu-intro-curtain {
        display: none;
    }

    body.menu-revealed .hero-content > *,
    body.menu-revealed .category-grid .category-card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}
