/* ===========================================================
   CREOVEX CLOUD POS — PREMIUM FUTURISTIC DARK THEME
   pos-style.css  |  Local-First SaaS · IndexedDB · Offline
   =========================================================== */

/* ---- Design Tokens ---- */
:root {
  --pos-bg:          #080c14;
  --pos-bg-deep:     #050810;
  --pos-bg-card:     rgba(255, 255, 255, 0.030);
  --pos-bg-card-hov: rgba(255, 255, 255, 0.055);
  --pos-sidebar-w:   240px;
  --pos-cart-w:      340px;

  --pos-cyan:        #00F2FE;
  --pos-cyan-dark:   #00b8cc;
  --pos-purple:      #4FACFE;
  --pos-purple-dark: #3a8be0;
  --pos-green:       #00e676;
  --pos-gold:        #ffd740;
  --pos-red:         #ff6b6b;

  --pos-border:      rgba(0, 242, 254, 0.08);
  --pos-border-hov:  rgba(0, 242, 254, 0.25);
  --pos-text:        #e8f0ff;
  --pos-text-muted:  rgba(232, 240, 255, 0.45);
  --pos-text-dim:    rgba(232, 240, 255, 0.25);

  --pos-glass:       rgba(255, 255, 255, 0.030);
  --pos-glass-blur:  blur(20px) saturate(180%);
  --pos-glow-cyan:   0 0 24px rgba(0, 242, 254, 0.20), 0 0 60px rgba(0, 242, 254, 0.07);
  --pos-glow-purple: 0 0 24px rgba(79, 172, 254, 0.20), 0 0 60px rgba(79, 172, 254, 0.07);

  --pos-radius-sm:   8px;
  --pos-radius-md:   14px;
  --pos-radius-lg:   20px;
  --pos-radius-xl:   28px;

  --pos-transition:  all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --pos-font-mono:   'JetBrains Mono', 'Courier New', monospace;
  --pos-font-body:   'Inter', 'Space Grotesk', sans-serif;
}

/* ===========================================================
   BODY & SHELL OVERRIDES
   =========================================================== */
.pos-body {
  background: var(--pos-bg) !important;
  font-family: var(--pos-font-body);
  color: var(--pos-text);
  overflow-x: hidden;
}

/* Push content below fixed navbar */
.pos-app-shell {
  display: flex;
  min-height: 100vh;
  padding-top: 72px; /* navbar height */
  background: var(--pos-bg);
  position: relative;
}

/* Background animated grid pattern */
.pos-app-shell::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ===========================================================
   SIDEBAR
   =========================================================== */
.pos-sidebar {
  width: var(--pos-sidebar-w);
  min-height: calc(100vh - 72px);
  background: rgba(8, 12, 20, 0.92);
  backdrop-filter: var(--pos-glass-blur);
  border-right: 1px solid var(--pos-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 72px;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
  scrollbar-width: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pos-sidebar::-webkit-scrollbar { display: none; }

/* Brand Block */
.pos-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--pos-border);
}
.pos-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--pos-radius-sm);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(79, 172, 254, 0.10));
  border: 1px solid rgba(0, 242, 254, 0.20);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--pos-cyan);
  box-shadow: var(--pos-glow-cyan);
  flex-shrink: 0;
}
.pos-brand-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pos-text);
  letter-spacing: 0.5px;
}
.pos-brand-tag {
  display: block;
  font-size: 0.65rem;
  color: var(--pos-cyan);
  font-family: var(--pos-font-mono);
  letter-spacing: 0.8px;
  opacity: 0.8;
}

/* Sidebar Nav */
.pos-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pos-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--pos-radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--pos-text-muted);
  font-family: var(--pos-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--pos-transition);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.pos-nav-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--pos-cyan);
  opacity: 0;
  transform: scaleY(0);
  transition: var(--pos-transition);
}
.pos-nav-item:hover {
  background: var(--pos-bg-card-hov);
  color: var(--pos-text);
  border-color: var(--pos-border);
}
.pos-nav-item.active {
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.10), rgba(79, 172, 254, 0.05));
  border-color: rgba(0, 242, 254, 0.18);
  color: var(--pos-cyan);
  box-shadow: inset 0 1px 0 rgba(0, 242, 254, 0.06);
}
.pos-nav-item.active::before {
  opacity: 1;
  transform: scaleY(1);
}
.pos-nav-icon {
  width: 22px;
  text-align: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.pos-nav-label { flex: 1; }
.pos-nav-badge {
  background: var(--pos-cyan);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  min-width: 20px;
  text-align: center;
}

/* Sidebar Footer */
.pos-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--pos-border);
}
.pos-db-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.pos-db-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #666;
  flex-shrink: 0;
  transition: var(--pos-transition);
}
.pos-db-dot.online { background: var(--pos-green); box-shadow: 0 0 8px rgba(0, 230, 118, 0.6); animation: dbPulse 2s ease-in-out infinite; }
.pos-db-dot.error  { background: var(--pos-red); }
@keyframes dbPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.pos-db-label {
  font-size: 0.72rem;
  color: var(--pos-text-muted);
  font-family: var(--pos-font-mono);
}
.pos-storage-info {
  font-size: 0.68rem;
  color: var(--pos-text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--pos-font-mono);
}

/* ===========================================================
   MAIN CONTENT AREA
   =========================================================== */
.pos-main {
  flex: 1;
  margin-left: var(--pos-sidebar-w);
  min-height: calc(100vh - 72px);
  position: relative;
  z-index: 1;
}

/* Tab visibility */
.pos-tab { display: none; }
.pos-tab.active { display: flex; flex-direction: column; }

/* Tab headers */
.pos-tab-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--pos-border);
}
.pos-tab-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pos-text);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px;
}
.pos-tab-title i { color: var(--pos-cyan); }
.pos-tab-subtitle {
  font-size: 0.85rem;
  color: var(--pos-text-muted);
  margin: 0;
}

/* ===========================================================
   POS TERMINAL LAYOUT
   =========================================================== */
.pos-terminal-layout {
  display: grid;
  grid-template-columns: 1fr var(--pos-cart-w);
  height: calc(100vh - 72px);
  overflow: hidden;
}

/* ---- Center: Billing Grid ---- */
.pos-billing-area {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 24px;
  gap: 20px;
  border-right: 1px solid var(--pos-border);
}

/* Search Bar */
.pos-search-wrap { position: relative; }
.pos-search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--pos-glass);
  border: 1.5px solid var(--pos-border);
  border-radius: var(--pos-radius-md);
  overflow: hidden;
  transition: var(--pos-transition);
  backdrop-filter: var(--pos-glass-blur);
}
.pos-search-bar:focus-within {
  border-color: var(--pos-cyan);
  box-shadow: var(--pos-glow-cyan);
}
.pos-search-icon {
  padding: 0 16px;
  color: var(--pos-cyan);
  font-size: 1rem;
  flex-shrink: 0;
  animation: scanPulse 1.5s ease-in-out infinite;
}
@keyframes scanPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.pos-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--pos-text);
  font-family: var(--pos-font-mono);
  font-size: 0.95rem;
  padding: 14px 0;
  letter-spacing: 0.3px;
}
.pos-search-input::placeholder { color: var(--pos-text-dim); }
.pos-search-btn {
  padding: 14px 18px;
  background: rgba(0, 242, 254, 0.12);
  border: none;
  border-left: 1px solid var(--pos-border);
  color: var(--pos-cyan);
  cursor: pointer;
  transition: var(--pos-transition);
  font-size: 0.95rem;
}
.pos-search-btn:hover { background: rgba(0, 242, 254, 0.22); }

/* Search Dropdown */
.pos-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: rgba(10, 15, 26, 0.97);
  border: 1px solid var(--pos-border-hov);
  border-radius: var(--pos-radius-md);
  backdrop-filter: var(--pos-glass-blur);
  z-index: 200;
  overflow: hidden;
  display: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.pos-search-dropdown.open { display: block; }
.pos-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  cursor: pointer;
  transition: var(--pos-transition);
  border-bottom: 1px solid var(--pos-border);
}
.pos-dropdown-item:last-child { border-bottom: none; }
.pos-dropdown-item:hover { background: rgba(0, 242, 254, 0.08); }
.pos-dropdown-name { font-size: 0.9rem; font-weight: 600; color: var(--pos-text); }
.pos-dropdown-barcode { font-size: 0.72rem; color: var(--pos-text-muted); font-family: var(--pos-font-mono); }
.pos-dropdown-price { font-size: 0.95rem; font-weight: 700; color: var(--pos-cyan); font-family: var(--pos-font-mono); flex-shrink: 0; }

/* Billing Header */
.pos-billing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pos-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pos-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pos-section-title i { color: var(--pos-purple); }
.pos-product-count {
  font-size: 0.75rem;
  color: var(--pos-text-dim);
  font-family: var(--pos-font-mono);
}

/* Product Grid */
.pos-product-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  overflow-y: auto;
  padding: 4px 2px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 242, 254, 0.2) transparent;
  align-content: start;
}
.pos-product-grid::-webkit-scrollbar { width: 4px; }
.pos-product-grid::-webkit-scrollbar-track { background: transparent; }
.pos-product-grid::-webkit-scrollbar-thumb { background: rgba(0, 242, 254, 0.15); border-radius: 4px; }

/* Product Card */
.pos-product-card {
  background: var(--pos-bg-card);
  border: 1px solid var(--pos-border);
  border-radius: var(--pos-radius-md);
  padding: 16px 14px;
  cursor: pointer;
  transition: var(--pos-transition);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  user-select: none;
}
.pos-product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.06), rgba(79, 172, 254, 0.03));
  opacity: 0;
  transition: var(--pos-transition);
}
.pos-product-card:hover {
  border-color: var(--pos-border-hov);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--pos-glow-cyan), 0 8px 24px rgba(0, 0, 0, 0.3);
}
.pos-product-card:hover::before { opacity: 1; }
.pos-product-card:active { transform: scale(0.97); }

/* Running border glow on hover */
.pos-product-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--pos-cyan), transparent);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 1px;
}
.pos-product-card:hover::after {
  opacity: 1;
  animation: borderRun 2s linear infinite;
}
@keyframes borderRun {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.pos-product-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pos-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pos-product-barcode {
  font-size: 0.62rem;
  color: var(--pos-text-dim);
  font-family: var(--pos-font-mono);
}
.pos-product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pos-cyan);
  font-family: var(--pos-font-mono);
  margin-top: 4px;
}
.pos-product-stock {
  font-size: 0.65rem;
  color: var(--pos-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.pos-product-stock.low { color: var(--pos-red); }
.pos-product-add-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 242, 254, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--pos-transition);
  border-radius: inherit;
}
.pos-product-card:hover .pos-product-add-overlay { opacity: 1; }
.pos-product-add-overlay i { font-size: 1.5rem; color: var(--pos-cyan); }

/* Empty States */
.pos-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
  color: var(--pos-text-muted);
  font-size: 0.9rem;
  width: 100%;
}
.pos-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid var(--pos-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--pos-text-dim);
}

/* ===========================================================
   CART PANEL (RIGHT)
   =========================================================== */
.pos-cart-panel {
  width: var(--pos-cart-w);
  height: calc(100vh - 72px);
  background: rgba(6, 9, 18, 0.95);
  backdrop-filter: var(--pos-glass-blur);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pos-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--pos-border);
}
.pos-cart-header h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pos-text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pos-cart-header h2 i { color: var(--pos-purple); }
.pos-clear-cart-btn {
  background: rgba(255, 107, 107, 0.10);
  border: 1px solid rgba(255, 107, 107, 0.20);
  color: var(--pos-red);
  border-radius: var(--pos-radius-sm);
  padding: 7px 10px;
  cursor: pointer;
  transition: var(--pos-transition);
  font-size: 0.8rem;
}
.pos-clear-cart-btn:hover { background: rgba(255, 107, 107, 0.20); border-color: var(--pos-red); }

/* Cart List */
.pos-cart-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 172, 254, 0.2) transparent;
}
.pos-cart-list::-webkit-scrollbar { width: 3px; }
.pos-cart-list::-webkit-scrollbar-thumb { background: rgba(79, 172, 254, 0.15); border-radius: 3px; }

.pos-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 10px;
  color: var(--pos-text-dim);
  font-size: 0.85rem;
}
.pos-cart-empty i { font-size: 2rem; opacity: 0.3; }

/* Cart Item */
.pos-cart-item {
  background: var(--pos-bg-card);
  border: 1px solid var(--pos-border);
  border-radius: var(--pos-radius-sm);
  padding: 10px 12px;
  display: grid;
  grid-template-areas:
    "name  name  remove"
    "qty   qty   price";
  grid-template-columns: auto 1fr auto;
  gap: 6px 8px;
  transition: var(--pos-transition);
  animation: cartItemIn 0.2s ease forwards;
}
@keyframes cartItemIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.pos-cart-item:hover { border-color: var(--pos-border-hov); background: var(--pos-bg-card-hov); }

.pos-ci-name {
  grid-area: name;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pos-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pos-ci-remove {
  grid-area: remove;
  background: none;
  border: none;
  color: var(--pos-text-dim);
  cursor: pointer;
  transition: var(--pos-transition);
  padding: 0;
  font-size: 0.75rem;
  line-height: 1;
}
.pos-ci-remove:hover { color: var(--pos-red); }
.pos-ci-qty-controls {
  grid-area: qty;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pos-ci-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.18);
  color: var(--pos-cyan);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: var(--pos-transition);
  flex-shrink: 0;
}
.pos-ci-qty-btn:hover { background: rgba(0, 242, 254, 0.20); }
.pos-ci-qty-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pos-text);
  min-width: 24px;
  text-align: center;
  font-family: var(--pos-font-mono);
}
.pos-ci-unit-price {
  font-size: 0.72rem;
  color: var(--pos-text-muted);
  white-space: nowrap;
}
.pos-ci-total-price {
  grid-area: price;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pos-cyan);
  font-family: var(--pos-font-mono);
  white-space: nowrap;
}

/* ===========================================================
   CART TOTALS
   =========================================================== */
.pos-cart-totals {
  padding: 14px 16px;
  border-top: 1px solid var(--pos-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pos-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--pos-text-muted);
}
.pos-total-row span:first-child { display: flex; align-items: center; gap: 6px; }
.pos-total-row span:last-child { font-family: var(--pos-font-mono); }
.pos-discount-row { align-items: center; }
.pos-discount-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--pos-border);
  border-radius: var(--pos-radius-sm);
  overflow: hidden;
}
.pos-discount-input {
  width: 52px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--pos-text);
  font-family: var(--pos-font-mono);
  font-size: 0.85rem;
  padding: 5px 8px;
  text-align: right;
}
.pos-discount-pct {
  padding: 5px 8px 5px 0;
  font-size: 0.78rem;
  color: var(--pos-text-muted);
}

/* Tax Toggle */
.pos-tax-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pos-toggle-label {
  position: relative;
  width: 36px;
  height: 20px;
  display: inline-block;
  cursor: pointer;
}
.pos-toggle-label input { opacity: 0; width: 0; height: 0; }
.pos-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  border: 1px solid var(--pos-border);
  transition: var(--pos-transition);
}
.pos-toggle-slider::after {
  content: '';
  position: absolute;
  left: 3px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--pos-text-muted);
  transition: var(--pos-transition);
}
.pos-toggle-label input:checked + .pos-toggle-slider {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--pos-cyan);
}
.pos-toggle-label input:checked + .pos-toggle-slider::after {
  left: calc(100% - 15px);
  background: var(--pos-cyan);
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.pos-total-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pos-border-hov), transparent);
  margin: 4px 0;
}
.pos-grand-total-row {
  font-size: 1rem !important;
  font-weight: 700;
  color: var(--pos-text) !important;
}
.pos-grand-total-value {
  font-size: 1.2rem !important;
  color: var(--pos-cyan) !important;
  font-weight: 800;
  text-shadow: 0 0 16px rgba(0, 242, 254, 0.4);
}

/* ===========================================================
   PAYMENT MODES
   =========================================================== */
.pos-payment-modes {
  padding: 12px 16px;
  border-top: 1px solid var(--pos-border);
}
.pos-payment-label {
  font-size: 0.72rem;
  color: var(--pos-text-dim);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}
.pos-payment-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pos-pay-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 6px;
  border-radius: var(--pos-radius-sm);
  border: 1.5px solid var(--pos-border);
  background: var(--pos-glass);
  color: var(--pos-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pos-transition);
  font-family: var(--pos-font-body);
}
.pos-pay-btn i { font-size: 1rem; }
.pos-pay-btn:hover { border-color: var(--pos-border-hov); color: var(--pos-text); }

.pos-pay-cash.active  { border-color: var(--pos-green); color: var(--pos-green); background: rgba(0, 230, 118, 0.08); box-shadow: 0 0 12px rgba(0, 230, 118, 0.15); }
.pos-pay-card.active  { border-color: var(--pos-purple); color: var(--pos-purple); background: rgba(79, 172, 254, 0.08); box-shadow: 0 0 12px rgba(79, 172, 254, 0.15); }
.pos-pay-qr.active    { border-color: var(--pos-gold); color: var(--pos-gold); background: rgba(255, 215, 64, 0.08); box-shadow: 0 0 12px rgba(255, 215, 64, 0.15); }

/* Payment Extras */
.pos-payment-extra {
  padding: 10px 16px;
  border-top: 1px solid var(--pos-border);
}
.pos-extra-group { margin-bottom: 8px; }
.pos-extra-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--pos-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.pos-extra-input {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--pos-border);
  border-radius: var(--pos-radius-sm);
  padding: 9px 12px;
  color: var(--pos-text);
  font-family: var(--pos-font-mono);
  font-size: 0.85rem;
  outline: none;
  transition: var(--pos-transition);
  box-sizing: border-box;
}
.pos-extra-input:focus {
  border-color: var(--pos-cyan);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.08);
}
.pos-change-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(0, 230, 118, 0.06);
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: var(--pos-radius-sm);
  font-size: 0.8rem;
}
.pos-change-display span { color: var(--pos-text-muted); }
.pos-change-display strong {
  color: var(--pos-green);
  font-family: var(--pos-font-mono);
  font-size: 0.92rem;
}

/* QR Display */
.pos-qr-display { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pos-qr-box {
  width: 120px;
  height: 120px;
  background: rgba(255, 215, 64, 0.06);
  border: 2px solid rgba(255, 215, 64, 0.20);
  border-radius: var(--pos-radius-md);
  display: flex; align-items: center; justify-content: center;
  animation: qrGlow 2s ease-in-out infinite alternate;
}
@keyframes qrGlow {
  0% { box-shadow: 0 0 10px rgba(255, 215, 64, 0.10); }
  100% { box-shadow: 0 0 24px rgba(255, 215, 64, 0.30); }
}
.pos-qr-placeholder { text-align: center; color: var(--pos-gold); }
.pos-qr-placeholder i { font-size: 2rem; display: block; margin-bottom: 4px; }
.pos-qr-placeholder p { font-size: 0.7rem; font-weight: 600; margin: 0; }
.pos-qr-placeholder small { font-size: 0.68rem; color: var(--pos-text-muted); font-family: var(--pos-font-mono); }
.pos-qr-hint { font-size: 0.68rem; color: var(--pos-text-muted); text-align: center; }

/* Checkout Button */
.pos-checkout-btn {
  margin: 10px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.20), rgba(79, 172, 254, 0.15));
  border: 1.5px solid rgba(0, 242, 254, 0.35);
  border-radius: var(--pos-radius-md);
  color: var(--pos-cyan);
  font-family: var(--pos-font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--pos-transition);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.pos-checkout-btn:hover {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.30), rgba(79, 172, 254, 0.25));
  box-shadow: var(--pos-glow-cyan), 0 4px 16px rgba(0,0,0,0.3);
  transform: translateY(-1px);
}
.pos-checkout-btn:active { transform: scale(0.98); }
.pos-checkout-btn i { font-size: 1.1rem; }

/* ===========================================================
   BUTTONS (Global POS Styles)
   =========================================================== */
.pos-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--pos-radius-sm);
  border: 1px solid transparent;
  font-family: var(--pos-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pos-transition);
  text-decoration: none;
  white-space: nowrap;
}
.pos-btn-primary {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.18), rgba(79, 172, 254, 0.12));
  border-color: rgba(0, 242, 254, 0.30);
  color: var(--pos-cyan);
}
.pos-btn-primary:hover {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.28), rgba(79, 172, 254, 0.20));
  box-shadow: var(--pos-glow-cyan);
  transform: translateY(-1px);
}
.pos-btn-outline {
  background: transparent;
  border-color: var(--pos-border-hov);
  color: var(--pos-text-muted);
}
.pos-btn-outline:hover { border-color: var(--pos-cyan); color: var(--pos-cyan); background: rgba(0, 242, 254, 0.05); }
.pos-btn-cyan {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.25);
  color: var(--pos-cyan);
}
.pos-btn-cyan:hover { background: rgba(0, 242, 254, 0.22); box-shadow: var(--pos-glow-cyan); }
.pos-btn-danger {
  background: rgba(255, 107, 107, 0.10);
  border-color: rgba(255, 107, 107, 0.25);
  color: var(--pos-red);
}
.pos-btn-danger:hover { background: rgba(255, 107, 107, 0.20); box-shadow: 0 0 16px rgba(255, 107, 107, 0.20); }

/* ===========================================================
   INVENTORY TABLE
   =========================================================== */
.pos-inventory-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 32px 16px;
  background: var(--pos-glass);
  border: 1px solid var(--pos-border);
  border-radius: var(--pos-radius-sm);
  padding: 0 16px;
  transition: var(--pos-transition);
}
.pos-inventory-search-wrap:focus-within { border-color: var(--pos-cyan); box-shadow: var(--pos-glow-cyan); }
.pos-inventory-search-wrap i { color: var(--pos-text-dim); }
.pos-inventory-search {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--pos-text);
  font-family: var(--pos-font-body);
  font-size: 0.9rem;
  padding: 12px 0;
}
.pos-inventory-search::placeholder { color: var(--pos-text-dim); }

.pos-inventory-table-wrap {
  margin: 0 32px 32px;
  background: var(--pos-glass);
  border: 1px solid var(--pos-border);
  border-radius: var(--pos-radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.pos-inventory-table {
  width: 100%;
  border-collapse: collapse;
}
.pos-inventory-table th {
  padding: 14px 18px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pos-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--pos-border);
  text-align: left;
  background: rgba(0,0,0,0.15);
  white-space: nowrap;
}
.pos-inventory-table td {
  padding: 13px 18px;
  font-size: 0.85rem;
  color: var(--pos-text);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  vertical-align: middle;
}
.pos-inventory-table tr:last-child td { border-bottom: none; }
.pos-inventory-table tbody tr { transition: var(--pos-transition); }
.pos-inventory-table tbody tr:hover { background: rgba(0, 242, 254, 0.03); }
.pos-inventory-empty-row td { padding: 0; }

.pos-table-price { font-family: var(--pos-font-mono); color: var(--pos-cyan); font-weight: 600; }
.pos-table-barcode { font-family: var(--pos-font-mono); font-size: 0.75rem; color: var(--pos-text-muted); }
.pos-table-stock { font-family: var(--pos-font-mono); font-weight: 600; }
.pos-table-stock.low { color: var(--pos-red); }
.pos-table-actions { display: flex; gap: 8px; align-items: center; }
.pos-action-btn {
  padding: 5px 10px;
  border-radius: var(--pos-radius-sm);
  border: 1px solid var(--pos-border);
  background: transparent;
  color: var(--pos-text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--pos-transition);
}
.pos-action-btn:hover { border-color: var(--pos-cyan); color: var(--pos-cyan); background: rgba(0, 242, 254, 0.06); }
.pos-action-btn.delete:hover { border-color: var(--pos-red); color: var(--pos-red); background: rgba(255, 107, 107, 0.06); }
.pos-action-btn.add-to-cart:hover { border-color: var(--pos-green); color: var(--pos-green); background: rgba(0, 230, 118, 0.06); }

/* ===========================================================
   SALES REPORTS / KPI CARDS
   =========================================================== */
.pos-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 24px 32px;
}
.pos-kpi-card {
  background: var(--pos-glass);
  border: 1px solid var(--pos-border);
  border-radius: var(--pos-radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--pos-transition);
  backdrop-filter: blur(10px);
}
.pos-kpi-card:hover { transform: translateY(-2px); border-color: var(--pos-border-hov); }
.pos-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--pos-radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.pos-kpi-icon.cyan   { background: rgba(0, 242, 254, 0.10); color: var(--pos-cyan); border: 1px solid rgba(0, 242, 254, 0.18); }
.pos-kpi-icon.purple { background: rgba(79, 172, 254, 0.10); color: var(--pos-purple); border: 1px solid rgba(79, 172, 254, 0.18); }
.pos-kpi-icon.green  { background: rgba(0, 230, 118, 0.10); color: var(--pos-green); border: 1px solid rgba(0, 230, 118, 0.18); }
.pos-kpi-icon.gold   { background: rgba(255, 215, 64, 0.10); color: var(--pos-gold); border: 1px solid rgba(255, 215, 64, 0.18); }
.pos-kpi-label {
  display: block;
  font-size: 0.72rem;
  color: var(--pos-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.pos-kpi-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pos-text);
  font-family: var(--pos-font-mono);
}

/* ===========================================================
   SETTINGS
   =========================================================== */
.pos-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 24px 32px 32px;
}
.pos-settings-card {
  background: var(--pos-glass);
  border: 1px solid var(--pos-border);
  border-radius: var(--pos-radius-xl);
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: var(--pos-transition);
}
.pos-settings-card:hover { border-color: var(--pos-border-hov); }
.pos-settings-card-future {
  border-color: rgba(79, 172, 254, 0.10);
  background: rgba(79, 172, 254, 0.02);
}
.pos-settings-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.pos-settings-card-header i {
  width: 36px;
  height: 36px;
  border-radius: var(--pos-radius-sm);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.14);
  color: var(--pos-cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.pos-settings-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pos-text);
  margin: 0;
  display: flex; align-items: center; gap: 10px;
}
.pos-coming-soon-badge {
  font-size: 0.6rem;
  background: rgba(79, 172, 254, 0.12);
  border: 1px solid rgba(79, 172, 254, 0.25);
  color: var(--pos-purple);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.pos-future-desc {
  font-size: 0.82rem;
  color: var(--pos-text-muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

.pos-form-group { margin-bottom: 16px; }
.pos-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pos-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 7px;
}
.pos-required { color: var(--pos-red); margin-left: 2px; }
.pos-form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--pos-border);
  border-radius: var(--pos-radius-sm);
  padding: 10px 14px;
  color: var(--pos-text);
  font-family: var(--pos-font-body);
  font-size: 0.88rem;
  outline: none;
  transition: var(--pos-transition);
  box-sizing: border-box;
}
.pos-form-input:focus { border-color: var(--pos-cyan); box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.08); }
.pos-form-input:disabled { opacity: 0.4; cursor: not-allowed; }
.pos-form-input::placeholder { color: var(--pos-text-dim); }
.pos-form-textarea { resize: vertical; min-height: 72px; }

/* Backup Section */
.pos-backup-section { display: flex; flex-direction: column; gap: 16px; }
.pos-backup-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: rgba(0, 230, 118, 0.04);
  border: 1px solid rgba(0, 230, 118, 0.12);
  border-radius: var(--pos-radius-sm);
}
.pos-backup-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 230, 118, 0.10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--pos-green);
  flex-shrink: 0;
  font-size: 1rem;
}
.pos-backup-info strong { font-size: 0.85rem; color: var(--pos-text); display: block; margin-bottom: 4px; }
.pos-backup-info p { font-size: 0.78rem; color: var(--pos-text-muted); margin: 0; line-height: 1.5; }
.pos-backup-actions { display: flex; flex-direction: column; gap: 10px; }
.pos-import-area {
  border: 2px dashed var(--pos-border);
  border-radius: var(--pos-radius-md);
  padding: 24px;
  text-align: center;
  color: var(--pos-text-dim);
  font-size: 0.82rem;
  transition: var(--pos-transition);
  cursor: pointer;
}
.pos-import-area i { font-size: 1.5rem; display: block; margin-bottom: 8px; color: var(--pos-text-dim); }
.pos-import-area:hover { border-color: var(--pos-cyan); color: var(--pos-cyan); background: rgba(0, 242, 254, 0.03); }

/* ===========================================================
   MODAL
   =========================================================== */
.pos-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 900;
}
.pos-modal-overlay.open { display: block; }
.pos-modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 480px;
  max-width: 94vw;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(10, 14, 24, 0.98);
  border: 1px solid var(--pos-border-hov);
  border-radius: var(--pos-radius-xl);
  backdrop-filter: var(--pos-glass-blur);
  z-index: 1000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), var(--pos-glow-cyan);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s;
}
.pos-modal.open {
  display: block;
  transform: translate(-50%, -50%) scale(1);
}
.pos-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 18px;
  border-bottom: 1px solid var(--pos-border);
}
.pos-modal-header h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pos-text);
  display: flex; align-items: center; gap: 10px;
  margin: 0;
}
.pos-modal-header h2 i { color: var(--pos-cyan); }
.pos-modal-close {
  background: none;
  border: none;
  color: var(--pos-text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--pos-transition);
}
.pos-modal-close:hover { color: var(--pos-text); background: rgba(255,255,255,0.06); }
.pos-modal-body { padding: 20px 24px; }
.pos-modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pos-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--pos-border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.pos-modal::-webkit-scrollbar { width: 4px; }
.pos-modal::-webkit-scrollbar-thumb { background: rgba(0, 242, 254, 0.15); border-radius: 4px; }

/* ===========================================================
   RECEIPT (Screen Hidden, Print Visible)
   =========================================================== */
.pos-receipt-wrapper {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.pos-receipt {
  width: 80mm;
  margin: 0 auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #000;
  background: #fff;
  padding: 8mm 4mm;
}
.pos-receipt-header { text-align: center; margin-bottom: 4mm; }
.pos-receipt-store-name { font-size: 14px; font-weight: bold; margin-bottom: 2mm; }
.pos-receipt-address, .pos-receipt-phone { font-size: 10px; }
.pos-receipt-divider { margin: 2mm 0; font-size: 10px; word-break: break-all; }
.pos-receipt-meta { display: flex; justify-content: space-between; font-size: 10px; }
.pos-receipt-items { margin-bottom: 2mm; }
.pos-receipt-item-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0 4px;
  font-size: 10px;
  padding: 1.5mm 0;
  border-bottom: 1px dashed #ccc;
}
.pos-receipt-item-qty { color: #555; }
.pos-receipt-item-price { text-align: right; }
.pos-receipt-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  padding: 1mm 0;
}
.pos-receipt-grand {
  font-size: 13px;
  font-weight: bold;
  border-top: 2px solid #000;
  padding-top: 2mm;
  margin-top: 1mm;
}
.pos-receipt-footer {
  text-align: center;
  margin-top: 4mm;
  font-size: 11px;
  font-style: italic;
}
.pos-receipt-powered {
  text-align: center;
  margin-top: 2mm;
  font-size: 9px;
  color: #aaa;
}
.pos-receipt-totals { padding: 0; }

/* ===========================================================
   TOAST NOTIFICATIONS
   =========================================================== */
.pos-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.pos-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(10, 15, 26, 0.97);
  border-radius: var(--pos-radius-md);
  border: 1px solid var(--pos-border);
  color: var(--pos-text);
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: var(--pos-glass-blur);
  animation: toastIn 0.3s ease forwards;
  pointer-events: all;
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.pos-toast.success { border-color: rgba(0, 230, 118, 0.30); }
.pos-toast.success i { color: var(--pos-green); }
.pos-toast.error { border-color: rgba(255, 107, 107, 0.30); }
.pos-toast.error i { color: var(--pos-red); }
.pos-toast.info { border-color: rgba(0, 242, 254, 0.25); }
.pos-toast.info i { color: var(--pos-cyan); }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(6px); }
}
.pos-toast.removing { animation: toastOut 0.3s ease forwards; }
.pos-toast-icon { flex-shrink: 0; font-size: 1rem; }
.pos-toast-message { flex: 1; }

/* ===========================================================
   PRINT STYLES — Thermal Receipt
   =========================================================== */
@media print {
  body > *:not(.pos-receipt-wrapper) { display: none !important; }
  .pos-receipt-wrapper {
    display: block !important;
    position: static !important;
    background: #fff !important;
  }
  .pos-receipt { padding: 0 !important; box-shadow: none !important; }
  * { -webkit-print-color-adjust: exact !important; color-adjust: exact !important; }
}

/* ===========================================================
   FOOTER OVERRIDE (POS context)
   =========================================================== */
.pos-footer {
  margin-left: var(--pos-sidebar-w);
  border-top: 1px solid var(--pos-border);
}

/* ===========================================================
   RESPONSIVE — MOBILE / TABLET
   =========================================================== */
@media (max-width: 1100px) {
  :root { --pos-cart-w: 290px; }
}
@media (max-width: 900px) {
  .pos-sidebar {
    transform: translateX(-100%);
    z-index: 300;
  }
  .pos-sidebar.open { transform: translateX(0); }
  .pos-main { margin-left: 0; }
  .pos-terminal-layout {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }
  .pos-billing-area {
    height: auto;
    min-height: 60vh;
  }
  .pos-cart-panel {
    width: 100%;
    height: auto;
    border-top: 1px solid var(--pos-border);
  }
  .pos-footer { margin-left: 0; }
  .pos-settings-grid { padding: 16px; }
  .pos-kpi-grid { padding: 16px; }
  .pos-tab-header { padding: 20px 16px; flex-direction: column; align-items: flex-start; }
  .pos-inventory-search-wrap,
  .pos-inventory-table-wrap { margin: 12px 16px; }

  /* Mobile Sidebar Toggle */
  .pos-mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius-sm);
    color: var(--pos-cyan);
    cursor: pointer;
    position: fixed;
    bottom: 80px;
    left: 16px;
    z-index: 400;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  }
  .pos-modal-row { grid-template-columns: 1fr; }
}
@media (min-width: 901px) {
  .pos-mobile-menu-btn { display: none; }
}
@media (max-width: 560px) {
  .pos-product-grid { grid-template-columns: repeat(2, 1fr); }
  .pos-payment-btns { grid-template-columns: repeat(3, 1fr); }
  .pos-kpi-grid { grid-template-columns: 1fr 1fr; }
}
