/* ==========================================================================
   nichtsalsliebe.de - Design System
   Background #F5F0E8 / Akzent #B8271E / Dark #141414
   Playfair Display + DM Sans
   ========================================================================== */

:root {
  --cream: #F5F0E8;
  --cream-2: #EDE5D8;
  --red: #B8271E;
  --red-dark: #8E1C16;
  --dark: #141414;
  --dark-2: #2A2A2A;
  --muted: #6B655C;
  --line: #D9D0C0;
  --white: #FFFFFF;
  --ok: #2E7D32;
  --warn: #B8861B;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --gutter: 24px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(20,20,20,.05), 0 8px 24px rgba(20,20,20,.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--red); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--dark); }
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
.eyebrow { font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--red); display: inline-block; margin-bottom: 18px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.55; max-width: 60ch; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(60px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.grid { display: grid; gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: .98rem;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-2); color: var(--white); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--dark); padding: 14px 8px; }
.btn-ghost:hover { color: var(--red); }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245, 240, 232, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 500;
  color: var(--dark); letter-spacing: -.01em;
}
.nav-logo b { color: var(--red); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: .95rem; font-weight: 400; }
.nav-cta { margin-left: 12px; }
.nav-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--dark); transition: all .25s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Page offset for fixed nav */
main { padding-top: 78px; }

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex; align-items: center;
  padding: 80px 0;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-fallback {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(184,39,30,.25) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(184,39,30,.18) 0%, transparent 55%),
    linear-gradient(135deg, #2A1A14 0%, #141414 100%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0, 0, 0, .45);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; color: var(--cream); }
.hero h1 { margin-bottom: 24px; color: var(--cream); }
.hero h1 em { font-style: italic; color: var(--red); }
.hero .lead { margin-bottom: 40px; color: rgba(245,240,232,.85); }
.hero .eyebrow { color: var(--cream); opacity: .85; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-outline { color: var(--cream); border-color: var(--cream); }
.hero .btn-outline:hover { background: var(--cream); color: var(--dark); }

/* STATS BAR */
.stats {
  background: var(--dark);
  color: var(--cream);
  padding: 60px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--cream);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream); opacity: .65;
}

/* PROBLEM / COMPARE */
.compare-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1180px) { .compare-grid { grid-template-columns: repeat(2, 1fr); } }
.pain-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  transition: transform .25s ease;
}
.pain-card:hover { transform: translateY(-4px); }
.pain-card .price {
  font-family: var(--serif);
  font-size: 2.4rem; color: var(--red); line-height: 1;
  margin-bottom: 6px;
}
.pain-card .price-sub { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.pain-card h3 { margin: 20px 0 12px; }
.pain-card .strike { text-decoration: line-through; color: var(--muted); font-size: .95rem; }
.pain-card.us {
  background: var(--dark); color: var(--cream); border-color: var(--dark);
  cursor: pointer;
}
.pain-card.us:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(184,39,30,.18); }
.pain-card.us h3, .pain-card.us .price { color: var(--cream); }
.pain-card.us .price-sub { color: var(--cream); opacity: .7; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step {
  text-align: center;
  padding: 32px 16px;
}
.step-num {
  font-family: var(--serif); font-size: 4.5rem;
  color: #A89880; line-height: 1;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); }

/* FILTER SHOWCASE */
.filter-showcase {
  background: var(--dark);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  max-width: 1100px; margin: 0 auto;
}
.filter-showcase h2 { color: var(--cream); margin-bottom: 16px; }
.filter-showcase .lead { color: var(--cream); opacity: .75; margin-bottom: 40px; }
.filter-block { margin-bottom: 32px; }
.filter-block-label {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); opacity: .55; margin-bottom: 14px; display: block;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 8px 16px;
  border: 1px solid rgba(245,240,232,.22);
  border-radius: 100px;
  font-size: .88rem;
  color: var(--cream);
  cursor: pointer;
  transition: all .2s ease;
  background: transparent;
}
.tag:hover, .tag.active {
  background: var(--red); border-color: var(--red); color: var(--white);
}

/* PRICING */
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 720px; margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
}
.price-toggle {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
.toggle-opt {
  position: relative;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 20px 22px;
  cursor: pointer;
  text-align: center;
  font-family: var(--sans);
  color: var(--dark);
  transition: all .25s ease;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.toggle-opt:hover { border-color: var(--dark); }
.toggle-opt.active {
  background: var(--white);
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(184,39,30,.08);
}
.toggle-head {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.toggle-opt.active .toggle-head { color: var(--red); }
.toggle-price {
  font-family: var(--serif); font-size: 2.1rem;
  line-height: 1; letter-spacing: -.02em;
  color: var(--dark);
}
.toggle-price small {
  font-family: var(--sans); font-size: .82rem;
  color: var(--muted); font-weight: 400;
}
.toggle-sub {
  font-size: .88rem; color: var(--muted);
  margin-top: 10px;
  line-height: 1.4;
}
.toggle-fine {
  font-size: .74rem; color: var(--muted);
  margin-top: 4px; opacity: .8;
  line-height: 1.4;
}
.toggle-badge {
  position: absolute; top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--red); color: var(--white);
  font-family: var(--sans); font-weight: 500;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-display { margin-bottom: 8px; }
.price-card .big {
  font-family: var(--serif); font-size: 4.5rem;
  color: var(--dark); line-height: 1; letter-spacing: -.03em;
}
.price-card .big small { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.price-sub-line {
  font-size: .92rem; color: var(--muted);
  margin-top: 14px;
  max-width: 44ch; margin-left: auto; margin-right: auto;
}
@media (max-width: 640px) {
  .price-toggle { grid-template-columns: 1fr; gap: 24px; margin-top: 16px; }
  .price-card { padding: 36px 24px; }
}
.price-card ul { list-style: none; text-align: left; margin: 32px 0; }
.price-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  font-size: .98rem;
}
.price-card li:before {
  content: '✓'; color: var(--red); font-weight: 700;
}
.donate {
  text-align: center; margin-top: 32px;
  color: var(--muted); font-size: .95rem;
}
.donate a { color: var(--red); border-bottom: 1px solid var(--red); padding-bottom: 1px; }

/* MERCH */
.merch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.merch-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  color: var(--dark);
}
.merch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--dark); }
.merch-card h3 { transition: color .2s ease; }
.merch-card:hover h3 { color: var(--red); }
.merch-img {
  aspect-ratio: 4/5;
  background: var(--cream-2);
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-family: var(--serif); font-style: italic;
  position: relative; overflow: hidden;
  transition: transform .4s ease;
}
.merch-card:hover .merch-img { transform: scale(1.03); }
.merch-img:not([style*="background-image"])::after {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(184,39,30,.04) 20px 21px);
}
.merch-body { padding: 24px; }
.merch-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.merch-body .price-tag { color: var(--red); font-weight: 600; font-size: 1.1rem; }

/* MANIFESTO */
.manifesto {
  background: var(--cream-2);
  text-align: center;
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.manifesto .container { position: relative; z-index: 2; }
.manifesto blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  line-height: 1.35;
  max-width: 900px; margin: 0 auto;
  color: var(--dark);
  letter-spacing: -.01em;
}
.manifesto cite {
  display: block;
  margin-top: 32px;
  font-family: var(--sans); font-style: normal;
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}
/* Foto-Variante: Bild komplett oben, Zitat in eigener Box darunter */
.manifesto-photo {
  background: var(--dark);
  padding: 0;
}
.manifesto-photo-wrap {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--cream-2);
  display: block;
}
.manifesto-img {
  display: block;
  width: 100%;
  height: auto;
}
.manifesto-quote-band {
  background: var(--dark);
  color: var(--cream);
  text-align: center;
  padding: clamp(64px, 9vw, 120px) 0;
}
.manifesto-photo blockquote { color: var(--cream); }
.manifesto-photo cite { color: var(--cream); opacity: .85; }

/* FOOTER */
.footer {
  background: var(--dark);
  color: var(--cream);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 60px;
}
.footer-logo {
  font-family: var(--serif); font-size: 1.6rem; color: var(--cream);
  margin-bottom: 16px; display: inline-block;
}
.footer-logo b { color: var(--red); font-weight: 500; }
.footer-tagline { color: var(--cream); opacity: .6; font-size: .95rem; max-width: 32ch; }
.footer h4 {
  color: var(--cream); font-family: var(--sans);
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 20px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 12px; }
.footer a { color: var(--cream); opacity: .7; font-size: .95rem; }
.footer a:hover { opacity: 1; color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(245,240,232,.1);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--cream); opacity: .5;
  flex-wrap: wrap; gap: 16px;
}

/* FORMS */
.form-page {
  min-height: calc(100vh - 78px);
  display: flex; align-items: center;
  padding: 60px 0;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  max-width: 560px; margin: 0 auto;
  width: 100%;
  box-shadow: var(--shadow);
}
.form-card h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 12px; }
.form-card .lead { font-size: 1rem; margin-bottom: 32px; }
.form-row { margin-bottom: 20px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block; font-size: .85rem; font-weight: 500;
  margin-bottom: 8px; color: var(--dark);
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--sans); font-size: 1rem;
  color: var(--dark);
  transition: border-color .2s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--red);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-file {
  width: 100%; padding: 14px 16px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  cursor: pointer; font-size: .95rem;
}
.form-help { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.form-error {
  background: #FDECEB; color: var(--red);
  padding: 12px 16px; border-radius: var(--radius);
  font-size: .9rem; margin-bottom: 20px;
}
.form-success {
  background: #E8F5E9; color: var(--ok);
  padding: 12px 16px; border-radius: var(--radius);
  font-size: .9rem; margin-bottom: 20px;
}
.form-foot {
  margin-top: 24px; text-align: center;
  font-size: .9rem; color: var(--muted);
}
.form-foot a { color: var(--red); }

.verify-id-block {
  display: inline-block;
  background: var(--cream-2);
  border: 1.5px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 24px 48px;
  margin: 8px auto;
}
.verify-id-label {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
}
.verify-id-number {
  font-family: var(--serif); font-size: 4rem; line-height: 1;
  color: var(--dark); letter-spacing: .04em;
}

.tag-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-picker label {
  cursor: pointer;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .88rem;
  background: var(--white);
  transition: all .2s ease;
}
.tag-picker input { display: none; }
.tag-picker input:checked + span,
.tag-picker label:has(input:checked) {
  background: var(--red); color: var(--white); border-color: var(--red);
}

/* DASHBOARD / MEMBER */
.page-head {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.page-head h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 8px; }
.page-head p { color: var(--muted); }

.member-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}
.member-side {
  position: sticky; top: 100px;
  align-self: start;
}
.member-side ul { list-style: none; }
.member-side li { margin-bottom: 4px; }
.member-side a {
  display: block; padding: 10px 16px;
  border-radius: var(--radius);
  font-size: .95rem;
}
.member-side a.active, .member-side a:hover {
  background: var(--cream-2); color: var(--dark);
}
.member-side a.active { color: var(--red); font-weight: 500; }

/* PROFILE CARDS */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.profile-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s ease;
  display: block;
  color: var(--dark);
}
.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: var(--dark);
}
.profile-img {
  aspect-ratio: 4/5;
  background: var(--cream-2);
  background-size: cover; background-position: center;
  position: relative;
}
.profile-img-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-family: var(--serif); font-size: 3rem; color: var(--muted);
  font-style: italic;
}
.profile-body { padding: 20px; }
.profile-name { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 4px; }
.profile-meta { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-tag {
  font-size: .75rem; padding: 4px 10px;
  background: var(--cream); border-radius: 100px;
  color: var(--muted);
}

/* PROFILE DETAIL */
.profile-detail {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 56px;
}
.profile-detail-photo {
  aspect-ratio: 4/5;
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
  position: sticky; top: 100px;
}
.profile-detail h1 { margin-bottom: 12px; }
.profile-info-row {
  display: grid; grid-template-columns: 180px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
}
.profile-info-row dt { color: var(--muted); }
.profile-info-row dd { color: var(--dark); }
.profile-bio {
  margin: 32px 0;
  font-size: 1.05rem; line-height: 1.7;
  font-family: var(--serif); font-style: italic;
  color: var(--dark);
}

/* MESSAGES */
.messages-layout {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 560px;
}
.thread-list { border-right: 1px solid var(--line); overflow-y: auto; max-height: 70vh; }
.thread-item {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  display: flex; gap: 14px; align-items: center;
  transition: background .15s ease;
}
.thread-item:hover, .thread-item.active { background: var(--cream); }
.thread-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cream-2); flex-shrink: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); color: var(--muted);
}
.thread-body { flex: 1; min-width: 0; }
.thread-name { font-weight: 500; margin-bottom: 2px; font-size: .95rem; }
.thread-snippet {
  color: var(--muted); font-size: .85rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.thread-unread { width: 8px; height: 8px; background: var(--red); border-radius: 50%; }

.chat {
  display: flex; flex-direction: column;
  min-height: 100%;
}
.chat-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
}
.chat-stream {
  flex: 1; padding: 24px;
  overflow-y: auto; max-height: 60vh;
  background: var(--cream);
}
.msg {
  max-width: 70%;
  margin-bottom: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: .95rem;
  line-height: 1.45;
}
.msg.in { background: var(--white); border-bottom-left-radius: 4px; }
.msg.out {
  background: var(--red); color: var(--white);
  margin-left: auto; border-bottom-right-radius: 4px;
}
.msg-meta { font-size: .72rem; opacity: .6; margin-top: 4px; }
.chat-form {
  display: flex; gap: 12px;
  padding: 20px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.chat-form input { flex: 1; }

/* SEARCH FILTERS */
.search-layout { display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
.search-filters {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky; top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.search-filters h3 { font-size: 1.1rem; margin-bottom: 20px; }
.filter-group { margin-bottom: 24px; }
.filter-group .form-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.range-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* SHOP */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-img {
  aspect-ratio: 4/5;
  background: var(--cream-2);
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic;
  color: var(--muted);
  position: relative;
}
.product-body { padding: 24px; }
.product-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.product-price { color: var(--red); font-size: 1.3rem; font-weight: 600; margin: 12px 0; font-family: var(--serif); }
.product-actions { display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.product-actions select { flex: 1; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--white);
  border-left: 1px solid var(--line);
  box-shadow: -8px 0 32px rgba(0,0,0,.1);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 200;
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-head h3 { font-size: 1.3rem; }
.cart-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; line-height: 1;
}
.cart-body { flex: 1; overflow-y: auto; padding: 24px; }
.cart-item {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item-img { width: 60px; height: 60px; background: var(--cream-2); border-radius: var(--radius); }
.cart-item h4 { font-size: .98rem; }
.cart-item-meta { color: var(--muted); font-size: .85rem; }
.cart-foot { padding: 24px; border-top: 1px solid var(--line); }
.cart-total {
  display: flex; justify-content: space-between;
  font-family: var(--serif); font-size: 1.4rem;
  margin-bottom: 20px;
}
.cart-empty {
  text-align: center; padding: 60px 20px;
  color: var(--muted);
}
.cart-bubble {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(184,39,30,.4);
  z-index: 50;
  border: none;
  transition: transform .2s ease;
}
.cart-bubble:hover { transform: scale(1.05); }
.cart-bubble-count {
  position: absolute; top: -6px; right: -6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--dark); color: var(--white);
  font-size: .75rem; display: flex; align-items: center; justify-content: center;
}

/* ADMIN */
.admin-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 40px;
}
.admin-stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.admin-stat-label {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.admin-stat-num {
  font-family: var(--serif); font-size: 2.4rem;
  color: var(--dark); line-height: 1;
}
.admin-tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  overflow-x: auto;
}
.admin-tab {
  padding: 14px 24px;
  background: none; border: none;
  font-family: var(--sans); font-size: .95rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  white-space: nowrap;
}
.admin-tab.active { color: var(--red); border-bottom-color: var(--red); font-weight: 500; }

.pending-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr 1.4fr;
  gap: 28px;
  align-items: center;
}
.pending-photo { text-align: center; }
.pending-photo-label {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.pending-img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  background: var(--cream-2);
  background-size: cover; background-position: center;
  border-radius: var(--radius);
  margin: 0 auto;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.pending-img-empty {
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-style: italic; font-size: .85rem;
  text-align: center; padding: 16px;
  cursor: default;
}
.pending-id {
  text-align: center; padding: 0 8px;
}
.pending-id-label {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
}
.pending-id-number {
  font-family: var(--serif);
  font-size: 3rem; line-height: 1;
  color: var(--dark); letter-spacing: .02em;
}
.pending-meta h3 { font-size: 1.2rem; margin-bottom: 12px; }
.pending-meta p { font-size: .9rem; color: var(--muted); margin-bottom: 4px; }
.pending-meta strong { color: var(--dark); font-weight: 500; }
.pending-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 980px) {
  .pending-card { grid-template-columns: 1fr 1fr; }
  .pending-meta { grid-column: 1 / -1; }
  .pending-id { grid-column: 1 / -1; padding: 8px 0; }
}
@media (max-width: 560px) {
  .pending-card { grid-template-columns: 1fr; }
}

.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.admin-table th, .admin-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.admin-table th {
  background: var(--cream-2);
  font-weight: 500; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cream-2); background-size: cover; background-position: center; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: .75rem;
  border-radius: 100px;
  font-weight: 500;
}
.badge-pending { background: #FFF4D6; color: var(--warn); }
.badge-active { background: #E8F5E9; color: var(--ok); }
.badge-blocked { background: #FDECEB; color: var(--red); }

/* LEGAL PAGES */
.legal {
  max-width: 760px; margin: 0 auto;
  padding: 60px 0;
}
.legal h1 { margin-bottom: 32px; }
.legal h2 { font-size: 1.6rem; margin: 40px 0 16px; }
.legal h3 { font-size: 1.2rem; margin: 24px 0 12px; }
.legal p { margin-bottom: 16px; color: var(--dark); }
.legal ul { margin: 0 0 16px 24px; }
.legal li { margin-bottom: 8px; }
.legal-warn {
  background: #FFF4D6; border-left: 4px solid var(--warn);
  padding: 16px 20px; border-radius: var(--radius);
  margin-bottom: 32px; font-size: .92rem;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; right: 24px;
  max-width: 520px; margin: 0 auto;
  background: var(--dark); color: var(--cream);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  z-index: 150;
  display: flex; flex-direction: column; gap: 16px;
}
.cookie-banner p { font-size: .92rem; opacity: .9; }
.cookie-banner a { color: var(--cream); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions button { flex: 1; }
.cookie-banner.hidden { display: none; }

/* HELPERS */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.empty-state h3 { font-family: var(--serif); font-style: italic; color: var(--muted); margin-bottom: 12px; }

.pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 48px;
}
.pagination button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--white); color: var(--dark);
  border-radius: var(--radius);
  cursor: pointer; font-family: var(--sans);
}
.pagination button.active { background: var(--red); color: var(--white); border-color: var(--red); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* MOBILE */
@media (max-width: 980px) {
  .nav-links {
    position: fixed; top: 78px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 20px var(--gutter);
    transform: translateY(-150%);
    transition: transform .3s ease;
    align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-burger { display: flex; }
  .nav-cta { margin-left: 0; margin-top: 12px; }

  .grid-3, .grid-4, .compare-grid, .steps-grid, .merch-grid, .stats-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .member-grid, .search-layout, .profile-detail { grid-template-columns: 1fr; gap: 32px; }
  .member-side, .search-filters, .profile-detail-photo { position: static; max-height: none; }
  .profile-detail-photo { max-width: 320px; margin: 0 auto; }

  .messages-layout { grid-template-columns: 1fr; min-height: auto; }
  .thread-list { max-height: 320px; border-right: none; border-bottom: 1px solid var(--line); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-table { font-size: .85rem; }
  .admin-table th, .admin-table td { padding: 10px 12px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .form-row.two { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .price-card { padding: 32px 24px; }
}
