/* LucrativeIT kits / PC builder / catalog — aligned to site dark navy + cyan */

.lit-bundles-page {
  --lit-surface: var(--surface);
  --lit-card: rgba(255, 255, 255, 0.05);
  --lit-card-border: var(--line);
  color: var(--text);
  padding-bottom: 2rem;
  min-height: 60vh;
}

body.lit-kits-page {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(0, 156, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(63, 232, 240, 0.12), transparent 50%),
    #070b16;
}

.lit-bundles-hero {
  padding: 3.5rem 0 1.75rem;
}

.lit-bundles-hero h1,
.lit-bundle-single-head h1 {
  font-family: var(--font);
  font-weight: 700;
  color: #eef2ff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0.35rem 0 0.75rem;
}

.lit-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #7dffe8;
  margin: 0;
}

.lit-lede {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
}

.lit-bundles-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.lit-bundle-group {
  padding: 1.5rem 0 2.5rem;
}

.lit-bundle-group h2,
.lit-pc-toolbar h2,
.lit-bundle-lines h2,
.lit-bundle-summary h2,
.lit-pc-summary h2 {
  color: #eef2ff;
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.lit-bundle-grid,
.lit-catalog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.lit-catalog-how {
  margin: 1.15rem 0 0;
  padding-left: 1.15rem;
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.55;
}

.lit-catalog-how li {
  margin: 0.4rem 0;
}

.lit-catalog-status {
  padding: 0 0 1.25rem;
  color: var(--muted);
}

.lit-catalog-status .lit-stock-pill.is-stale {
  background: rgba(232, 176, 64, 0.18);
  color: #f0c56a;
}

.lit-catalog-related {
  padding: 0 0 3rem;
}

.lit-catalog-related a {
  color: var(--brand-2);
  text-decoration: underline;
}

.lit-bundle-card {
  background: var(--lit-card);
  border: 1px solid var(--lit-card-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.lit-bundle-card:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  background: rgba(255, 255, 255, 0.07);
}

.lit-bundle-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #eef2ff;
  line-height: 1.3;
}

.lit-bundle-card h3 a {
  color: inherit;
}

.lit-bundle-card h3 a:hover {
  color: var(--brand-2);
}

.lit-bundle-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.lit-price-stack {
  list-style: none;
  margin: 0.35rem 0;
  padding: 0;
}

.lit-price-stack li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}

.lit-price-stack li strong {
  color: #e7ecfb;
  font-weight: 600;
}

.lit-price-stack li.total {
  border-bottom: 0;
  font-size: 1.02rem;
  color: #eef2ff;
}

.lit-price-stack li.total strong {
  color: var(--brand-2);
}

.lit-stock-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 156, 255, 0.16);
  color: #9ed8ff;
  width: fit-content;
}

.is-unavailable .lit-stock-pill {
  background: rgba(224, 79, 105, 0.18);
  color: #ff9aab;
}

.lit-bundle-layout,
.lit-pc-layout {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 3rem;
}

@media (min-width: 960px) {
  .lit-bundle-layout {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: start;
  }

  .lit-pc-layout {
    grid-template-columns: 200px minmax(0, 1fr) 300px;
    align-items: start;
  }
}

.lit-line-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lit-line-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.lit-line-list strong {
  color: #eef2ff;
}

.lit-line-name,
.lit-line-note {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.2rem;
}

.lit-line-meta {
  text-align: right;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.88rem;
}

.lit-line-meta .badge {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.45rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #c8d4f0;
  margin-bottom: 0.35rem;
}

.status-ok .badge {
  background: rgba(18, 183, 106, 0.18);
  color: #6ee7b0;
}

.status-substituted .badge {
  background: rgba(232, 176, 64, 0.18);
  color: #f0c56a;
}

.status-omitted .badge {
  background: rgba(255, 255, 255, 0.06);
  color: #9aa8c8;
}

.status-unavailable .badge {
  background: rgba(224, 79, 105, 0.18);
  color: #ff9aab;
}

.lit-bundle-summary,
.lit-pc-summary {
  background: var(--lit-card);
  border: 1px solid var(--lit-card-border);
  border-radius: var(--radius);
  padding: 1.2rem;
  position: sticky;
  top: 1rem;
}

.lit-fineprint {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.lit-fineprint a {
  color: var(--brand-2);
}

.lit-fineprint code {
  font-size: 0.78rem;
  color: #b8c6e8;
  word-break: break-all;
}

.lit-cart-msg {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.lit-cart-msg.is-error {
  color: var(--error);
}

.lit-cart-msg.is-ok {
  color: var(--ok);
}

.lit-breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 1.5rem 0 0.5rem;
}

.lit-breadcrumb a {
  color: var(--brand-2);
}

.lit-pc-steps {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lit-pc-steps button {
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.lit-pc-steps button:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
}

.lit-pc-steps button.is-active {
  border-color: var(--brand);
  background: rgba(0, 156, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(0, 156, 255, 0.25);
}

.lit-pc-steps button.is-done::after {
  content: " ✓";
  color: var(--ok);
}

.lit-pc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

#lit-pc-filter {
  min-width: min(100%, 240px);
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
}

#lit-pc-filter::placeholder {
  color: #7b8eb8;
}

.lit-pc-product-list {
  display: grid;
  gap: 0.6rem;
}

.lit-pc-product {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
}

.lit-pc-product img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
}

.lit-pc-product strong {
  color: #eef2ff;
  font-size: 0.95rem;
}

.lit-pc-product.is-selected {
  border-color: var(--brand);
  background: rgba(0, 156, 255, 0.1);
}

.lit-pc-product button {
  border: 0;
  background: linear-gradient(92deg, var(--brand), var(--brand-2));
  color: #04122b;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
}

.lit-pc-compat {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
}

.lit-pc-compat.is-ok {
  border-color: rgba(18, 183, 106, 0.45);
  background: rgba(18, 183, 106, 0.1);
}

.lit-pc-compat.is-warn {
  border-color: rgba(232, 176, 64, 0.45);
  background: rgba(232, 176, 64, 0.1);
}

.lit-pc-compat.is-bad {
  border-color: rgba(224, 79, 105, 0.5);
  background: rgba(224, 79, 105, 0.12);
}

.lit-pc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.lit-pc-chip {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 156, 255, 0.18);
  color: #9ed8ff;
}

.lit-pc-errors,
.lit-pc-warnings {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.4;
}

.lit-pc-errors { color: #ff9aab; }
.lit-pc-warnings { color: #f0c56a; }
.lit-pc-ok { margin: 0; color: #6ee7b0; font-weight: 600; }
.lit-pc-note { color: #f0c56a !important; }

.lit-pc-selected {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.lit-pc-selected li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.lit-pc-selected strong {
  color: #c8d6f5;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.lit-pc-selected .remove {
  color: #ff9aab;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0;
}

/* Prefer theme buttons; keep scoped fallbacks */
.lit-bundles-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}

.lit-bundles-page .btn-primary {
  background: linear-gradient(92deg, var(--brand), var(--brand-2));
  color: #04122b;
  border: 0;
}

.lit-bundles-page .btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.lit-bundles-page .btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-2);
}

.lit-bundles-page .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .lit-pc-product {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .lit-pc-product button {
    grid-column: 1 / -1;
  }

  .lit-line-list li {
    flex-direction: column;
  }

  .lit-line-meta {
    text-align: left;
  }
}
