/* Models Page — shared with vertical-models page for list layout */

.models-page {
  padding-top: 72px;
  background: var(--bg);
}

/* ── Vendor Select (used in models page stats bar) ── */

/* ── Detail Page ── */
.model-detail {
  padding-top: 72px;
  background: var(--bg);
}

.detail-hero {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
}

.detail-hero-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.detail-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}

.detail-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--fg);
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.detail-breadcrumb {
  margin-bottom: 16px;
}

.detail-breadcrumb a {
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s;
}

.detail-breadcrumb a:hover {
  color: var(--accent-cyan);
}

.detail-breadcrumb span {
  color: var(--muted);
  font-size: 13px;
  margin: 0 6px;
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 40px 0 80px;
}

.detail-main h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
  margin-top: 40px;
}

.detail-main h2:first-child {
  margin-top: 0;
}

.detail-main p {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
}

.detail-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}

.param-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.param-row:last-child {
  border-bottom: none;
}

.param-label {
  color: var(--muted);
}

.param-value {
  font-weight: 600;
  color: var(--fg);
}

.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.sidebar-cta {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  color: #0f172a;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  text-decoration: none;
}

.sidebar-cta:hover {
  box-shadow: 0 4px 20px rgba(0, 245, 212, 0.35);
}

@media (max-width: 1024px) {
  .detail-body {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .detail-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-title {
    font-size: 28px;
  }
}
