:root {
    --bg: #060707;
    --panel: #0d1010;
    --panel2: #121515;
    --gold: #d8ac62;
    --gold2: #f0d29a;
    --text: #f6f0e6;
    --muted: #b8afa2;
    --line: rgba(216, 172, 98, .38);
    --shadow: 0 24px 80px rgba(0, 0, 0, .5);
    --radius: 22px;
    --max: 1240px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: radial-gradient(circle at 20% 0, #17110a, transparent 36%), var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif
}

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

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

.container {
    width: min(var(--max), calc(100% - 48px));
    margin: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    height: 76px;
    padding: 0 34px;
    display: flex;
    align-items: center;
    gap: 28px;
    background: rgba(5, 6, 6, .82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line)
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold2);
    white-space: nowrap
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(216, 172, 98, .18), rgba(216, 172, 98, .02));
    font-family: Georgia, serif;
    font-weight: 700;
    color: var(--gold2)
}

.brand-text {
    font-family: Georgia, serif;
    font-size: 25px;
    letter-spacing: .04em
}

.desktop-nav {
    display: flex;
    gap: 26px;
    margin-left: auto;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #e8dfcf
}

.desktop-nav a:hover {
    color: var(--gold2)
}

.header-actions {
    display: flex;
    gap: 12px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 2px;
    border: 1px solid var(--line);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    transition: .18s;
    background: transparent;
    color: var(--gold2)
}

.btn:hover {
    transform: translateY(-1px);
    border-color: var(--gold2)
}

.btn-gold {
    background: linear-gradient(135deg, #f1d49c, #bb8840);
    color: #110d08;
    border: 0
}

.btn-outline {
    background: rgba(0, 0, 0, .18)
}

.btn-wide {
    width: 100%
}

.burger {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    gap: 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.burger span {
    width: 26px;
    height: 2px;
    background: var(--gold2)
}

.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    border-bottom: 1px solid var(--line)
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .92) 39%, rgb(0 0 0 / 80) 0%, rgb(0 0 0 / 0)), url(/assets/02_home_hero_background_right_fox_interior.png) center right / contain no-repeat;
    opacity: .92;
}

.menu-hero {
    min-height: 440px
}

/* .menu-hero .hero-bg {
    background: linear-gradient(90deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .55)), url('/assets/02_home_hero_background_right_fox_interior.png') center right/cover no-repeat
} */

.hero-grid {
    position: relative;
    min-height: inherit;
    display: grid;
    align-items: center
}

.hero-copy {
    max-width: 620px;
    padding: 70px 0
}

.eyebrow {
    color: var(--gold);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 14px
}

.eyebrow:before, .eyebrow:after {
    content: "";
    width: 52px;
    height: 1px;
    background: var(--gold)
}

h1, h2, h3 {
    font-family: Georgia, 'Times New Roman', serif;
    margin: 0;
    color: var(--gold2);
    font-weight: 400
}

h1 {
    font-size: clamp(48px, 7vw, 92px);
    line-height: .98;
    margin: 22px 0
}

h2 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05
}

h3 {
    font-size: 22px
}

.hero-copy p, .section p {
    color: #e6ded1;
    line-height: 1.7;
    font-size: 17px
}

.cta-row {
    display: flex;
    gap: 18px;
    margin-top: 30px
}

.section {
    padding: 62px 0
}

.about-card {
    display: grid;
    grid-template-columns:1.1fr .8fr;
    align-items: center;
    padding: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(216, 172, 98, .06), rgba(0, 0, 0, .24));
    box-shadow: var(--shadow);
    margin-top: 52px
}

.about-card img {
    justify-self: end;
    max-height: 330px;
    object-fit: contain;
    opacity: .88
}

.section-head {
    text-align: center;
    margin-bottom: 32px
}

.section-head span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 13px;
    font-weight: 700
}

.section-head h2 {
    margin-top: 12px
}

.featured-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 22px
}

.dish-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #111515, #090b0b);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.dish-card img {
    width: 100%;
    height: 210px;
    object-fit: cover
}

.dish-card h3, .dish-card p, .dish-card strong {
    padding: 0 20px
}

.dish-card h3 {
    margin-top: 18px
}

.dish-card p {
    color: var(--muted);
    min-height: 56px
}

.dish-card strong {
    display: block;
    color: var(--gold2);
    font-size: 20px;
    margin: 0 0 20px
}

.center {
    text-align: center;
    margin-top: 26px
}

.benefits {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px;
    background: rgba(255, 255, 255, .02);
    margin-top: 62px;
}

.benefits i {
    font-size: 38px;
    color: var(--gold)
}

.benefits h3 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: .06em
}

.benefits p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6
}

.rules-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 18px
}

.rules-grid p {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
    padding: 22px;
    margin: 0
}

.gallery img {
    border: 1px solid var(--line);
    border-radius: 14px;
    width: 100%;
}

.footer {
    display: grid;
    grid-template-columns:1.3fr 1fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding: 48px 0 62px;
    border-top: 1px solid var(--line);
    color: var(--muted)
}

.footer h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold)
}

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

.footer-brand .brand-text {
    font-size: 23px
}

.socials {
    color: var(--gold2);
    margin-top: 18px
}

.menu-tools {
    margin-top: 26px
}

.search input {
    width: min(520px, 100%);
    height: 54px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .42);
    color: var(--text);
    border-radius: 12px;
    padding: 0 18px;
    font-size: 16px;
    outline: none
}

.search input:focus {
    border-color: var(--gold2)
}

.menu-layout {
    display: grid;
    grid-template-columns:240px minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    padding: 42px 0 60px
}

.category-sidebar, .cart-panel {
    position: sticky;
    top: 96px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 12, 12, .92);
    box-shadow: var(--shadow);
    padding: 18px
}

.category-title {
    font-family: Georgia, serif;
    font-size: 26px;
    color: var(--gold2);
    margin: 0 0 14px
}

.category-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 180px);
    overflow: auto
}

.cat-btn {
    border: 1px solid transparent;
    background: transparent;
    color: var(--muted);
    text-align: left;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px
}

.cat-btn:hover, .cat-btn.active {
    color: #161006;
    background: linear-gradient(135deg, #f1d49c, #bb8840)
}

.menu-section {
    scroll-margin-top: 100px;
    margin-bottom: 32px
}

.menu-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
    padding-bottom: 10px
}

.menu-section-title h2 {
    font-size: 38px
}

.menu-section-title span {
    color: var(--muted)
}

.menu-grid {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 14px
}

.menu-item {
    display: grid;
    grid-template-columns:92px 1fr;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01))
}

.menu-item img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 12px;
    background: #0b0d0d;
    border: 1px solid rgba(216, 172, 98, .22);
}

.menu-item h3 {
    font-size: 19px;
    color: var(--gold2)
}

.menu-item p {
    margin: 6px 0 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45
}

.item-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between
}

.price {
    color: var(--gold2);
    font-weight: 800;
    font-size: 17px
}

.add-btn {
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: #090b0b;
    color: var(--gold2);
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px
}

.add-btn:hover {
    background: var(--gold);
    color: #0a0805
}

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.cart-head h2 {
    font-size: 30px
}

.cart-head button, #clearCart {
    background: transparent;
    border: 0;
    color: var(--gold);
    cursor: pointer
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 90px;
    margin: 18px 0
}

.cart-items.empty {
    color: var(--muted);
    justify-content: center
}

.cart-row {
    display: grid;
    grid-template-columns:1fr auto;
    gap: 10px;
    border-bottom: 1px solid rgba(216, 172, 98, .18);
    padding-bottom: 10px
}

.cart-row-title {
    font-size: 14px;
    color: var(--text)
}

.qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px
}

.qty button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--line);
    background: #070808;
    color: var(--gold2);
    border-radius: 6px;
    cursor: pointer
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 18px 0;
    font-size: 20px
}

.cart-total strong {
    color: var(--gold2)
}

.cart-hint {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5
}

.mobile-cart-bar {
    display: none;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 55;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 9, 9, .94);
    backdrop-filter: blur(12px);
    padding: 12px 12px 12px 18px;
    box-shadow: var(--shadow)
}

.mobile-cart-bar span {
    display: block;
    color: var(--muted);
    font-size: 12px
}

.mobile-cart-bar strong {
    color: var(--gold2);
    font-size: 20px
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.modal.open {
    display: flex
}

.modal-dialog {
    position: relative;
    width: min(520px, 100%);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, #121515, #070808);
    box-shadow: var(--shadow);
    padding: 34px
}

.modal-dialog h2 {
    font-size: 38px
}

.modal-dialog p {
    color: var(--muted);
    line-height: 1.6
}

.phone-link {
    display: block;
    margin: 18px 0;
    padding: 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f1d49c, #bb8840);
    color: #100b05;
    text-align: center;
    font-weight: 900;
    font-size: 24px
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: 0;
    color: var(--gold2);
    font-size: 34px;
    cursor: pointer
}

.modal-note {
    font-size: 14px
}

.compact-footer {
    grid-template-columns:1.4fr 1fr 1.3fr 1fr
}

.notice {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    background: rgba(216, 172, 98, .06);
    color: var(--muted);
    margin-bottom: 18px
}

@media (max-width: 1100px) {
    .desktop-nav, .header-actions {
        display: none
    }

    .burger {
        display: flex
    }

    .site-header {
        padding: 0 20px
    }

    .menu-layout {
        grid-template-columns:1fr
    }

    .category-sidebar, .cart-panel {
        position: static
    }

    .category-tabs {
        flex-direction: row;
        overflow: auto;
        max-height: none;
        padding-bottom: 8px
    }

    .cat-btn {
        white-space: nowrap;
        border-color: var(--line)
    }

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

    .mobile-cart-bar {
        display: flex
    }

    .menu-page {
        padding-bottom: 92px
    }

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

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, var(--max))
    }

    .site-header {
        height: 66px
    }

    .brand-mark {
        width: 36px;
        height: 36px
    }

    .brand-text {
        font-size: 21px
    }

    .hero {
        min-height: 720px
    }

    .menu-hero {
        min-height: 360px
    }

    .hero-bg {
        background-position: center
    }

    .hero-copy {
        padding: 46px 0
    }

    .eyebrow {
        font-size: 11px
    }

    .eyebrow:before, .eyebrow:after {
        width: 34px
    }

    h1 {
        font-size: 48px
    }

    .hero-copy p, .section p {
        font-size: 15px
    }

    .cta-row {
        flex-direction: column
    }

    .btn {
        width: 100%;
        min-height: 52px
    }

    .about-card {
        grid-template-columns:1fr;
        padding: 24px;
        margin-top: 28px
    }

    .about-card img {
        max-height: 190px;
        justify-self: center;
        margin-top: 20px
    }

    .featured-grid, .benefits, .rules-grid {
        grid-template-columns:1fr
    }

    .dish-card img {
        height: 190px
    }

    .benefits {
        padding: 20px
    }

    .gallery img {
        height: 180px;
        width: 100%;
        object-fit: cover
    }

    .footer, .compact-footer {
        grid-template-columns:1fr;
        padding-bottom: 100px
    }

    .menu-layout {
        padding-top: 24px
    }

    .menu-section-title h2 {
        font-size: 30px
    }

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

    .menu-item {
        grid-template-columns:82px 1fr
    }

    .menu-item img {
        width: 82px;
        height: 82px
    }

    .menu-item h3 {
        font-size: 18px
    }

    .cart-panel {
        padding: 16px
    }

    .modal-dialog {
        padding: 28px 20px
    }

    .modal-dialog h2 {
        font-size: 31px
    }

    .phone-link {
        font-size: 20px
    }

    .category-title {
        display: none
    }

    .category-sidebar {
        padding: 10px;
        border-radius: 14px
    }

    .menu-hero .hero-copy {
        padding-bottom: 24px
    }

    .search input {
        height: 50px
    }

    .footer-actions .btn {
        width: 100%
    }
}

/* Mobile drawer navigation fix */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 180;
    display: none;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(10px)
}

.mobile-drawer.open {
    display: block
}

.mobile-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    padding: 24px;
    background: linear-gradient(180deg, #121515, #070808);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px
}

.mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.mobile-drawer-close {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--gold2);
    font-size: 28px;
    cursor: pointer
}

.mobile-drawer a, .mobile-drawer button:not(.mobile-drawer-close) {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .02);
    color: var(--gold2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    cursor: pointer
}

.mobile-drawer a:hover, .mobile-drawer button:hover {
    background: rgba(216, 172, 98, .12)
}

.mobile-drawer .drawer-primary {
    background: linear-gradient(135deg, #f1d49c, #bb8840);
    color: #110d08;
    border: 0
}

.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg)
}

.burger.active span:nth-child(2) {
    opacity: 0
}

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg)
}

.burger span {
    transition: .2s
}

@media (min-width: 1101px) {
    .mobile-drawer {
        display: none !important
    }
}


/* v4 mobile menu/order fixes */
html, body {
    max-width: 100%;
    overflow-x: hidden
}

.menu-page .site-header {
    left: 0;
    right: 0
}

.cart-head-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.cart-close {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--gold2);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer
}

@media (max-width: 1100px) {
    .menu-page {
        padding-bottom: 112px;
        overflow-x: hidden
    }

    .menu-layout {
        display: block;
        width: min(var(--max), calc(100% - 28px));
        padding-top: 0;
        overflow: visible
    }

    .menu-content {
        min-width: 0;
        width: 100%;
        overflow: visible
    }

    .category-sidebar {
        position: sticky;
        top: 66px;
        z-index: 45;
        width: 100%;
        max-width: 100%;
        margin: 0 0 18px;
        padding: 10px 0;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        background: rgba(6, 7, 7, .94);
        backdrop-filter: blur(14px);
        box-shadow: 0 14px 35px rgba(0, 0, 0, .28);
        overflow: hidden
    }

    .category-tabs {
        display: flex;
        flex-direction: row;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 14px 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x
    }

    .category-tabs::-webkit-scrollbar {
        display: none
    }

    .cat-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        max-width: 72vw;
        border-color: var(--line);
        padding: 11px 14px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .02)
    }

    .cart-panel {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 120;
        width: 100%;
        max-height: min(78vh, 720px);
        overflow: auto;
        border-radius: 24px 24px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        background: rgba(8, 9, 9, .98);
        backdrop-filter: blur(18px);
        padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
        box-shadow: 0 -24px 80px rgba(0, 0, 0, .72);
        transform: translateY(110%);
        transition: transform .25s ease;
        overscroll-behavior: contain
    }

    .cart-panel.open {
        transform: translateY(0)
    }

    .cart-close {
        display: inline-grid;
        place-items: center
    }

    .cart-head {
        position: sticky;
        top: -18px;
        background: linear-gradient(180deg, rgba(8, 9, 9, .98), rgba(8, 9, 9, .92));
        z-index: 2;
        padding: 6px 0 14px;
        border-bottom: 1px solid rgba(216, 172, 98, .16);
        margin-bottom: 10px
    }

    .cart-head h2 {
        font-size: 28px
    }

    .mobile-cart-bar {
        display: flex;
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        border-radius: 20px;
        padding: 10px 10px 10px 16px;
        cursor: pointer
    }

    .mobile-cart-bar .btn {
        width: auto;
        min-height: 44px;
        padding: 0 18px
    }

    .mobile-cart-bar b {
        color: var(--gold2);
        font-weight: 800
    }

    .menu-section {
        scroll-margin-top: 130px
    }

    .menu-section-title {
        gap: 12px
    }

    .menu-section-title h2 {
        font-size: 32px
    }

    .menu-section-title span {
        white-space: nowrap
    }
}

@media (max-width: 760px) {
    .menu-page .hero.menu-hero {
        min-height: 320px
    }

    .menu-page .hero-copy {
        padding: 34px 0 24px
    }

    .menu-page h1 {
        font-size: 42px
    }

    .menu-page .hero-copy p {
        max-width: 330px
    }

    .menu-tools {
        margin-top: 18px
    }

    .search input {
        border-radius: 14px
    }

    .menu-grid {
        grid-template-columns:1fr;
        gap: 12px
    }

    .menu-item {
        grid-template-columns:78px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
        border-radius: 14px
    }

    .menu-item img {
        width: 78px;
        height: 78px
    }

    .menu-item h3 {
        font-size: 17px;
        line-height: 1.15
    }

    .menu-item p {
        font-size: 12px;
        line-height: 1.35;
        margin: 4px 0 8px
    }

    .item-bottom {
        gap: 8px
    }

    .add-btn {
        height: 34px;
        font-size: 11px;
        padding: 0 10px
    }

    .price {
        font-size: 16px
    }

    .category-sidebar {
        margin-left: -14px;
        margin-right: -14px;
        width: calc(100% + 28px);
        max-width: calc(100% + 28px)
    }

    .cart-items {
        max-height: 40vh;
        overflow: auto
    }

    .cart-row {
        grid-template-columns:1fr auto
    }

    .qty {
        gap: 6px
    }

    .qty button {
        width: 30px;
        height: 30px
    }

    .cart-total {
        font-size: 18px
    }

    .cart-hint {
        display: none
    }
}

@media (max-width: 420px) {
    .menu-page h1 {
        font-size: 38px
    }

    .cat-btn {
        font-size: 14px;
        padding: 10px 12px
    }

    .mobile-cart-bar strong {
        font-size: 18px
    }

    .mobile-cart-bar .btn {
        padding: 0 14px;
        font-size: 12px
    }

    .menu-section-title h2 {
        font-size: 28px
    }
}


/* v5: menu type choice + scroll-to-top */
.menu-tools {
    display: grid;
    gap: 14px;
    align-items: start
}

.menu-mode-switch {
    display: inline-grid;
    grid-template-columns:repeat(2, minmax(150px, 1fr));
    gap: 8px;
    width: min(430px, 100%);
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(0, 0, 0, .38);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .22)
}

.menu-mode {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--gold2);
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer
}

.menu-mode.active {
    background: linear-gradient(135deg, #f1d49c, #bb8840);
    color: #110d08;
    box-shadow: 0 8px 24px rgba(216, 172, 98, .18)
}

.to-top {
    position: fixed;
    right: 18px;
    bottom: 104px;
    z-index: 80;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(8, 9, 9, .92);
    color: var(--gold2);
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .2s;
    backdrop-filter: blur(10px)
}

.to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0)
}

@media (max-width: 760px) {
    .menu-mode-switch {
        grid-template-columns:1fr;
        width: 100%;
        gap: 6px;
        padding: 5px;
        border-radius: 14px
    }

    .menu-mode {
        min-height: 42px;
        font-size: 12px
    }

    .to-top {
        right: 14px;
        bottom: 96px;
        width: 42px;
        height: 42px;
        font-size: 21px
    }

    .cart-panel.open ~ .to-top, .cart-open .to-top {
        display: none
    }
}

/* v6: sticky categories while scrolling */
.category-sidebar {
    transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.category-sidebar.is-stuck {
    border-color: rgba(240, 210, 154, .62);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .45), 0 0 0 1px rgba(216, 172, 98, .12) inset;
}

@media (max-width: 1100px) {
    .category-sidebar {
        top: 66px;
    }

    .category-sidebar.is-stuck {
        background: linear-gradient(180deg, rgba(8, 9, 9, .98), rgba(8, 9, 9, .92));
    }

    .category-sidebar.is-stuck::before {
        content: 'Разделы меню';
        display: block;
        padding: 0 14px 8px;
        color: var(--gold);
        font-size: 11px;
        letter-spacing: .14em;
        text-transform: uppercase;
        font-weight: 800;
    }
}

@media (max-width: 760px) {
    .menu-section {
        scroll-margin-top: 142px
    }
}

/* v7: reliable fixed category bar on mobile/tablet */
.category-placeholder {
    display: none
}

@media (max-width: 1100px) {
    .category-sidebar.fixed-stuck {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 95 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-radius: 0 !important;
        padding: 8px 0 10px !important;
        background: linear-gradient(180deg, rgba(8, 9, 9, .98), rgba(8, 9, 9, .93)) !important;
        backdrop-filter: blur(16px);
        box-shadow: 0 18px 46px rgba(0, 0, 0, .55), 0 1px 0 rgba(216, 172, 98, .22) inset;
    }

    .category-sidebar.fixed-stuck .category-tabs {
        padding-left: 14px;
        padding-right: 14px;
    }

    .category-placeholder {
        width: 100%;
        flex: 0 0 auto;
    }
}

@media (max-width: 760px) {
    .category-sidebar.fixed-stuck {
        padding-top: 7px !important;
    }

    .category-sidebar.fixed-stuck::before {
        padding-left: 14px;
        padding-right: 14px;
    }
}

.logo{
  max-height: 40px;
}

.photo-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(10px);
}

.photo-modal.open {
    display: flex;
}

.photo-modal__image {
    max-width: min(920px, 94vw);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 22px;
    border: 1px solid rgba(216, 172, 98, .45);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .72);
    background: #090b0b;
}

.photo-modal__close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 301;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(216, 172, 98, .45);
    border-radius: 50%;
    background: rgba(8, 9, 9, .88);
    color: #f0d29a;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.menu-item img {
    cursor: zoom-in;
}

