/* ShopGlowsy /sell — Conversion-optimized acquisition funnel */
:root {
  --brand: #C08497;
  --brand-dk: #a06878;
  --green: #059669;
  --green-dk: #047857;
  --dark: #1a1a2e;
  --gray: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --radius-sm: 8px;
  --sg-plum: #2d1520;
  --sg-wine: #7a3e4d;
  --sg-rose: #c08497;
  --sg-gold: #e8c872;
  --sg-gold-deep: #c9a227;
  --sg-cream: #faf7f4;
  --sg-white: #ffffff;
  --sg-charcoal: #1a1216;
  --sg-muted: #6b5f66;
  --sg-border: rgba(45, 21, 32, 0.08);
  --sg-radius: 24px;
  --sg-radius-sm: 16px;
  --sg-shadow: 0 4px 24px rgba(26, 18, 22, 0.06);
  --sg-shadow-lg: 0 24px 64px rgba(26, 18, 22, 0.14);
  --sg-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sg-grad-hero: linear-gradient(145deg, #ffffff 0%, #fdf9f4 22%, #faf3ee 45%, #f7eef3 68%, #faf7f4 100%);
  --sg-grad-brand: linear-gradient(135deg, #7a3e4d 0%, #4a2c3a 50%, #2d1520 100%);
  --sg-grad-cta: linear-gradient(135deg, #8b4a5a 0%, #4a2c3a 40%, #2d1520 100%);
}

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

html {
  overflow-x: hidden;
  max-width: 100%;
  scroll-behavior: smooth;
}

.sg-sell-body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--sg-cream);
  color: var(--sg-charcoal);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  margin: 0;
}

/* ── Sell page nav (marketplace logo, no search) ── */
.sg-sell-nav {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sg-border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.sg-sell-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
}

.mp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.mp-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mp-logo-text span { color: var(--brand); }

.sg-sell-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sg-sell-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 200ms var(--sg-ease), box-shadow 200ms;
  border: none;
  white-space: nowrap;
}

.sg-sell-nav-btn--ghost {
  color: var(--sg-plum);
  background: #fff;
  border: 1px solid var(--sg-border);
}

.sg-sell-nav-btn--primary {
  color: #fff;
  background: var(--sg-grad-brand);
  box-shadow: 0 6px 18px rgba(74, 44, 58, 0.22);
}

.sg-sell-nav-btn:hover { transform: translateY(-1px); }
.sg-sell-nav-btn--primary:hover { color: #fff; }

.hide-mobile { display: inline; }

@media (max-width: 640px) {
  .hide-mobile { display: none; }
  .sg-sell-nav-inner { padding: 10px 16px; }
}

/* ── Initials avatars (never broken) ── */
.sg-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(26, 18, 22, 0.1);
  letter-spacing: 0.02em;
  user-select: none;
}

.sg-avatar--sm { width: 38px; height: 38px; font-size: 0.72rem; }
.sg-avatar--md { width: 48px; height: 48px; font-size: 0.82rem; }
.sg-avatar--lg { width: 44px; height: 44px; font-size: 0.78rem; }

.sg-avatar--v0 { background: linear-gradient(145deg, #7a3e4d, #4a2c3a); }
.sg-avatar--v1 { background: linear-gradient(145deg, #c08497, #9b6b7d); }
.sg-avatar--v2 { background: linear-gradient(145deg, #b8941f, #e8c872); color: #3d2e10; }
.sg-avatar--v3 { background: linear-gradient(145deg, #059669, #047857); }
.sg-avatar--v4 { background: linear-gradient(145deg, #6366f1, #4f46e5); }
.sg-avatar--v5 { background: linear-gradient(145deg, #d97706, #b45309); }

.sg-sell-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 96px;
  width: 100%;
  overflow-x: hidden;
}

/* ── Marketing Hero ── */
.sg-mkt-hero {
  position: relative;
  min-height: min(88vh, 840px);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 64px;
  overflow: hidden;
  isolation: isolate;
}

.sg-mkt-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--sg-grad-hero);
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.sg-mkt-hero-bg::before {
  content: '';
  position: absolute;
  width: min(480px, 90vw);
  height: min(480px, 90vw);
  top: -15%;
  right: -8%;
  background: radial-gradient(circle, rgba(192, 132, 151, 0.18) 0%, transparent 68%);
}

.sg-mkt-hero-bg::after {
  content: '';
  position: absolute;
  width: min(360px, 70vw);
  height: min(360px, 70vw);
  bottom: -10%;
  left: -5%;
  background: radial-gradient(circle, rgba(232, 200, 114, 0.16) 0%, transparent 70%);
}

.sg-hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.sg-hero-shape--1 {
  width: 200px;
  height: 200px;
  top: 12%;
  left: 8%;
  background: rgba(232, 200, 114, 0.35);
  animation: sg-drift 14s ease-in-out infinite;
}

.sg-hero-shape--2 {
  width: 160px;
  height: 160px;
  top: 55%;
  right: 12%;
  background: rgba(192, 132, 151, 0.28);
  animation: sg-drift 18s ease-in-out infinite reverse;
}

.sg-hero-shape--3 {
  width: 120px;
  height: 120px;
  bottom: 18%;
  left: 42%;
  background: rgba(122, 62, 77, 0.12);
  animation: sg-drift 12s ease-in-out infinite 2s;
}

@keyframes sg-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -16px); }
}

.sg-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c08497' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.sg-hero-glyph {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--sg-wine);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(192, 132, 151, 0.15);
  box-shadow: 0 8px 24px rgba(26, 18, 22, 0.06);
  opacity: 0.7;
}

.sg-hero-glyph--bag { top: 22%; right: 18%; animation: sg-drift 10s ease-in-out infinite; }
.sg-hero-glyph--store { bottom: 28%; left: 12%; animation: sg-drift 13s ease-in-out infinite 1s; }
.sg-hero-glyph--globe { top: 38%; left: 55%; animation: sg-drift 11s ease-in-out infinite 0.5s; }

.sg-mkt-hero-copy { position: relative; z-index: 2; }

.sg-mkt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(122, 62, 77, 0.12);
  box-shadow: 0 4px 16px rgba(26, 18, 22, 0.05);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sg-wine);
  margin-bottom: 22px;
}

.sg-mkt-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: sg-pulse 2s ease infinite;
}

@keyframes sg-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.sg-mkt-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--sg-plum);
  margin: 0 0 18px;
}

.sg-mkt-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--sg-wine), var(--sg-gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sg-mkt-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--sg-muted);
  max-width: 480px;
  margin: 0 0 28px;
  line-height: 1.65;
}

.sg-mkt-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.sg-mkt-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sg-mkt-faces {
  display: flex;
  align-items: center;
}

.sg-mkt-faces .sg-avatar {
  margin-left: -10px;
}

.sg-mkt-faces .sg-avatar:first-child { margin-left: 0; }

.sg-mkt-proof-text {
  font-size: 0.88rem;
  color: var(--sg-muted);
  line-height: 1.4;
}

.sg-mkt-proof-text strong {
  display: block;
  color: var(--sg-plum);
  font-weight: 700;
}

/* Hero visual collage */
.sg-mkt-visual {
  position: relative;
  min-height: 480px;
  max-width: 100%;
  z-index: 2;
  overflow: hidden;
}

.sg-mkt-visual-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(ellipse, rgba(122, 62, 77, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Phone device */
.sg-device-phone {
  position: absolute;
  left: 2%;
  bottom: 0;
  width: min(220px, 42%);
  max-width: 220px;
  z-index: 4;
  filter: drop-shadow(0 32px 48px rgba(26, 18, 22, 0.22));
  animation: sg-float 6s ease-in-out infinite;
}

.sg-device-phone-frame {
  background: #1a1216;
  border-radius: 32px;
  padding: 10px;
  border: 2px solid #333;
}

.sg-device-phone-screen {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 9/16;
}

.sg-mock-store-header {
  background: linear-gradient(135deg, #6d4353, #4a2c3a);
  padding: 28px 14px 16px;
  color: #fff;
}

.sg-mock-store-header .name {
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.sg-mock-store-header .tag {
  font-size: 0.58rem;
  opacity: 0.85;
}

.sg-mock-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px;
}

.sg-mock-product {
  border-radius: 10px;
  overflow: hidden;
  background: #f5f0ed;
}

.sg-mock-product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.sg-mock-product .p-meta {
  padding: 6px;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--sg-plum);
}

.sg-mock-product .p-price {
  font-size: 0.58rem;
  color: var(--sg-wine);
  font-weight: 700;
}

/* Laptop / dashboard */
.sg-device-laptop {
  position: absolute;
  right: 2%;
  top: 20px;
  width: min(100%, 420px);
  max-width: calc(100% - 140px);
  z-index: 3;
  animation: sg-float 7s ease-in-out infinite 0.5s;
}

.sg-device-laptop-screen {
  background: #fff;
  border-radius: 12px 12px 0 0;
  border: 2px solid #e8e0dc;
  border-bottom: none;
  overflow: hidden;
  box-shadow: var(--sg-shadow-lg);
}

.sg-mock-dash-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #faf7f4;
  border-bottom: 1px solid var(--sg-border);
}

.sg-mock-dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
}

.sg-mock-dash-dot:nth-child(1) { background: #ff5f57; }
.sg-mock-dash-dot:nth-child(2) { background: #febc2e; }
.sg-mock-dash-dot:nth-child(3) { background: #28c840; }

.sg-mock-dash-body { padding: 16px; }

.sg-mock-dash-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sg-plum);
  margin-bottom: 12px;
}

.sg-mock-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.sg-mock-kpi {
  background: linear-gradient(165deg, #fff, #faf7f4);
  border: 1px solid var(--sg-border);
  border-radius: 10px;
  padding: 10px 8px;
}

.sg-mock-kpi .lbl {
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sg-muted);
}

.sg-mock-kpi .val {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--sg-plum);
  margin-top: 2px;
}

.sg-mock-chart {
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(122, 62, 77, 0.06), transparent);
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 8px;
}

.sg-mock-chart span {
  flex: 1;
  background: linear-gradient(180deg, var(--sg-wine), var(--sg-rose));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

.sg-mock-chart span:nth-child(1) { height: 35%; }
.sg-mock-chart span:nth-child(2) { height: 55%; }
.sg-mock-chart span:nth-child(3) { height: 40%; }
.sg-mock-chart span:nth-child(4) { height: 75%; }
.sg-mock-chart span:nth-child(5) { height: 60%; }
.sg-mock-chart span:nth-child(6) { height: 90%; }

.sg-device-laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #d4ccc8, #b8b0ac);
  border-radius: 0 0 8px 8px;
  margin: 0 8%;
}

/* Floating cards */
.sg-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--sg-radius-sm);
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(26, 18, 22, 0.14);
  z-index: 5;
}

.sg-float-earn {
  top: 8%;
  left: 28%;
  animation: sg-float 5s ease-in-out infinite 1s;
}

.sg-float-earn .earn-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sg-muted);
}

.sg-float-earn .earn-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #15803d;
  letter-spacing: -0.02em;
}

.sg-float-earn .earn-sub {
  font-size: 0.72rem;
  color: var(--sg-muted);
  margin-top: 2px;
}

.sg-float-order {
  bottom: 18%;
  right: 4%;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: sg-float 5.5s ease-in-out infinite 0.3s;
}

.sg-float-order-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sg-wine), var(--sg-plum));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.sg-float-order-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sg-plum);
  line-height: 1.35;
}

.sg-float-order-text span {
  display: block;
  font-weight: 400;
  color: var(--sg-muted);
  font-size: 0.68rem;
}

@keyframes sg-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Logo / country strip */
.sg-mkt-strip {
  padding: 28px 0 48px;
  border-bottom: 1px solid var(--sg-border);
  margin-bottom: 56px;
}

.sg-mkt-strip-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sg-muted);
  margin-bottom: 16px;
}

.sg-mkt-strip-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  align-items: center;
}

.sg-mkt-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sg-plum);
  opacity: 0.85;
}

.sg-mkt-strip-item i { color: var(--sg-wine); }

/* ── Buttons ── */
.sg-sell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  min-height: 54px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 200ms var(--sg-ease), box-shadow 200ms;
  font-family: inherit;
}

.sg-sell-btn--primary {
  color: #fff;
  background: var(--sg-grad-brand);
  box-shadow: 0 12px 32px rgba(74, 44, 58, 0.32);
}

.sg-sell-btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(74, 44, 58, 0.38);
}

.sg-sell-btn--outline {
  color: var(--sg-plum);
  background: #fff;
  border: 1.5px solid rgba(45, 21, 32, 0.12);
  box-shadow: 0 4px 16px rgba(26, 18, 22, 0.06);
}

.sg-sell-btn--outline-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.sg-sell-btn--google {
  color: var(--sg-charcoal);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.sg-sell-btn--full { width: 100%; }

/* ── Auth split ── */
.sg-sell-auth {
  margin-bottom: 80px;
  scroll-margin-top: 80px;
}

.sg-auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: var(--sg-radius);
  border: 1px solid var(--sg-border);
  box-shadow: var(--sg-shadow-lg);
  overflow: hidden;
}

.sg-auth-visual {
  position: relative;
  min-height: 480px;
  background: var(--sg-grad-cta);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.sg-auth-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.sg-auth-visual h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  margin: 0 0 12px;
  position: relative;
}

.sg-auth-visual p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0 0 24px;
  max-width: 320px;
  position: relative;
}

.sg-auth-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}

.sg-auth-mini-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--sg-radius-sm);
  padding: 14px;
}

.sg-auth-mini-stat .n {
  font-size: 1.25rem;
  font-weight: 800;
}

.sg-auth-mini-stat .l {
  font-size: 0.72rem;
  opacity: 0.85;
  margin-top: 2px;
}

.sg-auth-form-wrap {
  padding: 40px 36px;
}

.sg-sell-auth-card {
  max-width: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

/* ── Signup flow (no reload) ── */
.sg-signup-flow {
  position: relative;
}

.sg-signup-step {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    transform 0.35s ease;
  pointer-events: none;
}

.sg-signup-step.is-active {
  max-height: 720px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sg-signup-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: var(--sg-plum);
  margin: 0 0 6px;
}

.sg-signup-title--verify {
  font-size: 1.25rem;
}

.sg-signup-lead {
  font-size: 0.9rem;
  color: var(--sg-muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.sg-signup-email-display {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sg-charcoal);
  margin: 0 0 12px;
  word-break: break-all;
}

.sg-signup-trust-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 0.88rem;
  color: var(--sg-muted);
}

.sg-signup-trust-list li {
  margin-bottom: 6px;
}

.sg-signup-trust-line {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--sg-muted);
  text-align: center;
}

.sg-signup-back-wrap {
  margin-top: 12px;
}

.sg-signup-back {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.sg-signup-waiting {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: rgba(107, 45, 92, 0.06);
  border: 1px solid rgba(107, 45, 92, 0.12);
  border-radius: var(--sg-radius-sm);
  font-size: 0.85rem;
  color: var(--sg-muted);
  line-height: 1.45;
}

.sg-signup-waiting strong {
  color: var(--sg-plum);
  display: block;
  margin-bottom: 2px;
}

.sg-signup-waiting-pulse {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--sg-plum);
  animation: sg-signup-pulse 1.4s ease-in-out infinite;
}

.sg-signup-waiting.is-verified .sg-signup-waiting-pulse {
  background: #2e7d4f;
  animation: none;
}

@keyframes sg-signup-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.sg-signup-verify-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sg-signup-change-email {
  color: var(--sg-muted);
}

.sg-signup-toast {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1b5e20;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: var(--sg-radius-sm);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.sg-signup-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sg-sell-btn.is-loading {
  opacity: 0.75;
  cursor: wait;
}

/* Auth form (shared) */
.sg-sell-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--sg-border);
  margin-bottom: 24px;
}

.sg-sell-tab {
  padding: 12px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sg-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.sg-sell-tab.is-active {
  color: var(--sg-plum);
  border-bottom-color: var(--sg-wine);
}

.sg-sell-tab-panel { display: none; }
.sg-sell-tab-panel.is-active { display: block; }

.sg-sell-form-group { margin-bottom: 16px; }

.sg-sell-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sg-plum);
  margin-bottom: 6px;
}

.sg-sell-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(45, 21, 32, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: #fafafa;
  transition: border-color 200ms, box-shadow 200ms;
}

.sg-sell-input:focus {
  outline: none;
  border-color: var(--sg-wine);
  box-shadow: 0 0 0 4px rgba(122, 62, 77, 0.1);
  background: #fff;
}

.sg-sell-input-wrap { position: relative; }

.sg-sell-pw-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: var(--sg-muted);
  cursor: pointer;
}

.sg-sell-form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -4px 0 14px;
  font-size: 0.84rem;
}

.sg-sell-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sg-muted);
  cursor: pointer;
}

.sg-sell-link { color: var(--sg-wine); text-decoration: none; font-weight: 500; }
.sg-sell-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--sg-muted);
  font-size: 0.8rem;
}

.sg-sell-divider::before, .sg-sell-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sg-border);
}

.sg-sell-alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.sg-sell-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.sg-sell-alert--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.sg-sell-step-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sg-wine);
  margin-bottom: 6px;
}

.sg-sell-slug-hint { font-size: 0.8rem; color: var(--sg-muted); margin-top: 6px; }

/* ── Visual story sections ── */
.sg-sell-section { margin-bottom: 88px; }

.sg-sell-section-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 48px;
}

.sg-sell-section-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--sg-plum);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.sg-sell-section-head p {
  margin: 0;
  color: var(--sg-muted);
  font-size: 1.02rem;
}

/* Visual steps */
.sg-visual-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sg-visual-step {
  text-align: center;
}

.sg-visual-step-frame {
  background: #fff;
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--sg-shadow);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sg-visual-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sg-plum);
  margin: 0 0 6px;
}

.sg-visual-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--sg-muted);
}

/* Mini mocks inside steps */
.sg-mini-store {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--sg-border);
}

.sg-mini-store-top {
  background: var(--sg-grad-brand);
  padding: 12px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: left;
}

.sg-mini-store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px;
  background: #faf7f4;
}

.sg-mini-store-grid span {
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, #e8dcd6, #d4c4bc);
}

.sg-mini-store-grid span.has-img {
  background: none;
  overflow: hidden;
}

.sg-mini-store-grid span.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-mini-upload {
  width: 100%;
  padding: 16px;
}

.sg-mini-upload-box {
  border: 2px dashed rgba(122, 62, 77, 0.25);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  color: var(--sg-muted);
  font-size: 0.75rem;
}

.sg-mini-upload-box i {
  display: block;
  font-size: 1.5rem;
  color: var(--sg-wine);
  margin-bottom: 8px;
}

.sg-mini-channels {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 8px;
}

.sg-mini-channel {
  flex: 1;
  min-width: 70px;
  padding: 12px 8px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
}

.sg-mini-channel--store { background: rgba(122, 62, 77, 0.12); color: var(--sg-wine); }
.sg-mini-channel--mp { background: rgba(232, 200, 114, 0.2); color: #92700a; }
.sg-mini-channel--rs { background: rgba(34, 197, 94, 0.12); color: #15803d; }

/* Bento features */
.sg-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}

.sg-bento-card {
  position: relative;
  border-radius: var(--sg-radius);
  overflow: hidden;
  border: 1px solid var(--sg-border);
  background: #fff;
  box-shadow: var(--sg-shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sg-bento-card--lg { grid-column: span 6; min-height: 280px; }
.sg-bento-card--md { grid-column: span 4; }
.sg-bento-card--sm { grid-column: span 4; }

.sg-bento-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
}

.sg-bento-card h3 {
  position: relative;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sg-plum);
  margin: 0 0 4px;
}

.sg-bento-card p {
  position: relative;
  margin: 0;
  font-size: 0.85rem;
  color: var(--sg-muted);
}

.sg-bento-visual {
  position: absolute;
  top: 20px;
  right: 20px;
  left: 20px;
  height: 55%;
}

.sg-bento-mp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  height: 100%;
}

.sg-bento-mp-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.sg-bento-network {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
}

.sg-bento-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sg-grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--sg-shadow);
}

.sg-bento-lines {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--sg-wine), var(--sg-gold));
  opacity: 0.4;
  max-width: 40px;
}

.sg-bento-momo {
  display: flex;
  gap: 10px;
  align-items: center;
  height: 100%;
  padding-top: 20px;
}

.sg-bento-momo-badge {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sg-bento-momo-badge--mtn { background: #ffcc00; color: #1a1a1a; }
.sg-bento-momo-badge--vod { background: #e60000; color: #fff; }
.sg-bento-momo-badge--air { background: #ff0000; color: #fff; }

/* Earnings visual split */
.sg-earn-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.sg-earn-visual {
  background: #fff;
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  padding: 28px;
  box-shadow: var(--sg-shadow-lg);
}

.sg-earn-product-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sg-border);
  margin-bottom: 20px;
}

.sg-earn-product-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0e4dc, #d4a5a5);
  flex-shrink: 0;
  overflow: hidden;
}

.sg-earn-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-earn-product-info h4 {
  font-size: 0.95rem;
  margin: 0 0 4px;
  color: var(--sg-plum);
}

.sg-earn-product-info span {
  font-size: 0.82rem;
  color: var(--sg-muted);
}

.sg-earn-bars { display: flex; flex-direction: column; gap: 14px; }

.sg-earn-bar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.sg-earn-bar-row .lbl { color: var(--sg-muted); font-weight: 500; }
.sg-earn-bar-row .val { font-weight: 800; color: var(--sg-plum); }
.sg-earn-bar-row.highlight .val { color: #15803d; font-size: 1.15rem; }

.sg-earn-bar-track {
  height: 8px;
  background: #f0ebe8;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}

.sg-earn-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sg-wine), var(--sg-gold));
}

.sg-earn-hero-card {
  background: var(--sg-grad-cta);
  border-radius: var(--sg-radius);
  padding: 40px 36px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-shadow: var(--sg-shadow-lg);
}

.sg-earn-hero-card .big {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.1;
}

.sg-earn-hero-card .sub {
  opacity: 0.9;
  font-size: 1rem;
  margin: 0 0 24px;
}

/* Trust band */
.sg-trust-band {
  background: var(--sg-grad-cta);
  border-radius: var(--sg-radius);
  padding: 48px 40px;
  color: #fff;
  margin-bottom: 88px;
  position: relative;
  overflow: hidden;
}

.sg-trust-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 200, 114, 0.15) 0%, transparent 70%);
}

.sg-trust-band-inner { position: relative; }

.sg-trust-band h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  text-align: center;
  margin: 0 0 36px;
}

.sg-trust-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.sg-trust-kpi {
  text-align: center;
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--sg-radius-sm);
}

.sg-trust-kpi .num {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sg-trust-kpi .lbl {
  font-size: 0.82rem;
  opacity: 0.85;
  margin-top: 4px;
}

.sg-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sg-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.sg-trust-pill i { font-size: 1.1rem; opacity: 0.9; }

.sg-trust-sellers {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.sg-trust-sellers .sg-avatar {
  margin-left: -8px;
}

.sg-trust-sellers .sg-avatar:first-child { margin-left: 0; }

/* Testimonials with photos */
.sg-sell-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sg-sell-quote {
  background: #fff;
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  padding: 24px;
  box-shadow: var(--sg-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sg-sell-quote-text {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 20px;
  color: var(--sg-charcoal);
}

.sg-sell-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sg-sell-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sg-sell-quote-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--sg-plum);
}

.sg-sell-quote-store {
  font-size: 0.8rem;
  color: var(--sg-muted);
}

.sg-sell-quote-stars {
  color: var(--sg-gold-deep);
  font-size: 0.75rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

/* FAQ */
.sg-sell-faq { max-width: 680px; margin: 0 auto; }

.sg-sell-faq-item {
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius-sm);
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}

.sg-sell-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: none;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sg-plum);
  text-align: left;
  cursor: pointer;
}

.sg-sell-faq-q i { color: var(--sg-wine); transition: transform 250ms; }
.sg-sell-faq-item.is-open .sg-sell-faq-q i { transform: rotate(180deg); }
.sg-sell-faq-a {
  display: none;
  padding: 0 18px 16px;
  font-size: 0.9rem;
  color: var(--sg-muted);
  line-height: 1.6;
}

.sg-sell-faq-item.is-open .sg-sell-faq-a { display: block; }

/* Final CTA */
.sg-sell-final {
  text-align: center;
  background: var(--sg-grad-hero);
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  padding: clamp(48px, 6vw, 72px) 32px;
  position: relative;
  overflow: hidden;
}

.sg-sell-final::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(192, 132, 151, 0.2), transparent 70%);
}

.sg-sell-final h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--sg-plum);
  margin: 0 0 10px;
  position: relative;
}

.sg-sell-final p {
  color: var(--sg-muted);
  margin: 0 0 28px;
  position: relative;
}

.sg-sell-final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
}

/* WhatsApp */
.sg-float-wa-support {
  position: fixed;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #25D366, #128C7E);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
  text-decoration: none;
}

.sg-float-wa-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hide-mobile { display: inline; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sg-mkt-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 32px;
  }

  .sg-mkt-visual {
    min-height: 420px;
    max-width: min(480px, 100%);
    margin: 0 auto;
    width: 100%;
  }

  .sg-device-laptop {
    width: min(340px, calc(100% - 120px));
    right: 0;
    left: auto;
  }

  .sg-device-phone {
    width: min(180px, 40%);
    left: 0;
  }

  .sg-auth-split { grid-template-columns: 1fr; }
  .sg-auth-visual { min-height: 280px; }
  .sg-visual-steps { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .sg-bento-card--lg, .sg-bento-card--md, .sg-bento-card--sm { grid-column: span 12; }
  .sg-earn-split { grid-template-columns: 1fr; }
  .sg-trust-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .sg-sell-wrap { padding: 0 16px 64px; }
  .hide-mobile { display: none; }
  .sg-mkt-visual { min-height: 360px; }
  .sg-device-phone {
    width: min(150px, 38%);
    left: 0;
  }
  .sg-device-laptop {
    width: min(260px, calc(100% - 100px));
    right: 0;
  }
  .sg-float-earn { left: 14%; top: 2%; padding: 10px 12px; max-width: 46%; }
  .sg-float-earn .earn-val { font-size: 1.1rem; }
  .sg-float-order { right: 2%; bottom: 12%; max-width: 52%; }
  .sg-hero-glyph { display: none; }
  .sg-auth-form-wrap { padding: 28px 20px; }
  .sg-auth-visual { padding: 28px 24px; }
  .sg-trust-band { padding: 32px 20px; }
  .sg-trust-kpis { grid-template-columns: 1fr 1fr; }
  .sg-sell-testimonials { grid-template-columns: 1fr; }
  .sg-sell-btn { width: 100%; }
  .sg-mkt-hero-cta, .sg-sell-final-cta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .sg-device-phone, .sg-device-laptop, .sg-float-earn, .sg-float-order,
  .sg-mkt-badge-dot, .sg-hero-shape, .sg-hero-glyph {
    animation: none;
  }
}
