@font-face {
  font-family: jost;
  src: url(/css/jost.ttf);
}

body * {
  font-family: jost, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

html {
  overflow-x: hidden;
}

body {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  font-size: 16px;
  line-height: 1.3;
  color: #000;
}

/* 克隆页：菜单同步完成前不展示静态导航，避免完整菜单闪现 */
.cloned-page:not([data-nav-synced]) .head .nav,
.cloned-page:not([data-nav-synced]) .wap_nav {
  visibility: hidden;
}

.commer::after {
  content: "";
  display: table;
  clear: both;
}

/* ===== 首页 inline style（来自原站 page.html） ===== */
.commer > .title.productClass {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  float: none;
  text-align: center;
  clear: both;
}

#owl-demoa {
  max-width: 1600px;
  margin: 40px auto 140px;
  float: none;
  overflow: hidden;
  position: relative;
}

.news_b {
  width: calc(100% - 140px);
}

/* ===== Banner / #index ===== */
#index::after {
  content: "";
  display: table;
  clear: both;
}

#index {
  position: relative;
}

#owl-demo.owl-carousel,
#owl-demo-a.owl-carousel,
#owl-demoa.owl-carousel {
  display: block !important;
}

#owl-demo .owl-controls,
#owl-demo-a .owl-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#owl-demo .owl-buttons,
#owl-demo-a .owl-buttons {
  pointer-events: auto;
}

#owl-demo .owl-controls .owl-buttons div,
#owl-demo-a .owl-controls .owl-buttons div,
#owl-demoa .owl-controls .owl-buttons div {
  cursor: pointer;
}

/* 首页轮播左右箭头 hover：品牌色 #F47C5B（替换原黄色 prce-h / next-h 图） */
#owl-demo .owl-controls .owl-buttons .owl-prev:hover,
#owl-demo .owl-controls .owl-buttons .owl-next:hover,
#owl-demo-a .owl-controls .owl-buttons .owl-prev:hover,
#owl-demo-a .owl-controls .owl-buttons .owl-next:hover,
#owl-demoa .owl-controls .owl-buttons .owl-prev:hover,
#owl-demoa .owl-controls .owl-buttons .owl-next:hover {
  background-color: #F47C5B !important;
  background-image: none !important;
  border-radius: 50%;
}

#owl-demo .owl-controls .owl-buttons .owl-prev:hover::after,
#owl-demo-a .owl-controls .owl-buttons .owl-prev:hover::after,
#owl-demoa .owl-controls .owl-buttons .owl-prev:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translate(-40%, -50%) rotate(-45deg);
}

#owl-demo .owl-controls .owl-buttons .owl-next:hover::after,
#owl-demo-a .owl-controls .owl-buttons .owl-next:hover::after,
#owl-demoa .owl-controls .owl-buttons .owl-next:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translate(-60%, -50%) rotate(135deg);
}

#owl-demoa .owl-demoa-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
  width: calc(100% * var(--item-count, 7) / var(--visible-count, 3));
}

#owl-demoa .item {
  flex: 0 0 calc(100% / var(--item-count, 7));
  box-sizing: border-box;
  padding: 6px;
  position: relative;
  display: block;
}

#owl-demoa .tupian img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
}

#owl-demoa .owl-controls {
  position: absolute;
  width: 100%;
  top: auto;
  bottom: -80px;
  left: 0;
}

/* more 按钮：沿用 layout.css 浮动，仅补文字水平居中 */
.yyt .more a,
.kuande .more a {
  text-align: center;
}

/* ===== 右侧悬挂社交栏 ===== */
#global-social-sidebar.foot_bootom {
  position: fixed;
  right: 12px;
  top: calc(50% - 100px);
  width: 52px;
  border-radius: 6px;
  z-index: 9999;
  background: #fff;
}

#global-social-sidebar .foot_right {
  float: none !important;
  margin: 0 !important;
}

#global-social-sidebar .bshare-custom a {
  display: block;
  width: 40px;
  height: 40px;
  margin: 2px auto;
  padding: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px;
  box-sizing: border-box;
}

#global-social-sidebar .bshare-custom .ico01 {
  background-image: url(/images/ico01.png);
}

#global-social-sidebar .bshare-custom .ico02 {
  background-image: url(/images/ico02.png);
}

#global-social-sidebar .bshare-custom .ico03 {
  background-image: url(/images/ico03.png);
}

#global-social-sidebar .bshare-custom .ico04 {
  background-image: url(/images/ico04.png);
}

#global-social-sidebar .bshare-custom .ico05 {
  background-image: url(/images/ico05.png);
}

.bshare-custom .bshare-twitter {
  background: none !important;
}

.foot_bootom:not(#global-social-sidebar) {
  display: none !important;
}

.back-to-top {
  position: fixed;
  right: 12px;
  bottom: 38px;
  z-index: 10000;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  background: #F47C5B;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top span {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 16px;
  height: 16px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.bsFrameDiv img {
  display: none;
  max-width: 0;
  overflow: hidden;
}

.bsTop span {
  display: none;
}

/* ===== 子页面 ===== */
.cloned-page::after {
  content: "";
  display: table;
  clear: both;
}

.cloned-page img {
  max-width: 100%;
}

.cloned-page .banner .web img,
.cloned-page .banner .wap img {
  width: 100%;
  display: block;
}

.cloned-page #indexRight,
.cloned-page #indexRight2 {
  width: 100%;
}

.cloned-page .pImg {
  background-size: cover !important;
  background-position: center !important;
}

.cloned-page .caseImg {
  background-size: cover !important;
  background-position: center !important;
}

.case-detail-gallery {
  width: 100% !important;
  float: left !important;
}

.case-detail-gallery .mySwiper2 {
  position: relative;
  width: 100%;
  box-shadow: #ccc 10px 10px 30px 5px;
  margin-bottom: 28px;
}

.case-detail-gallery .mySwiper2 .swiper-slide {
  background: transparent;
}

.case-detail-gallery .mySwiper2 img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.case-detail-gallery .mySwiper {
  width: 100%;
  height: auto !important;
  padding: 10px 0;
  box-shadow: #ccc 5px 5px 20px 2px;
}

.case-detail-gallery .mySwiper .swiper-wrapper {
  display: flex;
  gap: 8px;
  overflow: hidden;
}

.case-detail-gallery .mySwiper .swiper-slide,
.case-detail-gallery .case-gallery-thumb {
  flex: 0 0 90px;
  height: 60px !important;
  opacity: 0.55;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.case-detail-gallery .case-gallery-thumb.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.case-detail-gallery .mySwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-gallery-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.55);
}

.case-gallery-progress span {
  display: block;
  height: 100%;
  background: #F47C5B;
  transition: width 0.25s ease;
}

.case-related-title {
  width: 100%;
  padding-top: 12px;
  color: #000;
  font-size: 14px;
  text-align: left;
  text-transform: uppercase;
}

.cloned-page #mapDiv.store-map-fallback {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 234, 0, 0.28), transparent 8%),
    radial-gradient(circle at 78% 68%, rgba(60, 204, 51, 0.2), transparent 9%),
    linear-gradient(135deg, #eef1f0 0%, #dfe5e2 45%, #f6f6f4 100%);
}

.cloned-page #mapDiv.store-map-fallback::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, 0.45) 12%, transparent 12%, transparent 88%, rgba(255, 255, 255, 0.45) 88%),
    linear-gradient(120deg, rgba(116, 128, 149, 0.18) 10%, transparent 10%, transparent 90%, rgba(116, 128, 149, 0.18) 90%);
  background-size: 160px 90px;
  transform: rotate(-6deg);
}

.cloned-page .store-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(116, 128, 149, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 128, 149, 0.14) 1px, transparent 1px);
  background-size: 72px 72px;
}

.cloned-page .store-map-label {
  position: absolute;
  left: 34px;
  bottom: 26px;
  z-index: 2;
  color: rgba(0, 0, 0, 0.42);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cloned-page .store-map-pin {
  position: absolute;
  z-index: 3;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: #F47C5B;
  box-shadow: 0 0 0 8px rgba(255, 234, 0, 0.26), 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.cloned-page .store-map-pin:hover {
  transform: scale(1.2);
}

.header .w1700 {
  max-width: 1920px;
  margin: 0 auto;
  float: none;
}

@media (max-width: 1520px) {
  #owl-demoa {
    margin-bottom: 100px !important;
  }
}

@media (max-width: 1420px) {
  #owl-demoa {
    margin-bottom: 60px !important;
  }
}

@media (max-width: 1024px) {
  #owl-demoa .item {
    flex: 0 0 calc(100% / var(--item-count, 7));
  }

  #owl-demoa .owl-demoa-track {
    width: calc(100% * var(--item-count, 7) / var(--visible-count, 2));
  }

  .news_b {
    width: calc(100% - 90px);
    margin-left: 5px !important;
  }

  .news_b b {
    display: none;
  }

  #btnyNew {
    overflow: auto;
    display: block;
  }

  #btnyNew > div {
    white-space: nowrap;
    width: 250vw;
  }

  #btnyNew > div > span {
    width: 50vw !important;
  }

  .yyt .about,
  .yyt .about_r {
    width: 100%;
    float: none;
  }

  .yyt .more {
    width: 50%;
    margin-left: 25%;
  }
}

@media (max-width: 750px) {
  #owl-demoa .item {
    flex: 0 0 calc(100% / var(--item-count, 7));
  }

  #owl-demoa .owl-demoa-track {
    width: calc(100% * var(--item-count, 7));
  }

  #global-social-sidebar.foot_bootom {
    display: none;
  }
}

/* ===== News 区块：仅 float 清除，Tab/卡片完全交给 layout.css ===== */
.commer.bg::after,
.newy::after,
.context::after,
.con::after,
.con ul::after {
  content: "";
  display: table;
  clear: both;
}

.newy_l p {
  margin: 0;
}

/* ===== Case 详情正文图片：避免破图/默认边框露出线框 ===== */
.nbff img,
.case-detail-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
  outline: 0;
}

.nbff p {
  margin: 0;
}

/* ===== Branch 详情 ===== */
.branch-main {
  align-items: flex-start;
  gap: 8%;
  margin-bottom: 60px;
}

.branch-main .flex_1,
.branch-departments .flex_1 {
  width: 46%;
}

.branch-main .bLeft,
.branch-main .bRight,
.branch-departments .bLeft {
  width: 100%;
}

.branch-main .bImg {
  width: 100%;
  max-width: 600px;
  box-shadow: none;
}

/* 去掉左侧图标后，标签与内容左对齐（不再使用 addressInfo 的 46px 缩进） */
.branch-main .addressList .addTitle,
.branch-departments .addTitle {
  margin-bottom: 6px;
}

.branch-main .addressList .addTitleInfo,
.branch-departments .addTitleInfo {
  float: none;
  font-size: 24px;
  line-height: 1.3;
}

.branch-contact-value,
.branch-main .addressList .addressInfo,
.branch-departments .addressInfo {
  padding-left: 0;
  margin-bottom: 28px;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 20px;
  line-height: 1.5;
  color: #727171;
}

.branch-contact-value a {
  color: inherit;
  text-decoration: none;
}

.branch-contact-value a:hover {
  color: #f47c5b;
}

.branch-departments {
  gap: 8%;
  margin: 40px 0 70px;
}

.branch-dept-card .bRightTitle {
  margin-bottom: 8px;
}

.branch-dept-card .smallTile div {
  margin-left: 0;
}

.branch-contact-section {
  margin-top: 30px;
  padding-bottom: 80px;
}

.branch-contact-section .titlea {
  text-align: center;
  margin-bottom: 35px;
}

.branch-contact-content {
  gap: 7%;
  align-items: flex-start;
}

.branch-contact-content .formInput {
  width: 46%;
}

.branch-contact-content .hfggas {
  width: 47%;
}

.branch-contact-content .layui-input,
.branch-contact-content .layui-textarea {
  width: 100%;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid #777;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-size: 14px;
}

.branch-contact-content .layui-textarea {
  height: 160px;
  padding: 10px;
}

/* 下拉框统一箭头样式，与站内其它下拉框（News/Join/Store）保持一致 */
.branch-contact-content select.layui-input {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23333'/%3E%3C/svg%3E") no-repeat right 14px center;
}

.branch-form-row {
  gap: 18px;
}

.branch-contact-section .fromNmae {
  margin-bottom: 36px;
  font-size: 34px;
}

.branch-contact-section .submit {
  width: 220px;
  height: 38px;
  border: 1px solid #777;
  background: #fff;
  cursor: pointer;
}

.branch-contact-section .hfggas {
  position: relative;
  padding-right: 50px;
  padding-bottom: 50px;
}

.branch-contact-section .huangkuaiu {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 95%;
  height: 650px;
  background-color: #F47C5B;
}

.branch-contact-section .hhhhsdrrr {
  position: relative;
  z-index: 1;
  width: 100%;
  box-shadow: none;
}

@media (max-width: 1024px) {
  .branch-main,
  .branch-departments,
  .branch-contact-content {
    display: block;
  }

  .branch-main .flex_1,
  .branch-departments .flex_1,
  .branch-contact-content .formInput,
  .branch-contact-content .hfggas {
    width: 100%;
  }

  .branch-main .addressList .addTitleInfo,
  .branch-departments .addTitleInfo {
    font-size: 16px !important;
  }

  .branch-contact-value,
  .branch-main .addressList .addressInfo,
  .branch-departments .addressInfo {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .branch-main .bImg {
    max-width: 100%;
  }

  .branch-contact-section .hfggas {
    padding-right: 20px;
    padding-bottom: 30px;
  }

  .branch-contact-section .huangkuaiu {
    height: 380px;
  }
}

/* Find a store 侧栏：两个下拉框与搜索按钮统一加宽、左对齐 */
.cloned-page .shuru .line_tr .layui-form-item {
  width: 300px !important;
  margin: 0 0 14px 0 !important;
}
.cloned-page .shuru .ann {
  width: 300px !important;
  margin: 4px 0 0 0 !important;
  float: none !important;
  display: block !important;
}

/* 产品列表分页（kkpager，对齐原站 Product.html） */
#kkpager .infoTextAndGoPageBtnWrap {
  margin-right: 42px;
}

#kkpager .kkpager-nav-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12px;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
}

#kkpager span.curr,
#kkpager a:hover {
  border-color: #F47C5B !important;
  background-color: #F47C5B !important;
  color: #fff !important;
}

#kkpager_btn_go_input.focus {
  border-color: #F47C5B;
}

#kkpager_btn_go {
  background-color: #F47C5B !important;
}
