.menu-header {
  text-align: center;
  padding: 32px 16px 24px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 24px 24px;
  margin-bottom: 8px;
}
.menu-header-top { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.theme-toggle { width: 36px; height: 36px; background: rgba(255,255,255,0.15); border-radius: 10px; display: grid; place-items: center; font-size: 16px; cursor: pointer; user-select: none; transition: background 0.2s; border: none; }
.theme-toggle:hover { background: rgba(255,255,255,0.25); }
.menu-header-logo { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; margin-bottom: 12px; border: 3px solid rgba(255,255,255,0.3); }
.menu-header-initials { width: 72px; height: 72px; border-radius: 16px; background: rgba(255,255,255,0.2); display: inline-grid; place-items: center; font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 600; margin-bottom: 12px; }
.menu-header h1 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 600; margin-bottom: 4px; }
.menu-header-desc { font-size: 14px; opacity: 0.8; margin-bottom: 6px; }
.menu-header-address { font-size: 13px; opacity: 0.7; }
.menu-search-wrap { margin-top: 20px; }
.menu-search { display: flex; align-items: center; background: rgba(255,255,255,0.15); border-radius: 14px; padding: 0 14px; gap: 8px; backdrop-filter: blur(4px); }
.search-icon { font-size: 16px; opacity: 0.8; }
.menu-search input { flex: 1; background: none; border: none; outline: none; padding: 13px 0; font-family: 'DM Sans', sans-serif; font-size: 15px; color: #fff; }
.menu-search input::placeholder { color: rgba(255,255,255,0.6); }
.search-clear { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 20px; cursor: pointer; line-height: 1; padding: 0; }

.menu-tabs-wrap { position: sticky; top: 0; z-index: 10; background: var(--cream); padding: 8px 0; }
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 0 4px; scrollbar-width: none; -ms-overflow-style: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab { padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; background: #fff; color: var(--text-muted); border: 1px solid var(--border); transition: all 0.15s; }
.menu-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
[data-theme="dark"] .menu-tab { background: #242424; }
[data-theme="dark"] .menu-tab.active { background: var(--brand); }

.menu-content { padding-bottom: 32px; }
.menu-category { padding: 20px 0 8px; }
.category-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; padding: 0 4px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

.item-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border-radius: 12px; margin-bottom: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); transition: box-shadow 0.15s; }
.item-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
[data-theme="dark"] .item-card { background: #242424; }
.item-photo { flex-shrink: 0; width: 80px; height: 80px; border-radius: 10px; overflow: hidden; }
.item-photo-img { width: 100%; height: 100%; object-fit: cover; }
.item-card-info { flex: 1; min-width: 0; }
.item-card-name { font-weight: 500; font-size: 15px; }
.item-card-desc { font-size: 13px; color: var(--text-muted); margin-top: 2px; line-height: 1.4; }
.item-card-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.item-price { font-weight: 600; font-size: 15px; color: var(--brand); }
.item-label { font-size: 11px; padding: 2px 10px; border-radius: 100px; background: #F0EBE3; color: var(--text-muted); }
[data-theme="dark"] .item-label { background: #2e2e2e; }
.badge-unavailable { font-size: 11px; padding: 2px 10px; border-radius: 100px; background: #fee2e2; color: #991B1B; }
.item-unavailable { opacity: 0.5; }
.item-allergens { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.item-allergen { font-size: 11px; padding: 2px 8px; border-radius: 6px; background: #f5f0e8; color: #666; border: 1px solid var(--border); }
[data-theme="dark"] .item-allergen { background: #2e2e2e; color: #999; }

.search-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.search-empty-icon { font-size: 40px; margin-bottom: 12px; }
.search-empty p { font-size: 15px; }

.menu-footer { text-align: center; padding: 32px 16px 48px; font-size: 12px; color: #B0A090; }
.menu-footer a { color: var(--brand); text-decoration: none; }
.menu-empty { text-align: center; padding: 60px 16px; color: var(--text-muted); font-size: 15px; }

.item-modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(30,26,22,0.6); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; padding: 0; }
@media (min-width: 600px) { .item-modal-overlay { align-items: center; padding: 24px; } }
.item-modal { background: #fff; border-radius: 24px 24px 0 0; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; position: relative; animation: modalUp 0.25s ease; }
[data-theme="dark"] .item-modal { background: #1a1a1a; }
@media (min-width: 600px) { .item-modal { border-radius: 24px; } }
@keyframes modalUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.item-modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: rgba(30,26,22,0.08); border: none; font-size: 14px; cursor: pointer; display: grid; place-items: center; z-index: 1; transition: background 0.15s; }
.item-modal-close:hover { background: rgba(30,26,22,0.15); }
.item-modal-photo { width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 24px 24px 0 0; }
@media (min-width: 600px) { .item-modal-photo { border-radius: 24px 24px 0 0; } }
.item-modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.item-modal-body { padding: 24px; }
.item-modal-label { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); background: rgba(196,96,58,0.1); padding: 4px 10px; border-radius: 100px; }
.item-modal-name { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 600; line-height: 1.2; margin-bottom: 10px; color: var(--text); }
.item-modal-desc { font-size: 15px; line-height: 1.65; color: var(--text-muted); margin-bottom: 20px; }
.item-modal-section { padding: 16px 0; border-top: 1px solid var(--border); }
.item-modal-section-label { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.item-modal-section p { font-size: 14px; color: var(--text); line-height: 1.6; }
.item-modal-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); margin-top: 8px; }
.item-modal-price { font-size: 22px; font-weight: 600; color: var(--brand); }
.item-modal-meta { display: flex; gap: 12px; font-size: 13px; color: var(--text-muted); }

.ai-waiter-fab { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; border: none; font-size: 24px; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.2); z-index: 50; transition: transform 0.2s; display: grid; place-items: center; }
.ai-waiter-fab:hover { transform: scale(1.1); }
.ai-chat-panel { position: fixed; bottom: 90px; right: 16px; width: 340px; max-height: 480px; background: #fff; border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); z-index: 100; display: flex; flex-direction: column; overflow: hidden; animation: modalUp 0.25s ease; }
[data-theme="dark"] .ai-chat-panel { background: #1a1a1a; }
@media (max-width: 420px) { .ai-chat-panel { right: 8px; left: 8px; width: auto; bottom: 84px; } }
.ai-chat-header { padding: 16px; background: var(--brand); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.ai-chat-header h4 { font-family: 'Playfair Display', serif; font-size: 16px; margin: 0; }
.ai-chat-close { background: none; border: none; color: rgba(255,255,255,0.8); font-size: 18px; cursor: pointer; }
.ai-chat-messages { flex: 1; overflow-y: auto; padding: 16px; min-height: 200px; max-height: 340px; }
.ai-chat-msg { margin-bottom: 12px; }
.ai-chat-msg-user { text-align: right; }
.ai-chat-msg-user span { background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 16px 16px 4px 16px; display: inline-block; max-width: 85%; font-size: 14px; text-align: left; }
.ai-chat-msg-bot span { background: #F0EBE3; color: var(--text); padding: 8px 14px; border-radius: 16px 16px 16px 4px; display: inline-block; max-width: 85%; font-size: 14px; }
[data-theme="dark"] .ai-chat-msg-bot span { background: #2e2e2e; }
.ai-chat-input { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); }
.ai-chat-input input { flex: 1; border: 1px solid var(--border); border-radius: 100px; padding: 10px 16px; font-size: 14px; font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); outline: none; }
.ai-chat-input button { background: var(--brand); color: #fff; border: none; border-radius: 50%; width: 38px; height: 38px; font-size: 16px; cursor: pointer; flex-shrink: 0; }

.smart-search-btn { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 14px; cursor: pointer; padding: 4px 8px; border-radius: 8px; transition: background 0.15s; }
.smart-search-btn:hover { background: rgba(255,255,255,0.15); }

.lang-switcher { display: flex; gap: 6px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.lang-btn { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 4px 12px; border-radius: 100px; font-size: 12px; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.15s; }
.lang-btn:hover { background: rgba(255,255,255,0.25); }
.lang-btn.active { background: rgba(255,255,255,0.3); border-color: rgba(255,255,255,0.5); font-weight: 500; }
