@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --brand-bg: #220042;
  --brand-panel: #2f0a55;
  --brand-card: #3b0f66;
  --brand-card-alt: #33105c;
  --brand-ink: #f8f6ff;
  --brand-muted: #d7c9ef;
  --brand-accent: #ffb703;
  --brand-accent2: #fb8500;
  --brand-border: rgba(255, 255, 255, 0.08);
  --brand-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
body {
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  margin: 0;
}

a { color: inherit; }

/* Shared components */
.container { padding: 16px; }
.card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)), var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--brand-shadow);
  color: var(--brand-ink);
}
.pill {
  display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;
  background: rgba(255, 183, 3, 0.12);color: #ffeab0;font-weight:700;font-size:12px;text-transform:uppercase;
}
.pill.warn { background: rgba(251,133,0,0.18); color: #ffd7a1; }
.btn { padding:10px 12px;border-radius:10px;border:1px solid var(--brand-border);background:transparent;color:var(--brand-ink);cursor:pointer;font-weight:700 }
.btn.primary { background: linear-gradient(120deg, var(--brand-accent), var(--brand-accent2)); color:#2a0c48; box-shadow: 0 12px 30px rgba(0,0,0,0.12); border:0 }
.muted { color: var(--brand-muted); }
.kpi { font-size:28px; font-weight:800 }

/* Layout helpers */
.grid { display:grid; gap:14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.row { display:flex; gap:8px; align-items:center }

/* Utility */
.hidden { display:none !important }

/* Topbar / header */
.topbar { display:flex; align-items:center; gap:12px; padding:12px 16px; background: linear-gradient(120deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); border-bottom: 1px solid var(--brand-border); }
.brand { font-weight:700; color:var(--brand-accent); font-size:18px }

/* Layout helpers used across pages */
.layout { display:grid; grid-template-columns: 300px 1fr 420px; gap:12px; padding:18px; box-sizing:border-box }
.panel { background: var(--brand-card-alt); border-radius:10px; padding:14px; border:1px solid rgba(255,255,255,0.04); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }

/* Product / item cards */
.productCard { display:flex; gap:10px; align-items:flex-start; padding:10px; border-radius:8px; border:1px solid transparent; transition: box-shadow .12s, transform .12s; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); }
.productCard:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.18); }
.productCard.selected { box-shadow: 0 0 0 3px rgba(255,183,3,0.06); border-color: rgba(255,255,255,0.04); }
.productCard img { width:76px; height:76px; object-fit:contain; background:#1f0f32; border-radius:6px; border:1px solid rgba(255,255,255,0.03); }

/* Hero / detail */
.hero { height:260px; border-radius:8px; overflow:hidden; border:1px solid rgba(255,255,255,0.04); background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); display:flex; align-items:center; justify-content:center }
.hero img { max-width:100%; max-height:100%; object-fit:contain }

/* Form controls */
input[type=text], textarea, input[type=file], select { padding:10px; border:1px solid var(--brand-border); border-radius:8px; background: rgba(255,255,255,0.03); color: var(--brand-ink); }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.6); }

/* Pre blocks */
pre { background: rgba(255,255,255,0.03); padding:8px; border-radius:6px; color: var(--brand-ink); overflow:auto }

/* Utilities for badges / metadata */
.metaTitle { font-size:18px; font-weight:700; color: var(--brand-ink); }
.metaPrice { font-size:16px; font-weight:800; color: var(--brand-accent); }

/* Small helpers */
.muted-small { color: var(--brand-muted); font-size:12px }

/* Styles for webhooks_orders page (signup UI) */
.webhooks-page { box-sizing: border-box; margin:0; padding:24px; font-family:'Space Grotesk','Segoe UI',sans-serif; }
.webhooks-page .layout { max-width:1280px; margin:0 auto; display:grid; grid-template-columns: 360px 1fr; gap:16px; }
.webhooks-page .card { background: linear-gradient(160deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border-radius:14px; padding:18px; box-shadow: 0 18px 50px rgba(0,0,0,0.16); border:1px solid rgba(255,255,255,0.04); }
.webhooks-page h1 { margin:0 0 10px; font-size:24px; letter-spacing:-0.02em; }
.webhooks-page p.lead { margin:0 0 14px; color:var(--brand-muted); font-size:14px; line-height:1.5 }
.webhooks-page label { display:block; font-weight:600; margin-bottom:6px; color:var(--brand-ink); font-size:13px }
.webhooks-page input, .webhooks-page select, .webhooks-page textarea { width:100%; padding:10px 12px; border-radius:10px; border:1px solid rgba(255,255,255,0.04); font-size:14px; background: rgba(255,255,255,0.02); color:var(--brand-ink); }
.webhooks-page textarea { resize:vertical; min-height:90px }
.webhooks-page .row { display:flex; gap:10px }
.webhooks-page .row > div { flex:1 }
.webhooks-page button { border:none; border-radius:10px; padding:12px 14px; font-weight:700; cursor:pointer; transition: transform 120ms ease, box-shadow 120ms ease; font-size:14px }
.webhooks-page button.primary { background: linear-gradient(120deg, var(--brand-accent), var(--brand-accent2)); color:#fff; box-shadow: 0 12px 30px rgba(107,91,255,0.12); }
.webhooks-page button.secondary { background:#e2e8f0; color:#0f172a }
.webhooks-page button.ghost { background:transparent; color:var(--brand-muted); border:1px dashed rgba(255,255,255,0.04) }
.webhooks-page .section-title { font-weight:700; font-size:14px; margin:14px 0 8px; color:var(--brand-ink) }
.webhooks-page .pillset { display:flex; flex-wrap:wrap; gap:8px }
.webhooks-page .chip { display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px; background:#eef2ff; color:#312e81; font-weight:600; font-size:12px; cursor:pointer }
.webhooks-page .status-box { background: rgba(255,255,255,0.02); color:var(--brand-ink); border-radius:12px; padding:12px; font-family:'SFMono-Regular', ui-monospace, Menlo, monospace; font-size:13px; min-height:72px; white-space:pre-wrap }
.webhooks-page .badge { display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:10px; background:#e2e8f0; font-weight:700; font-size:12px; color:#0f172a }
.webhooks-page .badge.ok { background:#dcfce7; color:#166534 }
.webhooks-page .badge.err { background:#fee2e2; color:#991b1b }
.webhooks-page .stack { display:flex; flex-direction:column; gap:8px }
.webhooks-page .grid-two { display:grid; grid-template-columns: repeat(2,1fr); gap:10px }
.webhooks-page .muted { color: var(--brand-muted); font-size:12px }
.webhooks-page .code-block { background: rgba(255,255,255,0.02); color:var(--brand-ink); border-radius:12px; padding:12px; font-family:'SFMono-Regular', ui-monospace, monospace; font-size:13px; overflow:auto }
.webhooks-page .tag { display:inline-block; background:#0ea5e9; color:#fff; padding:4px 8px; border-radius:10px; font-size:12px; font-weight:700 }

/* Agrupador (product grouping) page styles (namespaced) */
.agrupador-page { --agr-bg: #f7f9fc; --agr-card: var(--brand-card); --agr-muted: #6b7280; --agr-accent: #0b67ff; --agr-border: #e6e9ee; --agr-success: #10b981; --agr-shadow: 0 4px 12px rgba(11,103,255,0.08); box-sizing: border-box; background: var(--agr-bg); color: #0b1220; font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.agrupador-page .header { background: linear-gradient(135deg, var(--agr-accent) 0%, #0052cc 100%); padding:24px; box-shadow: 0 4px 16px rgba(11,103,255,0.15); }
.agrupador-page .header h1 { margin:0 0 16px 0; color:#ffffff; font-size:28px; font-weight:700 }
.agrupador-page .search-container { position:relative; max-width:800px }
.agrupador-page .search-bar { width:100%; padding:16px 20px 16px 50px; border:2px solid rgba(255,255,255,0.08); border-radius:12px; font-size:16px; background:var(--agr-card); transition: all .2s ease; outline:none }
.agrupador-page .search-bar:focus { background:var(--agr-card); border-color:rgba(255,255,255,0.12); box-shadow:0 8px 24px rgba(0,0,0,0.12) }
.agrupador-page .search-icon { position:absolute; left:18px; top:50%; transform:translateY(-50%); color:var(--agr-muted); pointer-events:none }
.agrupador-page .stats-bar { display:flex; gap:16px; padding:16px 24px; background:var(--agr-card); border-bottom:1px solid var(--agr-border); align-items:center }
.agrupador-page .stat-item { display:flex; align-items:center; gap:8px; padding:8px 16px; background:#f8fafc; border-radius:8px; border:1px solid var(--agr-border) }
.agrupador-page .stat-label { font-size:13px; color:var(--agr-muted); font-weight:500 }
.agrupador-page .stat-value { font-size:18px; font-weight:700; color:var(--agr-accent) }
.agrupador-page .container { padding:24px; max-width:1400px; margin:0 auto }
.agrupador-page .products-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:16px }
.agrupador-page .product-card { background: var(--agr-card); border-radius:12px; padding:16px; border:1px solid var(--agr-border); transition: all .2s ease; cursor:pointer; position:relative; overflow:hidden }
.agrupador-page .product-card:hover { transform:translateY(-4px); box-shadow: var(--agr-shadow); border-color: var(--agr-accent) }
.agrupador-page .product-card.selected { border-color: var(--agr-success); background: linear-gradient(180deg,#f0fdf4,var(--agr-card)); box-shadow: 0 0 0 3px rgba(16,185,129,0.1) }
.agrupador-page .product-image { width:100%; height:200px; object-fit:contain; background:#fafafa; border-radius:8px; border:1px solid #eee; margin-bottom:12px }
.agrupador-page .product-title { font-weight:600; font-size:14px; color:#0f172a; margin-bottom:8px; line-height:1.4 }
.agrupador-page .product-meta { display:flex; justify-content:space-between; align-items:center; margin-top:12px; padding-top:12px; border-top:1px solid #f1f5f9 }
.agrupador-page .product-price { font-size:18px; font-weight:700; color:var(--agr-accent) }
.agrupador-page .product-sku { font-size:12px; color:var(--agr-muted); background:#f8fafc; padding:4px 8px; border-radius:6px }
.agrupador-page .select-badge { position:absolute; top:12px; right:12px; width:28px; height:28px; border-radius:50%; background:var(--agr-card); border:2px solid var(--agr-border); display:flex; align-items:center; justify-content:center; transition: all .2s ease }
.agrupador-page .product-card.selected .select-badge { background:var(--agr-success); border-color:var(--agr-success); color:#ffffff }
.agrupador-page .empty-state { text-align:center; padding:60px 24px; color:var(--agr-muted) }
.agrupador-page .empty-state-icon { font-size:64px; margin-bottom:16px; opacity:0.5 }
.agrupador-page .empty-state h3 { margin:0 0 8px 0; color:#374151; font-size:20px }
.agrupador-page .empty-state p { margin:0; font-size:14px }
.agrupador-page .action-bar { position:fixed; bottom:24px; right:24px; display:flex; gap:12px; z-index:100 }
.agrupador-page .btn { padding:14px 24px; border-radius:10px; border:none; font-weight:600; font-size:15px; cursor:pointer; transition: all .2s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.1) }
.agrupador-page .btn-primary { background: var(--agr-accent); color:#ffffff }
.agrupador-page .btn-primary:hover { background:#0052cc; transform:translateY(-2px); box-shadow: 0 6px 16px rgba(11,103,255,0.3) }
.agrupador-page .btn-success { background: var(--agr-success); color:#ffffff }
.agrupador-page .btn-success:hover { background:#059669; transform:translateY(-2px); box-shadow: 0 6px 16px rgba(16,185,129,0.3) }
.agrupador-page .btn:disabled { opacity:0.5; cursor:not-allowed; transform:none !important }
.agrupador-page .loading { text-align:center; padding:40px; color:var(--agr-muted) }
.agrupador-page .spinner { border:3px solid #f3f4f6; border-top:3px solid var(--agr-accent); border-radius:50%; width:40px; height:40px; animation: agr-spin 1s linear infinite; margin:0 auto 16px }
@keyframes agr-spin { 0%{transform:rotate(0deg);} 100%{transform:rotate(360deg);} }

/* Agrupador v2 page styles (namespaced) */
.agrupador-v2-page { --agr2-bg:#f7f9fc; --agr2-card:var(--brand-card); --agr2-muted:#6b7280; --agr2-accent:#0b67ff; --agr2-border:#e6e9ee; --agr2-success:#10b981; --agr2-warning:#f59e0b; --agr2-danger:#ef4444; --agr2-shadow:0 4px 12px rgba(11,103,255,0.08); box-sizing:border-box; background:var(--agr2-bg); color:#0b1220; font-family:'Inter','Segoe UI',system-ui, -apple-system, BlinkMacSystemFont, sans-serif; }
.agrupador-v2-page .header { background: linear-gradient(120deg,#020617,#0b67ff); color:white; padding:32px 48px; box-shadow:0 10px 30px rgba(2,6,23,0.3) }
.agrupador-v2-page .filters-bar { display:flex; gap:16px; padding:16px 32px 24px; background:white; border-bottom:1px solid var(--agr2-border); align-items:flex-end }
.agrupador-v2-page .filter-group { display:flex; flex-direction:column; gap:8px }
.agrupador-v2-page .filter-label { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.08em; color:var(--agr2-muted) }
.agrupador-v2-page .search-input { width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--agr2-border); font-size:14px; background:#f8fafc }
.agrupador-v2-page .search-input:focus { border-color:var(--agr2-accent); box-shadow:0 0 0 3px rgba(11,103,255,0.12); background:white }
.agrupador-v2-page .container { display:flex; flex:1; min-height:0; background:var(--agr2-bg) }
.agrupador-v2-page .brands-sidebar, .agrupador-v2-page .categories-sidebar { flex:0 0 250px; background:white; border-right:2px solid var(--agr2-border); overflow-y:auto; padding:20px }
.agrupador-v2-page .brands-sidebar h3, .agrupador-v2-page .categories-sidebar h3 { margin:0 0 16px 0; font-size:16px; color:#0b1220 }
.agrupador-v2-page .sidebar-search { width:100%; padding:8px 12px; border:1px solid var(--agr2-border); border-radius:6px; font-size:13px; margin-bottom:12px }
.agrupador-v2-page .brand-list, .agrupador-v2-page .category-list { display:flex; flex-direction:column; gap:8px }
.agrupador-v2-page .brand-item, .agrupador-v2-page .category-item { display:flex; align-items:center; gap:8px; padding:8px; border-radius:6px; cursor:pointer; transition: background .2s }
.agrupador-v2-page .brand-item:hover, .agrupador-v2-page .category-item:hover { background:#f8fafc }
.agrupador-v2-page .product-card.parent-product { border-color:var(--agr2-accent); box-shadow:0 0 0 3px rgba(11,103,255,0.2); position:relative }
.agrupador-v2-page .parent-badge { position:absolute; top:12px; left:12px; background:var(--agr2-accent); color:#fff; padding:4px 10px; border-radius:999px; font-size:11px; font-weight:700 }
.agrupador-v2-page .products-panel { flex:1; overflow-y:auto; padding:20px; background:var(--agr2-bg) }
.agrupador-v2-page .products-grid { display:grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap:16px }
.agrupador-v2-page .product-card { background:var(--agr2-card); border-radius:12px; padding:16px; border:2px solid var(--agr2-border); transition:all .2s ease; cursor:grab; position:relative }
.agrupador-v2-page .product-card:hover { transform:translateY(-4px); box-shadow:var(--agr2-shadow); border-color:var(--agr2-accent) }
.agrupador-v2-page .product-card.dragging { opacity:0.5; cursor:grabbing }
.agrupador-v2-page .product-card.drag-over { border-color:var(--agr2-success); background:linear-gradient(180deg,#f0fdf4,var(--agr2-card)); box-shadow:0 0 0 3px rgba(16,185,129,0.2) }
.agrupador-v2-page .product-image { width:100%; height:180px; object-fit:contain; background:#fafafa; border-radius:8px; border:1px solid #eee; margin-bottom:12px }
.agrupador-v2-page .product-title { font-weight:600; font-size:14px; color:#0f172a; margin-bottom:8px }
.agrupador-v2-page .product-meta { font-size:12px; color:var(--agr2-muted); margin-bottom:8px }
.agrupador-v2-page .product-price { font-size:16px; font-weight:700; color:var(--agr2-accent); margin-bottom:8px }
.agrupador-v2-page .status-chip { display:inline-flex; align-items:center; gap:4px; padding:4px 10px; border-radius:999px; font-size:11px; font-weight:700 }
.agrupador-v2-page .status-chip.parent { background: rgba(11,103,255,0.1); color:#0b67ff; border:1px solid rgba(11,103,255,0.4) }
.agrupador-v2-page .product-attributes { font-size:11px; color:#6b7280; max-height:80px; overflow-y:auto; padding:8px; background:#f9fafb; border-radius:6px; margin-top:8px }
.agrupador-v2-page .group-badge { position:absolute; top:12px; right:12px; padding:4px 10px; background:var(--agr2-success); color:white; border-radius:6px; font-size:11px; font-weight:700 }

/* Login page styles (namespaced) */
.login-page { --login-bg:#070d1f; --login-card:#0f172a; --login-ink:#e2e8f0; --login-muted:#94a3b8; --login-accent:#8b5cf6; --login-accent2:#0ea5e9; --login-error:#ef4444; box-sizing:border-box; }
.login-page body { margin:0; min-height:100vh; display:grid; place-items:center; background: radial-gradient(circle at 20% 20%, rgba(139,92,246,0.12), transparent 35%), radial-gradient(circle at 80% 0%, rgba(14,165,233,0.14), transparent 32%), var(--login-bg); font-family:'Space Grotesk','Segoe UI',sans-serif; color:var(--login-ink); }
.login-page .card { width: min(440px,92vw); background: var(--login-card); border:1px solid rgba(148,163,184,0.18); border-radius:18px; padding:26px; box-shadow: 0 18px 60px rgba(0,0,0,0.38); }
.login-page h1 { margin:0 0 6px; font-size:24px }
.login-page p { margin:0 0 18px; color:var(--login-muted); line-height:1.5 }
.login-page label { display:block; margin:0 0 6px; font-weight:600 }
.login-page input { width:100%; padding:12px 14px; border-radius:12px; border:1px solid rgba(148,163,184,0.35); background: rgba(255,255,255,0.02); color:var(--login-ink); font-size:15px; outline:none; transition: border-color 140ms ease, box-shadow 140ms ease }
.login-page input:focus { border-color: var(--login-accent2); box-shadow: 0 0 0 3px rgba(14,165,233,0.16) }
.login-page .field { margin-bottom:14px }
.login-page button { width:100%; padding:12px 14px; border:none; border-radius:12px; font-weight:700; font-size:15px; cursor:pointer; color:#0b1020; background: linear-gradient(120deg, var(--login-accent), var(--login-accent2)); box-shadow: 0 14px 34px rgba(14,165,233,0.28); transition: transform 120ms ease, box-shadow 120ms ease }
.login-page button:disabled { opacity:0.55; cursor:not-allowed }
.login-page a { color: var(--login-accent2); text-decoration:none; font-weight:600 }





/* Styles specific to the Orders Webhooks page (namespaced to avoid global overrides) */
.orders-page { box-sizing: border-box; margin:0; padding:16px; background: radial-gradient(circle at 10% 20%, rgba(110,91,255,0.16), transparent 35%), #0b1020; color:var(--brand-ink); font-family:'Space Grotesk','Segoe UI',sans-serif; }
.orders-page .layout { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 380px 1fr; gap: 12px; }
.orders-page .card { border-radius: 14px; padding: 16px; box-shadow: 0 18px 50px rgba(0,0,0,0.18); border: 1px solid rgba(255,255,255,0.06); background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); }
.orders-page h1 { margin:0 0 6px; font-size:22px; }
.orders-page p.lead { margin:0 0 12px; color: var(--brand-muted); }
.orders-page label { display:block; font-weight:600; margin-bottom:6px; color:var(--brand-ink); font-size:13px; }
.orders-page input, .orders-page select { width:100%; padding:10px 12px; border:1px solid rgba(255,255,255,0.06); border-radius:10px; background: rgba(255,255,255,0.02); font-family:'Space Grotesk'; font-size:14px; color:var(--brand-ink); }
.orders-page button { border:none; border-radius:10px; padding:10px 12px; font-weight:700; cursor:pointer; transition: transform 120ms ease, box-shadow 120ms ease; font-size:14px; }
.orders-page button.primary { background: linear-gradient(120deg, var(--brand-accent), var(--brand-accent2)); color:#2a0c48; }
.orders-page button.secondary { background:#e2e8f0; color:#111; }
.orders-page button:disabled { opacity:0.6; cursor:not-allowed; }
.orders-page button:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.orders-page .muted { color: var(--brand-muted); font-size: 12px; }
.orders-page .list { border:1px solid rgba(255,255,255,0.04); border-radius:12px; max-height:70vh; overflow:auto; }
.orders-page .item { padding:10px 12px; border-bottom:1px solid rgba(255,255,255,0.03); cursor:pointer; display:flex; align-items:center; gap:8px; }
.orders-page .item:last-child { border-bottom:none; }
.orders-page .pill { padding:3px 8px; border-radius:999px; background:#eef2ff; color:#312e81; font-weight:700; font-size:11px; }
.orders-page .code { font-family: 'SFMono-Regular', ui-monospace, Menlo, monospace; font-size:12px; color:var(--brand-ink); }
.orders-page .detail { background:rgba(255,255,255,0.02); color:var(--brand-ink); border-radius:12px; padding:12px; font-family:'SFMono-Regular', ui-monospace; font-size:13px; white-space:pre-wrap; word-break:break-word; }
.orders-page .row { display:flex; gap:8px; align-items:center; }
.orders-page .split { display:grid; grid-template-columns: 1fr 1fr; gap:10px; }

/* Under construction page (namespaced) */
.under-construction { --uc-bg: #0b1020; --uc-card:#0f172a; --uc-ink:#e2e8f0; --uc-muted:#94a3b8; --uc-accent:#0ea5e9; box-sizing:border-box }
.under-construction body { margin:0; min-height:100vh; display:flex; align-items:center; justify-content:center; background: radial-gradient(circle at 20% 20%, rgba(14,165,233,0.12), transparent 32%), var(--uc-bg); color:var(--uc-ink); font-family:'Space Grotesk','Segoe UI',sans-serif; padding:16px }
.under-construction .card { max-width:520px; width:100%; background: var(--uc-card); border:1px solid rgba(148,163,184,0.2); border-radius:16px; padding:22px; box-shadow:0 18px 50px rgba(0,0,0,0.35); text-align:center }
.under-construction h1 { margin:0 0 10px; font-size:26px }
.under-construction p { margin:0 0 12px; color:var(--uc-muted); line-height:1.6 }
.under-construction .pill { display:inline-block; padding:6px 10px; border-radius:999px; background: rgba(14,165,233,0.18); color:#7dd3fc; font-weight:700; font-size:12px }

/* VictoriaStore page styles (namespaced) */
.victoriastore-page { box-sizing:border-box; --vs-bg:#f3f4f6; --vs-ink:#111827; --vs-muted:#6b7280; --vs-border:#e5e7eb }
.victoriastore-page body { margin:0; padding:24px; background:var(--vs-bg); color:var(--vs-ink); font-family:'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif }
.victoriastore-page header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px }
.victoriastore-page h1 { font-size:1.5rem; margin:0 }
.victoriastore-page .controls { display:flex; flex-wrap:wrap; gap:12px; align-items:center }
.victoriastore-page .controls input[type="search"], .victoriastore-page .controls input[type="number"] { padding:10px 12px; border:1px solid var(--vs-border); border-radius:8px; font-size:0.95rem; background:#fff; min-width:220px }
.victoriastore-page .controls button { padding:10px 16px; border-radius:8px; border:none; background:#2563eb; color:#fff; font-weight:600; cursor:pointer }
.victoriastore-page .controls button.secondary { background:#e5e7eb; color:#111827 }
.victoriastore-page .status-bar { display:flex; flex-wrap:wrap; gap:16px; align-items:center; margin-bottom:16px; font-size:0.95rem }
.victoriastore-page table { width:100%; border-collapse:collapse; background: var(--brand-card); border-radius:12px; overflow:hidden }
.victoriastore-page thead { background:#111827; color:#fff }
.victoriastore-page th, .victoriastore-page td { padding:12px 14px; text-align:left; border-bottom:1px solid var(--vs-border); vertical-align:middle; font-size:0.95rem }
.victoriastore-page tbody tr:hover { background:#f9fafb }
.victoriastore-page img.product-thumb { width:80px; height:80px; object-fit:cover; border-radius:8px; border:1px solid var(--vs-border) }
.victoriastore-page .empty-state { padding:24px; background: var(--brand-card); border-radius:12px; border:1px dashed var(--vs-border); text-align:center; font-size:1rem; color:var(--vs-muted) }
.victoriastore-page @media (max-width:900px) {
  .victoriastore-page table, .victoriastore-page thead, .victoriastore-page tbody, .victoriastore-page th, .victoriastore-page td, .victoriastore-page tr { display:block }
  .victoriastore-page thead { display:none }
  .victoriastore-page tr { margin-bottom:16px; border:1px solid var(--vs-border); border-radius:12px; overflow:hidden }
  .victoriastore-page td { border:none; padding:10px 12px; position:relative }
  .victoriastore-page td::before { content: attr(data-label); display:block; font-weight:600; margin-bottom:4px; color:var(--vs-muted); text-transform:uppercase; letter-spacing: .04em; font-size:0.75rem }
  .victoriastore-page img.product-thumb { width:100%; height:auto }
}




