/* Home6D Contact Visibility 1.0.0 — all changes scoped to this component. */
body.h6d-contact-ready .mobile-cta { display: none !important; }
#h6d-contact-dock,
#h6d-contact-dock * { box-sizing: border-box; }
#h6d-contact-dock {
  position: fixed;
  z-index: 88;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 10px;
  width: 224px;
  margin: 0;
  padding: 0;
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-style: normal;
  line-height: 1.3;
  text-align: left;
  isolation: isolate;
}
#h6d-contact-dock .h6d-contact-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 68px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 6px 22px rgba(14,25,39,.24), 0 1px 4px rgba(14,25,39,.12);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
#h6d-contact-dock .h6d-contact-zalo { background: #005bd6; }
#h6d-contact-dock .h6d-contact-phone { background: #91602a; }
#h6d-contact-dock .h6d-contact-link:focus-visible {
  outline: 3px solid #161e29;
  outline-offset: 4px;
  box-shadow: 0 0 0 4px #fff;
}
#h6d-contact-dock .h6d-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  color: #fff;
}
#h6d-contact-dock .h6d-contact-icon svg { display: block; width: 25px; height: 25px; }
#h6d-contact-dock .h6d-contact-zalo-icon {
  background: #fff;
  border-color: #fff;
  border-bottom-left-radius: 9px;
  color: #005bd6;
}
#h6d-contact-dock .h6d-contact-zalo-icon span {
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.6px;
}
#h6d-contact-dock .h6d-contact-copy { display: grid; gap: 4px; min-width: 0; }
#h6d-contact-dock .h6d-contact-copy strong {
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
#h6d-contact-dock .h6d-contact-copy small {
  display: block;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}
#h6d-contact-dock .h6d-contact-arrow { margin-left: auto; font-size: 18px; }
.h6d-contact-spacer { display: none; }
@media (hover: hover) and (pointer: fine) {
  #h6d-contact-dock .h6d-contact-zalo:hover { background: #004bb3; }
  #h6d-contact-dock .h6d-contact-phone:hover { background: #784e21; }
}
/* The theme menu is at z-index 90: contacts must not obstruct it. */
body.menu-open #h6d-contact-dock { visibility: hidden; pointer-events: none; }
@media (max-width: 767px) {
  #h6d-contact-dock {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 8px;
    padding: 10px 12px 10px;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e9e3d9;
    background: #fff;
    box-shadow: 0 -5px 24px rgba(24,31,24,.12);
  }
  #h6d-contact-dock .h6d-contact-link {
    min-height: 58px;
    gap: 9px;
    padding: 9px 11px;
    border: 0;
    border-radius: 13px;
    box-shadow: 0 3px 9px rgba(14,25,39,.16);
  }
  #h6d-contact-dock .h6d-contact-icon { flex-basis: 34px; width: 34px; height: 34px; }
  #h6d-contact-dock .h6d-contact-copy { gap: 3px; }
  #h6d-contact-dock .h6d-contact-copy strong { font-size: 15px; }
  #h6d-contact-dock .h6d-contact-copy small { font-size: 11px; }
  #h6d-contact-dock .h6d-contact-arrow { display: none; }
  body.h6d-contact-ready .h6d-contact-spacer {
    display: block;
    height: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  html:has(body.h6d-contact-ready) { scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  body.h6d-contact-ready :is(input, textarea, select, button, a) { scroll-margin-bottom: 100px; }
}
@media (max-width: 359px) {
  #h6d-contact-dock { gap: 6px; padding-left: 8px; padding-right: 8px; }
  #h6d-contact-dock .h6d-contact-link { gap: 6px; padding: 9px 8px; }
  #h6d-contact-dock .h6d-contact-icon { flex-basis: 30px; width: 30px; height: 30px; }
  #h6d-contact-dock .h6d-contact-copy strong { font-size: 14px; }
  #h6d-contact-dock .h6d-contact-copy small { font-size: 10px; }
}
@media print {
  #h6d-contact-dock, body.h6d-contact-ready .h6d-contact-spacer { display: none !important; }
}
