.page-products {
  --page-c-accent: var(--c-accent);
  --page-c-red: var(--c-red);
  --page-c-blue: var(--c-blue);
  --page-c-silver: var(--c-silver);
  --page-c-dark: var(--c-dark);
  --page-c-light: var(--c-light);
  --page-c-text: var(--c-text);
  --page-font-head: var(--font-head);
  --page-font-body: var(--font-body);
  --page-font-num: var(--font-num);
  --page-radius-lg: var(--radius-lg);
  --page-radius-xl: var(--radius-xl);
  --page-gap: var(--gap);
  --page-max-width: var(--max-width);
  --page-header-h: var(--header-h);

  display: block;
  font-family: var(--page-font-body);
  color: var(--page-c-text);
  background-color: var(--page-c-dark);
  overflow-x: hidden;
}

/* 面包屑 */
.page-products__breadcrumb {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--page-c-silver);
}
.page-products__breadcrumb-link {
  color: var(--page-c-blue);
  text-decoration: none;
  transition: color 0.2s;
}
.page-products__breadcrumb-link:hover {
  color: var(--page-c-red);
}
.page-products__breadcrumb-sep {
  color: var(--page-c-silver);
}
.page-products__breadcrumb [aria-current="page"] {
  font-weight: 700;
  color: var(--page-c-light);
}

/* 英雄区 */
.page-products__hero {
  position: relative;
  padding: 2rem 1.25rem;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--page-c-red) 0%, var(--page-c-blue) 100%);
}
.page-products__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.05) 20px,
    rgba(255,255,255,0.05) 40px
  );
  pointer-events: none;
}
.page-products__hero-brand {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid var(--page-c-light);
  margin-bottom: 1rem;
}
.page-products__hero-heading {
  font-family: var(--page-font-head);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--page-c-light);
  margin: 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.page-products__hero-desc {
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin: 0.75rem 0;
}
.page-products__hero-actions {
  margin-top: 1.25rem;
}
.page-products__hero-actions .btn-secondary {
  background: transparent;
  border: 2px solid var(--page-c-light);
  color: var(--page-c-light);
  padding: 0.6rem 1.8rem;
  border-radius: var(--page-radius-xl);
  font-family: var(--page-font-head);
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.2s;
}
.page-products__hero-actions .btn-secondary:hover {
  background: var(--page-c-light);
  color: var(--page-c-red);
}

/* 卡片网格区 */
.page-products__entry-cards {
  padding: 3rem 1.25rem;
}
.page-products__cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--page-gap);
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .page-products__cards-grid {
    grid-template-columns: 1fr 1fr 0.5fr;
    align-items: start;
  }
}
.page-products__card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border-radius: var(--page-radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.page-products__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.page-products__card-img {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin: 0 auto 1rem;
  display: block;
  border-radius: var(--page-radius-xl);
  object-fit: contain;
}
.page-products__card-title {
  font-family: var(--page-font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--page-c-light);
  margin: 0.5rem 0;
}
.page-products__card-brief {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--page-c-silver);
  margin-bottom: 1rem;
}
.page-products__card-detail[data-expand-target] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
.page-products__card-detail[data-expand-target][data-open] {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  margin-bottom: 0.75rem;
}
.page-products__card-toggle {
  background: var(--page-c-red);
  border: none;
  color: var(--page-c-light);
  padding: 0.6rem 1.8rem;
  border-radius: var(--page-radius-xl);
  font-family: var(--page-font-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.page-products__card-toggle:hover {
  background: #c62828;
  transform: scale(1.02);
}
.page-products__card-toggle:active {
  transform: scale(0.97);
}
.page-products__card-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}
.page-products__decor-arrow {
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 0.6;
}
@media (min-width: 768px) {
  .page-products__decor-arrow {
    width: 150px;
    height: 150px;
  }
}

/* 修复说明区 */
.page-products__fix-section {
  position: relative;
  margin: 2rem 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: var(--page-radius-xl);
  overflow: hidden;
  padding: 2rem 1.25rem;
}
.page-products__fix-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.25;
}
.page-products__fix-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-products__fix-content {
  position: relative;
  z-index: 1;
}
.page-products__fix-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.page-products__fix-list li {
  padding: 0.5rem 0 0.5rem 2rem;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%2343A047' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") left center no-repeat;
  background-size: 1.2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-c-text);
}
.page-products__fix-list li::before {
  content: '';
  display: inline-block;
  width: 1.2rem;
  margin-right: 0.5rem;
}
.page-products__fix-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--page-c-silver);
}
.page-products__fix-link {
  color: var(--page-c-blue);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
.page-products__fix-link:hover {
  color: var(--page-c-red);
}

/* 提示区 */
.page-products__reminder {
  padding: 2rem 1.25rem 4rem;
}
.page-products__reminder-box {
  background: rgba(255,87,34,0.1);
  border-left: 6px solid var(--page-c-accent);
  border-radius: var(--page-radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.page-products__reminder-box p {
  margin: 0.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-c-text);
}
.page-products__reminder-link {
  color: var(--page-c-accent);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
.page-products__reminder-link:hover {
  color: var(--page-c-red);
}

/* 共享工具类覆盖 */
.page-products .container {
  max-width: var(--page-max-width);
  margin-left: auto;
  margin-right: auto;
}
.page-products .btn-primary {
  background: var(--page-c-red);
  border: none;
  color: var(--page-c-light);
  padding: 0.6rem 1.8rem;
  border-radius: var(--page-radius-xl);
  font-family: var(--page-font-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.page-products .btn-primary:hover {
  background: #c62828;
  transform: scale(1.02);
}
.page-products .btn-primary:active {
  transform: scale(0.97);
}
.page-products .section-title {
  font-family: var(--page-font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--page-c-light);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.page-products .badge {
  display: inline-block;
  background: var(--page-c-red);
  color: var(--page-c-light);
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}
.page-products .badge-blue {
  background: var(--page-c-blue);
}

/* 移动端适配 */
@media (max-width: 767px) {
  .page-products__hero {
    padding: 1.5rem 1rem;
    min-height: 280px;
  }
  .page-products__hero-heading {
    font-size: 1.8rem;
  }
  .page-products__hero-desc {
    font-size: 0.95rem;
  }
  .page-products__hero-brand {
    width: 60px;
    height: 60px;
  }
  .page-products__cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .page-products__card-img {
    max-width: 160px;
  }
  .page-products__fix-section {
    padding: 1.5rem 1rem;
  }
  .page-products__fix-list li {
    font-size: 0.9rem;
    padding-left: 1.5rem;
  }
  .page-products__reminder {
    padding: 1.5rem 1rem 3rem;
  }
  .page-products .section-title {
    font-size: 1.5rem;
  }
}
