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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.menu-index-container {
    min-height: 100vh;
}

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

.header-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.content {
    padding: 24px 24px 0 24px;
}

.content--nav-only {
    padding-top: 16px;
}

.restaurant-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
    flex-wrap: wrap;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.welcome-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.5;
}

.category-pills {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pill {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #ddd;
    background-color: white;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.pill.active {
    background-color: #7d2e2e;
    color: white;
    border-color: #7d2e2e;
}

.pill:hover {
    border-color: #7d2e2e;
}

.search-container {
    position: relative;
    margin-bottom: 24px;
}

.main-category-search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

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

.main-category-results-title {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eee;
}

.main-category-result-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
}

.main-category-result-item:last-child {
    border-bottom: none;
}

.main-category-result-item:hover {
    background-color: #f9f9f9;
    color: #7d2e2e;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus {
    border-color: #7d2e2e;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    pointer-events: none;
}

.menu-categories {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 24px 0 24px;
}

.category-card {
    position: relative;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.category-card:hover {
    transform: scale(1.02);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-title {
    color: white;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 12px;
}

/* Search Results */
.search-results {
    display: none;
    margin-top: 24px;
}

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

.search-result-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-result-item:hover {
    border-color: #7d2e2e;
    box-shadow: 0 2px 8px rgba(125, 46, 46, 0.1);
}

.search-result-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.search-result-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.search-result-item .price {
    font-size: 16px;
    font-weight: 600;
    color: #7d2e2e;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

