/* ================================
   Global Smith — Premium Corporate
   Clean, high-end, American capitalism aesthetic
   ================================ */

:root {
  --bg: #0b0d10;
  --bg-elevated: #12151a;
  --bg-card: #161a21;
  --bg-hover: #1c212b;
  --border: #2a3140;
  --border-light: #3a4356;

  --text: #f0f2f5;
  --text-secondary: #9aa3b5;
  --text-muted: #6b7385;

  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-soft: rgba(59, 130, 246, 0.12);

  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font-family: inherit;
}

/* ==================== AUTH SCREEN ==================== */

.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
    var(--bg);
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: white;
  letter-spacing: -0.5px;
}

.logo-mark.small {
  width: 32px;
  height: 32px;
  font-size: 13px;
  border-radius: 8px;
}

.logo-text h1 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.logo-text p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-elevated);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 28px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.auth-tab.active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select,
.select,
.search-input {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.select:focus,
.search-input:focus {
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-error {
  color: var(--danger);
  font-size: 13px;
  min-height: 18px;
}

/* ==================== BUTTONS ==================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--bg-hover);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-light);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 7px 12px;
  font-size: 13px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==================== APP LAYOUT ==================== */

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 64px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.2px;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav-item {
  padding: 8px 16px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.nav-item:hover {
  color: var(--text);
  background: var(--bg-hover);
}

.nav-item.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.balance-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
}

.balance-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.balance-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--success);
  font-variant-numeric: tabular-nums;
}

.main {
  flex: 1;
  padding: 32px 28px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.view-header h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.view-actions {
  display: flex;
  gap: 10px;
}

.search-input {
  width: 240px;
}

.select {
  min-width: 180px;
}

/* ==================== PRODUCTS GRID ==================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.product-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--bg-elevated);
}

.product-image-placeholder {
  width: 100%;
  height: 160px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.product-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--success);
  font-variant-numeric: tabular-nums;
}

.product-stock {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==================== INVENTORY & ORDERS ==================== */

.inventory-list,
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inventory-item,
.order-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.item-info h4 {
  font-size: 15px;
  font-weight: 550;
}

.item-info p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.item-meta {
  text-align: right;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==================== PROFILE ==================== */

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 100%;
  width: 100%;
  min-width: 0;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.profile-row:last-child {
  border-bottom: none;
}

.profile-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.profile-value {
  font-weight: 500;
  font-size: 14px;
}

/* ==================== ADMIN ==================== */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.admin-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
}

.admin-card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.text-muted {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

/* ==================== EMPTY STATE ==================== */

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 14px;
  grid-column: 1 / -1;
}

/* ==================== TOAST ==================== */

.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: var(--shadow);
  z-index: 1000;
  animation: slideIn 0.25s ease;
}

.toast.success {
  border-color: var(--success);
}

.toast.error {
  border-color: var(--danger);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== UTILS ==================== */

.hidden {
  display: none !important;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
    gap: 12px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .main {
    padding: 20px 16px;
  }

  .view-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-input {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==================== HERO BANNER ==================== */

.hero-banner {
  position: relative;
  height: 320px;
  background-image: url('https://i.imgur.com/JaAa1GK.jpeg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 13, 16, 0.75) 0%, rgba(11, 13, 16, 0.45) 50%, rgba(11, 13, 16, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  color: #fff;
}

.hero-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero-banner {
    height: 240px;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .hero-content p {
    font-size: 15px;
  }
}

/* ==================== QoL POLISH & CART ==================== */

.select-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* Category chips */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cat-chip:hover {
  border-color: var(--border-light);
  color: var(--text);
  background: var(--bg-hover);
}

.cat-chip.active {
  background: var(--primary-soft);
  border-color: rgba(59, 130, 246, 0.45);
  color: #93c5fd;
}

.cat-count {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 999px;
  color: var(--text-muted);
}

.cat-chip.active .cat-count {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}

/* Product card upgrades */
.product-card {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  border-color: var(--border-light);
}

.product-card.out-of-stock {
  opacity: 0.72;
}

.product-card.out-of-stock:hover {
  transform: none;
  box-shadow: none;
}

.stock-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.2px;
}

.stock-badge.out {
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
}

.stock-badge.low {
  background: rgba(245, 158, 11, 0.92);
  color: #111;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-icon {
  position: relative;
  padding: 6px 8px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.in-cart-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-danger {
  color: var(--danger) !important;
}

/* Empty states */
.empty-state-lg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.empty-icon {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.85;
}

.empty-state-lg h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.empty-state-lg p {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 320px;
  margin-bottom: 8px;
}

/* Inventory / Orders thumbs */
.inv-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-elevated);
}

.inv-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.item-price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.item-price.success,
.success {
  color: var(--success);
}

.item-date {
  font-size: 12px;
  color: var(--text-muted);
}

.qty-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

.order-cat {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--primary);
}

.order-status {
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  background: rgba(34, 197, 94, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 4px;
  display: inline-block;
}

.inventory-item,
.order-item {
  transition: border-color 0.15s ease, background 0.15s ease;
}

.inventory-item:hover,
.order-item:hover {
  border-color: var(--border-light);
  background: var(--bg-hover);
}

/* ==================== CART BUTTON ==================== */

.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cart-btn:hover {
  background: var(--bg-hover);
  border-color: var(--border-light);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.45);
}

.cart-badge.hidden {
  display: none;
}

/* ==================== CART DRAWER ==================== */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -12px 0 40px rgba(0,0,0,0.4);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-header h2 {
  font-size: 18px;
  font-weight: 600;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 40px 16px;
}

.cart-empty-icon {
  font-size: 48px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.cart-empty h3 {
  font-size: 17px;
  font-weight: 600;
}

.cart-empty p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 12px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: flex-start;
}

.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-elevated);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-placeholder {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-radius: 8px;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
}

.cart-item-cat {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 13px;
  color: var(--success);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cart-line-total {
  color: var(--text-muted);
  font-weight: 500;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}

.qty-btn:hover {
  background: var(--bg-hover);
}

.qty-input {
  width: 36px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-remove {
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.12s, background 0.12s;
}

.cart-remove:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

.cart-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  background: var(--bg-card);
}

.cart-footer.hidden {
  display: none;
}

.cart-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.cart-summary #cart-count-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-right: auto;
}

.cart-total-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.cart-total-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--success);
  font-variant-numeric: tabular-nums;
}

/* Toast polish */
.toast {
  z-index: 200;
}

/* Responsive cart */
@media (max-width: 480px) {
  .cart-drawer {
    max-width: 100%;
  }
}

/* Header spacing fix for cart btn */
.header-right {
  gap: 10px;
}

/* Smooth view transitions */
.view {
  animation: fadeIn 0.22s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== DELIVERY / STATUS ==================== */

.product-delivery {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-delivery {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-delivery.instant {
  color: var(--success);
}

.status-pill {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.status-delivered {
  background: rgba(34, 197, 94, 0.14);
  color: var(--success);
}

.status-transit {
  background: rgba(245, 158, 11, 0.14);
  color: var(--warning);
}

/* ==================== PRODUCT MODAL ==================== */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  transform: translateY(12px);
  transition: transform 0.22s ease;
}

.modal.open .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  z-index: 2;
}

.modal-close:hover {
  color: var(--text);
  background: var(--bg-hover);
}

.modal-product-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}

.modal-product-media {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elevated);
  min-height: 220px;
}

.modal-product-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.modal-product-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

.modal-product-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 8px 0 12px;
}

.modal-product-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.modal-product-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  white-space: pre-wrap;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 640px) {
  .modal-product-layout {
    grid-template-columns: 1fr;
  }
}

/* ==================== ADMIN TABS & TABLE ==================== */

.admin-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-tab {
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.admin-tab:hover {
  color: var(--text);
  border-color: var(--border-light);
}

.admin-tab.active {
  background: var(--primary-soft);
  border-color: rgba(59, 130, 246, 0.4);
  color: #93c5fd;
}

.admin-tab-panel.hidden {
  display: none;
}

.admin-split {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.admin-split > .admin-card {
  width: 100%;
  max-width: 560px; /* form não estica demais */
  min-width: 0;
  overflow: hidden;
}

.admin-split > .admin-card-wide {
  max-width: 100%;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.admin-card {
  min-width: 0;
  overflow: hidden;
}

.admin-card-wide {
  min-width: 0;
}

.admin-hint {
  font-size: 13px;
  margin-bottom: 14px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th {
  text-align: left;
  padding: 10px 12px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: var(--bg-hover);
}

.admin-prod-name {
  font-weight: 600;
  color: var(--text);
}

.admin-prod-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.admin-actions-cell {
  white-space: nowrap;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mono {
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.text-muted {
  color: var(--text-muted);
}

/* ==================== MOBILE NAV ==================== */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
    z-index: 50;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-item {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
  }

  .header-right .balance-label {
    display: none;
  }

  .view-actions {
    flex-wrap: wrap;
  }

  .search-input {
    min-width: 0;
    flex: 1;
  }
}

/* Product card cursor */
.product-card {
  cursor: pointer;
}

.product-footer {
  cursor: default;
}


/* ==================== PROFILE HISTORY ==================== */

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 800px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 0;
  overflow: hidden;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.profile-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.profile-stat-value {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  margin-bottom: 4px;
}

.profile-stat-value.success { color: var(--success); }
.profile-stat-value.warning { color: var(--warning); }

.profile-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.profile-history-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  min-width: 0;
  overflow: hidden;
}

.profile-history-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.profile-order-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.profile-order-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile-order-row:first-of-type {
  padding-top: 0;
}

.profile-order-info {
  flex: 1;
  min-width: 0;
}

.profile-order-info h4 {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-order-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.profile-order-meta {
  text-align: right;
  flex-shrink: 0;
}

/* ==================== AI GENERATE ==================== */

.ai-card {
  margin-bottom: 20px;
  border-color: rgba(59, 130, 246, 0.35);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.06), transparent 50%),
    var(--bg-card);
}

.ai-key-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ai-key-row input {
  flex: 1;
  min-width: 0;
}

.ai-key-help {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.ai-key-help a {
  color: #93c5fd;
  text-decoration: none;
}

.ai-key-help a:hover {
  text-decoration: underline;
}

.ai-status {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  min-height: 18px;
}

.ai-status.loading {
  color: #93c5fd;
}

.ai-status.ok {
  color: var(--success);
}

.ai-status.error {
  color: var(--danger);
}

.ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.ai-actions .btn {
  min-width: 140px;
}

/* ========== STATUS COLORS ========== */
.status-held {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}
.status-resent {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}
.status-refunded {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}
.status-lost {
  background: rgba(127, 29, 29, 0.35);
  color: #fca5a5;
}
.status-msg {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-style: italic;
}

/* ========== RANK ========== */
.header-rank {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
}
.rank-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.rank-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.rank-badge {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid;
}
.rank-next { font-size: 13px; color: var(--text-secondary); }
.rank-bars { display: flex; flex-direction: column; gap: 10px; }
.rank-bar-row { font-size: 12px; color: var(--text-secondary); }
.rank-bar {
  height: 6px;
  background: var(--bg-hover);
  border-radius: 99px;
  margin-top: 4px;
  overflow: hidden;
}
.rank-bar-fill { height: 100%; border-radius: 99px; transition: width .4s ease; }
.rank-hint { font-size: 12px; color: var(--text-muted); margin-top: 12px; }
.rank-stat { border: 1px solid var(--border); }

/* ========== FEED ========== */
.market-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-height: 140px;
  overflow-y: auto;
}
.feed-item {
  display: flex;
  gap: 10px;
  font-size: 13px;
  align-items: baseline;
}
.feed-time {
  color: var(--text-muted);
  font-size: 11px;
  white-space: nowrap;
  min-width: 64px;
}
.feed-text { color: var(--text-secondary); }
.feed-sale .feed-text { color: #86efac; }
.feed-promo .feed-text { color: #fcd34d; }
.feed-admin .feed-text { color: #93c5fd; }
.feed-empty { font-size: 13px; color: var(--text-muted); font-style: italic; }

/* ========== WISHLIST ========== */
.wishlist-list { display: flex; flex-direction: column; gap: 10px; }
.wishlist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.wishlist-item.gone { opacity: 0.55; }
.wishlist-meta { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.wishlist-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn.wished { color: #fbbf24; }

/* ========== BLACK MARKET THEME ========== */
body.theme-blackmarket {
  --bg: #0a0606;
  --bg-elevated: #140a0a;
  --bg-card: #1a0e0e;
  --bg-hover: #241414;
  --border: #3d1f1f;
  --border-light: #5c2a2a;
  --primary: #dc2626;
  --primary-hover: #b91c1c;
  --primary-soft: rgba(220, 38, 38, 0.15);
  --text: #f5e8e8;
  --text-secondary: #c4a0a0;
  --text-muted: #8a6060;
}
body.theme-blackmarket .header {
  border-bottom-color: #3d1f1f;
  background: rgba(10, 6, 6, 0.92);
}
body.theme-blackmarket .nav-item.active {
  color: #f87171;
  background: rgba(220, 38, 38, 0.12);
}
body.theme-blackmarket .logo-mark,
body.theme-blackmarket .brand {
  color: #f87171;
}
.bm-banner {
  margin: -8px 0 20px;
  padding: 28px 24px;
  background: linear-gradient(135deg, #1a0808 0%, #2d0f0f 50%, #1a0808 100%);
  border: 1px solid #4a1818;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.bm-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(220, 38, 38, 0.03) 8px,
    rgba(220, 38, 38, 0.03) 16px
  );
  pointer-events: none;
}
.bm-banner-inner { position: relative; }
.bm-banner h2 {
  font-size: 28px;
  font-weight: 700;
  color: #f87171;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bm-banner p {
  color: #a07070;
  margin-top: 6px;
  font-size: 14px;
}
.bm-title { color: #f87171 !important; }
.nav-bm:not(.hidden) {
  color: #f87171 !important;
}
.product-card-dark {
  border-color: #4a1818;
  background: #160c0c;
}
.product-card-secret {
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.25);
}
.stock-badge.secret {
  background: rgba(167, 139, 250, 0.2);
  color: #c4b5fd;
}
.stock-badge.illegal {
  background: rgba(220, 38, 38, 0.25);
  color: #fca5a5;
}
.tag-illegal {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(220, 38, 38, 0.2);
  color: #f87171;
  font-weight: 600;
}
.item-illegal {
  border-color: #4a1818 !important;
}
.modal-illegal {
  color: #f87171;
  font-size: 13px;
  margin: 8px 0;
}
.modal-secret {
  color: #c4b5fd;
  font-size: 13px;
  margin: 8px 0;
}

/* ========== CART COUPON ========== */
.cart-coupon {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.cart-coupon input { flex: 1; font-size: 13px; }
.cart-coupon-applied {
  font-size: 13px;
  color: var(--success);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

/* ========== ADMIN LOG ========== */
.admin-log-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 520px;
  overflow-y: auto;
}
.log-row {
  display: grid;
  grid-template-columns: 140px 100px 1fr;
  gap: 10px;
  font-size: 12px;
  padding: 8px 10px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.log-time { color: var(--text-muted); }
.log-type {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
}
.log-body { color: var(--text-secondary); }
.select-sm {
  font-size: 12px;
  padding: 4px 8px;
}

@media (max-width: 720px) {
  .log-row { grid-template-columns: 1fr; gap: 2px; }
  .wishlist-item { flex-direction: column; align-items: flex-start; }
}


/* ========== AI BATCH PREVIEW ========== */
.ai-batch-preview {
  margin-top: 14px;
  padding: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ai-batch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.ai-batch-actions { display: flex; gap: 8px; }
.ai-batch-list { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; }
.ai-batch-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.ai-batch-main p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.ai-batch-meta {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.ai-batch-item-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

/* ========== STATUS BANNER (pedidos / inventário) ========== */
.status-banner {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
}
.status-banner.status-transit {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.28);
}
.status-banner.status-held {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
}
.status-banner.status-resent {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.25);
}
.status-banner.status-delivered {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.22);
}
.status-banner.status-refunded {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.22);
}
.status-banner.status-lost {
  background: rgba(127, 29, 29, 0.2);
  border-color: rgba(248, 113, 113, 0.25);
}
.status-banner-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-banner .status-pill {
  margin-top: 0;
}
.status-banner .status-msg {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary);
  font-style: normal;
  font-weight: 500;
}

/* ========== EVENTOS ========== */
.event-banner {
  margin-bottom: 14px;
}
.event-banner.hidden { display: none; }
.event-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--event-color, #e11d48) 45%, transparent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--event-color, #e11d48) 18%, transparent), transparent);
}
.event-banner-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--event-color, #e11d48);
  color: #fff;
}
.event-banner-text {
  font-size: 13px;
  color: var(--text-primary);
  flex: 1;
}
.event-banner-ends {
  font-size: 11px;
  color: var(--text-muted);
}
.event-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  margin: 2px 4px 2px 0;
  background: color-mix(in srgb, var(--event-color, #e11d48) 22%, transparent);
  color: var(--event-color, #e11d48);
  border: 1px solid color-mix(in srgb, var(--event-color, #e11d48) 40%, transparent);
}
.stock-badge.event-badge {
  background: var(--event-color, #e11d48);
  color: #fff;
  top: 8px;
  left: 8px;
  right: auto;
}
.product-card-event {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--event-color, #e11d48) 25%, transparent);
}
.price-old {
  text-decoration: line-through;
  opacity: 0.55;
  font-size: 0.85em;
  margin-right: 6px;
  font-weight: 500;
}
.product-event-disc,
.event-disc-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
}

/* ========== NEGOCIAÇÃO ========== */
.modal-dialog-nego {
  max-width: 440px;
  width: 100%;
}
.nego-header {
  margin-bottom: 12px;
}
.nego-header h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.nego-product {
  font-weight: 600;
  margin: 0;
}
.nego-list-price {
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px 0 8px;
}
.nego-thread {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin-bottom: 12px;
}
.nego-empty {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: 16px 8px;
}
.nego-bubble {
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 13px;
}
.nego-bubble.nego-player {
  align-self: flex-end;
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(99, 102, 241, 0.35);
}
.nego-bubble.nego-admin {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}
.nego-bubble-meta {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.nego-bubble-text {
  line-height: 1.35;
}
.nego-bubble-amount {
  margin-top: 4px;
  font-weight: 700;
  color: var(--success);
  font-size: 13px;
}
.nego-compose textarea {
  width: 100%;
  resize: vertical;
  min-height: 56px;
  margin-bottom: 8px;
  background: var(--bg-input, rgba(0,0,0,0.25));
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
}
.nego-compose-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nego-compose-row input {
  flex: 1;
}
.nego-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}
.nego-counter-actions {
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.nego-counter-actions p {
  margin: 0 0 8px;
  font-size: 13px;
}

/* ========== BANCO GS ========== */
.bank-layout {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 320px);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .bank-layout { grid-template-columns: 1fr; }
}
.gs-card {
  position: relative;
  border-radius: 16px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #1a1f2e 0%, #0f1219 50%, color-mix(in srgb, var(--rank-color, #7dd3fc) 25%, #161a21) 100%);
  border: 1px solid color-mix(in srgb, var(--rank-color, #7dd3fc) 35%, transparent);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  margin-bottom: 20px;
  overflow: hidden;
  min-height: 180px;
}
.gs-card::after {
  content: '';
  position: absolute;
  inset: -40% -20% auto auto;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, color-mix(in srgb, var(--rank-color, #7dd3fc) 18%, transparent), transparent 70%);
  pointer-events: none;
}
.gs-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.gs-card-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.75);
}
.gs-card-chip {
  width: 36px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d4a017, #f5d76e 40%, #b8860b);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.gs-card-number {
  font-family: ui-monospace, monospace;
  font-size: 20px;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.gs-card-bottom {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.gs-card-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2px;
}
.gs-card-name {
  font-size: 13px;
  font-weight: 600;
}
.bank-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .bank-stats { grid-template-columns: 1fr; }
}
.bank-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.bank-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.bank-stat-value {
  font-size: 18px;
  font-weight: 700;
}
.bank-section h3,
.bank-panel h3 {
  font-size: 15px;
  margin: 0 0 12px;
}
.ledger-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.ledger-row:last-child { border-bottom: none; }
.ledger-label {
  font-size: 13px;
  font-weight: 500;
}
.ledger-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.ledger-amount {
  font-weight: 700;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.bank-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 14px;
}
.bank-panel-muted {
  background: transparent;
  border-style: dashed;
}
.bank-hint {
  font-size: 12px;
  margin: 0 0 12px;
}
.bank-footnote {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}
.loan-active-label {
  font-size: 11px;
  color: var(--text-muted);
}
.loan-active-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--warning);
}
.loan-pending {
  padding: 8px 0;
}
.loan-history {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.loan-hist-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.text-danger { color: #f87171; }

/* Card status variants */
.gs-card-suspended {
  filter: grayscale(0.35);
  opacity: 0.9;
}
.gs-card-cancelled {
  filter: grayscale(0.85);
  opacity: 0.75;
}
.gs-card-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(248, 113, 113, 0.55);
  border: 3px solid rgba(248, 113, 113, 0.45);
  padding: 6px 14px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
}
.bank-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -8px 0 16px;
}
.bank-benefit {
  font-size: 12px;
  color: var(--warning, #f5c542);
  font-weight: 500;
}
.admin-card-preview {
  margin: 10px 0 14px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  min-height: 48px;
  font-size: 13px;
}

/* ========== INVENTORY GRID ========== */
.inv-toolbar,
.orders-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.inv-toolbar-stats,
.orders-toolbar-stats {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--text-secondary);
}
.inv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.inv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.inv-card:hover {
  border-color: var(--border-light);
}
.inv-card-used {
  opacity: 0.55;
}
.inv-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: rgba(0,0,0,0.25);
}
.inv-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.inv-card-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-muted);
  height: 100%;
}
.inv-used-badge,
.inv-illegal-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  color: #fca5a5;
}
.inv-illegal-badge {
  left: auto;
  right: 8px;
  color: #fcd34d;
}
.inv-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.inv-card-cat {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}
.inv-card-name {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.inv-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.inv-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

/* ========== ORDERS GRID ========== */
.orders-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.order-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  transition: border-color 0.15s ease;
}
.order-card:hover {
  border-color: var(--border-light);
}
.order-card-media {
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0,0,0,0.25);
  align-self: start;
}
.order-card-img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  display: block;
}
.order-card-img.placeholder {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-muted);
}
.order-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.order-card-name {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 600;
}
.order-card-date {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}
.order-card-price {
  text-align: right;
  flex-shrink: 0;
}
.order-card-actions {
  display: flex;
  justify-content: flex-end;
}
.row-muted { opacity: 0.55; }
@media (max-width: 560px) {
  .order-card {
    grid-template-columns: 64px 1fr;
  }
  .order-card-img,
  .order-card-img.placeholder {
    width: 64px;
    height: 64px;
  }
}

/* ========== GS CONFIRM MODAL ========== */
.modal-dialog-confirm {
  max-width: 420px;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.gs-confirm-card {
  background: var(--bg-card, #161a21);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 22px 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}
.gs-confirm-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.gs-confirm-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gs-confirm-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
}
.gs-confirm-body {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}
.gs-confirm-body.hidden { display: none; }
.gs-confirm-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
  background: rgba(0,0,0,0.18);
}
.gs-confirm-rows.hidden { display: none; }
.gs-confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.gs-confirm-row:last-child { border-bottom: none; }
.gs-confirm-row-label {
  color: var(--text-muted);
  flex-shrink: 0;
}
.gs-confirm-row-value {
  text-align: right;
  font-weight: 600;
  word-break: break-word;
}
.gs-confirm-row-value.muted { font-weight: 500; color: var(--text-secondary); }
.gs-confirm-row-value.success { color: var(--success); }
.gs-confirm-row-value.warning { color: var(--warning, #f5c542); }
.gs-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.btn-danger {
  background: rgba(239, 68, 68, 0.9);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fff;
}
.btn-danger:hover {
  background: rgba(239, 68, 68, 1);
}


/* ========== MARKET 3-COL DESKTOP ========== */
.market-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
.market-col-feed,
.market-col-post {
  display: none;
}
.market-feed-mobile { display: block; }
@media (min-width: 1200px) {
  .main {
    max-width: 1480px;
  }
  .market-layout {
    grid-template-columns: 200px minmax(0, 1fr) 250px;
    gap: 18px;
  }
  .market-col-feed,
  .market-col-post {
    display: block;
    position: sticky;
    top: 72px;
  }
  .market-feed-mobile { display: none; }
}
@media (min-width: 1600px) {
  .main { max-width: 1680px; }
  .market-layout {
    grid-template-columns: 220px minmax(0, 1fr) 270px;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}
.market-side-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.market-side-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.market-col-feed .feed-item {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.market-col-feed .feed-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.post-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.post-stat:last-of-type { border-bottom: none; }
.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.product-vendor {
  color: var(--text-secondary);
  font-weight: 500;
}
.modal-vendor {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 6px 0;
}
.event-banner-coupon {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
}
.vendor-chips { margin-bottom: 8px; }


.market-promo {
  border-radius: 14px;
  overflow: hidden;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.market-promo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.82) 100%);
}
.market-promo-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
}
.market-promo-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.market-promo-sub {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.75);
}
.market-feed-card {
  margin-top: 12px;
  max-height: 320px;
  overflow: auto;
}
.feed-compact {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feed-compact-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.feed-compact-item:last-child { border-bottom: none; }
.feed-compact-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  background: var(--primary, #6366f1);
}
.feed-dot-sale, .feed-dot-admin { background: #34d399; }
.feed-dot-info { background: #60a5fa; }
.feed-dot-warn { background: #fbbf24; }
.feed-compact-body { min-width: 0; }
.feed-compact-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-compact-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
}

.admin-id-code {
  display: block;
  font-size: 10px;
  font-family: ui-monospace, monospace;
  color: var(--text-muted);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 4px;
}


/* Admin products multi-select */
.admin-products-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.admin-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--accent, #6ee7b7);
}


/* —— Última unidade + lote relâmpago —— */
.stock-badge.last-unit {
  background: #7f1d1d;
  color: #fecaca;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.stock-badge.flash-badge {
  background: linear-gradient(135deg, #9a3412, #c2410c);
  color: #ffedd5;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.flash-countdown {
  font-size: 10px;
  opacity: 0.9;
  font-weight: 500;
}
.product-card-flash {
  border-color: #ea580c;
  box-shadow: 0 0 0 1px #ea580c55, 0 8px 24px #ea580c22;
  position: relative;
}
.product-card-flash::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px #fb923c44;
}
.product-card-last {
  border-color: #f87171;
}

/* —— Cart success pós-compra —— */
.cart-success {
  text-align: center;
  padding: 48px 24px;
}
.cart-success-mark {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: #0b0e14;
  border: 1px solid #6ee7b7;
  color: #6ee7b7;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.cart-success h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.cart-success p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* —— Mesa admin —— */
.mesa-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mesa-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.mesa-list li:last-child { border-bottom: none; }
.mesa-actions {
  display: inline-flex;
  gap: 4px;
  margin-left: auto;
}
.admin-actions-stock {
  white-space: nowrap;
}
.admin-actions-stock .btn {
  padding: 4px 8px;
}

/* —— Mobile: saldo + carrinho sempre no polegar —— */
@media (max-width: 860px) {
  .header-right {
    gap: 6px;
  }
  .balance-pill {
    padding: 6px 10px;
  }
  .balance-value {
    font-size: 13px;
  }
  .cart-btn {
    min-width: 40px;
    min-height: 40px;
  }
  .header-right .btn-ghost.btn-sm {
    padding: 6px 8px;
    font-size: 12px;
  }
}
@media (max-width: 400px) {
  .brand {
    display: none;
  }
}


/* Banco — benefício + chips de valor */
.bank-benefit-card {
  margin: 12px 0 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a 0%, #12261f 100%);
  border: 1px solid #6ee7b744;
}
.bank-benefit-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.bank-benefit-text {
  font-size: 14px;
  color: #6ee7b7;
  font-weight: 600;
}
.bank-subs-card {
  margin: 10px 0 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a 0%, #1a1a2e 100%);
  border: 1px solid #818cf844;
}
.bank-subs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.bank-sub-item {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(129, 140, 248, 0.15);
}
.bank-sub-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.bank-sub-name {
  font-size: 13px;
  color: #a5b4fc;
  font-weight: 600;
}
.bank-sub-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.bank-sub-expiry {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}
.admin-subs-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-sub-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}
.admin-sub-row.admin-sub-expired {
  opacity: 0.65;
}
.admin-sub-info {
  font-size: 13px;
  flex: 1;
  min-width: 0;
}
.admin-sub-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}
.rp-amount-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.mesa-finance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  align-items: start;
}


/* Carrinho — descontos */
.cart-item-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
}
.cart-item-price .price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 12px;
}
.cart-unit-now {
  color: var(--success, #6ee7b7);
  font-weight: 600;
}
.cart-evt-pct {
  font-size: 11px;
  color: #fb923c;
  font-weight: 600;
}
.cart-line-total {
  color: var(--text-muted);
  font-size: 12px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
}
