:root {
    --menu-ink: #171717;
    --menu-muted: #706a65;
    --menu-red: #b62121;
    --menu-red-dark: #8f1717;
    --menu-line: #e8e1db;
    --menu-white: #ffffff;
}

html,
body {
    background: var(--menu-white) !important;
    color: var(--menu-ink);
}

body {
    padding-top: 76px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.container,
.nav {
    max-width: 1320px;
}

.header {
    min-height: 76px;
    padding: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid var(--menu-line);
    box-shadow: none !important;
    backdrop-filter: none;
}

.nav {
    min-height: 76px;
    padding: 0 28px;
}

.logo {
    color: var(--menu-ink) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 1.55rem;
    font-weight: 850;
    letter-spacing: -0.055em;
    text-decoration: none;
    text-shadow: none;
}

.logo span { color: var(--menu-red); }

.nav-links { gap: 0.5rem; }
.nav-links a {
    padding: 0.6rem 0.75rem;
    color: #34302d;
    border-radius: 0;
    font-size: 0.92rem;
    font-weight: 650;
}
.nav-links a.active,
.nav-links a:hover { color: var(--menu-red); background: transparent; }
.nav-links a::after { background: var(--menu-red); }

.login-btn,
.book-btn {
    border-radius: 5px !important;
    box-shadow: none !important;
    font-weight: 700;
}
.book-btn { background: var(--menu-red) !important; }
.book-btn:hover { background: var(--menu-red-dark) !important; transform: translateY(-1px); }

.filter-section-menu {
    margin-top: 0;
    padding: 72px 0 38px;
    background: #fff;
    border-bottom: 0;
    box-shadow: none;
}

.menu-page-intro {
    max-width: 760px;
    margin-bottom: 34px;
}

.menu-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--menu-red);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.menu-page-intro h1 {
    margin: 0 0 14px;
    color: var(--menu-ink);
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 770;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.menu-page-intro p {
    max-width: 650px;
    margin: 0;
    color: var(--menu-muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.menu-filter-form {
    margin: 0;
    padding: 17px;
    background: #fff;
    border: 1px solid var(--menu-line);
    border-radius: 7px;
    box-shadow: 0 16px 45px rgba(32, 26, 22, 0.08);
}

.filter-row {
    display: grid;
    grid-template-columns: minmax(230px, 1.7fr) minmax(170px, 1fr) minmax(170px, 1fr) 120px 120px auto;
    gap: 10px;
    align-items: end;
}

.filter-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.field-label {
    color: #514a45;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-input,
.price-input,
.dropdown-header {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    color: var(--menu-ink);
    background: #fff;
    border: 1px solid #dcd3cc;
    border-radius: 4px;
    box-shadow: none;
    font-family: inherit;
    font-size: 0.84rem;
}

.search-input:focus,
.price-input:focus,
.dropdown-header:hover {
    outline: none;
    border-color: var(--menu-red);
    box-shadow: 0 0 0 3px rgba(182, 33, 33, 0.08);
    transform: none;
}

.custom-dropdown { position: relative; width: 100%; }

.dropdown-content {
    top: calc(100% + 7px);
    min-width: 240px;
    max-height: 300px;
    padding: 7px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--menu-line);
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(23, 20, 18, 0.15);
}

.dropdown-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: 0;
    border-radius: 4px;
    color: #413b37;
    font-size: 0.8rem;
    font-weight: 620;
}

.dropdown-option:hover { background: #fff8f7; }
.dropdown-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.dropdown-check {
    position: relative;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    background: #fff;
    border: 1px solid #bdb1a8;
    border-radius: 4px;
}

.dropdown-option input:checked + .dropdown-check {
    background: var(--menu-red);
    border-color: var(--menu-red);
}

.dropdown-option input:checked + .dropdown-check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.dropdown-clear-option {
    width: 100%;
    padding: 9px 10px;
    color: var(--menu-red);
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--menu-line);
    cursor: pointer;
    text-align: left;
    font-size: 0.76rem;
    font-weight: 750;
}

.filter-submit-group {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
}

.search-btn,
.reset-btn {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 4px;
    box-shadow: none;
    font-size: 0.8rem;
    font-weight: 760;
}
.search-btn { background: var(--menu-red); }
.search-btn:hover { background: var(--menu-red-dark); transform: none; box-shadow: none; }
.reset-btn { color: #4d4641; background: #fff; border: 1px solid #d8cec7; }
.reset-btn:hover { color: var(--menu-ink); background: #fff; border-color: var(--menu-ink); transform: none; }

.results-summary {
    padding: 24px 0 30px;
    background: #fff;
    border-top: 1px solid var(--menu-line);
    border-bottom: 1px solid var(--menu-line);
    backdrop-filter: none;
}

.results-summary h3 {
    margin: 0 0 5px;
    color: var(--menu-ink);
    font-size: 1.45rem;
    letter-spacing: -0.035em;
}
.showing-all { color: var(--menu-muted); font-size: 0.9rem; }
.active-filters { margin-top: 14px; gap: 7px; }
.active-filters > span:first-child { color: var(--menu-muted); font-size: 0.75rem; font-weight: 700; }
.filter-tag {
    padding: 6px 9px;
    color: #493f39;
    background: #fff;
    border: 1px solid #ddd4cd;
    border-radius: 4px;
    box-shadow: none;
    font-size: 0.72rem;
    font-weight: 650;
}
.clear-filters { margin-left: 4px; padding: 6px 8px; color: var(--menu-red); font-size: 0.74rem; }

.menu-container {
    min-height: 70vh;
    padding: 58px 0 20px;
    background: #fff;
}

.category-section { margin-bottom: 70px; }
.category-header { margin-bottom: 20px; }
.category-title {
    margin: 0;
    padding: 0;
    color: var(--menu-ink);
    border: 0;
    font-size: clamp(1.7rem, 2.8vw, 2.45rem);
    font-weight: 760;
    letter-spacing: -0.045em;
}
.category-title::after {
    position: static;
    display: block;
    width: 38px;
    height: 2px;
    margin-top: 10px;
    background: var(--menu-red);
}

.slider-controls { gap: 7px; }
.slider-btn {
    width: 42px;
    height: 42px;
    color: var(--menu-ink);
    background: #fff;
    border: 1px solid var(--menu-line);
    border-radius: 50%;
    box-shadow: none;
}
.slider-btn:hover { color: #fff; background: var(--menu-ink); transform: none; box-shadow: none; }

.dishes-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 3px 2px 17px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.dishes-grid::-webkit-scrollbar { display: none; }

.dish-card {
    flex: 0 0 286px;
    width: 286px;
    min-width: 286px;
    max-width: 286px;
    margin: 0;
    overflow: hidden;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--menu-line);
    border-radius: 7px;
    box-shadow: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.dish-card:hover {
    transform: translateY(-4px);
    border-color: #cdbfb5;
    box-shadow: 0 15px 35px rgba(31, 26, 22, 0.09);
}
.dish-image-container { height: 200px; }
.dish-card:hover .dish-image { transform: scale(1.045); }
.dish-image-placeholder { color: #9e9188; background: #fff; border-bottom: 1px solid var(--menu-line); text-shadow: none; }
.dish-image-placeholder p { font-size: 0.8rem; }

.special-badge {
    top: 10px;
    right: 10px;
    padding: 5px 8px;
    background: var(--menu-red);
    border-radius: 3px;
    box-shadow: none;
    animation: none;
    font-size: 0.62rem;
}
.info-badge { border-radius: 3px; font-size: 0.62rem; backdrop-filter: none; }
.info-badge.prep-time,
.info-badge.spice-level { bottom: 10px; }

.dish-overlay {
    gap: 8px;
    flex-direction: column;
    background: rgba(15, 13, 12, 0.78);
    backdrop-filter: blur(2px);
}
.add-to-cart-btn {
    min-width: 150px;
    padding: 10px 14px;
    border-radius: 4px;
    box-shadow: none;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    transform: translateY(8px);
}
.dish-card:hover .add-to-cart-btn { transform: translateY(0); }

.dish-content { padding: 17px; }
.dish-title {
    margin: 0 0 7px;
    color: var(--menu-ink);
    font-size: 1.08rem;
    font-weight: 740;
    letter-spacing: -0.025em;
}
.dish-description {
    display: -webkit-box;
    margin: 0 0 13px;
    overflow: hidden;
    color: var(--menu-muted);
    font-size: 0.78rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.dietary-info { margin-bottom: 11px; }
.dietary-label { padding: 4px 7px; color: #3c493d; background: #fff; border: 1px solid #cfdbcf; border-radius: 3px; box-shadow: none; font-size: 0.66rem; }
.dish-details { gap: 5px; margin-bottom: 12px; }
.detail-item { padding: 4px 6px; color: #5e5751; background: #fff; border: 1px solid var(--menu-line); border-radius: 3px; font-size: 0.64rem; }
.dish-meta { gap: 6px; margin-bottom: 12px; }
.dish-restaurant { color: #5c554f; font-size: 0.7rem; font-weight: 700; }
.dish-subcategory { color: var(--menu-red); font-size: 0.65rem; }
.dish-footer { padding-top: 12px; border-color: var(--menu-line); }
.dish-price,
.special-price { color: var(--menu-red); font-size: 1.22rem; text-shadow: none; }
.original-price { font-size: 0.82rem; }
.dish-rating .stars { color: #bd8a38; font-size: 0.75rem; text-shadow: none; }

.no-results { border: 1px solid var(--menu-line); border-radius: 7px; box-shadow: none; }
.btn-primary { background: var(--menu-red); border-radius: 4px; box-shadow: none; }
.footer { margin-top: 40px; box-shadow: none; }

@media (max-width: 1120px) {
    .filter-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .search-field { grid-column: span 2; }
    .filter-submit-group { grid-column: span 2; }
}

@media (max-width: 768px) {
    body { padding-top: 68px; }
    .header,
    .nav { min-height: 68px; }
    .nav { padding-inline: 18px; }
    .filter-section-menu { padding: 48px 0 26px; }
    .menu-page-intro { margin-bottom: 25px; }
    .menu-page-intro h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
    .menu-filter-form { padding: 13px; }
    .filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .search-field,
    .filter-submit-group { grid-column: 1 / -1; }
    .menu-container { padding-top: 42px; }
    .category-section { margin-bottom: 54px; }
    .dish-card { flex-basis: 270px; width: 270px; min-width: 270px; max-width: 270px; }
}

@media (max-width: 480px) {
    .filter-row { grid-template-columns: 1fr; }
    .search-field,
    .filter-submit-group { grid-column: auto; }
    .filter-submit-group { grid-template-columns: 1fr auto; }
    .dropdown-content {
        position: fixed;
        inset: auto 10px 12px;
        z-index: 3000;
        max-height: 56vh;
        border-radius: 9px;
    }
    .dish-card { flex-basis: 82vw; width: 82vw; min-width: 82vw; max-width: 82vw; }
    .slider-controls { display: none; }
}
