* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f3ed;
    color: #1f1f1f;
  }
  
  .site-header {
    background: #111;
    color: white;
    padding: 18px 20px;
  }
  
  .header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
  }
  
  .site-header h1 {
    margin: 0;
    font-size: 30px;
    color: #ffcc33;
  }
  
  .site-header p {
    margin: 6px 0 0;
    color: #ddd;
  }
  
  .header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .small-btn {
    padding: 10px 14px;
    border-radius: 999px;
    background: #2b2b2b;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #444;
  }
  
  .small-btn.primary {
    background: #ffcc33;
    color: #111;
    border-color: #ffcc33;
  }
  
  .hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffcc33, #ff7a1a);
    color: #111;
  }
  
  .hero h2 {
    margin: 0;
    font-size: 42px;
  }
  
  .hero p {
    max-width: 650px;
    margin: 14px auto 0;
    font-size: 18px;
  }
  
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
  }
  
  .section-title {
    font-size: 30px;
    margin: 0 0 20px;
  }
  
  .hero-order-btn,
  .submit-btn {
    display: inline-block;
    border: none;
    border-radius: 12px;
    padding: 14px 22px;
    background: #111;
    color: white;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
  }
  
  .submit-btn:hover,
  .small-btn:hover {
    opacity: 0.88;
  }
  
  .landing-menu {
    display: grid;
    gap: 14px;
  }
  
  .landing-menu-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  }
  
  .landing-menu-item h3 {
    margin: 0 0 6px;
    font-size: 20px;
  }
  
  .landing-menu-item p {
    margin: 0;
    color: #666;
    line-height: 1.4;
  }
  
  .landing-menu-item strong {
    white-space: nowrap;
    font-size: 18px;
    color: #d35400;
  }
  
  .category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  
  .tab-btn {
    border: none;
    padding: 12px 16px;
    border-radius: 999px;
    background: #ddd;
    cursor: pointer;
    font-weight: bold;
  }
  
  .tab-btn.active {
    background: #111;
    color: white;
  }
  
  .layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
  }
  
  .menu-grid {
    display: grid;
    gap: 16px;
  }
  
  .menu-card {
    background: white;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  }
  
  .menu-card h3 {
    margin: 0 0 8px;
  }
  
  .menu-card p {
    color: #666;
    margin: 0 0 12px;
  }
  
  .menu-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .add-btn {
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    background: #ffcc33;
    font-weight: bold;
    cursor: pointer;
  }
  
  .cart {
    background: white;
    border-radius: 18px;
    padding: 20px;
    position: sticky;
    top: 20px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  }
  
  .cart h2 {
    margin-top: 0;
  }
  
  .cart-empty {
    color: #777;
    padding: 12px 0;
  }
  
  .cart-total {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-weight: bold;
  }
  
  .cart-total.muted {
    color: #666;
    font-weight: normal;
  }
  
  .grand-total {
    font-size: 20px;
    border-top: 1px solid #ddd;
    padding-top: 12px;
  }
  
  .clear-btn {
    margin-top: 10px;
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 12px;
    background: #eee;
    cursor: pointer;
    font-weight: bold;
  }
  
  .cart .submit-btn {
    margin-top: 18px;
    width: 100%;
  }
  
  footer {
    text-align: center;
    padding: 22px;
    background: #111;
    color: #ddd;
    margin-top: 30px;
  }
  
  @media (max-width: 800px) {
    .header-inner,
    .layout,
    .landing-menu-item {
      display: block;
    }
  
    .header-actions {
      margin-top: 15px;
    }
  
    .hero h2 {
      font-size: 32px;
    }
  
    .cart {
      position: static;
      margin-top: 20px;
    }
  
    .landing-menu-item strong {
      display: block;
      margin-top: 10px;
    }
  }
  .kds-screen {
    height: calc(100vh - 90px);
    display: grid;
    grid-template-columns: 90px 1fr;
    background: #5b5b5b;
  }
  
  .kds-sidebar {
    background: #f7f7f7;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .kds-count {
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 10px 6px;
  }
  
  .kds-count strong {
    display: block;
    font-size: 28px;
  }
  
  .kds-count span {
    font-size: 11px;
    font-weight: bold;
  }
  
  .kds-sidebar button {
    border: none;
    border-radius: 10px;
    padding: 10px 6px;
    background: white;
    font-weight: bold;
    cursor: pointer;
  }
  
  .kds-board {
    padding: 12px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 260px;
    gap: 12px;
    overflow-x: auto;
    align-items: start;
  }
  
  .kds-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  }
  
  .kds-card-header {
    padding: 8px;
    background: #88d96c;
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }
  
  .kds-card-header h3 {
    margin: 0;
    font-size: 15px;
  }
  
  .kds-card-header p {
    margin: 2px 0 0;
    font-size: 11px;
  }
  
  .kds-card.pending .kds-card-header {
    background: #f6d04d;
  }
  
  .kds-card.preparing .kds-card-header {
    background: #8edb75;
  }
  
  .kds-card.ready .kds-card-header {
    background: #79c8ff;
  }
  
  .kds-info {
    padding: 8px;
    font-size: 12px;
  }
  
  .kds-info p {
    margin: 3px 0;
  }
  
  .kds-items {
    padding: 0 10px 10px 24px;
    margin: 0;
    font-size: 14px;
  }
  
  .kds-items li {
    margin-bottom: 8px;
  }
  
  .kds-items small {
    display: block;
    color: #267a74;
    font-size: 12px;
    margin-left: 0;
    line-height: 1.35;
  }
  
  .kds-notes {
    margin: 8px;
    padding: 8px;
    background: #fff0c2;
    border-radius: 8px;
    font-size: 12px;
  }
  
  .kds-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 8px;
  }
  
  .kds-actions button {
    border: none;
    border-radius: 6px;
    padding: 8px 4px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .status-pill,
  .payment-pill {
    font-size: 10px;
    padding: 4px 6px;
  }
  
  .kds-card.needs-payment {
    outline: 4px solid #e74c3c;
  }
  
  .kds-card.paid-online {
    outline: 4px solid #2ecc71;
  }
  .status-pill {
    background: #111;
    color: white;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: bold;
  }
  
  .kds-info {
    margin-top: 15px;
    font-size: 15px;
  }
  
  .kds-info p {
    margin: 6px 0;
  }
  
  .kds-items {
    margin: 18px 0;
    padding-left: 20px;
    font-size: 18px;
  }
  
  .kds-items li {
    margin-bottom: 8px;
  }
  
  .kds-notes {
    background: #f6f3ed;
    padding: 12px;
    border-radius: 12px;
  }
  
  .kds-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .kds-actions button {
    border: none;
    border-radius: 10px;
    padding: 11px 8px;
    cursor: pointer;
    font-weight: bold;
  }
  
  .kds-actions button:nth-child(1) {
    background: #ffcc33;
  }
  
  .kds-actions button:nth-child(2) {
    background: #2ecc71;
    color: white;
  }
  
  .kds-actions button:nth-child(3) {
    background: #111;
    color: white;
  }
  .form-label {
    display: block;
    margin-top: 14px;
    font-weight: bold;
  }
  
  .form-label input,
  .form-label select,
  .form-label textarea {
    width: 100%;
    margin-top: 6px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
  }
  
  .cart-line {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }
  
  .qty-controls {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  
  .qty-controls button {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: #ffcc33;
    font-weight: bold;
    cursor: pointer;
  }
  .confirmation-card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: auto;
    text-align: center;
  }
  
  .confirmation-items {
    text-align: left;
    margin: 20px 0;
    padding-left: 20px;
  }
  
  .confirmation-items li {
    margin-bottom: 8px;
  }
  
  .confirmation-total {
    font-size: 20px;
    margin-top: 15px;
  }
  
  .confirmation-actions {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 12px;
  }
  .track-card {
    max-width: 600px;
    margin: auto;
  }
  
  .track-result {
    margin-top: 25px;
  }
  
  .tracked-order {
    background: #f6f3ed;
    padding: 20px;
    border-radius: 14px;
    margin-top: 15px;
  }
  
  .track-message {
    margin-top: 15px;
    font-weight: bold;
  }
  
  .error-text {
    color: #c0392b;
    font-weight: bold;
  }
  .menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .menu-card {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.09);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
  }
  
  .menu-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
  }
  
  .menu-card-body {
    padding: 0;
  }
  
  .menu-card-body h3 {
    margin-bottom: 6px;
    font-size: 18px;
  }
  
  .menu-card-body p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    min-height: 34px;
  }
  
  .menu-card-body strong {
    display: block;
    font-weight: bold;
    color: #d71920;
    margin-bottom: 10px;
  }
  
  .menu-card-action {
    margin-top: 10px;
  }
  
  .modifier {
    margin: 10px 0;
  }
  
  .modifier label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin: 10px 0 6px;
  }
  
  .touch-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }
  
  .touch-option {
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 10px 5px;
    background: #f8f8f8;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
  }
  
  .touch-option.active {
    background: #d71920;
    color: white;
    border-color: #d71920;
  }
  
  .add-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    background: linear-gradient(135deg,#d71920,#ff7a00);
    color: white;
    box-shadow: 0 8px 18px rgba(215,25,32,0.22);
  }
  
  @media (max-width: 900px) {
    .menu-grid {
      grid-template-columns: 1fr;
    }
  }
  .landing-menu-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  }
  
  .landing-menu-img {
    width: 120px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #eee;
  }
  
  .landing-menu-content h3 {
    margin: 0 0 6px;
  }
  
  .landing-menu-content p {
    margin: 0;
    color: #666;
  }
  
  @media (max-width: 700px) {
    .landing-menu-item {
      grid-template-columns: 1fr;
    }
  
    .landing-menu-img {
      width: 100%;
      height: 180px;
    }
  }
  
/* Mobile checkout/menu fixes */
@media (max-width: 700px) {
  .menu-img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .cart-line {
    grid-template-columns: 1fr;
  }

  .qty-controls {
    justify-content: flex-start;
  }
}
/* 🔴 PAYMENT REQUIRED */
.kds-card.needs-payment {
  border: 4px solid #e74c3c;
  border-left: 10px solid #e74c3c;
}

/* 🟢 PAID ONLINE */
.kds-card.paid-online {
  border: 4px solid #2ecc71;
  border-left: 10px solid #2ecc71;
}

/* PAYMENT LABEL */
.payment-pill {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
}

.payment-pill.needs-payment {
  background: #e74c3c;
  color: white;
}

.payment-pill.paid-online {
  background: #2ecc71;
  color: white;
}
.kds-items small {
    display: block;
    margin-left: 24px;
    color: #444;
    font-size: 14px;
    line-height: 1.4;
  }
  /* REAL KDS MONITOR STYLE */
.kds-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 14px;
  padding: 16px;
  background: #111;
  min-height: calc(100vh - 160px);
}

.kds-column {
  background: #1b1b1b;
  border-radius: 14px;
  padding: 10px;
  min-height: 500px;
}

.kds-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-weight: bold;
}

.pending-column .kds-column-header {
  background: #d71920;
}

.preparing-column .kds-column-header {
  background: #ff8c00;
}

.ready-column .kds-column-header {
  background: #149447;
}

.kds-column-header h3 {
  margin: 0;
  font-size: 18px;
}

.kds-column-header span {
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 4px 10px;
}

.kds-card {
  background: white;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.kds-ticket-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
}

.kds-ticket-top h3 {
  margin: 0;
  font-size: 26px;
}

.kds-ticket-top p {
  margin: 6px 0 0;
  font-weight: bold;
}

.kds-ticket-top span {
  font-size: 13px;
}

.payment-banner {
  padding: 9px;
  text-align: center;
  font-weight: bold;
  color: white;
}

.payment-banner.needs-payment {
  background: #d71920;
}

.payment-banner.paid-online {
  background: #149447;
}

.kds-info {
  padding: 10px 12px;
  font-size: 13px;
}

.kds-info p {
  margin: 4px 0;
}

.kds-items {
  margin: 0;
  padding: 0 12px 10px 28px;
}

.kds-items li {
  margin-bottom: 10px;
  font-size: 15px;
}

.kds-item-options small {
  display: block;
  color: #006b5f;
  margin-left: 18px;
  line-height: 1.35;
}

.kds-notes {
  margin: 8px 12px;
  padding: 10px;
  background: #fff3cd;
  border-radius: 8px;
  font-size: 13px;
}

.kds-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 10px;
  background: #f4f4f4;
}

.kds-actions button {
  border: none;
  border-radius: 8px;
  padding: 9px 6px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}

.kds-actions button:nth-child(1) {
  background: #eee;
}

.kds-actions button:nth-child(2) {
  background: #ff8c00;
  color: white;
}

.kds-actions button:nth-child(3) {
  background: #149447;
  color: white;
}

.kds-actions button:last-child {
  background: #111;
  color: white;
}

.kds-empty-column {
  color: #aaa;
  padding: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .kds-board {
    grid-template-columns: 1fr;
  }
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 25px;
  }
  
  .dashboard-card {
    display: block;
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.08);
    transition: 0.2s ease;
  }
  
  .dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  }
  
  .dashboard-card h3 {
    margin-bottom: 8px;
  }
  
  .dashboard-card p {
    color: #666;
  }
  
  .small-btn.danger {
    background: #b91c1c;
    color: white;
    border: none;
    cursor: pointer;
  }
  .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .checkbox-label input {
    width: auto;
  }
  .employee-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  
  .employee-row:last-child {
    border-bottom: none;
  }
  .order-card {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    background: #fff;
  }
  
  .order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  
  .order-body {
    margin-bottom: 10px;
  }
  
  .order-item {
    padding: 4px 0;
  }
  
  .order-footer {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 10px;
    font-size: 14px;
  }
  
  .status {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    text-transform: capitalize;
  }
  
  .status.pending {
    background: #facc15;
  }
  
  .status.completed {
    background: #22c55e;
    color: white;
  }