/* SunnyHomes temporary live containment.
   Header and neighbourhood rendering must be fixed in theme source, not here. */

/* WhatsApp: consistent across homepage and inner templates. */
body a.floating-whatsapp {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #25D366 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
  z-index: 9999 !important;
  transform: none !important;
}

body a.floating-whatsapp::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 15px !important;
  background: #fff !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32 101.6 32 2.2 131.4 2.2 253.8c0 39.1 10.2 77.3 29.6 111L.3 480l117.7-30.9c32.4 17.7 68.9 27 106 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.3-157zM223.9 438.7c-33.2 0-65.7-8.9-94-25.8l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.4-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.1-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.6-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.8-10.6-6.6z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32 101.6 32 2.2 131.4 2.2 253.8c0 39.1 10.2 77.3 29.6 111L.3 480l117.7-30.9c32.4 17.7 68.9 27 106 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.3-157zM223.9 438.7c-33.2 0-65.7-8.9-94-25.8l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.4-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.1-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.6-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.8-10.6-6.6z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body a.floating-whatsapp > * {
  visibility: hidden !important;
}

@media (max-width: 767px) {
  body a.floating-whatsapp {
    right: 16px !important;
    bottom: 16px !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
  }

  body a.floating-whatsapp::before {
    inset: 14px !important;
  }
}

/* Keep one support launcher; inline arrival and transfer links remain visible. */
body.sunnyhomes-katalyst-manage-page > .shk-manage__mobile-help {
  display: none !important;
}

/* SunnyHomes apartment comparison */
.page-id-202146 .entry-shell {max-width:78rem;margin-inline:auto;padding-inline:clamp(1rem,4vw,3rem)}
.sh-compare {color:#243931}
.sh-compare .sh-intro {max-width:64ch;font-size:1.125rem}
.sh-decision-actions {display:flex;flex-wrap:wrap;gap:.75rem;margin-block:1.5rem 2rem;align-items:center}
.sh-compare-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:clamp(1rem,2vw,2rem)}
.sh-choice {padding:1rem;border:1px solid #d4dcd5;border-radius:.7rem;min-width:0;background:#fff}
.sh-choice img {width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:.4rem}
.sh-choice h2 {font-size:clamp(1.35rem,2vw,1.7rem);line-height:1.2;margin-block:1rem .65rem}
.sh-choice dt {font-weight:700;margin-top:.8rem}
.sh-choice dd {margin-inline:0}
.sh-choice a,.sh-portfolio-note a {text-underline-offset:.18em}
.sh-compare a:focus-visible {outline:3px solid #37634e;outline-offset:3px}
.sh-portfolio-note {margin-block:2rem;padding:clamp(1rem,3vw,2rem);background:#f3f5ee;border-radius:.7rem}
@media (max-width:40rem){.sh-decision-actions .button{width:100%;text-align:center}}

/* Residence browsing update */

/* Apartment browsing and owner statements */
.site-header .desktop-nav ul {gap:clamp(.65rem,1.15vw,1.2rem)}
.site-header .desktop-nav a,.site-header .owner-link {white-space:nowrap}
.menu-item-gtranslate select.gt_selector {box-sizing:border-box;min-height:40px;width:6.8em;padding:0 .5em 0 .8em;border:1px solid #d7d1c6;border-radius:20px;font:inherit;color:#203e35;background-color:#faf8f2;cursor:pointer}
.menu-item-gtranslate select:focus-visible {outline:2px solid #245944;outline-offset:3px}
.mobile-menu .menu-item-gtranslate {padding-block:1rem}

.owner-principle[aria-labelledby="owner-statement-example"] {align-items:start;gap:clamp(1.5rem,5vw,5rem)}
.owner-principle[aria-labelledby="owner-statement-example"]>div:first-child {align-self:start}
.owner-principle[aria-labelledby="owner-statement-example"]>div+div {padding:clamp(1.2rem,3vw,2.1rem);background:#f4f2eb;border:1px solid #dfd9cc;border-radius:18px}
.owner-principle[aria-labelledby="owner-statement-example"] dl {display:grid;grid-template-columns:minmax(0,1fr) auto}
.owner-principle[aria-labelledby="owner-statement-example"] dl>* {padding:.65rem 0;margin:0;border-bottom:1px solid #d9d5ca}
.owner-principle[aria-labelledby="owner-statement-example"] dd {text-align:end;font-variant-numeric:tabular-nums;padding-inline-start:.6rem}
.owner-principle[aria-labelledby="owner-statement-example"] dd:last-child {font-weight:700;color:#214b3c}