:root {
  --primary: #d97706;
  --primary-hover: #b45309;
  --primary-light: #fef3c7;
  --emerald: #10b981;
  --emerald-light: #d1fae5;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  padding-bottom: 60px;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.marketplace-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-spark {
  font-size: 1.4rem;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.verified-tag {
  color: #065f46;
  background: var(--emerald-light);
  border: 1px solid #a7f3d0;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

.network-tag {
  color: var(--text-muted);
  background: #f1f5f9;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

/* Container */
.marketplace-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Hero */
.marketplace-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #fde68a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.marketplace-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.marketplace-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Filter Capsule */
.filter-capsule-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-card);
}

.filter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.25rem;
  align-items: flex-end;
}

.filter-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.filter-col label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-col input, .select-field {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--text-main);
  font-family: inherit;
}

.filter-col input:focus, .select-field:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-filter {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  border: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  height: 42px;
}

.search-summary {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

/* Catalog Section */
.catalog-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header-row h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.sub-lead {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Experience Cards Grid */
.experiences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.exp-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.exp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(0, 0, 0, 0.08);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-category {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.city-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.exp-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.exp-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.exp-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #334155;
  background: #f8fafc;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.exp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.exp-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}

.exp-price span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: normal;
}

.btn-amber {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-amber:hover {
  background: var(--primary);
}

/* Digital Passes Grid */
.passes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.pass-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.pass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d97706, #f59e0b);
}

.pass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 0.65rem;
}

.pass-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.88rem;
}

.badge-amber {
  background: var(--emerald-light);
  color: #065f46;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.pass-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
}

.pass-body h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.pass-row {
  display: flex;
  justify-content: space-between;
}

.price-pill {
  color: var(--primary);
  font-weight: 800;
}

.pass-qr-mock {
  margin-top: 0.65rem;
  background: var(--primary-light);
  border: 1px dashed #fde68a;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

/* Curator Assistant Card */
.curator-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.curator-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
}

.curator-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.curator-avatar {
  font-size: 1.8rem;
}

.curator-info h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.curator-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

#assistant-status {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
}
