@charset "utf-8";

.change-language-cont {
  position: absolute;
  right: 0;
  top: 27px;
  z-index: 9999;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  padding: 10px 5px;
  width: 380px !important;
  max-height: 80vh !important;
  overflow-y: scroll !important;
}
.inquiry-form-wrap.ct-inquiry-form {
  margin-top: 20px;
}
@media only screen and (max-width: 950px) {
  .change-language-cont {
    top: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    max-height: unset !important;
    overflow-y: visible !important;
  }
}
.product_list_items,
.product-list ul.product_list_items,
.items_list ul.product_list_items {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
}

/* 分页居中（覆盖主题 style.css 中的 .pages 右对齐） */
.page-bar {
  text-align: center;
  margin: 30px 0 10px;
}
.page-bar .pages {
  text-align: center !important;
}

/* 产品规格参数表 */
.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 10px;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
}
.product-specs-table tr { border-bottom: 1px solid #e5e5e5; }
.product-specs-table th,
.product-specs-table td {
  padding: 10px 15px;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}
.product-specs-table th {
  width: 28%;
  min-width: 100px;
  color: #333;
}
.product-specs-table td { color: #666; }
.product-specs-table tr.first th,
.product-specs-table tr.first td {
  background: #0a8a3a;
  color: #fff;
  font-weight: 600;
}

/* 产品分类/标签行 */
.product-meta-line {
  margin: 12px 0 8px;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}
.product-meta-line .meta-item {
  margin-bottom: 4px;
}
.product-meta-line .meta-item strong {
  color: #333;
  margin-right: 4px;
}
.product-meta-line .meta-item a {
  color: #666;
  text-decoration: none;
  margin-right: 2px;
}
.product-meta-line .meta-item a:hover {
  color: #0792db;
}

/* 产品页社交分享 */
.product-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 0;
  border-top: 1px solid #eee;
}
.product-social-links > span {
  font-size: 13px;
  color: #666;
  white-space: nowrap;
}
.product-social-links .social-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.product-social-links .social-icons a {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: #d0191d;
  color: #fff;
  border-radius: 4px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .3s ease;
}
.product-social-links .social-icons a:hover {
  transform: scale(1.15);
}
.product-social-links .social-icons img {
  vertical-align: middle;
}

/* Product Detail 区域分隔美化 */
.product-detail {
  margin-top: 30px;
}
.product-detail .tab-title-bar.detail-tabs {
  border-bottom: 3px solid #333;
  margin-bottom: 20px;
  display: flex !important;
}
.product-detail .tab-title-bar .tab-title.title {
  background: #333;
  color: #fff;
  padding: 0 28px;
  line-height: 36px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
}
.product-detail .tab-title-bar .tab-title.title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #0792db;
}
.product-detail .tab-panel-content {
  padding-top: 5px;
}

.product_list_item figure {
  padding: 0;
  background: #fff;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  margin: 0;
  transition: box-shadow 0.3s ease;
}
.product_list_item figure:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product_list_item figure .item_img {
  display: block;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.product_list_item figure .item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.product_list_item figure:hover .item_img img {
  transform: scale(1.05);
}
.product_list_item figure figcaption {
  width: 100%;
  padding: 12px;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  flex: 1;
}

.product_list_item figure figcaption .item_title a {
  text-transform: capitalize;
  font-size: 18px;
  letter-spacing: .38px;
}

.product_list_item .product_btns {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 6px;
  margin-top: 8px;
}

.product_list_item figure figcaption .item_info {
  font-size: 13px;
  margin: 13px 0;
  max-height: 80px;
  overflow: hidden;
  line-height: 20px;
  letter-spacing: 0;
}

.product_list_item .product_btns .priduct_btn_inquiry,
.product_list_item .product_btns .priduct_btn_detail {
  line-height: 30px;
  display: block;
  flex: 1;
  padding: 0;
  text-align: center;
  position: relative;
  text-transform: uppercase;
  color: #fff;
  transition: all ease-in-out .35s;
  -webkit-transition: all ease-in-out .35s;
  letter-spacing: .38px;
  font-weight: bold;
  font-size: 13px;
  z-index: 0;
}

.product_list_item .product_btns .priduct_btn_inquiry {
  margin-right: 0;
  background: #095332;
}
.product_list_item .product_btns .priduct_btn_inquiry:after { background: #0a8a3a; }

.product_list_item .product_btns .priduct_btn_detail {
  background: #0792db;
}
.product_list_item .product_btns .priduct_btn_detail:after { background: #005ea6; }
.product_list_item .product_btns .priduct_btn_inquiry:after,
.product_list_item .product_btns .priduct_btn_detail:after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  z-index: -1;
  width: 0;
  height: 100%;
  transition: all ease-in-out .35s;
  -webkit-transition: all ease-in-out .35s;
}

.product_list_item .product_btns .priduct_btn_inquiry:hover:after,
.product_list_item .product_btns .priduct_btn_detail:hover:after {
  width: 100%;
}

@media only screen and (max-width: 1280px) {
  .product_list_item figure figcaption .item_info {
    max-height: 60px;
  }
}

@media only screen and (max-width: 1200px) {
  .product_list_items,
  .product-list ul.product_list_items,
  .items_list ul.product_list_items {
    gap: 15px;
  }
  .product_list_item figure figcaption .item_title a {
    font-size: 16px;
    letter-spacing: unset;
  }
}

@media only screen and (max-width: 768px) {
  .product_list_items,
  .product-list ul.product_list_items,
  .items_list ul.product_list_items {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media only screen and (max-width: 640px) {
  .product_list_item figure figcaption .item_title a {
    font-size: 14px;
  }

  .product_list_item figure figcaption .item_info {
    margin: 7px 0;
    font-size: 12px;
    line-height: 18px;
    max-height: 36px;
  }
}

@media only screen and (max-width: 480px) {
  .product_list_items,
  .product-list ul.product_list_items,
  .items_list ul.product_list_items {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .product_list_item figure figcaption {
    padding: 8px;
  }
  .product_list_item figure figcaption .item_title a {
    font-size: 12px;
  }
  .product_list_item figure figcaption .item_info {
    margin: 3px 0;
    max-height: 36px;
    line-height: 16px;
  }
  .product_list_item .product_btns {
    margin-top: 5px;
    gap: 4px;
  }
  .product_list_item .product_btns .priduct_btn_inquiry,
  .product_list_item .product_btns .priduct_btn_detail {
    line-height: 24px;
    font-size: 11px;
  }
}

/* ---- 顶部社交图标（搜索右侧，无背景白色） ---- */
.header-top-social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 16px 0 8px;
  padding: 0 16px 0 0;
  border-right: 1px solid rgba(255,255,255,.3);
}
.header-top-social .hts-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #fff !important;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  opacity: 1;
  transition: opacity .2s ease, transform .2s ease;
}
.header-top-social .hts-icon:hover { opacity: .8; transform: translateY(-1px); }
.header-top-social .hts-icon .fab { color: #fff !important; }
.header-top-social .hts-icon img { display: block; width: 18px; height: 18px; filter: brightness(0) invert(1); }
@media (max-width: 768px) {
  .header-top-social { gap: 8px; margin-right: 8px; padding-right: 8px; }
  .header-top-social .hts-icon { width: 18px; height: 18px; font-size: 16px; }
  .header-top-social .hts-icon img { width: 14px; height: 14px; }
}

/* ---- 询价按钮 + 菜单左对齐 ---- */
.header-inquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 28px;
  padding: 0 24px;
  height: 40px;
  line-height: 40px;
  background: #d0191d;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: .3px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .25s ease, transform .15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.header-inquiry-btn:hover { background: #a01316; transform: translateY(-1px); color: #fff !important; }
@media (max-width: 991px) {
  .header-inquiry-btn { display: none; }
}

/* 菜单左对齐（覆盖原 flex-end） */
.header-main .site-navigation { justify-content: flex-start !important; margin-left: 50px; }
.header-main .nav-menu { justify-content: flex-start !important; }
.header-main .nav-menu > li > a { padding: 15px 24px !important; }

/* 弹窗顶部标题（无背景）+ 底部承诺 */
.inquiry-pop-header {
  background: transparent;
  margin: 0 0 16px;
  padding: 4px 0 8px;
}
.inquiry-pop-header h4 {
  margin: 0 0 6px;
  color: #2c3e50;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .3px;
  background: transparent !important;
  padding: 0 !important;
  text-transform: uppercase;
}
.inquiry-pop-header p {
  margin: 0 0 14px;
  color: #6c757d;
  font-size: 13px;
  line-height: 1.5;
  opacity: 1;
}
.inquiry-pop-bd .wpcf7-form .captcha-row .wpcf7-submit {
  background: #e85d2c;
  border-radius: 22px;
}
.inquiry-pop-bd .wpcf7-form .captcha-row .wpcf7-submit:hover { background: #c6481d; }

.inquiry-pop-footer {
  margin: 16px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 12px;
  color: #888;
  letter-spacing: .3px;
}


/* ========== Contact Form 7 统一美化 ========== */
.wpcf7 br { display: none; }
.wpcf7 { background: transparent; padding: 0; box-shadow: none; border: none; }
.wpcf7-form { max-width: 100%; }
.wpcf7-form .form-row { margin-bottom: 10px; position: relative; }
.wpcf7-form .form-row:last-child { margin-bottom: 0; }
.wpcf7-form label { display: none; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; margin: 0; }
.wpcf7-form .wpcf7-form-control {
  width: 100%; box-sizing: border-box; padding: 8px 12px;
  border: 1px solid #ddd; border-radius: 6px; font-size: 13px;
  line-height: 0.6; color: #333; background: #fff;
  transition: border-color .3s ease, box-shadow .3s ease; margin: 0;
}
.wpcf7-form .wpcf7-form-control::placeholder { color: #aaa; }
.wpcf7-form .wpcf7-form-control:focus {
  border-color: #0792db; box-shadow: 0 0 0 3px rgba(7,146,219,.12);
  background: #fff; outline: none;
}
.wpcf7-form textarea.wpcf7-form-control { min-height: 60px; resize: vertical; }
.wpcf7-form .wpcf7-submit {
  width: 100%; padding: 0; box-sizing: border-box;
  border: none; border-radius: 6px; background: #86c953;
  color: #fff; font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
  transition: background .3s ease; margin: 0;
  height: 38px; line-height: 38px;
}
.wpcf7-form .wpcf7-submit:hover { background: #013e5a; }
.wpcf7-form .cf7-turnstile { display: block; margin-bottom: 10px; max-width: 100%; overflow: hidden; transform: scale(.85); transform-origin: left top; }
.wpcf7-form .cf7-turnstile iframe { max-width: 100%; }
.wpcf7-form .wpcf7-not-valid-tip { font-size: 11px; color: #dc3545; margin-top: 2px; }
.wpcf7-form .wpcf7-response-output {
  margin: 10px 0 0; padding: 8px 12px; border-radius: 6px;
  font-size: 12px; text-align: center;
}
.wpcf7-form.sent .wpcf7-response-output { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.wpcf7-form.invalid .wpcf7-response-output { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }
.formbox, .inquiry-form, .inquiry-pop {border: none !important; box-shadow: none !important; }

/* ---- 弹窗 ---- */
.inquiry-pop-bd .wpcf7-form .form-row { margin-bottom: 8px; }
.inquiry-pop-bd .wpcf7-form .wpcf7-form-control { font-size: 12px; padding: 6px 10px; border-radius: 4px; }
.inquiry-pop-bd .wpcf7-form textarea.wpcf7-form-control { min-height: 45px; }
.inquiry-pop-bd .wpcf7-form .wpcf7-submit { height: 32px; line-height: 20px; font-size: 12px; border-radius: 4px; }
.inquiry-pop-bd .wpcf7-form .captcha-row { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.inquiry-pop-bd .wpcf7-form .captcha-row .wpcf7-submit { width: 100%; }
.inquiry-pop-bd .wpcf7-form .cf7-turnstile { transform: scale(.6); transform-origin: left top; margin-bottom: 0; }

/* ---- 产品页 ---- */
#send-email .wpcf7-form .form-row { margin-bottom: 8px; }
#send-email .wpcf7-form .wpcf7-form-control { font-size: 12px; padding: 7px 10px; border-radius: 5px; }
#send-email .wpcf7-form textarea.wpcf7-form-control { min-height: 55px; }
#send-email .wpcf7-form .captcha-row { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
#send-email .wpcf7-form .captcha-row .cf7-turnstile { margin-bottom: 0; flex-shrink: 0; transform: scale(.8); }
#send-email .wpcf7-form .captcha-row .wpcf7-submit {
  width: auto; flex: 1; padding: 0 20px; height: 34px; line-height: 34px; border-radius: 5px;
}

/* ---- 聊天 ---- */
.enhanced-chat-container .wpcf7-form .form-row { margin-bottom: 8px; }
.enhanced-chat-container .wpcf7-form .wpcf7-form-control { font-size: 11px; padding: 6px 8px; border-radius: 4px; }
.enhanced-chat-container .wpcf7-form textarea.wpcf7-form-control { min-height: 38px; }
.enhanced-chat-container .wpcf7-form .wpcf7-submit { height: 30px; line-height:20px; font-size: 11px; border-radius: 4px; }
.enhanced-chat-container .wpcf7-form .captcha-row { display: flex; flex-direction: column; gap: 8px; }
.enhanced-chat-container .wpcf7-form .captcha-row .cf7-turnstile { margin-bottom: 0; transform: scale(.68); transform-origin: left top; }
.enhanced-chat-container .wpcf7-form .captcha-row .wpcf7-submit { width: 100%; }

/* ---- 联系页 ---- */
.page-contact .wpcf7-form .form-row { margin-bottom: 12px; }
.page-contact .wpcf7-form .captcha-row { display: flex; flex-direction: column; gap: 12px; margin-top: 2px; }
.page-contact .wpcf7-form .captcha-row .wpcf7-submit { width: 100%; }

/* ---- 响应式 ---- */
@media (max-width: 768px) {
  .wpcf7-form .form-row { margin-bottom: 8px; }
  .wpcf7-form .wpcf7-form-control { font-size: 12px; padding: 7px 10px; }
  .wpcf7-form .wpcf7-submit { height: 36px; line-height: 36px; font-size: 13px; }
  #send-email .wpcf7-form .captcha-row { flex-direction: column; gap: 8px; }
  #send-email .wpcf7-form .captcha-row .wpcf7-submit { width: 100%; padding: 0; }
  .enhanced-chat-container .wpcf7-form .captcha-row .cf7-turnstile { transform: scale(.72); }
}
