
    :root{
      --bg:#fbf6f1;
      --panel:#fffaf5;
      --accent:#5b3a25;     
      --accent-2:#b87b4a;  
      --muted:#7b6a5a;
      --glass: rgba(255,255,255,0.8);
      --success:#2ea46a;
      --danger:#d9534f;
      font-family: "Noto Kufi English", "Segoe UI", Tahoma, Arial, sans-serif;
    }
    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0;
      background:
        radial-gradient(800px 400px at 10% 10%, rgba(184,123,74,0.06), transparent 10%),
        linear-gradient(180deg, var(--bg) 0%, #fff 100%);
      color:var(--muted);
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
      padding: 20px;
      display:flex;
      align-items:flex-start;
      justify-content:center;
    }

    
    #landingPage {
        position: fixed;
        inset: 0;
        background-size: contain;
        background-position: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        text-align: center;
        color: white;
        transition: opacity 0.5s ease;
        
    }
    #landingPage::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4); 
        z-index: 1;
    }
    #landingPage > * {
        z-index: 2;
    }
    .landing-title {
        font-size: 48px;
        font-weight: 900;
        color: white;
        margin-bottom: 10px;
    }
    .landing-subtitle {
        font-size: 20px;
        font-weight: 300;
        margin-bottom: 40px;
        color: rgba(255, 255, 255, 0.8);
    }
    .start-btn {
        padding: 15px 30px;
        border-radius: 10px;
        border: none;
        background: var(--accent-2);
        color: white;
        font-size: 18px;
        font-weight: 800;
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease;
    }
    .start-btn:hover {
        background: var(--accent);
        transform: translateY(-2px);
    }
    .app.hidden { display: none; }

      /*container*/.app{

      width:100%;
      max-width:1180px;
      background:linear-gradient(180deg,var(--panel),#fff);
      border-radius:14px;
      box-shadow:0 20px 50px rgba(43,27,17,0.08);
      overflow:hidden;
      display:grid;
      grid-template-columns: 1fr;
      gap:18px;
      padding:18px;
      align-items:start;
    }

    .main-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    header{
      grid-column:1/-1;
      display:flex;
      gap:14px;
      align-items:center;
    }
    
    .logo-box{
      width:76px;height:76px;border-radius:12px;
      background:linear-gradient(135deg,var(--accent),var(--accent-2));
      display:flex;align-items:center;justify-content:center;
      box-shadow:0 10px 30px rgba(107,66,38,0.12);
      color:#fff;
    }
    .logo-box img{
        width: 100%; height: 100%; object-fit: contain; padding: 5px;
        filter:drop-shadow(0 4px 8px rgba(0,0,0,0.08));
    }


    h1{margin:0;font-size:20px;color:var(--accent)}
    .subtitle{font-size:13px;color:#8b7667}

    
    .left{
      padding:8px;
    }

    .sections{
      display:flex;
      gap:8px;
      flex-wrap:wrap;
      margin-bottom:12px;
      align-items:center;
    }
    .section-btn{
      padding:8px 12px;border-radius:12px;border:1px solid rgba(91,58,37,0.08);
      background:transparent;color:var(--accent);font-weight:700;
      cursor:pointer;transition:transform .12s ease, box-shadow .12s ease;
    }
    .section-btn:hover{ transform:translateY(-3px) }
    .section-btn.active{
      background:linear-gradient(90deg, rgba(184,123,74,0.14), rgba(91,58,37,0.06));
      box-shadow:0 8px 24px rgba(107,66,38,0.06);
      border-color:rgba(91,58,37,0.18);
    }

    .search-row{display:flex;gap:8px;align-items:center;margin-bottom:8px}
    .search{
      flex:1;padding:10px;border-radius:10px;border:0;background:#fff;
      box-shadow:0 8px 20px rgba(107,66,38,0.04);
      font-size:14px;color:var(--muted);
    }
    .menu-grid{
      display:grid;
      grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
      gap:12px;
    }
    .item{
      background:linear-gradient(180deg,#fff,#fff7f2);
      padding:8px; 
      border-radius:12px;border:1px solid rgba(91,58,37,0.03);
      box-shadow:0 10px 20px rgba(107,66,38,0.03);
      display:flex;flex-direction:column;gap:8px;
      transition:transform .12s ease, box-shadow .12s ease;
      cursor:pointer;
    }
    .item:hover{ transform:translateY(-6px); box-shadow:0 20px 40px rgba(107,66,38,0.06); }
    .item h3{margin:0;font-size:15px;color:var(--accent)}
    .price{font-weight:800;color:var(--accent-2)}
    .muted-small{font-size:13px;color:#8b7667}
    .controls{display:flex;gap:8px;align-items:center;margin-top:6px}
    .btn{
      padding:8px 12px;border-radius:10px;border:0;cursor:pointer;
      background:var(--accent);color:#fff;font-weight:800;
      box-shadow:0 8px 20px rgba(91,58,37,0.06);
    }
    .btn.secondary{
      background:transparent;border:1px solid rgba(91,58,37,0.08);color:var(--accent);
      font-weight:700;
    }
    .small{
      padding:6px 8px;border-radius:8px;border:0;background:#fff;color:var(--muted);
      box-shadow:0 6px 14px rgba(0,0,0,0.04);
    }

    
    
    
    .item-image-box {
        width: 100%;
        height: 200px; 
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 0px; 
        box-shadow: 0 4px 10px rgba(91,58,37,0.1);
        background-color: #f7f0e7; 
      
    }
    .item-image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        transition: transform 0.3s ease;
        margin: 4px;
    }
    .item:hover .item-image-box img {
        transform: scale(1.05); 
    }
    


    
    .bottom-sections{
        grid-column: 1/-1;
        padding: 8px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 18px;
        margin-top: 18px;
        border-top: 1px dashed rgba(91,58,37,0.04);
    }

    .cart{
      background:linear-gradient(180deg,#fff,#fff9f5);
      padding:12px;border-radius:12px;min-height:260px;
      box-shadow:inset 0 -6px 20px rgba(184,123,74,0.02);
    }
    .cart h3{margin:0;color:var(--accent)}
    .cart-list{display:flex;flex-direction:column;gap:8px;max-height:320px;overflow:auto;padding-right:6px;margin-top:8px}
    .cart-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;border-radius:10px;background:rgba(91,58,37,0.03)}
    .cart-row .name{font-weight:800;color:var(--accent)}
    .qty-controls{display:flex;gap:6px;align-items:center}
    .grand{margin-top:10px;padding-top:10px;border-top:1px dashed rgba(91,58,37,0.04)}
    .totals{display:flex;justify-content:space-between;color:var(--muted);margin-top:6px}
    .pay-row{display:flex;gap:8px;margin-top:10px}
    .pay-btn{flex:1;padding:12px;border-radius:12px;background:var(--accent);color:#fff;font-weight:900;cursor:pointer}

    .kitchen{
      background:linear-gradient(180deg,#fff,#fff7f0);
      padding:12px;border-radius:12px;min-height:180px;
      box-shadow:0 12px 30px rgba(107,66,38,0.03);
    }
    .kitchen h3{margin:0;color:var(--accent)}
    .orders{display:flex;flex-direction:column;gap:10px;max-height:320px;overflow:auto;padding-right:6px;margin-top:8px}
    .order-card{background:#fff;padding:10px;border-radius:10px;border-left:6px solid rgba(91,58,37,0.05);display:flex;flex-direction:column;gap:8px}
    .order-meta{display:flex;justify-content:space-between;align-items:center}
    .badge{padding:6px 8px;border-radius:8px;font-weight:700}

   
    .overlay{position:fixed;inset:0;background:rgba(0,0,0,0.45);display:flex;align-items:center;justify-content:center;z-index:9999}
    .modal{background:linear-gradient(180deg,#fff,#fff9f5);padding:18px;border-radius:14px;width:95%;max-width:820px;box-shadow:0 30px 80px rgba(0,0,0,0.25)}
    .modal h2{margin:0 0 10px 0;color:var(--accent)}
    .receipt{background:linear-gradient(180deg,#fff,#fff7f0);padding:12px;border-radius:10px;border:1px solid rgba(91,58,37,0.03)}

    .qr{display:flex;gap:12px;align-items:center}
    .muted{color:#8b7667;font-size:13px}
    
    
    .toast {
      position: fixed; top: 20px; right: 20px; background-color: var(--success); color: white;
      padding: 10px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      z-index: 10000; opacity: 0; transition: opacity 0.3s ease-in-out;
    }
    .toast.show { opacity: 1; }

    footer{grid-column:1/-1;margin-top:6px;text-align:center;color:#9b8a7c;font-size:13px}

    
    @media (max-width:980px){
      .app{grid-template-columns:1fr;padding:14px}
      .bottom-sections{grid-template-columns: 1fr;}
    }
  