:root { --detail-red: #bb2027; --detail-ink: #171717; --detail-muted: #777; --detail-line: #e5e3df; --detail-warm: #f6f5f2; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--detail-ink); font-family: 'Microsoft Yahei','PingFang SC',sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--detail-red); outline-offset: 4px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.detail-container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.detail-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--detail-line); background: rgba(255,255,255,.97); }
.detail-header-inner { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.detail-brand { display: flex; align-items: center; gap: 16px; }
.detail-brand img { width: 62px; height: 62px; object-fit: contain; }
.detail-brand strong { display: block; font: 600 21px 'STSong','SimSun',serif; letter-spacing: .12em; }
.detail-brand small { display: block; margin-top: 7px; font: 8px Arial,sans-serif; letter-spacing: .18em; color: #888; }
.detail-top-nav { display: flex; gap: 30px; font-size: 12px; }
.detail-top-nav a:hover, .breadcrumb a:hover { color: var(--detail-red); }
.detail-top-nav .is-current { color: var(--detail-red); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; padding-block: 29px; font-size: 11px; color: #888; }
.breadcrumb span[aria-hidden] { color: #bbb; }
.product-detail-hero { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); grid-template-areas: "photo summary" "caption ." "thumbnails ."; column-gap: 64px; row-gap: 0; align-items: start; padding-bottom: 54px; }
.product-gallery { display: contents; }
.gallery-stage { grid-area: photo; position: relative; background: var(--detail-warm); }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery-open img { display: block; width: 100%; height: auto; }
.gallery-zoom { position: absolute; pointer-events: none; right: 18px; bottom: 18px; padding: 10px 13px; background: #fff; color: #333; font-size: 10px; letter-spacing: .04em; }
.gallery-meta { grid-area: caption; display: flex; justify-content: space-between; gap: 12px; margin: 15px 0 20px; color: #888; font-size: 10px; letter-spacing: .1em; }
.gallery-strip { grid-area: thumbnails; display: flex; align-items: center; gap: 18px; }
.gallery-thumbnails { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-thumbnail { padding: 3px; width: 76px; height: 64px; border: 1px solid #dedbd5; background: #fff; }
.gallery-thumbnail.is-active { border-color: var(--detail-red); }
.gallery-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-pending { margin: 0; color: #999; font-size: 11px; line-height: 1.8; }
.gallery-pending small { display: block; margin-top: 3px; font: 8px Arial,sans-serif; letter-spacing: .12em; }
.detail-eyebrow { color: var(--detail-red); margin: 8px 0 20px; font: 600 10px Arial,sans-serif; letter-spacing: .19em; }
.product-summary-panel { grid-area: summary; align-self: stretch; display: flex; flex-direction: column; min-width: 0; }
.product-summary-panel h1 { margin: 0 0 13px; font: 500 clamp(38px,3.8vw,54px)/1.3 'STSong','SimSun',serif; }
.detail-english { color: #888; margin: 0 0 30px; font: 10px Arial,sans-serif; letter-spacing: .16em; }
.detail-summary { color: #666; font-size: 14px; line-height: 2; margin: 0 0 28px; }
.detail-status { border-block: 1px solid var(--detail-line); padding: 19px 0; margin-bottom: 26px; color: #777; font-size: 12px; line-height: 1.9; }
.detail-status strong { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 500; color: #333; }
.detail-status p { margin: 0; }
.detail-actions { display: flex; flex-direction: column; gap: 17px; margin-top: auto; }
.inquiry-link { display: flex; align-items: center; justify-content: space-between; padding: 19px 21px; background: var(--detail-red); color: #fff; font-size: 13px; }
.inquiry-link small { margin-left: 12px; font: 8px Arial,sans-serif; letter-spacing: .1em; opacity: .8; }
.inquiry-link:hover { background: #a31922; }
.back-link { align-self: flex-start; padding-bottom: 5px; border-bottom: 1px solid #bcbab5; color: #666; font-size: 11px; }
.detail-section-nav { position: sticky; top: 90px; z-index: 10; border-block: 1px solid var(--detail-line); background: #fff; }
.detail-section-nav > div { display: flex; gap: 44px; }
.detail-section-nav a { display: inline-flex; gap: 10px; align-items: center; padding: 24px 0; font-size: 12px; }
.detail-section-nav a:first-child { color: var(--detail-red); }
.detail-section-nav small { font: 8px Arial,sans-serif; letter-spacing: .1em; color: #999; }
.detail-section { display: grid; grid-template-columns: 30% minmax(0,1fr); gap: 44px; padding-block: 68px; border-bottom: 1px solid var(--detail-line); scroll-margin-top: 74px; }
.detail-section h2, .related-heading h2 { margin: 0; font: 500 30px 'STSong','SimSun',serif; }
.detail-section .detail-eyebrow { margin-top: 0; margin-bottom: 13px; }
.detail-body p { color: #777; font-size: 13px; line-height: 2; margin: 0 0 18px; }
.details-pending { border: 1px dashed #d5d2cc; background: #faf9f7; margin-top: 25px; padding: 30px; }
.details-pending strong { display: block; color: #555; font-size: 12px; font-weight: 500; }
.details-pending small { display: block; margin: 9px 0 15px; font: 8px Arial,sans-serif; letter-spacing: .12em; color: #999; }
.details-pending p { margin: 0; font-size: 12px; }
.product-detail-image { margin: 28px 0; }
.product-detail-image img { display: block; width: 100%; height: auto; }
.product-detail-image figcaption { padding-top: 12px; font-size: 11px; color: #888; }
.specifications { margin: 0; }
.specification-row { display: grid; grid-template-columns: 40% 60%; border-bottom: 1px solid var(--detail-line); padding: 17px 0; font-size: 12px; }
.specification-row:first-child { padding-top: 0; }
.specification-row dt { color: #777; }
.specification-row dd { margin: 0; color: #444; }
.related-section { padding: 70px 0 80px; }
.related-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.related-heading a { font-size: 11px; border-bottom: 1px solid #ccc; padding-bottom: 5px; }
.related-products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.related-card { display: grid; grid-template-columns: 46% 54%; border: 1px solid var(--detail-line); }
.related-card img { width: 100%; height: 200px; object-fit: cover; }
.related-copy { align-self: center; padding: 24px; }
.related-copy small { color: var(--detail-red); font: 8px Arial,sans-serif; letter-spacing: .12em; }
.related-copy h3 { font: 500 25px 'STSong','SimSun',serif; margin: 13px 0 23px; }
.related-copy > span { font-size: 11px; color: #888; }
.related-card:hover { border-color: var(--detail-red); }
.detail-footer { background: #171717; color: #aaa; padding: 30px 0; font-size: 10px; }
.detail-footer > div { display: flex; justify-content: space-between; gap: 18px; }
.detail-footer strong { color: #ddd; font-weight: 400; }
.image-viewer { border: 0; padding: 0; background: #111; color: #fff; width: min(1150px,96vw); max-width: 96vw; max-height: 94dvh; }
.image-viewer::backdrop { background: rgba(0,0,0,.86); }
.viewer-body { padding: 52px 24px 20px; }
.viewer-close { position: absolute; top: 11px; right: 15px; background: transparent; border: 0; color: #fff; padding: 9px; font-size: 12px; }
.viewer-image { display: block; margin: auto; max-width: 100%; max-height: 70dvh; object-fit: contain; }
.viewer-footer { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 18px; }
.viewer-footer p { margin: 0; font-size: 11px; color: #bbb; }
.viewer-step { background: #252525; border: 1px solid #555; color: #fff; padding: 8px 15px; }
@media (max-width: 1150px) {
  .product-detail-hero { grid-template-columns: 1fr; grid-template-areas: "photo" "caption" "thumbnails" "summary"; row-gap: 0; }
  .product-summary-panel { margin-top: 32px; }
  .detail-actions { margin-top: 0; }
}
@media (max-width: 1000px) {
  .inquiry-link small { display: none; }
  .detail-section { grid-template-columns: 26% minmax(0,1fr); gap: 28px; }
  .related-copy { padding: 18px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 65px; }
  .detail-container { width: calc(100% - 36px); }
  .detail-header-inner { min-height: 65px; gap: 12px; }
  .detail-brand { gap: 9px; }
  .detail-brand img { width: 43px; height: 43px; }
  .detail-brand strong { font-size: 17px; }
  .detail-brand small { display: none; }
  .detail-top-nav { gap: 18px; font-size: 11px; }
  .detail-top-nav a:first-child { display: none; }
  .breadcrumb { padding-block: 22px; font-size: 10px; gap: 9px; }
  .product-detail-hero { padding-bottom: 38px; }
  .gallery-thumbnail { width: 65px; height: 55px; }
  .detail-eyebrow { margin-top: 0; }
  .product-summary-panel h1 { font-size: 38px; }
  .detail-english { margin-bottom: 22px; }
  .detail-summary { font-size: 13px; }
  .inquiry-link small { display: inline; }
  .detail-section-nav { top: 65px; }
  .detail-section-nav > div { justify-content: space-between; gap: 12px; }
  .detail-section-nav a { padding: 19px 0; font-size: 11px; }
  .detail-section-nav small { display: none; }
  .detail-section { grid-template-columns: 1fr; gap: 25px; padding-block: 42px; scroll-margin-top: 60px; }
  .detail-section h2, .related-heading h2 { font-size: 27px; }
  .details-pending { padding: 23px; }
  .related-section { padding-block: 44px; }
  .related-products { grid-template-columns: 1fr; gap: 16px; }
  .related-card img { height: 160px; }
  .related-copy h3 { font-size: 23px; }
  .related-heading { gap: 12px; }
  .detail-footer > div { flex-direction: column; line-height: 1.8; }
  .viewer-body { padding: 50px 12px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Keep gallery controls comfortable to use on touch screens. */
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(187, 32, 39, .14); }
.image-viewer { overscroll-behavior: contain; }
.viewer-close, .viewer-step { min-width: 44px; min-height: 44px; }
.gallery-thumbnail { min-width: 76px; min-height: 64px; }
.detail-top-nav a, .breadcrumb a, .back-link, .related-heading a { display: inline-flex; align-items: center; min-height: 44px; }
.related-card:active { background: #f6f5f2; }
.detail-skip { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 10px 16px; color: #fff; background: var(--detail-red); transform: translateY(-160%); }
.detail-skip:focus { transform: none; }
.product-summary-panel, .detail-body, .related-copy { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .gallery-thumbnail { min-width: 65px; min-height: 55px; }
}
