/* ========== KIT HERO ========== */
.kit-hero {
  position: relative;
  padding: 10rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}

.kit-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 40% 50%, rgba(201, 160, 220, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 25%, rgba(212, 168, 83, 0.06) 0%, transparent 45%);
  pointer-events: none;
}

.kit-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.kit-hero-accent {
  color: var(--accent);
  font-style: italic;
}

.kit-hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 500px;
  margin: 1rem auto 0;
}

/* ========== PRICING BAR ========== */
.kit-pricing-bar {
  background: rgba(201, 160, 220, 0.07);
  border-top: 1px solid rgba(201, 160, 220, 0.2);
  border-bottom: 1px solid rgba(201, 160, 220, 0.2);
  padding: 2rem 2rem;
  text-align: center;
  position: sticky;
  top: 64px;
  z-index: 90;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(10, 10, 15, 0.9);
}

.kit-pricing-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.kit-pricing-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--fg);
}

.kit-pricing-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.kit-original-price {
  font-size: 1rem;
  color: var(--fg-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.kit-bundle-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}

.kit-savings-badge {
  background: rgba(212, 168, 83, 0.15);
  color: var(--gold);
  border: 1px solid rgba(212, 168, 83, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.btn-kit-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-kit-buy:hover {
  background: #d8b2eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 160, 220, 0.3);
}

/* ========== KIT MAIN ========== */
.kit-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* ========== LINE SECTIONS ========== */
.kit-line {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.kit-line-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kit-line-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.kit-line-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.kit-line-motto {
  font-size: 0.88rem;
  font-style: italic;
  opacity: 0.75;
}

/* ========== PRODUCT LINE THEMES ========== */

/* RAGE — Controlled fury */
.line-rage {
  background: linear-gradient(135deg, rgba(26, 10, 10, 0.9) 0%, rgba(19, 19, 26, 0.9) 100%);
  border-color: rgba(139, 0, 0, 0.25);
}
.line-rage .kit-line-header { background: rgba(139, 0, 0, 0.08); }
.line-rage .kit-line-name { color: #e07070; }
.line-rage .kit-line-motto { color: #c26060; }
.line-rage .kit-line-cta { border-top-color: rgba(139, 0, 0, 0.2); }
.line-rage .btn-kit-buy { background: #c0392b; color: #fff; }
.line-rage .btn-kit-buy:hover { background: #e74c3c; }

/* CALM — Cozy grief */
.line-calm {
  background: linear-gradient(135deg, rgba(10, 18, 15, 0.9) 0%, rgba(19, 19, 26, 0.9) 100%);
  border-color: rgba(135, 168, 120, 0.2);
}
.line-calm .kit-line-header { background: rgba(135, 168, 120, 0.08); }
.line-calm .kit-line-name { color: #87a878; }
.line-calm .kit-line-motto { color: #6a8f5e; }
.line-calm .btn-kit-buy { background: #87a878; color: #0a0a0f; }
.line-calm .btn-kit-buy:hover { background: #9dc28c; }

/* PETTY — Slightly unhinged */
.line-petty {
  background: linear-gradient(135deg, rgba(20, 5, 25, 0.9) 0%, rgba(19, 19, 26, 0.9) 100%);
  border-color: rgba(255, 105, 180, 0.2);
}
.line-petty .kit-line-header { background: rgba(255, 105, 180, 0.06); }
.line-petty .kit-line-name { color: #ff69b4; }
.line-petty .kit-line-motto { color: #cc5090; }
.line-petty .btn-kit-buy { background: #e91e8c; color: #fff; }
.line-petty .btn-kit-buy:hover { background: #ff40a0; }

/* BAD BITCH — Unapologetic power */
.line-bad-bitch {
  background: linear-gradient(135deg, rgba(15, 12, 0, 0.9) 0%, rgba(19, 19, 26, 0.9) 100%);
  border-color: rgba(212, 168, 83, 0.25);
}
.line-bad-bitch .kit-line-header { background: rgba(212, 168, 83, 0.08); }
.line-bad-bitch .kit-line-name { color: var(--gold); }
.line-bad-bitch .kit-line-motto { color: #b0863a; }
.line-bad-bitch .btn-kit-buy { background: var(--gold); color: #0a0a0f; }
.line-bad-bitch .btn-kit-buy:hover { background: #e8c060; }

/* DARK HUMOR — Gallows comedy */
.line-dark-humor {
  background: linear-gradient(135deg, rgba(10, 14, 10, 0.9) 0%, rgba(19, 19, 26, 0.9) 100%);
  border-color: rgba(173, 255, 47, 0.15);
}
.line-dark-humor .kit-line-header { background: rgba(173, 255, 47, 0.04); }
.line-dark-humor .kit-line-name { color: #adff2f; }
.line-dark-humor .kit-line-motto { color: #7ab020; }
.line-dark-humor .btn-kit-buy { background: #6ab010; color: #0a0a0f; }
.line-dark-humor .btn-kit-buy:hover { background: #88d020; }

/* ESCAPE — Quiet departure */
.line-escape {
  background: linear-gradient(135deg, rgba(0, 10, 18, 0.9) 0%, rgba(19, 19, 26, 0.9) 100%);
  border-color: rgba(0, 139, 139, 0.2);
}
.line-escape .kit-line-header { background: rgba(0, 139, 139, 0.06); }
.line-escape .kit-line-name { color: #008b8b; }
.line-escape .kit-line-motto { color: #006666; }
.line-escape .btn-kit-buy { background: #008b8b; color: #fff; }
.line-escape .btn-kit-buy:hover { background: #00aaaa; }

/* ========== KIT PRODUCT CARDS ========== */
.kit-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 2.5rem;
}

.kit-product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s;
}

.kit-product-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.kit-product-available {
  border-color: rgba(201, 160, 220, 0.15);
}

.kit-product-available:hover {
  border-color: rgba(201, 160, 220, 0.3);
}

.kit-product-coming-soon {
  opacity: 0 !important;
}

.kit-product-coming-soon.card-visible {
  opacity: 0.5 !important;
}

.kit-product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kit-product-badge {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-weight: 500;
}

.badge-available {
  background: rgba(201, 160, 220, 0.15);
  color: var(--accent);
  border: 1px solid rgba(201, 160, 220, 0.25);
}

.badge-coming-soon {
  background: rgba(154, 149, 144, 0.1);
  color: var(--fg-muted);
  border: 1px solid rgba(154, 149, 144, 0.18);
}

.kit-product-icon {
  font-size: 1.4rem;
}

.kit-product-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.kit-product-tagline {
  font-size: 0.85rem;
  color: var(--accent);
  font-style: italic;
  opacity: 0.85;
}

.kit-product-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  flex: 1;
}

.kit-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: auto;
}

.kit-product-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.btn-buy-single {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: transparent;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(201, 160, 220, 0.3);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-buy-single:hover {
  background: rgba(201, 160, 220, 0.1);
  border-color: var(--accent);
}

.kit-coming-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-style: italic;
  opacity: 0.6;
}

/* ========== LINE CTA ========== */
.kit-line-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.kit-cta-label {
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* ========== STICKY CTA (multi-line) ========== */
.kit-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(10, 10, 15, 0.95);
  border-top: 1px solid rgba(201, 160, 220, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 2rem;
}

.kit-sticky-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.kit-sticky-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--fg);
}

.kit-sticky-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

/* ========== BUILD YOUR OWN ========== */
.kit-build-own {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 4rem;
}

.kit-build-own-inner {
  max-width: 600px;
  margin: 0 auto;
}

.kit-build-own p {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.kit-build-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(201, 160, 220, 0.4);
  transition: opacity 0.2s;
}

.kit-build-link:hover {
  opacity: 0.8;
}

/* ========== KIT BUILDER ========== */
.kit-builder-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}

.kit-builder-instructions {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.kit-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.kit-selector-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  background: rgba(255, 255, 255, 0.02);
}

.kit-selector-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.kit-selector-card:hover {
  border-color: rgba(201, 160, 220, 0.25);
  transform: translateY(-2px);
}

.kit-selector-card.selected {
  border-color: var(--accent);
  background: rgba(201, 160, 220, 0.06);
}

/* Selector line themes */
.kit-selector-card.line-rage:hover,
.kit-selector-card.line-rage.selected { border-color: #c0392b; background: rgba(139, 0, 0, 0.08); }
.kit-selector-card.line-calm:hover,
.kit-selector-card.line-calm.selected { border-color: #87a878; background: rgba(135, 168, 120, 0.07); }
.kit-selector-card.line-petty:hover,
.kit-selector-card.line-petty.selected { border-color: #ff69b4; background: rgba(255, 105, 180, 0.06); }
.kit-selector-card.line-bad-bitch:hover,
.kit-selector-card.line-bad-bitch.selected { border-color: var(--gold); background: rgba(212, 168, 83, 0.07); }
.kit-selector-card.line-dark-humor:hover,
.kit-selector-card.line-dark-humor.selected { border-color: #adff2f; background: rgba(173, 255, 47, 0.05); }
.kit-selector-card.line-escape:hover,
.kit-selector-card.line-escape.selected { border-color: #008b8b; background: rgba(0, 139, 139, 0.07); }

.kit-selector-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.kit-selector-body {
  flex: 1;
}

.kit-selector-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.2rem;
}

.kit-selector-mood {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-style: italic;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.kit-selector-price {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

.kit-selector-check-indicator {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s;
}

.kit-selector-card.selected .kit-selector-check-indicator {
  opacity: 1;
}

/* ========== KIT BUILDER SUMMARY ========== */
.kit-builder-summary {
  position: sticky;
  bottom: 1.5rem;
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid rgba(201, 160, 220, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.kit-summary-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.kit-summary-label {
  font-size: 0.88rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kit-summary-lines {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--accent);
  flex: 1;
  text-align: center;
}

.btn-kit-build {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-kit-build:hover {
  background: #d8b2eb;
  transform: translateY(-1px);
}

/* ========== NAV BACK LINK ========== */
.nav-back {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--accent);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .kit-hero {
    padding: 8rem 1.5rem 4rem;
  }

  .kit-pricing-bar {
    top: 56px;
    padding: 1rem 1.5rem;
  }

  .kit-pricing-inner {
    gap: 0.75rem;
  }

  .kit-main {
    padding: 2rem 1.25rem 5rem;
  }

  .kit-line-header {
    padding: 1.5rem 1.5rem;
  }

  .kit-products-grid {
    padding: 1.5rem 1.5rem;
    grid-template-columns: 1fr;
  }

  .kit-line-cta {
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .kit-sticky-inner {
    gap: 0.75rem;
  }

  .kit-builder-main {
    padding: 1.5rem 1.25rem 5rem;
  }

  .kit-selector-grid {
    grid-template-columns: 1fr;
  }

  .kit-summary-inner {
    flex-direction: column;
    text-align: center;
  }

  .btn-kit-build,
  .btn-kit-buy {
    width: 100%;
    justify-content: center;
  }
}
