/* MODULE: loadout – Loadout-Seite
══════════════════════════════════════════════════════════════ */

/* ── Layout ────────────────────────────────────────────────── */
.loadout-body {
  background: var(--bg-2);
  min-height: 100vh;
}

/* ── Header ────────────────────────────────────────────────── */
.loadout-header {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.loadout-back {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

.loadout-header-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
  letter-spacing: 0.03em;
  flex: 1;
  margin: 0;
  font-weight: 400;
}

/* ── Main ──────────────────────────────────────────────────── */
.loadout-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.loadout-intro {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 560px;
}

/* ── Kategorie-Gruppe ──────────────────────────────────────── */
.loadout-category {
  margin-bottom: 48px;
}

.loadout-cat-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

/* ── Item-Grid ─────────────────────────────────────────────── */
.loadout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* ── Item-Karte ────────────────────────────────────────────── */
.loadout-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.loadout-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

.loadout-card-img {
  width: 100%;
  height: 180px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.loadout-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.loadout-card-img-placeholder {
  font-size: 40px;
  color: var(--text-faint);
}

.loadout-card-body {
  padding: 16px 18px 18px;
}

.loadout-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.loadout-card-weight {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255,107,0,0.08);
  border-radius: 20px;
  padding: 2px 8px;
  margin-bottom: 6px;
}

.loadout-card-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Leerzustand ───────────────────────────────────────────── */
.loadout-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}
.loadout-empty p:first-child { font-size: 40px; margin-bottom: 12px; }
.loadout-empty .loadout-empty-title { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
