/*
 * Load after patio.css, only as an additive component layer.
 * No global resets and no changes to native dialogs, forms or consent surfaces.
 */
body.patio-home .whatsapp-help {
  --wh-help-charcoal: #20211f;
  --wh-help-paper: #faf8f4;
  --wh-help-accent: #ad542e;
  --wh-help-line: #d7d1c8;
  --wh-help-muted: #625c55;
  --wh-help-font: Arial, Helvetica, sans-serif;
  --wh-help-display: Georgia, 'Times New Roman', serif;
  position: fixed;
  z-index: 36;
  inset-inline-end: 24px;
  bottom: calc(88px + var(--wh-help-viewport-offset, 0px));
  display: flex;
  flex-direction: column;
  width: min(392px, calc(100vw - 48px));
  max-height: min(640px, calc(100vh - 248px));
  max-height: min(640px, calc(var(--wh-help-viewport-height, 100dvh) - 248px));
  margin: 0;
  padding: 0;
  border: 1px solid var(--wh-help-line);
  border-radius: 8px;
  background: var(--wh-help-paper);
  color: var(--wh-help-charcoal);
  box-shadow: 0 12px 46px rgb(0 0 0 / .23);
  font: 15px/1.65 var(--wh-help-font);
  text-align: start;
  overflow: hidden;
  isolation: isolate;
  color-scheme: light;
}

/* Component display rules must never expose a closed panel or hidden child. */
body.patio-home .whatsapp-help[hidden],
body.patio-home .whatsapp-help [hidden] {
  display: none !important;
}

body.patio-home .whatsapp-help,
body.patio-home .whatsapp-help * {
  box-sizing: border-box;
}

body.patio-home .whatsapp-help [lang="ar"],
body.patio-home .whatsapp-help[lang="ar"] {
  --wh-help-font: OlevArabic, Arial, sans-serif;
  --wh-help-display: OlevArabic, Arial, sans-serif;
  font-family: OlevArabic, Arial, sans-serif;
}

body.patio-home .whatsapp-help [lang="en"] {
  font-family: Arial, Helvetica, sans-serif;
}

body.patio-home .whatsapp-help :where(h2, h3, p) {
  margin: 0;
  overflow-wrap: anywhere;
}

body.patio-home .whatsapp-help p {
  color: var(--wh-help-muted);
}

body.patio-home .whatsapp-help :where(button, a) {
  min-height: 44px;
  min-width: 44px;
  max-width: 100%;
  font: 600 14px/1.5 var(--wh-help-font);
  letter-spacing: 0;
  overflow-wrap: anywhere;
  touch-action: manipulation;
}

body.patio-home .whatsapp-help :is(a, button, textarea):focus-visible,
body.patio-home .whatsapp-help-title:focus-visible {
  outline: 2px solid var(--wh-help-accent);
  outline-offset: 3px;
}

body.patio-home .whatsapp-help-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--wh-help-line);
  background: var(--wh-help-charcoal);
  color: var(--wh-help-paper);
}

body.patio-home .whatsapp-help-heading {
  min-width: 0;
}

body.patio-home .whatsapp-help .whatsapp-help-brand {
  color: #ded9d2;
  font: 600 10px/1.6 Arial, Helvetica, sans-serif;
  letter-spacing: .13em;
}

body.patio-home .whatsapp-help .whatsapp-help-title {
  margin-top: 2px;
  color: var(--wh-help-paper);
  font: 400 25px/1.35 var(--wh-help-display);
  text-wrap: balance;
}

body.patio-home .whatsapp-help-close {
  flex-shrink: 0;
  padding: 8px 10px;
  border: 1px solid #a8a198;
  border-radius: 3px;
  background: transparent;
  color: var(--wh-help-paper);
}

body.patio-home .whatsapp-help-close:hover {
  background: #363732;
}

body.patio-home .whatsapp-help-header :is(button, h2):focus-visible {
  outline-color: #e2a27a;
  outline-offset: 2px;
}

body.patio-home .whatsapp-help-scroll {
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scroll-padding-block: 16px;
}

body.patio-home .whatsapp-help-intro {
  font-size: 15px;
}

body.patio-home .whatsapp-help-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 12px;
}

body.patio-home .whatsapp-help-language {
  padding: 8px 14px;
  border: 1px solid #a8a198;
  border-radius: 3px;
  background: transparent;
  color: var(--wh-help-charcoal);
}

body.patio-home .whatsapp-help-language[aria-pressed="true"] {
  background: var(--wh-help-charcoal);
  color: var(--wh-help-paper);
  border-color: var(--wh-help-charcoal);
}

body.patio-home .whatsapp-help-disclosure {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.75;
}

body.patio-home .whatsapp-help .whatsapp-help-section-label {
  margin-block: 18px 8px;
  color: var(--wh-help-charcoal);
  font-size: 14px;
  font-weight: 600;
}

body.patio-home .whatsapp-help-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.patio-home .whatsapp-help-topic {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  border: 1px solid #b7afa4;
  border-radius: 3px;
  background: #fff;
  color: var(--wh-help-charcoal);
  text-align: start;
}

body.patio-home .whatsapp-help-topic:hover,
body.patio-home .whatsapp-help-language:not([aria-pressed="true"]):hover {
  border-color: var(--wh-help-accent);
  background: #f1ede7;
}

body.patio-home .whatsapp-help-topic[aria-pressed="true"] {
  border-color: var(--wh-help-accent);
  background: var(--wh-help-accent);
  color: var(--wh-help-paper);
}

body.patio-home .whatsapp-help-answer {
  margin-block: 18px;
  padding-block: 16px;
  border-block: 1px solid var(--wh-help-line);
}

body.patio-home .whatsapp-help .whatsapp-help-answer-title {
  color: var(--wh-help-charcoal);
  font: 400 23px/1.4 var(--wh-help-display);
}

body.patio-home .whatsapp-help .whatsapp-help-question {
  margin-block: 7px;
  color: var(--wh-help-charcoal);
  font-size: 14px;
  font-weight: 600;
}

body.patio-home .whatsapp-help-answer-copy {
  font-size: 14px;
  line-height: 1.8;
}

body.patio-home .whatsapp-help-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
}

body.patio-home .whatsapp-help-link {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid #b7afa4;
  border-radius: 3px;
  background: transparent;
  color: var(--wh-help-charcoal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.patio-home .whatsapp-help-link:hover {
  background: #f1ede7;
  color: #934323;
  border-color: var(--wh-help-accent);
}

body.patio-home .whatsapp-help-team-notice {
  padding-inline-start: 12px;
  border-inline-start: 2px solid var(--wh-help-accent);
}

body.patio-home .whatsapp-help-team-notice p {
  font-size: 12px;
  line-height: 1.8;
}

body.patio-home .whatsapp-help-team-button,
body.patio-home .whatsapp-help-suggestion {
  padding: 9px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #934323;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.patio-home .whatsapp-help-team-button:hover,
body.patio-home .whatsapp-help-suggestion:hover {
  color: var(--wh-help-charcoal);
}

body.patio-home .whatsapp-help-draft-section {
  margin-top: 18px;
}

body.patio-home .whatsapp-help-draft-label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wh-help-charcoal);
}

body.patio-home .whatsapp-help-draft-hint {
  margin-bottom: 9px;
  font-size: 12px;
  line-height: 1.75;
}

body.patio-home .whatsapp-help-draft {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 112px;
  max-height: 240px;
  padding: 10px 12px;
  border: 1px solid #9d958a;
  border-radius: 3px;
  background: #fff;
  color: var(--wh-help-charcoal);
  font: 16px/1.65 var(--wh-help-font);
  text-align: start;
  resize: vertical;
}

body.patio-home .whatsapp-help-draft::placeholder {
  color: var(--wh-help-muted);
  opacity: 1;
}

body.patio-home .whatsapp-help-status {
  font-size: 12px;
  line-height: 1.75;
}

body.patio-home .whatsapp-help-status:empty {
  display: none;
}

body.patio-home .whatsapp-help-footer {
  flex-shrink: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--wh-help-line);
  background: var(--wh-help-paper);
}

body.patio-home .whatsapp-help-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--wh-help-accent);
  border-radius: 3px;
  background: var(--wh-help-accent);
  color: var(--wh-help-paper);
  text-align: center;
}

body.patio-home .whatsapp-help-open:hover {
  background: #934323;
  color: var(--wh-help-paper);
  border-color: #934323;
}

body.patio-home .whatsapp-help .whatsapp-help-send-hint {
  margin-top: 7px;
  color: var(--wh-help-muted);
  font-size: 12px;
  text-align: center;
}

body.patio-home .whatsapp-help-destination {
  font-size: 11px;
  text-align: center;
}

body.patio-home .whatsapp-help-destination bdi {
  font-family: Arial, Helvetica, sans-serif;
}

body.patio-home .whatsapp-help[lang="ar"] :is(.whatsapp-help-disclosure, .whatsapp-help-draft-hint, .whatsapp-help-team-notice p, .whatsapp-help-status) {
  font-size: 13px;
}

/* Anchor text/href/display states are retained. Keep a clear, usable hit area. */
body.patio-home a.whatsapp-floating {
  top: auto;
  writing-mode: horizontal-tb;
  transform: none;
  inset-inline-start: auto;
  min-height: 48px;
  min-width: 44px;
  max-width: calc(100vw - 48px);
  inset-inline-end: 24px;
  bottom: 24px;
  padding-block: 12px;
}

body.patio-home a.mobile-whatsapp {
  min-height: 44px;
  min-width: 44px;
}

@media (max-width: 800px) {
  body.patio-home .whatsapp-help {
    z-index: 45;
    inset-inline: 12px;
    width: auto;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px) + var(--wh-help-viewport-offset, 0px));
    max-height: calc(100vh - 94px - env(safe-area-inset-bottom, 0px));
    max-height: calc(var(--wh-help-viewport-height, 100dvh) - 94px - env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 360px) {
  body.patio-home .whatsapp-help-header,
  body.patio-home .whatsapp-help-scroll,
  body.patio-home .whatsapp-help-footer {
    padding-inline: 12px;
  }

  body.patio-home .whatsapp-help .whatsapp-help-title {
    font-size: 23px;
  }

  body.patio-home .whatsapp-help :is(.whatsapp-help-topic, .whatsapp-help-close) {
    font-size: 13px;
  }
}

@media (max-height: 520px) and (min-width: 801px) {
  body.patio-home .whatsapp-help {
    max-height: calc(100vh - 104px);
    max-height: calc(var(--wh-help-viewport-height, 100dvh) - 104px);
  }
}

@media (forced-colors: active) {
  body.patio-home .whatsapp-help :is(button, a, textarea) {
    border: 1px solid ButtonText;
  }

  body.patio-home .whatsapp-help [aria-pressed="true"] {
    outline: 2px solid Highlight;
    outline-offset: -4px;
  }
}
