@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #060909;
    --panel: #0b1111;
    --panel2: #101818;
    --card: rgba(255, 255, 255, 0.045);
    --card2: rgba(255, 255, 255, 0.075);
    --text: #f4ffff;
    --muted: rgba(244, 255, 255, 0.58);
    --soft: rgba(244, 255, 255, 0.12);
    --teal: #13CEB5;
    --teal2: #0D9C95;
    --green: #6BFFB8;
    --danger: #ff6b8b;
    --radius: 22px;
    --food-red: #c42026;
    --food-red-dark: #7f1015;
    --food-gold: #f6b23b;
    --food-cream: #fff4df;
    --food-bg: #0b0b0d;
    --food-card: #18181d;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Mulish', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(19, 206, 181, 0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(13, 156, 149, 0.12), transparent 35%),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
}

button {
    font-family: inherit;
}

.app {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    padding: 26px;
    background: rgba(5, 10, 10, 0.88);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    height: 100vh;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--teal2), var(--teal));
    color: #031111;
    font-weight: 900;
    font-size: 24px;
    box-shadow: 0 16px 35px rgba(19, 206, 181, 0.22);
}

.brand-text h1 {
    margin: 0;
    font-size: 20px;
    line-height: 1.05;
}

.brand-text p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    max-width: 170px;
}

#sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    padding: 14px;
    border-radius: 15px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
    transition: 0.2s ease;
    font-weight: 700;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.055);
    color: var(--text);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(13, 156, 149, 0.26), rgba(19, 206, 181, 0.12));
    color: var(--text);
    box-shadow: inset 0 0 0 1px rgba(19, 206, 181, 0.22);
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.nav-item.active .nav-dot {
    background: var(--teal);
    box-shadow: 0 0 18px var(--teal);
}

.sidebar-card {
    margin-top: 34px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-card span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 14px;
}

.sidebar-btn,
.hero-btn {
    border: 0;
    cursor: pointer;
    border-radius: 14px;
    padding: 13px 18px;
    font-weight: 900;
    transition: 0.2s ease;
}

.sidebar-btn,
.hero-btn.primary {
    width: 100%;
    background: linear-gradient(135deg, var(--teal2), var(--teal));
    color: #031111;
}

.sidebar-btn:hover,
.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.main {
    flex: 1;
    padding: 34px;
}

.page {
    animation: fadeUp 0.35s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
    width: fit-content;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(19, 206, 181, 0.11);
    color: var(--teal);
    border: 1px solid rgba(19, 206, 181, 0.25);
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 20px;
}

/* Home */
.hero {
    min-height: calc(100vh - 68px);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: center;
}

.hero h2 {
    font-size: clamp(42px, 5vw, 76px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin: 0;
}

.hero h2 span {
    color: var(--teal);
}

.hero p {
    max-width: 660px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    margin: 24px 0;
}

.hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
    max-width: 680px;
}

.stat {
    padding: 17px;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.stat strong {
    display: block;
    font-size: 24px;
    color: var(--text);
}

.stat span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}

/* Demo page */
.demos-page {
    display: grid;
    gap: 34px;
}

.page-header h2 {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.02;
    margin: 0;
}

.page-header p {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    margin-top: 20px;
}

.demo-tabs {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.demo-tab {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.demo-tab.active,
.demo-tab:hover {
    background: rgba(19, 206, 181, 0.15);
    border-color: rgba(19, 206, 181, 0.32);
}

.demo-category-content {
    display: grid;
    gap: 24px;
}

.demo-item-list {
    display: grid;
    gap: 18px;
}

.demo-item {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 20px;
    align-items: center;
    padding: 24px;
    border-radius: 24px;
    background: rgba(3, 8, 8, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-item.featured {
    background:
        linear-gradient(135deg, rgba(19, 206, 181, 0.12), rgba(3, 8, 8, 0.55));
    border-color: rgba(19, 206, 181, 0.16);
}

.demo-item h4 {
    margin: 0 0 8px;
    font-size: 22px;
}

.demo-item p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.7;
}

.demo-item-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.demo-item-features span,
.feature-pill {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.demo-category-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.demo-card,
.demo-hero-card {
    padding: 24px;
    border-radius: 24px;
    background: rgba(3, 8, 8, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-card.featured {
    background:
        linear-gradient(135deg, rgba(13, 156, 149, 0.22), rgba(255, 255, 255, 0.045)),
        rgba(3, 8, 8, 0.6);
}

.demo-card h3,
.demo-hero-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.demo-card p,
.demo-hero-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.demo-error-card {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 50, 50, 0.08);
    border: 1px solid rgba(255, 50, 50, 0.18);
}

.demo-simulation-page {
    display: grid;
    gap: 22px;
}

.demo-back-button {
    width: fit-content;
}

/* Toast */
.site-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    max-width: 360px;
    z-index: 9999;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(12, 16, 16, 0.96);
    color: var(--text);
    border: 1px solid rgba(19, 206, 181, 0.24);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    transform: translateY(-12px);
    opacity: 0;
    transition: 0.25s ease;
    font-weight: 800;
}

.site-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Restaurant simulation */
.restaurant-home-sim {
    background:
        radial-gradient(circle at top left, rgba(196, 32, 38, 0.22), transparent 34%),
        radial-gradient(circle at top right, rgba(246, 178, 59, 0.11), transparent 30%),
        var(--food-bg);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.restaurant-home-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background: rgba(5, 5, 6, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.restaurant-home-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.restaurant-home-logo {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--food-red), var(--food-red-dark));
    display: grid;
    place-items: center;
    font-weight: 900;
    color: white;
    box-shadow: 0 14px 34px rgba(196, 32, 38, 0.35);
}

.restaurant-home-brand h1 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.8px;
}

.restaurant-home-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.restaurant-home-nav button {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 900;
    padding: 12px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.2s ease;
}

.restaurant-home-nav button:hover,
.restaurant-home-nav button.active {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.restaurant-home-nav .order-btn {
    background: linear-gradient(135deg, var(--food-red), var(--food-red-dark));
    color: white;
    box-shadow: 0 10px 25px rgba(196, 32, 38, 0.3);
}
.restaurant-home-nav .order-btn {
    display: inline-flex;   /* <-- THIS fixes it */
    align-items: center;
    gap: 6px;
}

.restaurant-home-nav .order-btn .cart-count {
    display: inline-flex;   /* make sure it doesn't drop */
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}
.restaurant-home-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    padding: 64px;
}

.restaurant-hero-copy {
    display: grid;
    gap: 18px;
}

.restaurant-pill {
    width: fit-content;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--food-cream);
    color: var(--food-red);
    font-size: 13px;
    font-weight: 900;
}

.restaurant-hero-copy h2 {
    margin: 0;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 0.9;
    letter-spacing: -3px;
}

.restaurant-hero-copy h2 span {
    color: var(--food-gold);
    display: block;
}

.restaurant-hero-copy p {
    margin: 0;
    color: #b9b9c0;
    line-height: 1.8;
    max-width: 570px;
    font-size: 17px;
}

.restaurant-hero-copy strong {
    color: var(--food-cream);
    font-size: 14px;
}

.restaurant-home-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.primary-food-btn,
.secondary-food-btn {
    border: 0;
    cursor: pointer;
    border-radius: 16px;
    padding: 15px 28px;
    font-weight: 900;
    transition: 0.2s ease;
}

.primary-food-btn {
    background: linear-gradient(135deg, var(--food-red), var(--food-red-dark));
    color: white;
    box-shadow: 0 18px 38px rgba(196, 32, 38, 0.32);
}

.secondary-food-btn {
    background: var(--food-cream);
    color: #121212;
}

.primary-food-btn:hover,
.secondary-food-btn:hover {
    transform: translateY(-2px);
}

.restaurant-hero-image-card {
    background: var(--food-cream);
    border-radius: 30px;
    padding: 14px;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.restaurant-hero-image-card img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    display: block;
    border-radius: 22px;
}

.restaurant-floating-card {
    position: absolute;
    left: -34px;
    bottom: 30px;
    width: 220px;
    background: rgba(255, 255, 255, 0.96);
    color: #111;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.restaurant-floating-card h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.restaurant-floating-card p {
    margin: 0 0 10px;
    color: #666;
    font-weight: 800;
    font-size: 12px;
}

.restaurant-floating-card span {
    color: var(--food-red);
    font-weight: 900;
    font-size: 22px;
}

.restaurant-service-toggle {
    width: fit-content;
    margin: 0 auto 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.restaurant-service-toggle button,
.restaurant-service-toggle span {
    border: 0;
    padding: 13px 24px;
    border-radius: 14px;
    font-weight: 900;
    color: white;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.restaurant-service-toggle .active {
    background: linear-gradient(135deg, var(--food-red), var(--food-red-dark));
    box-shadow: 0 12px 28px rgba(196, 32, 38, 0.32);
}

.restaurant-service-toggle span {
    background: var(--food-cream);
    color: #111;
    cursor: default;
}

.restaurant-popular-preview {
    padding: 24px 64px 64px;
}

.restaurant-popular-preview h2 {
    margin: 0 0 6px;
    font-size: 36px;
    letter-spacing: -1.5px;
}

.restaurant-popular-preview p {
    margin: 0 0 24px;
    color: #b9b9c0;
    font-weight: 800;
}

.restaurant-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.restaurant-preview-card,
.menu-item {
    border-radius: 26px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        var(--food-card);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
    transition: 0.2s ease;
}

.restaurant-preview-card:hover,
.menu-item:hover {
    transform: translateY(-5px);
    border-color: rgba(246, 178, 59, 0.26);
}

.restaurant-preview-card img,
.menu-item img {
    width: calc(100% - 28px);
    margin: 14px 14px 0;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.restaurant-preview-info,
.item-info {
    padding: 18px;
}

.restaurant-preview-info h3,
.item-info h3 {
    margin: 0 0 8px;
    font-size: 21px;
    letter-spacing: -0.7px;
}

.restaurant-preview-info p,
.item-info p {
    margin: 0;
    color: #b9b9c0;
    line-height: 1.55;
    font-size: 14px;
    min-height: 44px;
}

.restaurant-preview-footer,
.item-footer {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.restaurant-preview-footer span,
.price {
    color: white;
    font-weight: 900;
    font-size: 22px;
}

.restaurant-preview-add,
.add-to-cart-btn {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--food-red), var(--food-red-dark));
    color: white;
    font-size: 25px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(196, 32, 38, 0.32);
    transition: 0.2s ease;
}

.restaurant-preview-add:hover,
.add-to-cart-btn:hover {
    transform: scale(1.06);
}

/* Restaurant menu */
.food-demo-content {
    padding: 42px;
}

.menu-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.menu-title-row h2 {
    margin: 0;
    font-size: 42px;
    letter-spacing: -1.5px;
}

.menu-title-row p {
    margin: 8px 0 0;
    color: #b9b9c0;
    font-weight: 700;
}

.restaurant-cart-btn {
    border: 0;
    padding: 13px 17px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--food-red), var(--food-red-dark));
    color: white;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 12px 28px rgba(196, 32, 38, 0.32);
}

.cart-count {
    min-width: 22px;
    height: 22px;
    padding: 2px 7px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

.menu-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.menu-filter-btn {
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.76);
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.menu-filter-btn:hover,
.menu-filter-btn.active {
    background: var(--food-cream);
    color: #111;
    border-color: var(--food-cream);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Cart modal */
.restaurant-cart-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
}

.cart-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    cursor: pointer;
}

.cart-modal-content {
    position: relative;
    background: #1b1b21;
    border-radius: 28px 28px 0 0;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    max-height: 82vh;
}

.cart-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cart-modal-header h2 {
    margin: 0;
    font-size: 24px;
}

.cart-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.cart-modal-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    margin-bottom: 12px;
    gap: 12px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin: 0 0 4px;
    font-size: 14px;
}

.cart-item-qty {
    font-size: 12px;
    color: #a7a7ad;
}

.cart-item-price {
    font-weight: 900;
    font-size: 16px;
    min-width: 80px;
    text-align: right;
}

.cart-remove-btn {
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(196, 32, 38, 0.15);
    color: #ff6b6b;
    border: none;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.cart-modal-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cart-totals {
    margin-bottom: 20px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: #a7a7ad;
}

.cart-total-row.final {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 12px;
    margin-top: 12px;
    color: white;
    font-weight: 900;
    font-size: 16px;
}

.btn-primary {
    padding: 14px 22px;
    border-radius: 14px;
    border: none;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(135deg, var(--food-red), var(--food-red-dark));
    color: white;
}

/* Empty pages */
.empty-page {
    min-height: calc(100vh - 68px);
    display: grid;
    place-content: center;
    text-align: center;
}

.empty-page h2 {
    font-size: 42px;
    margin: 0 0 10px;
}

.empty-page p {
    color: var(--muted);
}

/* Responsive */
@media (max-width: 1100px) {
    .restaurant-home-hero,
    .menu-grid,
    .restaurant-preview-grid {
        grid-template-columns: 1fr;
    }

    .restaurant-floating-card {
        left: 20px;
    }
}

@media (max-width: 980px) {
    .app {
        display: block;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    #sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .nav-item {
        min-width: fit-content;
    }

    .sidebar-card {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .main {
        padding: 22px;
    }

    .restaurant-home-header {
        display: grid;
        gap: 16px;
    }

    .restaurant-home-nav {
        overflow-x: auto;
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .hero-stats,
    .demo-category-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        letter-spacing: -2px;
    }

    .restaurant-home-hero,
    .restaurant-popular-preview,
    .food-demo-content {
        padding: 28px;
    }

    .restaurant-hero-copy h2 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .restaurant-service-toggle {
        width: calc(100% - 36px);
        overflow-x: auto;
    }

    .restaurant-preview-card img,
    .menu-item img {
        height: 190px;
    }

    .menu-title-row {
        display: grid;
    }
}

.restaurant-orders-page {
    padding: 42px;
}

.restaurant-orders-list {
    display: grid;
    gap: 16px;
}

.restaurant-order-card {
    padding: 22px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        var(--food-card);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.restaurant-order-top,
.restaurant-order-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.restaurant-order-top h3 {
    margin: 0 0 5px;
}

.restaurant-order-top p {
    margin: 0;
    color: #b9b9c0;
    font-size: 13px;
    font-weight: 700;
}

.restaurant-order-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.restaurant-order-items span {
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: #b9b9c0;
    font-size: 13px;
    font-weight: 800;
}

.order-status {
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    background: rgba(255,255,255,0.08);
}

.order-status.new {
    color: var(--food-gold);
}

.order-status.preparing {
    color: #7dd3fc;
}

.order-status.ready {
    color: #6BFFB8;
}

.order-status.completed {
    color: #b9b9c0;
}

.small-food-btn {
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    background: var(--food-cream);
    color: #111;
    font-weight: 900;
    cursor: pointer;
}
.restaurant-tab-with-badge {
    position: relative;
}

.restaurant-order-badge {
    position: absolute;
    top: 0px;
    right: -4px;
    margin: 0;
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.restaurant-orders-page {
    padding: 40px;
}

.orders-header h2 {
    margin: 0;
    font-size: 42px;
    letter-spacing: -1.5px;
}

.orders-header p {
    margin: 8px 0 24px;
    color: #b9b9c0;
}

/* GRID */
.restaurant-orders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* CARD */
.restaurant-order-card-v2 {
    border-radius: 22px;
    padding: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
        #141418;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.2s ease;
}

.restaurant-order-card-v2:hover {
    transform: translateY(-4px);
}

/* HEADER */
.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-card-header h3 {
    margin: 0;
    font-size: 20px;
}

.order-card-header span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #a7a7ad;
}

/* STATUS */
.order-status-pill {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    background: rgba(255,255,255,0.08);
}

.order-status-pill.new {
    color: #f6b23b;
}

.order-status-pill.preparing {
    color: #7dd3fc;
}

.order-status-pill.ready {
    color: #6BFFB8;
}

.order-status-pill.completed {
    color: #b9b9c0;
}

/* ITEMS */
.order-card-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.order-card-items span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: #ddd;
    font-size: 12px;
    font-weight: 800;
}

/* FOOTER */
.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-card-footer strong {
    font-size: 22px;
}

/* ACTIONS */
.order-card-actions {
    display: flex;
    gap: 10px;
}

.ghost-btn {
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: white;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
}

.primary-food-btn.small {
    padding: 10px 14px;
}

@media (max-width: 620px) {
    .restaurant-home-header {
        position: sticky;
        top: 0;
        padding: 14px;
    }

    .restaurant-home-nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .restaurant-home-nav button {
        white-space: nowrap;
        flex-shrink: 0;
    }
}
.restaurant-home-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
}
@media (max-width: 620px) {
    .restaurant-header-right {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .restaurant-home-nav {
        flex: 1;
        min-width: 0;
    }

    .restaurant-cart-main-btn {
        flex-shrink: 0;
    }
}
.restaurant-cart-main-btn {
    border: 0;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--food-red), var(--food-red-dark));
    color: white;
    font-weight: 900;
    cursor: pointer;

    display: inline-flex;      /* IMPORTANT */
    align-items: center;
    gap: 8px;

    box-shadow: 0 10px 25px rgba(196, 32, 38, 0.3);
}
.restaurant-home-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* pushes left + right apart */
}
.restaurant-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 700px) {
    .restaurant-home-header {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 14px;
        padding: 16px;
    }

    .restaurant-home-brand {
        grid-column: 1 / 2;
    }

    .restaurant-cart-main-btn {
        grid-column: 2 / 3;
        justify-self: end;
        padding: 11px 15px;
    }

    .restaurant-header-right {
        grid-column: 1 / -1;
        display: grid;
        gap: 12px;
        width: 100%;
    }

    .restaurant-home-nav {
        width: 100% !important;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        padding: 6px;
        overflow: visible;
    }

    .restaurant-home-nav button {
        padding: 11px 8px;
        font-size: 12px;
        white-space: nowrap;
    }

    .restaurant-home-hero {
        padding: 28px 18px;
        gap: 28px;
    }

    .restaurant-hero-copy h2 {
        font-size: 42px;
    }

    .restaurant-hero-image-card img {
        height: 260px;
    }

    .restaurant-floating-card {
        left: 14px;
        bottom: 14px;
        width: 190px;
    }

    .restaurant-preview-grid,
    .menu-grid,
    .restaurant-orders-grid {
        grid-template-columns: 1fr;
    }

    .restaurant-popular-preview,
    .food-demo-content,
    .restaurant-orders-page {
        padding: 24px 18px;
    }

    .cart-modal-content {
        max-width: 100%;
    }
}

.plus-icon {
    position: relative;
    width: 16px;
    height: 16px;
}

.plus-icon::before,
.plus-icon::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 2px;
}

.plus-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.plus-icon::after {
    height: 100%;
    width: 2px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
.add-to-cart-btn,
.restaurant-preview-add {
    display: flex;
    align-items: center;
    justify-content: center;
}