/* === Variables === */
:root {
    --primary: #d4a574;
    --primary-dark: #b8895a;
    --primary-light: rgba(212,165,116,0.15);
    --bg: #0a0a0a;
    --bg-card: #151515;
    --bg-card-hover: #1a1a1a;
    --bg-nav: rgba(10,10,10,0.95);
    --text: #f0ebe4;
    --text-light: #9a9590;
    --text-muted: #6b6560;
    --border: #2a2520;
    --border-featured: var(--primary);
    --radius: 14px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(0,0,0,0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --header-height: 64px;
    --nav-height: 54px;
    --green: #4caf50;
    --red: #f44336;
    --orange: #ff9800;
    --blue: #2196f3;
}

/* === LIGHT THEME === */
[data-theme="light"] {
    --bg: #f5f5f7; --bg-card: #ffffff; --bg-card-hover: #f8f8f8;
    --bg-nav: rgba(255, 255, 255, 0.95);
    --text: #374151; --text-light: #6b7280; --text-muted: #9ca3af;
    --border: rgba(0, 0, 0, 0.1); --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --primary-light: rgba(212, 165, 116, 0.1);
}
.theme-toggle-float {
    position: fixed; bottom: 1.25rem; right: 1.25rem; width: 40px; height: 40px;
    border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-muted); cursor: pointer; display: flex; align-items: center;
    justify-content: center; z-index: 1000; transition: all 0.2s;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.theme-toggle-float:hover { color: var(--text); transform: scale(1.1); }
@media print { .theme-toggle-float { display: none !important; } }

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--nav-height) + 16px); }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; letter-spacing: 0.01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* === Container === */
.container { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }

/* === Header === */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--bg-nav); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border); height: var(--header-height);
}
.header-inner {
    max-width: 720px; margin: 0 auto; padding: 0 1.25rem;
    display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.header-inner.header-centered { justify-content: center; gap: 0.75rem; }
.header-centered .header-logo { max-width: none; text-align: center; }
.header-logo {
    font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700;
    color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%;
    letter-spacing: 0.02em;
}
.header-logo img { height: 36px; }
.header-actions { display: flex; gap: 0.5rem; align-items: center; }
.header-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-card); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text); transition: var(--transition);
}
.header-btn:hover { background: var(--primary); color: var(--bg); border-color: var(--primary); }
.header-btn-wa:hover { background: #25d366; border-color: #25d366; }

.table-badge {
    padding: 0.3rem 0.75rem; border-radius: 100px;
    background: var(--primary-light); border: 1px solid var(--primary);
    color: var(--primary); font-size: 0.8rem; font-weight: 600;
}

/* === Hero === */
.hero {
    padding: calc(var(--header-height) + 2.5rem) 1.25rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, #121210 0%, var(--bg) 100%);
}
.hero-content { max-width: 720px; margin: 0 auto; }
.hero h1 {
    font-family: var(--font-heading); font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800; line-height: 1.1; margin-bottom: 0.5rem; color: var(--text);
}
.hero p { font-size: 1.05rem; color: var(--text-light); max-width: 500px; margin: 0 auto 1.5rem; }
.hero-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 2rem; border-radius: 100px;
    background: var(--primary); color: var(--bg); font-weight: 600;
    font-size: 1.05rem; transition: var(--transition);
}
.hero-cta:hover { background: var(--primary-dark); color: var(--bg); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,165,116,0.3); }

/* === Announcements === */
.announcements-section { padding: 1rem 0; }
.announcement-bar {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1rem; border-radius: var(--radius);
    background: var(--primary-light); border: 1px solid rgba(212,165,116,0.2);
    font-size: 0.9rem; margin-bottom: 0.5rem;
}
.announcement-bar-sm { padding: 0.5rem 0.75rem; font-size: 0.8rem; margin-top: calc(var(--header-height) + 0.5rem); }
.announcement-icon { font-size: 1rem; flex-shrink: 0; }
.order-announcements { padding: 0 1.25rem; max-width: 720px; margin: 0 auto; }

/* === Category Nav === */
.category-nav {
    position: sticky; top: var(--header-height); z-index: 900;
    background: var(--bg-nav); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border); height: var(--nav-height);
}
.category-nav-inner {
    max-width: 720px; margin: 0 auto;
    display: flex; align-items: center; gap: 0.25rem;
    overflow-x: auto; scrollbar-width: none;
    padding: 0 1rem; height: 100%; -webkit-overflow-scrolling: touch;
}
.category-nav-inner::-webkit-scrollbar { display: none; }
.category-tab {
    flex-shrink: 0; padding: 0.55rem 1.1rem;
    border-radius: 100px; font-size: 0.88rem; font-weight: 500;
    color: var(--text-light); background: transparent;
    border: 1px solid transparent; transition: var(--transition);
    white-space: nowrap; text-decoration: none;
}
.category-tab:hover { color: var(--text); background: var(--bg-card); }
.category-tab.active { color: var(--bg); background: var(--primary); border-color: var(--primary); font-weight: 600; }
.category-icon { margin-right: 0.25rem; }

/* === Menu Content === */
.menu-content { padding-bottom: 5rem; }
.menu-section { padding: 2.5rem 0 1.5rem; }
.section-title { text-align: center; margin-bottom: 1.75rem; }
.section-icon { font-size: 2rem; display: block; margin-bottom: 0.4rem; }
.section-title h2 { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; letter-spacing: 0.02em; }
.section-title p { font-size: 0.92rem; color: var(--text-light); line-height: 1.6; }

/* === Menu Items === */
.menu-items { display: flex; flex-direction: column; gap: 1rem; }
.menu-item {
    background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden; transition: var(--transition);
}
.menu-item:hover { background: var(--bg-card-hover); border-color: #3a3530; }
.menu-item.featured { }
.menu-item-image { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.menu-item-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.menu-item:hover .menu-item-image img { transform: scale(1.05); }
.menu-item-body { padding: 1.15rem 1.4rem; }
.menu-item-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.35rem; }
.menu-item-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; color: var(--text); line-height: 1.35; }
.badge-featured { color: var(--primary); font-size: 0.85rem; margin-left: 0.25rem; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.menu-item-price { font-size: 1.1rem; font-weight: 700; color: var(--primary); white-space: nowrap; flex-shrink: 0; }
.menu-item-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 0.6rem; }
.menu-item-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.85rem; }
.badge {
    display: inline-flex; align-items: center; gap: 0.2rem;
    padding: 0.2rem 0.5rem; border-radius: 100px;
    font-size: 0.7rem; font-weight: 500;
    background: var(--primary-light); color: var(--text-light); border: 1px solid var(--border);
}
.badge-veg { background: rgba(76,175,80,0.1); border-color: rgba(76,175,80,0.3); color: #81c784; }
.badge-vegan { background: rgba(56,142,60,0.1); border-color: rgba(56,142,60,0.3); color: #66bb6a; }
.badge-spicy { background: rgba(244,67,54,0.1); border-color: rgba(244,67,54,0.3); color: #ef5350; }
.badge-allergens { background: rgba(255,193,7,0.1); border-color: rgba(255,193,7,0.3); color: #ffd54f; }

/* === Add to cart button === */
.add-to-cart-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.55rem 1.1rem; border-radius: 100px; border: 1px solid var(--primary);
    background: transparent; color: var(--primary); font-size: 0.88rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
}
.add-to-cart-btn:hover { background: var(--primary); color: var(--bg); }
.add-to-cart-btn:active { transform: scale(0.95); }

/* === Cart floating bar === */
.cart-floating-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
    background: var(--primary); color: var(--bg); cursor: pointer;
    padding: 0.75rem 1.25rem; transition: var(--transition);
}
.cart-floating-bar:hover { background: var(--primary-dark); }
.cart-bar-inner {
    max-width: 720px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.cart-bar-info { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.cart-bar-total { font-weight: 700; font-size: 1.1rem; }
.cart-bar-label { font-weight: 500; font-size: 0.85rem; }

/* === Mini Order Summary === */
.mini-summary {
    position: fixed; bottom: 52px; left: 0; right: 0; z-index: 949;
    pointer-events: none;
}
.mini-summary-inner {
    max-width: 720px; margin: 0 auto; padding: 0 0.5rem;
    pointer-events: auto;
}
.mini-summary-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.5rem 1rem 0.35rem;
    background: var(--bg-card); border: 1px solid var(--border);
    border-bottom: none; border-radius: var(--radius) var(--radius) 0 0;
}
.mini-summary-title {
    font-size: 0.75rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.05em;
}
.mini-summary-toggle {
    background: none; border: none; color: var(--text-muted);
    cursor: pointer; padding: 0.15rem; display: flex; align-items: center;
    transition: var(--transition);
}
.mini-summary-toggle:hover { color: var(--text); }
.mini-summary.collapsed .mini-summary-toggle svg { transform: rotate(180deg); }
.mini-summary-items {
    background: var(--bg-card); border: 1px solid var(--border);
    border-top: none; border-radius: 0;
    max-height: 180px; overflow-y: auto; scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0.75rem 0.5rem;
}
.mini-summary.collapsed .mini-summary-items {
    max-height: 0; padding: 0 0.75rem; overflow: hidden;
}
.mini-summary.collapsed .mini-summary-header {
    border-radius: var(--radius);
    border-bottom: 1px solid var(--border);
}
.mini-summary-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.3rem 0.25rem; font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mini-summary-row:last-child { border-bottom: none; }
.mini-summary-qty {
    color: var(--primary); font-weight: 700; min-width: 1.8rem; font-size: 0.8rem;
}
.mini-summary-name { flex: 1; color: var(--text); font-weight: 500; }
.mini-summary-price { color: var(--text-light); font-weight: 500; font-size: 0.8rem; margin-left: 0.5rem; }
.mini-summary-row-actions {
    display: flex; gap: 0.15rem; margin-left: 0.4rem;
}
.mini-summary-btn {
    width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border);
    background: transparent; color: var(--text-muted); cursor: pointer;
    font-size: 0.8rem; display: flex; align-items: center; justify-content: center;
    transition: var(--transition); padding: 0;
}
.mini-summary-btn:hover { border-color: var(--primary); color: var(--primary); }

/* === Cart drawer === */
.cart-drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1100;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.cart-drawer-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1200;
    background: var(--bg-card); border-top: 1px solid var(--border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 80vh; display: flex; flex-direction: column;
    transform: translateY(100%); transition: transform 0.3s ease;
}
.cart-drawer.open { transform: translateY(0); }
.cart-drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
}
.cart-drawer-header h3 { font-size: 1.1rem; font-weight: 700; }
.cart-drawer-close { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0.25rem; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
.cart-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 0; border-bottom: 1px solid var(--border);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.95rem; }
.cart-item-price { color: var(--text-light); font-size: 0.85rem; }
.cart-item-qty {
    display: flex; align-items: center; gap: 0.5rem;
}
.cart-qty-btn {
    width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border);
    background: var(--bg); color: var(--text); cursor: pointer; font-size: 1rem;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.cart-qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-qty-value { font-weight: 600; min-width: 1.5rem; text-align: center; }
.cart-drawer-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--border); }
.cart-notes { margin-bottom: 0.75rem; }
.cart-notes label { display: block; font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.25rem; }
.cart-notes textarea {
    width: 100%; padding: 0.5rem; border-radius: var(--radius);
    background: var(--bg); border: 1px solid var(--border); color: var(--text);
    font-family: var(--font-body); font-size: 0.85rem; resize: none;
}
.cart-footer-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.cart-footer-label { font-size: 1rem; font-weight: 600; }
.cart-footer-total { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.cart-submit-btn {
    width: 100%; padding: 0.85rem; border-radius: var(--radius); border: none;
    background: var(--primary); color: var(--bg); font-weight: 700;
    font-size: 1rem; cursor: pointer; display: flex; align-items: center;
    justify-content: center; gap: 0.5rem; transition: var(--transition);
}
.cart-submit-btn:hover { background: var(--primary-dark); }
.cart-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.cart-empty { text-align: center; padding: 2rem; color: var(--text-muted); }

/* === Order Status Page === */
.status-page { padding: calc(var(--header-height) + 2rem) 0 3rem; }
.status-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    border: 1px solid var(--border); padding: 2rem 1.5rem; text-align: center;
}
.status-header { margin-bottom: 2rem; }
.status-header svg { margin-bottom: 1rem; }
.status-header h1 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; margin-bottom: 0.25rem; }
.status-order-id { color: var(--text-muted); font-size: 0.85rem; }
.status-table { color: var(--primary); font-weight: 600; margin-top: 0.25rem; }

.status-stepper {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin: 1.5rem 0;
}
.status-step { text-align: center; flex-shrink: 0; }
.step-icon {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg); border: 2px solid var(--border);
    color: var(--text-muted); margin: 0 auto 0.5rem; transition: var(--transition);
}
.status-step.active .step-icon { border-color: var(--primary); color: var(--primary); background: var(--primary-light); animation: stepPulse 2s ease-in-out infinite; }
.status-step.done .step-icon { border-color: var(--green); color: #fff; background: var(--green); }
@keyframes stepPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(212,165,116,0.3); } 50% { box-shadow: 0 0 0 8px rgba(212,165,116,0); } }
.step-label { font-size: 0.75rem; color: var(--text-muted); }
.status-step.active .step-label, .status-step.done .step-label { color: var(--text); }
.step-line { width: 40px; height: 2px; background: var(--border); flex-shrink: 0; margin-bottom: 1.5rem; }

.status-message {
    padding: 1rem; border-radius: var(--radius);
    background: var(--primary-light); color: var(--text);
    font-size: 0.95rem; margin-bottom: 1.5rem;
}

.order-summary { text-align: left; margin: 1.5rem 0; }
.order-summary h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.order-summary-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0; font-size: 0.9rem; }
.order-summary-qty { color: var(--primary); font-weight: 600; min-width: 2rem; }
.order-summary-name { flex: 1; }
.order-summary-price { color: var(--text-light); font-weight: 500; }
.order-summary-total {
    display: flex; justify-content: space-between; padding-top: 0.75rem;
    margin-top: 0.5rem; border-top: 1px solid var(--border);
    font-weight: 700; font-size: 1.05rem;
}
.status-back-link {
    display: inline-block; margin-top: 1rem; padding: 0.5rem 1.5rem;
    border-radius: 100px; border: 1px solid var(--border);
    color: var(--text-light); font-size: 0.9rem;
}
.status-back-link:hover { border-color: var(--primary); color: var(--primary); }

/* === Menu Preview (Homepage) === */
.menu-preview { padding: 2rem 0 1rem; }
.menu-preview-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.menu-preview-header h2 {
    font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700;
}
.menu-preview-cta { text-align: center; padding: 2rem 0 1rem; }

/* === Info Section === */
.info-section { padding: 3rem 0 2.5rem; border-top: 1px solid var(--border); }
.info-grid { display: grid; grid-template-columns: 1fr; gap: 0.85rem; margin-bottom: 1.75rem; }
.info-card {
    display: flex; gap: 1rem; align-items: flex-start;
    background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid var(--border); padding: 1.15rem 1.4rem;
}
.info-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-card strong { display: block; color: var(--text); margin-bottom: 0.15rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.info-card p { color: var(--text-light); font-size: 0.9rem; margin: 0; }
.info-card a { color: var(--primary); }
.social-links { display: flex; gap: 0.75rem; justify-content: center; }
.social-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 1.25rem; border-radius: 100px;
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-light); font-size: 0.85rem; font-weight: 500; transition: var(--transition);
}
.social-btn:hover { background: var(--primary); color: var(--bg); border-color: var(--primary); }

/* === Footer === */
.footer { padding: 1.5rem 0; text-align: center; font-size: 0.8rem; color: var(--text-muted); border-top: 1px solid var(--border); }

/* === Messages === */
.messages-container {
    position: fixed; top: calc(var(--header-height) + 8px);
    left: 50%; transform: translateX(-50%); z-index: 999; max-width: 400px; width: 90%;
}
.alert { padding: 0.85rem 1.25rem; border-radius: var(--radius); margin-bottom: 0.5rem; font-size: 0.9rem; animation: slideDown 0.3s ease; }
.alert-success { background: #1a2e1a; color: #81c784; border: 1px solid #2e4a2e; }
.alert-error { background: #2e1a1a; color: #ef5350; border: 1px solid #4a2e2e; }
@keyframes slideDown { from { opacity: 0; transform: translateX(-50%) translateY(-10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ═══════════════════════════════════════ */
/* === DASHBOARD STYLES === */
/* ═══════════════════════════════════════ */

.dashboard-body { display: flex; min-height: 100vh; }

/* Sidebar */
.dashboard-sidebar {
    width: 240px; background: var(--bg-card); border-right: 1px solid var(--border);
    display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; z-index: 1000;
    transition: transform 0.3s;
}
.sidebar-header { padding: 1.25rem; border-bottom: 1px solid var(--border); }
.sidebar-header h2 { font-size: 1rem; font-weight: 700; color: var(--text); }
.sidebar-nav { flex: 1; padding: 0.5rem 0; overflow-y: auto; }
.sidebar-link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.7rem 1.25rem; color: var(--text-light);
    font-size: 0.9rem; font-weight: 500; transition: var(--transition);
    border: none; background: none; cursor: pointer; width: 100%; text-align: left;
}
.sidebar-link:hover { color: var(--text); background: var(--bg-card-hover); }
.sidebar-link.active { color: var(--primary); background: var(--primary-light); }
.sidebar-footer { border-top: 1px solid var(--border); padding: 0.5rem 0; }
.sidebar-toggle {
    display: none; position: fixed; top: 0.75rem; left: 0.75rem; z-index: 1100;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--text); padding: 0.5rem; cursor: pointer;
}

/* Dashboard main */
.dashboard-main { flex: 1; margin-left: 240px; padding: 2rem; min-width: 0; }
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem; }
.dash-header h1 { font-size: 1.5rem; font-weight: 700; }
.dash-header p { color: var(--text-light); font-size: 0.9rem; }
.dash-header-actions { display: flex; gap: 0.5rem; }

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.25rem; text-align: center;
}
.stat-value { font-size: 2rem; font-weight: 700; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.85rem; color: var(--text-light); }
.stat-pending .stat-value { color: var(--orange); }
.stat-active .stat-value { color: var(--blue); }
.stat-completed .stat-value { color: var(--green); }
.stat-revenue .stat-value { color: var(--primary); }

/* Dashboard actions */
.dash-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.dash-action-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text); font-weight: 500; transition: var(--transition);
}
.dash-action-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ═══════════════════════════════════════ */
/* === KITCHEN / COMANDE === */
/* ═══════════════════════════════════════ */

.kitchen-header {
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--border);
}
.kitchen-header h1 { font-size: 1.4rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.kitchen-live {
    width: 10px; height: 10px; border-radius: 50%; background: var(--green);
    animation: blink 2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.kitchen-board { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 1rem; }
.kitchen-col { flex: 1; min-width: 260px; }

.kitchen-col-label {
    padding: 0.6rem 1rem; border-radius: 8px 8px 0 0;
    font-size: 0.85rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.08em; display: flex; align-items: center; justify-content: space-between;
}
.kitchen-col-label span {
    background: rgba(255,255,255,0.25); padding: 0.1rem 0.6rem;
    border-radius: 100px; font-size: 0.8rem; min-width: 1.5rem; text-align: center;
}
.kitchen-col-todo { background: var(--orange); color: #fff; }
.kitchen-col-fire { background: var(--red); color: #fff; }
.kitchen-col-out { background: var(--green); color: #fff; }

.kitchen-cards {
    background: var(--bg-card); border: 1px solid var(--border); border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 0.5rem; min-height: 150px;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.kitchen-empty { color: var(--text-muted); font-size: 0.9rem; text-align: center; padding: 2rem 0; }

/* Comanda card */
.kitchen-card {
    background: var(--bg); border-radius: 8px; padding: 0.75rem;
    border-left: 4px solid var(--border);
}
.kitchen-card-new { border-left-color: var(--orange); }
.kitchen-card-fire { border-left-color: var(--red); }
.kitchen-card-out { border-left-color: var(--green); }

.kitchen-card-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0.5rem;
}
.kitchen-table {
    font-size: 1.4rem; font-weight: 900; color: var(--text);
    font-variant-numeric: tabular-nums;
}
.kitchen-time { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

.kitchen-items { list-style: none; padding: 0; margin: 0 0 0.5rem; }
.kitchen-items li {
    padding: 0.25rem 0; font-size: 1rem; color: var(--text);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.kitchen-items li:last-child { border-bottom: none; }
.kitchen-items strong { color: var(--primary); margin-right: 0.25rem; }
.kitchen-items em { color: var(--text-muted); font-size: 0.85rem; font-style: italic; }

.kitchen-notes {
    font-size: 0.85rem; color: var(--orange); font-weight: 600;
    padding: 0.4rem 0.6rem; margin-bottom: 0.5rem;
    background: rgba(255,152,0,0.08); border-radius: 6px;
    border: 1px solid rgba(255,152,0,0.2);
}

/* Big action buttons */
.kitchen-btn {
    display: block; width: 100%; padding: 0.85rem;
    border: none; border-radius: 8px;
    font-size: 1.05rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.06em; cursor: pointer;
    transition: all 0.15s ease; text-align: center;
}
.kitchen-btn:active { transform: scale(0.97); }

.kitchen-btn-go { background: var(--orange); color: #fff; }
.kitchen-btn-go:hover { background: #e68900; }
.kitchen-btn-fire { background: var(--red); color: #fff; }
.kitchen-btn-fire:hover { background: #d32f2f; }
.kitchen-btn-done { background: var(--blue); color: #fff; }
.kitchen-btn-done:hover { background: #1976d2; }
.kitchen-btn-close { background: var(--green); color: #fff; }
.kitchen-btn-close:hover { background: #388e3c; }

.kitchen-btn-x {
    display: block; width: 100%; margin-top: 0.35rem;
    padding: 0.4rem; border: none; border-radius: 6px;
    background: transparent; color: var(--text-muted);
    font-size: 0.8rem; font-weight: 500; cursor: pointer;
    transition: all 0.15s ease;
}
.kitchen-btn-x:hover { color: var(--red); background: rgba(244,67,54,0.08); }

/* Drag & Drop */
.kitchen-card[draggable="true"] { cursor: grab; }
.kitchen-card.dragging { opacity: 0.4; transform: scale(0.95); }
.kitchen-cards.drag-over {
    background: rgba(212,165,116,0.08);
    outline: 2px dashed var(--primary);
    outline-offset: -2px;
}
.drag-ghost {
    position: fixed; z-index: 9999; pointer-events: none;
    opacity: 0.85; transform: rotate(2deg) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .kitchen-board { flex-direction: column; }
    .kitchen-col { min-width: auto; }
    .kitchen-table { font-size: 1.6rem; }
    .kitchen-items li { font-size: 1.05rem; padding: 0.3rem 0; }
    .kitchen-btn { padding: 1rem; font-size: 1.15rem; }
}

/* === Dashboard Forms === */
.dash-form { max-width: 600px; }
.dash-form fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.dash-form legend { font-weight: 700; padding: 0 0.5rem; color: var(--text); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.3rem; font-weight: 500; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    width: 100%; padding: 0.6rem 0.75rem; border-radius: 8px;
    background: var(--bg); border: 1px solid var(--border); color: var(--text);
    font-family: var(--font-body); font-size: 0.9rem; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light);
}
.form-group input[type="color"] { height: 40px; padding: 4px; cursor: pointer; }
.form-group input[type="file"] { font-size: 0.85rem; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.form-help { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.form-checkboxes { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; cursor: pointer; color: var(--text); }
.checkbox-label input { accent-color: var(--primary); }
.form-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }

/* Buttons */
.btn-primary {
    padding: 0.65rem 1.5rem; border-radius: 8px; border: none;
    background: var(--primary); color: var(--bg); font-weight: 600;
    font-size: 0.9rem; cursor: pointer; transition: var(--transition);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
    padding: 0.65rem 1.5rem; border-radius: 8px;
    border: 1px solid var(--border); background: transparent;
    color: var(--text-light); font-weight: 500; font-size: 0.9rem; transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--text-light); color: var(--text); }
.btn-primary-sm {
    padding: 0.4rem 0.85rem; border-radius: 6px; border: none;
    background: var(--primary); color: var(--bg); font-weight: 600;
    font-size: 0.8rem; cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn-primary-sm:hover { background: var(--primary-dark); color: var(--bg); }
.btn-sm {
    padding: 0.3rem 0.65rem; border-radius: 6px;
    border: 1px solid var(--border); background: transparent;
    color: var(--text-light); font-size: 0.75rem; cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn-sm:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger-sm { border-color: rgba(244,67,54,0.3); color: var(--red); }
.btn-danger-sm:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* Menu management */
.menu-manage-section { margin-bottom: 2rem; }
.menu-manage-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; flex-wrap: wrap; gap: 0.5rem; }
.menu-manage-header h2 { font-size: 1.1rem; font-weight: 700; }
.menu-manage-actions { display: flex; gap: 0.4rem; }
.menu-manage-items { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.menu-manage-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 0.5rem;
}
.menu-manage-item:last-child { border-bottom: none; }
.item-unavailable { opacity: 0.5; }
.menu-manage-item-info { display: flex; align-items: center; gap: 0.75rem; }
.menu-manage-price { color: var(--primary); font-weight: 600; font-size: 0.85rem; }
.menu-manage-item-actions { display: flex; gap: 0.4rem; align-items: center; }
.badge-inactive { color: var(--text-muted); font-weight: 400; font-size: 0.85rem; }
.badge-sm { font-size: 0.75rem; }
.badge-featured-sm { color: var(--primary); }

.btn-toggle-avail {
    width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border);
    background: transparent; cursor: pointer; font-size: 0.8rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.btn-toggle-avail.available { border-color: var(--green); color: var(--green); }
.btn-toggle-avail.unavailable { border-color: var(--red); color: var(--red); }

/* Announcements management */
.announcements-list { display: flex; flex-direction: column; gap: 0.5rem; }
.announcement-manage-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem 1rem; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); flex-wrap: wrap; gap: 0.5rem;
}
.announcement-manage-item.inactive { opacity: 0.5; }
.announcement-text { display: flex; align-items: center; gap: 0.5rem; flex: 1; font-size: 0.9rem; }
.announcement-status { font-size: 0.65rem; }
.announcement-actions { display: flex; gap: 0.4rem; }

/* History */
.history-filters { margin-bottom: 1.5rem; }
.history-table-wrap { overflow-x: auto; }
.history-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.history-table th, .history-table td { padding: 0.6rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border); }
.history-table th { font-weight: 600; color: var(--text-light); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.status-badge { padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.status-served { background: rgba(76,175,80,0.15); color: #81c784; }
.status-cancelled { background: rgba(244,67,54,0.15); color: #ef5350; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.pagination-info { color: var(--text-muted); font-size: 0.85rem; }

.text-muted { color: var(--text-muted); font-size: 0.9rem; }

/* === Responsive === */
@media (min-width: 480px) {
    .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    :root { --header-height: 68px; --nav-height: 58px; }
    .container { padding: 0 2rem; }
    .hero { padding-top: calc(var(--header-height) + 3.5rem); padding-bottom: 2.5rem; }
    .hero h1 { font-size: 2.8rem; }
    .menu-section { padding: 3rem 0 2rem; }
    .menu-item-body { padding: 1.35rem 1.6rem; }
    .menu-item-name { font-size: 1.2rem; }
}

@media (max-width: 768px) {
    .dashboard-sidebar { transform: translateX(-100%); }
    .dashboard-sidebar.open { transform: translateX(0); }
    .sidebar-toggle { display: flex; }
    .dashboard-main { margin-left: 0; padding: 1rem; padding-top: 3.5rem; }
    .order-board { flex-direction: column; }
    .board-column { min-width: auto; }
    .form-row { flex-direction: column; gap: 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════ */
/* === ALL YOU CAN EAT STYLES === */
/* ═══════════════════════════════════════ */

.ayce-banner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
    padding: 0.75rem 1rem; border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(212,165,116,0.15), rgba(212,165,116,0.05));
    border: 1px solid var(--primary);
    margin-top: calc(var(--header-height) + 0.5rem);
}
.ayce-banner-inner { display: flex; align-items: center; gap: 0.75rem; }
.ayce-badge {
    display: inline-block; padding: 0.25rem 0.75rem; border-radius: 100px;
    background: var(--primary); color: var(--bg);
    font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em;
}
.ayce-price { font-weight: 700; color: var(--primary); font-size: 1rem; }
.ayce-status { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; }
.ayce-round { color: var(--text-light); font-weight: 500; }
.ayce-timer {
    color: var(--orange); font-weight: 700; font-variant-numeric: tabular-nums;
    padding: 0.2rem 0.6rem; border-radius: 6px; background: rgba(255,152,0,0.1);
    border: 1px solid rgba(255,152,0,0.3);
}

.ayce-category-limit {
    font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
    margin-top: 0.25rem; transition: color 0.3s;
}
.ayce-category-limit.limit-warning { color: var(--orange); }
.ayce-category-limit.limit-reached { color: var(--red); }

/* AYCE toast notification */
.ayce-toast {
    position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: var(--bg-card); border: 1px solid var(--orange); color: var(--orange);
    padding: 0.75rem 1.5rem; border-radius: var(--radius);
    font-size: 0.9rem; font-weight: 600; z-index: 2000;
    opacity: 0; transition: all 0.3s ease; pointer-events: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.ayce-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* AYCE order confirmation */
.ayce-confirmation {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8);
    background: var(--bg-card); border: 2px solid var(--green);
    padding: 2rem 3rem; border-radius: var(--radius-lg);
    text-align: center; z-index: 2000;
    opacity: 0; transition: all 0.3s ease;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.ayce-confirmation.visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ayce-confirmation-icon {
    width: 48px; height: 48px; border-radius: 50%; background: var(--green);
    color: #fff; font-size: 1.5rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.75rem;
}
.ayce-confirmation-text { font-size: 1.1rem; font-weight: 700; color: var(--text); }
