.detail-page { padding: 24px 0 48px; }

.detail-back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.detail-back:hover { color: var(--brand); }

.detail-hero {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.detail-hero-cover {
  aspect-ratio: 21 / 9;
  background: var(--card-secondary, #eee);
  position: relative;
  overflow: hidden;
}

.detail-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-cover .cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 4rem;
  opacity: 0.12;
}

.detail-hero-body {
  padding: 20px;
}

.detail-badge {
  display: inline-block;
  padding: 1px 6px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.detail-hero-body h1 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.detail-hero-body .tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-run {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-actions .btn-theme,
.detail-actions .btn-outline {
  display: inline-block;
  text-align: center;
}

.detail-price {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.detail-section {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.detail-section h2 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.detail-about-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.detail-section-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.detail-meta {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.detail-meta-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.detail-meta-row:last-child { border-bottom: none; }

.detail-meta-row dt {
  padding: 10px 12px;
  background: var(--bg);
  color: var(--text-muted);
  font-weight: 500;
}

.detail-meta-row dd {
  padding: 10px 12px;
  color: var(--text);
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}

.feature-list li:last-child { border-bottom: none; }

.detail-not-found {
  text-align: center;
  padding: 60px 16px;
}

.detail-not-found h1 {
  font-size: 18px;
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .feature-list { grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
  .detail-meta-row { grid-template-columns: 120px 1fr; }
}

@media (min-width: 768px) {
  .detail-hero-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
  }
  .detail-hero-cover { aspect-ratio: auto; min-height: 240px; }
}
