/* DPC Homes floating contact: loaded ONLY for the native opt-in property template. */
.dpch-float, .dpch-float * { box-sizing: border-box; }
.dpch-float [hidden] { display: none !important; }
.dpch-float button { cursor: pointer; font-family: inherit; }
.dpch-float button:focus-visible, .dpch-float a:focus-visible { outline: 3px solid #b37d12; outline-offset: 3px; }
.dpch-float__trigger {
  position: fixed; right: clamp(16px,3vw,40px); bottom: 110px; z-index: 9990;
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: 13px 25px; min-height: 55px; min-width: 154px;
  border: 0; border-radius: 60px; color: #24221c; background: linear-gradient(120deg,#ffe89a,#ffd263);
  box-shadow: 0 6px 20px rgba(70,54,19,.22); font: 600 17px/1.2 Arial,Helvetica,sans-serif;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dpch-float__trigger:hover { color: #24221c; transform: translateY(-2px); box-shadow: 0 9px 26px rgba(70,54,19,.28); }
.dpch-float__chat-icon { width: 26px; height: 26px; flex: 0 0 26px; }
.dpch-float__overlay { position: fixed; inset: 0; z-index: 99998; display: flex; align-items: center; justify-content: center; padding: max(18px,env(safe-area-inset-top)) 18px max(18px,env(safe-area-inset-bottom)); }
.dpch-float__shade { position: absolute; inset: 0; background: rgba(21,19,14,.51); backdrop-filter: blur(3px); }
.dpch-float__dialog {
  position: relative; z-index: 1; width: min(100%,455px); max-height: calc(100dvh - 36px); overflow-y: auto;
  border: 1px solid #e9e4dc; border-radius: 22px; background: #fffefa; padding: 36px 32px 32px;
  box-shadow: 0 22px 80px rgba(16,16,16,.24); color: #26231f; font: 15px/1.5 Arial,Helvetica,sans-serif;
}
.dpch-float__dialog h2, .dpch-float__dialog p { margin: 0; }
.dpch-float__title { padding: 0 30px 0 0; font: 400 clamp(24px,3vw,33px)/1.25 Georgia,'Times New Roman',serif !important; color: #25211a !important; }
.dpch-float__intro { margin: 8px 0 24px !important; color: #77746e; font-size: 15px; }
.dpch-float__close { position: absolute; right: 18px; top: 13px; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; font-size: 32px; line-height: 1; font-weight: 300; color: #777; background: transparent; border: 0; border-radius: 50%; padding: 0; }
.dpch-float__close:hover, .dpch-float__back:hover { color: #a27725; background: #fff5df; }
.dpch-float__choices { display: grid; gap: 11px; }
.dpch-float__choice { display: flex; text-align: left; align-items: center; gap: 16px; width: 100%; min-height: 89px; padding: 13px 16px; border: 1px solid #e9e7e3; border-radius: 16px; background: #fffefa; text-decoration: none !important; color: #26231f !important; box-shadow: 0 2px 8px rgba(0,0,0,.025); transition: border-color .2s, background .2s; }
.dpch-float__choice:hover { border-color: #edc458; background: #fffaf0; }
.dpch-float__brand { display: flex; align-items: center; justify-content: center; flex: 0 0 58px; width: 58px; height: 58px; border-radius: 13px; color: #fff; }
.dpch-float__brand--wa { background: #20c65a; }
.dpch-float__brand--wechat { background: #15b83f; }
.dpch-float__brand--wa .dpc-icon { width: 40px; height: 40px; stroke: #fff; }
.dpch-float__brand--wechat svg { color: #fff; }
.dpch-float__choice-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; flex: 1; }
.dpch-float__choice-copy strong { font: 400 25px/1.2 Georgia,'Times New Roman',serif; color: #222; }
.dpch-float__choice-copy small { padding-top: 2px; font-size: 13px; color: #85817a; }
.dpch-float__chevron { font-size: 36px; color: #888; line-height: 1; font-weight: 300; }
.dpch-float__view--wechat { min-height: 310px; }
.dpch-float__back { display: inline-flex; align-items: center; gap: 6px; margin: -14px 0 25px -7px; color: #686663; background: transparent; border: 0; border-radius: 6px; font-size: 14px; padding: 5px 8px; }
.dpch-float__back span { font-size: 26px; line-height: 15px; }
.dpch-float__view--wechat .dpch-float__title { padding: 0; }
.dpch-float__view--wechat .dpch-float__intro { margin-bottom: 25px !important; }
.dpch-float__qr { display: block; width: min(240px,76%); height: auto; aspect-ratio: 1; margin: 0 auto 26px; object-fit: contain; image-rendering: auto; }
.dpch-float__id-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 10px; align-items: center; padding: 15px 15px 15px 18px; background: #f7f6f2; border-radius: 15px; }
.dpch-float__id-label { grid-column: 1; font-size: 13px; color: #777; }
.dpch-float__id { grid-column: 1; font-size: 18px; overflow-wrap: anywhere; color: #25211b; }
.dpch-float__copy { grid-column: 2; grid-row: 1/3; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 14px; border: 0; border-radius: 12px; background: linear-gradient(130deg,#ffe9a2,#ffd66b); color: #24221e; font-size: 14px; font-weight: 600; min-width: 99px; min-height: 45px; }
.dpch-float__copy:hover { background: #f5c657; color: #25211b; }
body.dpch-contact-open { overflow: hidden; }
@media (max-width: 767px) {
  .dpch-float__trigger { right: 14px; bottom: calc(98px + env(safe-area-inset-bottom)); min-height: 46px; min-width: 0; padding: 9px 16px; font-size: 14px; gap: 7px; }
  .dpch-float__chat-icon { width: 21px; height: 21px; flex-basis: 21px; }
  body.dpch-child-single:not(:has(.dpc-sticky-contact)) .dpch-float__trigger { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .dpch-float__dialog { padding: 29px 21px 23px; border-radius: 18px; max-height: calc(100dvh - 36px); }
  .dpch-float__title { font-size: 26px !important; }
  .dpch-float__intro { font-size: 13px; }
  .dpch-float__choice { padding: 10px 11px; min-height: 76px; gap: 12px; }
  .dpch-float__brand { width: 49px; height: 49px; flex-basis: 49px; border-radius: 12px; }
  .dpch-float__brand--wa .dpc-icon { width: 34px; height: 34px; }
  .dpch-float__brand--wechat svg { width: 36px; height: 36px; }
  .dpch-float__choice-copy strong { font-size: 21px; }
  .dpch-float__choice-copy small { font-size: 12px; }
  .dpch-float__qr { width: min(220px,75%); }
}
@media (prefers-reduced-motion:reduce) { .dpch-float__trigger, .dpch-float__choice { transition: none; } }


/* v1.2.1 – Inter 600 headings/buttons, Poppins regular copy. */
.dpch-float__trigger { bottom: 28px; }
.dpch-float__dialog, .dpch-float__dialog p, .dpch-float__dialog small, .dpch-float__id-label,
.dpch-float__id { font-family: 'Poppins', sans-serif; }
.dpch-float .dpch-float__title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
}
.dpch-float button, .dpch-float .dpch-float__choice,
.dpch-float .dpch-float__choice-copy strong {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
}
@media (max-width: 767px) {
  .dpch-float__trigger { bottom: calc(98px + env(safe-area-inset-bottom)); }
  body.dpch-child-single:not(:has(.dpc-sticky-contact)) .dpch-float__trigger { bottom: calc(18px + env(safe-area-inset-bottom)); }
}

/* v1.3.11 — WhatsApp uses a filled, not outlined, icon. */
.dpch-float__brand--wa .dpc-icon-whatsapp { fill: currentColor; stroke: none; }

/* v1.4.4 – WeChat user-ID chip and one-click copy, matching the QR popup reference. */
.dpch-float__id-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
}
.dpch-float__id {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  max-width: 100%;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff1d7;
  color: #25211b;
  font: 500 16px/1.35 'Poppins',sans-serif;
  overflow-wrap: anywhere;
  user-select: text;
  -webkit-user-select: text;
}
.dpch-float__copy {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 47px;
  min-width: 0;
  padding: 10px 15px;
  border: 1px solid #bf8b2b;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(40,29,16,.06);
  color: #7b3f00;
  font: 600 14px/1.35 'Inter',sans-serif;
}
.dpch-float__copy:hover { background: #fff7e7; color: #7b3f00; }
.dpch-float__copy-status {
  min-height: 1.2em;
  margin: 5px 0 0 !important;
  color: #77561c;
  font-size: 12px;
  text-align: center;
}
@media (max-width: 380px) {
  .dpch-float__id-card { gap: 8px; }
  .dpch-float__id { padding-inline: 14px; font-size: 14px; }
  .dpch-float__copy { padding-inline: 12px; font-size: 12px; }
}

/* Homepage template has no sticky property action bar. */
@media (max-width:767px) { body.dpch-child-home-template .dpch-float__trigger{bottom:calc(18px + env(safe-area-inset-bottom));} }

/* CTA-only pages render the existing modal without another floating button. */
.dpch-float--popup-only .dpch-float__trigger { display:none!important; }
