.restaurants-section {
    padding: 20px 0;
    background: white;
    border-radius: 12px;
    margin: auto 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.search-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #059669;
    text-decoration: none;
}

.view-all-link i {
    font-size: 1.1rem;
}

.restaurants-scroll-container {
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.restaurants-scroll-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.restaurants-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.restaurant-scroll-item {
    flex-shrink: 0;
    text-align: center;
    min-width: 120px;
}

.restaurant-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.restaurant-link:hover {
    text-decoration: none;
    color: inherit;
}

.restaurant-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    transition: border-color 0.3s ease;
}

.restaurant-link:hover .restaurant-circle {
    border-color: #10b981;
}

.restaurant-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.default-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    font-size: 2rem;
}

.restaurant-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e3a8a;
    text-align: center;
    line-height: 1.3;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}

/* No restaurants state */
.no-restaurants {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
}

.no-restaurants i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    color: #d1d5db;
}

.no-restaurants p {
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .header-row {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding: 0 15px;
    }

    .search-title {
        font-size: 1.5rem;
    }

    .restaurants-scroll-container {
        padding: 0 15px;
    }

    .restaurants-scroll-wrapper {
        gap: 15px;
    }

    .restaurant-scroll-item {
        min-width: 100px;
    }

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

    .restaurant-name {
        font-size: 0.85rem;
        max-width: 90px;
    }
}

@media (max-width: 480px) {
    .restaurant-scroll-item {
        min-width: 90px;
    }

    .restaurant-circle {
        width: 75px;
        height: 75px;
    }

    .restaurant-name {
        font-size: 0.8rem;
        max-width: 80px;
    }
}

@keyframes smoothScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@media(min-width: 769px) {
    .restaurants-section{
        margin-bottom: 20px;
    }
}   