.audio-page,
.product-detail-page {
  background: #090909;
  color: #f5f5f5;
}

.audio-main,
.product-detail-main {
  min-height: 70vh;
  padding-top: 24px;
}

.audio-container,
.product-detail-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.audio-hero {
  padding: clamp(24px, 3vw, 36px) 0 clamp(44px, 6vw, 78px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.audio-kicker,
.detail-kicker {
  margin: 0 0 12px;
  color: #ff641f;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.audio-hero h1,
.product-summary h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.audio-hero > .audio-container > p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: #b9b9b9;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

.audio-group {
  padding: clamp(48px, 7vw, 92px) 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.audio-filters {
  display: none;
}

.audio-group-heading {
  display: grid;
  grid-template-columns: minmax(220px,.75fr) minmax(300px,1.25fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 34px;
}

.audio-group-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.audio-group-heading p {
  max-width: 640px;
  margin: 0;
  color: #aaa;
  line-height: 1.65;
}

.audio-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px;
}

.audio-product-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: #111;
  box-shadow: 0 18px 46px rgba(0,0,0,.28);
}

.audio-product-card > a:first-child {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(0,0,0,.04), rgba(0,0,0,.22)),
    url("assets/products/kaidi/audio-card-background-v2.webp") center / cover;
}

.audio-product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(1.04) contrast(1.03);
  transition: transform .25s ease;
}

.audio-product-card:hover img { transform: scale(1.018); }

.audio-product-copy { padding: 24px; }
.audio-product-copy h3 { margin: 0 0 10px; font-size: clamp(1.35rem,2vw,1.8rem); }
.audio-product-copy p { margin: 0; color: #aaa; line-height: 1.55; }
.audio-product-meta { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 22px; }
.audio-product-meta span { padding:7px 11px; border-radius:999px; background:#202020; color:#ddd; font-size:.78rem; font-weight:800; }
.audio-product-link { display:inline-flex; min-height:46px; align-items:center; justify-content:center; padding:0 20px; border-radius:999px; background:#ff641f; color:#080808; font-weight:900; text-decoration:none; }

.audio-group-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.audio-view-all {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #f5f5f5;
  font-size: .88rem;
  font-weight: 850;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.audio-view-all:hover {
  border-color: #ff641f;
  background: rgba(255,100,31,.08);
  color: #ff8a55;
}

.detail-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0;
  color: #999;
  font-size: .88rem;
}
.detail-breadcrumbs a { color:#bbb; text-decoration:none; }
.detail-breadcrumbs a:hover { color:#ff641f; }

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(330px,.95fr);
  gap: clamp(34px,6vw,76px);
  align-items: start;
  padding-bottom: clamp(60px,8vw,110px);
}

.product-gallery { min-width: 0; }
.product-gallery-main {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background:
    linear-gradient(rgba(0,0,0,.04), rgba(0,0,0,.22)),
    url("assets/products/kaidi/audio-card-background-v2.webp") center / cover;
}
.product-gallery-main img { width:100%; height:100%; object-fit:contain; }
.product-gallery-main img[data-product-shot] {
  object-fit: cover;
  padding: 0;
  filter: saturate(1.04) contrast(1.03);
}
.product-gallery-thumbs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:12px; }
.gallery-thumb { aspect-ratio:1/1; padding:0; overflow:hidden; border:1px solid rgba(255,255,255,.14); border-radius:12px; background:#151515; cursor:pointer; }
.gallery-thumb[hidden] { display:none; }
.gallery-thumb[aria-current="true"] { border-color:#ff641f; box-shadow:0 0 0 2px rgba(255,100,31,.23); }
.gallery-thumb img { box-sizing:border-box; width:100%; height:100%; padding:0; object-fit:cover; }

.product-summary { position:sticky; top:120px; }
.product-summary h1 { font-size:clamp(1.92rem,4vw,3.84rem); }
.product-model-name { display:inline-flex; align-items:baseline; gap:3px; letter-spacing:-.04em; }
.product-summary-lead { margin:22px 0 0; color:#b7b7b7; font-size:1.04rem; line-height:1.7; }
.detail-tags { display:flex; flex-wrap:wrap; gap:8px; margin:22px 0; }
.detail-tags span { padding:8px 12px; border:1px solid rgba(255,255,255,.13); border-radius:999px; background:#141414; color:#ddd; font-size:.78rem; font-weight:800; }
.variant-picker { margin:26px 0; padding:18px 0; border-block:1px solid rgba(255,255,255,.12); }
.variant-picker > span { display:block; margin-bottom:12px; color:#aaa; font-size:.82rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.variant-options { display:flex; gap:10px; }
.variant-button { display:flex; min-height:46px; align-items:center; gap:9px; padding:0 16px; border:1px solid rgba(255,255,255,.18); border-radius:999px; background:#151515; color:#eee; font:inherit; font-weight:800; cursor:pointer; }
.variant-button[aria-pressed="true"] { border-color:#ff641f; background:#25201d; }
.variant-swatch { width:18px; height:18px; border:1px solid rgba(255,255,255,.35); border-radius:50%; background:#080808; }
.variant-swatch.white { background:#f5f5f2; }
.detail-price { margin:26px 0 20px; }
.detail-price small { display:block; margin-bottom:5px; color:#999; }
.detail-price strong { font-size:2rem; }
.detail-actions { display:flex; flex-wrap:wrap; gap:12px; }
.detail-buy { display:inline-flex; min-height:52px; align-items:center; justify-content:center; padding:0 24px; border-radius:999px; background:#ff641f; color:#090909; font-weight:900; text-decoration:none; }
.detail-back { display:inline-flex; min-height:52px; align-items:center; justify-content:center; padding:0 20px; border:1px solid rgba(255,255,255,.18); border-radius:999px; color:#eee; font-weight:800; text-decoration:none; }
.detail-note { margin:18px 0 0; color:#8f8f8f; font-size:.85rem; line-height:1.5; }

.product-information { padding:clamp(56px,8vw,100px) 0; border-top:1px solid rgba(255,255,255,.1); background:#0d0d0d; }
.product-information-grid { display:grid; grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr); gap:clamp(34px,7vw,90px); }
.product-information h2 { margin:0; font-size:clamp(2rem,4vw,3.4rem); line-height:1.02; }
.product-description p { margin:0 0 18px; color:#b6b6b6; line-height:1.75; }
.spec-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:30px 0 0; }
.spec-item { padding:16px; border:1px solid rgba(255,255,255,.1); border-radius:12px; background:#151515; }
.spec-item dt { color:#888; font-size:.76rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.spec-item dd { margin:7px 0 0; color:#f1f1f1; font-weight:800; line-height:1.35; }
.packaging-note { margin-top:26px; padding:18px; border-left:3px solid #ff641f; background:#151515; color:#b9b9b9; line-height:1.6; }

@media (max-width: 860px) {
  .audio-main,.product-detail-main { padding-top:16px; }
  .audio-group-heading,.product-information-grid { grid-template-columns:1fr; }
  .product-detail-layout { grid-template-columns:1fr; }
  .product-summary { position:static; }
}

@media (max-width: 620px) {
  .audio-container,.product-detail-container { width:min(100% - 28px,1180px); }
  .audio-filters { display:block; padding:20px 0 0; }
  .audio-filter-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .audio-filter { min-height:44px; padding:0 12px; border:1px solid rgba(255,255,255,.14); border-radius:999px; background:#141414; color:#aaa; font:inherit; font-size:.82rem; font-weight:850; cursor:pointer; }
  .audio-filter.active { border-color:#ff641f; background:rgba(255,100,31,.12); color:#fff; }
  .audio-group[hidden] { display:none; }
  .audio-product-grid { grid-template-columns:1fr; }
  .product-gallery-thumbs { grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
  .gallery-thumb { border-radius:9px; }
  .spec-list { grid-template-columns:1fr; }
  .detail-actions > * { width:100%; }
}

@media (prefers-reduced-motion: reduce) {
  .audio-product-card img { transition:none; }
}
