  /* ============================================================
    DUMDUMS DELIVERY KITCHEN — style.css
    Theme: Monochrome / Minimal / Modern
    Fonts: Bebas Neue (display), DM Sans (body)
  ============================================================ */

  /* ── CSS Variables ── */
  :root {
    --black:   #0a0a0a;
    --gray-9:  #111111;
    --gray-8:  #1e1e1e;
    --gray-7:  #2c2c2c;
    --gray-6:  #3d3d3d;
    --gray-5:  #5a5a5a;
    --gray-4:  #888888;
    --gray-3:  #b0b0b0;
    --gray-2:  #d8d8d8;
    --gray-1:  #f0f0f0;
    --white:   #ffffff;
    --accent:  #ffffff;     /* primary accent = white on dark */
    --danger:  #c0392b;

    --font-display: 'Bebas Neue', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);

    --transition: 0.22s ease;
  }

  /* ── Reset & Base ── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    background: var(--gray-9);
    color: var(--white);
    min-height: 100vh;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  button { cursor: pointer; font-family: var(--font-body); }
  input, button { outline: none; }

  /* ── Utility ── */
  .hidden { display: none !important; }

  /* Main content area used on every page */
  .page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 60px;
  }

  /* ============================================================
    AUTH PAGES (Login & Register)
  ============================================================ */
  .auth-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 40px 20px;
    background: var(--gray-9);
    /* Subtle noise texture */
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.02) 0%, transparent 60%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
  }

  .auth-brand {
    text-align: center;
    margin-bottom: 32px;
    animation: fadeUp 0.5s ease both;
  }

  .auth-brand .brand-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 8px;
  }

  .auth-brand h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 5rem);
    letter-spacing: 0.08em;
    line-height: 1;
    color: var(--white);
  }

  .auth-brand .brand-sub {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gray-4);
    margin-top: 4px;
  }

  /* Auth Form Card */
  .auth-form {
    background: var(--gray-8);
    border: 1px solid var(--gray-7);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    animation: fadeUp 0.5s 0.1s ease both;
  }

  .auth-form h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
  }

  .form-hint {
    color: var(--gray-4);
    font-size: 0.875rem;
    margin-bottom: 24px;
  }

  .auth-switch {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-4);
    margin-top: 16px;
  }

  .auth-switch a {
    color: var(--white);
    font-weight: 600;
    border-bottom: 1px solid var(--gray-5);
    transition: border-color var(--transition);
  }

  .auth-switch a:hover { border-color: var(--white); }

  /* ============================================================
    FORM INPUTS
  ============================================================ */
  .input-group {
    margin-bottom: 18px;
  }

  .input-group label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-3);
    margin-bottom: 6px;
    font-weight: 500;
  }

  .input-group input {
    width: 100%;
    background: var(--gray-7);
    border: 1px solid var(--gray-6);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
  }

  .input-group input::placeholder { color: var(--gray-5); }

  .input-group input:focus {
    border-color: var(--gray-3);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
  }

  /* ============================================================
    BUTTONS
  ============================================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    border: none;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  }

  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0); }

  /* Primary: white on black */
  .btn-primary {
    background: var(--white);
    color: var(--black);
    box-shadow: var(--shadow-sm);
  }
  .btn-primary:hover {
    background: var(--gray-1);
    box-shadow: var(--shadow-md);
  }

  /* Outline: bordered transparent */
  .btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gray-6);
  }
  .btn-outline:hover {
    border-color: var(--gray-3);
    background: rgba(255,255,255,0.05);
  }

  /* Danger */
  .btn-danger {
    background: transparent;
    color: #e55a50;
    border: 1px solid #e55a50;
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  .btn-danger:hover { background: rgba(229,90,80,0.1); }

  /* Sizes */
  .btn-full { width: 100%; margin-top: 8px; }
  .btn-sm   { padding: 8px 14px; font-size: 0.8rem; }
  .btn-lg   { padding: 14px 32px; font-size: 1rem; letter-spacing: 0.05em; }

  /* ============================================================
    NAVBAR
  ============================================================ */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 60px;
    background: var(--black);
    border-bottom: 1px solid var(--gray-7);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 16px;
  }

  .navbar-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .navbar-links {
    display: flex;
    gap: 4px;
    align-items: center;
  }

  .nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-3);
    transition: color var(--transition), background var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .nav-link:hover, .nav-link.active {
    color: var(--white);
    background: var(--gray-7);
  }

  /* Cart badge */
  .cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--black);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 700;
  }

  /* ============================================================
    HOME: HERO
  ============================================================ */
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 0 48px;
    border-bottom: 1px solid var(--gray-7);
  }

  .hero-content { flex: 1; max-width: 560px; }

  .hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gray-4);
    margin-bottom: 12px;
  }

  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    color: var(--white);
  }

  .hero-sub {
    color: var(--gray-3);
    font-size: 1rem;
    margin-bottom: 32px;
    font-weight: 300;
  }

  /* Decorative dish circle */
  .hero-visual {
    flex-shrink: 0;
  }

  .dish-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--gray-8);
    border: 1px solid var(--gray-6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
  }

  /* Features strip */
  .features-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--gray-7);
    border: 1px solid var(--gray-7);
    border-radius: var(--radius-md);
    margin-top: 40px;
    overflow: hidden;
  }

  .feature-item {
    background: var(--gray-8);
    padding: 20px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background var(--transition);
  }

  .feature-item:hover { background: var(--gray-7); }

  .feature-item > span {
    font-size: 24px;
    flex-shrink: 0;
  }

  .feature-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2px;
  }

  .feature-item p {
    font-size: 0.78rem;
    color: var(--gray-4);
  }

  /* ============================================================
    SECTION HEADER
  ============================================================ */
  .section-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-7);
  }

  .section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
  }

  .section-header p {
    color: var(--gray-4);
    font-size: 0.9rem;
  }

  /* ============================================================
    MENU GRID & CARDS
  ============================================================ */
  .menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }

  /* Each menu card */
  .menu-card {
    background: var(--gray-8);
    border: 1px solid var(--gray-7);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  }

  .menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-5);
  }

  /* Card image — now an <img> tag */
  .card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--gray-7);
    transition: opacity var(--transition);
  }

  .menu-card:hover .card-image { opacity: 0.9; }

  .card-body {
    padding: 16px;
  }

  .card-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .card-desc {
    font-size: 0.8rem;
    color: var(--gray-4);
    margin-bottom: 14px;
    line-height: 1.4;
  }

  .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .card-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.04em;
  }

  /* Add to cart button on card */
  .btn-add {
    background: var(--white);
    color: var(--black);
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
  }

  .btn-add:hover {
    background: var(--gray-1);
    transform: scale(1.05);
  }

  .btn-add:active { transform: scale(0.97); }

  /* ============================================================
    CART SECTION
  ============================================================ */
  .cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
  }

  /* Empty cart message */
  .cart-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-5);
  }

  .cart-empty .empty-icon { font-size: 56px; margin-bottom: 12px; }

  .cart-empty h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gray-4);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
  }

  /* Cart item rows */
  .cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--gray-8);
    border: 1px solid var(--gray-7);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 12px;
    transition: border-color var(--transition);
  }

  .cart-item:hover { border-color: var(--gray-5); }

  .cart-item-info { flex: 1; }

  .cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
  }

  .cart-item-unit {
    font-size: 0.78rem;
    color: var(--gray-4);
  }

  /* Qty controls */
  .qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--gray-6);
    background: var(--gray-7);
    color: var(--white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
  }

  .qty-btn:hover { background: var(--gray-5); }

  .qty-num {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
  }

  .cart-item-total {
    font-family: var(--font-display);
    font-size: 1.3rem;
    min-width: 80px;
    text-align: right;
  }

  /* Cart Summary card */
  .cart-summary-card {
    background: var(--gray-8);
    border: 1px solid var(--gray-7);
    border-radius: var(--radius-md);
    padding: 24px;
    position: sticky;
    top: 80px;
  }

  .cart-summary-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-7);
  }

  .summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-3);
    margin-bottom: 8px;
  }

  .summary-row.total {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    padding-top: 12px;
    border-top: 1px solid var(--gray-7);
    margin-top: 8px;
  }

  .summary-row.total .summary-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
  }

  /* ============================================================
    RECEIPT MODAL
  ============================================================ */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
  }

  .modal-box {
    background: var(--gray-8);
    border: 1px solid var(--gray-6);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
  }

  .receipt-header {
    text-align: center;
    margin-bottom: 24px;
  }

  .receipt-header span { font-size: 40px; display: block; margin-bottom: 6px; }

  .receipt-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 0.1em;
  }

  .receipt-header p {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-4);
    margin-top: 4px;
  }

  .receipt-divider {
    border: none;
    border-top: 1px dashed var(--gray-6);
    margin: 16px 0;
  }

  .receipt-meta {
    font-size: 0.8rem;
    color: var(--gray-4);
    margin-bottom: 16px;
  }

  .receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-7);
  }

  .receipt-row:last-child { border-bottom: none; }

  .receipt-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 10px 0;
  }

  .receipt-total-row span:last-child {
    font-family: var(--font-display);
    font-size: 1.5rem;
  }

  .receipt-thankyou {
    text-align: center;
    color: var(--gray-3);
    font-size: 0.9rem;
    margin: 16px 0 20px;
  }

  /* ============================================================
    TRACKING MAP MODAL
  ============================================================ */
  .tracking-box { max-width: 500px; }
  .tracking-header { text-align: center; margin-bottom: 16px; }
  .tracking-header h2 { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.08em; }
  .tracking-sub { color: var(--gray-4); font-size: 0.85rem; margin-top: 4px; }
  .fake-map {
    position: relative; width: 100%; height: 180px;
    background: var(--gray-7); border-radius: var(--radius-md);
    overflow: hidden; margin-bottom: 20px; border: 1px solid var(--gray-6);
  }
  .map-road { position: absolute; background: var(--gray-6); }
  .road-h { height: 10px; }
  .road-v { width: 10px; }
  .map-block { position: absolute; background: var(--gray-8); border-radius: 3px; }
  .map-pin {
    position: absolute; transform: translate(-50%, -100%);
    display: flex; flex-direction: column; align-items: center; gap: 3px; z-index: 3;
  }
  .pin-dot { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid var(--black); }
  .pin-kitchen .pin-dot { background: var(--white); }
  .pin-dest    .pin-dot { background: #e55a50; }
  .pin-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; background: var(--black); color: var(--white); padding: 2px 5px; border-radius: 4px; white-space: nowrap; }
  .rider-dot {
    position: absolute; font-size: 22px; z-index: 10;
    transition: left 1.2s cubic-bezier(0.4, 0, 0.2, 1), top 0.5s ease;
    transform: translateY(-50%);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  }
  .tracking-steps { display: flex; flex-direction: column; gap: 0; }
  .track-step { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; position: relative; opacity: 0.35; transition: opacity 0.4s ease; }
  .track-step.done { opacity: 1; }
  .track-step:not(:last-child)::after { content: ''; position: absolute; left: 7px; top: 26px; width: 2px; height: calc(100% - 10px); background: var(--gray-6); }
  .track-step.done:not(:last-child)::after { background: var(--white); }
  .step-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--gray-5); background: var(--gray-8); flex-shrink: 0; margin-top: 2px; transition: background 0.4s, border-color 0.4s; z-index: 1; }
  .track-step.done .step-dot { background: var(--white); border-color: var(--white); }
  .step-text { display: flex; flex-direction: column; gap: 1px; }
  .step-text strong { font-size: 0.875rem; font-weight: 600; }
  .step-text span { font-size: 0.775rem; color: var(--gray-4); }

  /* ============================================================
    TOAST
  ============================================================ */
  .toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    color: var(--black);
    padding: 12px 24px;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2000;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    white-space: nowrap;
  }

  .toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  /* ============================================================
    ANIMATIONS
  ============================================================ */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  @keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ============================================================
    RESPONSIVE
  ============================================================ */
  @media (max-width: 900px) {
    .features-strip { grid-template-columns: repeat(2, 1fr); }
    .cart-layout    { grid-template-columns: 1fr; }
    .hero           { flex-direction: column; text-align: center; padding: 40px 0 32px; }
    .dish-circle    { width: 160px; height: 160px; font-size: 72px; }
    .cart-summary-card { position: static; }
  }

  @media (max-width: 600px) {
    .navbar { padding: 0 14px; }
    .nav-link { padding: 8px 10px; font-size: 0.8rem; }
    .navbar-brand { font-size: 1.2rem; }
    .page-content { padding: 24px 16px 48px; }
    .auth-form { padding: 28px 20px; }
    .features-strip { grid-template-columns: 1fr; }
    .menu-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
    .modal-box { padding: 24px 18px; }
    .cart-item { flex-wrap: wrap; }
    .cart-item-total { width: 100%; text-align: left; }
  }
