* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f9fafb;
    color: #111827;
    line-height: 1.5;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
}

/* Restaurant Header */
.restaurant-header {
    background-color: white;
}

.restaurant-image {
    width: 100%;
    height: 192px;
    overflow: hidden;
}

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

.restaurant-info {
    padding: 1rem;
}

.restaurant-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.restaurant-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.restaurant-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.category-pills {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pill {
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.pill.active {
    background-color: #8B4049;
    color: white;
}

.pill.inactive {
    background-color: white;
    color: #374151;
    border: 1px solid #d1d5db;
}

.pill.inactive:hover {
    background-color: #f9fafb;
}

.search-container {
    position: relative;
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    outline: none;
}

.search-input:focus {
    border-color: #8B4049;
    box-shadow: 0 0 0 3px rgba(139, 64, 73, 0.1);
}

.search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

/* Category Header */
.category-header {
    background-color: white;
    border-top: 1px solid #e5e7eb;
    margin-top: 0.25rem;
    padding: 1.5rem 1rem;
}

.category-title {
    font-size: 1.5rem !important;
    font-weight: bold !important;
    color: #111827 !important;
    margin-bottom: 0.5rem;
    text-shadow: none !important;
}

.category-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Menu Items */
.menu-items {
    padding: 1.5rem 1rem;
}

.menu-item {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}

.menu-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: scale(1.01);
}

.menu-item-image {
    flex-shrink: 0;
    width: 128px;
    height: 128px;
    border-radius: 0.75rem;
    overflow: hidden;
}

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

.menu-item-content {
    flex: 1;
    min-width: 0;
}

.menu-item-name {
    font-size: 1.125rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.25rem;
}

.menu-item-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tag {
    font-size: 0.75rem;
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
}

.menu-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-item-price {
    font-size: 1.125rem;
    font-weight: bold;
    color: #111827;
}

.menu-item-calories {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Search Results */
.search-results {
    display: none;
    padding: 1.5rem 1rem;
}

.search-results.active {
    display: block;
}

.search-result-item {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.search-result-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 640px) {
    .menu-item {
        flex-direction: column;
    }

    .menu-item-image {
        width: 100%;
        height: 200px;
    }
}

