/* ============================================================
   stxrm808 — KIT DETAIL PAGE
   ============================================================ */

/* ── Kit Hero ────────────────────────────────────────────── */
.kit-hero {
  padding: calc(var(--nav-h) + 72px) 0 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Background trailer video */
.kit-hero__video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.kit-hero__video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,6,6,0.72) 0%, rgba(8,6,6,0.3) 45%, rgba(8,6,6,0.8) 100%),
    linear-gradient(to right, rgba(8,6,6,0.55) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

.kit-hero .container {
  position: relative;
  z-index: 2;
}

/* Sound toggle */
.kit-hero__sound-btn {
  position: absolute;
  bottom: 22px;
  right: 22px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  backdrop-filter: blur(8px);
}

.kit-hero__sound-btn:hover {
  background: rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.22);
}

.kit-hero__sound-btn.is-on {
  background: rgba(255,100,0,0.14);
  color: #ff6400;
  border-color: rgba(255,100,0,0.35);
}

.kit-hero__inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: start;
}

.kit-hero__cover-wrap {
  position: relative;
}

.kit-hero__cover {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px var(--border);
}

.kit-hero__cover-glow {
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: 9px;
  background: transparent;
  box-shadow: 0 0 60px rgba(255,68,0,0.15);
  pointer-events: none;
}

.kit-hero__info { padding-top: 8px; }

.kit-hero__badges {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.kit-hero__badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}

.kit-hero__badge--amber {
  background: rgba(232,144,64,0.12);
  color: var(--amber);
  border: 1px solid rgba(232,144,64,0.3);
}

.kit-hero__badge--grey {
  background: rgba(255,255,255,0.05);
  color: var(--text-2);
  border: 1px solid var(--border);
}

.kit-hero__name {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 20px;
}

.kit-hero__name em { font-style: normal; color: var(--fire); }

.kit-hero__desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 32px;
}

.kit-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 40px;
}

.kit-hero__tags li {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 2px;
}

.kit-hero__buy {
  display: flex;
  align-items: center;
  gap: 24px;
}

.kit-hero__price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.02em;
}

/* Native Pfeil-Cursor im Finder (nur Flames-Kit-Seite; überschreibt Fire-Cursor + inline none) */
body.native-cursor-finder.page-kit-flames .finder-window,
body.native-cursor-finder.page-kit-flames .finder-window * {
  cursor: auto !important;
}

/* ── Sample Browser section ──────────────────────────────── */
.sample-browser {
  padding: 96px 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.sample-browser__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.sample-browser__title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}

.sample-browser__hint {
  font-size: 12px;
  color: var(--text-3);
}

/* ── Finder Window ───────────────────────────────────────── */
.finder-window {
  background: #1d1d1f;
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid rgba(255,255,255,0.11);
  box-shadow:
    0 50px 120px rgba(0,0,0,0.8),
    0 0 0 0.5px rgba(0,0,0,0.5),
    inset 0 0 0 0.5px rgba(255,255,255,0.04);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

/* Title bar */
.finder__titlebar {
  height: 38px;
  background: #2c2c2e;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  user-select: none;
  position: relative;
}

.finder__winbtns {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.finder__winbtn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
  transition: color 0.1s;
  flex-shrink: 0;
}

.finder__winbtns:hover .finder__winbtn {
  font-size: 8px;
  color: rgba(0,0,0,0.55);
}

.finder__winbtn--close { background: #ff5f57; }
.finder__winbtn--min   { background: #febc2e; }
.finder__winbtn--max   { background: #28c840; }

.finder__titlebar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.finder__title-folder-icon {
  color: #e8982a;
  flex-shrink: 0;
}

.finder__window-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.finder__titlebar-right { margin-left: auto; }

.finder__action-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.finder__action-btn:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
}

/* Toolbar */
.finder__toolbar {
  height: 44px;
  background: #242426;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 12px;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}

.finder__toolbar-nav { display: flex; gap: 2px; }

.finder__nav-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.finder__nav-btn:not(:disabled):hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
}

.finder__nav-btn:disabled { opacity: 0.28; cursor: default; }

.finder__breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.finder__crumb {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  white-space: nowrap;
}

.finder__crumb--active {
  color: rgba(255,255,255,0.82);
  font-weight: 500;
}

.finder__crumb-sep {
  color: rgba(255,255,255,0.22);
  flex-shrink: 0;
}

.finder__toolbar-end { margin-left: auto; }

.finder__view-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.finder__view-btn.is-active {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.82);
}

/* Body */
.finder__body {
  display: flex;
  height: 352px;
}

/* Sidebar */
.finder__sidebar {
  width: 186px;
  flex-shrink: 0;
  background: #222224;
  border-right: 0.5px solid rgba(255,255,255,0.06);
  padding: 12px 0 12px;
  overflow-y: auto;
}

.finder__sidebar::-webkit-scrollbar { width: 3px; }
.finder__sidebar::-webkit-scrollbar-track { background: transparent; }
.finder__sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.finder__sidebar-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  padding: 0 14px 8px;
}

.finder__sidebar-list { list-style: none; }

.finder__sidebar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  margin: 1px 5px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: calc(100% - 10px);
  text-align: left;
  transition: background 0.1s, color 0.1s;
  letter-spacing: -0.01em;
}

.finder__sidebar-item:hover:not(.is-active) {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.82);
}

.finder__sidebar-item.is-active {
  background: rgba(255,100,0,0.2);
  color: #ffffff;
}

.finder__sidebar-folder {
  flex-shrink: 0;
  color: #d4861a;
  opacity: 0.8;
  transition: color 0.1s, opacity 0.1s;
}

.finder__sidebar-item.is-active .finder__sidebar-folder {
  color: #ff8c00;
  opacity: 1;
}

.finder__sidebar-list--tail {
  margin-top: 4px;
}

.finder__sidebar-nopreview {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  margin: 1px 5px;
  width: calc(100% - 10px);
  font-size: 13px;
  color: rgba(255,255,255,0.52);
  border-radius: 6px;
  letter-spacing: -0.01em;
  pointer-events: none;
  user-select: none;
  cursor: default;
}

.finder__sidebar-nopreview .finder__sidebar-folder {
  color: rgba(212,134,26,0.55);
  opacity: 0.9;
  flex-shrink: 0;
}

.finder__sidebar-nopreview span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.finder__sidebar-no-audio {
  flex-shrink: 0;
  opacity: 0.32;
  color: rgba(255,255,255,0.55);
}

/* Main content area */
.finder__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #1d1d1f;
  min-width: 0;
}

/* Column headers */
.finder__col-headers {
  display: grid;
  grid-template-columns: 1fr 58px 78px 88px;
  padding: 0 16px;
  height: 28px;
  align-items: center;
  background: #252527;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.finder__col-h {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.01em;
  user-select: none;
}

.finder__col-h--dur  { text-align: right; }
.finder__col-h--kind { text-align: right; }

/* Files scroll area */
.finder__files-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.finder__files-scroll::-webkit-scrollbar { width: 6px; }
.finder__files-scroll::-webkit-scrollbar-track { background: transparent; }
.finder__files-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.09); border-radius: 3px; }
.finder__files-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }

/* File groups */
.finder__file-group { display: none; }
.finder__file-group.is-active {
  display: block;
  animation: finderFadeIn 0.16s ease both;
}

@keyframes finderFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Individual file rows */
.finder__file {
  display: grid;
  grid-template-columns: 22px 1fr 58px 78px 88px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  height: 34px;
  border-bottom: 0.5px solid rgba(255,255,255,0.035);
  cursor: pointer;
  transition: background 0.1s;
}

.finder__file:hover         { background: rgba(255,255,255,0.05); }
.finder__file.is-selected   { background: rgba(255,100,0,0.1); }
.finder__file.is-playing    { background: rgba(255,100,0,0.14); }

/* File icon */
.finder__file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  transition: color 0.1s;
}

.finder__file.is-playing .finder__file-icon,
.finder__file.is-selected .finder__file-icon { color: #ff6e00; }

.finder__file-icon--lock { color: rgba(255,255,255,0.18); }

/* File name */
.finder__file-name {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.1s;
  letter-spacing: -0.01em;
}

.finder__file:hover .finder__file-name              { color: rgba(255,255,255,0.88); }
.finder__file.is-playing .finder__file-name,
.finder__file.is-selected .finder__file-name        { color: #ffffff; }

/* Mini waveform */
.finder__file-wave {
  display: flex;
  align-items: center;
  gap: 1.5px;
  height: 20px;
  justify-content: flex-end;
}

.finder__file-wave span {
  display: block;
  width: 2px;
  background: rgba(255,255,255,0.13);
  border-radius: 1px;
  transition: background 0.1s;
}

.finder__file:hover .finder__file-wave span      { background: rgba(255,255,255,0.28); }
.finder__file.is-playing .finder__file-wave span {
  background: rgba(255,110,0,0.65);
  animation: finderWaveAnim 0.48s ease-in-out infinite alternate;
}

.finder__file.is-playing .finder__file-wave span:nth-child(2) { animation-delay: 0.08s; }
.finder__file.is-playing .finder__file-wave span:nth-child(3) { animation-delay: 0.2s; }
.finder__file.is-playing .finder__file-wave span:nth-child(4) { animation-delay: 0.05s; }
.finder__file.is-playing .finder__file-wave span:nth-child(5) { animation-delay: 0.14s; }
.finder__file.is-playing .finder__file-wave span:nth-child(6) { animation-delay: 0.1s; }
.finder__file.is-playing .finder__file-wave span:nth-child(7) { animation-delay: 0.18s; }

@keyframes finderWaveAnim {
  from { transform: scaleY(0.35); }
  to   { transform: scaleY(1.7); }
}

/* Duration and kind */
.finder__file-dur,
.finder__file-kind {
  font-size: 11.5px;
  color: rgba(255,255,255,0.27);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  letter-spacing: 0;
}

/* Locked files */
.finder__file--locked {
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.finder__file--locked:hover { background: transparent; }

.finder__locked-wrap { position: relative; overflow: hidden; }

.finder__locked-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(29,29,31,0.5) 38%,
    rgba(29,29,31,0.9) 70%,
    #1d1d1f 100%
  );
  pointer-events: none;
  z-index: 1;
}

.finder__locked-wrap .finder__file--locked:nth-child(1) { opacity: 0.52; }
.finder__locked-wrap .finder__file--locked:nth-child(2) { opacity: 0.28; }
.finder__locked-wrap .finder__file--locked:nth-child(3) { opacity: 0.1; }

/* Status bar */
.finder__statusbar {
  height: 24px;
  background: #2a2a2c;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.finder__status-left {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.01em;
}

/* ── Kit Stats (lead + soft chips, not a loud grid) ───────── */
.kit-stats {
  padding: 56px 0 64px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.kit-stats__wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.kit-stats__lead {
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 12px 18px;
  font-size: 17px;
  line-height: 1.35;
  color: var(--text-2);
}

.kit-stats__lead-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fire);
  text-shadow: 0 0 48px rgba(255, 90, 40, 0.18);
}

.kit-stats__lead-copy {
  max-width: 22em;
  text-align: center;
}

.kit-stats__lead-copy strong {
  color: var(--text);
  font-weight: 600;
}

.kit-stats__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
}

.kit-stats__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.kit-stats__chip:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 95, 48, 0.22);
}

.kit-stats__chip-name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-2);
}

.kit-stats__chip-val {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.42);
  min-width: 1.5em;
  text-align: right;
}

/* ── Kit buy CTA ─────────────────────────────────────────── */
.kit-cta {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.kit-cta__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.kit-cta__heading em { font-style: normal; color: var(--fire); }

.kit-cta__sub {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 40px;
}

.kit-cta__price {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 32px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .kit-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .kit-hero__cover-wrap {
    max-width: 360px;
    margin: 0 auto;
  }
  .kit-stats__wrap { max-width: 100%; }
  .finder__body { height: 320px; }
  .finder__sidebar { width: 160px; }
  .finder__col-headers,
  .finder__file { grid-template-columns: 22px 1fr 58px 78px; }
  .finder__col-h--kind,
  .finder__file-kind { display: none; }
}

@media (max-width: 600px) {
  .kit-hero { padding: calc(var(--nav-h) + 40px) 0 56px; }
  .kit-hero__name { font-size: 36px; }
  .kit-hero__buy { flex-direction: column; align-items: flex-start; gap: 16px; }
  .kit-stats__chip { padding: 7px 12px 7px 14px; }
  .kit-stats__chip-name { font-size: 12px; }
  .finder__sidebar { width: 130px; }
  .finder__sidebar-item { font-size: 12px; padding: 5px 7px; gap: 5px; }
  .finder__col-headers,
  .finder__file { grid-template-columns: 20px 1fr 58px; }
  .finder__col-h--kind,
  .finder__col-h--dur,
  .finder__file-kind,
  .finder__file-dur,
  .finder__file-wave { display: none; }
}

/* Footer tagline matches kit hero */
a.footer__tagline.footer__tagline--kit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 260px;
  font-size: inherit;
  letter-spacing: normal;
  color: var(--text);
}

.footer__tagline--kit .footer__kit-kicker {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer__tagline--kit .footer__kit-head {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}

.footer__tagline--kit .footer__kit-head em {
  font-style: normal;
  color: var(--fire);
}
