/* Tangyun product detail refresh: shared by software, hardware and gateway pages. */
.product-detail-page .product-detail-hero {
  min-height: 300px !important;
}
.product-detail-page .product-detail-hero > img {
  min-height: 300px !important;
  max-height: 360px;
  object-position: center;
}
.product-detail-page .product-detail-hero .txt span {
  display: block;
  max-width: 900px;
  color: #fff;
  font-size: clamp(30px, 3vw, 44px) !important;
  font-weight: 700;
  line-height: 1.28;
}
.product-detail-page .product-detail-hero .txt em {
  display: block;
  max-width: 880px;
  margin-top: 14px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.75;
}
.product-detail-page > .cmlav { margin-top: 18px; }
.product-detail-page .product-detail-body { padding: 42px 0 76px; }
.product-detail-page .product-detail-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 !important;
  color: #40536b;
}

/* Unified software, monitoring-device and gateway content blocks. */
.ty-product { color: #40536b; font-size: 16px; line-height: 1.85; }
.ty-product * { box-sizing: border-box; }
.ty-product h1, .ty-product h2, .ty-product h3 { color: #0d2442; font-family: inherit; }
.ty-product h1 { margin: 10px 0 18px; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.28; }
.ty-product h2 { margin: 0; font-size: clamp(25px, 2.6vw, 34px); line-height: 1.38; }
.ty-product h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.45; }
.ty-product p { margin: 0; }
.ty-product-intro {
  display: grid;
  align-items: center;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  padding: 44px;
  border: 1px solid #dce7f2;
  border-radius: 20px;
  background: linear-gradient(145deg,#fff,#f4f8fc);
  box-shadow: 0 18px 48px rgba(21,55,94,.08);
}
.ty-product-kicker { color: #0875dc; font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.ty-product-lead { color: #52677f; font-size: 17px; line-height: 1.9; }
.ty-product-tags { display: flex; margin: 25px 0 0; padding: 0; flex-wrap: wrap; gap: 9px; list-style: none; }
.ty-product-tags li { padding: 7px 12px; border: 1px solid #cfe0f0; border-radius: 999px; color: #24649d; background: #f3f9ff; font-size: 13px; }
.ty-product-intro figure { margin: 0; overflow: hidden; border: 1px solid #d8e4ef; border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(22,56,94,.09); }
.ty-product-intro figure img { display: block; width: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; border-radius: 0 !important; object-fit: cover; }
.ty-product-intro figcaption { padding: 13px 16px; color: #6c7e92; font-size: 13px; line-height: 1.6; }
.ty-product-section { padding: 78px 0 0; }
.ty-product-section-head { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.ty-product-section-head .ty-product-kicker { margin-bottom: 8px; }
.ty-product-section-head > p:last-child { margin-top: 12px; color: #6b7d91; }
.ty-product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.ty-product-card { min-height: 190px; padding: 26px; border: 1px solid #dce7f2; border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(21,55,94,.05); }
.ty-product-card span { display: block; margin-bottom: 19px; color: #0875dc; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.ty-product-card p { color: #64768a; font-size: 14px; line-height: 1.8; }
.ty-product-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; overflow: hidden; border: 1px solid #d8e5f1; border-radius: 16px; background: #fff; }
.ty-product-flow article { position: relative; min-height: 175px; padding: 28px 24px; border-right: 1px solid #e2ebf4; }
.ty-product-flow article:last-child { border-right: 0; }
.ty-product-flow b { display: inline-flex; width: 34px; height: 34px; margin-bottom: 20px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; background: #0875dc; font-size: 13px; }
.ty-product-flow p { color: #65778b; font-size: 14px; }
.ty-product-split { display: grid; align-items: stretch; grid-template-columns: 1fr 1fr; gap: 20px; }
.ty-product-panel { padding: 34px; border: 1px solid #dce7f2; border-radius: 16px; background: #fff; }
.ty-product-panel.is-blue { color: #d9eaff; border-color: #0a4f93; background: linear-gradient(145deg,#0a5fb3,#07376d); }
.ty-product-panel.is-blue h2, .ty-product-panel.is-blue h3 { color: #fff; }
.ty-product-list { margin: 24px 0 0; padding: 0; list-style: none; }
.ty-product-list li { position: relative; margin-top: 12px; padding-left: 24px; }
.ty-product-list li::before { position: absolute; top: 0; left: 0; color: #1497ff; content: "✓"; font-weight: 800; }
.ty-product-panel.is-blue .ty-product-list li::before { color: #61d7ff; }
.ty-product-note { margin-top: 28px !important; padding: 15px 18px; border-left: 3px solid #0875dc; color: #66798e; background: #eff6fd; font-size: 14px; }
.ty-product-hardware .ty-product-intro figure img,
.ty-product-gateway .ty-product-intro figure img {
  height: 390px !important;
  padding: 24px;
  background: linear-gradient(145deg,#f7fbff,#fff);
  object-fit: contain;
}
.ty-product-specs {
  overflow: hidden;
  border: 1px solid #dce7f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(21,55,94,.05);
}
.ty-product-specs table { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.ty-product-specs th,
.ty-product-specs td { padding: 15px 20px; border: 0; border-bottom: 1px solid #e3ebf3; text-align: left; vertical-align: top; }
.ty-product-specs tr:last-child th,
.ty-product-specs tr:last-child td { border-bottom: 0; }
.ty-product-specs th { width: 25%; color: #173657; background: #f4f8fc; font-weight: 700; }
.ty-product-specs td { color: #536980; }
.ty-product-gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.ty-product-gallery figure { margin: 0; overflow: hidden; border: 1px solid #dce7f2; border-radius: 15px; background: #fff; }
.ty-product-gallery img { display: block; width: 100% !important; height: 330px !important; max-width: none !important; margin: 0 !important; object-fit: contain; background: #f7fbff; }
.ty-product-gallery figcaption { padding: 14px 18px; color: #687b90; font-size: 13px; }

/* Bring existing hardware and gateway article bodies into the current site system. */
.hardware-detail-page .product-detail-content > div,
.gateway-detail-page .product-detail-content > div {
  max-width: 1100px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  color: #40536b !important;
  background: transparent !important;
}
.hardware-detail-page .product-detail-content :is(.header,.article-header,.product-header),
.gateway-detail-page .product-detail-content :is(.header,.article-header,.product-header) {
  margin: 0 0 28px !important;
  padding: 0 0 24px !important;
  border-bottom: 1px solid #dce7f2 !important;
  border-radius: 0 !important;
  color: #0d2442 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
}
.hardware-detail-page .product-detail-content :is(.header,.article-header,.product-header) h1,
.gateway-detail-page .product-detail-content :is(.header,.article-header,.product-header) h1 {
  margin: 0 0 10px !important;
  color: #0d2442 !important;
  font-size: clamp(29px,3vw,40px) !important;
  line-height: 1.35 !important;
  text-shadow: none !important;
}
.hardware-detail-page .product-detail-content :is(.content,.section,.product-overview,.product-showcase,.product-highlight,.features,.applications,.specs-container,.product-details),
.gateway-detail-page .product-detail-content :is(.content,.section,.product-overview,.product-showcase,.product-highlight,.features,.applications,.specs-container,.product-details) {
  max-width: 1100px !important;
  margin: 0 0 24px !important;
  padding: 30px !important;
  border: 1px solid #dce7f2 !important;
  border-radius: 15px !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(21,55,94,.05) !important;
}
.hardware-detail-page .product-detail-content :is(.features-grid,.specs-grid,.application-cards,.applications),
.gateway-detail-page .product-detail-content :is(.features-grid,.specs-grid,.application-cards,.applications) {
  gap: 15px !important;
}
.hardware-detail-page .product-detail-content :is(.feature-card,.spec-card,.app-card,.application-card),
.gateway-detail-page .product-detail-content :is(.feature-card,.spec-card,.app-card,.application-card) {
  border: 1px solid #dce7f2 !important;
  border-radius: 12px !important;
  background: #f8fbfe !important;
  box-shadow: none !important;
}
.hardware-detail-page .product-detail-content .section-title,
.gateway-detail-page .product-detail-content .section-title {
  color: #0d2442 !important;
  font-size: clamp(23px,2.3vw,31px) !important;
  text-shadow: none !important;
}
.hardware-detail-page .product-detail-content img,
.gateway-detail-page .product-detail-content img {
  display: block;
  width: auto !important;
  max-width: min(100%,850px) !important;
  max-height: 560px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  border-radius: 12px !important;
  object-fit: contain;
}
.hardware-detail-page .product-detail-content table,
.gateway-detail-page .product-detail-content table { width: 100% !important; border-collapse: collapse !important; background: #fff !important; }
.hardware-detail-page .product-detail-content :is(th,td),
.gateway-detail-page .product-detail-content :is(th,td) { padding: 13px 15px !important; border: 1px solid #dce7f2 !important; color: #40536b !important; text-align: left !important; }

@media (max-width: 900px) {
  .ty-product-intro { grid-template-columns: 1fr; gap: 32px; padding: 30px; }
  .ty-product-grid, .ty-product-flow { grid-template-columns: 1fr 1fr; }
  .ty-product-flow article:nth-child(2) { border-right: 0; }
  .ty-product-flow article:nth-child(-n+2) { border-bottom: 1px solid #e2ebf4; }
}
@media (max-width: 767px) {
  .product-detail-page .product-detail-hero { min-height: 230px !important; }
  .product-detail-page .product-detail-hero > img { min-height: 230px !important; height: 230px !important; }
  .product-detail-page .product-detail-hero .txt span { font-size: 25px !important; }
  .product-detail-page .product-detail-hero .txt em { font-size: 13px; line-height: 1.55; }
  .product-detail-page .product-detail-body { padding: 30px 0 56px; }
  .ty-product-intro { padding: 23px; border-radius: 15px; }
  .ty-product h1 { font-size: 29px; }
  .ty-product-section { padding-top: 58px; }
  .ty-product-grid, .ty-product-flow, .ty-product-split { grid-template-columns: 1fr; }
  .ty-product-hardware .ty-product-intro figure img,
  .ty-product-gateway .ty-product-intro figure img { height: 300px !important; padding: 16px; }
  .ty-product-specs { overflow-x: auto; }
  .ty-product-specs table { min-width: 580px; }
  .ty-product-specs th, .ty-product-specs td { padding: 12px 14px; }
  .ty-product-gallery { grid-template-columns: 1fr; }
  .ty-product-gallery img { height: 260px !important; }
  .ty-product-flow article { min-height: 0; border-right: 0; border-bottom: 1px solid #e2ebf4; }
  .ty-product-flow article:last-child { border-bottom: 0; }
  .ty-product-panel { padding: 25px; }
  .hardware-detail-page .product-detail-content :is(.content,.section,.product-overview,.product-showcase,.product-highlight,.features,.applications,.specs-container,.product-details),
  .gateway-detail-page .product-detail-content :is(.content,.section,.product-overview,.product-showcase,.product-highlight,.features,.applications,.specs-container,.product-details) { padding: 22px !important; }
}
