/* Unified B2B Contact UX for Hengliyuan (12 locales + RTL-safe). */
html .site-shell .site-contact-dock {
  position: fixed;
  z-index: 9995;
  inset-inline-end: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  width: auto !important;
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans SC", "Noto Sans Arabic", "Noto Sans Hebrew", "PingFang SC", Arial, sans-serif;
}

html .site-shell .site-contact-dock > button.hly-dock-orig-hidden {
  display: none !important;
}

html .site-shell .site-contact-dock > .hly-dock-fab {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #075044;
  color: #fff;
  box-shadow: 0 4px 14px #00372a35;
  cursor: pointer;
  user-select: none;
}

html .site-shell .site-contact-dock > .hly-dock-fab > svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (min-width: 981px) {
  html .site-shell .site-contact-dock > .hly-dock-fab {
    width: auto !important;
    min-width: 46px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    gap: 8px !important;
    border-radius: 999px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap;
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  }
  html .site-shell .site-contact-dock > .hly-dock-fab:hover,
  html .site-shell .site-contact-dock.open > .hly-dock-fab {
    background: #063b33 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(6, 59, 51, 0.28);
  }
  html .site-shell .site-contact-dock > .hly-dock-fab > svg {
    width: 19px;
    height: 19px;
  }
}

.hly-contact-pop {
  position: absolute;
  inset-inline-end: 0;
  bottom: 54px;
  width: min(300px, calc(100vw - 24px));
  background: #ffffff;
  color: #17302a;
  border: 1px solid #aac6b9;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(6, 59, 51, 0.22);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
  text-align: start;
}

.hly-contact-pop[hidden] {
  display: none !important;
}

.hly-contact-pop *,
.hly-contact-pop *::before,
.hly-contact-pop *::after {
  box-sizing: border-box;
}

.hly-c-row,
.hly-c-row-wrap {
  border-radius: 10px;
  transition: background-color 0.15s ease;
}

.hly-c-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  background: transparent;
  color: #17302a !important;
  text-decoration: none !important;
  text-align: start;
  font-family: inherit;
  cursor: pointer;
}

.hly-c-row:hover,
.hly-c-row-wrap:hover {
  background: #f2f7f3;
}

.hly-c-row-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
}

.hly-c-row-main {
  flex: 1 1 130px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #17302a !important;
  text-decoration: none !important;
  text-align: start;
  font-family: inherit;
  cursor: pointer;
}

.hly-c-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.hly-c-ico.rfq { background: #075044; }
.hly-c-ico.wa { background: #16a34a; }
.hly-c-ico.mail { background: #17302a; }
.hly-c-ico.wx { background: #07c160; }

.hly-c-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hly-c-txt b {
  font-size: 13px;
  font-weight: 700;
  color: #063b33;
  line-height: 1.25;
}

.hly-c-txt span {
  font-size: 11.5px;
  color: #466058;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hly-c-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.hly-c-mini {
  border: 1px solid #aac6b9;
  background: #ffffff;
  color: #075044 !important;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none !important;
  line-height: 1.2;
  transition: all 0.15s ease;
}

.hly-c-mini:hover {
  border-color: #075044;
  background: #e6f1eb;
}

.hly-c-mini.is-copied {
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857 !important;
}

.hly-c-qr-box {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px;
  margin-top: 4px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #d5e4dc;
  text-align: center;
}

.hly-c-qr-box[hidden] {
  display: none !important;
}

.hly-c-qr-box svg {
  width: 124px;
  height: 124px;
  display: block;
  border-radius: 4px;
}

.hly-c-qr-box span {
  font-size: 11.5px;
  color: #2c403a;
  font-weight: 600;
}

.hly-c-foot-btn {
  border: 0;
  border-top: 1px solid #e6f1eb;
  background: transparent;
  color: #075044;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 8px 3px;
  margin-top: 2px;
  width: 100%;
  text-align: start;
  cursor: pointer;
}

.hly-c-foot-btn:hover {
  text-decoration: underline;
}

.hly-inline-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: 8px;
  padding: 4px 9px;
  border: 1px solid #aac6b9;
  border-radius: 6px;
  background: #ffffff;
  color: #075044;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  vertical-align: middle;
}

.hly-inline-copy:hover {
  border-color: #075044;
  background: #f2f7f3;
}

.hly-inline-copy.is-copied {
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
}

.hly-contact-qr-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #aac6b9;
  border-radius: 10px;
  background: #f2f7f3;
  color: #17302a;
  max-width: 100%;
}

.hly-contact-qr-svg {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #d5e4dc;
  border-radius: 6px;
  padding: 3px;
}

.hly-contact-qr-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hly-contact-qr-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.hly-contact-qr-meta strong {
  font-size: 13px;
  color: #063b33;
}

.hly-contact-qr-meta span {
  font-size: 12px;
  color: #2c403a;
  line-height: 1.35;
}

.hly-contact-qr-meta .hly-inline-copy {
  margin-inline-start: 0;
}

.hly-copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 10050;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 24px);
  padding: 10px 14px;
  border-radius: 12px;
  background: #063b33;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 30px rgba(6, 59, 51, 0.34);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.hly-copy-toast a {
  color: #a7f3d0 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  white-space: nowrap;
  font-weight: 700;
}

.hly-c-status {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  margin-bottom: 2px;
  border-radius: 8px;
  background: #f2f7f3;
  border: 1px solid #d5e4dc;
  font-size: 11.5px;
  font-weight: 700;
  color: #063b33;
  line-height: 1.3;
}

.hly-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hly-c-status.is-offline .hly-status-dot {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.hly-tool-bridge {
  margin: 18px auto 12px;
  max-width: 1160px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #f2f7f3;
  border: 1px solid #aac6b9;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
}

.hly-tool-bridge-copy b {
  display: block;
  font-size: 14.5px;
  color: #063b33;
  margin-bottom: 2px;
}

.hly-tool-bridge-copy span {
  display: block;
  font-size: 12.5px;
  color: #2c403a;
}

.hly-tool-bridge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hly-tb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  text-decoration: none !important;
}

.hly-tb-btn.primary {
  background: #075044;
  color: #ffffff !important;
}

.hly-tb-btn.primary:hover {
  background: #063b33;
}

.hly-tb-btn.wa {
  background: #16a34a;
  color: #ffffff !important;
}

.hly-tb-btn.wa:hover {
  background: #15803d;
}

.hly-kit-box{
  margin:18px auto 22px;max-width:1200px;padding:18px 20px;border-radius:14px;
  background:#f4f9f6;border:1px solid #b8d3c5;color:#063b33;
}
.hly-kit-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:12px}
.hly-kit-head b{display:block;font-size:16px;color:#063b33;margin-bottom:2px}
.hly-kit-head span{display:block;font-size:12.5px;color:#2c403a}
.hly-kit-count{font-size:12.5px;font-weight:700;padding:4px 10px;border-radius:999px;background:#075044;color:#ffffff;white-space:nowrap}
.hly-kit-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.hly-kit-chip{
  display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;
  border:1px solid #aac6b9;background:#ffffff;color:#075044;font-size:12px;font-weight:700;cursor:pointer;user-select:none;
}
.hly-kit-chip[aria-pressed="true"]{background:#075044;color:#ffffff;border-color:#075044}
.hly-kit-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin-bottom:14px}
.hly-kit-card{
  display:flex;flex-direction:column;justify-content:space-between;gap:6px;
  padding:11px 12px;border-radius:10px;background:#ffffff;border:1.5px solid #d5e4dc;cursor:pointer;transition:border-color .15s,background .15s;
}
.hly-kit-card:hover{border-color:#075044}
.hly-kit-card[aria-pressed="true"]{border-color:#075044;background:#e6f4ec;box-shadow:0 0 0 1px #075044}
.hly-kit-card[hidden]{display:none!important}
.hly-kit-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.hly-kit-card-top b{font-size:13.5px;color:#063b33;line-height:1.28}
.hly-kit-check{
  flex-shrink:0;width:18px;height:18px;border-radius:4px;border:1.5px solid #075044;
  display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#ffffff;background:#ffffff;
}
.hly-kit-card[aria-pressed="true"] .hly-kit-check{background:#075044}
.hly-kit-meta{font-size:11.5px;color:#466058;line-height:1.35}
.hly-kit-link{font-size:11.5px;font-weight:700;color:#075044;text-decoration:underline;align-self:flex-start}
.hly-kit-footer{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;
  padding-top:12px;border-top:1px solid #cce0d5;
}
.hly-kit-inputs{display:flex;flex-wrap:wrap;gap:8px}
.hly-kit-inputs select{
  height:36px;padding:0 10px;border-radius:8px;border:1px solid #aac6b9;background:#ffffff;color:#063b33;font-family:inherit;font-size:12.5px;
}
.hly-kit-actions{display:flex;flex-wrap:wrap;gap:8px}
.hly-tb-btn.outline{background:#ffffff;color:#075044!important;border:1px solid #075044}
.hly-qa-pack-bar{
  margin:14px 0;padding:13px 16px;border-radius:12px;background:#f4f9f6;border:1px solid #b8d3c5;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;
}
.hly-qa-pack-copy b{display:block;font-size:14px;color:#063b33;margin-bottom:2px}
.hly-qa-pack-copy span{display:block;font-size:12px;color:#2c403a}
.hly-qa-pack-actions{display:flex;flex-wrap:wrap;gap:8px}

@media (max-width: 980px) {
  .hly-dock-fab-lbl {
    display: none !important;
  }
  .hly-kit-box { padding: 14px; }
  .hly-kit-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}
@media (max-width: 540px) {
  .hly-kit-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-contact-dock,
  .hly-copy-toast,
  .hly-qa-pack-bar,
  .hly-spec-actions,
  .hly-express,
  .hly-kit-box,
  header,
  footer,
  .site-header,
  .site-footer,
  .inquiry-modal {
    display: none !important;
  }
}
