/* Contact Us floating widget */
.contact-us-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.contact-us-panel {
  width: 358px;
  padding: 32px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(52, 35, 19, .02), 0 8px 24px rgba(52, 35, 19, .12);
  color: #101828;
}

.contact-us-panel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #b47b00;
}

.contact-us-panel p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 30px;
}

.contact-us-chat-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 13px;
  background: #101828;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  cursor: pointer;
  text-align: left;
}

.contact-us-chat-btn span:nth-of-type(2) {
  margin-left: auto;
  line-height: 1;
}

.contact-us-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 62px;
  padding: 0 26px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(52, 35, 19, .02), 0 8px 24px rgba(52, 35, 19, .12);
  color: #101828;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}

.contact-us-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #25D366;
  cursor: pointer;
}

.contact-us-toggle-icon-expanded {
  display: none;
}

.contact-us-widget.is-expanded .contact-us-toggle-icon-default {
  display: none;
}

.contact-us-widget.is-expanded .contact-us-toggle-icon-expanded {
  display: block;
}

.contact-us-widget.is-expanded .contact-us-bubble {
  display: none;
}

.contact-us-widget.is-expanded {
  gap: 16px;
}

.contact-us-bubble:focus-visible,
.contact-us-whatsapp-btn:focus-visible,
.contact-us-chat-btn:focus-visible {
  outline: 3px solid rgba(47, 118, 19, .35);
  outline-offset: 3px;
}

[dir="rtl"] .contact-us-widget {
  right: auto;
  left: 24px;
  align-items: flex-end;
}

[dir="rtl"] .contact-us-chat-btn {
  flex-direction: row;
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .contact-us-chat-btn span:nth-of-type(2) {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .contact-us-chat-chevron {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .contact-us-widget {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .contact-us-panel {
    width: min(358px, calc(100vw - 32px));
    padding: 24px;
  }

  .contact-us-panel p {
    font-size: 16px;
  }

  [dir="rtl"] .contact-us-widget {
    right: auto;
    left: 16px;
  }
}