/* ============================================================
   Reseller Marketplace — Front-end CSS
   All classes prefixed .rm-
   ============================================================ */

/* ── Reset / Base ─────────────────────────────────────────── */
.rm-wrap,
.rm-auth-wrap,
.rm-dash-wrap,
.rm-product-page,
.rm-showcase-wrap,
.rm-storefront,
.rm-catalog-wrap,
.rm-product-mgmt {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  color: #2d3436;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Notices ──────────────────────────────────────────────── */
.rm-notice {
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
}
.rm-notice.rm-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.rm-notice.rm-error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.rm-notice.rm-info    { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }

/* ── Cards ────────────────────────────────────────────────── */
.rm-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  margin-bottom: 24px;
}

/* ── Auth ─────────────────────────────────────────────────── */
.rm-auth-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 16px;
  min-height: 70vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8f4fd 100%);
}
.rm-auth-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  padding: 40px;
  width: 100%;
  max-width: 520px;
}
.rm-auth-brand { text-align: center; margin-bottom: 28px; }
.rm-auth-icon  { font-size: 48px; display: block; margin-bottom: 8px; }
.rm-auth-brand h2 { font-size: 26px; margin: 0 0 4px; color: #2d3436; }
.rm-auth-brand p  { color: #636e72; margin: 0; font-size: 14px; }

/* ── Tabs ─────────────────────────────────────────────────── */
.rm-tabs {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dfe6e9;
  margin-bottom: 24px;
}
.rm-tab {
  flex: 1;
  text-align: center;
  padding: 11px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #636e72;
  background: #f8f9fa;
  transition: all .2s;
}
.rm-tab.active,
.rm-tab:hover {
  background: #FF6B35;
  color: #fff;
}

/* ── Forms ────────────────────────────────────────────────── */
.rm-form { margin: 0; }
.rm-field { margin-bottom: 16px; }
.rm-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #636e72;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.rm-field input[type="text"],
.rm-field input[type="email"],
.rm-field input[type="tel"],
.rm-field input[type="number"],
.rm-field input[type="password"],
.rm-field input[type="url"],
.rm-field select,
.rm-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #dfe6e9;
  border-radius: 8px;
  font-size: 15px;
  color: #2d3436;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.rm-field input:focus,
.rm-field select:focus,
.rm-field textarea:focus {
  border-color: #FF6B35;
  box-shadow: 0 0 0 3px rgba(255,107,53,.15);
}
.rm-field textarea { resize: vertical; min-height: 80px; }
.rm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rm-row .rm-field { margin-bottom: 0; }
.rm-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #FF6B35;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin: 24px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #fff3f0;
}
.rm-footnote { font-size: 12px; color: #b2bec3; text-align: center; margin-top: 12px; }
.rm-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #636e72; margin-bottom: 16px; cursor: pointer; }
.rm-check input { width: auto; }

/* Password toggle */
.rm-pw-wrap { position: relative; }
.rm-pw-wrap input { padding-right: 44px; }
.rm-pw-eye {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; font-size: 18px; padding: 4px;
}

/* File input */
.rm-file-input {
  display: block;
  width: 100%;
  padding: 10px;
  border: 2px dashed #dfe6e9;
  border-radius: 8px;
  cursor: pointer;
  background: #fafbfc;
  font-size: 14px;
  color: #636e72;
}
.rm-file-input:hover { border-color: #FF6B35; }
.rm-image-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rm-image-preview img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; border: 2px solid #dfe6e9; }

/* Size picker */
.rm-size-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.rm-size-opt { display: none; }
.rm-size-opt span {
  display: inline-block;
  padding: 7px 14px;
  border: 1.5px solid #dfe6e9;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  background: #fff;
}
.rm-size-opt input:checked + span {
  background: #FF6B35; color: #fff; border-color: #FF6B35;
}
.rm-size-opt span:hover { border-color: #FF6B35; color: #FF6B35; }

/* ── Buttons ──────────────────────────────────────────────── */
.rm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.rm-btn:hover { opacity: .88; transform: translateY(-1px); }
.rm-btn-primary  { background: #FF6B35; color: #fff; border-color: #FF6B35; }
.rm-btn-outline  { background: transparent; color: #FF6B35; border-color: #FF6B35; }
.rm-btn-ghost    { background: #f8f9fa; color: #636e72; border-color: #dfe6e9; }
.rm-btn-danger   { background: #e17055; color: #fff; border-color: #e17055; }
.rm-btn-wa       { background: #25D366; color: #fff; border-color: #25D366; }
.rm-btn-upi      { background: #6c5ce7; color: #fff; border-color: #6c5ce7; }
.rm-btn-rz       { background: #2d6cdf; color: #fff; border-color: #2d6cdf; }
.rm-btn-copy     { background: #74b9ff; color: #fff; border-color: #74b9ff; }
.rm-btn-full     { width: 100%; }
.rm-btn-lg       { padding: 14px 28px; font-size: 16px; border-radius: 10px; }
.rm-btn-sm       { padding: 7px 14px; font-size: 13px; }
.rm-btn-xs       { padding: 5px 10px; font-size: 12px; border-radius: 6px; }

/* ── Badges ───────────────────────────────────────────────── */
.rm-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
}
.rm-badge--pending    { background: #fff3cd; color: #856404; }
.rm-badge--active     { background: #d4edda; color: #155724; }
.rm-badge--published  { background: #d4edda; color: #155724; }
.rm-badge--confirmed  { background: #cce5ff; color: #004085; }
.rm-badge--delivered  { background: #d4edda; color: #155724; }
.rm-badge--converted  { background: #d4edda; color: #155724; }
.rm-badge--rejected   { background: #f8d7da; color: #721c24; }
.rm-badge--cancelled  { background: #f8d7da; color: #721c24; }
.rm-badge--processing { background: #e2d9f3; color: #4a2c8a; }
.rm-badge--shipped    { background: #c3e6cb; color: #155724; }
.rm-badge--paid       { background: #d4edda; color: #155724; }
.rm-badge--failed     { background: #f8d7da; color: #721c24; }
.rm-badge--in_stock   { background: #d4edda; color: #155724; }
.rm-badge--low_stock  { background: #fff3cd; color: #856404; }
.rm-badge--out_of_stock { background: #f8d7da; color: #721c24; }

/* ── Stats Grid ───────────────────────────────────────────── */
.rm-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.rm-stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  text-align: center;
  border-top: 3px solid #dfe6e9;
}
.rm-stat-card.rm-stat-green  { border-top-color: #00b894; }
.rm-stat-card.rm-stat-blue   { border-top-color: #0984e3; }
.rm-stat-card.rm-stat-amber  { border-top-color: #fdcb6e; }
.rm-stat-card.rm-stat-orange { border-top-color: #e17055; }
.rm-stat-card.rm-stat-gold   { border-top-color: #f9ca24; }
.rm-stat-card.rm-stat-teal   { border-top-color: #00cec9; }
.rm-stat-card.rm-stat-purple { border-top-color: #6c5ce7; }
.rm-stat-card.rm-stat-indigo { border-top-color: #4a2c8a; }
.rm-stat-icon { font-size: 26px; margin-bottom: 6px; }
.rm-stat-val  { font-size: 22px; font-weight: 800; color: #2d3436; display: block; }
.rm-stat-label{ font-size: 12px; color: #636e72; margin-top: 2px; font-weight: 500; }

/* ── Dashboard header ─────────────────────────────────────── */
.rm-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  margin-bottom: 24px;
}
.rm-dash-identity { display: flex; align-items: center; gap: 16px; }
.rm-dash-identity h1 { margin: 0 0 4px; font-size: 22px; }
.rm-dash-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rm-store-logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #FF6B35; }
.rm-logo-placeholder {
  width: 64px; height: 64px; border-radius: 50%;
  background: #FF6B35; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800;
}
.rm-muted { color: #b2bec3; font-size: 13px; margin: 0; }
.rm-store-url-link { font-size: 13px; color: #0984e3; text-decoration: none; }
.rm-store-url-link:hover { text-decoration: underline; }

/* ── Sections ─────────────────────────────────────────────── */
.rm-section { margin-bottom: 32px; }
.rm-section h2 { font-size: 20px; font-weight: 700; margin: 0 0 16px; color: #2d3436; }
.rm-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rm-section-head h2 { margin: 0; }
.rm-empty { color: #b2bec3; font-style: italic; padding: 20px 0; }
.rm-empty--center { text-align: center; padding: 48px; }

/* ── Tables ───────────────────────────────────────────────── */
.rm-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid #f0f0f0; }
.rm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.rm-table th {
  background: #f8f9fa;
  padding: 11px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #636e72;
  border-bottom: 1px solid #eee;
}
.rm-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #f8f9fa;
  vertical-align: middle;
}
.rm-table tbody tr:hover { background: #fafafa; }
.rm-table .rm-comm-cell { color: #00b894; font-weight: 700; }
.rm-status-sel { padding: 5px 8px; border: 1px solid #dfe6e9; border-radius: 6px; font-size: 13px; }

/* ── Product Grid ─────────────────────────────────────────── */
.rm-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.rm-cols-2 .rm-product-card { }
.rm-cols-4 { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.rm-product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.rm-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.rm-product-link { text-decoration: none; color: inherit; display: block; }
.rm-product-img-wrap { aspect-ratio: 1; overflow: hidden; background: #f8f9fa; }
.rm-product-img-wrap img,
.rm-product-card > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.rm-product-card:hover img { transform: scale(1.04); }
.rm-product-info { padding: 14px; }
.rm-product-info h3, .rm-product-info h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.4;
  color: #2d3436;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rm-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.rm-price { font-size: 17px; font-weight: 800; color: #FF6B35; }
.rm-price-lg { font-size: 28px; font-weight: 900; color: #FF6B35; }
.rm-mrp { font-size: 13px; color: #b2bec3; text-decoration: line-through; }
.rm-discount { font-size: 12px; font-weight: 700; color: #00b894; background: #d4edda; padding: 2px 6px; border-radius: 4px; }
.rm-discount-badge { font-size: 13px; font-weight: 700; color: #fff; background: #00b894; padding: 4px 10px; border-radius: 20px; }
.rm-cat-tag {
  display: inline-block;
  font-size: 11px;
  background: #fff3f0;
  color: #FF6B35;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 6px;
}
.rm-earn-badge {
  font-size: 12px;
  font-weight: 700;
  color: #00b894;
  background: #d4f1ea;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  display: inline-block;
}
.rm-earn-lg { font-size: 14px; padding: 6px 14px; }
.rm-earn-banner {
  background: linear-gradient(90deg, #00b894, #00cec9);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  margin: 12px 0;
}
.rm-comm-breakdown { font-size: 11px; color: #b2bec3; margin-bottom: 10px; }
.rm-in-store-badge {
  position: absolute; top: 10px; left: 10px;
  background: #00b894; color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
}
.rm-product-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* ── Catalog ──────────────────────────────────────────────── */
.rm-catalog-wrap { max-width: 1200px; }
.rm-catalog-header { margin-bottom: 20px; }
.rm-catalog-header h2 { font-size: 24px; margin: 0 0 4px; }
.rm-catalog-count { color: #636e72; font-size: 14px; margin-bottom: 16px; }
.rm-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  margin-bottom: 20px;
}
.rm-search-input {
  flex: 1; min-width: 180px;
  padding: 10px 14px;
  border: 1.5px solid #dfe6e9;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}
.rm-search-input:focus { border-color: #FF6B35; }
.rm-cat-select, .rm-filter-bar select {
  padding: 10px 14px;
  border: 1.5px solid #dfe6e9;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  outline: none;
}
.rm-pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.rm-page-btn {
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1.5px solid #dfe6e9;
  color: #636e72;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}
.rm-page-btn.active { background: #FF6B35; color: #fff; border-color: #FF6B35; }

/* ── Product Page ─────────────────────────────────────────── */
.rm-product-page { max-width: 1100px; margin: 0 auto; padding: 20px; }
.rm-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 20px; }
.rm-product-gallery {}
.rm-main-image { border-radius: 12px; overflow: hidden; background: #f8f9fa; }
.rm-main-image img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.rm-thumb-strip { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.rm-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 2px solid #dfe6e9; cursor: pointer; transition: border-color .15s; }
.rm-thumb.active, .rm-thumb:hover { border-color: #FF6B35; }

.rm-product-title { font-size: 26px; font-weight: 800; margin: 0 0 10px; line-height: 1.3; }
.rm-price-block { display: flex; align-items: center; gap: 12px; margin: 14px 0; flex-wrap: wrap; }
.rm-product-attrs { display: flex; gap: 18px; flex-wrap: wrap; margin: 12px 0; font-size: 14px; color: #636e72; }
.rm-product-attrs span strong { color: #2d3436; }
.rm-stock-line { margin: 10px 0; }
.rm-size-section { margin: 16px 0; }
.rm-size-section strong { display: block; margin-bottom: 10px; font-size: 14px; }
.rm-size-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.rm-size-btn {
  padding: 8px 16px;
  border: 2px solid #dfe6e9;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.rm-size-btn:hover, .rm-size-btn.active { border-color: #FF6B35; color: #FF6B35; background: #fff3f0; }
.rm-buy-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.rm-buy-actions .rm-btn { flex: 1; min-width: 160px; }
.rm-share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: #636e72; margin: 16px 0; }
.rm-share-btn {
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
  text-decoration: none; transition: opacity .2s;
}
.rm-share-btn:hover { opacity: .8; }
.rm-share-wa { background: #25D366; color: #fff; }
.rm-share-fb { background: #1877f2; color: #fff; }
.rm-share-tg { background: #0088cc; color: #fff; }
.rm-product-desc { margin-top: 24px; padding-top: 20px; border-top: 1px solid #f0f0f0; }
.rm-product-desc h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.rm-oos-tag { color: #dc3545; font-weight: 700; font-size: 13px; }

/* ── Existing images (edit form) ──────────────────────────── */
.rm-existing-images { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.rm-img-thumb { position: relative; }
.rm-img-thumb img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 2px solid #dfe6e9; }
.rm-del-img {
  position: absolute; top: -6px; right: -6px;
  background: #e17055; color: #fff;
  border: none; border-radius: 50%;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; cursor: pointer;
}

/* ── Order Modal ──────────────────────────────────────────── */
.rm-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
}
.rm-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}
.rm-modal-box {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: #fff;
  border-radius: 16px;
  width: 92%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.rm-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
}
.rm-modal-head h3 { margin: 0; font-size: 18px; }
.rm-modal-close {
  background: #f8f9fa; border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.rm-modal-body { padding: 20px 24px; }
.rm-modal-price-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  margin-bottom: 16px;
  text-align: right;
}
.rm-modal-price-summary strong { color: #FF6B35; font-size: 20px; }
.rm-upi-box {
  background: #f0f7ff;
  border: 1.5px solid #74b9ff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}
.rm-upi-box h4 { margin: 0 0 8px; }
.rm-upi-box p { margin: 0 0 8px; font-size: 14px; }
.rm-inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.rm-inline-form select,
.rm-inline-form input { padding: 9px 12px; border: 1.5px solid #dfe6e9; border-radius: 8px; font-size: 14px; }

/* ── Payout card ──────────────────────────────────────────── */
.rm-payout-card {
  background: linear-gradient(135deg, #fff3f0, #fff);
  border: 1.5px solid #FF6B35;
}
.rm-payout-card h3 { margin: 0 0 8px; }

/* ── Storefront ───────────────────────────────────────────── */
.rm-storefront { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.rm-store-banner { border-radius: 16px; overflow: hidden; margin-bottom: 24px; }
.rm-store-banner img { width: 100%; max-height: 300px; object-fit: cover; display: block; }
.rm-store-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
  padding: 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  flex-wrap: wrap;
}
.rm-store-desc { color: #636e72; font-size: 14px; margin: 4px 0 8px; }
.rm-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.rm-social {
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
  text-decoration: none; transition: opacity .2s;
}
.rm-social:hover { opacity: .8; }
.rm-social.rm-ig { background: #e1306c; color: #fff; }
.rm-social.rm-fb { background: #1877f2; color: #fff; }
.rm-social.rm-wa { background: #25D366; color: #fff; }
.rm-social.rm-yt { background: #ff0000; color: #fff; }

/* ── Empty state ──────────────────────────────────────────── */
.rm-empty-state { text-align: center; padding: 48px 20px; }
.rm-empty-state p { color: #b2bec3; font-size: 16px; margin-bottom: 16px; }

/* ── Form actions ─────────────────────────────────────────── */
.rm-form-actions { display: flex; gap: 12px; align-items: center; margin-top: 24px; flex-wrap: wrap; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .rm-product-layout { grid-template-columns: 1fr; }
  .rm-row { grid-template-columns: 1fr; }
  .rm-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .rm-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rm-auth-card { padding: 24px 20px; }
  .rm-dash-header { flex-direction: column; align-items: flex-start; }
  .rm-buy-actions { flex-direction: column; }
  .rm-buy-actions .rm-btn { min-width: unset; }
  .rm-modal-box { width: 96%; max-height: 95vh; }
  .rm-filter-bar { flex-direction: column; }
  .rm-search-input { width: 100%; }
  .rm-card { padding: 20px; }
}

@media (max-width: 480px) {
  .rm-product-grid { grid-template-columns: 1fr; }
  .rm-stats-grid   { grid-template-columns: 1fr; }
  .rm-thumb { width: 56px; height: 56px; }
}
