#page-content.restaurant-page {
    background: #f4f6f1;
    color: #151b2d;
    font-family: 'Poppins', sans-serif;
}

.restaurant-page * {
    box-sizing: border-box;
}

.restaurant-shell {
    margin: 0 auto;
    max-width: 1230px;
    padding: 0 22px;
    width: 100%;
}

.restaurant-hero {
    background:
        radial-gradient(circle at 78% 22%, rgba(239, 162, 28, 0.5), transparent 31%),
        linear-gradient(135deg, #123222 0%, #1f5b3b 52%, #59b980 100%);
    color: #fff;
    padding: 52px 0 78px;
}

.restaurant-back {
    align-items: center;
    color: rgba(255, 255, 255, 0.86);
    display: inline-flex;
    font-size: 14px;
    font-weight: 500;
    gap: 10px;
    margin-bottom: 18px;
    text-decoration: none;
}

.restaurant-back:hover {
    color: #fff;
}

.restaurant-hero h1 {
    color: #fff;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.08;
    margin: 0 0 12px;
}

.restaurant-hero h1 span {
    color: #f2a51d;
}

.restaurant-hero p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    margin: 0 0 26px;
    max-width: 610px;
}

.restaurant-search {
    align-items: center;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(7, 30, 18, 0.22);
    display: flex;
    gap: 10px;
    max-width: 520px;
    padding: 8px;
}

.restaurant-search ion-icon {
    color: #8993a5;
    font-size: 20px;
    margin-left: 12px;
}

.restaurant-search input {
    border: 0;
    color: #151b2d;
    flex: 1;
    font-size: 14px;
    min-height: 44px;
    min-width: 0;
    outline: 0;
}

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

.restaurant-search button,
.restaurant-empty button,
.restaurant-reset {
    background: #efa21c;
    border: 0;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    min-height: 44px;
    padding: 0 22px;
}

.restaurant-search-clear {
    background: transparent !important;
    color: #687385 !important;
    min-width: 44px;
    padding: 0 !important;
}

.restaurant-content {
    padding: 34px 0 54px;
}

.restaurant-layout {
    align-items: flex-start;
    display: grid;
    gap: 28px;
    grid-template-columns: 230px minmax(0, 1fr);
}

.restaurant-filter,
.restaurant-card,
.restaurant-sort,
.restaurant-empty {
    background: #fff;
    border: 1px solid #e4e8e2;
    border-radius: 14px;
    box-shadow: 0 2px 7px rgba(20, 28, 42, 0.08);
}

.restaurant-filter {
    padding: 20px 18px 22px;
    position: sticky;
    top: 98px;
}

.restaurant-filter-title,
.restaurant-sort {
    align-items: center;
    display: flex;
    gap: 10px;
}

.restaurant-filter-title {
    color: #151b2d;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 22px;
}

.restaurant-filter-title ion-icon,
.restaurant-sort ion-icon {
    color: #1e6742;
    font-size: 18px;
}

.restaurant-filter-label {
    color: #758093;
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.restaurant-filter-list {
    display: grid;
    gap: 8px;
}

.restaurant-filter-item {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: #687385;
    display: grid;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    grid-template-columns: 18px 1fr auto;
    min-height: 42px;
    padding: 0 12px;
    text-align: left;
    width: 100%;
}

.restaurant-filter-item.active {
    background: #1d633a;
    color: #fff;
}

.restaurant-filter-item small {
    font-size: 11px;
    font-weight: 800;
    opacity: 0.78;
}

.restaurant-reset {
    background: #1d633a;
    margin-top: 14px;
    width: 100%;
}

.restaurant-main-head {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 22px;
}

.restaurant-main-head h2 {
    color: #151b2d;
    font-size: 22px;
    font-weight: 900;
    margin: 0;
}

.restaurant-sort {
    color: #243047;
    font-size: 14px;
    font-weight: 600;
    min-height: 42px;
    padding: 0 14px;
}

.restaurant-sort select {
    appearance: none;
    background: transparent;
    border: 0;
    color: #243047;
    cursor: pointer;
    font: inherit;
    outline: 0;
}

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

.restaurant-card {
    height: 100%;
    overflow: hidden;
    position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.restaurant-card:hover {
    box-shadow: 0 16px 34px rgba(20, 28, 42, 0.14);
    transform: translateY(-4px);
}

.restaurant-logo-wrap {
    background: #f7f7f5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: block;
    height: 190px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.restaurant-logo {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.restaurant-logo-fallback {
    align-items: center;
    background: #1f5b4d;
    border-radius: 8px;
    color: #fff;
    display: flex;
    font-size: 30px;
    font-weight: 700;
    height: 82px;
    justify-content: center;
    width: 82px;
}

.restaurant-verified {
    align-items: center;
    background: #196038;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 10px;
    font-weight: 900;
    gap: 5px;
    left: 12px;
    padding: 6px 10px;
    position: absolute;
    top: 12px;
}

.restaurant-body {
    padding: 16px 14px 14px;
}

.restaurant-title {
    color: #151b2d;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 8px;
}

.restaurant-title a {
    color: inherit;
    text-decoration: none;
}

.restaurant-title a:hover,
.restaurant-card-action {
    color: #1d633a;
}

.restaurant-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.restaurant-badge {
    align-items: center;
    background: #eaf7ed;
    border-radius: 999px;
    color: #24643d;
    display: inline-flex;
    font-size: 10px;
    font-weight: 800;
    min-height: 22px;
    padding: 0 9px;
}

.restaurant-meta,
.restaurant-location-address {
    color: #7b8596;
    font-size: 12px;
    line-height: 1.45;
}

.restaurant-location-list {
    border-top: 1px solid #edf0ec;
    margin-top: 12px;
    padding-top: 12px;
}

.restaurant-location-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 0;
}

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

.restaurant-location-name {
    color: #151b2d;
    font-size: 13px;
    font-weight: 800;
}

.restaurant-location-list details summary {
    color: #1d633a;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    margin-top: 8px;
}

.restaurant-card-action {
    align-items: center;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    gap: 6px;
    margin-top: 12px;
    text-decoration: none;
}

.restaurant-empty {
    align-items: center;
    color: #687385;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    min-height: 260px;
    padding: 34px;
    text-align: center;
}

.restaurant-empty h3 {
    color: #151b2d;
    font-size: 20px;
    font-weight: 900;
    margin: 0;
}

.restaurant-empty p {
    margin: 0;
}

@media (max-width: 1100px) {
    .restaurant-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .restaurant-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .restaurant-filter {
        position: static;
    }

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

@media (max-width: 640px) {
    .restaurant-hero {
        padding: 34px 0 54px;
    }

    .restaurant-search {
        max-width: none;
    }

    .restaurant-search button {
        padding: 0 18px;
    }

    .restaurant-main-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .restaurant-grid,
    .restaurant-filter-list {
        grid-template-columns: minmax(0, 1fr);
    }
}
