:root {
  --hlpm-page: #1b1b1f;
  --hlpm-card: #25252b;
  --hlpm-card-raised: #2c2c33;
  --hlpm-title: #ffffff;
  --hlpm-text: #b0b0b8;
  --hlpm-soft: #8f8f99;
  --hlpm-line: #3b3b43;
  --hlpm-accent: #1f5a4a;
  --hlpm-accent-hover: #2a7a63;
  --hlpm-warning: #d3a842;
  --hlpm-radius: 10px;
}

.single-hl_product,
.single-hl_product .hl-page,
.single-hl_product .site-main,
.post-type-archive-hl_product { background: var(--hlpm-page); }
.single-hl_product .hl-page > .hl-shell > article > h1 { display: none; }
.single-hl_product .hl-page > .hl-shell { max-width: none; padding: 0; }
.single-hl_product article { margin: 0; background: transparent; }

.hlpm-product {
  max-width: 1280px;
  margin: 0 auto;
  padding: 38px 24px 84px;
  color: var(--hlpm-text);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}

.hlpm-back-nav { margin: 0 0 18px; }
.hlpm-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--hlpm-line);
  border-radius: var(--hlpm-radius);
  background: var(--hlpm-card);
  color: var(--hlpm-title);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.hlpm-back-link:hover,
.hlpm-back-link:focus-visible {
  border-color: var(--hlpm-accent-hover);
  background: var(--hlpm-accent-hover);
  color: var(--hlpm-title);
  outline: none;
}
.hlpm-back-link:focus-visible { box-shadow: 0 0 0 3px rgba(42, 122, 99, .35); }
.hlpm-back-link:active { transform: translateY(1px); }
.hlpm-back-arrow { font-size: 20px; line-height: 1; }

.hlpm-review-note {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-left: 4px solid var(--hlpm-warning);
  border-radius: 0 var(--hlpm-radius) var(--hlpm-radius) 0;
  background: #302b20;
  color: #e7d6a9;
  line-height: 1.65;
}

.hlpm-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--hlpm-line);
  border-radius: var(--hlpm-radius);
  background: var(--hlpm-card);
}

.hlpm-hero-media {
  min-width: 0;
  padding: 18px;
  background: #202025;
}

.hlpm-product-gallery { height: 100%; }
.hlpm-main-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
  overflow: hidden;
  border-radius: calc(var(--hlpm-radius) - 2px);
  background: #eeeeee;
}
.hlpm-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0 0 4px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  background: rgba(27, 27, 31, .78);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.hlpm-gallery-prev { left: 14px; }
.hlpm-gallery-next { right: 14px; }
.hlpm-gallery-nav:hover,
.hlpm-gallery-nav:focus-visible { background: var(--hlpm-accent-hover); outline: none; }
.hlpm-main-image img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: contain;
}

.hlpm-image-note {
  margin: 12px 2px 0;
  color: #b0b0b8;
  font-size: 13px;
  line-height: 1.65;
}

.hlpm-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 500px;
  padding: 24px;
  border-radius: calc(var(--hlpm-radius) - 2px);
  background: #303037;
  color: var(--hlpm-text);
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}

.hlpm-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 46px;
}
.hlpm-brand {
  margin: 0 0 13px;
  color: #70aa99;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hlpm-product-hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--hlpm-title);
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.hlpm-summary {
  max-width: 54ch;
  margin: 22px 0 0;
  color: var(--hlpm-text);
  font-size: 17px;
  line-height: 1.72;
}

.hlpm-key-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.hlpm-key-facts div {
  min-width: 0;
  padding: 15px;
  border-radius: 8px;
  background: #303037;
}
.hlpm-key-facts span,
.hlpm-spec-item dt {
  display: block;
  margin-bottom: 6px;
  color: var(--hlpm-soft);
  font-size: 13px;
  font-weight: 700;
}
.hlpm-key-facts strong {
  display: block;
  color: var(--hlpm-title);
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hlpm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hlpm-wa,
.hlpm-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.hlpm-wa { background: var(--hlpm-accent); color: #ffffff !important; }
.hlpm-wa:hover,
.hlpm-wa:focus-visible { background: var(--hlpm-accent-hover); color: #ffffff !important; }
.hlpm-secondary-action { border-color: #575760; color: #ffffff !important; background: transparent; }
.hlpm-secondary-action:hover,
.hlpm-secondary-action:focus-visible { border-color: #7a7a84; background: #303037; }

.hlpm-highlight-section,
.hlpm-pain-points,
.hlpm-specifications,
.hlpm-detail-grid,
.hlpm-description,
.hlpm-faq,
.hlpm-related,
.hlpm-inquiry { margin-top: 70px; }
.hlpm-product h2 {
  margin: 0 0 24px;
  color: var(--hlpm-title);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
}

.hlpm-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hlpm-highlights li {
  padding: 20px 22px;
  border-left: 4px solid var(--hlpm-accent-hover);
  border-radius: 0 8px 8px 0;
  background: var(--hlpm-card);
  color: #d6d6dc;
  font-size: 16px;
  line-height: 1.62;
}

.hlpm-section-kicker {
  margin: 0 0 18px;
  color: #70aa99;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hlpm-pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hlpm-pain-grid article {
  padding: 28px;
  border: 1px solid var(--hlpm-line);
  border-radius: var(--hlpm-radius);
  background: var(--hlpm-card);
}
.hlpm-pain-grid h2 { margin-bottom: 14px; font-size: clamp(23px, 2.2vw, 30px); }
.hlpm-pain-grid p { margin: 0; color: var(--hlpm-text); font-size: 16px; line-height: 1.76; }

.hlpm-spec-groups { display: grid; gap: 12px; }
.hlpm-spec-group {
  overflow: hidden;
  border: 1px solid var(--hlpm-line);
  border-radius: var(--hlpm-radius);
  background: var(--hlpm-card);
}
.hlpm-spec-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 24px;
  color: var(--hlpm-title);
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.hlpm-spec-group summary::-webkit-details-marker { display: none; }
.hlpm-summary-icon {
  flex: 0 0 auto;
  color: #7db7a6;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}
.hlpm-spec-group[open] .hlpm-summary-icon { transform: rotate(45deg); }
.hlpm-spec-group dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 0;
  padding: 0 24px 22px;
}
.hlpm-spec-item {
  min-width: 0;
  padding: 15px 0;
  border-top: 1px solid var(--hlpm-line);
}
.hlpm-spec-item dd {
  margin: 0;
  color: #e2e2e7;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.hlpm-detail-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 16px;
}
.hlpm-detail-grid section {
  padding: 30px;
  border-radius: var(--hlpm-radius);
  background: var(--hlpm-card);
}
.hlpm-detail-grid section:first-child { border-left: 4px solid var(--hlpm-accent-hover); }
.hlpm-detail-grid p,
.hlpm-description {
  color: var(--hlpm-text);
  font-size: 16px;
  line-height: 1.78;
}

.hlpm-faq-list { display: grid; gap: 10px; }
.hlpm-faq details {
  overflow: hidden;
  border: 1px solid var(--hlpm-line);
  border-radius: var(--hlpm-radius);
  background: var(--hlpm-card);
}
.hlpm-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: var(--hlpm-title);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.hlpm-faq summary::-webkit-details-marker { display: none; }
.hlpm-faq summary span:last-child { color: #7db7a6; font-size: 24px; font-weight: 400; }
.hlpm-faq details[open] summary span:last-child { transform: rotate(45deg); }
.hlpm-faq details p { margin: 0; padding: 0 22px 22px; color: var(--hlpm-text); font-size: 16px; line-height: 1.75; }
.hlpm-related ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hlpm-related a { display: block; padding: 17px 20px; border-left: 4px solid var(--hlpm-accent-hover); border-radius: 0 8px 8px 0; background: var(--hlpm-card); color: #ffffff; font-weight: 700; text-decoration: none; }
.hlpm-related a:hover,.hlpm-related a:focus-visible { background: var(--hlpm-card-raised); color: #ffffff; }

.hlpm-inquiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 34px;
  border-radius: var(--hlpm-radius);
  background: var(--hlpm-card-raised);
}
.hlpm-inquiry h2 { margin-bottom: 10px; font-size: clamp(26px, 3vw, 36px); }
.hlpm-inquiry p { max-width: 68ch; margin: 0; color: var(--hlpm-text); line-height: 1.7; }
.hlpm-inquiry .hlpm-wa { flex: 0 0 auto; }

.hlpm-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.hlpm-product-grid article {
  overflow: hidden;
  border: 1px solid var(--hlpm-line);
  border-radius: var(--hlpm-radius);
  background: var(--hlpm-card);
}
.hlpm-product-grid a { color: inherit; text-decoration: none; }
.hlpm-product-grid img { display: block; width: 100%; height: 300px; object-fit: cover; }
.hlpm-product-grid h3 { padding: 0 22px 22px; color: var(--hlpm-title); }

@media (max-width: 1020px) {
  .hlpm-product-hero { grid-template-columns: 1fr; min-height: 0; }
  .hlpm-hero-copy { padding: 42px 34px; }
  .hlpm-main-image,
  .hlpm-main-image img { height: auto; min-height: 0; max-height: 620px; }
  .hlpm-main-image img { aspect-ratio: 16 / 10; }
}

@media (max-width: 767px) {
  .hlpm-product { padding: 20px 16px 58px; }
  .hlpm-back-nav { margin-bottom: 14px; }
  .hlpm-back-link { width: 100%; justify-content: flex-start; }
  .hlpm-hero-media { padding: 10px; }
  .hlpm-main-image img { aspect-ratio: 4 / 3; }
  .hlpm-gallery-nav { width: 42px; height: 42px; font-size: 30px; }
  .hlpm-gallery-prev { left: 8px; }
  .hlpm-gallery-next { right: 8px; }
  .hlpm-hero-copy { padding: 30px 22px 34px; }
  .hlpm-product-hero h1 { font-size: 36px; }
  .hlpm-summary { font-size: 16px; }
  .hlpm-key-facts,
  .hlpm-highlights,
  .hlpm-pain-grid,
  .hlpm-spec-group dl,
  .hlpm-detail-grid,
  .hlpm-product-grid { grid-template-columns: 1fr; }
  .hlpm-highlight-section,
  .hlpm-pain-points,
  .hlpm-specifications,
  .hlpm-detail-grid,
  .hlpm-description,
  .hlpm-faq,
  .hlpm-related,
  .hlpm-inquiry { margin-top: 48px; }
  .hlpm-highlights li { padding: 17px 18px; }
  .hlpm-spec-group summary { padding: 19px 18px; }
  .hlpm-spec-group dl { padding: 0 18px 16px; }
  .hlpm-detail-grid section { padding: 24px 22px; }
  .hlpm-pain-grid article { padding: 24px 22px; }
  .hlpm-inquiry { align-items: stretch; flex-direction: column; padding: 26px 22px; }
  .hlpm-inquiry .hlpm-wa { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hlpm-summary-icon { transition: none; }
}
