:root {
  --bg: #0c0c0c;
  --bg-2: #131313;
  --ink: #f2f2f2;
  --muted: #b6b6b6;
  --accent: #ffffff;
  --accent-2: #d9d9d9;
  --accent-contrast: #000000;
  --forest: #cfcfcf;
  --card: #111111;
  --line: #2a2a2a;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #1a1a1a 0%, var(--bg) 52%, #0a0a0a 100%);
}

body.light-theme {
  --bg: #f2f2f2;
  --bg-2: #ffffff;
  --ink: #121212;
  --muted: #5a5a5a;
  --accent: #111111;
  --accent-2: #2a2a2a;
  --accent-contrast: #ffffff;
  --forest: #2a2a2a;
  --card: #ffffff;
  --line: #d0d0d0;
  --shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  background: radial-gradient(circle at top left, #ffffff 0%, var(--bg) 60%, #f0f0f0 100%);
}

body.light-theme .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
}

body.light-theme .nav a,
body.light-theme .brand-name,
body.light-theme .brand-tag,
body.light-theme .btn.ghost,
body.light-theme .user-chip {
  color: var(--ink);
}

body.light-theme .chip,
body.light-theme .user-chip,
body.light-theme .pill,
body.light-theme .tags span {
  background: #f4f4f4;
  color: var(--muted);
}

body.light-theme .hero-card,
body.light-theme .card,
body.light-theme .category-sidebar,
body.light-theme .sahibinden-filters,
body.light-theme .item,
body.light-theme .category,
body.light-theme .category-tile,
body.light-theme .step-card,
body.light-theme .stat-chip,
body.light-theme .trust-card,
body.light-theme .brand-card,
body.light-theme .forum-card,
body.light-theme .category-form,
body.light-theme .simple-form,
body.light-theme .profile-card,
body.light-theme .message,
body.light-theme .message-grid,
body.light-theme .message-panel,
body.light-theme .auth-card {
  background: var(--card);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

body.light-theme .search input,
body.light-theme .field input,
body.light-theme .field select,
body.light-theme .filter-body input,
body.light-theme .filter-body select {
  background: var(--bg-2);
  color: var(--ink);
  border-color: var(--line);
}

body.light-theme .photo {
  background: #f2f2f2;
}

body.light-theme .trust {
  background: #f6f6f6;
}

body.light-theme .message {
  background: #f6f6f6;
}

body.light-theme .brand-card,
body.light-theme .trust-card,
body.light-theme .message-panel,
body.light-theme .auth-card {
  background: var(--card);
  border-color: var(--line);
}

body.light-theme .auth-card input {
  background: var(--bg-2);
  color: var(--ink);
  border-color: var(--line);
}

body.listing-page {
  background: #0c0c0c;
  --ink: #f2f2f2;
  --muted: #b6b6b6;
  --forest: #cfcfcf;
  --line: #2a2a2a;
  --accent: #ffffff;
  --accent-2: #d9d9d9;
  --card: #111111;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

body.listing-page.light-theme {
  background: #f2f2f2;
  --ink: #121212;
  --muted: #5a5a5a;
  --forest: #2a2a2a;
  --line: #d0d0d0;
  --accent: #111111;
  --accent-2: #2a2a2a;
  --card: #ffffff;
  --shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

body.listing-page .section {
  padding-top: 40px;
}

body.listing-page .site-header {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: #1e1e1e;
}

body.listing-page.light-theme .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--line);
}

body.listing-page .site-header .brand-name,
body.listing-page .site-header .brand-tag,
body.listing-page .site-header .nav a,
body.listing-page .site-header .btn.ghost,
body.listing-page .site-header .user-chip {
  color: #f2f2f2;
}

body.listing-page.light-theme .site-header .brand-name,
body.listing-page.light-theme .site-header .brand-tag,
body.listing-page.light-theme .site-header .nav a,
body.listing-page.light-theme .site-header .btn.ghost,
body.listing-page.light-theme .site-header .user-chip {
  color: var(--ink);
}

body.listing-page .site-header .nav a:hover,
body.listing-page .site-header .nav a.active {
  border-color: #d9d9d9;
}

body.listing-page.light-theme .site-header .nav a:hover,
body.listing-page.light-theme .site-header .nav a.active {
  border-color: var(--accent-2);
}

body.listing-page .btn.solid {
  color: #000000;
}

body.listing-page.light-theme .btn.solid {
  color: var(--accent-contrast);
}

body.listing-page .photo {
  background: #1a1a1a;
}

body.listing-page .tags span {
  background: #1a1a1a;
  color: #d9d9d9;
}

body.listing-page.light-theme .photo {
  background: #f2f2f2;
}

body.listing-page.light-theme .tags span {
  background: #f4f4f4;
  color: var(--muted);
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  z-index: -1;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(12, 18, 22, 0.85);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-dot {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  background-image: url("logo.svg");
  background-size: cover;
  background-position: center;
}

.brand-name {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
}

.brand-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  border-color: var(--accent-2);
}

.nav a.active {
  border-color: var(--accent-2);
}

.hidden {
  display: none;
}

.auth-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta {
  display: flex;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.theme-toggle.floating {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 20;
}

.theme-toggle-control {
  display: inline-flex;
  align-items: center;
}

.theme-switch {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  transition: background 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.theme-switch::after {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.theme-toggle input {
  display: none;
}

.theme-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 2;
}

.theme-icon.sun {
  right: 6px;
}

.theme-icon.moon {
  left: 6px;
  opacity: 1;
}

.theme-toggle input:checked + .theme-switch {
  background: var(--bg-2);
  border-color: var(--line);
}

.theme-toggle input:checked + .theme-switch::after {
  transform: translateX(20px);
}

.theme-toggle input:checked + .theme-switch .sun {
  opacity: 1;
}

.theme-toggle input:checked + .theme-switch .moon {
  opacity: 0;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(28, 39, 48, 0.15);
}

.btn.solid {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn.outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn.ghost {
  background: transparent;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
  font-weight: 600;
  color: var(--forest);
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #151515;
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
}

.empty-state {
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  margin: 16px 0;
}

.hero-copy p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
}

.chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #151515;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 24px 0 28px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  color: var(--forest);
  font-weight: 600;
  font-size: 0.85rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.hero-stats strong {
  font-size: 1.2rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  animation: float-in 0.9s ease both;
}

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

.mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0f171b;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}

.mini-item strong {
  display: block;
  font-size: 0.95rem;
}

.mini-item span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.search {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.search input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0f0f0f;
  color: var(--ink);
  font-family: inherit;
}

.search-wide {
  margin-top: 16px;
}

.hero-list {
  display: grid;
  gap: 14px;
}

.filter-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid var(--line);
  background: #111111;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
}

.pill.active {
  background: var(--accent);
  border-color: #d9d9d9;
  font-weight: 600;
}

.item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #111111;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}

.thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a2a2a, #121212);
}

.section {
  padding: 60px 0;
  animation: rise 0.8s ease both;
}

.page-hero {
  padding: 60px 0 30px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: center;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.split {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}

.sidebar {
  background: #111a1f;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  height: fit-content;
}

.filter-block {
  margin-top: 16px;
}

.filter-block label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section.alt {
  background: #0f171b;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 20px;
}

.listings {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo {
  height: 150px;
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.listing-card .code {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.seller-link {
  display: inline-block;
  margin: 6px 0 4px;
  font-size: 0.85rem;
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

.seller-link:hover {
  text-decoration: underline;
}

.product-pick .card-body {
  display: grid;
  gap: 8px;
}

.tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.tags span {
  background: #151515;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--muted);
}

.categories {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.category-tile {
  background: #111a1f;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile h3 {
  margin: 0 0 8px;
}

.category-tile p {
  margin: 0;
  color: var(--muted);
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 27, 0.25);
}

.highlight {
  background: radial-gradient(circle at top right, #18252b 0%, #0f171b 65%, #0b1114 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.step-card {
  background: #111a1f;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 8px;
}

.step-no {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #1a2a30;
  color: var(--accent);
  font-weight: 700;
}

.stat-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.stat-chip {
  background: #111a1f;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}

.stat-chip strong {
  font-size: 1.2rem;
}

.stat-chip span {
  color: var(--muted);
  font-size: 0.85rem;
}

.listing-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.category-sidebar {
  height: fit-content;
}

.market-sidebar {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 14px;
  border: 1px solid #d6dde3;
  color: #1e2a33;
}

.side-block {
  display: grid;
  gap: 8px;
}

.side-divider {
  height: 1px;
  background: #e4eaef;
  margin: 12px 0;
}

.side-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1e2a33;
  display: flex;
  align-items: center;
  gap: 8px;
}

.side-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: #1f5bb0;
  background: #e8f0ff;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.side-link {
  text-align: left;
  background: transparent;
  border: none;
  color: #2b3a44;
  padding: 4px 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.side-link:hover {
  color: #1f5bb0;
}

.side-link.muted {
  color: #6d7a85;
}

.cat-item.active.side-link {
  color: #1f5bb0;
  font-weight: 700;
}

.listing-content .section-head {
  margin-bottom: 16px;
  color: #1e2a33;
}

.filter-panel {
  margin-bottom: 18px;
}

.sahibinden-filters {
  background: var(--card);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
  color: var(--ink);
  max-height: calc(100vh - 160px);
  overflow: auto;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.filter-header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.btn.small {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.filter-section {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.filter-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.filter-section summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 18px;
  font-size: 0.9rem;
  line-height: 1.2;
}

.filter-section summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent-2);
}

.filter-section[open] summary::after {
  content: "−";
}

.filter-body {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.filter-body.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.filter-body .field label {
  color: var(--muted);
  font-size: 0.8rem;
}

.filter-body input,
.filter-body select {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 1.2;
}

.filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.filter-list-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 4px;
}

.filter-list-title {
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

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

.filter-link {
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
}

.filter-link:hover {
  color: var(--accent-2);
}

.simple-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.simple-form {
  background: #111a1f;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.category {
  background: #111a1f;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 600;
}

.brand-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.brand-card {
  background: #111a1f;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
}


.trust {
  background: linear-gradient(120deg, #0f171b, #121b21);
}

.trust-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.trust-card {
  background: #111a1f;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.message {
  background: radial-gradient(circle at top right, #142027 0%, #0f171b 60%, #0b1114 100%);
}

.message-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}

.message-actions {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.message-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--forest);
}

.message-panel {
  background: #111a1f;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffd233, #f0a341);
}

.chat-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 80%;
  font-size: 0.9rem;
}

.chat-bubble.left {
  background: #172329;
  justify-self: start;
}

.chat-bubble.right {
  background: #1f343b;
  justify-self: end;
}

.chat-input {
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.sell {
  background: linear-gradient(135deg, #1e3a40, #2b4f56);
  color: #eef6f7;
}

.sell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.sell-panel {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-line {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  padding: 10px 0;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.membership-card {
  background: #111a1f;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
}

.membership-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.membership-card.highlight {
  background: #1a2a30;
  border-color: #2b3f46;
}

.category-form {
  background: #111a1f;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field input,
.field select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0f171b;
  color: var(--ink);
  font-family: inherit;
}

.field.inline {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.hint {
  color: var(--muted);
  font-size: 0.85rem;
}

.divider {
  margin-top: 6px;
  font-weight: 600;
  color: var(--forest);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 50;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 39, 48, 0.5);
}

.modal-content {
  position: relative;
  width: min(720px, 92vw);
  background: #111a1f;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.modal-body {
  display: grid;
  gap: 14px;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.auth-card {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.auth-card input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  font-family: inherit;
}

#recaptcha-container {
  margin: 6px 0;
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.check {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-message {
  min-height: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

.auth-message[data-type="success"] {
  color: #1f7a4a;
}

.auth-message[data-type="error"] {
  color: #b23b3b;
}

.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

.detail-gallery .photo.large {
  height: 260px;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.detail-block {
  margin-top: 24px;
}

.specs {
  padding-left: 18px;
  color: var(--muted);
}

.seller-card {
  background: #111a1f;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.seller-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.seller-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.seller-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.ref-box {
  background: #0f171b;
  border-radius: 14px;
  padding: 14px;
  border: 1px dashed var(--line);
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.profile-title {
  display: flex;
  gap: 14px;
  align-items: center;
}

.avatar.lg {
  width: 60px;
  height: 60px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

.profile-side {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
}

.stat-box {
  background: var(--bg-2);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  margin-top: 12px;
}

.stat-box span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.trust-badge {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.trust-title {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.trust-badge .star {
  color: var(--accent);
}

.trust-badge p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.trust-meter {
  display: grid;
  gap: 12px;
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
}

.trust-meter span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.referral {
  background: var(--bg);
}

.referral-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ref-card {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.ref-score {
  margin-top: 16px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--forest);
}

.ref-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ref-tags span {
  background: var(--bg-2);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.proof {
  background: var(--bg);
}

.testimonials {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial {
  background: #111a1f;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-style: italic;
}

.testimonial strong {
  display: block;
  margin-top: 16px;
  font-style: normal;
}

.faq {
  background: #0f171b;
}

.faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.faq-item {
  background: #111a1f;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 40px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section,
  .hero-card {
    animation: none;
  }
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

@media (max-width: 880px) {
  .nav {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .message-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .split,
  .detail-grid,
  .profile-grid,
  .listing-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cta {
    display: none;
  }
  .hero {
    padding-top: 50px;
  }
  .search {
    flex-direction: column;
  }
}
