/* Bomrobot — Product pages */

.bomrobot-product {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
}

.bomrobot-product img {
  max-width: 100%;
  height: auto;
  display: block;
}

.bomrobot-product .prod-card__img img,
.bomrobot-product .prod-gallery__main img {
  max-width: 100%;
}

.bomrobot-product .row2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.bomrobot-product .row3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.bomrobot-product .section-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Page header */
.prod-page-header {
  background: linear-gradient(180deg, #f3f3f3 0%, #f7f7f7 100%);
  border-bottom: 1px solid #e0e0e0;
  padding: 32px 0 40px;
}

.prod-page-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1565c0;
  margin-top: 16px;
}

.prod-page-header h1 {
  font-size: clamp(30px, 4.2vw, 42px);
  font-weight: 700;
  margin: 10px 0 0;
  color: #1a1a1a;
  line-height: 1.15;
  max-width: 820px;
}

.prod-breadcrumb {
  font-size: 13px;
  color: #777;
}

.prod-breadcrumb a {
  color: #555;
  text-decoration: none;
}

.prod-breadcrumb a:hover {
  color: #1565c0;
}

.prod-page-intro {
  max-width: 820px;
  margin-top: 16px;
  font-size: 17px;
  color: #555;
  line-height: 1.7;
}

/* Layout — sidebar + full-width product area */
.prod-layout {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  padding: 56px 0 72px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.prod-list-main {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.prod-list-context {
  margin: 0 0 28px;
  padding: 14px 18px;
  font-size: 14px;
  color: #555;
  background: #f7f7f7;
  border-left: 3px solid #1565c0;
  line-height: 1.55;
}

.prod-list-context strong {
  color: #1a1a1a;
}

/* Sidebar */
.prod-sidebar {
  position: sticky;
  top: 24px;
  flex: 0 0 200px;
  width: 200px;
  max-width: 200px;
}

.prod-sidebar__head {
  margin-bottom: 8px;
  padding-bottom: 14px;
  border-bottom: 2px solid #1a1a1a;
}

.prod-sidebar__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a1a1a;
  margin: 0;
}

.prod-sidebar__nav {
  display: flex;
  flex-direction: column;
}

.prod-sidebar__link {
  display: block;
  padding: 13px 14px;
  margin: 0 -14px;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.prod-sidebar__link:hover {
  color: #1a1a1a;
  background: #f5f5f5;
  padding-left: 20px;
  border-bottom-color: #e0e0e0;
}

.prod-sidebar__link.is-active {
  color: #1565c0;
  background: #fff8f3;
  padding-left: 20px;
  border-left: 3px solid #1565c0;
  font-weight: 600;
}

.prod-sidebar__link--custom {
  margin-top: 6px;
  border-top: 1px solid #e8e8e8;
}

/* Category hub */
.prod-hub {
  padding: 56px 0 80px;
}

.prod-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.prod-hub-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease;
  overflow: hidden;
}

.prod-hub-card:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
}

.prod-hub-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f5f5;
}

.prod-hub-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.prod-hub-card:hover .prod-hub-card__img img {
  transform: scale(1.04);
}

.prod-hub-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prod-hub-card__body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #1a1a1a;
}

.prod-hub-card__body p {
  font-size: 15px;
  color: #666;
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
}

.prod-hub-card__tags {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prod-hub-card__tags li {
  font-size: 12px;
  color: #555;
  background: #f3f3f3;
  padding: 4px 10px;
  border-radius: 2px;
}

.prod-hub-card__link {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: underline;
}

.prod-hub-card:hover .prod-hub-card__link {
  color: #1565c0;
}

/* Product grid */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
  width: 100%;
  max-width: 100%;
}

/* Product list: max 3 columns, cards stretch to fill row */
.prod-list-main > .prod-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

@media (min-width: 960px) {
  .prod-list-main > .prod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.prod-card,
a.prod-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  color: inherit;
  border: 1px solid #e0e0e0;
  background: #fff;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

a.prod-card {
  text-decoration: none;
}

.prod-card:hover,
a.prod-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: #d0d0d0;
}

.prod-card__img-wrap {
  display: block;
  text-decoration: none;
}

.prod-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 512px;
  margin: 0 auto;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.prod-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 512px;
  max-height: 512px;
  margin: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

.prod-card:hover .prod-card__img img,
a.prod-card:hover .prod-card__img img {
  transform: scale(1.03);
}

.prod-card__body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prod-card__title,
.prod-card__body h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.35;
  color: #1a1a1a;
}

.prod-card__title a {
  color: inherit;
  text-decoration: none;
}

.prod-card__title a:hover {
  color: #1565c0;
}

.prod-card__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
  min-height: 2.8em;
}

.prod-card__desc:empty {
  display: none;
  min-height: 0;
  margin: 0;
}

.prod-card__apps {
  margin-bottom: 20px;
}

.prod-card__apps-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}

.prod-card__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prod-card__tags li {
  font-size: 12px;
  font-weight: 600;
  color: #444;
  background: #f3f3f3;
  padding: 5px 12px;
  border: 1px solid #e8e8e8;
}

.prod-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 12px 22px;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease;
}

.prod-card__btn:hover {
  background: #1565c0;
  color: #fff;
}

a.prod-card .prod-card__btn {
  margin-top: auto;
}

.prod-pagination {
  margin-top: 40px;
  text-align: center;
}

/* Empty state */
.prod-empty {
  text-align: center;
  padding: 64px 32px;
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  margin-top: 8px;
}

.prod-empty__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  position: relative;
}

.prod-empty__icon::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 16px;
  border: 2px solid #ccc;
  border-bottom: none;
  border-radius: 2px 2px 0 0;
}

.prod-empty h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #1a1a1a;
}

.prod-empty p {
  max-width: 480px;
  margin: 0 auto 24px;
  font-size: 15px;
  color: #666;
  line-height: 1.65;
}

.prod-empty__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Product Detail ===== */
.prod-detail {
  padding: 48px 0 0;
}

.prod-detail__layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

.prod-detail__main {
  min-width: 0;
}

/* Hero */
.prod-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid #e8e8e8;
}

/* Hero gallery — 700 main / 75 thumbs / 2100 zoom */
.prod-gallery {
  max-width: 700px;
}

.prod-gallery__zoom {
  position: relative;
  max-width: 700px;
}

.prod-gallery__main {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 1 / 1;
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  overflow: hidden;
}

.prod-gallery__main img {
  width: 100%;
  height: 100%;
  max-width: 700px;
  max-height: 700px;
  object-fit: contain;
  cursor: zoom-in;
}

.prod-gallery__zoom-pane {
  display: none;
  position: absolute;
  top: 0;
  right: -20px;
  width: min(360px, 42vw);
  height: 360px;
  transform: translateX(100%);
  border: 1px solid #e0e0e0;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 300%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  z-index: 3;
}

.prod-gallery__zoom.is-zooming .prod-gallery__zoom-pane {
  display: block;
}

.prod-gallery__hint {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #888;
  text-align: right;
}

.prod-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.prod-gallery__thumb {
  width: 75px;
  height: 75px;
  flex: 0 0 75px;
  border: 2px solid #e8e8e8;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  padding: 0;
}

.prod-gallery__thumb.is-active,
.prod-gallery__thumb:hover {
  border-color: #1565c0;
}

.prod-gallery__thumb img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  object-position: center;
  background: #fafafa;
}

.prod-info__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1565c0;
  margin: 0 0 10px;
}

.prod-info h1 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
  color: #1a1a1a;
}

.prod-info__tagline {
  font-size: 17px;
  color: #555;
  line-height: 1.55;
  margin: 0 0 24px;
}

.prod-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.prod-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.prod-btn--primary {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.prod-btn--primary:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

.prod-btn--outline {
  background: transparent;
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.prod-btn--outline:hover {
  background: #1a1a1a;
  color: #fff;
}

.prod-btn--outline:hover {
  background: #1a1a1a;
  color: #fff;
}

.prod-btn--ghost {
  background: transparent;
  color: #555;
  border-color: #ccc;
  font-weight: 600;
}

.prod-btn--ghost:hover {
  background: #f5f5f5;
  color: #1a1a1a;
  border-color: #999;
}

.prod-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.prod-trust li {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #444;
  padding-left: 18px;
  position: relative;
}

.prod-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #1565c0;
}

.prod-key-info-wrap {
  margin-bottom: 24px;
  padding: 20px;
  background: #f7f7f7;
  border: 1px solid #e8e8e8;
}

.prod-key-info-wrap.is-minimal .prod-key-info__note {
  display: none;
}

.prod-key-info__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1565c0;
  margin: 0 0 14px;
}

.prod-key-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px 20px;
  margin: 0;
}

.prod-key-info__item {
  margin: 0;
}

.prod-key-info__item dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 4px;
}

.prod-key-info__item dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}

.prod-key-info__note {
  margin: 14px 0 0;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.prod-info__points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prod-info__points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.5;
}

.prod-info__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1565c0;
  font-weight: 700;
}

/* Content sections */
.prod-section {
  padding: 56px 0;
  border-bottom: 1px solid #e8e8e8;
}

.prod-section:last-of-type {
  border-bottom: none;
}

.prod-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #1a1a1a;
}

.prod-section p {
  font-size: 16px;
  color: #555;
  line-height: 1.75;
  margin: 0 0 14px;
}

.prod-section__content {
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.prod-section__content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
  table-layout: auto;
}

.prod-section__content table th,
.prod-section__content table td {
  border: 1px solid #e0e0e0;
  padding: 12px 16px;
  text-align: left;
  word-break: break-word;
}

.prod-section__content table th {
  background: #f7f7f7;
  font-weight: 600;
}

/* CMS / Word 粘贴表格常带固定 px 宽度，手机端强制可适配 */
.prod-section__content table[style],
.prod-section__content table.tg {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
}

.prod-section__content colgroup col,
.prod-section__content col {
  width: auto !important;
}

.prod-section__content table th[style],
.prod-section__content table td[style],
.prod-section__content table th[width],
.prod-section__content table td[width] {
  width: auto !important;
  min-width: 0 !important;
}

.prod-section__content *[style*="width"] {
  max-width: 100% !important;
}

.prod-section__content img,
.prod-section__content iframe,
.prod-section__content video {
  max-width: 100% !important;
  height: auto !important;
}

/* Applications */
.prod-apps__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.prod-app {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.prod-app img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-app span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Features */
.prod-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.prod-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: #f9f9f9;
  border-left: 3px solid #1565c0;
}

.prod-feature__icon {
  color: #1565c0;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.prod-feature p {
  margin: 0;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

/* Applications tags */
.prod-apps__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.prod-apps__tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  background: #f2f2f2;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
}

/* Product FAQ */
.prod-faq__item {
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 0;
}

.prod-faq__item:first-of-type {
  border-top: 1px solid #e8e8e8;
}

.prod-faq__item summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  list-style: none;
  padding-right: 24px;
  position: relative;
}

.prod-faq__item summary::-webkit-details-marker {
  display: none;
}

.prod-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
  color: #1565c0;
}

.prod-faq__item[open] summary::after {
  content: "\2212";
}

.prod-faq__item p {
  margin: 12px 0 0;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* P6 — related guides on product pages */
.prod-guides {
  padding: 40px 0 0;
}

.prod-guides__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1565c0;
  margin-bottom: 8px;
}

.prod-guides h2 {
  font-size: 22px;
  margin: 0 0 16px;
}

.prod-guides__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.prod-guides__list li {
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.prod-guides__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #1565c0;
}

.prod-guides__list a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.45;
}

.prod-guides__list a:hover {
  color: #1565c0;
}

.prod-guides__more a {
  font-size: 14px;
  font-weight: 600;
  color: #1565c0;
  text-decoration: none;
}

/* Inquiry */
.prod-inquiry {
  padding: 64px 0;
  background: #1a1a1a;
  color: #fff;
}

.prod-inquiry__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.prod-inquiry h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.prod-inquiry p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 28px;
  line-height: 1.65;
}

.prod-inquiry .prod-btn--primary {
  background: #1565c0;
  border-color: #1565c0;
}

.prod-inquiry .prod-btn--primary:hover {
  background: #d46200;
  border-color: #d46200;
}

.prod-inquiry__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Related */
.prod-related {
  padding: 56px 0;
}

.prod-related h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 28px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prod-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid #e8e8e8;
  margin-top: 24px;
}

.prod-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.prod-nav a:hover {
  color: #1565c0;
}

/* Modal form */
.prod-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.prod-modal.is-open {
  display: flex;
}

.prod-modal__dialog {
  background: #fff;
  width: 100%;
  max-width: 480px;
  padding: 32px;
  position: relative;
}

.prod-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.prod-modal__lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.prod-form__optional {
  border: 1px solid #e8e8e8;
  padding: 12px 14px 4px;
  margin: 0 0 12px;
}

.prod-form__optional legend {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  padding: 0 4px;
}

.prod-form__optional-note {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #888;
}

.prod-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
}

.prod-form__grid input {
  margin-bottom: 10px;
}

.prod-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  gap: 8px;
}

.prod-sticky-cta.is-visible {
  display: flex;
}

.prod-sticky-cta .prod-btn {
  flex: 1;
  padding: 12px 10px;
  font-size: 11px;
}

.prod-inquiry .prod-btn--outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.prod-inquiry .prod-btn--outline:hover {
  background: #fff;
  color: #1a1a1a;
  border-color: #fff;
}

.prod-form input,
.prod-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  font-size: 14px;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.prod-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* Responsive */
@media (max-width: 1024px) {
  .prod-layout {
    flex-direction: column;
    gap: 36px;
  }

  /* 手机/平板：产品列表优先，分类挪到下方 */
  .prod-list-main {
    order: 1;
  }

  .prod-sidebar {
    order: 2;
    position: static;
    flex: none;
    width: 100%;
    max-width: none;
  }

  .prod-detail__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .prod-detail__layout .prod-sidebar {
    order: 2;
  }

  .prod-detail__layout .prod-detail__main {
    order: 1;
  }

  .prod-sidebar__nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .prod-sidebar__link {
    margin: 0;
    border-right: none;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
  }

  .prod-sidebar__link.is-active {
    border-color: #1565c0;
    background: #fff8f2;
  }

  .prod-sidebar__head {
    margin-bottom: 12px;
  }

  .prod-grid,
  .prod-list-main > .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .prod-hub__grid {
    grid-template-columns: 1fr;
  }

  .prod-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .prod-gallery__zoom-pane,
  .prod-gallery__hint {
    display: none !important;
  }

  .prod-gallery__zoom-pane {
    right: 0;
    transform: none;
    width: 0;
    height: 0;
    overflow: hidden;
  }

  .prod-apps__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .bomrobot-product {
    overflow-x: hidden;
    max-width: 100%;
  }

  .bomrobot-product .section-inner,
  .prod-detail,
  .prod-detail__main,
  .prod-section,
  .prod-hero,
  .prod-gallery,
  .prod-info {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .bomrobot-product .section-inner {
    padding: 0 16px;
  }

  .prod-page-header {
    padding: 24px 0 28px;
  }

  .prod-page-intro {
    font-size: 15px;
  }

  .prod-layout {
    padding: 36px 0 56px;
  }

  .prod-sidebar__nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .prod-sidebar__link {
    border-right: none;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .prod-grid,
  .prod-list-main > .prod-grid,
  .prod-features__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .prod-card__img {
    min-height: 220px;
    padding: 16px;
  }

  .prod-apps__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prod-btn {
    width: 100%;
  }

  .prod-info__actions {
    flex-direction: column;
  }

  .prod-form__grid {
    grid-template-columns: 1fr;
  }

  .prod-key-info {
    grid-template-columns: 1fr;
  }

  .prod-sticky-cta {
    padding-right: 64px;
  }

  .prod-hub-card__body {
    padding: 20px;
  }

  .prod-inquiry {
    padding: 48px 0;
  }

  .prod-section__content {
    margin-right: 0;
    /* 超宽规格表：块内横滑，不撑开整页 */
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .prod-section__content table th,
  .prod-section__content table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .prod-gallery__thumbs {
    max-width: 100%;
  }
}

/* 全站产品页兜底：防止粘贴宽表撑出整页横滑 */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .bomrobot-product {
    overflow-x: hidden;
    max-width: 100%;
  }

  .bomrobot-product .prod-section__content table,
  .bomrobot-product .prod-section__content img,
  .bomrobot-product .prod-section__content svg,
  .bomrobot-product .prod-section__content pre {
    max-width: 100% !important;
  }
}

/* B-Series host product — image + text (compact loaders, scode=5) */
.prod-loader-blocks[data-product-slug="bm31"] {
  display: none;
}

.prod-section--brochure {
  padding-top: 0.5rem;
}

.prod-section--brochure > h2 {
  margin-bottom: 1rem;
}

.prod-brochure__only {
  display: none;
}

.prod-brochure__only.is-active {
  display: block;
}

.prod-brochure {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.prod-brochure__hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 0 0.5rem;
  border-bottom: 1px solid #e8eaed;
}

@media (min-width: 900px) {
  .prod-brochure__hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 2rem;
  }
}

.prod-brochure__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e85d04;
}

.prod-brochure__hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  color: var(--prod-heading, #121212);
}

.prod-brochure__hero-copy p {
  margin: 0 0 0.85rem;
  max-width: 42rem;
  line-height: 1.65;
  color: #374151;
}

.prod-brochure__hero-note {
  font-size: 0.9rem;
  color: #6b7280 !important;
}

.prod-brochure__hero-note a {
  color: #e85d04;
  font-weight: 600;
  text-decoration: none;
}

.prod-brochure__hero-note a:hover {
  text-decoration: underline;
}

.prod-brochure__hero-media {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.prod-brochure__hero-media img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.prod-brochure__subhead {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--prod-heading, #121212);
}

.prod-brochure__snapshot {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #fff8f3 0%, #f7f8fa 100%);
  border-radius: 10px;
  border: 1px solid #fde8d8;
  border-left: 4px solid #e85d04;
}

.prod-brochure__specs {
  display: grid;
  gap: 0.65rem 1.5rem;
  margin: 0;
}

@media (min-width: 640px) {
  .prod-brochure__specs {
    grid-template-columns: 1fr 1fr;
  }
}

.prod-brochure__specs div {
  display: grid;
  gap: 0.15rem;
}

.prod-brochure__specs dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.prod-brochure__specs dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.prod-brochure__spread {
  margin: 0;
}

.prod-brochure__spread img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.prod-brochure__spread figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #6b7280;
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.prod-brochure__row {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .prod-brochure__row {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2rem;
  }

  .prod-brochure__row--reverse .prod-brochure__media {
    order: 2;
  }

  .prod-brochure__row--reverse .prod-brochure__copy {
    order: 1;
  }
}

.prod-brochure__media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.prod-brochure__media img {
  display: block;
  width: 100%;
  height: auto;
}

.prod-brochure__copy h3 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  color: var(--prod-heading, #121212);
}

.prod-brochure__bullets {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.65;
  color: #374151;
}

.prod-brochure__bullets li {
  margin-bottom: 0.45rem;
}

.prod-brochure__bullets li::marker {
  color: #e85d04;
}

.prod-brochure__fine {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.prod-brochure__cta {
  margin: 0;
  padding-top: 0.5rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
}

.prod-brochure__cta a {
  color: #e85d04;
  font-weight: 600;
  text-decoration: none;
}

.prod-brochure__cta a:hover {
  text-decoration: underline;
}

.prod-brochure__spread--last {
  margin-bottom: 0.25rem;
}

.prod-brochure__zoom {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.prod-brochure__zoom img {
  display: block;
  width: 100%;
  height: auto;
}

.prod-brochure__zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.prod-brochure__zoom:hover .prod-brochure__zoom-hint,
.prod-brochure__zoom:focus-visible .prod-brochure__zoom-hint {
  opacity: 1;
}

@media (hover: none) {
  .prod-brochure__zoom-hint {
    opacity: 1;
  }
}

.prod-brochure__hero-media .prod-brochure__zoom img {
  border-radius: 10px;
}

body.prod-brochure-lightbox-open {
  overflow: hidden;
}

.prod-brochure-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-brochure-lightbox[hidden] {
  display: none !important;
}

.prod-brochure-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}

.prod-brochure-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  margin: 0 12px;
}

.prod-brochure-lightbox__figure {
  margin: 0;
  text-align: center;
}

.prod-brochure-lightbox__img {
  display: block;
  max-width: 96vw;
  max-height: calc(92vh - 48px);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.prod-brochure-lightbox__caption {
  margin: 10px 40px 0;
  font-size: 0.9rem;
  color: #e5e7eb;
  line-height: 1.4;
}

.prod-brochure-lightbox__close,
.prod-brochure-lightbox__nav {
  position: absolute;
  z-index: 2;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease;
}

.prod-brochure-lightbox__close:hover,
.prod-brochure-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.prod-brochure-lightbox__close {
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 1.75rem;
}

.prod-brochure-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 56px;
  border-radius: 8px;
  font-size: 2rem;
}

.prod-brochure-lightbox__prev {
  left: -52px;
}

.prod-brochure-lightbox__next {
  right: -52px;
}

@media (max-width: 768px) {
  .prod-brochure-lightbox__prev {
    left: 4px;
  }

  .prod-brochure-lightbox__next {
    right: 4px;
  }

  .prod-brochure-lightbox__close {
    top: 8px;
    right: 8px;
    position: fixed;
  }

  .prod-brochure-lightbox__nav {
    background: rgba(0, 0, 0, 0.45);
  }
}
