/**
 * NinjaPay Loja — Componentes visuais
 * Estende os design tokens de theme.css (mesma paleta/identidade do NinjaPay).
 */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--np-font);
  background: var(--bg-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 8px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── TOPBAR ────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}
.topbar-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; }
.topbar-brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--accent); color: var(--text-on-blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; flex-shrink: 0;
}
.topbar-search {
  flex: 1; max-width: 420px; display: none;
}
@media (min-width: 768px) { .topbar-search { display: block; } }
.topbar-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--np-radius-md);
  background: transparent; border: 1px solid var(--border-subtle);
  color: var(--text-primary); cursor: pointer; transition: background var(--np-transition);
}
.icon-btn:hover { background: var(--bg-hover); }
.icon-btn:active { transform: scale(0.96); }

/* ── LAYOUT ────────────────────────────────────────────────────────────── */
.page { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-base); }
.page-main { flex: 1; padding: 20px 0 60px; }
.page-header { margin-bottom: 20px; }
.page-title { font-size: 1.4rem; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.01em; }
.page-subtitle { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }

/* ── CARDS ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--np-radius-lg);
  box-shadow: var(--np-shadow-sm);
  padding: 18px;
}

/* Grade de produtos — responsiva */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 560px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(5, 1fr); } }

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--np-radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--np-transition), box-shadow var(--np-transition);
}
.product-card:hover { box-shadow: var(--np-shadow-md); transform: translateY(-2px); }

.product-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-muted);
  overflow: hidden;
}
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }

.product-card-overlay {
  position: absolute; inset: 0;
  background: rgba(10, 10, 15, 0.62);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.82rem;
  text-align: center; padding: 8px;
  letter-spacing: 0.01em;
}

.product-card-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--danger); color: #fff;
  font-size: 0.68rem; font-weight: 800;
  padding: 3px 8px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.03em;
}

.product-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card-name {
  font-size: 0.88rem; font-weight: 700; margin: 0;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3;
  min-height: 2.3em;
}
.product-card-desc {
  font-size: 0.76rem; color: var(--text-secondary); margin: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.product-card-price-row { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.product-card-price { font-size: 1rem; font-weight: 800; color: var(--accent); }
.product-card-price-old { font-size: 0.76rem; color: var(--text-tertiary); text-decoration: line-through; }

.product-card-cta {
  margin-top: 8px;
  width: 100%; text-align: center;
  padding: 8px 10px; border-radius: var(--np-radius-md);
  background: var(--accent); color: var(--text-on-blue);
  font-size: 0.8rem; font-weight: 700; border: none; cursor: pointer;
  transition: background var(--np-transition);
}
.product-card-cta:hover { background: var(--accent-hover); }
.product-card-cta:disabled { background: var(--bg-muted); color: var(--text-tertiary); cursor: not-allowed; }

/* ── BADGES ────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700;
}
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-neutral { background: var(--bg-muted); color: var(--text-secondary); }
.badge-accent { background: var(--accent-soft); color: var(--accent); }

/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--np-radius-md);
  font-size: 0.88rem; font-weight: 700; border: none; cursor: pointer;
  transition: background var(--np-transition), transform var(--np-transition);
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--text-on-blue); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--bg-muted); color: var(--text-primary); }
.btn-secondary:hover { background: var(--bg-hover); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border-default); }
.btn-outline:hover { background: var(--bg-hover); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg-hover); color: var(--text-primary); }
.btn-sm { padding: 7px 12px; font-size: 0.8rem; }

/* ── FORMS ─────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; color: var(--text-secondary); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px; font-size: 0.9rem;
  background: var(--bg-surface); color: var(--text-primary);
  border: 1px solid var(--border-default); border-radius: var(--np-radius-md);
  transition: border-color var(--np-transition), box-shadow var(--np-transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-hint { font-size: 0.76rem; color: var(--text-tertiary); margin-top: 4px; }
.form-error { font-size: 0.8rem; color: var(--danger); margin-top: 6px; }

/* ── AUTH SCREENS ──────────────────────────────────────────────────────── */
.auth-shell {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px 16px; background: var(--bg-base);
}
.auth-card { width: 100%; max-width: 400px; }
.auth-logo { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 24px; }
.auth-title { font-size: 1.3rem; font-weight: 800; text-align: center; margin: 0 0 6px; }
.auth-subtitle { font-size: 0.86rem; color: var(--text-secondary); text-align: center; margin: 0 0 24px; }
.auth-switch { text-align: center; font-size: 0.86rem; color: var(--text-secondary); margin-top: 16px; }
.auth-switch a { color: var(--accent); font-weight: 700; }
.auth-alert {
  padding: 10px 14px; border-radius: var(--np-radius-md);
  background: var(--danger-soft); color: var(--danger);
  font-size: 0.84rem; margin-bottom: 16px;
}
.auth-alert.success { background: var(--success-soft); color: var(--success); }

/* ── AVATAR ────────────────────────────────────────────────────────────── */
.avatar {
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; flex-shrink: 0; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── SIDEBAR (painel do lojista) ──────────────────────────────────────── */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 260px;
  background: var(--bg-surface); border-right: 1px solid var(--border-subtle);
  padding: 16px 12px; display: flex; flex-direction: column; gap: 4px;
  transform: translateX(-100%); transition: transform var(--np-transition);
  z-index: 50; overflow-y: auto;
}
.sidebar.is-open { transform: translateX(0); }
@media (min-width: 1024px) { .sidebar { transform: translateX(0); } }
.sidebar-overlay {
  display: none; position: fixed; inset: 0; background: rgba(10,10,15,0.5); z-index: 45;
}
.sidebar-overlay.is-open { display: block; }
@media (min-width: 1024px) { .sidebar-overlay { display: none !important; } }

.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 10px 8px 18px; font-weight: 800; }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.sidebar-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--np-radius-md);
  color: var(--text-secondary); font-size: 0.88rem; font-weight: 600;
  transition: background var(--np-transition), color var(--np-transition);
}
.sidebar-link svg { width: 19px; height: 19px; flex-shrink: 0; }
.sidebar-link:hover { background: var(--bg-hover); color: var(--text-primary); }
.sidebar-link.is-active { background: var(--accent-soft); color: var(--accent); }

.app-main { flex: 1; min-width: 0; }
@media (min-width: 1024px) { .app-main { margin-left: 260px; } }
.app-content { padding: 16px; max-width: 1200px; margin: 0 auto; }
@media (min-width: 768px) { .app-content { padding: 24px; } }

/* ── STAT CARDS (financeiro) ─────────────────────────────────────────── */
.stat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stat-grid { grid-template-columns: repeat(5, 1fr); } }
.stat-card { padding: 16px; }
.stat-card-label { font-size: 0.76rem; color: var(--text-secondary); margin: 0 0 6px; font-weight: 600; }
.stat-card-value { font-size: 1.25rem; font-weight: 800; margin: 0; letter-spacing: -0.01em; }
.stat-card-qty { font-size: 0.72rem; color: var(--text-tertiary); margin-top: 4px; }

/* ── TABLE ─────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--np-radius-lg); border: 1px solid var(--border-subtle); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 560px; }
.data-table th {
  text-align: left; padding: 12px 14px; background: var(--bg-muted);
  color: var(--text-secondary); font-weight: 700; font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.data-table td { padding: 12px 14px; border-top: 1px solid var(--border-subtle); }
.data-table tr:hover td { background: var(--bg-hover); }

/* ── EMPTY STATE ───────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-secondary); }
.empty-state svg { margin: 0 auto 12px; opacity: 0.5; }
.empty-state-title { font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }

/* ── PRODUCT DETAIL PAGE ──────────────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .product-detail { grid-template-columns: 1fr 1fr; gap: 40px; } }

.product-gallery-main {
  aspect-ratio: 1/1; border-radius: var(--np-radius-lg); overflow: hidden;
  background: var(--bg-muted); position: relative; margin-bottom: 10px;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.product-gallery-thumb {
  width: 64px; height: 64px; border-radius: var(--np-radius-sm);
  overflow: hidden; border: 2px solid transparent; cursor: pointer; flex-shrink: 0;
}
.product-gallery-thumb.is-active { border-color: var(--accent); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info-title { font-size: 1.4rem; font-weight: 800; margin: 0 0 8px; }
.product-info-price { font-size: 1.7rem; font-weight: 800; color: var(--accent); margin: 12px 0; }
.product-info-price-old { font-size: 1rem; color: var(--text-tertiary); text-decoration: line-through; margin-right: 8px; }
.product-info-stock { font-size: 0.84rem; margin-bottom: 16px; }
.product-info-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

.rating-stars { color: var(--warning); display: inline-flex; gap: 1px; }

/* ── CART / CHECKOUT ───────────────────────────────────────────────────── */
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
.cart-item-media { width: 64px; height: 64px; border-radius: var(--np-radius-sm); overflow: hidden; background: var(--bg-muted); flex-shrink: 0; }
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.88rem; font-weight: 700; margin: 0 0 4px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-default); border-radius: var(--np-radius-md); overflow: hidden; }
.qty-stepper button { width: 30px; height: 30px; background: transparent; border: none; cursor: pointer; font-weight: 700; color: var(--text-primary); }
.qty-stepper button:hover { background: var(--bg-hover); }
.qty-stepper span { width: 32px; text-align: center; font-size: 0.85rem; font-weight: 700; }

.checkout-summary-row { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 6px 0; }
.checkout-summary-row.total { font-size: 1.05rem; font-weight: 800; border-top: 1px solid var(--border-subtle); margin-top: 8px; padding-top: 12px; }

.qr-box { text-align: center; padding: 20px; }
.qr-box img { width: 220px; height: 220px; margin: 0 auto 16px; border-radius: var(--np-radius-md); border: 1px solid var(--border-subtle); }
.copy-paste-box {
  display: flex; gap: 8px; align-items: center;
  background: var(--bg-muted); border-radius: var(--np-radius-md); padding: 10px 12px; margin-top: 12px;
}
.copy-paste-box input { flex: 1; border: none; background: transparent; font-size: 0.76rem; color: var(--text-secondary); }

/* ── STORE HEADER (loja pública) ──────────────────────────────────────── */
.store-banner { height: 140px; background: var(--accent-soft); border-radius: var(--np-radius-lg); margin-bottom: -40px; overflow: hidden; }
.store-banner img { width: 100%; height: 100%; object-fit: cover; }
.store-header { display: flex; align-items: flex-end; gap: 14px; padding: 0 8px 16px; }
.store-header-logo { width: 76px; height: 76px; border-radius: var(--np-radius-lg); border: 3px solid var(--bg-base); background: var(--bg-surface); overflow: hidden; flex-shrink: 0; }
.store-header-logo img { width: 100%; height: 100%; object-fit: cover; }
.store-header-name { font-size: 1.2rem; font-weight: 800; margin: 0; }
.store-header-desc { font-size: 0.82rem; color: var(--text-secondary); margin: 2px 0 0; }

/* ── TABS ──────────────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--border-subtle); margin-bottom: 20px; }
.tab-link {
  padding: 10px 16px; font-size: 0.85rem; font-weight: 700; color: var(--text-secondary);
  border-bottom: 2px solid transparent; white-space: nowrap; cursor: pointer;
}
.tab-link.is-active { color: var(--accent); border-color: var(--accent); }

/* ── MODAL ─────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10,10,15,0.55);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: var(--bg-surface); border-radius: var(--np-radius-lg);
  width: 100%; max-width: 440px; padding: 24px; max-height: 90vh; overflow-y: auto;
}
.modal-title { font-size: 1.1rem; font-weight: 800; margin: 0 0 16px; }

/* ── UTILITIES ─────────────────────────────────────────────────────────── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }
.text-secondary { color: var(--text-secondary); }
.text-sm { font-size: 0.84rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hidden { display: none !important; }

/* ══════════════════════════════════════════════════════════════════════
   NINJA MARKETPLACE — Extensões (chat, banners, whitelabel, verificado)
   ══════════════════════════════════════════════════════════════════════ */

/* ── VERIFIED BADGE ────────────────────────────────────────────────────── */
.verified-badge {
  display: inline-flex; align-items: center; justify-content: center;
  color: #1DA1F2; flex-shrink: 0;
}

/* ── STORE BANNERS CAROUSEL ────────────────────────────────────────────── */
.banner-carousel {
  position: relative; width: 100%; aspect-ratio: 21/7; max-height: 220px;
  border-radius: var(--np-radius-lg); overflow: hidden; background: var(--bg-muted);
  margin-bottom: -40px;
}
.banner-carousel-track {
  display: flex; width: 100%; height: 100%; transition: transform 0.35s ease;
}
.banner-carousel-slide { min-width: 100%; height: 100%; }
.banner-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.banner-carousel-dot {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5);
  cursor: pointer; transition: background 0.2s;
}
.banner-carousel-dot.is-active { background: #fff; }
.banner-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: rgba(10,10,15,0.45);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5; border: none;
}
.banner-carousel-arrow.prev { left: 10px; }
.banner-carousel-arrow.next { right: 10px; }

/* ── CHAT ──────────────────────────────────────────────────────────────── */
.chat-shell { display: flex; flex-direction: column; height: 70vh; min-height: 420px; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 12px 4px;
  display: flex; flex-direction: column; gap: 10px;
}
.chat-bubble-row { display: flex; }
.chat-bubble-row.is-mine { justify-content: flex-end; }
.chat-bubble {
  max-width: 78%; padding: 9px 13px; border-radius: 16px;
  font-size: 0.86rem; line-height: 1.4; word-break: break-word;
  background: var(--bg-muted); color: var(--text-primary);
}
.chat-bubble-row.is-mine .chat-bubble { background: var(--accent); color: var(--text-on-blue); border-bottom-right-radius: 4px; }
.chat-bubble-row:not(.is-mine) .chat-bubble { border-bottom-left-radius: 4px; }
.chat-bubble a { color: inherit; text-decoration: underline; word-break: break-all; }
.chat-bubble-file {
  display: flex; align-items: center; gap: 8px; padding: 4px 0;
}
.chat-bubble-time { font-size: 0.66rem; opacity: 0.65; margin-top: 3px; display: block; }
.chat-input-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 4px 0;
  border-top: 1px solid var(--border-subtle);
}
.chat-input-bar input[type="text"] {
  flex: 1; padding: 10px 14px; border-radius: 999px;
  border: 1px solid var(--border-default); background: var(--bg-surface);
  font-size: 0.86rem; color: var(--text-primary);
}
.chat-input-bar input[type="text"]:focus { outline: none; border-color: var(--accent); }
.chat-send-btn, .chat-attach-btn {
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-send-btn { background: var(--accent); color: var(--text-on-blue); }
.chat-attach-btn { background: var(--bg-muted); color: var(--text-secondary); }
.chat-empty { text-align: center; color: var(--text-tertiary); padding: 40px 0; font-size: 0.86rem; }

/* ── STORE RATING / STATS ROW ─────────────────────────────────────────── */
.store-stats-row { display: flex; gap: 18px; flex-wrap: wrap; margin: 10px 0; }
.store-stat-item { display: flex; flex-direction: column; }
.store-stat-item .value { font-weight: 800; font-size: 1rem; }
.store-stat-item .label { font-size: 0.72rem; color: var(--text-secondary); }

/* ── WITHDRAW PIN INPUT ────────────────────────────────────────────────── */
.pin-input-group { display: flex; gap: 8px; justify-content: center; }
.pin-input-group input {
  width: 42px; height: 52px; text-align: center; font-size: 1.3rem; font-weight: 800;
  border: 1px solid var(--border-default); border-radius: var(--np-radius-md);
  background: var(--bg-surface); color: var(--text-primary);
}
.pin-input-group input:focus { outline: none; border-color: var(--accent); }

/* ── COLOR PICKER ROW (whitelabel) ────────────────────────────────────── */
.color-picker-row { display: flex; align-items: center; gap: 10px; }
.color-picker-row input[type="color"] {
  width: 44px; height: 44px; border-radius: var(--np-radius-md); border: 1px solid var(--border-default);
  padding: 2px; cursor: pointer; background: var(--bg-surface);
}

/* ── SEARCH BAR (marketplace, produto + loja) ─────────────────────────── */
.search-bar-wrap { position: relative; }
.search-bar-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-tertiary); }
.search-bar-wrap input { padding-left: 40px; }

/* ── ADMIN QUICK STATS ─────────────────────────────────────────────────── */
.admin-stat-highlight { background: var(--accent-soft); border-color: var(--accent); }
