/* ==========================================================================
   Tatiana al sabor — public storefront
   Warm minimalism · Italian elegance · modern editorial
   This file styles the public pages only: home, gallery, coverage and the
   shared header/cart/checkout blocks used by the order page.
   ========================================================================== */

/* ---------- Fonts ---------- */

@font-face {
    font-family: "Great Vibes";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/great-vibes-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Great Vibes";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/great-vibes-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Great Vibes";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/great-vibes-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Great Vibes";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/great-vibes-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("/fonts/cormorant-garamond-normal-var-lat.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("/fonts/cormorant-garamond-normal-var-cyr.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/cormorant-garamond-italic-var-lat.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/cormorant-garamond-italic-var-cyr.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/fonts/manrope-normal-var-lat.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/fonts/manrope-normal-var-cyr.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ---------- Design tokens ---------- */

:root {
    --bg: #f8f2e8;
    --bg-soft: #f2e9db;
    --surface: #fffcf6;
    --surface-raised: #fffaf1;
    --sand: #e7d9c4;

    --text: #2a2119;
    --text-strong: #211912;
    --text-muted: #635545;
    --text-faint: #756655;

    --accent: #b45a3c;
    --accent-strong: #94452d;
    --accent-soft: #f5e2d8;

    --olive: #69744d;
    --olive-strong: #535d3d;
    --olive-soft: #eaedde;

    --line: #e5d8c6;
    --line-strong: #d4c2aa;

    --danger: #a34434;
    --danger-soft: #f7e5e0;
    --success: #4f6b45;

    --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --font-brand: "Great Vibes", "Snell Roundhand", "Apple Chancery", "Segoe Script", cursive;
    --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius-sm: 12px;
    --radius: 22px;
    --radius-lg: 30px;
    --shadow-sm: 0 1px 2px rgba(42, 33, 25, 0.04), 0 8px 22px rgba(42, 33, 25, 0.05);
    --shadow: 0 2px 4px rgba(42, 33, 25, 0.04), 0 18px 48px rgba(42, 33, 25, 0.09);
    --shadow-strong: 0 28px 80px rgba(42, 33, 25, 0.18);

    --container: 1200px;
    --gutter: clamp(14px, 4vw, 24px);
    --header-height: 78px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- Base ---------- */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
    overscroll-behavior: none;
}

[hidden] {
    display: none !important;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: var(--accent-strong);
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

:focus-visible {
    outline: 3px solid rgba(180, 90, 60, 0.4);
    outline-offset: 3px;
}

.container {
    width: min(var(--container), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--text);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(90, 70, 48, 0.12);
    background: rgba(248, 242, 232, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding-top: var(--safe-top);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-height);
    padding-block: 8px;
}

.brand {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.brand-mark {
    display: none;
}

.brand-mark[data-brand-mark] {
    --brand-mark-size: 58px;
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: var(--brand-mark-size);
    height: var(--brand-mark-size);
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-mark[data-brand-mark]::before {
    content: none;
}

.brand-mark[data-brand-mark] .brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.brand-name {
    display: -webkit-box;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: anywhere;
    color: var(--text);
    font-family: var(--font-brand);
    font-size: clamp(30px, 3.5vw, 39px);
    font-weight: 400;
    letter-spacing: 0.005em;
    line-height: 1.15;
    padding-block: 0.06em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.site-header .brand-name {
    font-size: clamp(33px, 3.8vw, 42px);
}

.site-nav {
    display: flex;
    flex: none;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav-link {
    position: relative;
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1.5px;
    border-radius: 2px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link[aria-current="page"] {
    color: var(--text);
}

.nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-cart {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 8px 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-cart-icon {
    display: inline-grid;
    place-items: center;
    width: 19px;
    height: 19px;
    color: var(--text);
}

.nav-cart-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.nav-cart:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.nav-cart-count {
    display: grid;
    place-items: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* ---------- Language switch ---------- */

.lang-switch {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

.lang-option {
    min-width: 38px;
    min-height: 34px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-option:hover {
    color: var(--accent);
}

.lang-option.is-active,
.lang-option[aria-pressed="true"] {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.mobile-nav-lang {
    justify-content: center;
    width: 100%;
    margin: 4px 0;
    padding: 4px;
}

.mobile-nav-lang .lang-option {
    flex: 1 1 0;
    min-height: 42px;
    font-size: 12px;
}

/* ---------- Mobile navigation ---------- */

.nav-burger {
    display: none;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-burger:hover,
.nav-burger[aria-expanded="true"] {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.nav-burger-box {
    display: grid;
    gap: 5px;
    width: 19px;
}

.nav-burger-box span {
    display: block;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
}

.mobile-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    z-index: 60;
    display: none;
    width: min(100%, 370px);
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
    padding: 14px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow-strong);
    animation: mobile-nav-in 0.18s ease-out;
    overscroll-behavior: contain;
}

@keyframes mobile-nav-in {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 2px 10px;
    border-bottom: 1px solid var(--line);
}

.mobile-nav-title {
    margin: 0;
    color: var(--text-faint);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mobile-nav-close {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--bg-soft);
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mobile-nav-close:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.mobile-nav-list {
    display: grid;
    gap: 4px;
    padding-top: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 10px 15px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
}

.mobile-nav-link:hover {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.mobile-nav-link[aria-current="page"] {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4.5vw, 62px) 0 clamp(38px, 5vw, 74px);
}

.hero::before {
    position: absolute;
    top: -260px;
    right: -220px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(218, 195, 166, 0.48), rgba(218, 195, 166, 0) 68%);
    content: "";
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(34px, 5.5vw, 76px);
    align-items: center;
}

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

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(54px, 6.2vw, 84px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 0.94;
    overflow-wrap: anywhere;
}

.hero h1 em {
    display: inline-block;
    color: var(--accent);
    font-style: italic;
    font-weight: 500;
}

.hero-lead {
    max-width: 500px;
    margin: 22px 0 0;
    color: var(--text-muted);
    font-size: clamp(15px, 1.35vw, 16px);
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.menu-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 500px;
    margin-top: 30px;
}

.menu-choice-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 62px;
    padding: 13px 14px 13px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: linear-gradient(180deg, #fdf8ee 0%, #f4e8d5 100%);
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 8px 18px rgba(90, 70, 48, 0.07);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.menu-choice-option::after {
    display: grid;
    flex: none;
    place-items: center;
    width: 26px;
    height: 26px;
    padding-bottom: 6px;
    border-radius: 50%;
    background: rgba(180, 90, 60, 0.12);
    color: var(--accent-strong);
    content: "→";
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transition: background 0.18s ease, color 0.18s ease;
}

.menu-choice-option:hover {
    border-color: var(--accent);
    background: linear-gradient(180deg, #fdf1e6 0%, #f5dfd0 100%);
    color: var(--accent-strong);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 12px 24px rgba(148, 69, 45, 0.14);
    transform: translateY(-1px);
}

.menu-choice-option:hover::after {
    background: var(--accent);
    color: #fffaf1;
}

.menu-choice-option[aria-pressed="true"],
.menu-choice-option[aria-pressed="true"]:hover {
    border-color: var(--accent-strong);
    background: linear-gradient(160deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: var(--surface-raised);
    box-shadow: 0 14px 30px rgba(148, 69, 45, 0.3);
    transform: none;
}

.menu-choice-option[aria-pressed="true"]::after {
    background: rgba(255, 250, 241, 0.22);
    color: var(--surface-raised);
    content: "✓";
    padding-bottom: 0;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 24px 0 0;
    padding: 0;
    color: var(--text-muted);
    font-size: 12.5px;
    font-weight: 600;
    list-style: none;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.hero-points li::before {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--olive);
    content: "";
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.hero-art {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    box-shadow: var(--shadow);
}

.hero-art:not(.has-photo) {
    aspect-ratio: 6 / 5;
}

.hero-art::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(42, 33, 25, 0) 56%, rgba(42, 33, 25, 0.2));
    content: "";
    pointer-events: none;
}

.hero-art svg,
.hero-art .hero-photo {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center 34%;
}

.hero-art svg {
    background: var(--sand);
}

.hero-art .hero-photo[hidden],
.hero-art svg[hidden] {
    display: none;
}

.hero-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    background: rgba(255, 252, 246, 0.9);
    box-shadow: 0 12px 30px rgba(42, 33, 25, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-badge-label {
    color: var(--accent-strong);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-badge-text {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.15;
}

/* ---------- Buttons ---------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.button:active {
    transform: translateY(1px);
}

.button-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(180, 90, 60, 0.24);
}

.button-primary:hover {
    background: var(--accent-strong);
    box-shadow: 0 12px 28px rgba(180, 90, 60, 0.3);
}

.button-ghost {
    border-color: var(--line-strong);
    background: transparent;
    color: var(--text);
}

.button-ghost:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ---------- Menu section ---------- */

.menu-section {
    padding: clamp(44px, 6.5vw, 88px) 0 clamp(56px, 7vw, 100px);
    border-top: 1px solid rgba(90, 70, 48, 0.1);
    background: var(--bg-soft);
    scroll-margin-top: 96px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}

.section-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(36px, 4.6vw, 58px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 0.98;
}

.section-note {
    max-width: 340px;
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.65;
}

.menu-head-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.menu-switch {
    min-height: 42px;
    padding: 8px 15px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.menu-switch:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.menu-status {
    min-height: 24px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 12.5px;
}

.menu-status .button {
    min-height: 38px;
    margin-left: 12px;
    padding: 7px 14px;
    font-size: 12px;
}

.menu-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.menu-filter-button {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-muted);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.menu-filter-button:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.menu-filter-button[aria-pressed="true"] {
    border-color: var(--text);
    background: var(--text);
    color: var(--surface-raised);
}

.menu-filter-note {
    color: var(--text-muted);
    font-size: 12px;
}

.menu-filter-retry {
    min-height: 38px;
    padding: 7px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
}

.menu-filter-retry:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.menu-search {
    position: relative;
    width: min(100%, 640px);
    margin-bottom: 18px;
}

.menu-search-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-search-field {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
}

.menu-custom-add {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.menu-custom-add:hover,
.menu-custom-add[aria-expanded="true"] {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.menu-custom-add:focus-visible {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 90, 60, 0.14);
}

.menu-custom-add-icon {
    font-size: 17px;
    line-height: 1;
}

.custom-dish-panel {
    margin: 0 0 20px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.custom-dish-form {
    display: grid;
    gap: 15px;
}

.custom-dish-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.custom-dish-head .eyebrow {
    margin: 0 0 4px;
}

.custom-dish-head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 600;
    line-height: 1.05;
}

.custom-dish-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 12px;
}

.custom-ingredients-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.custom-ingredients-field legend {
    padding: 0;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.custom-ingredient-list {
    display: grid;
    gap: 8px;
    margin-top: 6px;
}

.custom-ingredient-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 210px) 40px;
    gap: 8px;
    align-items: center;
}

.custom-ingredient-row:focus-within {
    z-index: 30;
}

.custom-ingredient-field {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.custom-ingredient-name-field {
    position: relative;
}

.custom-ingredient-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 40;
    max-height: 248px;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 18px 44px rgba(44, 29, 20, 0.18);
    scrollbar-color: var(--line-strong) transparent;
    scrollbar-width: thin;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.custom-ingredient-suggestions::-webkit-scrollbar {
    width: 8px;
}

.custom-ingredient-suggestions::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 99px;
    background: var(--line-strong);
    background-clip: padding-box;
}

.custom-ingredient-suggestions::-webkit-scrollbar-track {
    background: transparent;
}

.custom-ingredient-suggestions[hidden] {
    display: none;
}

.custom-ingredient-suggestion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    padding: 9px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.custom-ingredient-suggestion:hover,
.custom-ingredient-suggestion.is-active {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.custom-ingredient-suggestion:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.custom-ingredient-suggestion-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.custom-ingredient-suggestion-unit {
    flex: 0 0 auto;
    color: var(--text-faint);
    font-size: 11px;
    font-weight: 700;
}

.custom-ingredient-suggestion-empty {
    margin: 0;
    padding: 12px;
    color: var(--text-faint);
    font-size: 12px;
    line-height: 1.5;
}

.custom-ingredient-label {
    display: none;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.custom-ingredient-row input {
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-ingredient-row input::placeholder {
    color: var(--text-faint);
}

.custom-ingredient-row input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 90, 60, 0.12);
}

.custom-ingredient-remove {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-muted);
    font-size: 20px;
    line-height: 1;
}

.custom-ingredient-remove:hover {
    border-color: var(--danger);
    background: rgba(163, 68, 52, 0.08);
    color: var(--danger);
}

.custom-ingredient-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    margin-top: 9px;
    padding: 7px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
}

.custom-ingredient-add:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.custom-dish-hint {
    margin: 8px 0 0;
    color: var(--text-faint);
    font-size: 11px;
    line-height: 1.5;
}

.custom-dish-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.menu-search-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--text-faint);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
    pointer-events: none;
}

.menu-search-input {
    width: 100%;
    min-height: 46px;
    padding: 10px 46px 10px 44px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 13.5px;
    line-height: 1.4;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.menu-search-input::placeholder {
    color: var(--text-faint);
    opacity: 1;
}

.menu-search-input:hover {
    border-color: var(--accent);
}

.menu-search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 90, 60, 0.14);
}

.menu-search-input::-webkit-search-cancel-button,
.menu-search-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.menu-search-clear {
    position: absolute;
    right: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-faint);
    font-size: 20px;
    line-height: 1;
    transition: background 0.18s ease, color 0.18s ease;
}

.menu-search-clear:hover {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.menu-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

/* ---------- Dish cards ---------- */

.dish-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dish-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.dish-card.is-expanded {
    border-color: rgba(180, 90, 60, 0.35);
    box-shadow: var(--shadow);
}

.dish-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 18px 18px 0;
}

.dish-emoji {
    display: grid;
    flex: none;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(105, 116, 77, 0.18);
    border-radius: 15px;
    background: var(--olive-soft);
    font-size: 25px;
    line-height: 1;
}

.dish-title-wrap {
    min-width: 0;
}

.dish-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(24px, 2.3vw, 28px);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.08;
}

.dish-description {
    max-width: 760px;
    margin: 9px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.dish-card:not(.is-expanded) .dish-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.dish-recipe {
    margin-top: 14px;
}

.dish-recipe-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-faint);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.recipe-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.recipe-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.35;
}

.recipe-chip strong {
    color: var(--text);
    font-weight: 600;
}

.recipe-more {
    border-color: rgba(180, 90, 60, 0.2);
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 700;
}

.dish-card:not(.is-expanded) .recipe-chips-full {
    display: none;
}

.dish-card.is-expanded .recipe-chips-preview {
    display: none;
}

.dish-recipe-empty {
    color: var(--text-faint);
    font-size: 12px;
}

.dish-card.has-photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "photo"
        "head"
        "content";
    row-gap: 0;
}

.dish-card.has-photo .dish-head {
    grid-area: head;
    min-width: 0;
}

.dish-card.has-photo .dish-content {
    grid-area: content;
    min-width: 0;
}

.dish-card.has-photo .dish-recipe {
    margin-top: 14px;
}

.dish-card.has-photo .dish-emoji {
    display: none;
}

.dish-photo {
    grid-area: photo;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: var(--bg-soft);
}

.dish-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dish-content {
    display: flex;
    flex-direction: column;
    padding: 0 18px 16px;
}

.dish-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 16px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.dish-price-block {
    flex: 1 1 auto;
    min-width: 0;
}

.dish-price {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.dish-price.dish-price-unknown {
    font-size: 24px;
}

.dish-weight {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

.dish-actions {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.dish-details-button {
    min-height: 44px;
    padding: 8px 4px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    transition: color 0.18s ease;
}

.dish-details-button:hover {
    color: var(--accent-strong);
}

.dish-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 15px 0 11px;
    border: 0;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(180, 90, 60, 0.24);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.dish-add-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
}

.dish-add:hover {
    background: var(--accent-strong);
    box-shadow: 0 10px 24px rgba(180, 90, 60, 0.3);
    transform: translateY(-1px);
}

.dish-add:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.dish-cart-control {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: none;
    min-width: 46px;
    min-height: 46px;
}

.dish-quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    animation: dish-quantity-in 0.2s ease;
}

.dish-quantity-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    background: var(--surface);
    color: var(--text);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dish-quantity-button:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
    transform: translateY(-1px);
}

.dish-quantity-button-accent {
    border-color: transparent;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 20px rgba(180, 90, 60, 0.22);
}

.dish-quantity-button-accent:hover {
    border-color: transparent;
    background: var(--accent-strong);
    color: #fff;
    box-shadow: 0 10px 24px rgba(180, 90, 60, 0.3);
}

.dish-quantity-value {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.dish-quantity-value.is-bumped {
    animation: dish-quantity-pop 0.22s ease;
}

@keyframes dish-quantity-in {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes dish-quantity-pop {
    0%,
    100% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.12);
    }
}

/* ---------- Skeleton / empty states ---------- */

.skeleton-card {
    min-height: 260px;
    padding: 20px;
    pointer-events: none;
}

.skeleton-line {
    height: 13px;
    border-radius: 999px;
    background: linear-gradient(90deg, #eadfce 25%, #f4ebdd 37%, #eadfce 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
}

.skeleton-line + .skeleton-line {
    margin-top: 12px;
}

.skeleton-title {
    width: 56%;
    height: 20px;
}

.skeleton-short {
    width: 34%;
}

.skeleton-chips {
    display: flex;
    gap: 8px;
    margin-top: 22px;
}

.skeleton-chip {
    width: 74px;
    height: 28px;
    border-radius: 999px;
    background: #efe5d5;
}

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

    100% {
        background-position: -100% 0;
    }
}

.menu-empty {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 280px;
    padding: 40px 24px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface);
    text-align: center;
}

.menu-empty-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(180, 90, 60, 0.16);
    border-radius: 18px;
    background: var(--accent-soft);
    font-size: 30px;
    line-height: 1;
}

.menu-empty h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.05;
}

.menu-empty p {
    max-width: 440px;
    margin: 0;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.7;
}

/* ---------- Steps ---------- */

.how-section {
    padding: clamp(48px, 6vw, 84px) 0;
    background: var(--text);
    color: var(--surface-raised);
    scroll-margin-top: 96px;
}

.how-section .eyebrow {
    color: #d6a88f;
}

.how-section .section-head h2 {
    color: var(--surface-raised);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

/* The administrator can publish between one and five steps. Keep the existing
   three-column rhythm and give the other counts sensible layouts instead of
   stretching a single card across the whole section. */
.steps[data-step-count="1"] {
    grid-template-columns: minmax(0, 440px);
}

.steps[data-step-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.steps[data-step-count="4"],
.steps[data-step-count="5"] {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.step {
    padding: 22px 0 0;
    border: 0;
    border-top: 1px solid rgba(255, 250, 241, 0.2);
    border-radius: 0;
    background: transparent;
}

.step-number {
    display: block;
    margin-bottom: 12px;
    color: #d6a88f;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
}

.step h3 {
    margin: 0 0 6px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
}

.step p {
    margin: 0;
    color: #bfb3a4;
    font-size: 13px;
    line-height: 1.65;
}

/* ---------- Contacts ---------- */

.contacts-section {
    padding: clamp(48px, 6vw, 84px) 0;
    border-top: 1px solid var(--line);
    scroll-margin-top: 96px;
}

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

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    min-height: 72px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    color: var(--text);
    text-align: left;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.contact-card:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: var(--shadow-sm);
}

.contact-card:active {
    transform: translateY(1px);
}

.contact-card.has-qr {
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.contact-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.contact-qr {
    flex: 0 0 auto;
    width: 104px;
    height: 104px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
}

.contact-qr svg {
    display: block;
    width: 100%;
    height: 100%;
}

.contacts-list.has-qr {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.contact-name {
    color: var(--accent-strong);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.contact-value {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.contact-copy {
    margin-top: 4px;
    color: var(--text-faint);
    font-size: 11px;
    font-weight: 600;
}

.contacts-empty {
    margin: 0;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.7;
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 42px 0 48px;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-brand > div {
    min-width: 0;
}

.footer-brand .brand-name {
    display: block;
    font-size: 28px;
}

.footer-brand p {
    max-width: 430px;
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.7;
}

.footer-meta {
    color: var(--text-muted);
    font-size: 12.5px;
    text-align: right;
}

.footer-meta p {
    margin: 0 0 8px;
}

.footer-meta a {
    color: var(--accent-strong);
    font-weight: 700;
    text-decoration: none;
}

.footer-meta a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Floating cart ---------- */

.floating-cart {
    position: fixed;
    right: 22px;
    bottom: calc(22px + var(--safe-bottom));
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 10px 18px 10px 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 18px 40px rgba(105, 50, 31, 0.3);
    animation: float-in 0.25s ease;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.floating-cart:hover {
    background: var(--accent-strong);
    box-shadow: 0 20px 44px rgba(105, 50, 31, 0.36);
}

.floating-cart-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    font-size: 18px;
}

.floating-cart-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    line-height: 1.25;
}

.floating-cart-title {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.8;
    text-transform: uppercase;
}

.floating-cart-summary {
    max-width: 100%;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.floating-cart-arrow {
    margin-left: 4px;
    font-size: 18px;
}

body.has-floating-cart {
    padding-bottom: calc(96px + var(--safe-bottom));
}

@keyframes float-in {
    from {
        transform: translateY(12px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ---------- Backdrop / drawer ---------- */

.backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(42, 33, 25, 0.42);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: fade-in 0.2s ease;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: min(470px, 100%);
    border-left: 1px solid var(--line);
    background: var(--surface);
    box-shadow: -24px 0 60px rgba(42, 33, 25, 0.22);
    animation: drawer-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-drawer::before {
    content: none;
}

@keyframes drawer-in {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes sheet-up {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cart-head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 26px 18px;
    border-bottom: 1px solid var(--line);
}

.cart-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
}

.icon-button {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-muted);
    font-size: 24px;
    line-height: 1;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.icon-button:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 26px 18px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.cart-foot {
    padding: 18px 26px calc(24px + var(--safe-bottom));
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.cart-item:last-child {
    border-bottom: 0;
}

.cart-custom-group {
    margin-top: 6px;
}

.cart-group-title {
    margin: 18px 0 2px;
    color: var(--text-faint);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cart-item-custom {
    border-bottom-color: var(--line);
}

.cart-item-custom-description {
    white-space: pre-line;
}

.cart-custom-ingredients {
    display: grid;
    gap: 2px;
    margin: 7px 0 0;
    padding: 0;
    color: var(--text-muted);
    font-size: 11.5px;
    list-style: none;
}

.cart-custom-ingredients li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px 10px;
}

.cart-custom-ingredients li span:last-child {
    color: var(--text-faint);
}

.cart-item-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.15;
}

.cart-item-meta {
    margin: 4px 0 0;
    color: var(--text-faint);
    font-size: 11px;
}

.cart-item-price {
    margin-top: 7px;
    color: var(--text);
    font-size: 13.5px;
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.quantity-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 18px;
    line-height: 1;
    transition: background 0.15s ease;
}

.quantity-button:hover {
    background: var(--accent-soft);
}

.quantity-value {
    min-width: 30px;
    color: var(--text);
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
}

.cart-custom-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-edit,
.cart-remove {
    min-height: 34px;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: var(--text-faint);
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-edit {
    color: var(--accent-strong);
}

.cart-edit:hover {
    color: var(--accent);
}

.cart-remove:hover {
    color: var(--danger);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 300px;
    color: var(--text-muted);
    text-align: center;
}

.cart-empty-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 17px;
    background: var(--olive-soft);
    font-size: 28px;
    line-height: 1;
}

.cart-empty h3 {
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.05;
}

.cart-empty p {
    max-width: 290px;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.7;
}

.cart-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.cart-total-label {
    color: var(--text-muted);
    font-size: 12px;
}

.cart-total-value {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
}

.cart-foot .button {
    width: 100%;
}

.cart-foot-hint {
    margin: 9px 0 0;
    color: var(--text-faint);
    font-size: 10.5px;
    line-height: 1.55;
    text-align: center;
}

/* ---------- Checkout ---------- */

.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 70;
    width: min(620px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
    box-shadow: var(--shadow-strong);
    transform: translate(-50%, -50%);
    animation: modal-in 0.24s ease;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.checkout-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 28px 18px;
    border-bottom: 1px solid var(--line);
}

.checkout-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
}

.checkout-body {
    padding: 22px 28px calc(28px + var(--safe-bottom));
}

.checkout-summary {
    margin-bottom: 22px;
    padding: 15px 17px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg);
}

.checkout-summary-title {
    margin: 0 0 10px;
    color: var(--text-faint);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.checkout-summary-custom-title {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.checkout-summary-list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkout-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12.5px;
}

.checkout-summary-row span:first-child {
    min-width: 0;
}

.checkout-summary-row strong {
    color: var(--text);
    font-weight: 600;
    white-space: nowrap;
}

.checkout-summary-total {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 12px;
    margin-top: 11px;
    padding-top: 11px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
}

.checkout-summary-total span:last-child {
    font-family: var(--font-display);
    font-size: clamp(18px, 5.5vw, 24px);
    font-weight: 600;
    text-align: right;
}

.checkout-form {
    display: grid;
    gap: 15px;
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    background: var(--surface);
    color: var(--text);
    font-size: 16px;
    scroll-margin-block: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
    min-height: 92px;
    padding: 12px 14px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-faint);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 90, 60, 0.12);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(163, 68, 52, 0.1);
}

.field-error {
    margin: 0;
    color: var(--danger);
    font-size: 12px;
}

/* ---------- Buyer question ---------- */

.buyer-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.buyer-field legend {
    padding: 0;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.buyer-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.buyer-option {
    display: flex;
    flex: 1 1 140px;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.buyer-option:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 90, 60, 0.12);
}

.buyer-option input[type="radio"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    accent-color: var(--accent);
}

.buyer-option input[aria-invalid="true"] {
    outline: 2px solid var(--danger);
    outline-offset: 2px;
}

.buyer-warning {
    margin: 0;
    padding: 10px 12px 10px 13px;
    border-left: 3px solid var(--accent);
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

/* ---------- International phone field ---------- */

.phone-input-group {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.phone-input-group input {
    flex: 1 1 auto;
    min-width: 0;
}

.phone-country-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 52px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-country-button:hover {
    border-color: var(--accent);
}

.phone-country-button:focus-visible {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 90, 60, 0.12);
}

.phone-country-flag {
    font-size: 19px;
    line-height: 1;
}

.phone-country-name {
    display: inline;
    max-width: 92px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
}

.phone-country-code {
    font-variant-numeric: tabular-nums;
}

.phone-country-chevron {
    color: var(--text-faint);
    font-size: 10px;
    line-height: 1;
}

.phone-country-menu {
    position: fixed;
    z-index: 120;
    display: flex;
    flex-direction: column;
    max-height: min(420px, calc(100vh - 24px));
    max-height: min(420px, calc(100dvh - 24px));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-strong);
}

.phone-country-menu-head {
    flex: 0 0 auto;
    padding: 10px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.phone-country-search {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: var(--bg-soft);
    color: var(--text);
    font-size: 16px;
}

.phone-country-search:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 90, 60, 0.12);
}

.phone-country-list {
    min-height: 0;
    overflow-y: auto;
    padding: 6px;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.phone-country-group {
    padding: 9px 10px 5px;
    color: var(--text-faint);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.phone-country-option {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 9px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    text-align: left;
}

.phone-country-option:hover,
.phone-country-option:focus-visible {
    outline: none;
    background: var(--accent-soft);
}

.phone-country-option[aria-selected="true"] {
    background: var(--accent-soft);
    font-weight: 700;
}

.phone-country-option-flag {
    font-size: 18px;
    line-height: 1;
}

.phone-country-option-name {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.phone-country-option-code {
    color: var(--text-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.phone-country-empty {
    padding: 26px 16px;
    color: var(--text-faint);
    font-size: 13px;
    text-align: center;
}

.form-error {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(163, 68, 52, 0.25);
    border-radius: 12px;
    background: var(--danger-soft);
    color: var(--danger);
    font-size: 12.5px;
    line-height: 1.55;
}

.checkout-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.checkout-actions .button {
    min-height: 48px;
}

.form-hint {
    margin: 0;
    color: var(--text-faint);
    font-size: 10.5px;
    line-height: 1.55;
}

/* ---------- Toasts ---------- */

.toast-stack {
    position: fixed;
    right: 20px;
    bottom: calc(20px + var(--safe-bottom));
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(360px, calc(100% - 40px));
    pointer-events: none;
}

.toast {
    padding: 12px 16px;
    border-radius: 13px;
    background: var(--text);
    color: #fff;
    font-size: 12.5px;
    line-height: 1.5;
    box-shadow: 0 14px 34px rgba(42, 33, 25, 0.25);
    animation: toast-in 0.2s ease;
    pointer-events: auto;
}

.toast-error {
    background: var(--danger);
}

.toast-success {
    background: var(--success);
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.noscript {
    margin: 20px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    text-align: center;
}

/* ---------- Responsive: tablet ---------- */

@media (min-width: 981px) {
    .menu-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dish-photo {
        aspect-ratio: 4 / 3;
    }
}

@media (min-width: 720px) and (max-width: 980px) {
    .menu-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dish-photo {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-visual {
        max-width: 660px;
    }

    .hero-art {
        aspect-ratio: 5 / 4;
    }

    .contacts-list.has-qr {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .contact-qr {
        display: none;
    }

    .contact-card.has-qr {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-note {
        max-width: 520px;
    }

    .menu-head-aside {
        align-items: flex-start;
    }

    .steps,
    .steps[data-step-count] {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-meta {
        text-align: left;
    }
}

/* ---------- Responsive: compact header for tablet ---------- */

@media (max-width: 1100px) {
    .header-inner {
        gap: 10px;
    }

    .site-header .site-nav {
        display: flex;
        flex: none;
        gap: 8px;
        margin-left: 0;
    }

    .site-header .site-nav .nav-link,
    .site-header .site-nav .lang-switch {
        display: none;
    }

    .site-header .site-nav .nav-cart {
        position: relative;
        width: 46px;
        height: 46px;
        min-height: 46px;
        padding: 0;
        justify-content: center;
        gap: 0;
    }

    .site-header .site-nav .nav-cart-label {
        display: none;
    }

    .site-header .site-nav .nav-cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        min-width: 19px;
        height: 19px;
        padding: 0 4px;
        font-size: 9px;
        box-shadow: 0 2px 6px rgba(42, 33, 25, 0.2);
    }

    .nav-burger {
        display: inline-flex;
    }

    .mobile-nav {
        display: block;
    }
}

/* ---------- Responsive: phone ---------- */

@media (max-width: 760px) {
    :root {
        --header-height: 66px;
        --gutter: 18px;
    }

    .header-inner {
        gap: 10px;
        min-height: var(--header-height);
    }

    .brand {
        flex: 1 1 auto;
        gap: 9px;
    }

    .brand-mark[data-brand-mark] {
        --brand-mark-size: 46px;
        border-radius: 12px;
        padding: 3px;
    }

    .site-header .brand-name {
        max-width: calc(100vw - 210px);
        overflow: hidden;
        font-size: clamp(27px, 7.4vw, 34px);
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
        -webkit-line-clamp: 1;
    }

    .site-header .site-nav {
        display: flex;
        flex: none;
        gap: 8px;
        margin-left: 0;
    }

    .site-header .site-nav .nav-link,
    .site-header .site-nav > .lang-switch,
    .site-header .site-nav .lang-switch {
        display: none;
    }

    .site-header .site-nav .nav-cart {
        width: 46px;
        height: 46px;
        min-height: 46px;
        padding: 0;
        justify-content: center;
        gap: 0;
    }

    .site-header .site-nav .nav-cart-label {
        display: none;
    }

    .site-header .site-nav .nav-cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        min-width: 19px;
        height: 19px;
        padding: 0 4px;
        font-size: 9px;
        box-shadow: 0 2px 6px rgba(42, 33, 25, 0.2);
    }

    .site-header .site-nav .nav-cart {
        position: relative;
    }

    .nav-burger {
        display: inline-flex;
    }

    .mobile-nav {
        display: block;
    }

    .hero {
        padding-top: 24px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 56px);
    }

    .hero-lead {
        margin-top: 18px;
    }

    .menu-choice {
        margin-top: 22px;
    }

    .hero-points {
        gap: 8px 16px;
        margin-top: 20px;
        font-size: 12px;
    }

    .hero-art {
        aspect-ratio: 4 / 3;
        border-radius: 22px;
    }

    /* On phones the hero follows the photo's own proportions so the whole
       image stays visible instead of being cropped to the landscape frame. */
    .hero-art.has-photo {
        aspect-ratio: auto;
    }

    .hero-art.has-photo .hero-photo {
        height: auto;
        object-fit: contain;
    }

    .hero-badge {
        bottom: 13px;
        left: 13px;
        padding: 10px 13px;
    }

    .hero-badge-text {
        font-size: 17px;
    }

    .menu-section,
    .how-section,
    .contacts-section {
        scroll-margin-top: 76px;
    }

    .menu-filters {
        position: sticky;
        top: calc(var(--header-height) + var(--safe-top));
        z-index: 20;
        flex-wrap: nowrap;
        gap: 7px;
        margin-right: calc(var(--gutter) * -1);
        margin-bottom: 16px;
        padding: 10px var(--gutter) 13px 0;
        overflow-x: auto;
        background: linear-gradient(180deg, var(--bg-soft) 72%, rgba(242, 233, 219, 0));
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .menu-filters::-webkit-scrollbar {
        display: none;
    }

    .menu-filter-button {
        min-height: 44px;
        padding: 0 16px;
    }

    .menu-search {
        width: 100%;
        margin-bottom: 16px;
    }

    /* 16px prevents iOS from zooming the page when the field is focused. */
    .menu-search-input {
        min-height: 48px;
        font-size: 16px;
    }

    .menu-search-clear {
        right: 4px;
        width: 40px;
        height: 40px;
    }

    .menu-list {
        gap: 16px;
    }

    .dish-head {
        padding: 16px 15px 0;
    }

    .dish-content {
        padding: 0 15px 14px;
    }

    .dish-photo {
        aspect-ratio: 5 / 4;
    }

    .dish-title {
        font-size: 24px;
    }

    .dish-footer {
        align-items: center;
        margin-top: 14px;
    }

    .dish-price {
        font-size: 26px;
    }

    .dish-details-button {
        min-height: 42px;
    }

    .dish-add {
        min-height: 44px;
        padding-right: 13px;
    }

    .dish-add-icon {
        width: 23px;
        height: 23px;
        font-size: 16px;
    }

    .dish-quantity-button,
    .dish-quantity-value {
        width: 42px;
        height: 42px;
    }

    .floating-cart {
        right: 14px;
        bottom: calc(14px + var(--safe-bottom));
        left: 14px;
        justify-content: space-between;
        padding: 10px 16px 10px 10px;
    }

    .floating-cart-copy {
        flex: 1;
    }

    .floating-cart-arrow {
        margin-left: auto;
    }

    body.has-floating-cart {
        padding-bottom: calc(100px + var(--safe-bottom));
    }

    .step {
        padding-top: 18px;
    }

    .contacts-list {
        grid-template-columns: 1fr;
    }

    .contacts-list.has-qr {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding-bottom: calc(38px + var(--safe-bottom));
    }

    .cart-drawer {
        top: 8vh;
        top: 8dvh;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        border-top: 1px solid var(--line);
        border-left: 0;
        border-radius: 24px 24px 0 0;
        animation: sheet-up 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .cart-drawer::before {
        position: absolute;
        top: 9px;
        left: 50%;
        width: 38px;
        height: 4px;
        border-radius: 99px;
        background: var(--line-strong);
        content: "";
        transform: translateX(-50%);
    }

    .cart-head {
        padding-top: 28px;
    }

    .cart-head,
    .cart-body,
    .cart-foot {
        padding-right: 20px;
        padding-left: 20px;
    }

    .checkout-modal {
        top: auto;
        right: 0;
        bottom: var(--checkout-keyboard-inset, 0px);
        left: 0;
        width: 100%;
        max-height: 94vh;
        max-height: calc(var(--checkout-viewport-height, 94dvh) - 16px);
        border-radius: 24px 24px 0 0;
        transform: none;
        animation: sheet-up 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .checkout-head,
    .checkout-body {
        padding-right: 20px;
        padding-left: 20px;
    }

    .checkout-actions {
        flex-direction: column-reverse;
    }

    .checkout-actions .button {
        width: 100%;
    }

    .phone-country-name {
        display: none;
    }

    .phone-country-menu {
        max-height: 70vh;
        max-height: 70dvh;
        border-radius: 20px;
    }

    .toast-stack {
        right: 14px;
        bottom: calc(14px + var(--safe-bottom));
        left: 14px;
        width: auto;
    }

    .custom-dish-panel {
        padding: 16px;
        border-radius: 18px;
    }

    .custom-dish-grid {
        grid-template-columns: 1fr;
    }

    .custom-ingredient-row {
        grid-template-columns: minmax(0, 1fr) minmax(110px, 150px) 40px;
    }
}

@media (max-width: 560px) {
    .menu-search-row {
        flex-wrap: wrap;
    }

    .menu-custom-add {
        width: 100%;
    }

    .custom-ingredient-suggestions {
        max-height: min(228px, 42dvh);
    }

    .custom-ingredient-suggestion {
        min-height: 50px;
        padding: 11px 12px;
        font-size: 15px;
    }

    .custom-dish-actions {
        flex-direction: column-reverse;
    }

    .custom-dish-actions .button {
        width: 100%;
    }
}

/* ---------- Responsive: small phone ---------- */

@media (max-width: 480px) {
    :root {
        --gutter: 14px;
    }

    .custom-ingredient-row {
        grid-template-columns: minmax(0, 1fr) 36px;
        gap: 8px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--bg);
    }

    .custom-ingredient-name-field,
    .custom-ingredient-quantity-field {
        grid-column: 1;
    }

    .custom-ingredient-label {
        display: block;
    }

    .custom-ingredient-remove {
        grid-row: 1 / 3;
        grid-column: 2;
        align-self: center;
        width: 36px;
        height: 36px;
    }

    .brand-name {
        font-size: 26px;
    }

    .site-header .brand-name {
        max-width: calc(100vw - 188px);
        font-size: clamp(25px, 7.2vw, 31px);
    }

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

    .menu-choice-option {
        min-height: 58px;
    }

    .hero h1 {
        font-size: clamp(40px, 12.4vw, 54px);
    }

    .hero-points {
        gap: 7px 14px;
        font-size: 11.5px;
    }

    .section-head h2 {
        font-size: 35px;
    }

    .dish-head {
        gap: 11px;
        padding: 15px 14px 0;
    }

    .dish-content {
        padding: 0 14px 13px;
    }

    .dish-emoji {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .dish-title {
        font-size: 23px;
    }

    .dish-footer {
        flex-wrap: wrap;
    }

    .dish-actions {
        width: 100%;
        justify-content: space-between;
    }

    .dish-details-button {
        flex: 1;
        text-align: left;
    }

    .dish-cart-control {
        min-width: 44px;
        min-height: 44px;
    }

    .dish-quantity-control {
        gap: 5px;
    }

    .dish-quantity-button,
    .dish-quantity-value {
        width: 40px;
        height: 40px;
    }

    .dish-quantity-button {
        font-size: 19px;
    }

    .dish-quantity-value {
        font-size: 13px;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item-controls {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cart-custom-actions {
        gap: 16px;
    }

    .cart-edit,
    .cart-remove {
        min-height: 44px;
        padding: 10px 0;
        font-size: 12px;
    }

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

    .cart-total-value {
        font-size: 27px;
    }

    .contact-card {
        padding: 16px 17px;
    }

    .step {
        padding: 18px 0 0;
    }
}

@media (max-width: 360px) {
    .header-inner {
        gap: 6px;
    }

    .brand {
        gap: 7px;
    }

    .brand-mark[data-brand-mark] {
        --brand-mark-size: 40px;
        border-radius: 10px;
    }

    .site-header .brand-name {
        max-width: calc(100vw - 166px);
        font-size: 21px;
    }

    .site-header .nav-cart,
    .nav-burger {
        width: 42px;
        height: 42px;
        min-height: 42px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .dish-title {
        font-size: 22px;
    }
}

/* ---------- Motion / print ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
