.profile-page {
  padding-bottom: 40px;
}

.profile-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.12),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.72)
    );
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

body.dark .profile-hero {
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.18),
      transparent 34%
    ),
    linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.72));
}

.profile-hero-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.profile-hero-info {
  min-width: 0;
}

.profile-hero-topline {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.profile-hero-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
}

.profile-hero-summary {
  margin-top: 10px;
  line-height: 1.6;
  max-width: 560px;
}

.profile-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.profile-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.profile-sidebar {
  position: sticky;
  top: 88px;
}

.profile-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.profile-tabs-vertical {
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.profile-tab-btn {
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.profile-tab-btn:hover {
  color: var(--text);
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.profile-tab-btn.active {
  background: linear-gradient(135deg, #0f172a, #2563eb);
  color: white;
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.profile-content {
  min-width: 0;
}

.profile-tab-panel {
  display: none;
}

.profile-tab-panel.active {
  display: block;
}

.profile-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.profile-panel-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
}

.profile-panel-subtitle {
  margin: 8px 0 0;
  line-height: 1.6;
}

.profile-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
}

.profile-overview-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.profile-main-card {
  min-width: 0;
}

.profile-account-top {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.profile-avatar-large {
  width: 96px;
  height: 96px;
  border-radius: 30px;
  background: linear-gradient(135deg, #111827, #2563eb);
  color: white;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

.profile-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-account-meta {
  flex: 1;
  min-width: 240px;
}

.profile-avatar-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.profile-info-list {
  display: grid;
  gap: 12px;
}

.profile-info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.profile-info-row:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.18);
}

body.dark .profile-info-row {
  background: rgba(255, 255, 255, 0.04);
}

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

.profile-info-value {
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.profile-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.profile-extra-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.profile-premium-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: white;
}

.profile-premium-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(8px);
}

.profile-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  backdrop-filter: blur(10px);
}

.profile-card-badge-dark {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
}

.profile-card-title-light {
  color: white;
}

.profile-card-text-light {
  opacity: 0.96;
  line-height: 1.6;
}

.profile-card-button-space {
  margin-top: 16px;
}

.profile-connect-card {
  margin-top: 0;
}

.profile-connect-text {
  margin-bottom: 16px;
}

.profile-orders-pagination-wrap,
.profile-list-pagination-wrap {
  margin-top: 20px;
}

.profile-orders-pagination,
.profile-list-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-orders-pagination-info,
.profile-list-pagination-info {
  font-size: 14px;
  color: var(--muted);
}

.profile-section-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-mini-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  padding: 16px;
  box-shadow: var(--shadow);
}

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

.profile-muted-block {
  color: var(--muted);
  line-height: 1.6;
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-stat-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.42);
}

body.dark .profile-stat-box {
  background: rgba(255, 255, 255, 0.04);
}

.profile-stat-value {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.profile-stat-label {
  font-size: 13px;
  color: var(--muted);
}

.profile-empty-soft {
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.28);
}

body.dark .profile-empty-soft {
  background: rgba(255, 255, 255, 0.03);
}

/* Shared utilities for profile renders */

.profile-stack-4 {
  display: grid;
  gap: 4px;
}

.profile-stack-6 {
  display: grid;
  gap: 6px;
}

.profile-stack-8 {
  display: grid;
  gap: 8px;
}

.profile-stack-10 {
  display: grid;
  gap: 10px;
}

.profile-stack-12 {
  display: grid;
  gap: 12px;
}

.profile-stack-14 {
  display: grid;
  gap: 14px;
}

.profile-stack-16 {
  display: grid;
  gap: 16px;
}

.profile-mt-4 {
  margin-top: 4px;
}

.profile-mt-6 {
  margin-top: 6px;
}

.profile-mt-8 {
  margin-top: 8px;
}

.profile-mt-10 {
  margin-top: 10px;
}

.profile-mt-12 {
  margin-top: 12px;
}

.profile-mt-16 {
  margin-top: 16px;
}

.profile-mt-20 {
  margin-top: 20px;
}

.profile-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.profile-row-between {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.profile-row-center {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-row-end {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-grow {
  flex: 1;
  min-width: 260px;
}

.profile-card-spaced {
  margin-bottom: 14px;
}

.profile-card-title-lg {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
  line-height: 1.35;
  word-break: break-word;
}

.profile-meta-list {
  display: grid;
  gap: 6px;
}

.profile-meta-text {
  color: var(--muted);
  line-height: 1.55;
  word-break: break-word;
}

.profile-moderation-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.03);
}

.profile-moderation-note-pending {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.18);
}

.profile-moderation-note-rejected {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.18);
}

.profile-moderation-note-muted {
  background: rgba(15, 23, 42, 0.04);
}

.profile-moderation-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.profile-moderation-text {
  color: var(--text);
  line-height: 1.55;
  word-break: break-word;
}

.profile-moderation-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.profile-actions-col {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.profile-actions-col .btn {
  white-space: nowrap;
}

.profile-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
}

.profile-status-new {
  color: var(--accent);
  font-weight: 700;
}

.profile-thumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

body.dark .profile-thumb {
  background: rgba(255, 255, 255, 0.04);
}

.profile-thumb-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.42);
  flex-shrink: 0;
}

body.dark .profile-thumb-placeholder {
  background: rgba(255, 255, 255, 0.04);
}

.profile-media-row {
  display: flex;
  gap: 14px;
  flex: 1;
  min-width: 260px;
}

.profile-media-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.profile-badge-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(37, 99, 235, 0.06);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

body.dark .profile-badge-soft {
  background: rgba(37, 99, 235, 0.12);
}

.profile-order-card,
.profile-product-card,
.profile-favorite-card,
.profile-notification-card {
  margin-bottom: 14px;
}

.profile-filter-bar {
  margin-bottom: 14px;
}

.profile-filter-bar-inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.profile-filter-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.profile-notification-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.profile-notification-meta {
  display: grid;
  gap: 4px;
}

.profile-notification-head {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.profile-notification-card.is-unread {
  border: 1px solid rgba(37, 99, 235, 0.32);
}

.profile-notification-card.is-read {
  border: 1px solid var(--line);
}

.profile-settings-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
}

.profile-inline-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.profile-inline-form input[type="number"] {
  max-width: 140px;
}

.profile-notification-confirm-text {
  color: var(--muted, #6b7280);
  line-height: 1.6;
}

.profile-danger-text {
  font-weight: 700;
  color: #b91c1c;
}

.profile-wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.profile-wallet-row {
  line-height: 1.6;
}

.profile-wallet-row + .profile-wallet-row {
  margin-top: 10px;
}

.profile-wallet-status-wrap {
  margin-bottom: 16px;
}

.profile-wallet-ready {
  margin-top: 16px;
  color: var(--success);
  font-weight: 600;
}

.profile-wallet-connect-btn {
  margin-top: 16px;
}

.profile-history-card {
  margin-top: 24px;
}

.profile-history-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.profile-history-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.profile-store-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-store-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.profile-modal-title {
  font-size: 22px;
  margin: 0 0 14px;
}

.profile-modal-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}

.profile-modal-preview-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  padding: 8px;
}

.profile-modal-preview-image {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: rgba(255, 255, 255, 0.7);
}

body.dark .profile-modal-preview-image {
  background: rgba(255, 255, 255, 0.04);
}

.profile-modal-preview-image.is-dimmed {
  opacity: 0.45;
}

.profile-modal-preview-name {
  font-size: 12px;
  margin-top: 8px;
  word-break: break-word;
  color: var(--muted);
}

.profile-modal-preview-btn {
  width: 100%;
  margin-top: 8px;
}

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

.profile-summary-line {
  margin-top: 6px;
}

.profile-summary-line:first-child {
  margin-top: 0;
}

.profile-section-note {
  margin-bottom: 16px;
}

.profile-divider-list {
  display: grid;
}

.profile-divider-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.profile-divider-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.profile-product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.profile-tab-btn:disabled,
.profile-inline-form button:disabled,
.profile-actions-col .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ─── Email verification banner ──────────────────────── */

.email-verify-banner {
  margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06));
  border: 1px solid rgba(37, 99, 235, 0.22);
  padding: 16px 20px;
}

body.dark .email-verify-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.08));
  border-color: rgba(37, 99, 235, 0.3);
}

.email-verify-banner-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.email-verify-banner-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.email-verify-banner-text {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 14px;
  line-height: 1.5;
}

.email-verify-banner-text strong {
  font-size: 15px;
}

.email-verify-banner-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .email-verify-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .email-verify-banner-btn {
    width: 100%;
  }
}

/* ─── Order card enhancements ─────────────────────────── */

.profile-order-thumb {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.7);
}

body.dark .profile-order-thumb {
  background: rgba(255, 255, 255, 0.04);
}

.profile-order-thumb-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(255, 255, 255, 0.42);
  flex-shrink: 0;
}

body.dark .profile-order-thumb-placeholder {
  background: rgba(255, 255, 255, 0.04);
}

.profile-order-header-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.profile-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 4px;
}

.profile-order-meta-item {
  color: var(--muted);
  font-size: 13px;
}

.profile-order-meta-item strong {
  color: var(--text);
  font-weight: 700;
}

.profile-order-hint {
  margin-top: 10px;
  padding: 9px 13px;
  border-radius: 13px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

body.dark .profile-order-hint {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
}

.profile-order-dispute-info {
  margin-top: 10px;
  padding: 9px 13px;
  border-radius: 13px;
  background: rgba(234, 88, 12, 0.05);
  border: 1px solid rgba(234, 88, 12, 0.14);
  display: grid;
  gap: 4px;
}

body.dark .profile-order-dispute-info {
  background: rgba(234, 88, 12, 0.08);
  border-color: rgba(234, 88, 12, 0.2);
}

/* ─── Status badges ───────────────────────────────────── */

.profile-order-status-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid transparent;
}

/* Order statuses */
.order-status-created,
.order-status-payment_pending {
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.3);
}
body.dark .order-status-created,
body.dark .order-status-payment_pending {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}

.order-status-paid_held,
.order-status-paid {
  background: rgba(37, 99, 235, 0.1);
  color: #1e40af;
  border-color: rgba(37, 99, 235, 0.22);
}
body.dark .order-status-paid_held,
body.dark .order-status-paid {
  background: rgba(37, 99, 235, 0.18);
  color: #93c5fd;
}

.order-status-shipped {
  background: rgba(109, 40, 217, 0.1);
  color: #5b21b6;
  border-color: rgba(109, 40, 217, 0.22);
}
body.dark .order-status-shipped {
  background: rgba(109, 40, 217, 0.18);
  color: #c4b5fd;
}

.order-status-completed,
.order-status-released {
  background: rgba(5, 150, 105, 0.1);
  color: #065f46;
  border-color: rgba(5, 150, 105, 0.24);
}
body.dark .order-status-completed,
body.dark .order-status-released {
  background: rgba(5, 150, 105, 0.18);
  color: #6ee7b7;
}

.order-status-disputed {
  background: rgba(234, 88, 12, 0.1);
  color: #c2410c;
  border-color: rgba(234, 88, 12, 0.24);
}
body.dark .order-status-disputed {
  background: rgba(234, 88, 12, 0.18);
  color: #fdba74;
}

.order-status-cancelled,
.order-status-refunded {
  background: rgba(107, 114, 128, 0.1);
  color: #374151;
  border-color: rgba(107, 114, 128, 0.22);
}
body.dark .order-status-cancelled,
body.dark .order-status-refunded {
  background: rgba(107, 114, 128, 0.14);
  color: #d1d5db;
}

/* Product statuses */
.product-status-active {
  background: rgba(5, 150, 105, 0.1);
  color: #065f46;
  border-color: rgba(5, 150, 105, 0.24);
}
body.dark .product-status-active {
  background: rgba(5, 150, 105, 0.18);
  color: #6ee7b7;
}

.product-status-pending {
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.3);
}
body.dark .product-status-pending {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}

.product-status-sold {
  background: rgba(37, 99, 235, 0.1);
  color: #1e40af;
  border-color: rgba(37, 99, 235, 0.22);
}
body.dark .product-status-sold {
  background: rgba(37, 99, 235, 0.18);
  color: #93c5fd;
}

.product-status-hidden {
  background: rgba(107, 114, 128, 0.1);
  color: #374151;
  border-color: rgba(107, 114, 128, 0.22);
}
body.dark .product-status-hidden {
  background: rgba(107, 114, 128, 0.14);
  color: #d1d5db;
}

.product-status-rejected {
  background: rgba(185, 28, 28, 0.08);
  color: #991b1b;
  border-color: rgba(185, 28, 28, 0.2);
}
body.dark .product-status-rejected {
  background: rgba(185, 28, 28, 0.14);
  color: #fca5a5;
}

/* Sidebar tab icons */
.profile-tab-icon {
  margin-right: 8px;
  font-style: normal;
}

/* Dark adjustments */

body.dark .profile-thumb-placeholder,
body.dark .profile-stat-box,
body.dark .profile-empty-soft {
  border-color: var(--line);
}

/* Responsive */

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

  .profile-sidebar {
    position: static;
    top: auto;
  }

  .profile-tabs-vertical {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .profile-tab-btn {
    text-align: center;
  }

  .profile-overview-grid {
    grid-template-columns: 1fr;
  }

  .profile-quick-grid {
    grid-template-columns: 1fr;
  }

  .profile-wallet-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .profile-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border-radius: 24px;
  }

  .profile-hero-main {
    width: 100%;
    align-items: flex-start;
  }

  .profile-hero-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .profile-avatar-form {
    width: 100%;
    flex-direction: column;
  }

  .profile-avatar-form .btn {
    width: 100%;
  }

  .profile-tabs-vertical {
    padding: 12px;
    border-radius: 20px;
  }

  .profile-tab-btn {
    width: 100%;
  }

  .profile-panel-head {
    margin-bottom: 16px;
  }

  .profile-row-between,
  .profile-row,
  .profile-media-row {
    flex-direction: column;
  }

  .profile-grow,
  .profile-media-copy {
    min-width: 0;
  }

  .profile-actions-col {
    width: 100%;
  }

  .profile-actions-col .btn,
  .profile-inline-actions .btn,
  .profile-edit-actions .btn {
    width: 100%;
  }

  .profile-store-products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .profile-account-top {
    align-items: flex-start;
  }

  .profile-info-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-info-value {
    text-align: left;
  }

  .profile-stat-grid {
    grid-template-columns: 1fr;
  }

  .profile-avatar-large {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    font-size: 28px;
  }

  .profile-hero-title {
    font-size: 28px;
  }

  .profile-thumb,
  .profile-thumb-placeholder {
    width: 88px;
    height: 88px;
  }

  .profile-modal-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
