/* ================================================
   MY.USED.WEAR — style.css v4
   Primärfarben: Topbar #BB1533 · Text #222 · Footer #222
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --topbar-bg:  #BB1533;
  --accent:     #d52b1e;
  --accent-2:   #d66800;
  --text-dark:  #222222;
  --footer-bg:  #222222;
  --bg:         #FFFFFF;
  --bg-light:   #F8F8F8;
  --border:     #E8E8E8;
  --text-muted: #888888;
  --fh: 'Playfair Display', Georgia, serif;
  --fb: 'Plus Jakarta Sans', system-ui, sans-serif;
  --t:  0.18s ease;
  --shadow:    0 2px 12px rgba(0,0,0,.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--fb); background: var(--bg); color: var(--text-dark); font-size: 15px; line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--fb); cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
main { flex: 1; }

/* ── TOPBAR ──────────────────────────────────────── */
.topbar { background: var(--topbar-bg); height: 36px; overflow: hidden; display: flex; align-items: center; }
.topbar-inner {
  display: flex; align-items: center; gap: 48px;
  white-space: nowrap; animation: ticker 32s linear infinite;
  font-size: 12px; font-weight: 500; letter-spacing: .04em; color: rgba(255,255,255,.85);
}
.topbar-inner strong { color: #fff; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── NAV 1 ───────────────────────────────────────── */
.nav1 {
  height: 64px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 32px;
  position: sticky; top: 0; z-index: 300; background: var(--bg);
}
.nav1-cats { display: flex; align-items: center; flex: 1; }
.nav1-cat {
  padding: 0 18px; height: 64px;
  display: flex; align-items: center;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-dark); cursor: pointer;
  border-bottom: 2px solid transparent; transition: all var(--t); position: relative;
}
.nav1-cat:first-child { padding-left: 0; }
.nav1-cat:hover { color: var(--accent); }
.nav1-cat.active { border-bottom-color: var(--text-dark); }

/* Mega Dropdown */
.mega {
  display: none; position: absolute; top: 64px; left: -16px;
  background: var(--bg); border: 1px solid var(--border);
  border-top: 3px solid var(--text-dark);
  box-shadow: var(--shadow-lg); padding: 24px;
  grid-template-columns: repeat(3, 180px); gap: 0 24px; z-index: 400;
}
.nav1-cat:hover .mega { display: grid; }
.mega-col + .mega-col { padding-left: 24px; border-left: 1px solid var(--border); }
.mega-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 10px; }
.mega-link { display: block; padding: 6px 0; font-size: 13px; color: var(--text-dark); border-bottom: 1px solid var(--border); cursor: pointer; transition: color var(--t); }
.mega-link:last-child { border-bottom: none; }
.mega-link:hover { color: var(--accent); }
.mega-link.intim { color: var(--accent); font-weight: 500; }
.badge-18 { background: var(--accent); color: #fff; font-size: 9px; padding: 1px 5px; font-weight: 700; }

.nav1-logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--fh); font-size: 1.3rem; font-weight: 900;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-dark); cursor: pointer; white-space: nowrap; user-select: none;
}
.nav1-right { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.nav1-invite {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 99px;
  font-size: 12px; font-weight: 500; cursor: pointer; transition: all var(--t);
}
.nav1-invite:hover { border-color: var(--text-dark); }
.nav1-icon {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  color: var(--text-dark); border-radius: 50%; cursor: pointer; transition: background var(--t);
}
.nav1-icon:hover { background: var(--bg-light); }
.nav1-icon svg { width: 22px; height: 22px; }

/* ── NAV 2 ───────────────────────────────────────── */
.nav2 {
  height: 48px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 32px;
  position: sticky; top: 64px; z-index: 200; background: var(--bg);
}
.nav2-links { display: flex; align-items: center; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav2-links::-webkit-scrollbar { display: none; }
.nav2-link {
  padding: 0 14px; height: 48px; display: flex; align-items: center;
  font-size: 13px; font-weight: 500; color: var(--text-dark);
  white-space: nowrap; border-bottom: 2px solid transparent;
  cursor: pointer; transition: all var(--t);
}
.nav2-link:first-child { padding-left: 0; }
.nav2-link:hover { color: var(--accent); }
.nav2-link.active { border-bottom-color: var(--text-dark); font-weight: 600; }
.nav2-link.intim { color: var(--accent); font-weight: 600; }
.nav2-sep { width: 1px; height: 20px; background: var(--border); margin: 0 8px; flex-shrink: 0; }
.nav2-search {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); padding: 7px 12px;
  min-width: 220px; margin-left: 16px; flex-shrink: 0;
  transition: border-color var(--t);
}
.nav2-search:focus-within { border-color: var(--text-dark); }
.nav2-search input { border: none; outline: none; font-size: 13px; font-family: var(--fb); color: var(--text-dark); flex: 1; background: transparent; }
.nav2-search input::placeholder { color: var(--text-muted); }

/* ── SEITEN ──────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ── GATE (Startseite ohne Login) ────────────────── */
.hero-banner {
  background: #1a1a1a; position: relative; overflow: hidden;
  min-height: 320px; display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--topbar-bg) 0%, #8B0000 100%); opacity: .92;
}
.hero-inner { position: relative; z-index: 1; padding: 64px 32px; }
.hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 12px; }
.hero-h1 { font-family: var(--fh); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 12px; }
.hero-sub2 { font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary { padding: 12px 28px; background: #fff; color: var(--text-dark); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border: none; cursor: pointer; transition: all var(--t); }
.btn-hero-primary:hover { background: var(--bg-light); transform: translateY(-1px); }
.btn-hero-outline { padding: 12px 28px; background: transparent; color: #fff; font-size: 13px; font-weight: 500; border: 1px solid rgba(255,255,255,.4); cursor: pointer; transition: all var(--t); }
.btn-hero-outline:hover { border-color: #fff; }

.gate-split { display: grid; grid-template-columns: 2fr 1fr; min-height: 420px; }
.gate-img { background: var(--bg-light); overflow: hidden; }
.gate-img-bg { width: 100%; height: 100%; min-height: 420px; background: linear-gradient(135deg, #1a1a1a, #3a1a1a); display: flex; align-items: center; justify-content: center; font-size: 7rem; }
.gate-info { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--border); }
.gate-badge { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.gate-h2 { font-family: var(--fh); font-size: 2rem; font-weight: 900; line-height: 1.15; margin-bottom: 18px; letter-spacing: -0.02em; }
.gate-desc { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 10px; }
.btn-gate-login { display: inline-flex; align-items: center; justify-content: center; padding: 13px 28px; background: var(--text-dark); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: all var(--t); border-radius: 2px; margin-top: 18px; }
.btn-gate-login:hover { background: var(--accent); }
.gate-or { font-size: 12px; color: var(--text-muted); margin: 12px 0; }
.btn-gate-reg { font-size: 13px; font-weight: 600; color: var(--text-dark); text-decoration: underline; cursor: pointer; background: none; border: none; }

/* Marken */
.brands-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 32px; }
.brands-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.brands-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.brands-row::-webkit-scrollbar { display: none; }
.brand-chip { flex-shrink: 0; padding: 8px 20px; border: 1px solid var(--border); font-size: 13px; font-weight: 700; cursor: pointer; transition: all var(--t); }
.brand-chip:hover, .brand-chip.active { background: var(--text-dark); color: #fff; border-color: var(--text-dark); }

/* ── SHOP (nach Login) ───────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; max-width: 1440px; margin: 0 auto; padding: 28px 32px 64px; align-items: start; }
.sidebar { position: sticky; top: 120px; }
.sidebar-section { margin-bottom: 24px; }
.sidebar-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.sidebar-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 13px; cursor: pointer; border-bottom: 1px solid var(--border); transition: color var(--t); }
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item:hover { color: var(--accent); }
.sidebar-item.active { font-weight: 700; }
.sidebar-count { font-size: 11px; color: var(--text-muted); }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-chip { padding: 5px 14px; border: 1px solid var(--border); font-size: 12px; font-weight: 500; cursor: pointer; transition: all var(--t); }
.filter-chip:hover { border-color: var(--text-dark); }
.filter-chip.active { background: var(--text-dark); color: #fff; border-color: var(--text-dark); }

/* ── GRID ────────────────────────────────────────── */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.sec-title { font-family: var(--fh); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.sec-count { font-size: 12px; color: var(--text-muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.card { background: var(--bg); cursor: pointer; transition: box-shadow var(--t); position: relative; }
.card:hover { box-shadow: inset 0 0 0 2px var(--text-dark); z-index: 1; }
.card-img { aspect-ratio: 3/4; background: var(--bg-light); position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; background: linear-gradient(135deg,#f0f0f0,#e0e0e0); }
.card-badge { position: absolute; top: 8px; left: 8px; padding: 2px 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--text-dark); color: #fff; }
.card-badge-sale { background: var(--accent); }
.card-like { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; background: rgba(255,255,255,.9); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; transition: all var(--t); color: var(--text-muted); }
.card-like:hover, .card-like.active { color: #e53935; }
.card-body { padding: 10px 12px 14px; }
.card-brand { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 2px; }
.card-title { font-size: 13px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-price { font-size: 14px; font-weight: 700; }
.card-orig { font-size: 11px; color: var(--text-muted); text-decoration: line-through; margin-left: 5px; font-weight: 400; }
.card-size { font-size: 11px; color: var(--text-muted); background: var(--bg-light); padding: 2px 6px; }

/* ── DETAIL ──────────────────────────────────────── */
.detail-wrap { max-width: 1200px; margin: 0 auto; padding: 28px 32px 80px; }
.detail-back { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 24px; cursor: pointer; transition: color var(--t); }
.detail-back:hover { color: var(--text-dark); }
.detail-layout { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: start; }
.detail-gallery { position: sticky; top: 120px; }
.detail-main { aspect-ratio: 3/4; background: var(--bg-light); margin-bottom: 8px; overflow: hidden; }
.detail-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.detail-thumb { flex-shrink: 0; width: 68px; height: 90px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color var(--t); }
.detail-thumb.active { border-color: var(--text-dark); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-brand { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 6px; }
.detail-title { font-family: var(--fh); font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.detail-price { font-size: 1.8rem; font-weight: 700; margin-bottom: 20px; }
.detail-orig { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; font-weight: 400; margin-left: 8px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag { padding: 4px 12px; border: 1px solid var(--border); font-size: 12px; font-weight: 500; }
.detail-desc { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; }
.btn-primary { width: 100%; padding: 15px; background: var(--text-dark); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: none; cursor: pointer; transition: all var(--t); border-radius: 2px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; }
.btn-primary:hover:not(:disabled) { background: var(--accent); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-secondary { width: 100%; padding: 15px; background: transparent; color: var(--text-dark); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--text-dark); cursor: pointer; transition: all var(--t); border-radius: 2px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; }
.btn-secondary:hover { background: var(--bg-light); }
.detail-seller { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border); cursor: pointer; transition: border-color var(--t); margin-top: 4px; }
.detail-seller:hover { border-color: var(--text-dark); }
.seller-av { width: 44px; height: 44px; border-radius: 50%; background: var(--text-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; overflow: hidden; flex-shrink: 0; }
.seller-av img { width: 100%; height: 100%; object-fit: cover; }

/* ── PLACEHOLDER SEITEN ──────────────────────────── */
.placeholder-page { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 32px; text-align: center; min-height: 400px; }
.placeholder-icon { font-size: 3.5rem; margin-bottom: 20px; }
.placeholder-title { font-family: var(--fh); font-size: 2rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 12px; }
.placeholder-desc { font-size: 15px; color: var(--text-muted); max-width: 480px; line-height: 1.7; }

/* ── ALLGEMEINE SEITEN-STRUKTUR ───────────────────── */
.page-content { max-width: 1200px; margin: 0 auto; padding: 32px; }
.page-header { margin-bottom: 24px; }
.page-header-title { font-family: var(--fh); font-size: 1.8rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 6px; }
.page-header-desc { font-size: 14px; color: var(--text-muted); }

/* ── FORMULAR ────────────────────────────────────── */
.sell-wrap { max-width: 680px; margin: 0 auto; padding: 40px 32px 80px; }
.sell-title { font-family: var(--fh); font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 6px; }
.sell-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 36px; }
.form-sec { margin-bottom: 32px; }
.form-sec-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.form-group { margin-bottom: 14px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 5px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); background: var(--bg); font-size: 14px; color: var(--text-dark); outline: none; font-family: var(--fb); transition: border-color var(--t); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--text-dark); }
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.form-err { font-size: 11px; color: var(--accent); margin-top: 4px; min-height: 16px; }
.photo-drop { border: 2px dashed var(--border); padding: 36px; text-align: center; cursor: pointer; transition: all var(--t); position: relative; }
.photo-drop:hover { border-color: var(--text-dark); background: var(--bg-light); }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.photo-drop-icon { font-size: 2rem; margin-bottom: 8px; }
.photo-drop-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.photo-drop-hint { font-size: 12px; color: var(--text-muted); }
.photo-prev { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.photo-item { position: relative; width: 88px; height: 117px; overflow: hidden; border: 1px solid var(--border); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-rm { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; background: rgba(0,0,0,.65); color: #fff; border-radius: 50%; border: none; font-size: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.btn-submit { width: 100%; padding: 14px; background: var(--text-dark); color: #fff; border: none; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: all var(--t); margin-top: 8px; border-radius: 2px; }
.btn-submit:hover:not(:disabled) { background: var(--accent); }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; }

/* ── DASHBOARD ───────────────────────────────────── */
.dash-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 32px; align-items: start; }
.dash-nav { position: sticky; top: 120px; }
.dash-nav-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); padding: 0 12px 10px; }
.dash-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 13px; color: var(--text-dark); cursor: pointer; border-left: 2px solid transparent; transition: all var(--t); margin-bottom: 2px; }
.dash-nav-item:hover { background: var(--bg-light); color: var(--accent); }
.dash-nav-item.active { border-left-color: var(--text-dark); font-weight: 600; background: var(--bg-light); }
.dash-nav-item svg { width: 16px; height: 16px; stroke-width: 1.8; flex-shrink: 0; }
.dash-logout { color: var(--accent) !important; }
.dash-divider { height: 1px; background: var(--border); margin: 8px 0; }
.dash-content-area { padding: 8px 0; }
.dash-greeting { font-family: var(--fh); font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 20px; }
.dash-section-title { font-family: var(--fh); font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
.metric { background: var(--bg); border: 1px solid var(--border); padding: 20px; }
.metric-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 8px; }
.metric-val { font-family: var(--fh); font-size: 1.8rem; font-weight: 900; letter-spacing: -0.02em; }
.metric-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.panel { background: var(--bg); border: 1px solid var(--border); margin-bottom: 20px; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; }
.panel-body { padding: 20px; }
.btn-sm { padding: 5px 14px; border: 1px solid var(--border); background: var(--bg); font-size: 12px; font-weight: 500; cursor: pointer; transition: all var(--t); }
.btn-sm:hover { border-color: var(--text-dark); }
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.orders-table td { padding: 14px; border-bottom: 1px solid var(--border); font-size: 13px; }
.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover td { background: var(--bg-light); }
.status-pill { display: inline-flex; align-items: center; padding: 3px 10px; font-size: 11px; font-weight: 600; }
.status-new  { background: #EBF4FF; color: #1A56DB; }
.status-sent { background: #F0FBF4; color: #2E7D52; }
.status-done { background: var(--bg-light); color: var(--text-muted); }
.status-open { background: #FFF3E0; color: var(--accent-2); }
.btn-ship { padding: 5px 12px; background: var(--text-dark); color: #fff; border: none; font-size: 11px; cursor: pointer; transition: background var(--t); }
.btn-ship:hover { background: var(--accent); }

/* ── INBOX ───────────────────────────────────────── */
.inbox-outer { padding: 24px 32px; }
.inbox-wrap { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; background: var(--bg); border: 1px solid var(--border); height: calc(100vh - 180px); }
.conv-list { border-right: 1px solid var(--border); overflow-y: auto; }
.conv-list-head { padding: 16px; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 700; }
.conv-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background var(--t); }
.conv-item:hover, .conv-item.active { background: var(--bg-light); }
.conv-av { width: 40px; height: 40px; border-radius: 50%; background: var(--text-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; overflow: hidden; }
.conv-av img { width: 100%; height: 100%; object-fit: cover; }
.conv-info { flex: 1; min-width: 0; }
.conv-name { font-size: 13px; font-weight: 600; }
.conv-preview { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-time { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }
.chat-pane { display: flex; flex-direction: column; height: 100%; }
.chat-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.chat-head-name { font-size: 14px; font-weight: 600; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-empty { flex: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: var(--text-muted); font-size: 14px; }
.msg { max-width: 70%; }
.msg-mine { align-self: flex-end; }
.msg-other { align-self: flex-start; }
.msg-bubble { padding: 10px 14px; font-size: 14px; line-height: 1.5; }
.msg-mine .msg-bubble { background: var(--text-dark); color: #fff; }
.msg-other .msg-bubble { background: var(--bg-light); }
.msg-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; text-align: right; }
.chat-input-bar { padding: 14px 16px; border-top: 1px solid var(--border); display: flex; gap: 10px; }
.chat-input-bar input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); font-size: 14px; outline: none; font-family: var(--fb); transition: border-color var(--t); }
.chat-input-bar input:focus { border-color: var(--text-dark); }
.chat-send { padding: 10px 20px; background: var(--text-dark); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; transition: background var(--t); }
.chat-send:hover { background: var(--accent); }

/* ── PROFIL ──────────────────────────────────────── */
.profile-av-lg { width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--accent); background: #444; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-size: 1.8rem; font-weight: 700; overflow: hidden; flex-shrink: 0; }
.profile-av-lg img { width: 100%; height: 100%; object-fit: cover; }

/* ── AUTH MODAL ──────────────────────────────────── */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); z-index: 500; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--t); }
.overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--bg); padding: 40px; width: 100%; max-width: 420px; margin: 16px; box-shadow: var(--shadow-lg); transform: translateY(20px); transition: transform .22s ease; position: relative; }
.overlay.open .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; background: var(--bg-light); border: none; font-size: 14px; cursor: pointer; color: var(--text-muted); display: flex; align-items: center; justify-content: center; transition: background var(--t); }
.modal-close:hover { background: var(--border); }
.modal-title { font-family: var(--fh); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.modal-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.modal-tabs { display: flex; background: var(--bg-light); border: 1px solid var(--border); margin-bottom: 24px; overflow: hidden; }
.modal-tab { flex: 1; padding: 10px; background: transparent; border: none; font-size: 13px; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: all var(--t); font-family: var(--fb); }
.modal-tab.active { background: var(--text-dark); color: #fff; font-weight: 600; }

/* ── AGE GATE ────────────────────────────────────── */
.age-gate-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(10px); z-index: 600; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--t); }
.age-gate-overlay.open { opacity: 1; pointer-events: all; }
.age-gate { background: var(--bg); padding: 48px 40px; width: 100%; max-width: 440px; margin: 16px; text-align: center; border-top: 4px solid var(--accent); }
.age-gate-icon { font-size: 3rem; margin-bottom: 16px; }
.age-gate-title { font-family: var(--fh); font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.age-gate-text { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.age-gate-yes { width: 100%; padding: 13px; background: var(--text-dark); color: #fff; border: none; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: all var(--t); margin-bottom: 10px; font-family: var(--fb); }
.age-gate-yes:hover { background: var(--accent); }
.age-gate-no { width: 100%; padding: 13px; background: transparent; color: var(--text-muted); border: 1px solid var(--border); font-size: 13px; cursor: pointer; font-family: var(--fb); }
.age-gate-legal { font-size: 11px; color: var(--text-muted); margin-top: 16px; line-height: 1.6; }

/* ── FOOTER ──────────────────────────────────────── */
.footer { background: var(--footer-bg); color: rgba(255,255,255,.55); padding: 48px 32px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: var(--fh); font-size: 1.2rem; font-weight: 900; color: #fff; letter-spacing: .06em; margin-bottom: 12px; }
.footer-desc { font-size: 13px; line-height: 1.7; }
.footer-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.footer-link { display: block; font-size: 13px; margin-bottom: 8px; cursor: pointer; transition: color var(--t); }
.footer-link:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; }

/* ── TOAST ───────────────────────────────────────── */
#toast-stack { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--text-dark); color: #fff; padding: 12px 18px; font-size: 13px; font-weight: 500; box-shadow: var(--shadow-lg); max-width: 300px; animation: toastIn .2s ease; }
.toast-success { background: #2E7D52; }
.toast-error   { background: var(--accent); }
@keyframes toastIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ── UTILS ───────────────────────────────────────── */
.spinner { width: 32px; height: 32px; border: 2px solid var(--border); border-top-color: var(--text-dark); border-radius: 50%; animation: spin .65s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.load-center { display: flex; justify-content: center; padding: 60px; }
.empty { text-align: center; padding: 60px 24px; color: var(--text-muted); }
.empty-icon { font-size: 3rem; margin-bottom: 12px; }
.btn-more { padding: 11px 28px; border: 1px solid var(--border); background: var(--bg); font-size: 13px; font-weight: 500; cursor: pointer; transition: all var(--t); }
.btn-more:hover { border-color: var(--text-dark); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .nav1-logo { position: static; transform: none; margin: 0 auto; }
  .nav1-cats { display: none; }
  .gate-split { grid-template-columns: 1fr; }
  .gate-info { border-left: none; border-top: 1px solid var(--border); padding: 32px 24px; }
  .shop-layout { grid-template-columns: 1fr; padding: 16px; }
  .sidebar { display: none; }
  .grid { grid-template-columns: repeat(2,1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-gallery { position: static; }
  .metrics-grid { grid-template-columns: repeat(2,1fr); }
  .dash-layout { grid-template-columns: 1fr; padding: 16px; }
  .dash-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .inbox-wrap { grid-template-columns: 1fr; }
  .conv-list { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .nav2 { padding: 0 16px; }
  .nav2-search { min-width: 140px; }
}
