/* 产品列表区 */
.products-list{
  margin:0;
  padding:0;
  list-style: none;
}
.products-list li{
  padding: 0.5rem 1rem;
  
}
.products-list li:hover{
  background-color:#ffca80;
}
.products-list .card img{
  min-height: 12.5rem;
}
.products-list .card-body {
  height: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.products-list .card-body .card-title{
  border-bottom: 1px solid #ccc;
  padding-bottom: .25rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.products-list .card-body .card-text{
  font-size: 0.875rem;
  color: #666;
  height: 2.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.products-list .card-body a{
  text-align:center;
  text-decoration: none;
  /* color:#333; */
  width:100%
}


/* 产品详情 */

.products-body {
   position:relative;
}
.products-body .product-title {
  padding: 1.25rem 0 .5rem;
  border-bottom: 1px solid #ccc;
  text-align: center;
}
.products-body .product-title h1 {
  margin-bottom: 0.5rem;
  /* font-size: 1.5rem; */
}
.products-body .product-title .primary {
  font-size: 1rem;
  color: #666;
}

.products-body .product-content{
  margin:1rem auto;
  padding: 1rem;
  background-color: #fff;
  border-radius: 0.25rem;
}
.products-body .product-content .product-spic{
  /* width:100%; */
  padding:1rerm;
  border:1px solid #ccc;
}
.products-body .product-content .product-spic img{
  width:100%;
}
.product-content .product-info{
  padding: 1rem;
  height: 100%;
  
}
.product-content .product-info .product-name{
  margin-bottom: 1rem;
  
  font-size:1.5rem;
  font-weight:200;
  
  border-bottom:1px solid #ccc;
}
.product-content .product-info h2{ display:inline-block; 
}
.nametip {
  padding:1rem;
  display:inline-block;
  background:#00008b;
  color:#fff;
 
}
.product-description{
  padding: 1rem;
  background: #f5f5f5;
  height: 5.75rem;
  overflow: hidden;
}
.product-description span{
  font-weight: bold;
  color: #00008b;
}

.btn-buy{
  display:block;
  margin:1rem auto;
  background-color: #ff9500;
  color: #fff;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s;
}
.btn-buy:hover{
  background-color: #ff4000;
  color:#fff;
}
/* 参数 */
.product-params {
  padding:1rem;
  
}
.product-params ul{ 
  list-style: none;
  display:flex;
  flex-wrap: wrap;
  flex-direction: row;
}
.product-params ul li{
  padding: 0.5rem 1rem;
  line-height:1.5rem;
  flex:1 1 50%;
  border-bottom: 1px solid #eee;
}

/* 产品详情介绍篇 */
.product-section-title{
  background:#f5f5f5;
  padding:0.75rem;
  border-bottom:1px solid #eee;
  border-left:10px solid #00008B;
}
.product-section-title h2{
  font-weight: 400;
  font-size:1.25rem;
}
.product-section{
  margin-top: 1rem;
  padding:1rem;
}
.product-section p{
  text-indent: 2rem;
  line-height:2rem;
  color:#666;
}

/* 文章内链样式 */
.product-section a:hover{
   
  text-decoration: none;
}

  .product-section a:after{

  font-family: 'Font Awesome 5 Free';
  content: "@";
  font-weight: 400;
  font-display: block;
  src: url("../webfonts/fa-regular-400.eot");
  src: url("../webfonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-regular-400.woff2") format("woff2"), url("../webfonts/fa-regular-400.woff") format("woff"), url("../webfonts/fa-regular-400.ttf") format("truetype"), url("../webfonts/fa-regular-400.svg#fontawesome") format("svg"); 
}

/* 文章内表格样式定义 */
  .product-section table {
    width: 80%;
    border-collapse: collapse;
    margin: 1rem auto;
    caption-side: top;
  }
   .product-section table caption{
    text-align:center;
   }
   .product-section table th,
   .product-section table td {
     padding: 0.5rem;
     border: 1px solid #ccc;
   }  
   .product-section table th{
    text-align:center;
   }
   .product-section table tr:nth-child(even) {
     background-color: #f5f5f5;
   }
   /* .product-section table th:first-child,
   .product-section table td:first-child {
     background-color: #f5f5f5;
     width:15%
   } */

    .product-section img{
      display: block;
      max-width: 80%;
      height: auto;
      margin:0.25rem auto;
      border: none;
    }


    /* 推荐产品列表 */
    .related-products{
      margin:1rem auto;
      background:#fff;
      padding:1rem 0;
    }
    .related-products .products-title{
      background:#00008a;
      color:#fff;
      line-height:2rem;
      padding:0.75rem;
    }
     .related-products h3{
      font-weight:300;
      font-size:1.125rem;
     }
    .promote-list{
      list-style:none;
      padding:0;
      margin:.5rem auto;
    }