/*! xy-product-list — product cards + pagination (brand #004B87 / #FCC900) */
.w101-featured-grid .w-blog-list,
.w101-product-list .w-blog-list{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:stretch !important;
  margin:0 -10px !important;
}
/* 去掉产品列表外层大边框（主题 .w-blog-list{border:1px solid #ddd}） */
.w101-product-list .w-blog-list{
  border:none !important;
  padding:0 !important;
  outline:none !important;
  box-shadow:none !important;
  background:transparent !important;
}

.w101-featured-grid .w-blog-post,
.w101-product-list .w-blog-post{
  display:flex !important;
  flex-direction:column !important;
  float:none !important;
  padding:0 10px 20px !important;
  box-sizing:border-box !important;
  margin:0 !important;
}
.w101-product-list.cols_2 .w-blog-post,
.w101-featured-grid.cols_2 .w-blog-post{width:50% !important;}
.w101-product-list.cols_3 .w-blog-post,
.w101-featured-grid.cols_3 .w-blog-post{width:33.3333% !important;}
.w101-product-list.cols_4 .w-blog-post,
.w101-featured-grid.cols_4 .w-blog-post{width:25% !important;}
.w101-product-list.cols_5 .w-blog-post,
.w101-featured-grid.cols_5 .w-blog-post{width:20% !important;}
.w101-product-list.cols_6 .w-blog-post,
.w101-featured-grid.cols_6 .w-blog-post{width:16.6667% !important;}
.w101-featured-grid .w-blog-post-h,
.w101-product-list .w-blog-post-h{
  height:100% !important;
  flex:1 1 auto !important;
  display:flex !important;
  flex-direction:column !important;
  background:#fff !important;
  border-radius:8px !important;
  overflow:hidden !important;
  box-shadow:0 2px 12px rgba(0,0,0,.08) !important;
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease !important;
  border:1px solid transparent !important;
}
.w101-featured-grid .w-blog-post-h:hover,
.w101-product-list .w-blog-post-h:hover{
  transform:translateY(-4px) !important;
  box-shadow:0 8px 24px rgba(0,75,135,.16) !important;
  border-color:rgba(0,75,135,.28) !important;
}
.w101-featured-grid .w-blog-post-preview,
.w101-product-list .w-blog-post-preview{
  aspect-ratio:1/1 !important;
  overflow:hidden !important;
  background:#f5f7fa !important;
  position:relative !important;
}
.w101-featured-grid .w-blog-post-preview > a,
.w101-product-list .w-blog-post-preview > a{
  display:block !important;
  width:100% !important;
  height:100% !important;
}
.w101-featured-grid .w-blog-post-preview img,
.w101-product-list .w-blog-post-preview img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
  transition:transform .4s ease !important;
}
.w101-featured-grid .w-blog-post-h:hover .w-blog-post-preview img,
.w101-product-list .w-blog-post-h:hover .w-blog-post-preview img{
  transform:scale(1.04) !important;
}
.w101-featured-grid .w-blog-post-body,
.w101-product-list .w-blog-post-body{
  padding:14px 12px 16px !important;
  flex:1 1 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  max-width:none !important;
}
.w101-featured-grid .w-blog-list .w-blog-post-title,
.w101-product-list .w-blog-list .w-blog-post-title{
  font-size:14px !important;
  font-weight:500 !important;
  line-height:1.45 !important;
  text-align:center !important;
  margin:0 !important;
  min-height:calc(1.45em * 2) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.w101-featured-grid .w-blog-post-title a,
.w101-product-list .w-blog-post-title a{
  color:#161e21 !important;
  text-decoration:none !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
.w101-featured-grid .w-blog-post-title a:hover,
.w101-product-list .w-blog-post-title a:hover{
  color:#004B87 !important;
}
.w101-featured-grid .w-blog-post-preview .ovrlyT,
.w101-featured-grid .w-blog-post-preview .ovrlyB,
.w101-product-list .w-blog-post-preview .ovrlyT,
.w101-product-list .w-blog-post-preview .ovrlyB{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  height:50% !important;
  background:rgba(0,75,135,.38) !important;
  opacity:0 !important;
  transition:opacity .3s ease !important;
  z-index:2 !important;
  pointer-events:none !important;
}
.w101-featured-grid .w-blog-post-preview .ovrlyT,
.w101-product-list .w-blog-post-preview .ovrlyT{top:0 !important;}
.w101-featured-grid .w-blog-post-preview .ovrlyB,
.w101-product-list .w-blog-post-preview .ovrlyB{bottom:0 !important;}
.w101-featured-grid .w-blog-post-h:hover .ovrlyT,
.w101-featured-grid .w-blog-post-h:hover .ovrlyB,
.w101-product-list .w-blog-post-h:hover .ovrlyT,
.w101-product-list .w-blog-post-h:hover .ovrlyB{opacity:1 !important;}
.w101-featured-grid .w-blog-post-preview .buttons,
.w101-product-list .w-blog-post-preview .buttons{
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  transform:translate(-50%,-50%) !important;
  z-index:3 !important;
  opacity:0 !important;
  transition:opacity .3s ease !important;
}
.w101-featured-grid .w-blog-post-h:hover .buttons,
.w101-product-list .w-blog-post-h:hover .buttons{opacity:1 !important;}
.w101-featured-grid .w-blog-post-preview .buttons .fa,
.w101-product-list .w-blog-post-preview .buttons .fa{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:44px !important;
  height:44px !important;
  border-radius:50% !important;
  background:#004B87 !important;
  color:#fff !important;
  font-size:18px !important;
  text-decoration:none !important;
  transition:background .25s ease,transform .25s ease,color .25s ease !important;
}
.w101-featured-grid .w-blog-post-preview .buttons .fa:hover,
.w101-product-list .w-blog-post-preview .buttons .fa:hover{
  background:#FCC900 !important;
  color:#0c2340 !important;
  transform:scale(1.06) !important;
}
.sidebar_left.titlebar_default .l-main .l-sidebar,
.sidebar_right.titlebar_default .l-main .l-sidebar,
.sidebar_left.titlebar_default .l-main .l-content .l-section-h,
.sidebar_right.titlebar_default .l-main .l-content .l-section-h{
  padding-top:1.67rem !important;
}
/* 左侧 PRODUCT CATEGORIES 与右侧 cat-desc 顶对齐 */
.sidebar_left.titlebar_default .l-sidebar.at_left > .widget:first-child > .widgettitle,
.sidebar_left.titlebar_default .l-sidebar.default_sidebar > .widget:first-child > .widgettitle{
  margin-top:28px !important;
}

.sidebar_left.titlebar_default section.w101-product-list-section{
  margin-top:28px !important;
}
.w101-product-list-section .l-section-h{
  padding:1.67rem 0 2.5rem !important;
}
@media (max-width:900px){
  .sidebar_left.titlebar_default section.w101-product-list-section{margin-top:0 !important;}
}
.w101-product-list .g-pagination{
  clear:both !important;
  margin:8px 0 0 !important;
  text-align:center !important;
}
.w101-product-list .g-pagination .nav-links{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
}
.w101-product-list .g-pagination .nav-links > a.page-numbers,
.w101-product-list .g-pagination .nav-links > span.page-numbers{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:40px !important;
  height:40px !important;
  padding:0 12px !important;
  border:1px solid #d5dbe3 !important;
  border-radius:4px !important;
  font-size:15px !important;
  font-weight:600 !important;
  line-height:1 !important;
  color:#1a1a1a !important;
  text-decoration:none !important;
  background:#fff !important;
  box-shadow:none !important;
  overflow:visible !important;
  vertical-align:middle !important;
  transition:background .25s ease,color .25s ease,border-color .25s ease !important;
}
.w101-product-list .g-pagination .nav-links > a.page-numbers span,
.w101-product-list .g-pagination .nav-links > span.page-numbers span{
  display:inline-block !important;
  line-height:1 !important;
  font-size:15px !important;
  font-weight:600 !important;
  color:inherit !important;
  vertical-align:middle !important;
}
.w101-product-list .g-pagination .nav-links > a.page-numbers:hover,
.w101-product-list .g-pagination .nav-links > a.page-numbers:focus{
  background:#004B87 !important;
  border-color:#004B87 !important;
  color:#fff !important;
}
.w101-product-list .g-pagination .nav-links > span.page-numbers.current{
  background:#004B87 !important;
  border-color:#004B87 !important;
  color:#fff !important;
}
.w101-product-list .g-pagination .nav-links > span.page-numbers.current span{
  color:#fff !important;
}

/* 主题 .pagination .page-numbers.next{font-size:0} 会把末页数字藏掉 */
.w101-product-list .g-pagination .nav-links > a.page-numbers.prev,
.w101-product-list .g-pagination .nav-links > a.page-numbers.next{
  font-size:15px !important;
  color:#1a1a1a !important;
}
.w101-product-list .g-pagination .nav-links > a.page-numbers.prev:after,
.w101-product-list .g-pagination .nav-links > a.page-numbers.next:after,
.w101-product-list .g-pagination .nav-links > a.page-numbers.prev:before,
.w101-product-list .g-pagination .nav-links > a.page-numbers.next:before{
  display:none !important;
  content:none !important;
  font-size:0 !important;
}
/* 末页/下页数字：避免被主题 .next 伪元素挤掉 */
.w101-product-list .g-pagination .nav-links > a.next.page-numbers,
.w101-product-list .g-pagination .nav-links > a.prev.page-numbers{
  min-width:44px !important;
  letter-spacing:0 !important;
}
.w101-product-list .g-pagination .nav-links > a.next.page-numbers:before,
.w101-product-list .g-pagination .nav-links > a.prev.page-numbers:before{
  display:none !important;
  content:none !important;
}
.w101-product-related{margin-top:32px;}
.w101-product-related .w101-product-list{margin-top:0;}
@media only screen and (max-width:1200px){
  .w101-product-list.cols_5 .w-blog-post,
  .w101-featured-grid.cols_5 .w-blog-post{width:25% !important;}
  .w101-product-list.cols_6 .w-blog-post,
  .w101-featured-grid.cols_6 .w-blog-post{width:25% !important;}
}
@media only screen and (max-width:991px){
  .w101-product-list.cols_4 .w-blog-post,
  .w101-product-list.cols_5 .w-blog-post,
  .w101-product-list.cols_6 .w-blog-post,
  .w101-featured-grid.cols_4 .w-blog-post,
  .w101-featured-grid.cols_5 .w-blog-post,
  .w101-featured-grid.cols_6 .w-blog-post{width:33.3333% !important;}
}
@media only screen and (max-width:767px){
  .w101-product-list-section .l-section-h{padding:60px 0 2rem !important;}
  .w101-product-list.cols_2 .w-blog-post,
  .w101-product-list.cols_3 .w-blog-post,
  .w101-product-list.cols_4 .w-blog-post,
  .w101-product-list.cols_5 .w-blog-post,
  .w101-product-list.cols_6 .w-blog-post,
  .w101-featured-grid.cols_2 .w-blog-post,
  .w101-featured-grid.cols_3 .w-blog-post,
  .w101-featured-grid.cols_4 .w-blog-post,
  .w101-featured-grid.cols_5 .w-blog-post,
  .w101-featured-grid.cols_6 .w-blog-post{width:50% !important;}
  .w101-product-list .w-blog-list .w-blog-post-title,
  .w101-featured-grid .w-blog-list .w-blog-post-title{font-size:13px !important;}
}

/* PRODUCTS 顶栏压缩高度 */
.l-titlebar.size_large{
  padding-top: 130px !important; /* 原约155，贴顶栏略收 */
}
.l-titlebar.size_large .l-titlebar-h{
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  margin-bottom: -16px !important;
}
.l-titlebar.size_large .l-titlebar-h h1{
  font-size: 24px !important;
  line-height: 30px !important;
  margin: 0 !important;
}
.l-titlebar.size_large .g-breadcrumbs{
  margin-top: 6px !important;
  margin-bottom: 0 !important;
}
.l-titlebar.size_large .g-breadcrumbs,
.l-titlebar.size_large .g-breadcrumbs ol,
.l-titlebar.size_large .g-breadcrumbs li{
  line-height: 1.4 !important;
}

/* 侧栏 PRODUCT CATEGORIES 标题美化 */
.l-sidebar .widget_categories .widgettitle,
.l-sidebar .widget .widgettitle{
  background: linear-gradient(90deg, #004B87 0%, #0a5fa8 100%) !important;
  color: #fff !important;
  height: 48px !important;
  line-height: 48px !important;
  padding: 0 16px 0 56px !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 6px 6px 0 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 8px rgba(0,75,135,.18) !important;
  position: relative !important;
  overflow: hidden !important;
}
.l-sidebar .widget .widgettitle::before{
  background-color: rgba(0,0,0,.18) !important;
  background-image: url("../images/icon-ver-menu.png") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 6px 0 0 0 !important;
}
.l-sidebar .widget .widgettitle::after{
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 3px !important;
  background: #FCC900 !important;
}
.l-sidebar .widget_categories ul{
  border: 1px solid #e6ebf0 !important;
  border-top: none !important;
  border-radius: 0 0 6px 6px !important;
  overflow: hidden !important;
  background: #fff !important;
}
.l-sidebar .widget_categories{
  border-radius: 6px !important;
  overflow: visible !important;
}
