@charset "UTF-8";

/* ========== CSS Variables ========== */
:root {
  --primary: #0A32DC;
  --primary-light: #1a4fc7;
  --text-dark: rgba(0, 0, 0, 0.85);
  --text-mid: rgba(0, 0, 0, 0.65);
  --text-light: rgba(0, 0, 0, 0.45);
  --bg-light: #ffffff;
  --bg-card: #ffffff;
  --border-radius: 0px;
  --transition: all 0.3s ease;
}

/* ========== Global ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 60px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== Page Header ========== */
.page-header {
  padding: 24px 0 0;
  background: #ffffff;
  border-bottom: none;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-header .breadcrumb a {
  color: var(--text-light);
}

.page-header .breadcrumb a:hover {
  color: var(--primary);
}

.page-header .breadcrumb i {
  font-size: 12px;
}

.page-header-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.page-header-title {
  /* 覆盖 main.css 全局 h1 的 SEO 隐藏手法（text-indent:-999px; float:left） */
  float: none;
  text-indent: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  height: 32px;
}

.page-header-desc {
  font-size: 14px;
  color: var(--text-light);
}

.page-header-tabs {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}


.page-header-line {
  width: 100%;
  height: 1px;
  margin: 10px 0;
  background: #e0e0e0;
}


.product-title-wrap {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 20px;
}

.product-title-desc {
  border-bottom: 2px solid rgba(0, 0, 0, 0.85);
  padding-bottom: 20px;
  color: rgba(0, 0, 0, 0.55);
}

.product-title-line {
  margin-right: 25px;
  width: 8px;
  height: 32px;
  background: #002FA7;
}

.product-center-wrap {
  margin-top: 6.5vh;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 商品缺省页（无数据时） */
.product-empty {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  color: rgba(0, 0, 0, 0.35);
}

.product-empty-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  opacity: 0.6;
}

.product-empty-text {
  margin: 0;
  font-size: 16px;
  letter-spacing: 1px;
}

.product-center-item {
  width: calc(25% - 10px);
  background: #fafafa;
  border-radius: 14px;
}

.product-center-item-img {
  width: calc(100% - 20px);
  margin: 10px 10px 22px 10px;
  object-fit: cover;
}

.product-center-item-text-1 {
  padding-left: 1.04vw;
  min-height: 25px;
  font-size: 18px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  line-height: 25px;
}

.product-center-item-desc {
  padding: 0 1.04vw;
  margin-top: 8px;
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-center-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  font-size: 16px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.65);
}

.product-center-item-bottom img {
  width: 20px;
  height: 20px;
}

/* ========== Healthcare Content ========== */
.products-content {
  padding: 0 0 80px;
  background: #ffffff;
}

.products-type-bar {
  position: sticky;
  top: 80px;
  z-index: 50;
  background: #ffffff;
  padding: 18px 0;
  margin-bottom: 8px;
}

.content-tips {
  margin-bottom: 50px;
}

.content-tips-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.04vw;
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.65);
  background-color: #fafafa;
  padding: 20px;
}

.content-tips-title {
  font-size: 32px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
}

.content-tips-desc {
  font-size: 16px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.65);
}

.content-tips-btn {
  height: 40px;
  padding: 0 20px;
  border-radius: 8px;
  background-color: #0A32DC;
  color: #ffffff;
  font-size: 16px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-tips-btn:hover {
  background-color: #ffffff;
  color: #0A32DC;
}

@media (max-width: 1024px) {
  .products-type-bar {
    top: 60px;
  }
}

@media (max-width: 480px) {
  .products-type-bar {
    top: 50px;
  }
}

.products-type,
.products-type-child {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  line-height: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.products-type::-webkit-scrollbar,
.products-type-child::-webkit-scrollbar {
  display: none;
}

.products-type-child .type_item {
  font-size: 14px;
  cursor: pointer;
}

.products-type-child .type_item:hover {
  color: #002FA7;
}

.type_item {
  font-size: 16px;
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.type_item.active {
  color: #002FA7;
  font-weight: 600;
}

/* ========== Responsive: 小屏笔记本 / 平板横屏 ========== */
@media (max-width: 1200px) {

  .product-title-wrap {
    font-size: 24px;
  }

  .product-title-desc {
    border-bottom: 2px solid rgba(0, 0, 0, 0.85);
    padding-bottom: 20px;
  }

  .product-title-line {
    margin-right: 16px;
    height: 28px;
  }

  /* 卡片改为两列自适应换行 */
  .product-center-wrap {
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .product-center-item {
    width: calc((100% - 13px) / 2);
  }



  .product-center-item-text-1 {
    padding-left: 12px;
    font-size: 16px;
  }

  .product-center-item-bottom {
    padding: 24px 12px 20px;
    font-size: 14px;
  }

  .content-tips-wrap {
    display: flex;
    flex-direction: column;
  }

  .content-tips-title {
    text-align: center;
  }

  .content-tips-desc {
    text-align: center;
  }

  .content-tips-btn {
    margin-top: 20px;
  }
}

/* ========== Responsive: 平板竖屏 / 手机 ========== */
@media (max-width: 768px) {

  .page-header {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
  }

  .page-header-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 0;
  }

  .product-title-wrap {
    border-bottom-width: 1px;
    font-size: 20px;
  }

  .product-title-line {
    margin-right: 12px;
    width: 6px;
    height: 22px;
  }

  .product-center-wrap {
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .product-center-item {
    width: calc((100% - 10px) / 2);
    border-radius: 10px;
  }



  .product-center-item-img {
    width: calc(100% - 16px);
    margin: 8px 8px 14px;
  }

  .product-center-item-text-1 {
    height: auto;
    min-height: 20px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .product-center-item-bottom {
    padding: 14px 10px 12px;
    font-size: 13px;
  }

  .product-center-item-bottom img {
    width: 16px;
    height: 16px;
  }

  .content-tips-wrap {
    display: flex;
    flex-direction: column;
  }

  .content-tips-title {
    text-align: center;
  }

  .content-tips-desc {
    text-align: center;
  }

  .content-tips-btn {
    margin-top: 20px;
  }
}

/* ========== Responsive: 小屏手机 ========== */
@media (max-width: 480px) {
  .page-header {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
  }

  .page-header-title {
    font-size: 20px;
    margin-top: 0;
    padding-top: 0;
  }

  .page-header .breadcrumb {
    font-size: 12px;
  }

  .product-title-wrap {
    padding-bottom: 0;
    font-size: 18px;
  }

  .product-center-item {
    width: calc((100% - 8px) / 2);
  }

  .product-center-item-text-1 {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
    line-height: 18px;
  }

  .product-center-item-bottom {
    padding: 12px 8px 10px;
    font-size: 12px;
  }

  .content-tips-wrap {
    display: flex;
    flex-direction: column;
  }

  .content-tips-title {
    text-align: center;
  }

  .content-tips-desc {
    text-align: center;
  }

  .content-tips-btn {
    margin-top: 20px;
  }
}