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

:root {
    --red: #c41e3a;
    --red-dark: #9a1830;
    --red-deep: #7a1225;
    --gold: #d4af37;
    --gold-light: #f0d78c;
    --cream: #faf6f0;
    --dark: #1a1210;
    --dark-soft: #2d2220;
    --text: #3d2f2c;
    --text-muted: #7a6b67;
    --white: #ffffff;
    --shadow: 0 8px 32px rgba(26, 18, 16, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Manrope', sans-serif;
    --font-cn: 'Noto Serif SC', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top bar */
.top-bar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid rgba(196, 30, 58, 0.1);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 24px;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo__cn {
    font-family: var(--font-cn);
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.15em;
}

.logo__ru {
    font-family: var(--font-cn);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--red);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav__link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.nav__link:hover,
.nav__link--active {
    color: var(--red);
}

.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

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

.header__phone {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cart-btn {
    position: relative;
    background: var(--red);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.cart-btn:hover {
    background: var(--red-dark);
    transform: scale(1.05);
}

.cart-btn__count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.cart-btn__count:empty,
.cart-btn__count[data-count="0"] {
    display: none;
}

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

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: 0.3s;
}

/* Address banner */
.address-banner {
    background: linear-gradient(90deg, var(--red-deep), var(--red));
    color: var(--white);
    padding: 12px 0;
    font-size: 0.9rem;
}

.address-banner__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.address-banner__link {
    background: none;
    border: none;
    color: var(--gold-light);
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.address-banner__current {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Hero */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1525755662778-989d0524087e?w=1400&q=80') center/cover no-repeat;
}

.hero--roujiamo {
    background-image: url('images/roujiamo-hero.png');
    background-position: center 40%;
}

.hero--roujiamo .hero__overlay {
    background: linear-gradient(105deg, rgba(26, 18, 16, 0.9) 0%, rgba(26, 18, 16, 0.55) 45%, rgba(26, 18, 16, 0.35) 100%);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 18, 16, 0.85) 0%, rgba(122, 18, 37, 0.7) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 80px 20px;
    color: var(--white);
    max-width: 680px;
}

.hero__subtitle {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero__title {
    font-family: var(--font-cn);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero__title span {
    color: var(--gold-light);
    font-size: 0.65em;
    display: block;
    margin-top: 8px;
}

.hero__text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Signature dish — 肉夹馍 */
.signature-dish {
    padding: 72px 0;
    background: linear-gradient(180deg, #faf6f0 0%, #f3ebe0 50%, #faf6f0 100%);
    border-bottom: 1px solid rgba(196, 30, 58, 0.08);
}

.signature-dish__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.signature-dish__figure {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.signature-dish__figure img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.signature-dish__label {
    color: var(--red);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.signature-dish__cn {
    font-family: var(--font-cn);
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 8px;
}

.signature-dish__pinyin {
    font-size: 1.1rem;
    color: var(--gold);
    font-style: italic;
    margin-bottom: 20px;
}

.signature-dish__ru {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 24px;
    max-width: 420px;
}

.signature-dish__ru em {
    font-style: normal;
    color: var(--red);
    font-weight: 600;
}

.signature-dish__facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-bottom: 28px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.signature-dish__facts strong {
    color: var(--dark);
    font-weight: 600;
}

.menu-card__name-cn {
    display: block;
    font-family: var(--font-cn);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 4px;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.btn--primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn--primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 30, 58, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn--full {
    width: 100%;
}

/* Category nav */
.category-nav {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 73px;
    z-index: 150;
    overflow-x: auto;
    scrollbar-width: none;
}

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

.category-nav__inner {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
}

.category-nav__btn {
    flex-shrink: 0;
    background: var(--cream);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.category-nav__btn:hover,
.category-nav__btn--active {
    background: var(--red);
    color: var(--white);
}

/* Menu */
.menu-page {
    padding: 48px 0 80px;
}

.menu-section {
    margin-bottom: 56px;
    scroll-margin-top: 140px;
}

.menu-section__title {
    font-family: var(--font-cn);
    font-size: 1.75rem;
    color: var(--red);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(26, 18, 16, 0.15);
}

.menu-card__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ebe6e0;
}

.menu-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    transition: transform 0.4s;
}

.menu-card:hover .menu-card__image {
    transform: scale(1.05);
}

.menu-card__tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.menu-card__tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.menu-card__tag--spicy {
    background: var(--red);
    color: var(--white);
}

.menu-card__tag--new {
    background: var(--gold);
    color: var(--dark);
}

.menu-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-card__code {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.menu-card__name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.menu-card__weight {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.menu-card__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex: 1;
}

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

.menu-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--red);
}

.menu-card__price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
}

.menu-card__add {
    background: var(--red);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.menu-card__add:hover {
    background: var(--red-dark);
    transform: scale(1.1);
}

/* Delivery */
.delivery {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    font-family: var(--font-cn);
    font-size: 2rem;
    text-align: center;
    color: var(--red);
    margin-bottom: 48px;
}

.section-title--left {
    text-align: left;
}

.delivery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.delivery__card {
    background: var(--cream);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(196, 30, 58, 0.08);
    transition: transform 0.2s;
}

.delivery__card:hover {
    transform: translateY(-4px);
}

.delivery__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.delivery__card h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.delivery__card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Cart panel */
.cart-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 300;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-panel--open {
    right: 0;
}

.cart-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-panel__header h2 {
    font-size: 1.25rem;
    color: var(--dark);
}

.cart-panel__close {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

.cart-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-panel__empty {
    text-align: center;
    color: var(--text-muted);
    padding: 48px 0;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-item__info {
    flex: 1;
}

.cart-item__name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cart-item__meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.cart-item__qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item__qty {
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.cart-item__price {
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
}

.cart-panel__footer {
    padding: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-panel__note {
    margin: 0 0 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
}

.cart-panel__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.cart-panel__total strong {
    font-size: 1.35rem;
    color: var(--red);
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 18, 16, 0.5);
    z-index: 250;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.overlay--visible {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.modal {
    border: none;
    padding: 0;
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: calc(100% - 40px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.modal--map {
    max-width: 640px;
}

.modal::backdrop {
    background: rgba(26, 18, 16, 0.6);
}

.modal__content {
    padding: 32px;
}

.modal__content h3 {
    font-size: 1.35rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.modal__hint {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.modal__actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.modal__actions--address {
    justify-content: flex-end;
}

.modal__actions--address .btn--primary {
    margin-left: auto;
}


.modal__actions .btn--outline {
    color: var(--text);
    border-color: rgba(0, 0, 0, 0.2);
}

.modal__actions .btn--outline:hover {
    background: var(--cream);
}

.modal__content--map {
    max-height: 90vh;
    overflow-y: auto;
}

.delivery-map {
    width: 100%;
    height: 320px;
    min-height: 320px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    background: #e8eef3;
    overflow: hidden;
}

#addressModal:not([open]) #deliveryMap {
    display: none;
}

.delivery-map .leaflet-container {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    font-family: var(--font);
    background: #ddd;
}

/* Leaflet 1.9: plus-lighter делает тайлы невидимыми на сером фоне (Chromium) */
.delivery-map .leaflet-tile-pane img.leaflet-tile,
.checkout-map-preview .leaflet-tile-pane img.leaflet-tile {
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-width: none !important;
    max-height: none !important;
}

.delivery-map .leaflet-tile-pane {
    z-index: 200;
}

.delivery-map--error {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    color: var(--red);
    font-size: 0.9rem;
}

.delivery-map--svg {
    background: #e8eef3;
}

.svg-map {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    cursor: crosshair;
    box-sizing: border-box;
}

#svgMapClickArea:focus {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.svg-map__canvas {
    display: block;
    width: 100%;
    flex: 1 1 auto;
    min-height: 260px;
    height: calc(100% - 36px);
    cursor: crosshair;
    touch-action: manipulation;
}

.svg-map__title {
    font: 600 11px var(--font);
    fill: #555;
}

.svg-map__cafe {
    font-size: 14px;
}

.svg-map__dot {
    stroke: #fff;
    stroke-width: 2;
}

.svg-map__dot--ok {
    fill: #1a5fb4;
}

.svg-map__dot--out {
    fill: #c41e3a;
}

.svg-map__hint {
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 10px;
    font-size: 0.8rem;
    color: var(--dark);
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.btn--map-link {
    display: block;
    width: 100%;
    margin-top: 8px;
    text-align: center;
    font-size: 0.9rem;
}

.checkout-map-preview {
    width: 100%;
    margin-top: 10px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #e8eef3;
}

.checkout-map-preview[hidden] {
    display: none !important;
}

.checkout-map-preview--tap {
    cursor: pointer;
}

.checkout-map-preview--tap:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.checkout-map-preview img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.checkout-map-preview--tap::after {
    content: 'Нажмите на карту, чтобы выбрать точку';
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.9);
}

.delivery-map--loading {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8eef3;
}

.delivery-map__loading {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.delivery-map--error {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    text-align: center;
    background: #e8eef3;
}

.delivery-map--error p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.delivery-map__error-hint {
    font-size: 0.8rem !important;
}

/* Не даём иконкам Leaflet «вылезать» за пределы блока карты */
.delivery-map,
.checkout-map-preview {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.delivery-map .leaflet-marker-pane,
.delivery-map .leaflet-shadow-pane,
.checkout-map-preview .leaflet-marker-pane {
    z-index: 600;
}

#checkoutModal .delivery-map,
#checkoutModal #deliveryMap {
    display: none !important;
}

.address-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.address-validation {
    font-size: 0.9rem;
    min-height: 1.4em;
    margin: 8px 0 0;
}

.address-validation--ok {
    color: #1a7a3a;
}

.address-validation--error {
    color: var(--red);
}

.address-validation--pending {
    color: var(--text-muted);
}

.delivery-zones-details {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.delivery-zones-details summary {
    cursor: pointer;
    color: var(--red);
    font-weight: 500;
}

.delivery-zones-list {
    margin-top: 8px;
    line-height: 1.6;
}

.cafe-marker {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
}

.delivery-marker span {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.delivery-marker--ok span {
    background: #1a5fb4;
}

.delivery-marker--out span {
    background: #c41e3a;
}

.order-address-info {
    font-size: 0.85rem;
    margin-top: 6px;
}

.order-address-info.address-valid {
    color: #1a7a3a;
}

.order-address-info.address-error {
    color: var(--red);
}

.order-address-info.address-pending {
    color: var(--text-muted);
}

.btn--small {
    margin-top: 8px;
    padding: 8px 14px;
    font-size: 0.85rem;
}

.checkout-summary {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 16px;
    margin: 16px 0;
}

.checkout-summary__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.checkout-summary__row--total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 1.1rem;
    font-weight: 700;
}

.cart-item--delivery {
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 12px;
    margin-top: 8px;
}

.delivery__zones {
    list-style: none;
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.7;
}

.delivery__zones li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.delivery__zone-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.delivery__card--zones {
    text-align: left;
}

/* Forms */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    transition: border-color 0.2s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
}

/* Убираем «красную плашку» от нативной :invalid-подсветки (Firefox и пр.) */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    box-shadow: none;
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-message {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
}

/* Page hero (inner pages) */
.page-hero {
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-hero--booking {
    background: linear-gradient(135deg, rgba(26, 18, 16, 0.9), rgba(122, 18, 37, 0.85)),
        url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1400&q=80') center/cover;
}

.page-hero--about {
    background: linear-gradient(135deg, rgba(26, 18, 16, 0.9), rgba(122, 18, 37, 0.85)),
        url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1400&q=80') center/cover;
}

.page-hero__label {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.page-hero__title {
    font-family: var(--font-cn);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.page-hero__text {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto;
}

/* Booking */
.booking-section {
    padding: 80px 0;
}

.booking-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.booking-info h2 {
    font-family: var(--font-cn);
    font-size: 1.5rem;
    color: var(--red);
    margin-bottom: 24px;
}

.booking-info__list {
    list-style: none;
    margin-bottom: 32px;
}

.booking-info__list li {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
}

.booking-info__list strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dark);
}

.booking-info__list p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.booking-info__features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.booking-info__feature {
    background: var(--white);
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    box-shadow: var(--shadow);
}

.booking-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.booking-form h2 {
    font-family: var(--font-cn);
    font-size: 1.35rem;
    color: var(--red);
    margin-bottom: 24px;
}

/* About */
.about-story {
    padding: 80px 0;
}

.about-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-story__text p {
    margin-bottom: 16px;
    color: var(--text);
}

.about-story__image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.about-values {
    padding: 80px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.value-card {
    background: var(--cream);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.value-card__icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.value-card h3 {
    color: var(--red);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.interior {
    padding: 80px 0;
}

.interior__intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
    color: var(--text-muted);
}

.interior__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.interior__item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.interior__item--large {
    grid-row: span 2;
}

.interior__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 200px;
}

.interior__item figcaption {
    padding: 12px 16px;
    background: var(--white);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--red-deep), var(--red));
    color: var(--white);
}

.about-cta__inner {
    text-align: center;
}

.about-cta__inner h2 {
    font-family: var(--font-cn);
    font-size: 2rem;
    margin-bottom: 12px;
}

.about-cta__inner p {
    opacity: 0.9;
    margin-bottom: 32px;
}

.about-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-cta .btn--outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 48px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer__brand .logo__cn {
    display: block;
    margin-bottom: 4px;
}

.footer__brand .logo__ru {
    color: var(--white);
    display: block;
    margin-bottom: 12px;
}

.footer__brand p {
    font-size: 0.9rem;
    opacity: 0.7;
}

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

.footer__links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--gold);
}

.footer__contact p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer__copy {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Toast animation */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--dark);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    z-index: 400;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 992px) {
    .signature-dish__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .signature-dish__content {
        text-align: center;
    }

    .signature-dish__ru,
    .signature-dish__facts {
        margin-left: auto;
        margin-right: auto;
    }

    .signature-dish__facts {
        justify-content: center;
    }

    .booking-section__grid,
    .about-story__grid {
        grid-template-columns: 1fr;
    }

    .interior__gallery {
        grid-template-columns: 1fr 1fr;
    }

    .interior__item--large {
        grid-row: span 1;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow);
    }

    .nav--open {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .header__phone {
        display: none;
    }

    .category-nav {
        top: 65px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .interior__gallery {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__links {
        align-items: center;
    }

    .booking-form {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

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

    .address-fields {
        grid-template-columns: 1fr;
    }

    .delivery-map {
        height: 260px;
    }
}
