:root {
    --ink: #17212b;
    --muted: #657487;
    --line: #e6ebf1;
    --paper: #ffffff;
    --soft: #f6f8fb;
    --brand: #e23b2f;
    --brand-dark: #b8241b;
    --accent: #ffb703;
    --success: #12805c;
}

* {
    font-family: Inter, Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    color: var(--ink);
    background: var(--soft);
}

.app-shell {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(226, 59, 47, .06), rgba(246, 248, 251, 0) 280px),
        var(--soft);
}

.store-nav {
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #f77f00);
}

.hero-modern {
    padding: 38px 0 26px;
}

.hero-panel {
    min-height: 340px;
    color: #fff;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    background:
        radial-gradient(circle at 78% 22%, rgba(255, 183, 3, .38), transparent 32%),
        radial-gradient(circle at 92% 88%, rgba(18, 128, 92, .24), transparent 30%),
        linear-gradient(115deg, #221410, #821f16 58%, #b8241b);
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto 32px -60px auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 183, 3, .18);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    padding: 54px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffe3a3;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-title {
    max-width: 620px;
    font-size: clamp(2.15rem, 4vw, 4.6rem);
    line-height: 1.02;
    font-weight: 800;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.stat-tile {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
}

.section-title {
    letter-spacing: 0;
    font-weight: 800;
}

.store-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
}

.filter-panel,
.cart-panel,
.surface-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 14px 34px rgba(18, 32, 46, .06);
}

.filter-panel,
.cart-panel {
    position: sticky;
    top: 88px;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    color: var(--ink);
    text-decoration: none;
    border-radius: 8px;
}

.category-link:hover,
.category-link.active {
    color: var(--brand-dark);
    background: #fff1ee;
}

.product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(18, 32, 46, .12);
}

.food-img,
.placeholder-img {
    width: 100%;
    height: 190px;
}

.food-img {
    object-fit: cover;
    background: #f3f6f9;
}

.placeholder-img {
    display: grid;
    place-items: center;
    color: #a15c00;
    background: #fff4d7;
}

.price {
    color: var(--brand);
    font-weight: 800;
}

.icon-btn {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    padding: 0;
}

.checkout-card {
    border-top: 4px solid var(--success);
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    background: var(--soft);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 22px;
    color: #fff;
    background: #111827;
}

.admin-sidebar .brand-mark {
    background: linear-gradient(135deg, var(--brand), var(--accent));
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: #dbe4ee;
    text-decoration: none;
    border-radius: 8px;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.admin-content {
    min-width: 0;
    padding: 28px;
}

.metric-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(18, 32, 46, .05);
}

.metric-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--brand);
    border-radius: 8px;
    background: #fff1ee;
}

.data-table th {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 183, 3, .32), transparent 28%),
        radial-gradient(circle at 85% 75%, rgba(18, 128, 92, .25), transparent 32%),
        linear-gradient(135deg, #e23b2f, #7f1d1d 52%, #161c24);
}

.auth-card {
    width: min(100%, 980px);
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
}

@media (max-width: 1199px) {
    .store-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .cart-panel {
        grid-column: 1 / -1;
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 34px 24px;
    }

    .stat-strip,
    .store-layout,
    .admin-shell {
        display: block;
    }

    .filter-panel {
        position: static;
        margin-bottom: 18px;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-content {
        padding: 18px;
    }
}
.data-table th{
    text-align:center;
    vertical-align:middle;
    white-space:nowrap;
}

.data-table td{
    vertical-align:middle;
}

.data-table .btn{
    border-radius:10px;
}

.data-table .badge{
    padding:8px 12px;
    font-size:13px;
}

.table-responsive{
    overflow-x:auto;
}
