:root {
  --gwp-green: #086b5d;
  --gwp-green-dark: #075f54;
  --gwp-input: #e7ffe9;
  --gwp-blue: #1469d8;
  --gwp-text: #24323a;
}

.gwp-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147482990;
  background: rgba(0, 0, 0, .62);
}

.gwp-widget,
.gwp-widget * {
  box-sizing: border-box;
}

.gwp-widget .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gwp-widget {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 2147483000;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--gwp-text);
}

.gwp-widget button.gwp-launcher {
  display: grid;
  width: 83px;
  height: 83px;
  margin-left: auto;
  padding: 0;
  place-items: center;
  cursor: pointer;
  color: #fff;
  border: 0;
  border-radius: 50%;
  outline: 0;
  background: #61ce70;
  box-shadow: none;
}

.gwp-widget button.gwp-launcher:hover,
.gwp-widget button.gwp-launcher:focus {
  color: #fff;
  border: 0;
  outline: 0;
  background: #61ce70;
}

.gwp-widget button.gwp-launcher:focus-visible {
  outline: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(97, 206, 112, .45);
}

.gwp-widget button.gwp-launcher img {
  display: block;
  width: 40px;
  height: 40px;
}

.gwp-panel {
  position: absolute;
  right: 0;
  bottom: 95px;
  width: min(480px, calc(100vw - 28px));
  overflow: hidden;
  border-radius: 0;
  background: #f3efe8;
  box-shadow: 0 9px 34px rgba(0, 0, 0, .28);
  animation: gwp-in .18s ease-out;
}

.gwp-header {
  display: flex;
  height: 64px;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 7px 20px;
  color: #fff;
  background: var(--gwp-green);
}

.gwp-brand-mark {
  width: 54px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
}

.gwp-header strong,
.gwp-header span {
  display: block;
}

.gwp-header strong {
  font-size: 20px;
  line-height: 22px;
}

.gwp-header span {
  font-size: 15px;
  line-height: 18px;
}

.gwp-widget button.gwp-close {
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  cursor: pointer;
  color: #fff;
  border: 0;
  background: transparent;
}

.gwp-widget button.gwp-close:hover,
.gwp-widget button.gwp-close:focus {
  color: #fff;
  border: 0;
  background: transparent;
}

.gwp-widget button.gwp-close .dashicons,
.gwp-widget button.gwp-close .gwp-preview-close {
  width: 30px;
  height: 30px;
  font-size: 30px;
  line-height: 30px;
}

.gwp-body {
  min-height: 350px;
  padding: 15px;
  background: #f3efe8 var(--gwp-pattern) center / 560px auto repeat;
}

.gwp-greeting {
  width: 340px;
  max-width: calc(100% - 95px);
  margin: 0 0 12px;
  padding: 13px 14px;
  font-size: 16px;
  line-height: 1.45;
  border: 1px solid #e2ddd4;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.gwp-form {
  display: grid;
  width: 352px;
  max-width: 100%;
  margin-left: auto;
  gap: 9px;
}

.gwp-widget .gwp-form input,
.gwp-widget .gwp-form select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  font: inherit;
  color: #41565d;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 7px;
  outline: 0;
  background: var(--gwp-input);
  box-shadow: none;
}

.gwp-widget .gwp-form input:focus,
.gwp-widget .gwp-form select:focus {
  border-color: var(--gwp-green);
  box-shadow: 0 0 0 2px rgba(8, 107, 93, .18);
}

.gwp-widget .gwp-form [aria-invalid="true"] {
  border-color: #b42318;
}

.gwp-phone {
  display: grid;
  grid-template-columns: 28px 18px 1fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 7px;
  background: var(--gwp-input);
}

.gwp-phone img {
  width: 24px;
  height: 18px;
  margin-left: 8px;
  object-fit: cover;
}

.gwp-phone-arrow {
	width: 12px !important;
	height: 12px !important;
	margin-left: 7px !important;
	object-fit: contain !important;
}

.gwp-widget .gwp-form .gwp-phone input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.gwp-feedback {
  min-height: 0;
  font-size: 13px;
  line-height: 1.35;
}

.gwp-feedback:empty {
  display: none;
}

.gwp-feedback.is-error { color: #9b1c1c; }
.gwp-feedback.is-success { color: #075f54; }
.gwp-feedback.is-loading { color: #52636a; }

.gwp-widget button.gwp-submit {
  justify-self: end;
  min-height: 40px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 16px;
  color: #fff;
  border: 0;
  border-radius: 6px;
  background: #086b5d;
}

.gwp-widget button.gwp-submit:hover { color: #fff; border: 0; background: #075f54; }
.gwp-widget button.gwp-submit:focus { color: #fff; border: 0; background: #086b5d; }
.gwp-widget button.gwp-submit:focus-visible { outline: 3px solid #fff; box-shadow: 0 0 0 5px var(--gwp-blue); }
.gwp-widget button.gwp-submit:disabled { cursor: wait; opacity: .72; }
.gwp-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@keyframes gwp-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .gwp-widget { right: 12px; bottom: 12px; }
  .gwp-panel { right: -4px; bottom: 95px; width: calc(100vw - 16px); max-height: calc(100vh - 119px); overflow-y: auto; }
  .gwp-body { padding: 12px; }
  .gwp-greeting { max-width: 92%; }
  .gwp-form { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .gwp-panel { animation: none; }
}
