:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-elevated: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --wa-green: #25d366;
  --radius: 0.85rem;
}
[data-theme="dark"] {
  --bg-primary: #0b1120;
  --bg-secondary: #111827;
  --bg-surface: #1e293b;
  --bg-elevated: #263449;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --accent: #6366f1;
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  margin: 0;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; color: var(--text-primary); }
a { color: inherit; text-decoration: none; }
.top-bar { background: #0f172a; color: #e2e8f0; font-size: 0.82rem; padding: 0.45rem 0; }
.navbar-custom { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
[data-theme="dark"] .navbar-custom { background: rgba(11,17,32,0.92); }
.surface-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius); transition: all 0.2s ease; }
.surface-card:hover { border-color: var(--accent); box-shadow: 0 12px 24px -8px rgba(15,23,42,0.12); }
.surface-static { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius); }
.btn-brand { background: var(--accent); color: #fff; border: none; font-weight: 600; border-radius: 0.5rem; }
.btn-brand:hover { background: var(--accent-hover); color: #fff; }
.btn-wa { background: var(--wa-green); color: #fff; border: none; font-weight: 600; border-radius: 0.5rem; }
.btn-wa:hover { background: #1ebe5d; color: #fff; }
.product-img-box { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-elevated); border-radius: var(--radius) var(--radius) 0 0; }
.product-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.surface-card:hover .product-img-box img { transform: scale(1.05); }
.badge-off { position: absolute; top: 10px; left: 10px; background: #ef4444; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 999px; }
.wa-float { position: fixed; bottom: 22px; right: 22px; width: 54px; height: 54px; border-radius: 50%; background: var(--wa-green); color: #fff; display: grid; place-items: center; font-size: 1.5rem; box-shadow: 0 10px 25px rgba(37,211,102,0.4); z-index: 1040; }
.form-control, .form-select { background: var(--bg-surface); color: var(--text-primary); border-color: var(--border-color); }
.modal-content, .offcanvas { background: var(--bg-surface); color: var(--text-primary); border-color: var(--border-color); }
[data-theme="dark"] .btn-close, [data-theme="dark"] .navbar-toggler-icon { filter: invert(1); }
[data-theme="dark"] .table { --bs-table-bg: transparent; --bs-table-color: var(--text-primary); --bs-table-border-color: var(--border-color); }
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border-color); padding: 3.5rem 0 1.75rem; color: var(--text-secondary); }
.toast-stack { position: fixed; bottom: 20px; left: 20px; z-index: 2200; display: flex; flex-direction: column; gap: 8px; }
.toast-msg { background: #0f172a; color: #fff; padding: 0.65rem 1rem; border-radius: 0.5rem; font-size: 0.85rem; box-shadow: 0 10px 25px rgba(0,0,0,0.25); }
