:root {
  --cs-ivory: #FAF6F0;
  --cs-surface: #FFFFFF;
  --cs-sand: #EADFD2;
  --cs-mahogany: #2E1216;
  --cs-terracotta: #8C3B1A;
  --cs-gold: #E09F3E;
  --cs-ink: #2A1E1C;
  --cs-muted: #6E5A54;
  --cs-success: #1E6B45;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-card: 0 6px 24px rgba(46, 18, 22, 0.06);
  --shadow-modal: 0 24px 60px rgba(46, 18, 22, 0.25);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--cs-ivory);
  color: var(--cs-ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--cs-mahogany);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Navbar */
.cs-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cs-sand);
}

.cs-nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cs-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-brand img {
  height: 46px;
  width: auto;
  mix-blend-mode: multiply;
}

.cs-brand-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--cs-mahogany);
  letter-spacing: 0.02em;
}

.cs-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cs-muted);
}

.cs-nav-links a:hover {
  color: var(--cs-mahogany);
}

/* Buttons */
.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.cs-btn:active {
  transform: translateY(1px);
}

.cs-btn-primary {
  background: var(--cs-mahogany);
  color: var(--cs-ivory);
}

.cs-btn-primary:hover {
  background: var(--cs-terracotta);
}

.cs-btn-gold {
  background: linear-gradient(135deg, #E09F3E, #C98225);
  color: var(--cs-mahogany);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(224, 159, 62, 0.35);
}

.cs-btn-gold:hover {
  filter: brightness(1.04);
}

.cs-btn-outline {
  background: var(--cs-surface);
  color: var(--cs-mahogany);
  border: 1px solid var(--cs-sand);
}

.cs-btn-outline:hover {
  border-color: var(--cs-terracotta);
  color: var(--cs-terracotta);
}

/* Layout Containers */
.cs-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.cs-section {
  padding: 56px 0;
}

/* Hero */
.cs-hero {
  padding: 64px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--cs-sand);
  background: radial-gradient(circle at top, rgba(224, 159, 62, 0.11), transparent 60%);
}

.cs-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(224, 159, 62, 0.14);
  color: var(--cs-terracotta);
  border: 1px solid rgba(224, 159, 62, 0.4);
}

.cs-hero h1 {
  margin: 18px auto 0;
  max-width: 760px;
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 700;
}

.cs-hero p {
  margin: 16px auto 0;
  max-width: 620px;
  font-size: 16px;
  color: var(--cs-muted);
}

.cs-search-bar {
  margin: 30px auto 0;
  max-width: 660px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--cs-surface);
  border: 1px solid var(--cs-sand);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-card);
}

.cs-search-bar input,
.cs-search-bar select {
  flex: 1 1 180px;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--cs-ink);
}

/* Cards & Grids */
.cs-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 28px;
}

.cs-section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.cs-section-head p {
  color: var(--cs-muted);
  font-size: 14px;
}

.cs-seller-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.cs-seller-card {
  background: var(--cs-surface);
  border: 1px solid var(--cs-sand);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.cs-seller-card:hover {
  transform: translateY(-3px);
  border-color: var(--cs-gold);
}

.cs-seller-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cs-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cs-mahogany), var(--cs-terracotta));
  color: var(--cs-ivory);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--cs-gold);
  flex-shrink: 0;
}

.cs-avatar-lg {
  width: 96px;
  height: 96px;
  font-size: 32px;
  border-width: 4px;
}

.cs-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cs-success);
  background: rgba(30, 107, 69, 0.1);
  padding: 3px 9px;
  border-radius: 999px;
}

.cs-handle {
  font-size: 13px;
  color: var(--cs-terracotta);
  font-weight: 600;
}

.cs-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--cs-ivory);
  border: 1px solid var(--cs-sand);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.cs-stat-val {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: var(--cs-mahogany);
}

.cs-stat-lbl {
  font-size: 11px;
  color: var(--cs-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* How it works */
.cs-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.cs-step-card {
  background: var(--cs-surface);
  border: 1px solid var(--cs-sand);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.cs-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cs-mahogany);
  color: var(--cs-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

/* Instagram-Style Seller Profile Page */
.cs-profile-header {
  background: var(--cs-surface);
  border: 1px solid var(--cs-sand);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

.cs-profile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 22px;
  border-bottom: 1px solid var(--cs-sand);
  padding-bottom: 14px;
}

.cs-tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--cs-muted);
  border: 1px solid transparent;
  cursor: pointer;
}

.cs-tab.active {
  background: var(--cs-mahogany);
  color: var(--cs-ivory);
}

/* Infographic Listing Grid */
.cs-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
}

.cs-infographic-card {
  background: var(--cs-surface);
  border: 1px solid var(--cs-sand);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.cs-infographic-card:hover {
  transform: translateY(-3px);
  border-color: var(--cs-gold);
}

.cs-info-banner {
  background: linear-gradient(135deg, #2E1216 0%, #5A221A 60%, #8C3B1A 100%);
  color: var(--cs-ivory);
  padding: 22px;
  position: relative;
}

.cs-info-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cs-gold);
  margin-bottom: 10px;
}

.cs-info-metric {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: #FFFFFF;
}

.cs-info-sub {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 2px;
}

.cs-info-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.cs-info-body h3 {
  font-size: 19px;
}

.cs-info-body p {
  font-size: 14px;
  color: var(--cs-muted);
}

.cs-info-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--cs-sand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cs-price-pill {
  font-size: 13px;
  font-weight: 700;
  color: var(--cs-terracotta);
  background: rgba(224, 159, 62, 0.18);
  padding: 5px 11px;
  border-radius: 8px;
}

/* Modal & Frosted Paywall */
.cs-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(46, 18, 22, 0.62);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.cs-modal-backdrop.open {
  display: flex;
}

.cs-modal {
  background: var(--cs-surface);
  border: 1px solid var(--cs-sand);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
}

.cs-modal-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--cs-sand);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  background: var(--cs-ivory);
}

.cs-modal-close {
  background: var(--cs-surface);
  border: 1px solid var(--cs-sand);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  font-size: 18px;
  cursor: pointer;
  color: var(--cs-mahogany);
}

.cs-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cs-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cs-spec-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--cs-sand);
}

.cs-spec-table td:first-child {
  color: var(--cs-muted);
  width: 45%;
}

.cs-spec-table td:last-child {
  font-weight: 600;
  color: var(--cs-mahogany);
}

/* Frosted-Glass Locked Panel */
.cs-paywall-box {
  position: relative;
  border: 1.5px solid var(--cs-gold);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: linear-gradient(180deg, rgba(250, 246, 240, 0.96), rgba(244, 232, 214, 0.92));
  overflow: hidden;
}

.cs-blurred-placeholder {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  opacity: 0.45;
  font-size: 13px;
  margin-bottom: 14px;
  line-height: 1.8;
}

.cs-paywall-content {
  position: relative;
  z-index: 2;
}

.cs-paywall-list {
  list-style: none;
  margin: 12px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.cs-paywall-list li::before {
  content: "★ ";
  color: var(--cs-gold);
  font-weight: 700;
}

.cs-footer {
  margin-top: 40px;
  padding: 28px 20px;
  border-top: 1px solid var(--cs-sand);
  text-align: center;
  font-size: 13px;
  color: var(--cs-muted);
}

@media (max-width: 720px) {
  .cs-nav-links {
    display: none;
  }
  .cs-profile-header {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .cs-profile-meta {
    justify-content: center;
  }
}