/**
 * 顶栏会员/询盘篮 + 公共 lang.html（gtranslate）
 * 外观对齐样板 .change-language（旗标 + 文案 + 下拉）
 */
:root {
  --xy-member-nav-avatar-bg: #222;
  --xy-member-nav-avatar-color: #fff;
  --xy-member-nav-icon-size: 24px;
  --xy-basket-nav-icon-size: 24px;
  --xy-basket-badge-bg: #9d152d;
  --xy-skin-primary: #9d152d;
}

.web_head .head_right {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  vertical-align: middle !important;
  overflow: visible !important;
  background-color: transparent !important;
  -webkit-flex-shrink: 0 !important;
  flex-shrink: 0 !important;
}

/* 强制隐藏系统第二枚搜索（压过 _common xy-member-nav.css） */
.web_head .xy-header-search,
.web_head li.xy-header-search,
.web_head .xy-header-extra-nav > li.xy-header-search,
.web_head .head_right .xy-header-search,
.web_head .xy-header-search-btn {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.web_head .head_right .xy-header-extra-nav {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  vertical-align: middle !important;
  overflow: visible !important;
}

.web_head .head_right .xy-header-extra-nav > li {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  overflow: visible !important;
  line-height: 1 !important;
}

.web_head .head_right .xy-header-extra-nav .xy-member-nav,
.web_head .head_right .xy-header-extra-nav .xy-basket-nav,
.web_head .head_right .xy-header-extra-nav .xy-wishlist-nav {
  --xy-member-nav-icon-size: 24px;
  --xy-basket-nav-icon-size: 24px;
  --xy-member-nav-avatar-bg: #222;
  color: #222 !important;
  opacity: 1 !important;
}

.web_head .head_right .xy-header-extra-nav a {
  color: #222 !important;
}

.web_head .head_right .xy-header-extra-nav .xy-member-nav-login,
.web_head .head_right .xy-header-extra-nav .xy-wishlist-nav a,
.web_head .head_right .xy-header-extra-nav .xy-basket-nav > a,
.web_head .head_right .xy-header-extra-nav .xy-basket-nav .xy-basket-nav-toggle,
.web_head .head_right .xy-header-extra-nav .xy-basket-nav .icon,
.web_head .head_right .xy-header-extra-nav .xy-basket-nav .icon > i,
.web_head .head_right .xy-header-extra-nav .xy-basket-nav .icon > svg,
.web_head .head_right .xy-basket-nav .icon > svg path {
  color: #222 !important;
  fill: #222 !important;
  opacity: 1 !important;
}
.web_head .head_right .xy-basket-nav .xy-basket-badge {
  background: #9d152d !important;
  color: #fff !important;
}

.web_head .xy-header-search-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
.web_head .xy-header-search-btn .icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
}
.web_head .xy-header-search-btn .icon svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

/* —— gtranslate 套进样板 .change-language —— */
.web_head .change-language {
  display: inline-block !important;
  position: relative !important;
  margin-left: 20px !important;
  text-align: left !important;
  vertical-align: middle !important;
  overflow: visible !important;
}

.web_head .change-language .xy-header-lang-switcher {
  line-height: 1 !important;
  overflow: visible !important;
}

.web_head .change-language .xy-header-lang-switcher #gt_float_wrapper {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  height: auto !important;
  z-index: 20 !important;
  display: block !important;
  overflow: visible !important;
}

.web_head .change-language .xy-header-lang-switcher .gt_float_switcher {
  position: relative !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 10pt !important;
  border-radius: 0 !important;
  overflow: visible !important;
  line-height: 1 !important;
}

.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt-selected {
  background: transparent !important;
  float: none !important;
  cursor: pointer !important;
}

/* 当前语言条 ≈ .change-language-title */
.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 10px 0 !important;
  min-height: 0 !important;
  color: #333 !important;
  font-size: 10pt !important;
  font-weight: 400 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  line-height: 1.4 !important;
}

.web_head .change-language:hover .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang,
.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang:hover {
  color: #9d152d !important;
  opacity: 1 !important;
}

.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang .gt-lang-code {
  position: static !important;
  top: auto !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

.web_head .change-language .xy-header-lang-switcher .gt_float_switcher img {
  width: 22px !important;
  height: 16px !important;
  max-width: 22px !important;
  max-height: 16px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  vertical-align: middle !important;
  object-fit: cover !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  background: transparent !important;
}

/* FA 下拉三角，对齐样板 .change-language-title a:after */
.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
  height: auto !important;
  width: auto !important;
  margin-left: 2px !important;
  background: none !important;
  opacity: 1 !important;
  font-family: 'fontawesome', FontAwesome !important;
  font-size: 12px !important;
  line-height: 1 !important;
  color: inherit !important;
  display: inline-block !important;
  -webkit-transition: transform .3s ease-in-out;
  transition: transform .3s ease-in-out;
}
.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow:before {
  content: "\f0d7";
}
.web_head .change-language:hover .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

/* 下拉面板 ≈ .change-language-cont */
.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt_options {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  width: 360px !important;
  max-width: min(360px, calc(100vw - 24px)) !important;
  max-height: 80vh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 20px 10px 20px 20px !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 0 0 5px 5px !important;
  border-top: 0 !important;
  box-shadow: none !important;
  z-index: 999 !important;
  float: none !important;
  white-space: normal !important;
  display: none !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: min-content !important;
  align-content: start !important;
  justify-items: stretch !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt_options.gt-open {
  display: grid !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt_options a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 10px 10px 0 !important;
  margin: 0 !important;
  color: #333 !important;
  font-size: 10pt !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-decoration: none !important;
  float: none !important;
  background: transparent !important;
}

.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt_options a:hover {
  background: transparent !important;
  color: #9d152d !important;
}

.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt_options a img {
  flex-shrink: 0 !important;
  width: 22px !important;
  height: 16px !important;
  max-width: 22px !important;
  max-height: 16px !important;
  margin: 0 !important;
  background: transparent !important;
}

.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt_options.gt-expanded {
  width: 360px !important;
  max-width: min(360px, calc(100vw - 24px)) !important;
}

.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt_options a.gt-lang-extra {
  display: none !important;
}

.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt_options.gt-expanded a.gt-lang-extra {
  display: flex !important;
}

.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt_options a.gt-lang-more {
  grid-column: 1 / -1 !important;
  justify-content: center !important;
  align-items: center !important;
  display: flex !important;
  gap: 6px !important;
  color: #9d152d !important;
  font-weight: 500 !important;
  font-size: 10pt !important;
  border-top: 1px solid #eee !important;
  margin-top: 6px !important;
  padding: 10px 12px 0 !important;
  text-decoration: none !important;
  white-space: normal !important;
}

.web_head .change-language .xy-header-lang-switcher .gt_float_switcher .gt_options a.gt-lang-more:hover {
  background: transparent !important;
  color: #333 !important;
}

.web_head,
.web_head .layout,
.web_head .head_right {
  overflow: visible !important;
}

.web_head:has(.gt_options.gt-open) {
  z-index: 1001;
  overflow: visible !important;
}

.fixed-nav .change-language .xy-header-lang-switcher .gt_float_switcher .gt_options {
  background-color: rgba(255, 255, 255, .95) !important;
}

@media only screen and (max-width: 950px) {
  body .web_head .change-language,
  body .web_head .head_right .xy-header-extra-nav > li.xy-header-lang,
  body .web_head li.xy-header-lang {
    display: none !important;
  }

  /* 手机红头栏：询盘篮白图标固定右侧 */
  .web_head .head_layer {
    position: relative !important;
  }
  .web_head .head_layer .layout {
    position: relative !important;
  }
  .web_head .head_right {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    left: auto !important;
    -webkit-transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
    z-index: 6 !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 8px !important;
  }
  .web_head .head_right .xy-header-extra-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .web_head .head_right .xy-basket-nav,
  .web_head .head_right .xy-basket-nav.is-visible,
  .web_head .head_right .xy-basket-nav.is-empty {
    display: inline-flex !important;
    visibility: visible !important;
  }
  .web_head .head_right .xy-basket-nav,
  .web_head .head_right .xy-basket-nav > a,
  .web_head .head_right .xy-basket-nav .xy-basket-nav-toggle,
  .web_head .head_right .xy-basket-nav .icon,
  .web_head .head_right .xy-basket-nav .icon > i,
  .web_head .head_right .xy-basket-nav .icon > svg,
  .web_head .head_right .xy-basket-nav .icon > svg path {
    color: #fff !important;
    fill: #fff !important;
    opacity: 1 !important;
  }
  .web_head .head_right .xy-basket-nav .xy-basket-badge {
    background: #fff !important;
    color: #9d152d !important;
  }
  .web_head .head_right .xy-member-nav,
  .web_head .head_right .xy-wishlist-nav {
    display: none !important;
  }
}

/* 产品详情：不显示数量步进器（询盘默认 qty=1） */
.product-summary .xy-product-qty-row {
  display: none !important;
}

/* 产品主图放大 — 对齐 rbl-hardware 42.6% / 52% */
.product-intro {
  overflow: visible;
}
.product-intro:after {
  content: "";
  display: block;
  clear: both;
  visibility: hidden;
  height: 0;
}
.product-view {
  position: relative;
  width: 42.6% !important;
  float: left;
  z-index: 2;
}
.product-view .product-image {
  position: relative;
  overflow: hidden;
  z-index: 2;
  background: #fff;
}
.product-view .product-image img {
  width: 100%;
  height: auto;
  display: block;
}
.product-view .image-additional {
  position: relative;
  z-index: 3;
  width: 92%;
  margin: 20px auto;
  overflow: hidden;
  background: #fff;
}
.product-view .cloud-zoom-big,
.product-view .cloud-zoom-lens,
.product-view .mousetrap {
  z-index: 1 !important;
}
/* 主图：禁用 cloud-zoom 遮罩，点击走 Fancybox 灯箱 */
.product-view .mousetrap,
.product-view .cloud-zoom-big,
.product-view .cloud-zoom-lens,
.product-view .cloud-zoom-loading {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
.product-view .product-image a.xy-product-main-link {
  display: block;
  cursor: zoom-in;
  position: relative;
  z-index: 5;
}
.product-view .product-image #wrap {
  position: static !important;
  width: auto !important;
  height: auto !important;
}
.product-summary {
  position: relative;
  width: 52% !important;
  float: right;
  padding: 10px 0;
}

@media only screen and (max-width: 950px) {
  .product-view {
    width: 100% !important;
    float: none;
    margin: 0 auto 24px;
  }
  .product-summary {
    width: 100% !important;
    float: none;
  }
  /* 手机端恢复主图（样板曾 display:none） */
  .product-view .product-image,
  .product-view .product-image.zoom_remove {
    display: block !important;
    width: 100%;
    margin: 0 0 12px;
    border: 1px solid #ddd;
    background: #fff;
  }
  .product-view .product-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
  .product-view .product-image a.xy-product-main-link {
    display: block !important;
    cursor: zoom-in;
  }
  /* 缩略图条保留在主图下方，不再整页大图轮播 */
  .product-view .image-additional {
    width: 92% !important;
    margin: 12px auto !important;
    overflow: hidden;
  }
  .product-view .image-additional li,
  .product-view .image-additional .swiper-slide {
    width: 33.3333% !important;
  }
  .product-view .image-additional li img {
    width: 70% !important;
    margin: 0 auto !important;
    border: 1px solid #c0c0c0 !important;
    padding: 1px;
    border-radius: 3px;
  }
  .product-view .image-additional li.current img {
    border: 2px solid #9d152d !important;
    padding: 0;
  }
  .product-view .image-additional li.single {
    display: none !important;
  }
}

/* 产品详情 CTA / 分享 — Inquire Now + Get a Quote 并排（参考 rbl） */
.product-btn-wrap .action-buttons {
  margin: 12px 0 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 12px;
}
.product-btn-wrap .action-buttons > link,
.product-btn-wrap .action-buttons > script,
.product-btn-wrap .action-buttons > style {
  display: none !important;
}
.product-btn-wrap .action-buttons > .xy-product-qty-row,
.product-btn-wrap .action-buttons > .xy-product-skus {
  -webkit-box-flex: 0;
  flex: 0 0 100%;
  width: 100%;
  order: 0;
}
.product-btn-wrap .action-buttons > form.xy-basket-add-form,
.product-btn-wrap .action-buttons > .xy-inquire-scroll-btn {
  order: 1;
  display: inline-flex !important;
  margin: 0 !important;
  vertical-align: middle;
}
.product-btn-wrap .action-buttons > .xy-product-inquiry-pop {
  order: 2;
  margin: 0 !important;
}
.product-btn-wrap .action-buttons > button.xy-product-inquiry-pop {
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.product-btn-wrap .action-buttons > .xy-product-wa-btn {
  order: 3;
  margin: 0 !important;
}
.product-btn-wrap .action-buttons > .xy-product-pdf-btn,
.product-btn-wrap .action-buttons > a.pdf {
  order: 4;
  margin: 0 !important;
}
.product-btn-wrap .xy-basket-add-btn,
.product-btn-wrap .xy-basket-buy-btn,
.product-btn-wrap .xy-buy-now-btn,
.product-btn-wrap .xy-inquire-scroll-btn,
.product-btn-wrap button[type="submit"],
.product-btn-wrap .xy-product-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 36px !important;
  height: auto !important;
  min-height: 40px;
  padding: 0 22px !important;
  margin: 0 !important;
  border: 2px solid #9d152d !important;
  border-radius: 3px !important;
  background: #9d152d !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  box-sizing: border-box;
  vertical-align: middle;
}
.product-btn-wrap .xy-basket-add-btn:hover,
.product-btn-wrap .xy-basket-buy-btn:hover,
.product-btn-wrap .xy-buy-now-btn:hover,
.product-btn-wrap .xy-inquire-scroll-btn:hover,
.product-btn-wrap button[type="submit"]:hover,
.product-btn-wrap .xy-product-cta:hover {
  background: #fff !important;
  color: #9d152d !important;
  border-color: #9d152d !important;
  opacity: 1;
}
/* Get a Quote：白底黑框描边，点击弹出询盘表单 */
.product-btn-wrap .xy-product-inquiry-pop {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 36px !important;
  min-height: 40px;
  padding: 0 22px !important;
  margin: 0 !important;
  border: 2px solid #222 !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: #222 !important;
  font-size: 14px !important;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  box-sizing: border-box;
  visibility: visible !important;
  opacity: 1 !important;
}
.product-btn-wrap .xy-product-inquiry-pop:hover {
  background: #222 !important;
  color: #fff !important;
  border-color: #222 !important;
}
.product-btn-wrap .xy-product-inquiry-pop:before,
.product-btn-wrap .xy-product-inquiry-pop:after {
  content: none !important;
  display: none !important;
}
.product-btn-wrap .xy-product-inquiry-pop > i,
.product-btn-wrap .xy-basket-add-btn > i,
.product-btn-wrap .xy-basket-buy-btn > i,
.product-btn-wrap .xy-inquire-scroll-btn > i,
.product-btn-wrap .xy-product-wa-btn > i {
  display: inline-block !important;
  margin-right: 10px !important;
  font-size: 15px;
  line-height: 1;
  width: 1em;
  text-align: center;
  vertical-align: middle;
}
.product-btn-wrap .xy-product-inquiry-pop > span,
.product-btn-wrap .xy-basket-add-btn > span,
.product-btn-wrap .xy-basket-buy-btn > span,
.product-btn-wrap .xy-inquire-scroll-btn > span,
.product-btn-wrap .xy-product-wa-btn > span {
  display: inline-block;
  vertical-align: middle;
}
.product-btn-wrap .xy-product-wa-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 36px !important;
  min-height: 40px;
  padding: 0 22px !important;
  margin: 0 !important;
  border: 2px solid #25d366 !important;
  border-radius: 3px !important;
  background: #25d366 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600;
  text-decoration: none !important;
}
.product-btn-wrap .xy-product-wa-btn:hover {
  background: #fff !important;
  color: #25d366 !important;
  border-color: #25d366 !important;
}
.product-btn-wrap .xy-product-pdf-link {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
}
.product-btn-wrap .xy-product-pdf-link a.pdf,
.product-btn-wrap .action-buttons > a.pdf,
.product-btn-wrap .action-buttons > .xy-product-pdf-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 36px !important;
  min-height: 40px;
  padding: 0 20px !important;
  margin: 0 !important;
  border: 2px solid #9d152d !important;
  border-radius: 3px !important;
  background: #9d152d !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 600;
  box-sizing: border-box;
}
.product-btn-wrap .xy-product-pdf-link a.pdf:hover,
.product-btn-wrap .action-buttons > a.pdf:hover,
.product-btn-wrap .action-buttons > .xy-product-pdf-btn:hover {
  background: #fff !important;
  color: #9d152d !important;
}
.product-btn-wrap .xy-product-pdf-link a.pdf:before,
.product-btn-wrap .action-buttons > a.pdf:before,
.product-btn-wrap .action-buttons > .xy-product-pdf-btn:before {
  display: none;
}
.product-btn-wrap .email:before {
  display: none;
}
/* 隐藏旧 Send Email，避免与 Get a Quote 重复 */
.product-btn-wrap .action-buttons > a.email:not(.xy-product-inquiry-pop) {
  display: none !important;
}

.product-summary .share-this {
  float: none;
  margin: 16px 0 0;
  text-align: left;
}
.product-summary .share-this a {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  margin: 0 8px 0 0;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  vertical-align: middle;
  font-size: 14px;
}
.product-summary .share-this a:hover {
  background: #9d152d;
  color: #fff;
}
.product-summary .share-this .share-sns-svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

/* 侧栏分类：子级比上级多缩进一截 */
.side-cate > li > a {
  padding-left: 18px !important;
}
.side-cate li li a {
  padding-left: 36px !important;
}
.side-cate li li li a {
  padding-left: 52px !important;
}

/* 规格名与值之间加冒号 */
.product-summary .product-meta li em:after {
  content: ":";
  margin-right: 6px;
}

/* 右侧摘要区 h1 标题 */
.product-summary .product-summary-title,
.product-summary > h1.page_title {
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid #ddd;
  font-size: 22px;
  line-height: 1.35;
  text-align: left;
  font-weight: 600;
  color: #222;
}

/* Product Tags 面板美化（对齐 rbl，主色酒红） */
.product-detail .tags-wrap--panel,
#tags .tags-wrap {
  margin-top: 0;
  padding: 12px 0 4px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
}
.product-detail .tags-wrap a,
#tags .tags-wrap a {
  display: inline-block;
  margin: 0;
  padding: 7px 14px;
  background: #f5f5f5;
  color: #555;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.3;
  -webkit-transition: background .2s ease, color .2s ease, border-color .2s ease;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.product-detail .tags-wrap a:hover,
#tags .tags-wrap a:hover {
  background: #9d152d;
  border-color: #9d152d;
  color: #fff;
}

/* Related Products：标题栏右侧白箭头，对齐样板 PRODUCTS CATEGORIES */
.goods-may-like {
  position: relative;
  overflow: visible;
}
.goods-may-like .goods-may-like-hd {
  position: relative;
  background-color: #9d152d;
  margin: 50px 0 20px;
  min-height: 40px;
}
.goods-may-like .layer-bd .swiper-slider .swiper-slide,
.goods-may-like .product_item {
  width: auto;
  box-sizing: border-box;
}
@media only screen and (min-width: 951px) {
  .goods-may-like .layer-bd .swiper-slider .swiper-slide,
  .goods-may-like .product_item {
    width: 25%;
  }
}
.goods-may-like .goods-may-like-hd .title {
  margin: 0 !important;
  padding: 0 72px 0 15px !important;
  line-height: 40px !important;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  background: none !important;
  color: #fff;
}
.goods-may-like .goods-may-like-hd .swiper-control {
  position: absolute !important;
  right: 6px;
  top: 0;
  bottom: 0;
  width: auto;
  height: auto !important;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 2px;
  z-index: 5;
}
.goods-may-like .goods-may-like-hd .swiper-button-prev,
.goods-may-like .goods-may-like-hd .swiper-button-next {
  position: static !important;
  display: inline-block !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 28px !important;
  text-align: center;
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  color: #fff !important;
  cursor: pointer;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  -webkit-transform: none !important;
  transform: none !important;
}
.goods-may-like .goods-may-like-hd .swiper-button-prev:after,
.goods-may-like .goods-may-like-hd .swiper-button-next:after {
  display: none !important;
  content: none !important;
  font-size: 0 !important;
}
.goods-may-like .goods-may-like-hd .swiper-button-prev:before,
.goods-may-like .goods-may-like-hd .swiper-button-next:before {
  font-family: "fontawesome" !important;
  font-style: normal;
  font-weight: normal;
  font-size: 18px !important;
  line-height: 28px !important;
  color: #fff !important;
  display: inline-block;
  speak: none;
}
.goods-may-like .goods-may-like-hd .swiper-button-prev:before {
  content: "\f104" !important;
}
.goods-may-like .goods-may-like-hd .swiper-button-next:before {
  content: "\f105" !important;
}
.goods-may-like .goods-may-like-hd .swiper-button-prev:hover:before,
.goods-may-like .goods-may-like-hd .swiper-button-next:hover:before {
  opacity: 0.75;
}
.goods-may-like .goods-may-like-hd .swiper-button-disabled {
  opacity: 0.45 !important;
  cursor: default;
}

@media only screen and (max-width: 950px) {
  .goods-may-like .goods-may-like-hd {
    margin: 40px 0 20px;
  }
  /* 覆盖样板移动端圆形黑钮，保持标题栏白箭头 */
  .goods-may-like .goods-may-like-hd .swiper-control {
    position: absolute !important;
  }
  .goods-may-like .goods-may-like-hd .swiper-button-prev,
  .goods-may-like .goods-may-like-hd .swiper-button-next {
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    margin-top: 0 !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
  }
}

/* 下载列表（内页统一壳） */
.download-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.download-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}
.download-item-icon {
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  background: #f5f5f5;
  color: #9d152d;
  border-radius: 3px;
  font-size: 18px;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}
.download-item-body {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
}
.download-item-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}
.download-item-meta {
  margin: 0;
  color: #888;
  font-size: 13px;
}
.download-item-meta span + span {
  margin-left: 12px;
}
.download-item-action .item-button {
  display: inline-block;
  padding: 8px 16px;
  background: #9d152d;
  color: #fff !important;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
}
.download-item-action .item-button:hover {
  opacity: 0.88;
}
.download-detail {
  border-bottom: 0;
  padding: 0;
  -webkit-box-align: flex-start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}
.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}
.sitemap-list li {
  margin: 0 0 10px;
  break-inside: avoid;
}
.sitemap-list a {
  color: #333;
}
.sitemap-list a:hover {
  color: #9d152d;
}
@media only screen and (max-width: 768px) {
  .sitemap-list {
    columns: 1;
  }
  .download-item {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

/* FAQ 内页美化 */
.faq_list--page {
  max-width: 960px;
  margin: 8px auto 40px;
}
.faq_list--page .faq-item {
  position: relative;
  margin: 0 0 12px;
  padding: 0 20px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  background: #fff;
  -webkit-transition: border-color .2s ease, box-shadow .2s ease;
  transition: border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.faq_list--page .faq-item:hover,
.faq_list--page .faq-item.is-open {
  border-color: #9d152d;
  box-shadow: 0 4px 14px rgba(157, 21, 45, 0.08);
}
.faq_list--page .faq-item .faq-title {
  position: relative;
  margin: 0;
  padding: 16px 36px 16px 0;
  font-size: 16px;
  line-height: 1.45;
  cursor: pointer;
  color: #222;
}
.faq_list--page .faq-item .faq-title h3 {
  margin: 0;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
}
.faq_list--page .faq-item .faq-title .faq-num {
  display: inline-block;
  min-width: 32px;
  height: 32px;
  line-height: 32px;
  margin-right: 12px;
  padding: 0 6px;
  text-align: center;
  border-radius: 50%;
  background: #9d152d;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}
.faq_list--page .faq-item .faq-title:before {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -10px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  content: "\f067";
  font-family: "fontawesome";
  font-size: 14px;
  color: #9d152d;
}
.faq_list--page .faq-item .faq-title.show-title:before {
  content: "\f068";
}
.faq_list--page .faq-item .faq-cont {
  display: none;
  margin: 0;
  padding: 0 0 18px 44px;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}
.faq_list--page .faq-item:first-child .faq-cont {
  display: block;
}
.faq_list--page .faq-item:first-child .faq-title {
  /* first open state handled by common.js show-title */
}
@media only screen and (max-width: 768px) {
  .faq_list--page .faq-item .faq-cont {
    padding-left: 0;
  }
}

/* Related News — 一行 4 个横向卡片 */
.blog_list--related {
  margin-top: 48px;
  padding-top: 8px;
}
.blog_list--related > .page_title {
  margin: 0 0 28px;
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: normal;
  letter-spacing: .02em;
  color: #222;
}
.blog_list--related > ul {
  list-style: none;
  margin: 0 -12px;
  padding: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.blog_list--related .blog-item {
  width: 25%;
  float: none;
  box-sizing: border-box;
  padding: 0 12px 8px;
  background: transparent !important;
  overflow: visible;
  position: relative;
}
.blog_list--related .blog-item:before {
  display: none !important;
  content: none !important;
}
.blog_list--related .blog-item .item-wrap {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.blog_list--related .blog-item .item-img {
  float: none;
  display: block;
  max-width: none;
  width: 100%;
  margin: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.blog_list--related .blog-item .item-img:before {
  content: "";
  display: block;
  padding-top: 75%;
}
.blog_list--related .blog-item .item-img img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-transition: transform .45s ease;
  transition: transform .45s ease;
}
.blog_list--related .blog-item:hover .item-img img {
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
}
.blog_list--related .blog-item .item-date {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  min-width: 48px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, .96);
  color: #222;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
  pointer-events: none;
}
.blog_list--related .blog-item .item-date-day {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
}
.blog_list--related .blog-item .item-date-mon {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9d152d;
}
.blog_list--related .blog-item .item-info {
  padding: 14px 4px 0;
  text-align: center;
}
.blog_list--related .blog-item .item-info .item-title {
  height: auto;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: normal;
  overflow: visible;
}
.blog_list--related .blog-item .item-info .item-title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #333;
  text-decoration: none;
}
.blog_list--related .blog-item .item-info .item-title a:hover {
  color: #9d152d;
}
@media only screen and (max-width: 991px) {
  .blog_list--related .blog-item {
    width: 50%;
    padding-bottom: 20px;
  }
}
@media only screen and (max-width: 560px) {
  .blog_list--related > ul {
    margin: 0 -6px;
  }
  .blog_list--related .blog-item {
    width: 50%;
    padding: 0 6px 16px;
  }
  .blog_list--related .blog-item .item-date {
    left: 8px;
    bottom: 8px;
    min-width: 42px;
    padding: 6px 8px;
  }
  .blog_list--related .blog-item .item-date-day {
    font-size: 17px;
  }
  .blog_list--related .blog-item .item-info .item-title {
    font-size: 14px;
  }
}

/* 404 page content (shell uses site container; block styles from default theme) */
.xy-404 {
  text-align: center;
  padding: 72px 20px 48px;
  max-width: 880px;
  margin: 0 auto;
}
.xy-404-code {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: var(--xy-skin-primary, #9d152d);
  letter-spacing: 0.04em;
}
.xy-404-title {
  margin: 12px 0 8px;
  font-size: 24px;
  color: #1a2332;
}
.xy-404-desc {
  margin: 0 0 28px;
  color: #6b7c90;
  font-size: 15px;
  line-height: 1.6;
}
.xy-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.xy-404-actions a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.xy-404-actions a.primary {
  background: var(--xy-skin-primary, #9d152d);
  color: #fff !important;
}
.xy-404-actions a.ghost {
  border: 1px solid #d5dde8;
  color: var(--xy-skin-primary, #9d152d);
  background: #fff;
}
.xy-404-sec {
  text-align: left;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e8eef4;
}
.xy-404-sec h2 {
  margin: 0 0 14px;
  font-size: 16px;
  color: #1a2332;
}
.xy-404-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.xy-404-links a {
  color: var(--xy-skin-primary, #9d152d);
  text-decoration: none;
  font-size: 14px;
}
.xy-404-pro {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.xy-404-pro li a {
  display: block;
  text-decoration: none;
  color: #1a2332;
  border: 1px solid #e8eef4;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.xy-404-pro img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f8fafc;
}
.xy-404-pro span {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.4;
  min-height: 2.8em;
}
@media only screen and (max-width: 768px) {
  .xy-404-pro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .xy-404-code {
    font-size: 56px;
  }
}
