/* Product detail pages: reference-style layout using the site's existing green theme. */
.product-detail { width: 1200px; max-width: calc(100% - 80px); margin: 0 auto 56px; color: #333; }
.product-detail *, .product-detail *:before, .product-detail *:after { box-sizing: border-box; }
.product-detail__hero { display: grid; grid-template-columns: 430px minmax(0, 1fr); gap: 42px; padding: 24px; background: #fff; border: 1px solid #e3e3e3; }
.product-gallery { min-width: 0; }
.product-gallery__stage { position: relative; display: flex; align-items: center; justify-content: center; height: 350px; overflow: hidden; border: 1px solid #d8e8e4; background: #fff; }
.product-gallery__stage img { display: none; max-width: 100%; max-height: 100%; object-fit: contain; }
.product-gallery__stage img:first-child, .product-gallery__stage img.is-active { display: block; }
.product-gallery--empty .product-gallery__stage:after { content: '暂无产品图片'; color: #9a9a9a; font-size: 15px; }
.product-gallery__control { position: absolute; top: 50%; z-index: 1; width: 34px; height: 42px; margin-top: -21px; border: 0; color: #fff; background: rgba(0, 204, 153, .78); cursor: pointer; font-size: 24px; line-height: 40px; }
.product-gallery__control:hover { background: #00cc99; }
.product-gallery__control--prev { left: 0; }
.product-gallery__control--next { right: 0; }
.product-gallery__control[hidden] { display: none; }
.product-gallery__thumbs { display: flex; gap: 8px; margin: 12px 0 0; padding: 0; overflow-x: auto; list-style: none; }
.product-gallery__thumbs li { flex: 0 0 66px; height: 66px; padding: 2px; border: 1px solid #d8e8e4; cursor: pointer; background: #fff; }
.product-gallery__thumbs li.is-active { border: 2px solid #00cc99; }
.product-gallery__thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-summary { min-width: 0; padding-top: 2px; }
.product-summary__title { margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid #d9d9d9; color: #222; text-align: center; font-size: 25px; line-height: 1.38; font-weight: 700; }
.product-summary__meta { margin: 0; }
.product-summary__meta-row { display: flex; gap: 14px; min-height: 36px; padding: 7px 0; border-bottom: 1px dashed #e4e4e4; font-size: 15px; line-height: 22px; }
.product-summary__meta-row dt { display: flex; flex: 0 0 86px; align-items: center; justify-content: center; color: #777; text-align: center; }
.product-summary__meta-row dd { min-width: 0; margin: 0; color: #333; }
.product-summary__meta-row--price dd { color: #00a97f; font-size: 24px; line-height: 26px; font-weight: 700; }
.product-specification__values { display: flex; flex-wrap: wrap; gap: 8px; }
.product-specification__option { min-width: 58px; padding: 5px 11px; border: 1px solid #b9ded4; color: #257f6a; background: #fff; cursor: pointer; font-size: 14px; line-height: 20px; }
.product-specification__option:hover, .product-specification__option.is-active { border-color: #00cc99; color: #fff; background: #00cc99; }
.product-summary__actions { display: flex; justify-content: flex-end; margin-top: 26px; }
.product-summary__button { display: inline-flex; align-items: center; justify-content: center; min-width: 132px; min-height: 38px; padding: 8px 18px; border-radius: 19px; color: #fff !important; background: #00cc99; text-decoration: none; font-size: 15px; transition: background .2s ease, transform .2s ease; }
.product-summary__button:hover { background: #00aa80; transform: translateY(-1px); }
.product-tabs { margin-top: 20px; background: #fff; border: 1px solid #d8e8e4; }
.product-tabs__nav { display: flex; margin: 0; padding: 0 18px; overflow-x: auto; border-bottom: 1px solid #00cc99; list-style: none; }
.product-tabs__tab { flex: 0 0 auto; margin: 0 6px 0 0; padding: 13px 26px; border: 0; color: #168c70; background: #eefaf6; cursor: pointer; font-size: 15px; }
.product-tabs__tab:hover, .product-tabs__tab.is-active { color: #fff; background: #00cc99; }
.product-tabs__panel { display: none; padding: 28px 32px 34px; overflow: hidden; font-size: 15px; line-height: 1.9; }
.product-tabs__panel.is-active { display: block; }
.product-tabs__panel img { max-width: 100% !important; height: auto !important; }
.product-tabs__panel--map { text-align: center; }
.product-tabs__panel--map img { display: block; margin: 0 auto; }
.product-tabs__panel table { width: 100% !important; max-width: 100%; border-collapse: collapse; }
.product-tabs__panel th, .product-tabs__panel td { padding: 9px 12px; border: 1px solid #d9d9d9; word-break: break-word; }
.product-tabs__panel a { color: #00a97f; }
.product-spec-table { width: 100%; border-collapse: collapse; }
.product-spec-table th, .product-spec-table td { padding: 11px 14px; border: 1px solid #d9d9d9; text-align: left; vertical-align: top; }
.product-spec-table th { width: 160px; color: #555; background: #f5fbf9; font-weight: 600; }
.product-detail__empty { color: #999; }
.product-resource { display: flex; align-items: center; gap: 16px; max-width: 760px; padding: 18px 20px; border: 1px solid #d8e8e4; border-radius: 3px; background: #fbfefd; }
.product-resource__icon { display: flex; flex: 0 0 48px; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: #00b88b; font-size: 13px; }
.product-resource__content { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
.product-resource__content strong { color: #333; font-size: 16px; }
.product-resource__content span { color: #888; font-size: 14px; }
.product-resource__button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 34px; padding: 7px 15px; border-radius: 3px; color: #fff !important; background: #00b88b; text-decoration: none; font-size: 14px; }
.product-resource__button:hover { background: #009b75; }
.product-rich-content { max-width: 900px; }
.product-rich-content p { margin: 0 0 12px; }
.product-rich-content a { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border: 1px solid #b9ded4; border-radius: 3px; color: #168c70; background: #fbfefd; text-decoration: none; }
.product-rich-content a:hover { border-color: #00b88b; color: #fff; background: #00b88b; }
.product-file-list { max-width: 900px; margin: 0; padding: 0; list-style: none; }
.product-file-list li { margin: 0 0 10px; }
.product-file-list a { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border: 1px solid #b9ded4; border-radius: 3px; color: #168c70; background: #fbfefd; text-decoration: none; }
.product-file-list a:hover { border-color: #00b88b; color: #fff; background: #00b88b; }
.product-faq { max-width: 860px; }
.product-faq__toolbar { padding: 9px; border: 1px solid #d9d9d9; background: #fff; box-shadow: 0 2px 0 #e7e7e7; }
.product-faq__ask { min-width: 100px; min-height: 30px; padding: 5px 16px; border: 0; color: #333; background: #f0f0f0; cursor: pointer; font-size: 14px; }
.product-faq__ask:hover { color: #fff; background: #00b88b; }
.product-faq__form-wrap { margin-top: 12px; border: 1px solid #d9d9d9; background: #fff; }
.product-faq__form-wrap h2 { margin: 0; padding: 8px 12px; border-bottom: 1px solid #d9d9d9; color: #333; background: #f3f3f3; font-size: 15px; line-height: 1.4; }
.product-faq__form { padding: 12px 10px 10px; }
.product-faq__question-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.product-faq__form textarea { display: block; width: 100%; min-height: 146px; margin: 0 0 14px; padding: 9px; border: 2px solid #222; border-radius: 4px; color: #333; font: inherit; line-height: 1.6; resize: vertical; }
.product-faq__field { display: flex; align-items: center; min-height: 34px; margin: 4px 0; color: #333; font-size: 14px; }
.product-faq__field label { flex: 0 0 90px; text-align: right; }
.product-faq__field input { width: 205px; height: 28px; padding: 3px 7px; border: 1px solid #d9d9d9; color: #333; font: inherit; }
.product-faq__field span { margin-left: 6px; color: #555; }
.product-faq__captcha { width: 74px; height: 28px; margin-left: 6px; border: 0; cursor: pointer; vertical-align: middle; }
.product-faq__refresh { margin-left: 5px; padding: 0; border: 0; color: #333; background: transparent; cursor: pointer; font: inherit; }
.product-faq__refresh:hover { color: #00a97f; text-decoration: underline; }
.product-faq__submit-row { display: flex; align-items: center; min-height: 36px; padding-left: 90px; }
.product-faq__submit { min-width: 100px; min-height: 28px; border: 1px solid #d9d9d9; color: #333; background: #f0f0f0; cursor: pointer; font: inherit; }
.product-faq__submit:hover { color: #fff; border-color: #00b88b; background: #00b88b; }
.product-faq__submit[disabled] { color: #999; background: #eee; cursor: wait; }
.product-faq__status { margin-left: 10px; color: #777; font-size: 14px; }
.product-faq__status.is-error { color: #d9534f; }
.product-faq__status.is-success { color: #00a97f; }
.product-faq__list { padding-top: 18px; }
.product-faq__list > * { margin: 0 0 14px; }
.product-faq__list h1, .product-faq__list h2, .product-faq__list h3 { position: relative; padding: 10px 14px 10px 42px; border: 1px solid #d8e8e4; border-radius: 3px; color: #333; background: #fbfefd; font-size: 15px; line-height: 1.6; }
.product-faq__list h1:before, .product-faq__list h2:before, .product-faq__list h3:before { content: 'Q'; position: absolute; top: 11px; left: 12px; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: #00b88b; font-size: 12px; }
.product-faq__list h1 + p, .product-faq__list h2 + p, .product-faq__list h3 + p { position: relative; padding: 0 14px 0 42px; color: #666; }
.product-faq__list h1 + p:before, .product-faq__list h2 + p:before, .product-faq__list h3 + p:before { content: 'A'; position: absolute; top: 3px; left: 12px; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; color: #00a97f; background: #e8f8f3; font-size: 12px; font-weight: 700; }
.product-faq__empty { padding: 34px 20px 12px; color: #888; text-align: center; }
.product-faq__empty p { margin: 10px 0 2px; color: #666; }
.product-faq__empty small { color: #aaa; }
.product-faq__badge { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: #00a97f; background: #e8f8f3; font-size: 17px; font-weight: 700; }
@media screen and (max-width: 900px) {
  .product-detail { max-width: calc(100% - 40px); margin-top: 18px; }
  .product-detail__hero { grid-template-columns: 1fr; gap: 24px; padding: 18px; }
  .product-gallery { width: min(430px, 100%); margin: 0 auto; }
  .product-summary__actions { justify-content: flex-start; }
}
@media screen and (max-width: 560px) {
  .product-detail { max-width: calc(100% - 24px); }
  .product-detail__hero { padding: 12px; }
  .product-gallery__stage { height: 270px; }
  .product-summary__title { font-size: 20px; }
  .product-summary__meta-row { gap: 8px; font-size: 14px; }
  .product-summary__meta-row dt { flex-basis: 72px; }
  .product-tabs__nav { padding: 0 8px; }
  .product-tabs__tab { padding: 11px 15px; font-size: 14px; }
  .product-tabs__panel { padding: 20px 14px 26px; font-size: 14px; }
  .product-spec-table th, .product-spec-table td { padding: 8px; }
  .product-resource { align-items: flex-start; flex-wrap: wrap; gap: 12px; padding: 14px; }
  .product-resource__content { flex-basis: calc(100% - 62px); }
  .product-resource__button { margin-left: 60px; }
  .product-faq__form { padding: 10px; }
  .product-faq__field { flex-wrap: wrap; }
  .product-faq__field label { flex-basis: 78px; }
  .product-faq__field input { width: calc(100% - 78px); }
  .product-faq__field span { width: 100%; margin: 3px 0 0 78px; }
  .product-faq__captcha { margin-left: 78px; }
  .product-faq__refresh { margin-top: 4px; }
  .product-faq__submit-row { padding-left: 78px; }
}
