.xewex-contact-widget,
.xewex-contact-widget * { box-sizing: border-box; }
.xewex-contact-widget { position: fixed; right: var(--xewex-side-desktop); bottom: var(--xewex-bottom-desktop); z-index: 999990; color: var(--xewex-text-color); font-family: inherit; font-size: 16px; line-height: 1.45; }
.xewex-contact-widget--left { right: auto; left: var(--xewex-side-desktop); }
.xewex-contact-button { position: relative; display: grid; width: var(--xewex-size-desktop); height: var(--xewex-size-desktop); min-width: 0; min-height: 0; margin: 0; padding: 0; place-items: center; overflow: visible; border: 0; border-radius: 50%; outline-offset: 4px; background: var(--xewex-button-bg); color: var(--xewex-icon-color); box-shadow: 0 8px 28px rgba(16, 24, 40, .22); cursor: pointer; appearance: none; -webkit-appearance: none; }
.xewex-contact-button:hover,
.xewex-contact-button:focus { background: var(--xewex-button-bg); color: var(--xewex-icon-color); transform: translateY(-1px); }
.xewex-contact-button__icon,
.xewex-contact-button__close { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .2s ease, transform .2s ease; }
.xewex-contact-button__icon svg,
.xewex-contact-button__icon img { display: block; width: 52%; height: 52%; object-fit: contain; }
.xewex-contact-button__close { color: var(--xewex-button-close-color); opacity: 0; transform: scale(.5) rotate(-90deg); }
.xewex-contact-button__close::before,
.xewex-contact-button__close::after { content: ""; position: absolute; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.xewex-contact-button__close::before { transform: rotate(45deg); }
.xewex-contact-button__close::after { transform: rotate(-45deg); }
.xewex-contact-button__close::before,
.xewex-contact-button__close::after { background: var(--xewex-button-close-color); }
.xewex-contact-widget.is-open .xewex-contact-button__icon { opacity: 0; transform: scale(.5) rotate(90deg); }
.xewex-contact-widget.is-open .xewex-contact-button__close { opacity: 1; transform: scale(1) rotate(0); }
.xewex-contact-widget--pulse:not(.is-open) .xewex-contact-button::after { content: ""; position: absolute; inset: -1px; z-index: -1; border: 2px solid var(--xewex-button-bg); border-radius: inherit; animation: xewex-contact-pulse 2.8s ease-out infinite; }
@keyframes xewex-contact-pulse { 0%, 45% { opacity: 0; transform: scale(1); } 55% { opacity: .36; } 90%, 100% { opacity: 0; transform: scale(1.34); } }
.xewex-contact-popup { position: absolute; right: 0; bottom: calc(var(--xewex-size-desktop) + 16px); width: min(380px, calc(100vw - 32px)); opacity: 0; transform: translateY(12px) scale(.98); transform-origin: right bottom; transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.xewex-contact-widget--left .xewex-contact-popup { right: auto; left: 0; transform-origin: left bottom; }
.xewex-contact-popup.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.xewex-contact-popup__panel { position: relative; max-height: min(620px, calc(100vh - var(--xewex-bottom-desktop) - var(--xewex-size-desktop) - 32px)); overflow: hidden; border: 1px solid rgba(17, 24, 39, .08); border-radius: 20px; outline: none; background: var(--xewex-popup-bg); color: var(--xewex-text-color); box-shadow: 0 20px 55px rgba(16, 24, 40, .2); }
.xewex-contact-popup__close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; width: 38px; height: 38px; min-width: 0; min-height: 0; margin: 0; padding: 0; place-items: center; border: 0; border-radius: 50%; outline-offset: 2px; background: transparent !important; color: var(--xewex-popup-close-color); box-shadow: none !important; cursor: pointer; appearance: none; -webkit-appearance: none; }
.xewex-contact-popup__close:hover,
.xewex-contact-popup__close:focus,
.xewex-contact-popup__close:active { border-color: transparent; background: transparent !important; color: var(--xewex-popup-close-color); box-shadow: none !important; }
.xewex-contact-popup__close span,
.xewex-contact-popup__close svg { display: block; width: 24px; height: 24px; }
.xewex-contact-popup__close svg { color: var(--xewex-popup-close-color); stroke: var(--xewex-popup-close-color) !important; }
.xewex-contact-popup__header { padding: 24px 58px 18px 22px; }
.xewex-contact-popup__title { margin: 0; color: inherit; font-size: 20px; line-height: 1.25; }
.xewex-contact-popup__title > :first-child,
.xewex-contact-popup__description > :first-child,
.xewex-contact-item__body > :first-child { margin-top: 0; }
.xewex-contact-popup__title > :last-child,
.xewex-contact-popup__description > :last-child,
.xewex-contact-item__body > :last-child { margin-bottom: 0; }
.xewex-contact-popup__description { margin-top: 8px; color: inherit; opacity: .72; font-size: 14px; }
.xewex-contact-popup__content { max-height: 430px; padding: 0 14px 16px; overflow: auto; overscroll-behavior: contain; }
.xewex-contact-item { display: flex; min-width: 0; margin-top: 10px; padding: 14px; align-items: center; gap: 13px; border-radius: 14px; background: var(--xewex-contact-bg); color: var(--xewex-text-color); transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.xewex-contact-item:first-child { margin-top: 0; }
.xewex-contact-item:hover,
.xewex-contact-item:focus-within { background: var(--xewex-contact-hover-bg); color: var(--xewex-contact-hover-color); transform: translateY(-1px); }
.xewex-contact-item__icon { flex: 0 0 46px; display: grid; width: 46px; height: 46px; place-items: center; overflow: hidden; border-radius: 12px; }
.xewex-contact-item__icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.xewex-contact-item__body { min-width: 0; flex: 1; overflow-wrap: anywhere; color: inherit; }
.xewex-contact-item__body a { color: inherit; text-decoration: none; }
.xewex-contact-item__body a:hover,
.xewex-contact-item__body a:focus { color: inherit; text-decoration: underline; }
@media (max-width: 767px) {
  .xewex-contact-widget { right: var(--xewex-side-mobile); bottom: calc(var(--xewex-bottom-mobile) + env(safe-area-inset-bottom, 0px)); }
  .xewex-contact-widget--left { right: auto; left: var(--xewex-side-mobile); }
  .xewex-contact-button { width: var(--xewex-size-mobile); height: var(--xewex-size-mobile); }
  .xewex-contact-popup { position: fixed; top: 0; right: auto; bottom: auto; left: 0; z-index: -1; width: 100vw; height: 100dvh; min-height: 100vh; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); background: var(--xewex-popup-bg); transform: translateY(18px); transform-origin: center; }
  .xewex-contact-popup.is-visible { z-index: 1; transform: translateY(0); }
  .xewex-contact-popup__panel { display: flex; width: 100%; height: 100%; max-height: none; flex-direction: column; border: 0; border-radius: 0; box-shadow: none; }
  .xewex-contact-popup__header { flex: 0 0 auto; padding: 28px 64px 18px 20px; }
  .xewex-contact-popup__content { flex: 1 1 auto; max-height: none; padding: 0 14px 24px; overflow-y: auto; }
  .xewex-contact-popup__close { top: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .xewex-contact-widget--pulse:not(.is-open) .xewex-contact-button::after { animation: none; }
  .xewex-contact-button__icon,
  .xewex-contact-button__close,
  .xewex-contact-popup,
  .xewex-contact-item { transition: none; }
}
