.restaurant-container {
    padding: 0 20px;
}

.hero-section {
    background: white;
    padding: 30px 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #1e3a8a;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #64748b;
}

.info-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.info-badges .badge {
    background: white;
    border: 2px solid #1e3a8a;
    color: #1e3a8a;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    gap: 6px;
}

.info-badges .badge i {
    font-size: 1.2rem;
}

.badge.highlight {
    background: #fbbf24;
    color: #1e3a8a;
    border-color: #fbbf24;
    font-weight: 600;
}

.restaurants-section {
    padding: 15px 0;
}

.restaurants-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    list-style: none;
    margin-bottom: 10px;
}

.restaurant-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.restaurant-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
}

.restaurant-image-container {
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    min-height: 160px;
    position: relative;
}

.restaurant-image {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: white;
}

.open-badge,
.closed-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.open-badge {
    background: #10b981;
    color: white;
}

.closed-badge {
    background: #ef4444;
    color: white;
}

.restaurant-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.restaurant-name {
    font-size: 14px;
    color: #1e3a8a;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 38px;
}

.restaurant-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.cuisine-type {
    color: #666;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 4px;
}

.rating {
    color: #fbbf24;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
}

.restaurant-details {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.location,
.delivery-time {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.location i,
.delivery-time i {
    font-size: 1rem;
}

.view-btn-container {
    margin-top: auto;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #10b981;
    font-weight: 600;
    font-size: 0.95rem;
}

.view-btn i {
    font-size: 1.2rem;
}

@media (max-width: 350px) {
    .restaurants-grid {
        grid-template-columns: 1fr;
    }

    .restaurant-container {
        min-height: 100vh;
        padding: 0;
    }

    .restaurant-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 400px) {
    .hero-section {
        padding: 30px 0;
        border-radius: 0;
        margin-bottom: 5px;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .info-badges {
        gap: 8px;
        padding: 0 15px;
    }

    .badge {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .restaurants-section {
        padding: 10px 10px 20px;
    }

    .restaurant-container {
        padding: 0;
    }
}

@media (min-width: 401px) and (max-width: 768px) {
    .restaurants-section {
        padding: 10px 10px 20px;
    }

    .restaurants-grid {
        margin-bottom: 5px;
    }

    .info-badges {
        min-height: 48px;
        align-items: center;
    }

    .restaurant-container {
        padding: 0;
    }
}

@media (min-width: 768px) {
    .restaurant-container {
        max-width: 1200px;
        padding: 0 20px;
        margin: 0 auto;
    }

    .restaurants-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .restaurant-name {
        font-size: 15px;
    }

    .restaurant-details {
        font-size: 13px;
    }

    .restaurant-info {
        padding: 16px;
        gap: 10px;
    }

    .restaurant-image {
        width: 120px;
        height: 120px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .restaurants-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .restaurants-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Empty state styles */
.empty-restaurants {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    margin: 20px 0;
}

.empty-restaurants i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    display: block;
}

.empty-restaurants h3 {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 10px;
    font-weight: 600;
}

.empty-restaurants p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    max-width: 400px;
    margin: 0 auto;
}