/* ============================================
   SUAPIFY MARKETPLACE - Global Styles
   Primary: #1E10C1  Secondary: #4f46e5
   ============================================ */

:root {
  --s-primary:     #1E10C1;
  --s-primary-h:   #1a0da8;
  --s-primary-l:   #4f46e5;
  --s-primary-xl:  #ede9fe;
  --s-primary-2xl: #f5f3ff;
  --s-text:        #111827;
  --s-text-2:      #374151;
  --s-text-3:      #6b7280;
  --s-text-4:      #9ca3af;
  --s-border:      #e5e7eb;
  --s-border-h:    #d1d5db;
  --s-bg:          #f9fafb;
  --s-white:       #ffffff;
  --s-success:     #10b981;
  --s-warning:     #f59e0b;
  --s-error:       #ef4444;
  --s-info:        #3b82f6;
  --s-radius:      8px;
  --s-radius-lg:   12px;
  --s-shadow:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --s-shadow-lg:   0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -2px rgba(0,0,0,.05);
  --s-transition:  .18s ease;
}

/* ============ REGISTRATION FORM ============ */
.suapify-account-type-selector { margin-bottom: 24px; }
.suapify-type-label { font-weight: 600; color: var(--s-text); margin-bottom: 12px; font-size: 15px; }
.suapify-type-cards { display: flex; gap: 12px; flex-wrap: wrap; }

.suapify-type-card {
  flex: 1; min-width: 160px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px 16px; border: 2px solid var(--s-border);
  border-radius: var(--s-radius-lg); background: var(--s-white);
  transition: all var(--s-transition); text-align: center; position: relative;
}
.suapify-type-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.suapify-type-card.active,
.suapify-type-card:has(input:checked) {
  border-color: var(--s-primary); background: var(--s-primary-2xl);
  box-shadow: 0 0 0 3px rgba(30,16,193,.12);
}
.suapify-type-card .type-icon  { font-size: 28px; }
.suapify-type-card .type-name  { font-weight: 700; font-size: 15px; color: var(--s-text); }
.suapify-type-card .type-desc  { font-size: 12px; color: var(--s-text-3); }

.suapify-store-url-preview { font-size: 13px; color: var(--s-text-3); }
.suapify-store-url-preview strong { color: var(--s-primary); }

.suapify-approval-notice {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; background: var(--s-primary-2xl);
  border: 1px solid var(--s-primary-xl); border-radius: var(--s-radius);
  font-size: 13px; color: var(--s-text-2); margin-top: 16px;
}

.suapify-pending-box {
  text-align: center; padding: 60px 40px;
  background: var(--s-white); border-radius: var(--s-radius-lg);
  border: 2px dashed var(--s-border);
}
.suapify-pending-box .pending-icon { font-size: 48px; display: block; margin-bottom: 16px; }
.suapify-pending-box h3 { font-size: 22px; font-weight: 700; color: var(--s-text); margin-bottom: 8px; }
.suapify-pending-box p { color: var(--s-text-3); font-size: 15px; }

/* ============ SHARED COMPONENTS ============ */
.svd-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--s-radius); font-size: 14px;
  font-weight: 600; cursor: pointer; border: none; transition: all var(--s-transition);
  text-decoration: none; white-space: nowrap;
}
.svd-btn:disabled { opacity: .55; cursor: not-allowed; }
.svd-btn-primary  { background: var(--s-primary); color: #fff; }
.svd-btn-primary:hover { background: var(--s-primary-h); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30,16,193,.35); }
.svd-btn-outline  { background: transparent; border: 2px solid var(--s-primary); color: var(--s-primary); }
.svd-btn-outline:hover { background: var(--s-primary-2xl); }
.svd-btn-ghost    { background: transparent; color: var(--s-text-3); }
.svd-btn-ghost:hover { background: var(--s-bg); color: var(--s-text); }
.svd-btn-lg { padding: 12px 28px; font-size: 15px; width: 100%; justify-content: center; }
.svd-btn-sm { padding: 6px 12px; font-size: 13px; }
.svd-btn-danger { background: var(--s-error); color: #fff; }
.svd-btn-danger:hover { background: #dc2626; }

.svd-input, .svd-select, .svd-textarea {
  width: 100%; padding: 9px 12px; border: 1.5px solid var(--s-border);
  border-radius: var(--s-radius); font-size: 14px; color: var(--s-text);
  background: var(--s-white); transition: border-color var(--s-transition);
  font-family: inherit; box-sizing: border-box;
}
.svd-input:focus, .svd-select:focus, .svd-textarea:focus {
  outline: none; border-color: var(--s-primary);
  box-shadow: 0 0 0 3px rgba(30,16,193,.1);
}
.svd-textarea { resize: vertical; min-height: 100px; }
.svd-textarea-sm { min-height: 70px; }

.svd-form-group { margin-bottom: 18px; }
.svd-form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--s-text-2); margin-bottom: 6px; }
.svd-form-group .req { color: var(--s-error); }
.svd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svd-form-group-sm { flex: 0 0 130px; }
.svd-commission-calc-wrap { display: block; }
.svd-commission-calc-wrap .svd-btn { margin-top: 4px; }

.svd-input-prefix { position: relative; display: flex; align-items: center; }
.svd-input-prefix span { position: absolute; left: 12px; color: var(--s-text-3); font-weight: 600; pointer-events: none; }
.svd-input-prefix .svd-input { padding-left: 28px; }

.svd-help { font-size: 12px; color: var(--s-text-3); margin-top: 4px; display: block; }
.svd-checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--s-text-2); cursor: pointer; }
.svd-checkbox-label input { accent-color: var(--s-primary); width: 16px; height: 16px; }
.svd-checkboxes { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.svd-card { background: var(--s-white); border-radius: var(--s-radius-lg); padding: 24px; border: 1px solid var(--s-border); margin-bottom: 20px; box-shadow: var(--s-shadow); }
.svd-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.svd-card h3 { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: var(--s-text); }

.svd-table-wrapper { overflow-x: auto; border-radius: var(--s-radius); border: 1px solid var(--s-border); }
.svd-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.svd-table thead th { background: var(--s-bg); padding: 10px 14px; text-align: left; font-weight: 600; color: var(--s-text-3); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; border-bottom: 1px solid var(--s-border); white-space: nowrap; }
.svd-table tbody td { padding: 12px 14px; border-bottom: 1px solid var(--s-border); color: var(--s-text-2); vertical-align: middle; }
.svd-table tbody tr:last-child td { border-bottom: none; }
.svd-table tbody tr:hover { background: var(--s-bg); }
.svd-loading-row { text-align: center; color: var(--s-text-4); padding: 40px !important; }
.svd-empty { text-align: center; color: var(--s-text-4); padding: 30px; }

.svd-badge {
  display: inline-flex; align-items: center; padding: 3px 10px;
  border-radius: 100px; font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.badge-publish, .badge-completed, .badge-approved, .badge-verified { background: #dcfce7; color: #15803d; }
.badge-pending  { background: #fef9c3; color: #a16207; }
.badge-draft    { background: #f3f4f6; color: #6b7280; }
.badge-error, .badge-rejected, .badge-cancelled { background: #fee2e2; color: #b91c1c; }
.badge-processing { background: #dbeafe; color: #1d4ed8; }
.badge-enviado-suapify    { background: #e0e7ff; color: #4338ca; }
.badge-recibido-suapify   { background: #dbeafe; color: #1e40af; }
.badge-verificado-suapify { background: #d1fae5; color: #065f46; }
.badge-enviado-cliente    { background: #cffafe; color: #0e7490; }
.badge-incidencia         { background: #fff7ed; color: #c2410c; }

.svd-pagination { display: flex; gap: 6px; align-items: center; justify-content: center; padding: 16px 0; }
.svd-page-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; border: 1.5px solid var(--s-border); background: var(--s-white); font-size: 13px; cursor: pointer; }
.svd-page-btn.active { background: var(--s-primary); color: #fff; border-color: var(--s-primary); }
.svd-page-btn:hover:not(.active) { border-color: var(--s-primary); color: var(--s-primary); }

/* ============ VENDOR DASHBOARD ============ */
.suapify-vendor-dashboard {
  max-width: 100%; margin: 0; padding: 24px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.svd-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: var(--s-white);
  border-radius: var(--s-radius-lg); border: 1px solid var(--s-border);
  margin-bottom: 20px; box-shadow: var(--s-shadow);
}
.svd-header-left { display: flex; align-items: center; gap: 16px; }
.svd-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--s-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
}
.svd-store-name { margin: 0; font-size: 18px; font-weight: 800; color: var(--s-text); }
.svd-store-url  { font-size: 12px; color: var(--s-primary); text-decoration: none; }
.svd-store-url:hover { text-decoration: underline; }
.svd-logout-btn { font-size: 13px; color: var(--s-text-3); text-decoration: none; padding: 8px 14px; border-radius: 6px; border: 1px solid var(--s-border); }
.svd-logout-btn:hover { color: var(--s-error); border-color: var(--s-error); background: #fff5f5; }

/* Nav */
.svd-nav {
  display: flex; gap: 4px; padding: 6px;
  background: var(--s-white); border-radius: var(--s-radius-lg);
  border: 1px solid var(--s-border); margin-bottom: 24px;
  box-shadow: var(--s-shadow); flex-wrap: wrap;
}
.svd-nav-item {
  flex: 1; min-width: 110px; padding: 10px 16px;
  border: none; background: transparent; cursor: pointer;
  border-radius: var(--s-radius); font-size: 13px; font-weight: 600;
  color: var(--s-text-3); transition: all var(--s-transition);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.svd-nav-item:hover { background: var(--s-bg); color: var(--s-text); }
.svd-nav-item.active { background: var(--s-primary); color: #fff; box-shadow: 0 2px 8px rgba(30,16,193,.3); }

/* Tab panes */
.svd-tab-pane { display: none; }
.svd-tab-pane.active { display: block; }

.svd-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.svd-section-header h2 { margin: 0; font-size: 22px; font-weight: 800; color: var(--s-text); }
.svd-date-filter { display: flex; align-items: center; gap: 8px; }
.svd-date-filter .svd-input { width: 150px; }

/* Stats */
.svd-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; margin-bottom: 24px;
}
.svd-stat-card {
  background: var(--s-white); border-radius: var(--s-radius-lg);
  padding: 20px; border: 1px solid var(--s-border);
  text-align: center; transition: all var(--s-transition);
  box-shadow: var(--s-shadow);
}
.svd-stat-card:hover { transform: translateY(-2px); box-shadow: var(--s-shadow-lg); border-color: var(--s-primary-xl); }
.svd-stat-card.loading { animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
.svd-stat-card .stat-icon { font-size: 28px; margin-bottom: 8px; }
.svd-stat-card .stat-value { font-size: 22px; font-weight: 800; color: var(--s-primary); margin-bottom: 4px; }
.svd-stat-card .stat-label { font-size: 12px; color: var(--s-text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.svd-quick-links h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--s-text); }
.svd-product-summary { display: flex; gap: 12px; }
.product-sum-card {
  flex: 1; background: var(--s-white); border-radius: var(--s-radius-lg);
  padding: 16px; border: 1px solid var(--s-border); text-align: center;
  cursor: pointer; transition: all var(--s-transition);
}
.product-sum-card:hover { border-color: var(--s-primary); background: var(--s-primary-2xl); }
.product-sum-card .sum-num { display: block; font-size: 28px; font-weight: 800; color: var(--s-primary); }
.product-sum-card .sum-label { font-size: 12px; color: var(--s-text-3); font-weight: 600; }

/* Products filter */
.svd-products-filter { display: flex; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.svd-products-filter .svd-input { max-width: 280px; }
.svd-products-filter .svd-select { max-width: 200px; }

.svd-products-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.prod-filter-tab {
  padding: 6px 16px; border-radius: 100px; border: 1.5px solid var(--s-border);
  background: var(--s-white); font-size: 13px; font-weight: 600; cursor: pointer;
  color: var(--s-text-3); transition: all var(--s-transition);
}
.prod-filter-tab:hover { border-color: var(--s-primary); color: var(--s-primary); }
.prod-filter-tab.active { background: var(--s-primary); color: #fff; border-color: var(--s-primary); }
.prod-filter-tab.outofstock.active { background: var(--s-error); border-color: var(--s-error); }

.product-img-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.product-img-placeholder { width: 48px; height: 48px; background: var(--s-bg); border-radius: 6px; display:flex; align-items:center; justify-content:center; font-size:18px; }

/* Product actions */
.svd-actions { display: flex; gap: 6px; }
.svd-icon-btn {
  width: 30px; height: 30px; border-radius: 6px; border: 1.5px solid var(--s-border);
  background: var(--s-white); cursor: pointer; display:flex; align-items:center; justify-content:center;
  font-size: 14px; transition: all var(--s-transition); text-decoration:none;
}
.svd-icon-btn:hover { border-color: var(--s-primary); background: var(--s-primary-2xl); }
.svd-icon-btn.delete:hover { border-color: var(--s-error); background: #fff5f5; }

/* Orders */
.svd-orders-filter { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.svd-orders-filter .svd-select,
.svd-orders-filter .svd-input { width: auto; }

/* Payments */
.svd-payments-layout { display: grid; gap: 20px; }
.svd-balance-card {
  background: linear-gradient(135deg, var(--s-primary) 0%, #4f46e5 100%);
  border-radius: var(--s-radius-lg); padding: 32px; color: #fff; text-align: center;
  box-shadow: 0 10px 30px rgba(30,16,193,.3);
}
.balance-label  { font-size: 13px; opacity: .8; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 8px; }
.balance-amount { font-size: 42px; font-weight: 900; margin-bottom: 24px; }
.svd-balance-card .svd-btn-primary { background: rgba(255,255,255,.2); color: #fff; border: 2px solid rgba(255,255,255,.4); }
.svd-balance-card .svd-btn-primary:hover { background: rgba(255,255,255,.3); }

.svd-bank-account-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border: 1.5px solid var(--s-border); border-radius: var(--s-radius);
  margin-bottom: 10px; transition: border-color var(--s-transition);
}
.svd-bank-account-item:hover { border-color: var(--s-primary-xl); }
.svd-bank-account-info { display: flex; flex-direction: column; gap: 2px; }
.bank-name-label { font-weight: 700; font-size: 14px; color: var(--s-text); }
.bank-clabe      { font-size: 13px; color: var(--s-text-3); font-family: monospace; }

.svd-file-upload { display: flex; align-items: center; gap: 12px; padding: 12px; border: 2px dashed var(--s-border); border-radius: var(--s-radius); }
.svd-filename { font-size: 13px; color: var(--s-text-3); }

.svd-info-box {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 16px; background: #eff6ff; border: 1px solid #bfdbfe;
  border-radius: var(--s-radius); margin-bottom: 20px; font-size: 13px; color: #1e40af;
}

/* Settings */
.svd-settings-form .svd-form-actions { padding-top: 8px; }
.svd-form-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--s-border); }
.svd-form-section h4 { font-size: 15px; font-weight: 700; color: var(--s-text); margin-bottom: 16px; }

/* Image upload */
.svd-image-upload { border: 2px dashed var(--s-border); border-radius: var(--s-radius-lg); padding: 20px; }
.image-upload-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--s-radius); border: 2px solid var(--s-primary);
  color: var(--s-primary); cursor: pointer; font-weight: 600; font-size: 14px;
  background: var(--s-primary-2xl); transition: all var(--s-transition); margin-bottom: 16px;
}
.image-upload-btn:hover { background: var(--s-primary-xl); }
.svd-images-preview { display: flex; flex-wrap: wrap; gap: 10px; }
.preview-img-item {
  position: relative; width: 80px; height: 80px;
  border-radius: var(--s-radius); overflow: hidden; border: 2px solid var(--s-border);
}
.preview-img-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-img-item .remove-img {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px;
  background: rgba(0,0,0,.6); color: #fff; border-radius: 50%; border: none;
  cursor: pointer; font-size: 10px; display: flex; align-items: center; justify-content: center;
}
.preview-img-item.main-img { border-color: var(--s-primary); }
.preview-img-item.main-img::after {
  content: '★'; position: absolute; bottom: 4px; left: 4px;
  font-size: 12px; color: var(--s-primary); text-shadow: 0 0 3px rgba(0,0,0,.5);
}

/* Modal */
.svd-modal {
  position: fixed; inset: 0; z-index: 99999;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.svd-modal.active { display: flex; }
.svd-modal-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px); cursor: pointer;
}
.svd-modal-content {
  position: relative; z-index: 1; background: var(--s-white);
  border-radius: var(--s-radius-lg); width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 25px 50px rgba(0,0,0,.25);
  animation: modal-in .2s ease;
}
.svd-modal-lg { max-width: 900px; }
@keyframes modal-in { from{opacity:0;transform:scale(.95)translateY(10px)} to{opacity:1;transform:none} }
.svd-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--s-border); position: sticky; top: 0;
  background: var(--s-white); z-index: 2; border-radius: var(--s-radius-lg) var(--s-radius-lg) 0 0;
}
.svd-modal-header h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--s-text); }
.svd-modal-close { background: none; border: none; cursor: pointer; font-size: 18px; color: var(--s-text-3); width: 32px; height: 32px; border-radius: 50%; display:flex; align-items:center; justify-content:center; }
.svd-modal-close:hover { background: var(--s-bg); color: var(--s-text); }
.svd-modal-body   { padding: 24px; }
.svd-modal-footer { padding: 16px 24px; border-top: 1px solid var(--s-border); display: flex; justify-content: flex-end; gap: 10px; background: var(--s-bg); border-radius: 0 0 var(--s-radius-lg) var(--s-radius-lg); }

.svd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Toast */
.svd-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 999999;
  padding: 12px 20px; border-radius: var(--s-radius); font-size: 14px; font-weight: 600;
  color: #fff; box-shadow: var(--s-shadow-lg); transform: translateY(20px);
  opacity: 0; transition: all .3s ease; pointer-events: none; max-width: 360px;
}
.svd-toast.show   { opacity: 1; transform: none; }
.svd-toast.success{ background: var(--s-success); }
.svd-toast.error  { background: var(--s-error); }
.svd-toast.info   { background: var(--s-primary); }
.svd-toast.warning{ background: var(--s-warning); }

/* ============ VENDOR STORE PAGE ============ */
.suapify-store-page { background: var(--s-bg); min-height: 60vh; }
.store-banner {
  background: linear-gradient(135deg, var(--s-primary) 0%, #4f46e5 100%);
  padding: 40px 20px; color: #fff;
}
.store-banner-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.store-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.2); color: #fff; border: 3px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 800; flex-shrink: 0;
}
.store-info { flex: 1; }
.store-title   { margin: 0 0 8px; font-size: 28px; font-weight: 800; }
.store-location,
.store-contact { margin: 0 0 4px; font-size: 14px; opacity: .85; }
.store-stats   { text-align: center; }
.store-stat .stat-num  { display: block; font-size: 32px; font-weight: 800; }
.store-stat .stat-lbl  { font-size: 12px; opacity: .8; text-transform: uppercase; letter-spacing: .08em; }
.store-content { max-width: 1200px; margin: 0 auto; padding: 32px 20px; }

.store-products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px;
}
.store-product-card {
  background: var(--s-white); border-radius: var(--s-radius-lg);
  border: 1px solid var(--s-border); overflow: hidden;
  transition: all var(--s-transition); box-shadow: var(--s-shadow);
}
.store-product-card:hover { transform: translateY(-4px); box-shadow: var(--s-shadow-lg); border-color: var(--s-primary-xl); }
.store-product-card a { text-decoration: none; color: inherit; }
.product-card-img { aspect-ratio: 1; overflow: hidden; background: var(--s-bg); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.store-product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body  { padding: 14px; }
.product-card-title { font-size: 14px; font-weight: 600; color: var(--s-text); margin: 0 0 6px; line-height: 1.3; }
.product-card-price { font-size: 16px; font-weight: 800; color: var(--s-primary); margin-bottom: 6px; }
.product-condition  { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 100px; text-transform: uppercase; }
.condition-new      { background: #dcfce7; color: #15803d; }
.condition-used     { background: #fef3c7; color: #b45309; }
.condition-refurbished { background: #e0e7ff; color: #3730a3; }
.product-card-footer { padding: 0 14px 14px; }
.store-empty { text-align: center; padding: 80px 20px; }
.store-empty span { font-size: 48px; display: block; margin-bottom: 16px; }
.store-empty p { color: var(--s-text-3); font-size: 16px; }

/* ============ ADMIN DASHBOARD ============ */
.suapify-admin-wrap {
  background: var(--s-bg); min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: -10px -20px 0; padding: 0;
}
.suapify-admin-header {
  background: var(--s-white); border-bottom: 1px solid var(--s-border);
  padding: 0 32px; display: flex; align-items: center; gap: 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06); position: sticky; top: 32px; z-index: 100;
}
.suapify-admin-logo { display: flex; align-items: center; gap: 10px; padding: 16px 0; }
.logo-icon { font-size: 22px; }
.logo-text { font-size: 18px; font-weight: 800; color: var(--s-primary); white-space: nowrap; }
.suapify-admin-tabs { display: flex; gap: 2px; }
.suapify-admin-tabs .tab {
  padding: 18px 20px; text-decoration: none; font-size: 14px; font-weight: 600;
  color: var(--s-text-3); border-bottom: 3px solid transparent; transition: all var(--s-transition);
  white-space: nowrap;
}
.suapify-admin-tabs .tab:hover  { color: var(--s-primary); }
.suapify-admin-tabs .tab.active { color: var(--s-primary); border-bottom-color: var(--s-primary); }
.suapify-admin-content { padding: 32px; max-width: 1400px; }

.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 16px; margin-bottom: 32px; }
.admin-stat-card {
  background: var(--s-white); border-radius: var(--s-radius-lg); padding: 20px;
  border: 1px solid var(--s-border); box-shadow: var(--s-shadow); text-align: center;
}
.admin-stat-card .asc-value { font-size: 28px; font-weight: 900; color: var(--s-primary); }
.admin-stat-card .asc-label { font-size: 12px; color: var(--s-text-3); font-weight: 600; text-transform: uppercase; margin-top: 4px; }

.admin-section { background: var(--s-white); border-radius: var(--s-radius-lg); border: 1px solid var(--s-border); box-shadow: var(--s-shadow); margin-bottom: 24px; overflow: hidden; }
.admin-section-header { padding: 18px 24px; border-bottom: 1px solid var(--s-border); display: flex; align-items: center; justify-content: space-between; }
.admin-section-header h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--s-text); }
.admin-section-body { padding: 20px 24px; }

.admin-filter-row { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-filter-row .svd-input,
.admin-filter-row .svd-select { max-width: 200px; }

/* Pending cards */
.admin-pending-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 16px; }
.admin-pending-card { border: 1.5px solid var(--s-border); border-radius: var(--s-radius-lg); padding: 16px; background: var(--s-white); transition: border-color var(--s-transition); }
.admin-pending-card:hover { border-color: var(--s-primary-xl); }
.admin-pending-card h4 { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.admin-pending-card p  { margin: 0 0 12px; font-size: 13px; color: var(--s-text-3); }
.admin-pending-actions { display: flex; gap: 8px; }

/* Vendor detail modal */
.vendor-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Settings */
.settings-section { margin-bottom: 32px; }
.settings-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--s-primary); color: var(--s-text); }
.commission-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 12px; }
.commission-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border: 1px solid var(--s-border); border-radius: var(--s-radius); background: var(--s-bg); }
.commission-item label { font-size: 13px; font-weight: 600; color: var(--s-text-2); }
.commission-item .svd-input { width: 80px; text-align: right; }

/* Rejection reason input */
.reject-reason-input { display: none; margin-top: 10px; }
.reject-reason-input.visible { display: block; }

/* Responsive */
@media (max-width: 768px) {
  .svd-form-grid { grid-template-columns: 1fr; }
  .svd-form-row  { grid-template-columns: 1fr; }
  .svd-stats-grid { grid-template-columns: repeat(2,1fr); }
  .svd-product-summary { flex-wrap: wrap; }
  .svd-modal-content { max-height: 95vh; }
  .svd-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .svd-nav { gap: 2px; }
  .svd-nav-item { min-width: 80px; font-size: 12px; padding: 8px 10px; }
  .store-banner-inner { flex-direction: column; text-align: center; }
  .suapify-admin-header { flex-direction: column; align-items: flex-start; padding: 16px; }
  .suapify-admin-tabs { overflow-x: auto; width: 100%; }
  .vendor-detail-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   SUAPIFY ADDITIONS: Product page meta bar, seller reviews, store
   ================================================================ */

/* Product page: condition + seller info */
.suapify-product-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #6c63ff;
    font-size: 14px;
}
.suapify-condition-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.condition-new          { background:#d1fae5; color:#065f46; }
.condition-used         { background:#fef3c7; color:#92400e; }
.condition-refurbished  { background:#dbeafe; color:#1e40af; }
.suapify-seller-info    { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.suapify-seller-label   { color:#6b7280; }
.suapify-seller-name    { font-weight:700; color:#1f2937; text-decoration:none; }
.suapify-seller-name:hover { text-decoration:underline; }
.suapify-seller-rating .star { color:#f59e0b; font-size:16px; }
.suapify-seller-rating .star.empty { color:#d1d5db; }
.suapify-seller-sales   { color:#6b7280; font-size:13px; }

/* Vendor product name link */
.svd-product-name-link {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}
.svd-product-name-link:hover {
    color: #6c63ff;
    text-decoration: underline;
}

/* ---- Seller Reviews ---- */
.suapify-seller-reviews-section {
    margin: 40px 0 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
.suapify-reviews-title { font-size:18px; font-weight:700; margin-bottom:16px; }
.suapify-reviews-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px;
    background: #fafafa;
    border-radius: 8px;
}
.suapify-big-rating { font-size: 36px; font-weight: 800; color: #f59e0b; }
.suapify-stars-display .star { font-size: 22px; color: #f59e0b; }
.suapify-stars-display .star.empty { color: #d1d5db; }

.suapify-review-item {
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}
.suapify-review-item:last-child { border-bottom: none; }
.suapify-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 14px;
}
.suapify-review-header .suapify-review-stars { color:#f59e0b; }
.suapify-review-header small { color:#9ca3af; margin-left:auto; }
.suapify-review-text { color:#4b5563; font-size:14px; margin:0; }
.suapify-no-reviews { color:#9ca3af; font-style:italic; }

.suapify-write-review {
    margin-top: 24px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}
.suapify-write-review h4 { margin-bottom: 12px; font-size:16px; }
.star-pick {
    font-size: 28px;
    cursor: pointer;
    color: #d1d5db;
    transition: color .15s;
}
.star-pick:hover, .star-pick.selected { color: #f59e0b; }
.suapify-review-textarea {
    display: block;
    width: 100%;
    margin: 12px 0;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    box-sizing: border-box;
}
.suapify-submit-review-btn {
    padding: 10px 22px;
    background: #6c63ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}
.suapify-submit-review-btn:hover { background: #5b52e0; }
.suapify-review-msg { display:inline-block; margin-left:12px; font-size:13px; }

/* ---- Store Page Filters ---- */
.store-filters {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}
.store-filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.store-filter-item { display:flex; align-items:center; gap:6px; }
.store-filter-search { flex: 2; min-width: 200px; }
.store-filter-price  { gap: 4px; }
.store-input, .store-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: #1f2937;
}
.store-input:focus, .store-select:focus { outline: none; border-color: #6c63ff; }
.store-price-input { width: 110px !important; }
.store-filter-btn {
    padding: 9px 18px;
    background: #6c63ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.store-filter-btn:hover { background: #5b52e0; }
.store-filter-reset {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
}
.store-filter-reset:hover { color: #ef4444; }
.store-results-count { font-size:13px; color:#6b7280; margin-bottom:16px; }

.store-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}
.store-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background .15s, border-color .15s;
}
.store-page-btn:hover, .store-page-btn.active {
    background: #6c63ff;
    border-color: #6c63ff;
    color: #fff;
    text-decoration: none;
}

/* Store banner improvements */
.store-banner {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: #fff;
    padding: 32px 0;
}
.store-banner-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.store-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #6c63ff;
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.store-info { flex: 1; }
.store-title { font-size: 26px; font-weight: 800; margin: 0 0 6px; color:#fff; }
.store-location, .store-contact { margin:2px 0; font-size:14px; color:rgba(255,255,255,.8); }
.store-stats { display:flex; gap:20px; flex-wrap:wrap; }
.store-stat { text-align:center; }
.stat-num { display:block; font-size:22px; font-weight:800; color:#fff; }
.stat-lbl { font-size:12px; color:rgba(255,255,255,.7); text-transform:uppercase; }

/* Video upload in vendor dashboard */
.svd-file-upload { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.svd-filename { font-size:13px; color:#6b7280; }

/* WooCommerce my-account vendor tab (no icon to keep label clean) */
.woocommerce-MyAccount-navigation-link--vendedor a::before {
    content: '';
}

/* Make WooCommerce My Account page full-width */
body.woocommerce-account .site-main,
body.woocommerce-account .content-area,
body.woocommerce-account .entry-content,
body.woocommerce-account .woocommerce {
    max-width: 100%;
    margin: 0;
}

body.woocommerce-account .container,
body.woocommerce-account .container-fluid {
    max-width: 100%;
}

/* ============================================================
   VIDEO TAB
   ============================================================ */
.suapify-video-tab-content {
    padding: 10px 0 24px;
}
.suapify-video-tab-content h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}
.suapify-video-wrapper {
    max-width: 720px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.suapify-video-wrapper video {
    width: 100%;
    display: block;
    max-height: 480px;
}
.suapify-video-embed-wrapper {
    max-width: 720px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.suapify-video-embed-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ============================================================
   SELLER RATING LINK (product page)
   ============================================================ */
.suapify-seller-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px dashed #9ca3af;
    transition: border-color .15s;
}
.suapify-seller-rating-link:hover { border-color: #6c63ff; color: #6c63ff; }
.suapify-seller-rating-link .suapify-seller-rating { display: inline-flex; align-items: center; gap: 2px; }
.suapify-seller-rating-link .rep-score { font-size: 12px; color: #6b7280; margin-left: 2px; }
.suapify-no-rating { font-size: 12px; color: #9ca3af; }

/* ============================================================
   REPUTATION PAGE
   ============================================================ */
.suapify-rep-page {
    max-width: 860px;
    margin: 40px auto;
    padding: 0 20px 60px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.suapify-rep-header {
    padding: 32px 36px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 14px;
    color: #fff;
    margin-bottom: 32px;
}
.suapify-rep-breadcrumb { margin-bottom: 14px; }
.suapify-rep-breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; }
.suapify-rep-breadcrumb a:hover { color: #fff; }
.suapify-rep-header h1 { font-size: 26px; font-weight: 800; margin: 0 0 16px; color: #fff; }
.suapify-rep-header h1 em { font-style: normal; color: #a5b4fc; }
.suapify-rep-subtitle { color: rgba(255,255,255,.7); font-size: 14px; margin: -12px 0 16px; }
.suapify-rep-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.suapify-rep-score {
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.suapify-rep-stars-big .star { font-size: 28px; }
.suapify-rep-stars-big .star.full  { color: #fbbf24; }
.suapify-rep-stars-big .star.half  { color: #fcd34d; }
.suapify-rep-stars-big .star.empty { color: rgba(255,255,255,.3); }
.suapify-rep-count { font-size: 15px; color: rgba(255,255,255,.75); }
.suapify-rep-none { color: rgba(255,255,255,.65); margin: 8px 0 0; font-size: 15px; }

/* Write review box */
.suapify-rep-write-box {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 28px;
}
.suapify-rep-write-box h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #1f2937;
}
.suapify-star-picker { display: flex; gap: 6px; margin-bottom: 14px; }
.star-pick {
    font-size: 30px;
    cursor: pointer;
    color: #d1d5db;
    transition: color .12s, transform .1s;
    line-height: 1;
}
.star-pick:hover, .star-pick.selected { color: #fbbf24; transform: scale(1.15); }

/* Review list */
.suapify-rep-reviews-list { display: flex; flex-direction: column; gap: 18px; }
.suapify-rep-review-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.suapify-rep-review-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.suapify-rep-review-head strong { font-size: 15px; color: #1f2937; }
.suapify-rep-stars-small span { color: #fbbf24; font-size: 16px; }
.suapify-rep-review-head small { color: #9ca3af; font-size: 12px; margin-left: auto; }
.suapify-rep-customer-link { color: inherit; text-decoration: none; }
.suapify-rep-customer-link:hover { text-decoration: underline; }
.suapify-rep-review-text { margin: 0; font-size: 14px; color: #374151; line-height: 1.6; }
.suapify-rep-order-items { margin-top: 6px; font-size: 13px; color: #4b5563; }
.suapify-rep-items-label { display: block; font-weight: 600; margin-bottom: 4px; }
.suapify-rep-items-list { list-style: disc; margin: 0 0 4px 18px; padding: 0; }
.suapify-rep-items-list li { margin-bottom: 2px; }
.suapify-rep-items-list a { color: #2563eb; text-decoration: none; }
.suapify-rep-items-list a:hover { text-decoration: underline; }
.suapify-rep-item-price { margin-left: 6px; color: #111827; font-weight: 600; }
.suapify-rep-store-link { text-decoration: none; color: #6c63ff; font-size: 15px; }
.suapify-rep-store-link:hover { text-decoration: underline; }

/* Seller / customer reply box */
.suapify-rep-seller-reply {
    margin-top: 14px;
    padding: 12px 16px;
    background: #f0fdf4;
    border-left: 3px solid #22c55e;
    border-radius: 0 8px 8px 0;
}
.suapify-rep-seller-reply strong { font-size: 13px; color: #15803d; display: block; margin-bottom: 2px; }
.suapify-rep-seller-reply small  { color: #9ca3af; font-size: 11px; }
.suapify-rep-seller-reply p      { margin: 6px 0 0; font-size: 13px; color: #374151; }

.suapify-rep-reply-form {
    margin-top: 14px;
    padding: 14px 16px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.suapify-reply-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    resize: vertical;
    margin-bottom: 8px;
    box-sizing: border-box;
}

/* Buttons */
.suapify-btn-primary {
    padding: 10px 22px;
    background: #6c63ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background .15s;
}
.suapify-btn-primary:hover { background: #5b52e0; }
.suapify-btn-secondary {
    padding: 8px 18px;
    background: #fff;
    color: #6c63ff;
    border: 1px solid #6c63ff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background .15s;
}
.suapify-btn-secondary:hover { background: #f5f3ff; }

/* ============================================================
   VENDOR DASHBOARD – ORDERS – CUSTOMER REP
   ============================================================ */
.svd-customer-cell { min-width: 160px; line-height: 1.5; }
.svd-rep-mini-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    text-decoration: none;
    color: #6b7280;
    margin-top: 2px;
}
.svd-rep-mini-link:hover { color: #6c63ff; }
.svd-rep-mini-link .star { font-size: 13px; }
.svd-rep-mini-link .star.full  { color: #fbbf24; }
.svd-rep-mini-link .star.half  { color: #fcd34d; }
.svd-rep-mini-link .star.empty { color: #d1d5db; }
.svd-no-rep { color: #9ca3af; font-style: italic; }
.svd-btn-tiny {
    padding: 4px 10px;
    font-size: 12px;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
}
.svd-btn-tiny:hover { background: #dcfce7; }
.svd-btn-review-customer { font-weight: 600; }
.svd-rep-done { font-size: 12px; color: #22c55e; font-weight: 600; }

/* Customer review modal */
.svd-review-modal h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: #1f2937; }
.svd-review-modal h3 em { font-style: normal; color: #6c63ff; }
.svd-review-modal-sub { font-size: 13px; color: #6b7280; margin: 0 0 16px; }

/* ============================================================
   STORE PAGE – REPUTATION BAR
   ============================================================ */
.store-stat-rep-link { text-decoration: none; color: inherit; display: block; }
.store-stat-rep-link:hover .stat-num { color: #a5b4fc; }

.store-rep-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
}
.store-rep-bar-empty { background: #fffbeb; border-bottom-color: #fde68a; }
.store-rep-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.store-rep-stars {
    display: flex;
    align-items: center;
    gap: 6px;
}
.store-rep-stars .star { font-size: 20px; }
.store-rep-stars .star.full  { color: #fbbf24; }
.store-rep-stars .star.half  { color: #fcd34d; }
.store-rep-stars .star.empty { color: #d1d5db; }
.store-rep-stars strong { font-size: 18px; font-weight: 700; color: #1f2937; }
.store-rep-count { font-size: 13px; color: #6b7280; }
.store-rep-link {
    font-size: 14px;
    font-weight: 600;
    color: #6c63ff;
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid #6c63ff;
    border-radius: 8px;
    transition: background .15s;
}
.store-rep-link:hover { background: #f5f3ff; }
.store-rep-none { font-size: 14px; color: #92400e; }

/* ============================================================
   MY ACCOUNT – CUSTOMER REPUTATION CARD
   ============================================================ */
.suapify-account-rep-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border: 1px solid #c4b5fd;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
}
.sarc-info { display: flex; flex-direction: column; gap: 4px; }
.sarc-label { font-size: 13px; font-weight: 600; color: #5b21b6; text-transform: uppercase; letter-spacing: .5px; }
.sarc-score { font-size: 20px; font-weight: 700; color: #1f2937; }
.sarc-score small { font-size: 13px; color: #6b7280; font-weight: 400; }
.sarc-no-rep { font-size: 14px; color: #9ca3af; font-weight: 400; }
.sarc-btn {
    padding: 10px 18px;
    background: #6c63ff;
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .15s;
}
.sarc-btn:hover { background: #5b52e0; text-decoration: none !important; }

/* ===================== ADMIN ORDER DETAIL ===================== */
.order-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-info-card {
    border: 1px solid var(--s-border);
    border-radius: var(--s-radius-lg);
    padding: 16px 20px;
    background: var(--s-bg-alt, #f9fafb);
}
.order-info-card h4 { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--s-text); }
.order-info-card p  { margin: 0 0 6px; font-size: 13px; color: var(--s-text-3); }
.order-info-card p strong { color: var(--s-text); }
.order-address { font-size: 13px; color: var(--s-text-3); line-height: 1.6; }

.order-vendor-group { margin-bottom: 16px; border: 1px solid var(--s-border); border-radius: var(--s-radius-lg); overflow: hidden; }
.order-vendor-header {
    padding: 10px 16px;
    background: #f5f3ff;
    font-size: 13px;
    font-weight: 700;
    color: #5b21b6;
    border-bottom: 1px solid var(--s-border);
}
.order-vendor-group .svd-table { margin: 0; border: 0; }
.order-vendor-group .svd-table thead th { background: #fafafa; font-size: 11px; }

.order-totals { max-width: 340px; margin: 20px 0 0 auto; }
.order-total-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; color: var(--s-text-3); }
.order-total-final { border-top: 2px solid var(--s-border); padding-top: 10px; margin-top: 4px; font-size: 15px; font-weight: 800; color: var(--s-text); }

.order-status-change {
    margin-top: 28px;
    padding: 20px;
    border: 1.5px solid var(--s-primary-xl, #e0e7ff);
    border-radius: var(--s-radius-lg);
    background: #fafafe;
}
.order-status-change h4 { margin: 0 0 14px; font-size: 14px; font-weight: 700; }
.order-status-form { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.order-status-form .svd-select { max-width: 100%; }

@media (max-width: 768px) {
    .order-detail-grid { grid-template-columns: 1fr; }
    .order-totals { max-width: 100%; }
}

/* ===================== PRODUCT Q&A SECTION ===================== */
.sp-qa-section { padding: 48px 0; }
.sp-qa-section .sp-section-inner { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.sp-qa-list { margin: 24px 0; }
.sp-qa-item { border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; background: #fff; }
.sp-qa-question, .sp-qa-answer { display: flex; gap: 12px; }
.sp-qa-answer { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f3f4f6; }
.sp-qa-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.sp-qa-text { margin: 0 0 4px; font-size: 14px; line-height: 1.6; color: #1f2937; }
.sp-qa-meta { font-size: 12px; color: #9ca3af; }
.sp-qa-pending .sp-qa-text { font-style: italic; }
.sp-qa-empty { text-align: center; color: #9ca3af; padding: 24px; font-size: 14px; }
.sp-qa-loading { text-align: center; color: #9ca3af; padding: 16px; }

.sp-qa-form-wrap { margin-top: 24px; }
.sp-qa-form-title { font-size: 15px; font-weight: 700; margin: 0 0 12px; color: #1f2937; }
.sp-qa-form { display: flex; flex-direction: column; gap: 10px; }
.sp-qa-textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid #e5e7eb; border-radius: 8px;
    font-size: 14px; font-family: inherit; resize: vertical; transition: border-color .15s;
}
.sp-qa-textarea:focus { border-color: #1E10C1; outline: none; }
.sp-qa-submit { max-width: 200px; }
.sp-qa-msg { font-size: 13px; min-height: 18px; }
.sp-qa-login-prompt { font-size: 14px; color: #6b7280; }
.sp-qa-login-prompt a { color: #1E10C1; font-weight: 600; }

.sp-qa-more-wrap { text-align: center; margin: 8px 0 0; }
.sp-qa-more-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 28px; border: 1.5px solid #1E10C1; border-radius: 8px;
    background: transparent; color: #1E10C1; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: background .2s, color .2s;
}
.sp-qa-more-btn:hover { background: #1E10C1; color: #fff; }

.sp-qa-modal { display: none; position: fixed; inset: 0; z-index: 99999; align-items: center; justify-content: center; }
.sp-qa-modal.active { display: flex; }
.sp-qa-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.sp-qa-modal-content {
    position: relative; z-index: 1; width: 94%; max-width: 700px; max-height: 80vh;
    background: #fff; border-radius: 16px; display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,.2); animation: spQaModalIn .25s ease-out;
}
@keyframes spQaModalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.sp-qa-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid #e5e7eb; flex-shrink: 0;
}
.sp-qa-modal-header h3 { margin: 0; font-size: 18px; font-weight: 700; color: #1f2937; }
.sp-qa-modal-close {
    width: 36px; height: 36px; border-radius: 50%; border: none; background: #f3f4f6;
    font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: #6b7280; transition: background .15s, color .15s;
}
.sp-qa-modal-close:hover { background: #e5e7eb; color: #1f2937; }
.sp-qa-modal-body {
    overflow-y: auto; padding: 20px 24px; flex: 1 1 auto;
    scrollbar-width: thin; scrollbar-color: #d1d5db transparent;
}
.sp-qa-modal-body::-webkit-scrollbar { width: 6px; }
.sp-qa-modal-body::-webkit-scrollbar-track { background: transparent; }
.sp-qa-modal-body::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

/* ===================== VENDOR QUESTIONS TAB ===================== */
.vendor-questions-list { display: flex; flex-direction: column; gap: 12px; }
.vq-card { border: 1.5px solid var(--s-border); border-radius: var(--s-radius-lg); padding: 16px 20px; background: var(--s-white); }
.vq-pending { border-left: 4px solid #f59e0b; }
.vq-answered { border-left: 4px solid #22c55e; }
.vq-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.vq-product { font-size: 13px; font-weight: 600; color: var(--s-text-3); }
.vq-question { font-size: 14px; line-height: 1.6; color: var(--s-text); }
.vq-question strong { font-size: 12px; color: var(--s-text-3); }
.vq-question p { margin: 4px 0 0; }
.vq-answer-form { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.vq-answer-form textarea { font-family: inherit; }
.vq-answer-form .svd-btn { max-width: 160px; }
.vq-answer { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--s-border); font-size: 14px; }
.vq-answer-label { font-size: 12px; font-weight: 600; color: var(--s-text-3); }
.vq-answer p { margin: 4px 0 0; color: var(--s-text); }

/* ===================== NOTIFICATIONS PAGE ===================== */
.suapify-notifications-page { max-width: 800px; }
.sn-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.sn-header h2 { margin: 0; font-size: 20px; font-weight: 700; }
.sn-list { display: flex; flex-direction: column; gap: 8px; }
.sn-item {
    display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px;
    border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; transition: background .15s;
}
.sn-unread { background: #f0f4ff; border-color: #c7d2fe; }
.sn-read { opacity: .75; }
.sn-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.sn-body { flex: 1; min-width: 0; }
.sn-title { font-size: 14px; font-weight: 700; color: #1f2937; margin-bottom: 2px; }
.sn-message { font-size: 13px; color: #6b7280; line-height: 1.5; word-break: break-word; }
.sn-time { font-size: 11px; color: #9ca3af; margin-top: 4px; }
.sn-actions { display: flex; gap: 6px; flex-shrink: 0; align-items: center; }
.sn-empty { text-align: center; padding: 48px 20px; color: #9ca3af; }
.sn-empty-icon { font-size: 40px; display: block; margin-bottom: 12px; }
.sn-loading { text-align: center; color: #9ca3af; padding: 20px; }

/* Notification badge in WC My Account menu */
.suapify-notif-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background: #dc2626; color: #fff; font-size: 10px; font-weight: 700;
    min-width: 18px; height: 18px; border-radius: 100px; padding: 0 5px;
    margin-left: 6px; line-height: 1;
}

@media (max-width: 600px) {
    .sn-item { flex-wrap: wrap; }
    .sn-actions { width: 100%; justify-content: flex-end; margin-top: 8px; }
}

/* ===================== SUAPIFY TRUST (product form) ===================== */
.svd-trust-section { margin-bottom: 20px; padding: 14px 16px; background: var(--s-bg, #f8fafc); border-radius: var(--s-radius, 8px); border: 1px solid var(--s-border, #e2e8f0); }
.svd-trust-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; position: relative; }
.svd-trust-toggle-label { display: flex; align-items: center; gap: 10px; cursor: pointer; margin: 0; }
.svd-toggle-switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.svd-toggle-switch input { opacity: 0; width: 0; height: 0; }
.svd-toggle-slider { position: absolute; inset: 0; background: #cbd5e1; border-radius: 24px; transition: 0.25s; cursor: pointer; }
.svd-toggle-slider::before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.25s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.svd-toggle-switch input:checked + .svd-toggle-slider { background: #4f46e5; }
.svd-toggle-switch input:checked + .svd-toggle-slider::before { transform: translateX(20px); }
.svd-trust-label-text { font-weight: 600; font-size: 14px; color: var(--s-text, #1e293b); }
.svd-trust-info-btn { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #94a3b8; background: #e2e8f0; color: #475569; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svd-trust-info-btn:hover { background: #c7d2fe; color: #3730a3; }
.svd-trust-tooltip { position: absolute; left: 0; top: 100%; margin-top: 8px; padding: 12px 14px; background: #1e293b; color: #f1f5f9; font-size: 13px; line-height: 1.5; border-radius: 8px; max-width: 380px; z-index: 10; box-shadow: 0 4px 12px rgba(0,0,0,.25); display: none; }
.svd-trust-tooltip.visible { display: block; }
.svd-trust-tooltip a { color: #93c5fd; text-decoration: underline; }
.svd-trust-calc { font-size: 13px; color: var(--s-text-2, #475569); }
.trust-calc-desc { margin-bottom: 10px; }
.trust-calc-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.trust-calc-total { font-weight: 700; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--s-border, #e2e8f0); }
.trust-calc-net { font-weight: 700; color: #16a34a; }
/* Commission calculator modal (two modes) */
.svd-commission-calc-modal .svd-modal-body { padding: 20px 24px; }
.svd-calc-mode { margin-bottom: 0; }
.svd-calc-mode-title { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--s-text, #1e293b); }
.svd-calc-mode-desc { margin: 0 0 12px; font-size: 12px; color: var(--s-text-3, #64748b); }
.svd-calc-input-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.svd-calc-input-row label { font-size: 13px; font-weight: 600; color: var(--s-text-2); min-width: 120px; }
.svd-calc-input-row .svd-input-prefix { flex: 1; min-width: 100px; }
.svd-calc-input-row .svd-btn { flex-shrink: 0; }
.svd-calc-divider { height: 1px; background: var(--s-border, #e2e8f0); margin: 20px 0; }
.svd-calc-result { font-size: 13px; padding: 12px; background: var(--s-bg, #f8fafc); border-radius: 8px; border: 1px solid var(--s-border, #e2e8f0); min-height: 44px; }
.svd-calc-result:empty { display: none; }
.svd-calc-result-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.svd-calc-result-row.trust-yes { color: #4f46e5; font-weight: 600; }
.svd-calc-result-row.trust-no { color: #64748b; }
.svd-manage-section { margin-bottom: 20px; }
.svd-manage-section h4 { margin: 0 0 8px; font-size: 14px; }
.svd-manage-items { display: flex; flex-direction: column; gap: 10px; }
.svd-manage-item { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--s-border, #e2e8f0); border-radius: 8px; }
.svd-manage-thumb { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }
.svd-manage-item-info { display: flex; flex-direction: column; gap: 2px; }
.svd-evidence-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-bottom: 8px; }
.svd-evidence-item { position: relative; }
.svd-evidence-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; border: 1px solid var(--s-border, #e2e8f0); }
.svd-evidence-delete { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: none; background: #dc2626; color: #fff; border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.svd-trust-badge-sm { font-size: 11px; color: #4f46e5; }
.svd-help-text { font-size: 12px; color: #6b7280; margin: 0 0 8px; }
.svd-rating-stars .svd-star { cursor: pointer; opacity: 0.4; }
.svd-rating-stars .svd-star.active { opacity: 1; }

/* ═══════════════════════════════════════════════════════
   SUAPIFY FOOTER
═══════════════════════════════════════════════════════ */
.smn-footer {
  background: #1A0EA0;
  color: rgba(255,255,255,0.82);
  padding: 56px 0 0;
  font-family: 'DM Sans', sans-serif;
  margin-top: 60px;
}
.smn-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.smn-footer-brand .smn-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}
.smn-footer-brand .smn-footer-logo img { width: 34px; height: 34px; }
.smn-footer-brand .smn-footer-logo span {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.smn-footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  max-width: 260px;
  margin-bottom: 20px;
}
.smn-footer-social {
  display: flex;
  gap: 10px;
}
.smn-footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: background .15s, color .15s;
  font-size: 0.85rem;
}
.smn-footer-social a:hover { background: #FFCC00; color: #1A0EA0; }
.smn-footer-col h4 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 16px;
}
.smn-footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 4px 0;
  transition: color .15s;
}
.smn-footer-col a:hover { color: #FFCC00; }
.smn-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 40px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.smn-footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.smn-footer-legal {
  display: flex;
  gap: 20px;
}
.smn-footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color .15s;
}
.smn-footer-legal a:hover { color: rgba(255,255,255,0.8); }
@media (max-width: 900px) {
  .smn-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 0 24px 40px;
  }
  .smn-footer-bottom { padding: 18px 24px; }
}
@media (max-width: 560px) {
  .smn-footer-inner {
    grid-template-columns: 1fr;
    padding: 0 20px 32px;
  }
  .smn-footer-bottom { flex-direction: column; align-items: flex-start; }
  .smn-footer { margin-top: 40px; }
}

/* ═══════════════════════════════════════════════════════
   SEGURO DE ENVÍO — Toggle en checkout
═══════════════════════════════════════════════════════ */
.sui-shipping-insurance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f6f5ff;
  border: 1.5px solid #d5d1f8;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 18px 0;
  gap: 12px;
}
.sui-insurance-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  color: #1a1a2e;
}
.sui-info-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #6c63ff;
  font-size: 1rem;
  line-height: 1;
  padding: 0 2px;
  transition: color .15s;
  display: inline-flex; align-items: center;
}
.sui-info-btn:hover { color: #4834d4; }
.sui-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.sui-toggle-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6c63ff;
  min-width: 56px;
  text-align: right;
}
/* Toggle switch */
.sui-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.sui-toggle input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.sui-toggle-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 24px;
  cursor: pointer;
  transition: background .2s;
}
.sui-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.sui-toggle input:checked + .sui-toggle-slider { background: #6c63ff; }
.sui-toggle input:checked + .sui-toggle-slider::before { transform: translateX(20px); }
/* Info tooltip */
.sui-tooltip-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9990;
  align-items: center;
  justify-content: center;
}
.sui-tooltip-overlay.open { display: flex; }
.sui-tooltip-box {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 24px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
  position: relative;
  font-family: 'DM Sans', sans-serif;
}
.sui-tooltip-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none; border: none;
  font-size: 1.1rem; cursor: pointer;
  color: #9ca3af;
}
.sui-tooltip-close:hover { color: #374151; }
.sui-tooltip-box h3 { font-size: 1rem; font-weight: 700; margin: 0 0 10px; }
.sui-tooltip-box p { font-size: 0.88rem; color: #4b5563; line-height: 1.6; margin: 0 0 10px; }
.sui-tooltip-box a { color: #6c63ff; text-decoration: underline; }

/* ═══════════════════════════════════════════════════════
   TIENDA (/tienda/) — Shop page with filters
═══════════════════════════════════════════════════════ */
.sui-shop-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 60px;
  font-family: 'DM Sans', sans-serif;
}
.sui-shop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.sui-shop-search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 50px;
  padding: 0 12px 0 18px;
  flex: 1;
  max-width: 520px;
  gap: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
  transition: border-color .15s;
}
.sui-shop-search-form:focus-within { border-color: #6c63ff; }
.sui-shop-search-form input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 11px 0;
  background: transparent;
  color: #1a1a2e;
}
.sui-shop-search-form button {
  background: #6c63ff;
  border: none;
  border-radius: 50px;
  padding: 7px 18px;
  color: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background .15s;
  white-space: nowrap;
}
.sui-shop-search-form button:hover { background: #4834d4; }
.sui-shop-orderby {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sui-shop-orderby label { font-size: 0.82rem; color: #6b7280; white-space: nowrap; }
.sui-shop-orderby select {
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  background: #fff;
  color: #374151;
  outline: none;
  cursor: pointer;
  transition: border-color .15s;
}
.sui-shop-orderby select:focus { border-color: #6c63ff; }
.sui-shop-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
/* Sidebar filters */
.sui-shop-sidebar {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  position: sticky;
  top: 100px;
}
.sui-filter-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 14px;
}
.sui-filter-section { margin-bottom: 24px; }
.sui-filter-section:last-child { margin-bottom: 0; }
.sui-filter-section h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px;
}
.sui-price-range { display: flex; gap: 8px; align-items: center; }
.sui-price-input {
  flex: 1;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 7px 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: #374151;
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.sui-price-input:focus { border-color: #6c63ff; }
.sui-price-sep { color: #9ca3af; font-size: 0.85rem; }
.sui-filter-cats { list-style: none; padding: 0; margin: 0; }
.sui-filter-cats li { margin-bottom: 6px; }
.sui-filter-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #374151;
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 8px;
  transition: background .12s, color .12s;
}
.sui-filter-cats a:hover, .sui-filter-cats a.active { background: #f0eeff; color: #6c63ff; }
.sui-filter-cats .count { font-size: 0.75rem; color: #9ca3af; }
.sui-filter-conditions { display: flex; flex-direction: column; gap: 6px; }
.sui-cond-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  color: #374151;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background .12s;
}
.sui-cond-opt:hover { background: #f9fafb; }
.sui-cond-opt input[type=checkbox] { accent-color: #6c63ff; width: 15px; height: 15px; }
.sui-filter-apply {
  width: 100%;
  background: #6c63ff;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  margin-top: 20px;
  transition: background .15s;
}
.sui-filter-apply:hover { background: #4834d4; }
.sui-filter-reset {
  width: 100%;
  background: transparent;
  color: #9ca3af;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 9px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  margin-top: 8px;
  transition: all .15s;
}
.sui-filter-reset:hover { border-color: #d1d5db; color: #6b7280; }
/* Product grid */
.sui-shop-products-area {}
.sui-shop-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.sui-shop-results-count { font-size: 0.85rem; color: #6b7280; }
.sui-shop-results-count strong { color: #1a1a2e; font-weight: 700; }
.sui-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.sui-product-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.sui-product-card:hover {
  box-shadow: 0 8px 28px rgba(108,99,255,.13);
  transform: translateY(-3px);
  border-color: #c4c0f8;
}
.sui-product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f3f4f6;
  display: block;
}
.sui-product-img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  font-size: 2rem;
}
.sui-product-info { padding: 14px; }
.sui-product-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sui-product-price {
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 6px;
}
.sui-product-price .sale { color: #dc2626; }
.sui-product-price .old { font-size: 0.78rem; color: #9ca3af; font-weight: 400; text-decoration: line-through; margin-left: 6px; }
.sui-product-cond {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  margin-bottom: 6px;
  letter-spacing: .3px;
}
.sui-product-cond.new { background: #dcfce7; color: #16a34a; }
.sui-product-cond.used { background: #fef3c7; color: #d97706; }
.sui-product-cond.refurbished { background: #e0f2fe; color: #0891b2; }
.sui-product-seller { font-size: 0.75rem; color: #9ca3af; margin-top: 4px; }
.sui-shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.sui-shop-pagination a,
.sui-shop-pagination span {
  min-width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.875rem;
  text-decoration: none;
  color: #374151;
  transition: all .15s;
  font-family: 'DM Sans', sans-serif;
}
.sui-shop-pagination a:hover { border-color: #6c63ff; color: #6c63ff; background: #f0eeff; }
.sui-shop-pagination span.current { background: #6c63ff; color: #fff; border-color: #6c63ff; font-weight: 700; }
.sui-shop-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 20px;
  color: #9ca3af;
}
.sui-shop-empty svg { opacity: .3; margin-bottom: 16px; }
.sui-shop-empty p { font-size: 1rem; font-weight: 500; }
@media (max-width: 900px) {
  .sui-shop-body { grid-template-columns: 1fr; }
  .sui-shop-sidebar { position: static; }
}
@media (max-width: 600px) {
  .sui-shop-layout { padding: 16px 16px 40px; }
  .sui-shop-topbar { flex-direction: column; align-items: stretch; }
  .sui-shop-search-form { max-width: 100%; }
}
