:root {
  --sxd-wa-navy: #07182b;
  --sxd-wa-text: #132238;
  --sxd-wa-muted: #5c6c80;
  --sxd-wa-line: #d7e1ed;
  --sxd-wa-blue: #2563eb;
  --sxd-wa-green: #168c53;
}

.sxd-wa-action {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #fff !important;
  background: var(--sxd-wa-green);
  font: 700 14px/1.25 Inter, Arial, sans-serif;
  letter-spacing: 0;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(7, 24, 43, .15);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.sxd-wa-action:hover,
.sxd-wa-action:focus-visible {
  color: #fff !important;
  background: #117544;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(7, 24, 43, .22);
}

.sxd-wa-action svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 22px;
}

.sxd-wa-floating {
  position: fixed;
  z-index: 99960;
  left: 22px;
  bottom: 22px;
}

.admin-bar .sxd-wa-floating {
  bottom: 24px;
}

.sxd-wa-floating-link {
  min-height: 46px;
  padding: 11px 15px;
}

.sxd-wa-inline {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid #c9d8e8;
  border-left: 3px solid var(--sxd-wa-green);
  border-radius: 5px;
  background: #f7fafc;
}

.sxd-wa-inline > div {
  min-width: 0;
}

.sxd-wa-inline strong,
.sxd-wa-inline span {
  display: block;
  letter-spacing: 0;
}

.sxd-wa-inline strong {
  margin-bottom: 4px;
  color: var(--sxd-wa-text) !important;
  font: 750 18px/1.35 Inter, Arial, sans-serif;
}

.sxd-wa-inline > div > span {
  color: var(--sxd-wa-muted) !important;
  font: 400 15px/1.55 Inter, Arial, sans-serif;
}

.sxd-wa-inline-link {
  flex: 0 0 auto;
  box-shadow: none;
}

.sxd-wa-inline-product {
  clear: both;
}

.sxd-wa-modal[hidden] {
  display: none !important;
}

.sxd-wa-modal {
  position: fixed;
  z-index: 100050;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.sxd-wa-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 11, 22, .72);
  backdrop-filter: blur(3px);
}

.sxd-wa-dialog {
  position: relative;
  width: min(390px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(132, 181, 226, .45);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 10, 25, .4);
  color: var(--sxd-wa-text);
}

.sxd-wa-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef3f8;
  color: var(--sxd-wa-text);
  font: 400 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.sxd-wa-close:hover,
.sxd-wa-close:focus-visible {
  background: #dfe9f2;
}

.sxd-wa-dialog-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 32px;
}

.sxd-wa-dialog-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sxd-wa-green);
  color: #fff;
}

.sxd-wa-dialog-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sxd-wa-dialog-head p,
.sxd-wa-dialog-head h2,
.sxd-wa-intro,
.sxd-wa-response {
  letter-spacing: 0;
}

.sxd-wa-dialog-head p {
  margin: 0 0 3px;
  color: #1b73aa;
  font: 800 11px/1.2 Inter, Arial, sans-serif;
}

.sxd-wa-dialog-head h2 {
  margin: 0;
  color: var(--sxd-wa-text) !important;
  font: 750 23px/1.25 Inter, Arial, sans-serif;
}

.sxd-wa-intro {
  margin: 18px 0 14px;
  color: var(--sxd-wa-muted) !important;
  font: 400 15px/1.55 Inter, Arial, sans-serif;
}

.sxd-wa-qr-wrap {
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--sxd-wa-line);
  background: #fff;
}

.sxd-wa-qr-wrap img {
  display: block;
  width: min(100%, 270px);
  height: auto;
  margin: 0;
}

.sxd-wa-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0;
}

.sxd-wa-specs span {
  padding: 8px 9px;
  border: 1px solid #d9e4ee;
  background: #f4f8fb;
  color: #3f5267 !important;
  font: 650 12px/1.3 Inter, Arial, sans-serif;
  text-align: center;
}

.sxd-wa-web-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  border-radius: 5px;
  background: var(--sxd-wa-green);
  color: #fff !important;
  font: 750 14px/1.2 Inter, Arial, sans-serif;
  text-decoration: none !important;
}

.sxd-wa-response {
  margin: 13px 0 0;
  color: #6b7887 !important;
  font: 400 12px/1.5 Inter, Arial, sans-serif;
}

body.sxd-wa-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .sxd-wa-floating {
    left: 14px;
    bottom: 14px;
  }

  .sxd-wa-floating-link {
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: 50%;
  }

  .sxd-wa-floating-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .sxd-wa-inline {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .sxd-wa-inline-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sxd-wa-action {
    transition: none;
  }
}

