/* 产品中心 — 宽屏 + table 横版（规避 wangzg *{margin:0 auto} 与 .container 1200px） */

body.page-product {
  background-color: #f5f5f5;
}

body.page-product .container,
body.page-product .chanpin-wide {
  width: 96% !important;
  max-width: 1760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* 面包屑与下方分类 Tab / 列表同宽（勿用默认 .yksite-wrap 1100，否则左右不齐） */
body.page-product .yksite-page-crumb .yksite-wrap,
body.page-product-detail .yksite-page-crumb .yksite-wrap {
  width: 96% !important;
  max-width: 1760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* 分类 Tab（位于页头 Banner / 面包屑下方） */
body.page-product #cpnav.abnav,
body.page-product .abnav#cpnav {
  width: 96% !important;
  max-width: 1760px !important;
  margin: 16px auto 0 !important;
  overflow: hidden;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

body.page-product #cpnav ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  display: flex !important;
}

body.page-product #cpnav li {
  flex: 1 1 0 !important;
  min-width: 0;
  height: 78px !important;
  background: #fff !important;
  text-align: center !important;
  float: none !important;
  margin: 0 !important;
  border-right: 1px solid #f0f0f0;
}

body.page-product #cpnav li:last-child {
  border-right: none;
}

body.page-product #cpnav li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 78px !important;
  margin: 0 !important;
  color: #171717 !important;
  font-size: 18px !important;
  text-decoration: none !important;
}

body.page-product #cpnav li .alcenter {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 10px !important;
  font-size: 18px !important;
  white-space: nowrap;
}

body.page-product #cpnav li .img {
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 10px 0 0 !important;
  overflow: hidden !important;
  position: relative !important;
  float: none !important;
}

body.page-product #cpnav li .img img {
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  float: none !important;
  border: none !important;
}

body.page-product #cpnav li .img img:last-child {
  display: none !important;
}

body.page-product #cpnav li.cur,
body.page-product #cpnav li:hover {
  background: #d70000 !important;
}

body.page-product #cpnav li.cur .img img:first-child,
body.page-product #cpnav li:hover .img img:first-child {
  display: none !important;
}

body.page-product #cpnav li.cur .img img:last-child,
body.page-product #cpnav li:hover .img img:last-child {
  display: block !important;
}

body.page-product #cpnav li.cur a,
body.page-product #cpnav li:hover a {
  color: #fff !important;
}

/* 列表容器 */
body.page-product .chanpin-panel {
  margin-top: 36px !important;
  overflow: visible;
}

/* 列表 / 矩阵切换 */
body.page-product .chanpin-toolbar {
  display: block;
  width: 100%;
  margin: 0 0 16px !important;
  padding: 0;
  text-align: right;
  overflow: visible;
}

body.page-product .chanpin-view-toggle {
  display: inline-flex;
  border: 1px solid #dedede;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  margin: 0 !important;
}

body.page-product .chanpin-view-toggle__btn {
  padding: 6px 18px;
  font-size: 14px;
  line-height: 1.4;
  border: none;
  background: #fff;
  color: #666;
  cursor: pointer;
  outline: none;
  margin: 0 !important;
}

body.page-product .chanpin-view-toggle__btn + .chanpin-view-toggle__btn {
  border-left: 1px solid #dedede;
}

body.page-product .chanpin-view-toggle__btn:hover {
  color: #d70000;
}

body.page-product .chanpin-view-toggle__btn.is-active {
  background: #d70000;
  color: #fff;
}

body.page-product .chanpin-view {
  display: none;
  margin: 0 !important;
}

body.page-product .chanpin-view.is-active {
  display: block;
}

/* 列表视图 */
body.page-product .chanpin-list-item {
  background: #fff;
  margin: 0 0 16px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease;
}

body.page-product .chanpin-list-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

body.page-product .chanpin-list-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  table-layout: fixed;
}

body.page-product .chanpin-list-table td {
  margin: 0 !important;
  padding: 20px !important;
  border: none !important;
  vertical-align: middle !important;
}

body.page-product .chanpin-list-pic {
  width: 220px !important;
  height: 140px !important;
  text-align: center !important;
  padding: 0 !important;
  overflow: hidden;
  position: relative;
  background: #fafafa;
}

body.page-product .chanpin-list-pic img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover;
  object-position: center center;
  display: block !important;
  border: none !important;
  float: none !important;
}

body.page-product .chanpin-list-body {
  overflow: hidden;
}

body.page-product .chanpin-list-body .titleAtitle {
  font-size: 18px !important;
  font-weight: 600;
  color: #171717 !important;
  text-decoration: none !important;
  margin: 0 !important;
}

body.page-product .chanpin-list-body .titleAtitle:hover {
  color: #d70000 !important;
}

body.page-product .chanpin-list-action {
  width: 200px !important;
  text-align: right !important;
  white-space: nowrap;
}

body.page-product .chanpin-list-price {
  margin: 0 0 10px !important;
  padding: 0 !important;
}

body.page-product .chanpin-list-price .now {
  font-size: 22px;
  font-weight: 700;
  color: #d70000;
  margin: 0 8px 0 0 !important;
}

body.page-product .chanpin-list-price del {
  font-size: 13px;
  color: #bbb;
  margin: 0 !important;
}

body.page-product .chanpin-list-btn {
  display: inline-block;
  padding: 6px 18px;
  font-size: 14px;
  color: #d70000 !important;
  border: 1px solid #d70000;
  text-decoration: none !important;
  margin: 0 !important;
}

body.page-product .chanpin-list-btn:hover {
  background: #d70000;
  color: #fff !important;
}

body.page-product .chanpin-gap {
  height: 50px;
  clear: both;
  margin: 0 !important;
}

/* ===== 单产品：table 横版通栏 ===== */
body.page-product .chanpin-showcase {
  margin: 0 !important;
}

body.page-product .chanpin-showcase__link {
  display: block !important;
  background: #fff !important;
  text-decoration: none !important;
  color: #333 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease;
  margin: 0 !important;
}

body.page-product .chanpin-showcase__link:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body.page-product .chanpin-showcase__table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
}

body.page-product .chanpin-showcase__table td {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  vertical-align: middle !important;
}

body.page-product .chanpin-showcase__pic {
  width: 420px !important;
  height: 280px !important;
  background: #fafafa;
  text-align: center !important;
  padding: 0 !important;
  overflow: hidden;
  position: relative;
}

body.page-product .chanpin-showcase__pic img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover;
  object-position: center center;
  display: block !important;
  border: none !important;
  float: none !important;
}

body.page-product .chanpin-showcase__body {
  padding: 48px 56px !important;
  text-align: left !important;
}

body.page-product .chanpin-showcase__body h3 {
  margin: 0 0 20px !important;
  padding: 0 !important;
  font-size: 28px !important;
  font-weight: 600;
  color: #171717 !important;
  line-height: 1.35 !important;
}

body.page-product .chanpin-showcase__price {
  margin: 0 0 24px !important;
  padding: 0 !important;
}

body.page-product .chanpin-showcase__price .now {
  font-size: 34px;
  font-weight: 700;
  color: #d70000;
  margin: 0 12px 0 0 !important;
}

body.page-product .chanpin-showcase__price del {
  font-size: 16px;
  color: #bbb;
  margin: 0 !important;
}

body.page-product .chanpin-showcase__btn {
  display: inline-block;
  padding: 10px 28px;
  font-size: 14px;
  color: #d70000 !important;
  border: 1px solid #d70000;
  margin: 0 !important;
}

body.page-product .chanpin-showcase__link:hover .chanpin-showcase__btn {
  background: #d70000;
  color: #fff !important;
}

/* ===== 多产品：浮动网格 ===== */
body.page-product .chanpin-grid {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

body.page-product .chanpin-grid::after {
  content: "";
  display: table;
  clear: both;
}

body.page-product .chanpin-grid > li {
  width: 23.5% !important;
  float: left !important;
  margin: 0 2% 28px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  box-sizing: border-box !important;
}

body.page-product .chanpin-grid > li:nth-child(4n) {
  margin-right: 0 !important;
}

body.page-product .chanpin-grid > li > a {
  display: block !important;
  background: #fff !important;
  text-decoration: none !important;
  color: #333 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin: 0 !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

body.page-product .chanpin-grid > li > a:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

body.page-product .chanpin-grid .img {
  position: relative;
  width: 100% !important;
  height: 220px;
  margin: 0 !important;
  background: #fafafa;
  overflow: hidden;
  float: none !important;
}

body.page-product .chanpin-grid .img img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  object-fit: cover;
  object-position: center center;
  border: none !important;
  float: none !important;
}

body.page-product .chanpin-grid .cp-info {
  padding: 16px 18px 20px !important;
  margin: 0 !important;
  text-align: center;
  float: none !important;
}

body.page-product .chanpin-grid h3 {
  margin: 0 0 8px !important;
  font-size: 16px !important;
  font-weight: 600;
  color: #171717 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.page-product .chanpin-grid .cp-price-now {
  font-size: 20px;
  font-weight: 700;
  color: #d70000;
  margin: 0 8px 0 0 !important;
}

body.page-product .chanpin-grid .cp-price-old {
  font-size: 13px;
  color: #bbb;
  margin: 0 !important;
}

body.page-product .chanpin-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  margin: 0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

body.page-product .chanpin-empty p {
  margin: 0 !important;
  color: #888;
  font-size: 15px;
}

/* ===== 详情页 ===== */
body.page-product-detail .chanpin-detail {
  width: 96% !important;
  max-width: 1760px !important;
  margin: 28px auto 0 !important;
}

body.page-product-detail .chanpin-detail-crumb {
  margin: 0 0 20px !important;
  font-size: 13px;
  color: #888;
}

body.page-product-detail .chanpin-detail-crumb a {
  color: #888;
  text-decoration: none;
  margin: 0 !important;
}

body.page-product-detail .chanpin-detail-crumb a:hover {
  color: #d70000;
}

body.page-product-detail .chanpin-detail-box {
  background: #fff;
  padding: 32px;
  margin: 0 0 24px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

body.page-product-detail .chanpin-detail-pic {
  width: 42%;
  float: left !important;
  margin: 0 !important;
  padding-right: 24px !important;
  box-sizing: border-box;
}

body.page-product-detail .chanpin-detail-pic .img-wrap {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1; /* 与粘土风 1:1 主图一致，完整显示不裁切 */
  max-width: 100%;
  background: #fff;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
  margin: 0 !important;
}

body.page-product-detail .chanpin-detail-pic img {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #fff;
  border: none !important;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* 轻量防拖拽另存（配合 product.js 禁右键） */
body.page-product-cases .chanpin-case-card img,
body.page-product .chanpin-list-pic img,
body.page-product .chanpin-grid img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body.page-product-detail .chanpin-detail-pic .img-wrap::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 55%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 28%,
    rgba(255, 255, 255, 0.58) 45%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0.58) 55%,
    rgba(255, 255, 255, 0.1) 72%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-160%) skewX(-20deg);
  filter: blur(0.5px);
  animation: chanpin-mirror-sheen 2.8s ease-in-out infinite;
}

body.page-product-detail .chanpin-detail-main {
  width: 58%;
  float: right !important;
  margin: 0 !important;
  padding-top: 8px;
  box-sizing: border-box;
}

body.page-product-detail .chanpin-detail-main h1 {
  margin: 0 0 16px !important;
  font-size: 26px;
  font-weight: 600;
  color: #171717;
}

body.page-product-detail .chanpin-detail-summary {
  margin: 0 0 20px !important;
  font-size: 14px;
  line-height: 1.75;
  color: #666;
}

body.page-product-detail .chanpin-detail-price {
  margin: 0 0 28px !important;
  padding: 18px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

body.page-product-detail .chanpin-detail-price .label {
  display: block;
  margin: 0 0 6px !important;
  font-size: 13px;
  color: #888;
}

body.page-product-detail .chanpin-detail-price .now {
  font-size: 32px;
  font-weight: 700;
  color: #d70000;
  margin: 0 10px 0 0 !important;
}

body.page-product-detail .chanpin-detail-price del {
  font-size: 16px;
  color: #bbb;
}

body.page-product-detail .chanpin-detail-attrs {
  margin: 0 0 24px !important;
}

body.page-product-detail .chanpin-detail-attrs__title {
  margin: 0 0 12px !important;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

body.page-product-detail .chanpin-detail-attrs__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

body.page-product-detail .chanpin-detail-attrs__table th,
body.page-product-detail .chanpin-detail-attrs__table td {
  padding: 10px 14px;
  border: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

body.page-product-detail .chanpin-detail-attrs__table th {
  width: 120px;
  background: #fafafa;
  color: #666;
  font-weight: 500;
}

body.page-product-detail .chanpin-detail-attrs__table td {
  color: #333;
}

body.page-product-detail .chanpin-detail-btns a {
  display: inline-block;
  margin: 0 12px 0 0 !important;
  padding: 11px 32px;
  font-size: 14px;
  text-decoration: none !important;
  border-radius: 2px;
}

body.page-product-detail .chanpin-detail-btns .btn-red {
  background: #d70000;
  color: #fff !important;
  border: 1px solid #d70000;
}

body.page-product-detail .chanpin-detail-btns .btn-line {
  background: #fff;
  color: #333 !important;
  border: 1px solid #ddd;
}

body.page-product-detail .chanpin-detail-content {
  clear: both;
  background: #fff;
  padding: 32px;
  margin: 0 0 40px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

body.page-product-detail .chanpin-detail-content h2 {
  margin: 0 0 18px !important;
  font-size: 18px;
  border-bottom: 2px solid #d70000;
  display: inline-block;
  padding-bottom: 10px;
}

body.page-product-detail .chanpin-detail-richtext {
  font-size: 15px;
  line-height: 1.85;
  color: #444;
}

body.page-product-detail .chanpin-detail-richtext img {
  max-width: 100% !important;
  height: auto !important;
}

@media (max-width: 1024px) {
  body.page-product .chanpin-showcase__pic {
    width: 280px !important;
    padding: 20px !important;
  }

  body.page-product .chanpin-showcase__body {
    padding: 24px !important;
  }

  body.page-product .chanpin-showcase__body h3 {
    font-size: 22px !important;
  }

  body.page-product .chanpin-grid > li {
    width: 48% !important;
    margin: 0 4% 24px 0 !important;
  }

  body.page-product .chanpin-grid > li:nth-child(4n) {
    margin-right: 4% !important;
  }

  body.page-product .chanpin-grid > li:nth-child(2n) {
    margin-right: 0 !important;
  }

  body.page-product-detail .chanpin-detail-pic,
  body.page-product-detail .chanpin-detail-main {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
  }
}

@media (max-width: 768px) {
  body.page-product .chanpin-list-table,
  body.page-product .chanpin-list-table tbody,
  body.page-product .chanpin-list-table tr,
  body.page-product .chanpin-list-table td {
    display: block !important;
    width: 100% !important;
  }

  body.page-product .chanpin-list-pic {
    width: 100% !important;
    padding-bottom: 0 !important;
  }

  body.page-product .chanpin-list-action {
    width: 100% !important;
    text-align: center !important;
    padding-top: 0 !important;
  }

  body.page-product .chanpin-grid > li {
    width: 100% !important;
    margin-right: 0 !important;
    float: none !important;
  }

  body.page-product #cpnav li .alcenter {
    font-size: 14px !important;
  }
}

@media (max-width: 600px) {
  body.page-product #cpnav ul {
    flex-wrap: wrap !important;
  }

  body.page-product #cpnav li {
    flex: 1 1 50% !important;
  }
}

/* ========== 案例风格封面 + 卡片（A + 轻度 B） ========== */
body.page-product-cases .pc-cases-banner {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  background: #1a1a1a;
}

body.page-product-cases .pc-cases-banner__bg {
  position: absolute;
  inset: 0;
  background: #1a1a1a center top / cover no-repeat;
}

body.page-product-cases .pc-cases-banner__inner {
  position: relative;
  z-index: 2;
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 72px 0 36px;
  text-align: center;
}

body.page-product-cases .pc-cases-banner__copy {
  position: relative;
  padding: 24px 0 28px;
}

body.page-product-cases .pc-cases-banner__mark {
  position: absolute;
  left: 50%;
  top: 8px;
  width: min(520px, 80vw);
  height: 220px;
  transform: translateX(-50%);
  background: center / contain no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

body.page-product-cases .pc-cases-banner__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.06em;
}

body.page-product-cases .pc-cases-banner__line {
  display: block;
  width: 48px;
  height: 3px;
  margin: 18px auto 16px;
  background: #e60012;
}

body.page-product-cases .pc-cases-banner__sub {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

body.page-product-cases .pc-cases-banner__en {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

body.page-product-cases .pc-cases-banner__tabs {
  margin-top: 28px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

body.page-product-cases .pc-cases-banner__tabs ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: max-content;
  min-width: 100%;
  margin: 0 auto;
  padding: 0 4px 2px;
  list-style: none;
  box-sizing: border-box;
}

body.page-product-cases .pc-cases-banner__tabs li {
  flex: 0 0 auto;
}

body.page-product-cases .pc-cases-banner__tabs li a {
  display: inline-block;
  min-width: 0;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

body.page-product-cases .pc-cases-banner__tabs li.on a,
body.page-product-cases .pc-cases-banner__tabs li a:hover {
  background: #e60012;
  border-color: #e60012;
  color: #fff;
}

body.page-product-cases .pc-cases-banner__tabs li.on a {
  box-shadow: 0 8px 20px rgba(230, 0, 18, 0.28);
}

/* 案例卡片网格：三列 + 轻度 B 悬停 */
body.page-product-cases .chanpin-grid--cases {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 -10px !important;
  padding: 8px 0 20px !important;
  list-style: none !important;
}

body.page-product-cases .chanpin-grid--cases > li {
  float: none !important;
  width: 33.333% !important;
  margin: 0 !important;
  padding: 0 10px 20px !important;
  box-sizing: border-box !important;
}

body.page-product-cases .chanpin-case-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1; /* 与粘土风 1:1 封面一致，避免 4:3 裁切露白 */
  height: auto;
  overflow: hidden;
  background: #fff;
  text-decoration: none !important;
  color: #fff;
}

body.page-product-cases .chanpin-case-card .img {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important; /* 覆盖旧 .chanpin-grid .img { height:220px } */
  z-index: 1;
  margin: 0 !important;
  overflow: hidden;
  background: #fff;
  float: none !important;
}

body.page-product-cases .chanpin-case-card .img img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform 0.55s ease;
}

/* 镜面扫光：斜向高光掠过，增强质感且不挡点击 */
body.page-product-cases .chanpin-case-card .img::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 55%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 28%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.55) 55%,
    rgba(255, 255, 255, 0.08) 72%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-160%) skewX(-20deg);
  filter: blur(0.5px);
  animation: chanpin-mirror-sheen 2.8s ease-in-out infinite;
}

@keyframes chanpin-mirror-sheen {
  0%,
  35% {
    transform: translateX(-160%) skewX(-20deg);
    opacity: 0;
  }
  42% {
    opacity: 1;
  }
  78% {
    opacity: 1;
  }
  100% {
    transform: translateX(280%) skewX(-20deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-product-cases .chanpin-case-card .img::after,
  body.page-product-detail .chanpin-detail-pic .img-wrap::after {
    animation: none !important;
    display: none;
  }
}

body.page-product-cases .chanpin-case-card .zz {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, #f20c1f 0%, #b20000 100%);
  opacity: 0;
  clip-path: polygon(50% 20%, 50% 50%, 20% 50%, 50% 50%, 50% 80%, 50% 50%, 80% 50%, 50% 50%);
  transition: opacity 0.45s ease, clip-path 0.45s ease;
  pointer-events: none;
}

body.page-product-cases .chanpin-case-card .cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

body.page-product-cases .chanpin-case-card .cover .border-top,
body.page-product-cases .chanpin-case-card .cover .border-bottom {
  position: absolute;
  width: 85%;
  height: 2px;
  background: #fff;
  transition: left 0.45s ease;
}

body.page-product-cases .chanpin-case-card .cover .border-top {
  top: 16px;
  left: -120%;
}

body.page-product-cases .chanpin-case-card .cover .border-bottom {
  bottom: 16px;
  left: 120%;
}

body.page-product-cases .chanpin-case-card .cover .border-left,
body.page-product-cases .chanpin-case-card .cover .border-right {
  position: absolute;
  width: 2px;
  height: 83%;
  background: #fff;
  transition: top 0.45s ease;
}

body.page-product-cases .chanpin-case-card .cover .border-right {
  right: 16px;
  top: -120%;
}

body.page-product-cases .chanpin-case-card .cover .border-left {
  left: 16px;
  top: 120%;
}

/* 底部常显标题条 */
body.page-product-cases .chanpin-case-card .foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 28px 16px 14px;
  text-align: left;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.62) 72%);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

body.page-product-cases .chanpin-case-card .foot h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff !important; /* 压过 .chanpin-grid h3 / title_style 深色 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.page-product-cases .chanpin-case-card .foot h3 * {
  color: #fff !important;
}

body.page-product-cases .chanpin-case-card .foot .cp-price {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

body.page-product-cases .chanpin-case-card .foot .cp-price-now {
  color: #fff;
  font-weight: 600;
}

body.page-product-cases .chanpin-case-card .foot .cp-price-old {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.65);
}

/* 悬停：居中标题 + 短线 + 分类（参考案例卡） */
body.page-product-cases .chanpin-case-card .info {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

body.page-product-cases .chanpin-case-card .info h3 {
  margin: 0;
  max-width: 88%;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #fff !important; /* 红罩上白字，与短线/分类一致 */
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.page-product-cases .chanpin-case-card .info h3 * {
  color: #fff !important;
}

body.page-product-cases .chanpin-case-card .info > i {
  display: block;
  width: 36px;
  height: 2px;
  margin: 14px 0 0;
  background: #fff;
}

body.page-product-cases .chanpin-case-card .info .cat {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
}

body.page-product-cases .chanpin-case-card:hover .img img,
body.page-product-cases .chanpin-case-card:focus-visible .img img {
  transform: scale(1.06);
}

body.page-product-cases .chanpin-case-card:hover .zz,
body.page-product-cases .chanpin-case-card:focus-visible .zz {
  opacity: 0.88;
  clip-path: polygon(50% 0, 0 0, 0 50%, 0 100%, 50% 100%, 100% 100%, 100% 50%, 100% 0);
}

body.page-product-cases .chanpin-case-card:hover .cover .border-top,
body.page-product-cases .chanpin-case-card:focus-visible .cover .border-top {
  left: 7.5%;
}

body.page-product-cases .chanpin-case-card:hover .cover .border-bottom,
body.page-product-cases .chanpin-case-card:focus-visible .cover .border-bottom {
  left: 7.5%;
}

body.page-product-cases .chanpin-case-card:hover .cover .border-right,
body.page-product-cases .chanpin-case-card:focus-visible .cover .border-right {
  top: 8.5%;
}

body.page-product-cases .chanpin-case-card:hover .cover .border-left,
body.page-product-cases .chanpin-case-card:focus-visible .cover .border-left {
  top: 8.5%;
}

body.page-product-cases .chanpin-case-card:hover .foot,
body.page-product-cases .chanpin-case-card:focus-visible .foot {
  opacity: 0;
}

body.page-product-cases .chanpin-case-card:hover .info,
body.page-product-cases .chanpin-case-card:focus-visible .info {
  opacity: 1;
}

/* 列表页工具条间距 */
body.page-product-cases .chanpin-toolbar {
  margin-top: 28px !important;
  margin-bottom: 8px !important;
}

@media (max-width: 1024px) {
  body.page-product-cases .pc-cases-banner {
    min-height: 360px;
  }

  body.page-product-cases .pc-cases-banner__title {
    font-size: 36px;
  }

  body.page-product-cases .chanpin-grid--cases > li {
    width: 50% !important;
  }
}

@media (max-width: 768px) {
  body.page-product-cases .pc-cases-banner__inner {
    padding: 56px 0 28px;
  }

  body.page-product-cases .pc-cases-banner__title {
    font-size: 30px;
  }

  body.page-product-cases .pc-cases-banner__mark {
    height: 160px;
    opacity: 0.4;
  }

  body.page-product-cases .pc-cases-banner__tabs ul {
    justify-content: flex-start;
  }

  body.page-product-cases .pc-cases-banner__tabs li a {
    padding: 7px 12px;
    font-size: 13px;
  }

  body.page-product-cases .chanpin-grid--cases > li {
    width: 100% !important;
  }
}
