/* CESCAC POS TIENDAS — Mobile-First, tenderos vendiendo desde el celular */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --brand: #025338;
  --brand-light: #037a4f;
  --brand-soft: #e3f3ec;
  --accent: #025338;
  --accent-soft: #d1fae5;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --negative: #b91c1c;
  --negative-soft: #fee2e2;
  --positive: #047857;
  --positive-soft: #d1fae5;
  --surface: #ffffff;
  --bg: #f1f5f9;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(2, 83, 56, 0.06);
  --shadow: 0 4px 12px rgba(2, 83, 56, 0.08);
  --shadow-lg: 0 10px 28px rgba(2, 83, 56, 0.10);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-full: 9999px;
  --touch: 44px;
  --pos-accent: #92400e;
  --pos-accent-soft: #fef3c7;
  --pos-accent-border: rgba(146, 64, 14, 0.32);
}

* { box-sizing: border-box; }

.skip-link {
  position: absolute; top: -3rem; left: 0.75rem; z-index: 100;
  padding: 0.5rem 0.75rem; background: var(--brand); color: #fff; font-weight: 600;
  border-radius: var(--radius-sm); text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 0.5rem; outline: 2px solid #fff; outline-offset: 2px; }

body.pos-app {
  font-family: 'Century Gothic', CenturyGothic, 'DM Sans', Arial, sans-serif;
  margin: 0; padding: 0; background: var(--bg); color: var(--text); line-height: 1.5;
  -webkit-tap-highlight-color: transparent; min-height: 100vh;
}

.app-header {
  position: relative;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff; padding: 0.75rem 1rem; display: flex; align-items: center; gap: 0.75rem;
  flex-wrap: wrap; box-shadow: var(--shadow);
}
.app-header a {
  color: rgba(255,255,255,0.95); text-decoration: none; min-height: var(--touch); min-width: var(--touch);
  display: inline-flex; align-items: center; justify-content: center; padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm); font-weight: 500; transition: background 0.2s, color 0.2s;
}
.app-header a:hover { background: rgba(255,255,255,0.14); color: #fff; }
.app-header .logo-link { display: flex; align-items: center; }
.app-header .logo-img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.login-page .login-main .logo-img { filter: none; }
.app-header .brand-text { white-space: nowrap; font-weight: 700; letter-spacing: 0.02em; }
.app-header .user { margin-left: auto; font-size: 0.9rem; opacity: 0.95; display: flex; align-items: center; gap: 0.4rem; }
.badge-pro { background: #fbbf24; color: #78350f; font-size: 0.65rem; font-weight: 800; padding: 0.15rem 0.5rem; border-radius: var(--radius-full); letter-spacing: 0.03em; }

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none; padding: 0.5rem 0.75rem; min-height: var(--touch); align-items: center; justify-content: center;
  cursor: pointer; font-weight: 600; border-radius: var(--radius-sm); background: rgba(255,255,255,0.15);
}
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
@media (max-width: 768px) {
  .nav-toggle-label { display: inline-flex; margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--brand-light);
    flex-direction: column; padding: 0.75rem; gap: 0.25rem; box-shadow: var(--shadow-lg); z-index: 20;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .app-header .user { margin-left: 0; width: 100%; text-align: center; order: -1; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.2); justify-content: center; }
}

main { max-width: 960px; margin: 0 auto; padding: 1.25rem 1rem; min-height: calc(100vh - 140px); }
@media (min-width: 768px) { main { padding: 1.75rem 1.5rem; } }

main > h1:first-of-type { font-size: 1.75rem; font-weight: 700; color: var(--text); margin: 0 0 0.35rem 0; letter-spacing: -0.02em; }
.page-subtitle { font-size: 1rem; color: var(--text-muted); margin: 0 0 1.25rem 0; font-weight: 400; }

.app-footer { text-align: center; padding: 1rem; color: var(--text-muted); font-size: 0.8rem; border-top: 1px solid var(--border); background: var(--surface); }
.app-footer a { color: var(--brand); font-weight: 600; text-decoration: none; }

.error { color: var(--negative); background: var(--negative-soft); padding: 0.6rem 0.9rem; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.positive { color: var(--positive); background: var(--positive-soft); padding: 0.6rem 0.9rem; border-radius: var(--radius-sm); margin-bottom: 1rem; }

.login-page .login-main {
  margin: 2.5rem auto; max-width: 380px; background: var(--surface); padding: 2rem;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.login-page .login-main h1 { margin-top: 0; margin-bottom: 0.35rem; font-size: 1.5rem; font-weight: 700; }
.login-hint { font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.5; }
.login-main a { color: var(--brand); font-weight: 600; min-height: var(--touch); display: inline-flex; align-items: center; }
.login-main a:hover { text-decoration: underline; }
.login-main form label { display: block; margin-bottom: 0.6rem; font-weight: 500; color: var(--text); }
.login-main input, main input[type=text], main input[type=tel], main input[type=password], main input[type=number], main textarea, main select {
  width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 1rem; min-height: var(--touch); transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit;
}
.login-main input:focus, main input:focus, main textarea:focus, main select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(2, 83, 56, 0.14);
}
.login-main button, main button[type=submit] {
  margin-top: 0.75rem; padding: 0.65rem 1.25rem; min-height: var(--touch); width: 100%; font-weight: 700;
  font-size: 1rem; border-radius: var(--radius-sm); border: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%); color: #fff;
  cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; font-family: inherit;
}
.login-main button:hover, main button[type=submit]:hover { box-shadow: var(--shadow); transform: translateY(-1px); }

.dashboard-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.25rem 0; }
@media (min-width: 480px) { .dashboard-cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.card h2 { margin: 0 0 0.5rem 0; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.card .amount { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.card .amount.negative { color: var(--negative); }
.card .amount.positive { color: var(--positive); }
.card-note { font-size: 0.85rem; color: var(--text-muted); margin: 0.5rem 0 0 0; line-height: 1.4; }

.btn-primary, .btn-secondary, .btn-wa, .btn-danger {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  margin-top: 0.5rem; margin-right: 0.5rem; margin-bottom: 0.25rem; padding: 0.65rem 1.2rem;
  min-height: var(--touch); border-radius: var(--radius-full); font-size: 0.9rem; font-weight: 700;
  text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; border: none; cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--brand); border: 1.5px solid var(--border); }
.btn-secondary:hover { background: var(--brand-soft); border-color: var(--brand); }
.btn-wa { background: var(--whatsapp); color: #fff; box-shadow: var(--shadow-sm); }
.btn-wa:hover { background: var(--whatsapp-dark); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-danger { background: var(--negative-soft); color: var(--negative); }
*:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.pill-limit { display: inline-block; background: #fef3c7; color: #92400e; font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.85rem; border-radius: var(--radius-full); margin-bottom: 1rem; }
.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--text-muted); }

table.tabla-mov { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
table.tabla-mov th, table.tabla-mov td { padding: 0.65rem 0.85rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
table.tabla-mov th { background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.02em; }
table.tabla-mov tr:last-child td { border-bottom: none; }

/* ---------- HERO v2 (index) ---------- */
.hero-v2 {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(2rem, 6vw, 3.25rem) 1.25rem 2.25rem; margin: 0 0 1.5rem; border-radius: var(--radius);
  background:
    radial-gradient(ellipse 90% 70% at 85% -10%, rgba(146, 64, 14, 0.10), transparent 55%),
    radial-gradient(ellipse 70% 60% at 5% 110%, rgba(2, 83, 56, 0.09), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.9rem; border-radius: var(--radius-full);
  background: var(--pos-accent-soft); border: 1px solid var(--pos-accent-border); color: var(--pos-accent);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.9rem;
}
.hero-v2 h1 { font-size: clamp(1.75rem, 5vw, 2.6rem); font-weight: 800; margin: 0 0 0.75rem; letter-spacing: -0.02em; color: var(--text); line-height: 1.15; }
.hero-v2 p.hero-sub { font-size: 1.08rem; color: var(--text-muted); max-width: 580px; margin: 0 auto 1.5rem; line-height: 1.6; }
.hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.75rem; }
.hero-cta a { min-width: 190px; }
.hero-login-hint { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.hero-login-hint a { color: var(--brand); font-weight: 600; }
.nav-links-guest { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }

.trust-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem 1rem; max-width: 680px;
  margin: 1.75rem auto 0; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
.trust-item { text-align: center; font-size: 0.76rem; color: var(--text-muted); line-height: 1.35; }
.trust-item b { display: block; font-size: 0.9rem; font-weight: 800; color: var(--brand); letter-spacing: -0.01em; }

.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 2rem 0; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--pos-accent-border);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-left-color: var(--pos-accent); }
.feature .emoji { font-size: 1.75rem; margin-bottom: 0.5rem; }
.feature h3 { margin: 0 0 0.4rem; font-size: 1.02rem; }
.feature p { margin: 0; font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.steps li { counter-increment: step; padding: 0.9rem 1rem 0.9rem 3rem; position: relative; font-size: 0.95rem; border-bottom: 1px solid var(--border); }
.steps li:last-child { border-bottom: none; }
.steps li::before { content: counter(step); position: absolute; left: 1rem; top: 0.85rem; width: 1.8rem; height: 1.8rem; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }

.price-strip { text-align: center; background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 100%); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; margin: 2rem 0; box-shadow: var(--shadow-sm); }
.price-strip strong { color: var(--brand); }

.cta-final {
  text-align: center; padding: 2.25rem 1.5rem; margin: 2rem 0 0.5rem; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%); color: #fff; box-shadow: var(--shadow-lg);
}
.cta-final h2 { margin: 0 0 0.5rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.cta-final p { margin: 0 0 1.25rem; opacity: 0.92; font-size: 0.98rem; }
.cta-final .btn-primary { background: #fff; color: var(--brand); }
.cta-final .btn-primary:hover { background: #f8fafc; box-shadow: 0 6px 16px rgba(0,0,0,0.18); }

.plan-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 720px; margin: 0 auto; }
@media (min-width: 640px) { .plan-grid { grid-template-columns: repeat(2, 1fr); align-items: stretch; } }
.plan-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card.plan-pro { border: 2px solid var(--brand); }
.plan-ribbon { position: absolute; top: -0.65rem; right: 1.25rem; background: var(--pos-accent); color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: var(--radius-full); box-shadow: var(--shadow-sm); }
.plan-card h2 { margin: 0 0 0.5rem; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.plan-card .amount { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 1rem; }
.plan-card ul { font-size: 0.9rem; color: var(--text-muted); padding-left: 1.2rem; line-height: 1.8; margin: 0 0 1rem; flex-grow: 1; }
.plan-card .card-note { font-size: 0.82rem; color: var(--text-muted); margin: 0.5rem 0 0; line-height: 1.4; }

.app-footer-premium { background: var(--surface); border-top: 1px solid var(--border); padding: 2rem 1rem 1.25rem; margin-top: 1.5rem; }
.footer-inner { max-width: 960px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.5rem; }
.footer-wordmark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%); color: #fff; font-weight: 800; font-size: 0.95rem; flex-shrink: 0; }
.footer-brand-name { font-weight: 800; font-size: 1.05rem; color: var(--text); letter-spacing: -0.01em; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 1.25rem; max-width: 520px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-bottom: 1.25rem; }
.footer-links-col { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links-col span { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.15rem; }
.footer-links-col a { font-size: 0.85rem; color: var(--text); text-decoration: none; }
.footer-links-col a:hover { color: var(--brand); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.76rem; color: var(--text-muted); }
.footer-bottom a { color: var(--brand); font-weight: 600; text-decoration: none; }

/* ============================================================
   POS ESPECÍFICO — pantalla de venta rápida, carrito, caja
   ============================================================ */
.pos-topbar { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 1rem; }
.pos-search { flex: 1; min-width: 200px; }
.pos-search input { margin: 0; }
.pos-offline-banner {
  display: none; background: var(--pos-accent-soft); border: 1px solid var(--pos-accent-border); color: var(--pos-accent);
  padding: 0.6rem 0.9rem; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem;
}
.pos-offline-banner.show { display: block; }

.pos-layout { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 860px) { .pos-layout { grid-template-columns: 1.5fr 1fr; align-items: start; } }

.pos-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; max-height: 62vh; overflow-y: auto; padding: 0.15rem;
}
@media (min-width: 480px) { .pos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .pos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pos-grid { grid-template-columns: repeat(3, 1fr); } }

.pos-prod-btn {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  min-height: 74px; padding: 0.6rem 0.75rem; background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer; text-align: left; font-family: inherit;
  transition: border-color 0.15s, transform 0.1s, box-shadow 0.15s;
}
.pos-prod-btn:active { transform: scale(0.97); }
.pos-prod-btn:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.pos-prod-btn .nombre { font-weight: 700; font-size: 0.88rem; line-height: 1.25; }
.pos-prod-btn .precio { font-weight: 800; color: var(--brand); font-size: 0.95rem; margin-top: 0.3rem; }
.pos-prod-btn .stock-bajo { color: var(--negative); font-size: 0.7rem; font-weight: 700; margin-top: 0.15rem; }
.pos-prod-btn.sin-stock { opacity: 0.55; }

.pos-otro-btn {
  min-height: 74px; border: 1.5px dashed var(--border); border-radius: var(--radius-sm); background: var(--brand-soft);
  color: var(--brand); font-weight: 700; cursor: pointer; font-family: inherit; font-size: 0.85rem;
}

.pos-cart {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.1rem; position: sticky; top: 0.75rem;
}
.pos-cart h2 { margin: 0 0 0.75rem; font-size: 1rem; }
.pos-cart-items { list-style: none; margin: 0; padding: 0; max-height: 32vh; overflow-y: auto; }
.pos-cart-items li { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.pos-cart-items li:last-child { border-bottom: none; }
.pos-cart-items .ci-nombre { font-weight: 600; flex: 1; }
.pos-cart-items .ci-qty { display: flex; align-items: center; gap: 0.3rem; }
.pos-cart-items .ci-qty button { width: 28px; height: 28px; min-height: 28px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); font-weight: 800; cursor: pointer; padding: 0; }
.pos-cart-items .ci-subtotal { font-weight: 700; min-width: 60px; text-align: right; }
.pos-cart-empty { text-align: center; color: var(--text-muted); font-size: 0.85rem; padding: 1.25rem 0; }
.pos-cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.3rem; font-weight: 800; padding: 0.75rem 0; border-top: 2px solid var(--border); margin-top: 0.5rem; }
.pos-cart-total .val { color: var(--brand); }
.pos-cart-actions { display: flex; gap: 0.5rem; }
.pos-cart-actions button { flex: 1; margin: 0; }

.pos-modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); z-index: 50;
  align-items: flex-end; justify-content: center; padding: 0;
}
.pos-modal-overlay.show { display: flex; }
@media (min-width: 640px) { .pos-modal-overlay { align-items: center; padding: 1rem; } }
.pos-modal {
  background: var(--surface); width: 100%; max-width: 460px; border-radius: 18px 18px 0 0; padding: 1.5rem;
  box-shadow: var(--shadow-lg); max-height: 92vh; overflow-y: auto;
}
@media (min-width: 640px) { .pos-modal { border-radius: var(--radius); } }
.pos-modal h2 { margin: 0 0 1rem; font-size: 1.2rem; }
.pos-metodo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.pos-metodo-btn {
  padding: 0.75rem 0.5rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--surface);
  font-weight: 700; font-size: 0.85rem; cursor: pointer; font-family: inherit; color: var(--text);
}
.pos-metodo-btn.activo { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.pos-vuelto-box { background: var(--brand-soft); border-radius: var(--radius-sm); padding: 0.85rem 1rem; margin: 0.75rem 0; text-align: center; }
.pos-vuelto-box .lbl { font-size: 0.78rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }
.pos-vuelto-box .val { font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.pos-vuelto-box .val.negativo { color: var(--negative); }
.pos-ticket-ok { text-align: center; padding: 1.5rem 0.5rem; }
.pos-ticket-ok .check { font-size: 2.5rem; }

.pos-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .pos-stat-grid { grid-template-columns: repeat(4, 1fr); } }

.pos-lowstock { display: flex; flex-direction: column; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.pos-lowstock li { display: flex; justify-content: space-between; background: var(--negative-soft); color: var(--negative); padding: 0.5rem 0.85rem; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; }

.form-row-2 { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 560px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
