/* 共用视频蒙层 */
.common-video-mask {
  position: fixed;
  z-index: 677;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  padding-top: 10vh;
  cursor: zoom-out;
  display: none;
}

.common-video-mask .mask-wrap .close {
  text-align: right;
  cursor: pointer;
  user-select: none;
  width: fit-content;
  margin-left: auto;
}

.common-video-mask .mask-wrap .close .hover {
  display: none;
}

.common-video-mask .mask-wrap .close:hover .default {
  display: none;
}

.common-video-mask .mask-wrap .close:hover .hover {
  display: inline-block;
}

.common-video-mask .mask-wrap .video {
  display: flex;
  justify-content: center;
  margin-top: max(0.65rem, 30px);
  cursor: pointer;
}

.common-video-mask .mask-wrap .video video {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1600px, 90%);
  max-height: 70vh;
  object-fit: contain;
  object-position: center;
}

.index-product {
  padding-top: max(0.65rem, 35px);
  padding-bottom: 28px;
}

.index-product .index-product-list {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: max(0.3rem, 20px);
  row-gap: 27px;
}

.index-product .index-product-list .item {
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0px 7px 69px 1px rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  padding-bottom: max(0.41rem, 20px);
}

.index-product .index-product-list .item:hover .pic img {
  transform: translate(-50%, -50%) scale(1.05);
}

.index-product .index-product-list .item:hover .text .text-title {
  color: #e60013;
}

.index-product .index-product-list .item .pic {
  display: block;
  width: 100%;
  position: relative;
}

.index-product .index-product-list .item .pic::after {
  content: "";
  display: block;
  padding-bottom: 65.19337017%;
}

.index-product .index-product-list .item .pic img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
  width: auto;
  height: auto;
  transition: var(--duration);
}

.index-product .index-product-list .item .text {
  margin-top: 7px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.index-product .index-product-list .item .text .text-title {
  font-weight: bold;
  font-size: var(--font24);
  color: #333333;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  overflow-wrap: break-word;
  text-align: center;
  transition: var(--duration);
}

.index-product .index-product-list .item .text-sub-title {
  font-weight: 300;
  font-size: var(--font18);
  color: #333333;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  overflow-wrap: break-word;
  text-align: center;
  margin-top: 10px;
}

.index-product .index-product-list .item .text-desc {
  font-weight: 300;
  font-size: var(--font14);
  color: #999;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  overflow-wrap: break-word;
  text-align: center;
}

.index-product .index-btn {
  margin-top: 33px;
}

@media (max-width: 992px) {
  .index-product .index-product-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .index-product .index-product-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .index-product .index-product-list .item .text .text-title {
    font-size: 16px;
  }

  .index-product .index-product-list .item .text-sub-title {
    font-size: 14px;
  }

  .index-product .index-product-list .item .text-desc {
    font-size: 12px;
  }
}

/* 底部CTA */
.cta-section {
  background: #2a2a2a;
  color: #fff;
  padding: 36px 0;
  text-align: center;
}

.cta-section h3 {
  font-size: var(--font24);
  margin-bottom: 8px;
}

.cta-section p {
  font-size: var(--font16);
  color: #aaa;
  margin-bottom: 20px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.cta-btns .btn {
  padding: 10px 28px;
}

.cta-btns .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: var(--font18);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.cta-btns .btn .icon {
  width: 18px;
}

.cta-btns .btn .icon img {
  display: block;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns .btn-primary {
  background: #c8102e;
  color: #fff;
}

.cta-btns .btn-primary:hover {
  background: #a50d26;
}

.cta-btns .btn-outline {
  background: #fff;
  color: #c8102e;
  border: 1px solid #c8102e;
}

.cta-btns .btn-outline:hover {
  background: #fef2f2;
}
