/* ===== Brave Audio - DSP 处理器页面样式 ===== */

/* ---------- 列表页卡片 ---------- */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.proc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.proc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.09);
  border-color: rgba(244, 157, 11, 0.45);
}

.proc-card-photo {
  position: relative;
  aspect-ratio: 16 / 5;
  background: linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  overflow: hidden;
}
.proc-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s;
}
.proc-card:hover .proc-card-photo img { transform: scale(1.04); }

.proc-card-badge {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--amber);
  color: #111;
  padding: 3px 9px;
  border-radius: 999px;
}

.proc-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.proc-card-id {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #111;
  margin-bottom: 4px;
}
.proc-card-type {
  font-size: 13px;
  color: #8a8a8a;
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: 39px;
}
.proc-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.proc-card-specs span {
  font-size: 11.5px;
  font-weight: 600;
  color: #444;
  background: #f5f5f5;
  border-radius: 7px;
  padding: 4px 9px;
  white-space: nowrap;
}
.proc-card-more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.proc-card:hover .proc-card-more { color: var(--amber-dark); }

/* ---------- OEM 区块 ---------- */
.proc-oem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.proc-oem-card {
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 16px;
  padding: 24px 22px;
}
.proc-oem-card h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111;
}
.proc-oem-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.65;
}

/* ---------- 详情页 ---------- */
.proc-panel {
  background: linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 20px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.proc-panel img { width: 100%; height: auto; object-fit: contain; }
.proc-panel-cap {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9a9a;
  text-align: center;
  margin-bottom: 26px;
}

.proc-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}
.proc-quick-item {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 13px 15px;
}
.proc-quick-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 4px;
}
.proc-quick-value {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}

.proc-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin-bottom: 8px;
}
.proc-features li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #555;
  line-height: 1.65;
}
.proc-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.proc-spec-group { margin-bottom: 28px; }
.proc-spec-group h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid #ededed;
}
.proc-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 11px 0;
  border-bottom: 1px solid #f2f2f2;
  font-size: 13.5px;
}
.proc-spec-row dt { color: #8a8a8a; flex: 0 0 auto; }
.proc-spec-row dd { color: #111; font-weight: 600; text-align: right; }

.proc-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.proc-apps span {
  font-size: 12.5px;
  font-weight: 600;
  color: #444;
  background: #f5f5f5;
  border-radius: 999px;
  padding: 6px 14px;
}

.proc-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.proc-nav a {
  border: 1px solid #ededed;
  border-radius: 14px;
  padding: 16px 20px;
  transition: border-color 0.2s, background 0.2s;
}
.proc-nav a:hover { border-color: rgba(244, 157, 11, 0.5); background: #fffdf7; }
.proc-nav .dir { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #9a9a9a; margin-bottom: 3px; }
.proc-nav .id { font-size: 15px; font-weight: 800; color: #111; }
.proc-nav a.next { text-align: right; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .proc-oem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .proc-grid { grid-template-columns: 1fr; gap: 20px; }
  .proc-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proc-features { grid-template-columns: 1fr; }
  .proc-panel { padding: 16px; border-radius: 14px; }
  .proc-spec-row { flex-direction: column; gap: 2px; }
  .proc-spec-row dd { text-align: left; }
}
@media (max-width: 560px) {
  .proc-oem-grid { grid-template-columns: 1fr; }
  .proc-quick { grid-template-columns: 1fr; }
  .proc-nav { grid-template-columns: 1fr; }
}
