/* ============================================================
   Restaurants Page Styles
   (shared layout/header/footer via construction.css)
   ============================================================ */

/* ── Featured Restaurants Section ───────────────────────────── */
.featured-restaurants-section {
    background: #fff;
    border: 1px solid var(--brand-orange, #fa611e);
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 28px;
}

.featured-restaurants-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-dark, #1a1a1a);
    margin: 0 0 8px;
    line-height: 1.35;
}

.featured-restaurants-title-bar {
    width: 120px;
    height: 2px;
    background: var(--brand-orange, #fa611e);
    border-radius: 2px;
    margin-bottom: 20px;
}

.featured-restaurants-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ── Featured Restaurant Card ───────────────────────────────── */
.featured-restaurant-card {
    border: 1px solid var(--border-light, #e8e8e8);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
}

.featured-restaurant-image-wrap {
    position: relative;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    height: 251px;
}
.featured-restaurant-content-wrap {
    padding-inline: 16px;
    padding-bottom: 16px;
}

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

.featured-restaurant-name {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
    margin: 0;
    line-height: 1.35;
    margin-bottom: 16px;
}

.restaurant-feature-list {
    list-style: none;
    font-size:14px;
    color: #6B7280;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.restaurant-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-body, #444);
    line-height: 1.3;
}
.sidebar-cta-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px;
    line-height: 1.3;
}

.sidebar-cta-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 14px;
}

.restaurant-feature-list li img {
    flex-shrink: 0;
    margin-top: 2px;
}

.featured-restaurant-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    width: 100%;
    padding: 21px 16px;
    border: 1.5px solid var(--brand-orange, #fa611e);
    border-radius: 5px;
    background: #fff;
    color: var(--brand-orange, #fa611e);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.featured-restaurant-btn:hover {
    background: var(--brand-orange, #fa611e);
    color: #fff;
}

/* ── Top Restaurants Section ────────────────────────────────── */
.top-restaurants-section {
    background: #fff;
    border: 1px solid var(--brand-orange, #fa611e);
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.top-restaurants-section > div {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 16px;
}

.top-restaurants-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-dark, #1a1a1a);
    margin: 0 0 8px;
}

.top-restaurants-title--sub {
    margin-top: 0;
}

.top-restaurants-title-bar {
    width: 40px;
    height: 2px;
    background: var(--brand-orange, #fa611e);
    border-radius: 2px;
    margin-bottom: 16px;
}

.top-restaurants-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.top-restaurant-item {
    border: 1px solid var(--border-light, #e8e8e8);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.top-restaurant-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    margin: 0;
    border: none;
    background: #fff;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background 0.2s;
}

.top-restaurant-btn:hover {
    background: var(--brand-orange-light, #fff3ee);
}

.top-restaurant-btn:hover .top-restaurant-btn__text strong {
    color: var(--brand-orange, #fa611e);
}

.top-restaurant-btn:hover .top-restaurant-arrow {
    color: var(--brand-orange, #fa611e);
}

.top-restaurant-btn:focus-visible {
    outline: 2px solid var(--brand-orange, #fa611e);
    outline-offset: -2px;
}

.top-restaurant-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-dark, #1a1a1a);
    flex-shrink: 0;
    margin-top: 6px;
    align-self: flex-start;
}

.top-restaurant-btn__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.top-restaurant-btn__text strong {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
    line-height: 1.35;
}

.top-restaurant-btn__text span {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-muted, #666);
    line-height: 1.55;
}

.top-restaurant-arrow {
    font-size: 12px;
    color: var(--text-muted, #666);
    flex-shrink: 0;
    transition: color 0.2s;
}

/* ── Dining Tips ────────────────────────────────────────────── */
.dining-tips-section {
    margin-top: 0;
}

.dining-tips-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
    margin: 0 0 12px;
}

.dining-tips-intro {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-body, #444);
    line-height: 1.65;
    margin: 0 0 16px;
    font-weight: 400;
}

.dining-tips-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dining-tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-body, #444);
    line-height: 1.3;
}

.dining-tips-list li img {
    flex-shrink: 0;
    margin-top: 2px;
}

.top-restaurants-section--empty {
    margin-bottom: 16px;
}

.top-restaurants-empty-text {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: var(--text-muted, #666);
    margin: 0;
    line-height: 1.6;
}

/* Non-featured overlay icon */
.restaurants-page .nf-overlay-icon i.fa-utensils {
    color: var(--brand-orange, #fa611e);
    font-size: 2.5rem;
    transform: none;
}

/* ── Non-feature restaurant promo (Figma) ───────────────────── */
.nf-restaurant-promo {
    margin-bottom: 28px;
}

.nf-restaurant-promo__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 420px;
    background: #fff;
    border: 1px solid var(--border-light, #e8e8e8);
    border-radius: 6px;
    overflow: hidden;
}

.nf-restaurant-promo__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 18px;
}

.nf-restaurant-promo__img {
    width: 100%;
    height: 650px;
    object-position: center;
    border-radius: 8px;
    display: block;
}

.restaurants-page .nf-pitch--restaurant {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 100%;
    padding: 32px 36px 28px;
    box-sizing: border-box;
    gap: 20px;
}

.restaurants-page .nf-pitch--restaurant .nf-pitch__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1 1 auto;
}

.restaurants-page .nf-pitch--restaurant .nf-pitch-heading {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
    margin: 0;
    line-height: 1.3;
}

.restaurants-page .nf-pitch--restaurant .nf-pitch-bar {
    width: 48px;
    height: 2px;
    background: var(--brand-orange, #fa611e);
    border-radius: 2px;
    margin: -6px 0 0;
}

.restaurants-page .nf-pitch-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-orange, #fa611e);
    margin: 0;
    line-height: 28px;
}

.restaurants-page .nf-pitch--restaurant .nf-pitch-desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-body, #444);
    line-height: 2.0;
    margin: 0;
}

.restaurants-page .nf-checklist--restaurant {
    margin-top: 30px;
    gap: 12px;
}

.restaurants-page .nf-pitch--restaurant .nf-pitch__bottom {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 30px;
    border-top: 1px solid var(--brand-orange, #fa611e);
    margin-top: auto;
}

.restaurants-page .nf-pitch-footer-lead {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
    margin: 0;
    line-height: 1.4;
}

.restaurants-page .nf-pitch-footer {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-muted, #666);
    line-height: 1.6;
    margin: 0;
}

.restaurants-page .nf-advertise-btn--restaurant {
    margin-top: 6px;
    width: 100%;
}

.restaurants-page .construction-sidebar .sidebar-cta-btn i.fa-chevron-right {
    font-size: 11px;
    margin-left: 2px;
}

/* Sidebar button text wrap for long labels */
.restaurants-page .sidebar-cta-btn {
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
}

.restaurants-page .construction-sidebar .sidebar-cta-btn:not(.sidebar-communities-dropdown__toggle) {
    min-height: 48px;
    align-items: center;
    justify-content: left;
}

.restaurants-page .sidebar-cta-btn .stat-icon .fas {
    font-size: 14px;
    color: var(--brand-orange, #fa611e);
    line-height: 1;
}

/* Sidebar communities dropdown */
.restaurants-page .sidebar-cta-card--communities {
    position: relative;
}

.restaurants-page .sidebar-cta-card--communities.is-dropdown-open {
    z-index: 20;
}

.restaurants-page .sidebar-communities-dropdown {
    position: relative;
}

.restaurants-page .sidebar-communities-dropdown__toggle {
    position: relative;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
}

.restaurants-page .sidebar-communities-dropdown__label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
}

.restaurants-page .sidebar-communities-dropdown__arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.restaurants-page .sidebar-communities-dropdown__label-line {
    display: block;
}

.restaurants-page .sidebar-communities-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-light, #e8e8e8);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    overflow: hidden;
}

.restaurants-page .sidebar-communities-dropdown__search {
    position: relative;
    padding: 10px 12px 4px;
    background: #fff;
}

.restaurants-page .sidebar-communities-dropdown__search-input {
    width: 100%;
    border: none;
    border-radius: 20px;
    padding: 8px 36px 8px 14px;
    font-size: 13px;
    font-family: Inter, sans-serif;
    color: var(--text-dark, #1a1a1a);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 1px #e5e7eb;
}

.restaurants-page .sidebar-communities-dropdown__search-input:focus {
    box-shadow: 0 0 0 1px var(--brand-orange, #fa611e);
}

.restaurants-page .sidebar-communities-dropdown__search-input::placeholder {
    color: #9ca3af;
}

.restaurants-page .sidebar-communities-dropdown__search-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 12px;
    pointer-events: none;
}

.restaurants-page .sidebar-communities-dropdown__list-wrap {
    overflow-x: hidden;
}

.restaurants-page .sidebar-communities-dropdown__list-wrap.is-scrollable {
    max-height: 280px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.restaurants-page .sidebar-communities-dropdown__list-wrap.is-scrollable::-webkit-scrollbar {
    width: 6px;
}

.restaurants-page .sidebar-communities-dropdown__list-wrap.is-scrollable::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.restaurants-page .sidebar-communities-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.restaurants-page .sidebar-communities-dropdown__list li {
    border-top: 1px solid #eee;
}

.restaurants-page .sidebar-communities-dropdown__list a {
    display: block;
    padding: 10px 14px;
    color: var(--text-dark, #1a1a1a);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    word-break: break-word;
}

.restaurants-page .sidebar-communities-dropdown__list a:hover,
.restaurants-page .sidebar-communities-dropdown__list a.is-active {
    color: var(--brand-orange, #fa611e);
    background: var(--brand-orange-light, #fff3ee);
}

.restaurants-page .sidebar-communities-dropdown__loading,
.restaurants-page .sidebar-communities-dropdown__empty {
    padding: 12px 14px;
    text-align: center;
    color: var(--text-muted, #666);
    font-size: 12.5px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .featured-restaurants-grid {
        grid-template-columns: 1fr;
    }

    .nf-restaurant-promo__body {
        min-height: 360px;
    }

    .restaurants-page .nf-pitch--restaurant {
        padding: 24px 28px 22px;
    }
}

@media (max-width: 768px) {
    .featured-restaurants-section,
    .top-restaurants-section {
        padding: 16px;
    }

    .featured-restaurant-image-wrap {
        height: 180px;
    }

    .featured-restaurants-title {
        font-size: 18px;
    }

    .top-restaurants-title {
        font-size: 18px;
    }

    .top-restaurant-btn {
        padding: 12px 14px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .featured-restaurant-image-wrap {
        height: 160px;
    }

    .top-restaurant-btn__text span {
        font-size: 12px;
    }

    .top-restaurants-title--sub {
        margin-top: 0;
    }

    .nf-restaurant-promo__body {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .nf-restaurant-promo__media {
        min-height: 220px;
    }

    .restaurants-page .nf-pitch--restaurant {
        padding: 20px 18px;
        min-height: auto;
    }
    .nf-restaurant-promo__img {
        width: 100%;
        height: 400px;
        object-position: center;
        border-radius: 8px;
        display: block;
    }
}
