/* ===== Brave Audio · Speaker Driver 型号页 ===== */

.drv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}

.drv-photo {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  position: sticky;
  top: 96px;
}
.drv-photo img { width: 100%; height: auto; max-height: 460px; object-fit: contain; }

.drv-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(244, 157, 11, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.drv-title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.15; margin-bottom: 10px; }
.drv-sub { font-size: 16px; color: #737373; line-height: 1.6; margin-bottom: 28px; }

.drv-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.drv-quick-item {
  background: #f7f7f7;
  border: 1px solid #efefef;
  border-radius: 14px;
  padding: 12px 16px;
}
.drv-quick-label { font-size: 11px; color: #8a8a8a; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.drv-quick-value { font-size: 15px; font-weight: 700; color: #111; }

.drv-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }

/* ---- 参数分组 ---- */
.drv-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.drv-group {
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 20px;
  padding: 24px 26px 18px;
}
.drv-group h3 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(244, 157, 11, 0.25);
}
.drv-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f3f3;
}
.drv-row:last-child { border-bottom: none; }
.drv-row dt { font-size: 13px; color: #7a7a7a; flex: 1 1 auto; }
.drv-row dd { font-size: 13px; font-weight: 700; color: #111; text-align: right; white-space: nowrap; }

/* ---- 频响曲线 ---- */
.drv-curve {
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}
.drv-curve img { margin: 0 auto; max-width: 100%; }
.drv-curve-cap { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #9a9a9a; margin-top: 14px; }

.drv-notes { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.drv-notes li { font-size: 14px; color: #666; padding-left: 18px; position: relative; line-height: 1.7; }
.drv-notes li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
}

/* ---- 上下型号 ---- */
.drv-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.drv-nav a {
  border: 1px solid #ededed;
  border-radius: 16px;
  padding: 18px 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.drv-nav a:hover { border-color: var(--amber); transform: translateY(-2px); }
.drv-nav .drv-nav-dir { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #9a9a9a; margin-bottom: 4px; }
.drv-nav .drv-nav-id { font-size: 16px; font-weight: 700; color: #111; }
.drv-nav a.next { text-align: right; }

/* ---- 型号卡片（白底产品图，适合参数型产品） ---- */
.drv-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.drv-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 157, 11, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}
.drv-card-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fafafa;
}
.drv-card-photo img {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
  transition: transform 0.35s;
}
.drv-card:hover .drv-card-photo img { transform: scale(1.05); }
.drv-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: var(--amber);
  color: #111;
  padding: 3px 10px;
  border-radius: 999px;
}
.drv-card-body { padding: 15px 18px 18px; border-top: 1px solid #f2f2f2; }
.drv-card-id { font-size: 16px; font-weight: 800; color: #111; letter-spacing: 0.01em; }
.drv-card-type {
  font-size: 11px;
  color: #8f8f8f;
  letter-spacing: 0.04em;
  margin-top: 3px;
  line-height: 1.45;
}

/* ---- 列表页筛选 ---- */
.drv-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.drv-chip {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.18s;
}
.drv-chip:hover { border-color: var(--amber); color: var(--amber); }
.drv-chip.on { background: #0a0a0a; border-color: #0a0a0a; color: #fff; }
.drv-count { margin-left: auto; font-size: 13px; color: #9a9a9a; }
.drv-cell { display: flex; }
.drv-cell .drv-card { width: 100%; }

@media (max-width: 900px) {
  .drv-layout { grid-template-columns: 1fr; gap: 32px; }
  .drv-photo { position: static; min-height: 0; padding: 20px; }
  .drv-quick { grid-template-columns: 1fr; }
  .drv-nav { grid-template-columns: 1fr; }
  .drv-row dd { white-space: normal; }
  .drv-count { margin-left: 0; width: 100%; }
}
