/*  
Theme Name: 简站主题For1a24tradexhrfw-Moss
Theme URI: http://www.jianzhanpress.com
Description: 本主题为简站主题www.jianzhanpress.com定制.
Version: 1.0
Author: jianzhanpress.com
Author URI: http://www.jianzhanpress.com
*/

/* BYDLIFTER white header: keep navigation above the banner in document flow. */
#myheader,
#myheader.sticky {
  position: sticky !important;
  top: 0 !important;
  width: 100%;
  background: #fff !important;
  color: #222;
  z-index: 1030;
  animation: none !important;
  transition: none !important;
}
#myheader .navbar { background: #fff !important; }
#myheader .navbar-nav { --bs-nav-link-padding-y: 1.5rem !important; }
#myheader .navbar-nav .nav-link { color: #222 !important; }
#myheader .navbar-nav .nav-link:hover,
#myheader .navbar-nav .nav-link:focus,
#myheader .navbar-nav .current-menu-item > .nav-link { color: #0288d1 !important; }
#myheader .header-contact-content { color: #333 !important; }
#myheader .navbar-brand img.logo-display { display: none !important; }
#myheader .navbar-brand img.logo-scrolled { display: block !important; }
#myheader .navbar-toggler { color: #222; border-color: #ddd; }
#myheader .navbar-toggler-icon { filter: none; }
body.admin-bar #myheader { top: 32px !important; }
@media (max-width: 782px) { body.admin-bar #myheader { top: 46px !important; } }
@media (max-width: 767px) {
  #myheader .navbar { padding-top: 12px; padding-bottom: 12px; }
  #myheader .navbar-nav { --bs-nav-link-padding-y: .75rem !important; }
  #myheader .offcanvas { background: #fff; }
}
@media (max-width: 600px) { body.admin-bar #myheader { top: 0 !important; } }
/* Give banner headings the full desktop content width. */
@media (min-width: 992px) {
  #wodepress-carousel .carousel-caption { left: 5%; right: 5%; }
  #wodepress-carousel .carousel-caption > .container { width: 100%; max-width: 1600px; }
  #wodepress-carousel .carousel-caption .col-lg-6 { flex: 0 0 100%; width: 100%; }
  #wodepress-carousel .carousel-caption h2 { font-size: clamp(24px, 2.35vw, 42px); }
}
/* Banner: preserve the heading and wrap only the descriptive paragraph. */
@media (min-width: 992px) {
  #wodepress-carousel .carousel-caption p.py-lg-3 { max-width: 33.333vw; margin-left: auto; margin-right: auto; line-height: 1.65; padding-top: 12px !important; padding-bottom: 12px !important; }
}
/* Product inquiry: explicit form styling independent of the active theme. */
.bp-page .bp-sidebar { top: 100px; }
.bp-page .bp-section,.bp-page .bp-enquiry { scroll-margin-top: 100px; }
.bp-page .bp-enquiry { background: #f3f7fa; padding: 32px; border: 1px solid #dce5ec; }
.bp-page .bp-enquiry > div:first-child { max-width: 600px; }
.bp-page .bp-enquiry .balltec-form { background: #fff; padding: 28px; margin-top: 24px; border: 1px solid #dce5ec; border-radius: 10px; }
.bp-page .zme-enquiry-form .balltec-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 22px; }
.bp-page .zme-enquiry-form p { margin:0 0 18px; }
.bp-page .zme-enquiry-form .balltec-form-grid p { margin:0; }
.bp-page .zme-enquiry-form .balltec-form-grid { margin-bottom:18px; }
.bp-page .zme-enquiry-form label { display:block; font-size:14px; font-weight:600; color:#25384b; margin-bottom:7px; }
.bp-page .zme-enquiry-form input:not([type=hidden]),.bp-page .zme-enquiry-form textarea { display:block; width:100%; max-width:100%; height:auto; min-height:46px; padding:11px 13px; border:1px solid #bdcbd7; border-radius:5px; background:#fff; color:#172d42; font:inherit; line-height:1.5; box-shadow:none; }
.bp-page .zme-enquiry-form textarea { min-height:150px; resize:vertical; }
.bp-page .zme-enquiry-form input:focus,.bp-page .zme-enquiry-form textarea:focus { outline:2px solid #0288d1; outline-offset:2px; }
.bp-page .zme-enquiry-form button[type=submit] { display:inline-flex; width:auto; padding:13px 26px; border:0; border-radius:5px; background:#0288d1; color:#fff; font:inherit; font-weight:700; cursor:pointer; }
.bp-page .zme-enquiry-form .balltec-honeypot { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip-path:inset(50%)!important; }
@media (max-width:600px) {
  .bp-page .bp-enquiry { padding:24px 16px; }
  .bp-page .bp-enquiry .balltec-form { padding:20px 16px; }
  .bp-page .zme-enquiry-form .balltec-form-grid { grid-template-columns:1fr; }
  .bp-page .zme-enquiry-form button[type=submit] { width:100%; justify-content:center; }
}

/* Product specification tables: bordered grid and readable comparison rows. */
.bp-content table { width:100%; border-collapse:collapse; border:1px solid #b7ccda; margin:24px 0; font-size:15px; line-height:1.65; background:#fff; box-shadow:0 4px 18px rgba(23,62,99,.06); }
.bp-content table th,.bp-content table td { border:1px solid #b7ccda; padding:14px 18px; text-align:left; vertical-align:middle; overflow-wrap:break-word; }
.bp-content table thead th { background:#087fb5; color:#fff; font-weight:700; border-color:#65a9c9; }
.bp-content table tbody th { color:#173e63; font-weight:600; }
.bp-content table tbody tr:nth-child(even) { background:#f1f7fb; }
.bp-content table tbody tr:hover { background:#e6f3fa; }
.bp-content .byd-spec-table-wrap { width:100%; overflow-x:auto; margin:24px 0; border-radius:8px; }
.bp-content .byd-spec-table-wrap table { margin:0; min-width:560px; }
@media(max-width:640px) { .bp-content table th,.bp-content table td { padding:11px 12px; font-size:14px; } }
