:root {
    --bg: #f6efe5;
    --bg-deep: #eadfcd;
    --surface: rgba(255, 250, 244, 0.86);
    --surface-strong: #fffaf4;
    --surface-soft: rgba(255, 255, 255, 0.68);
    --ink: #261916;
    --muted: #68584c;
    --muted-soft: #8b796b;
    --line: rgba(92, 64, 48, 0.12);
    --accent: #9f382a;
    --accent-dark: #6e2018;
    --accent-gold: #d8a166;
    --accent-gold-soft: rgba(216, 161, 102, 0.18);
    --accent-green: #315a54;
    --white: #ffffff;
    --shadow-lg: 0 24px 70px rgba(57, 29, 18, 0.16);
    --shadow-md: 0 16px 40px rgba(57, 29, 18, 0.12);
    --shadow-sm: 0 10px 24px rgba(57, 29, 18, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(216, 161, 102, 0.26), transparent 28%),
        radial-gradient(circle at 85% 12%, rgba(159, 56, 42, 0.12), transparent 24%),
        linear-gradient(180deg, #fbf6ef 0%, #f6efe5 50%, #efe3d3 100%);
    min-height: 100vh;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.18;
    pointer-events: none;
    z-index: -2;
}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
}

button,
input {
    font: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

.page-shell {
    position: relative;
}

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

.hero {
    position: relative;
    overflow: hidden;
    padding: 28px 0 52px;
    background:
        radial-gradient(circle at 20% 20%, rgba(216, 161, 102, 0.16), transparent 28%),
        linear-gradient(135deg, #5f1e1a 0%, #8f2f23 40%, #291816 100%);
    color: var(--white);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 230, 196, 0.8), transparent);
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.45;
    pointer-events: none;
}

.hero-orb-a {
    width: 320px;
    height: 320px;
    top: -120px;
    left: -60px;
    background: radial-gradient(circle, rgba(255, 207, 135, 0.75), transparent 70%);
}

.hero-orb-b {
    width: 260px;
    height: 260px;
    right: -40px;
    top: 18%;
    background: radial-gradient(circle, rgba(71, 127, 117, 0.48), transparent 70%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0) 35%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 18px);
    mix-blend-mode: screen;
    opacity: 0.5;
}

.hero-topbar,
.hero-body {
    position: relative;
    z-index: 1;
}

.hero-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 42px;
}

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

.brand-seal {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 244, 226, 0.92), rgba(216, 161, 102, 0.92));
    color: var(--accent-dark);
    font-size: 1.9rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 10px 22px rgba(0, 0, 0, 0.18);
}

.brand-overline,
.brand-inline {
    letter-spacing: 0.08em;
}

.brand-overline {
    text-transform: uppercase;
    font-size: 0.74rem;
    color: rgba(255, 232, 208, 0.74);
}

.brand-inline {
    font-family: "Baskerville", "Times New Roman", "Songti SC", serif;
    font-size: 1.25rem;
    color: #fff5e4;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 6px;
    border: 1px solid rgba(255, 233, 210, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.lang-btn {
    min-width: 72px;
    padding: 10px 18px;
    border-radius: 999px;
    color: rgba(255, 241, 227, 0.78);
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
    color: var(--white);
    outline: none;
}

.lang-btn.active {
    color: var(--accent-dark);
    background: linear-gradient(145deg, #f7e6d3, #d8a166);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.hero-body {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
    gap: 32px;
    align-items: end;
}

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

.hero-kicker,
.section-kicker,
.panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: rgba(255, 226, 196, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-kicker::before,
.section-kicker::before,
.panel-kicker::before {
    content: "";
    width: 36px;
    height: 1px;
    background: currentColor;
    opacity: 0.65;
}

.site-title {
    font-family: "Iowan Old Style", "Georgia", "Songti SC", serif;
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.site-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255, 238, 220, 0.9);
    margin-bottom: 18px;
    max-width: 620px;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(255, 241, 227, 0.76);
    max-width: 700px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 234, 210, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 239, 220, 0.84);
    font-size: 0.95rem;
}

.hero-panel {
    position: relative;
    padding: 28px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 249, 240, 0.14), rgba(255, 255, 255, 0.06)),
        rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 231, 206, 0.16);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.panel-kicker {
    color: rgba(255, 233, 210, 0.7);
}

.panel-title {
    font-family: "Iowan Old Style", "Georgia", "Songti SC", serif;
    font-size: 1.9rem;
    line-height: 1.15;
    margin-bottom: 26px;
}

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

.stat-card {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 238, 223, 0.16);
}

.stat-value {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff5e6;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    color: rgba(255, 240, 225, 0.72);
    font-size: 0.9rem;
}

.controls {
    position: sticky;
    top: 12px;
    z-index: 20;
    margin-top: -18px;
    padding-bottom: 10px;
}

.controls-shell,
.filters-bar {
    border-radius: var(--radius-xl);
    background: rgba(255, 250, 244, 0.84);
    border: 1px solid rgba(102, 72, 54, 0.1);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
}

.controls-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 28px;
    padding: 26px;
}

.controls-copy .section-kicker {
    color: var(--accent);
    margin-bottom: 10px;
}

.controls-copy .section-kicker::before,
.gallery-header .section-kicker::before {
    background: currentColor;
}

.section-heading {
    font-family: "Iowan Old Style", "Georgia", "Songti SC", serif;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.1;
    margin-bottom: 12px;
}

.section-description,
.gallery-note,
.search-hint,
.results-summary,
.footer-copy,
.footer-note {
    color: var(--muted);
}

.search-block {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 239, 0.88));
    border: 1px solid rgba(98, 68, 49, 0.1);
}

.search-label {
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--ink);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(102, 72, 54, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.search-box:focus-within {
    border-color: rgba(159, 56, 42, 0.36);
    box-shadow: 0 0 0 4px rgba(159, 56, 42, 0.08);
}

.search-icon {
    color: var(--muted-soft);
    font-size: 1.1rem;
    padding-left: 6px;
}

#searchInput {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--ink);
}

#searchInput::placeholder {
    color: var(--muted-soft);
}

#searchBtn,
.ghost-btn {
    padding: 10px 14px;
    border-radius: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

#searchBtn {
    color: var(--white);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 10px 20px rgba(159, 56, 42, 0.24);
}

#searchBtn:hover,
#searchBtn:focus-visible,
.ghost-btn:hover,
.ghost-btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.ghost-btn {
    color: var(--accent);
    background: rgba(159, 56, 42, 0.08);
}

.ghost-btn.is-hidden {
    display: none;
}

.search-hint {
    margin-top: 10px;
    font-size: 0.94rem;
}

.filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 14px;
    padding: 18px 22px;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(159, 56, 42, 0.05);
    border: 1px solid transparent;
    color: var(--muted);
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.22s ease, color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.nav-item:hover,
.nav-item:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(159, 56, 42, 0.15);
    color: var(--accent-dark);
    outline: none;
}

.nav-item.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-color: rgba(159, 56, 42, 0.2);
    box-shadow: 0 12px 22px rgba(159, 56, 42, 0.22);
}

.nav-count {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.82rem;
}

.results-summary {
    font-size: 0.96rem;
    text-align: right;
    min-width: 220px;
}

.main {
    padding: 36px 0 70px;
}

.gallery-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.gallery-header .section-kicker {
    color: var(--accent-green);
    margin-bottom: 10px;
}

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

.dish-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 241, 0.9));
    border: 1px solid rgba(92, 64, 48, 0.08);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dish-card:hover,
.dish-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(216, 161, 102, 0.42);
    outline: none;
}

.dish-figure {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.dish-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(26, 18, 15, 0.04) 0%, rgba(26, 18, 15, 0.12) 30%, rgba(26, 18, 15, 0.82) 100%);
}

.dish-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.45s ease;
}

.dish-card:hover .dish-image,
.dish-card:focus-visible .dish-image {
    transform: scale(1.08);
}

.dish-badges,
.dish-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    z-index: 1;
}

.dish-badges {
    top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.badge--warm {
    background: rgba(216, 161, 102, 0.26);
}

.dish-overlay {
    bottom: 18px;
}

.dish-name {
    font-family: "Iowan Old Style", "Georgia", "Songti SC", serif;
    font-size: 1.6rem;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 6px;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.dish-name-secondary,
.dish-overlay-kicker {
    color: rgba(255, 243, 230, 0.82);
}

.dish-name-secondary {
    font-size: 0.92rem;
}

.dish-overlay-kicker {
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
}

.dish-content {
    padding: 18px 20px 20px;
}

.dish-description {
    color: var(--muted);
    min-height: 3.5em;
    margin-bottom: 16px;
}

.dish-description-secondary {
    margin-top: 8px;
    color: var(--muted-soft);
    font-size: 0.92rem;
}

.dish-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(49, 90, 84, 0.08);
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.9rem;
}

.meta-pill--accent {
    background: rgba(159, 56, 42, 0.08);
    color: var(--accent);
}

.empty-state {
    grid-column: 1 / -1;
    padding: 68px 24px;
    text-align: center;
    border-radius: var(--radius-xl);
    background: rgba(255, 250, 244, 0.86);
    border: 1px dashed rgba(159, 56, 42, 0.18);
    box-shadow: var(--shadow-sm);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.empty-title {
    font-family: "Iowan Old Style", "Georgia", "Songti SC", serif;
    font-size: 2rem;
    margin-bottom: 8px;
}

.footer {
    padding: 24px 0 46px;
}

.footer-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    border-radius: var(--radius-xl);
    background: rgba(255, 250, 244, 0.72);
    border: 1px solid rgba(92, 64, 48, 0.08);
    box-shadow: var(--shadow-sm);
}

.footer-brand {
    font-family: "Iowan Old Style", "Georgia", "Songti SC", serif;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.footer-note {
    max-width: 360px;
    text-align: right;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 18, 15, 0.7);
    backdrop-filter: blur(12px);
}

.modal-dialog {
    position: relative;
    width: min(1080px, 100%);
    max-height: min(90vh, 920px);
    overflow: auto;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(252, 245, 237, 0.98));
    box-shadow: 0 26px 80px rgba(21, 12, 9, 0.32);
    border: 1px solid rgba(92, 64, 48, 0.12);
    transform: translateY(24px) scale(0.98);
    transition: transform 0.28s ease;
}

.modal.is-visible .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(38, 25, 22, 0.8);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.modal-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(216, 161, 102, 0.16), transparent 36%),
        linear-gradient(135deg, rgba(159, 56, 42, 0.08), rgba(49, 90, 84, 0.07));
}

.modal-figure {
    position: relative;
    min-height: 320px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.modal-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.4));
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.modal-title {
    font-family: "Iowan Old Style", "Georgia", "Songti SC", serif;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    line-height: 1;
    margin-bottom: 8px;
}

.modal-title-secondary {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 18px;
}

.modal-description {
    color: var(--ink);
    font-size: 1.02rem;
    margin-bottom: 8px;
}

.modal-description-secondary {
    color: var(--muted);
    margin-bottom: 18px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(159, 56, 42, 0.08);
    color: var(--accent-dark);
    font-weight: 700;
}

.modal-body {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 24px;
    padding: 0 28px 28px;
}

.modal-column {
    display: grid;
    gap: 18px;
    align-content: start;
}

.modal-section {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(92, 64, 48, 0.08);
    box-shadow: var(--shadow-sm);
}

.modal-section--accent {
    background: linear-gradient(180deg, rgba(255, 246, 233, 0.92), rgba(255, 250, 244, 0.88));
}

.modal-section-title {
    font-family: "Iowan Old Style", "Georgia", "Songti SC", serif;
    font-size: 1.45rem;
    margin-bottom: 14px;
}

.ingredients-list,
.steps-list {
    display: grid;
    gap: 12px;
    list-style: none;
}

.ingredients-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.detail-card {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(246, 239, 229, 0.86);
    border: 1px solid rgba(92, 64, 48, 0.08);
}

.detail-card--step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
}

.step-index {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(159, 56, 42, 0.18);
}

.detail-primary {
    color: var(--ink);
}

.detail-secondary {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.92rem;
}

@media (max-width: 1180px) {
    .hero-body,
    .controls-shell,
    .modal-hero,
    .modal-body {
        grid-template-columns: 1fr;
    }

    .results-summary {
        text-align: left;
    }

    .footer-inner {
        align-items: start;
    }
}

@media (max-width: 900px) {
    .controls {
        position: static;
        margin-top: 0;
    }

    .filters-bar,
    .footer-inner,
    .gallery-header {
        flex-direction: column;
        align-items: start;
    }

    .filters-bar {
        padding: 16px;
    }

    .results-summary,
    .footer-note {
        text-align: left;
        max-width: none;
    }

    .hero-topbar {
        flex-direction: column;
        align-items: start;
    }

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

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .hero {
        padding-top: 20px;
    }

    .hero-panel,
    .controls-shell,
    .search-block,
    .footer-inner,
    .modal-hero,
    .modal-body,
    .modal-section {
        padding: 20px;
    }

    .search-box {
        flex-wrap: wrap;
    }

    #searchInput {
        width: 100%;
        order: 1;
    }

    .search-icon {
        order: 0;
    }

    #searchBtn,
    .ghost-btn {
        order: 2;
    }

    .dish-name {
        font-size: 1.38rem;
    }

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

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

    .modal {
        padding: 14px;
    }

    .modal-dialog {
        border-radius: 24px;
    }

    .modal-close {
        top: 14px;
        right: 14px;
    }
}
