:root {
    --primary: #ff5b16;
    --primary-dark: #e84a05;
    --primary-soft: #fff1e9;
    --text: #171717;
    --text-soft: #666666;
    --text-muted: #949494;
    --surface: #ffffff;
    --background: #ffffff;
    --background-soft: #f7f7f7;
    --border: #e8e8e8;
    --border-strong: #d9d9d9;
    --green: #166f43;
    --green-soft: #edf8f2;
    --blue-soft: #edf6ff;
    --yellow-soft: #fff7dd;
    --shadow-small: 0 5px 18px rgba(20, 20, 20, 0.06);
    --shadow-medium: 0 16px 42px rgba(20, 20, 20, 0.11);
    --radius-small: 12px;
    --radius-medium: 18px;
    --radius-large: 26px;
    --header-height: 72px;
    --mobile-nav-height: 70px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: Inter, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.drawer-open {
    overflow: hidden;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.public-app {
    min-height: 100vh;
}

.page-container {
    width: min(100% - 48px, 1440px);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    height: var(--header-height);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
}

.brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border-radius: 11px;
    color: white;
    background: var(--primary);
    font-size: 19px;
    font-weight: 800;
    box-shadow: 0 7px 18px rgba(255, 91, 22, 0.25);
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.desktop-navigation {
    display: flex;
    margin-left: 65px;
    align-items: center;
    gap: 32px;
}

.desktop-navigation a {
    position: relative;
    color: #353535;
    font-size: 14px;
    font-weight: 600;
}

.desktop-navigation a:hover,
.desktop-navigation a.is-active {
    color: var(--primary);
}

.desktop-navigation a.is-active::after {
    position: absolute;
    right: 0;
    bottom: -27px;
    left: 0;
    height: 2px;
    border-radius: 5px 5px 0 0;
    background: var(--primary);
    content: "";
}

.desktop-actions {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 9px;
}

.location-control {
    display: inline-flex;
    min-height: 44px;
    padding: 0 12px;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    color: var(--text);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
}

.location-control:hover {
    background: var(--background-soft);
}

.location-control svg:first-child {
    color: var(--primary);
}

.location-control svg:last-child {
    width: 15px;
    height: 15px;
}

.icon-button,
.mobile-cart-button {
    position: relative;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

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

.cart-badge {
    position: absolute;
    top: 0;
    right: -1px;
    display: grid;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    place-items: center;
    border: 2px solid white;
    border-radius: 20px;
    color: white;
    background: var(--primary);
    font-size: 9px;
    font-weight: 800;
}

.button {
    display: inline-flex;
    min-height: 44px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: 160ms ease;
}

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

.button-primary {
    color: white;
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(255, 91, 22, 0.18);
}

.button-primary:hover {
    background: var(--primary-dark);
}

.button-secondary {
    border-color: var(--border-strong);
    background: white;
}

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

.button-green {
    color: white;
    background: var(--green);
}

.button-green:hover {
    background: #0f5e37;
}

.mobile-menu-button,
.mobile-cart-button {
    display: none;
}

.mobile-drawer {
    display: none;
}

.hero-section {
    padding-top: 18px;
}

.hero-card {
    position: relative;
    min-height: 450px;
    overflow: hidden;
    border-radius: 0 0 var(--radius-large) var(--radius-large);
    background: #eeeeee;
}

.hero-background {
    position: absolute;
    inset: 0 0 0 40%;
    background:
        url("https://images.unsplash.com/photo-1568901346375-23c9450c58cd?auto=format&fit=crop&w=1800&q=90")
        center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 34%,
            rgba(255, 255, 255, 0.94) 43%,
            rgba(255, 255, 255, 0.25) 68%,
            rgba(255, 255, 255, 0) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(690px, 57%);
    padding: 52px 0 52px 55px;
}

.hero-label {
    display: inline-flex;
    min-height: 34px;
    padding: 0 13px;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 12px;
    font-weight: 800;
}

.hero-label svg {
    width: 16px;
    height: 16px;
}

.hero-content h1 {
    max-width: 650px;
    margin: 18px 0 14px;
    font-size: clamp(42px, 4.6vw, 67px);
    line-height: 0.98;
    letter-spacing: -3.2px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content > p {
    max-width: 525px;
    margin: 0;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.65;
}

.main-search {
    display: grid;
    width: min(780px, calc(100vw - 110px));
    min-height: 82px;
    margin-top: 30px;
    padding: 10px;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) auto;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow-medium);
}

.search-control {
    display: flex;
    min-width: 0;
    padding: 0 17px;
    align-items: center;
    gap: 12px;
}

.search-control > svg {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
}

.search-control > span {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 6px;
}

.search-control strong {
    font-size: 13px;
}

.search-control input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font-size: 12px;
}

.search-control input::placeholder {
    color: var(--text-muted);
}

.search-separator {
    width: 1px;
    height: 42px;
    background: var(--border);
}

.search-submit {
    display: inline-flex;
    min-width: 130px;
    min-height: 58px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 13px;
    color: white;
    background: var(--primary);
    font-weight: 800;
}

.search-submit:hover {
    background: var(--primary-dark);
}

.search-submit svg {
    display: none;
}

.categories-section,
.content-section {
    padding-top: 42px;
}

.categories-section {
    padding-top: 25px;
}

.section-heading {
    display: flex;
    margin-bottom: 18px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.section-label {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    font-size: 27px;
    line-height: 1.15;
    letter-spacing: -0.9px;
}

.section-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.section-heading > a svg {
    width: 16px;
    height: 16px;
}

.categories-slider {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 12px;
}

.category-card {
    display: flex;
    min-width: 0;
    padding: 12px 8px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: white;
    box-shadow: var(--shadow-small);
    transition: 160ms ease;
}

.category-card:hover {
    border-color: #ffc9ad;
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.category-image {
    display: grid;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    overflow: hidden;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-soft);
}

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

.category-more {
    color: var(--primary);
}

.category-more svg {
    width: 17px;
    height: 17px;
}

.category-name {
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.restaurant-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: white;
    box-shadow: var(--shadow-small);
    transition: 180ms ease;
}

.restaurant-card:hover {
    border-color: #dcdcdc;
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.restaurant-image {
    position: relative;
    display: block;
    height: 190px;
    overflow: hidden;
    background: var(--background-soft);
}

.restaurant-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.restaurant-card:hover .restaurant-image > img {
    transform: scale(1.035);
}

.restaurant-open,
.restaurant-offer {
    position: absolute;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    min-height: 27px;
    padding: 0 9px;
    align-items: center;
    border-radius: 999px;
    color: white;
    font-size: 10px;
    font-weight: 800;
}

.restaurant-open {
    top: 12px;
    background: rgba(22, 111, 67, 0.95);
}

.restaurant-offer {
    bottom: 11px;
    background: rgba(255, 91, 22, 0.96);
}

.favourite-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: grid;
    width: 37px;
    height: 37px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--text);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-small);
}

.favourite-button svg {
    width: 18px;
    height: 18px;
}

.favourite-button.is-active {
    color: white;
    background: var(--primary);
}

.favourite-button.is-active svg {
    fill: currentColor;
}

.restaurant-content {
    padding: 16px;
}

.restaurant-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.restaurant-title-row h3 {
    margin: 0 0 5px;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.restaurant-title-row p {
    margin: 0;
    color: var(--text-soft);
    font-size: 11px;
}

.rating {
    display: inline-flex;
    min-height: 27px;
    padding: 0 7px;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    background: var(--primary-soft);
    font-size: 10px;
    font-weight: 800;
}

.rating svg {
    width: 13px;
    height: 13px;
    color: var(--primary);
    fill: var(--primary);
}

.restaurant-meta {
    display: flex;
    margin-top: 15px;
    flex-wrap: wrap;
    gap: 10px 15px;
    color: #565656;
    font-size: 10px;
    font-weight: 600;
}

.restaurant-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.restaurant-meta svg {
    width: 14px;
    height: 14px;
}

.restaurant-footer {
    display: flex;
    margin-top: 14px;
    padding-top: 13px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    font-size: 10px;
}

.restaurant-footer span {
    color: var(--text-muted);
}

.restaurant-footer a {
    color: var(--primary);
    font-weight: 800;
}

.offers-section {
    padding-top: 35px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.offer-card {
    position: relative;
    display: flex;
    min-height: 135px;
    padding: 20px;
    align-items: flex-start;
    gap: 14px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--radius-medium);
    transition: 180ms ease;
}

.offer-card:hover {
    transform: translateY(-3px);
}

.offer-card--blue {
    border-color: #d5e9ff;
    background: linear-gradient(135deg, var(--blue-soft), white);
}

.offer-card--orange {
    border-color: #ffd9c4;
    background: linear-gradient(135deg, var(--primary-soft), white);
}

.offer-card--yellow {
    border-color: #ffe4a2;
    background: linear-gradient(135deg, var(--yellow-soft), white);
}

.offer-card--green {
    border-color: #d4eadc;
    background: linear-gradient(135deg, var(--green-soft), white);
}

.offer-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 13px;
    color: var(--primary);
    background: white;
    box-shadow: var(--shadow-small);
}

.offer-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.offer-content strong {
    font-size: 15px;
}

.offer-content small {
    margin-top: 5px;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.45;
}

.offer-content > span {
    margin-top: 16px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
}

.offer-arrow {
    position: absolute;
    top: 17px;
    right: 17px;
    width: 17px;
    height: 17px;
    color: var(--text-soft);
}

.compact-restaurant-card .restaurant-image {
    height: 175px;
}

.business-section {
    padding: 42px 0 58px;
}

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

.business-card {
    position: relative;
    display: flex;
    min-height: 260px;
    padding: 35px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
}

.restaurant-business-card {
    background: linear-gradient(120deg, #fff4eb 0%, white 72%);
}

.driver-business-card {
    background: linear-gradient(120deg, #edf8f2 0%, white 72%);
}

.business-content {
    position: relative;
    z-index: 2;
    width: 61%;
}

.business-content h2 {
    margin: 0 0 10px;
    font-size: 27px;
    line-height: 1.15;
    letter-spacing: -0.9px;
}

.business-content p {
    margin: 0 0 22px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.65;
}

.business-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 43%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.business-image::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, white 0%, rgba(255, 255, 255, 0) 68%);
    content: "";
}

.restaurant-business-image {
    background-image:
        url("https://images.unsplash.com/photo-1577219491135-ce391730fb2c?auto=format&fit=crop&w=900&q=86");
}

.driver-business-image {
    background-image:
        url("https://images.unsplash.com/photo-1600320254374-ce2d293c324e?auto=format&fit=crop&w=900&q=86");
}

.site-footer {
    padding: 50px 0 25px;
    border-top: 1px solid var(--border);
    background: #fafafa;
}

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

.footer-brand p {
    max-width: 320px;
    margin: 18px 0 0;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.7;
}

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

.footer-column h3 {
    margin: 0 0 4px;
    font-size: 13px;
}

.footer-column a {
    color: var(--text-soft);
    font-size: 12px;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    margin-top: 42px;
    padding-top: 20px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 10px;
}

.mobile-bottom-navigation {
    display: none;
}

@media (max-width: 1180px) {
    .desktop-navigation {
        margin-left: 35px;
        gap: 21px;
    }

    .location-control span {
        display: none;
    }

    .categories-slider {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .category-card:nth-child(n + 6) {
        display: none;
    }

    .category-card:last-child {
        display: flex;
    }

    .restaurant-grid,
    .offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-content {
        width: 64%;
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 61px;
        --mobile-nav-height: 68px;
    }

    body {
        padding-bottom:
            calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
        background: white;
    }

    .page-container {
        width: 100%;
    }

    .site-header {
        background: rgba(255, 255, 255, 0.98);
    }

    .header-inner {
        position: relative;
        padding: 0 16px;
        justify-content: space-between;
    }

    .desktop-navigation,
    .desktop-actions {
        display: none;
    }

    .mobile-menu-button,
    .mobile-cart-button {
        display: inline-flex;
    }

    .mobile-menu-button {
        width: 40px;
        height: 40px;
        padding: 0;
        align-items: center;
        justify-content: flex-start;
        border: 0;
        background: transparent;
    }

    .mobile-menu-button svg {
        width: 24px;
        height: 24px;
    }

    .header-inner > .brand {
        position: absolute;
        left: 50%;
        gap: 7px;
        transform: translateX(-50%);
    }

    .header-inner > .brand .brand-mark {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 15px;
    }

    .header-inner > .brand .brand-name {
        font-size: 19px;
    }

    .mobile-cart-button {
        align-items: center;
        justify-content: flex-end;
    }

    .mobile-cart-button svg {
        width: 23px;
        height: 23px;
    }

    .mobile-drawer {
        position: fixed;
        inset: 0;
        z-index: 120;
        display: block;
        pointer-events: none;
        visibility: hidden;
    }

    .mobile-drawer.is-open {
        pointer-events: auto;
        visibility: visible;
    }

    .drawer-overlay {
        position: absolute;
        inset: 0;
        padding: 0;
        border: 0;
        opacity: 0;
        background: rgba(0, 0, 0, 0.46);
        backdrop-filter: blur(2px);
        transition: opacity 220ms ease;
    }

    .mobile-drawer.is-open .drawer-overlay {
        opacity: 1;
    }

    .drawer-panel {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        display: flex;
        width: min(88vw, 360px);
        padding:
            calc(18px + env(safe-area-inset-top))
            18px
            calc(22px + env(safe-area-inset-bottom));
        flex-direction: column;
        background: white;
        box-shadow: 25px 0 70px rgba(0, 0, 0, 0.2);
        transform: translateX(-105%);
        transition: transform 240ms ease;
    }

    .mobile-drawer.is-open .drawer-panel {
        transform: translateX(0);
    }

    .drawer-header {
        display: flex;
        padding-bottom: 18px;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--border);
    }

    .drawer-close {
        display: grid;
        width: 40px;
        height: 40px;
        padding: 0;
        place-items: center;
        border: 0;
        border-radius: 12px;
        background: var(--background-soft);
    }

    .drawer-navigation {
        display: flex;
        margin-top: 18px;
        flex-direction: column;
        gap: 5px;
    }

    .drawer-navigation a {
        display: flex;
        min-height: 48px;
        padding: 0 13px;
        align-items: center;
        gap: 13px;
        border-radius: 13px;
        color: #3d3d3d;
        font-size: 13px;
        font-weight: 700;
    }

    .drawer-navigation a.is-active {
        color: var(--primary);
        background: var(--primary-soft);
    }

    .drawer-navigation svg {
        width: 19px;
        height: 19px;
    }

    .drawer-commercial-links {
        display: grid;
        margin-top: 20px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .drawer-commercial-links a {
        display: flex;
        min-width: 0;
        padding: 14px 10px;
        flex-direction: column;
        gap: 10px;
        border: 1px solid var(--border);
        border-radius: 15px;
        background: var(--background-soft);
    }

    .drawer-commercial-links svg {
        color: var(--primary);
    }

    .drawer-commercial-links span {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 3px;
    }

    .drawer-commercial-links strong {
        overflow: hidden;
        font-size: 11px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .drawer-commercial-links small {
        color: var(--text-soft);
        font-size: 9px;
    }

    .drawer-actions {
        display: grid;
        margin-top: auto;
        gap: 9px;
    }

    main {
        overflow: hidden;
    }

    .hero-section {
        padding: 0;
    }

    .hero-card {
        min-height: auto;
        padding: 0 16px 20px;
        overflow: visible;
        border-radius: 0;
        background: white;
    }

    .hero-background {
        inset: 0;
        height: 190px;
        background-position: center;
    }

    .hero-overlay {
        height: 190px;
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.08) 0%,
                rgba(0, 0, 0, 0.55) 100%
            );
    }

    .hero-content {
        width: 100%;
        padding: 28px 0 0;
    }

    .hero-label {
        position: relative;
        z-index: 2;
        min-height: 27px;
        padding: 0 10px;
        color: white;
        background: rgba(255, 91, 22, 0.92);
        font-size: 9px;
    }

    .hero-label svg {
        width: 13px;
        height: 13px;
    }

    .hero-content h1 {
        position: relative;
        z-index: 2;
        width: 92%;
        margin: 12px 0 8px;
        color: white;
        font-size: clamp(31px, 10vw, 42px);
        line-height: 1.01;
        letter-spacing: -1.8px;
    }

    .hero-content h1 span {
        display: block;
        color: #ffc09d;
    }

    .hero-content > p {
        position: relative;
        z-index: 2;
        width: 90%;
        min-height: 75px;
        color: rgba(255, 255, 255, 0.93);
        font-size: 11px;
        line-height: 1.55;
    }

    .main-search {
        position: relative;
        z-index: 3;
        display: grid;
        width: 100%;
        min-height: 0;
        margin-top: 18px;
        padding: 0;
        grid-template-columns: 1fr;
        overflow: hidden;
        border-radius: 16px;
        background: white;
        box-shadow: 0 13px 34px rgba(15, 23, 42, 0.17);
    }

    .search-control {
        min-height: 61px;
        padding: 0 14px;
        gap: 11px;
    }

    .search-control + .search-control {
        border-top: 1px solid var(--border);
    }

    .search-control > svg {
        width: 20px;
        height: 20px;
    }

    .search-control > span {
        gap: 3px;
    }

    .search-control strong {
        font-size: 11px;
    }

    .search-control input {
        font-size: 10px;
    }

    .search-separator {
        display: none;
    }

    .search-submit {
        min-width: 0;
        min-height: 48px;
        margin: 7px;
        border-radius: 11px;
        font-size: 12px;
    }

    .search-submit svg {
        display: block;
        width: 16px;
        height: 16px;
    }

    .categories-section,
    .content-section {
        padding-top: 25px;
        background: white;
    }

    .categories-section {
        padding-top: 17px;
    }

    .categories-section .page-container,
    .content-section .page-container {
        padding-left: 16px;
    }

    .section-heading {
        margin-bottom: 14px;
        padding-right: 16px;
    }

    .section-label {
        font-size: 8px;
    }

    .section-heading h2 {
        font-size: 20px;
        letter-spacing: -0.5px;
    }

    .section-heading > a {
        font-size: 10px;
    }

    .section-heading > a svg {
        width: 14px;
        height: 14px;
    }

    .categories-slider {
        display: flex;
        padding: 0 16px 8px 0;
        gap: 10px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: 16px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .categories-slider::-webkit-scrollbar,
    .restaurant-mobile-slider::-webkit-scrollbar,
    .offers-mobile-slider::-webkit-scrollbar {
        display: none;
    }

    .category-card,
    .category-card:nth-child(n + 6),
    .category-card:last-child {
        display: flex;
        width: 76px;
        min-width: 76px;
        padding: 10px 5px 9px;
        flex-direction: column;
        gap: 7px;
        border-radius: 16px;
        scroll-snap-align: start;
    }

    .category-image {
        width: 47px;
        height: 47px;
    }

    .category-name {
        width: 100%;
        font-size: 9px;
        text-align: center;
    }

    .restaurant-mobile-slider,
    .offers-mobile-slider {
        display: flex;
        padding: 0 16px 10px 0;
        gap: 12px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .restaurant-card {
        width: min(82vw, 316px);
        min-width: min(82vw, 316px);
        border-radius: 17px;
        scroll-snap-align: start;
    }

    .restaurant-card:hover {
        transform: none;
    }

    .restaurant-image,
    .compact-restaurant-card .restaurant-image {
        height: 168px;
    }

    .restaurant-content {
        padding: 14px;
    }

    .restaurant-title-row h3 {
        font-size: 15px;
    }

    .restaurant-meta {
        margin-top: 12px;
    }

    .offer-card {
        width: min(82vw, 310px);
        min-width: min(82vw, 310px);
        min-height: 118px;
        padding: 17px;
        border-radius: 17px;
        scroll-snap-align: start;
    }

    .business-section {
        padding: 28px 16px 34px;
        background: white;
    }

    .business-grid {
        display: grid;
        gap: 12px;
    }

    .business-card {
        min-height: 180px;
        padding: 20px;
        border-radius: 20px;
    }

    .business-content {
        width: 69%;
    }

    .business-content h2 {
        margin-bottom: 7px;
        font-size: 20px;
        letter-spacing: -0.6px;
    }

    .business-content p {
        margin-bottom: 15px;
        font-size: 10px;
        line-height: 1.55;
    }

    .business-card .button {
        min-height: 39px;
        padding: 0 13px;
        font-size: 10px;
    }

    .business-image {
        width: 38%;
    }

    .site-footer {
        display: none;
    }

    .mobile-bottom-navigation {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 90;
        display: grid;
        min-height:
            calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
        padding:
            7px 4px
            calc(7px + env(safe-area-inset-bottom));
        grid-template-columns: repeat(5, minmax(0, 1fr));
        border-top: 1px solid #e5e5e5;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(18px);
    }

    .mobile-bottom-navigation > a {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        color: #858585;
        font-size: 8px;
        font-weight: 700;
    }

    .mobile-bottom-navigation > a svg {
        width: 20px;
        height: 20px;
    }

    .mobile-bottom-navigation > a.is-active {
        color: var(--primary);
    }

    .nav-icon-wrapper {
        position: relative;
        display: flex;
    }

    .nav-notification {
        position: absolute;
        top: -7px;
        right: -9px;
        display: grid;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        place-items: center;
        border: 2px solid white;
        border-radius: 20px;
        color: white;
        background: var(--primary);
        font-size: 7px;
        font-weight: 800;
    }
}

@media (max-width: 420px) {
    .hero-background,
    .hero-overlay {
        height: 180px;
    }

    .hero-content {
        padding-top: 23px;
    }

    .hero-content h1 {
        font-size: 33px;
    }

    .restaurant-card {
        width: 84vw;
        min-width: 84vw;
    }

    .business-content {
        width: 72%;
    }

    .business-image {
        width: 35%;
    }
}
