:root {
  --brand: #c0392b;
  --brand-dark: #922b21;
}

body {
  background: #f4f3ef;
}

.app-navbar {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}
.app-navbar .nav-link {
  color: rgba(255,255,255,.9);
}
.app-navbar .nav-link:hover,
.app-navbar .navbar-brand {
  color: #fff;
}

.card {
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* ---------------- POS Screen ---------------- */
.pos-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1rem;
}
@media (max-width: 991px) {
  .pos-wrapper { grid-template-columns: 1fr; }
}

.quick-product-btn {
  min-height: 96px;
  text-align: left;
  white-space: normal;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
.quick-product-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.quick-product-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(0,0,0,.05);
}
.quick-product-name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
  line-height: 1.15;
}
.quick-product-btn .rate {
  flex-basis: 100%;
  font-size: .78rem;
  opacity: .8;
}

.cart-table td, .cart-table th {
  vertical-align: middle;
}

.weight-pad {
  font-size: 1.4rem;
  font-weight: 700;
}

.pay-btn.active {
  outline: 3px solid #222;
}

/* ---------------- Print bill ---------------- */
@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
  .bill-58mm { width: 58mm; }
  .bill-80mm { width: 80mm; }
}
.bill-print {
  font-family: 'Courier New', monospace;
  margin: 0 auto;
  background: #fff;
  padding: 6px;
}
.bill-print hr { border-top: 1px dashed #000; }
.bill-print table { width: 100%; font-size: 12px; }
.bill-print .center { text-align: center; }
.bill-print .right { text-align: right; }
.bill-print .bold { font-weight: 700; }
