:root {
  --lcwl-ink: #17191c;
  --lcwl-muted: #666d74;
  --lcwl-line: #d9dde1;
  --lcwl-paper: #f7f7f4;
  --lcwl-green: #1d6b52;
  --lcwl-wa: #25d366;
}

.lcwl-contact-dock {
  position: fixed;
  z-index: 88;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  display: flex;
  align-items: stretch;
  gap: 9px;
  font-family: Arial, Helvetica, sans-serif;
}

.lcwl-lead-trigger,
.lcwl-whatsapp-button {
  border: 0;
  box-shadow: 0 14px 34px rgba(17, 22, 27, 0.22);
}

.lcwl-lead-trigger {
  display: grid;
  min-width: 174px;
  padding: 11px 16px;
  cursor: pointer;
  background: var(--lcwl-ink);
  color: #fff;
  text-align: left;
}

.lcwl-lead-trigger span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lcwl-lead-trigger small {
  margin-top: 3px;
  color: #c7ccd1;
  font-size: 10px;
}

.lcwl-whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 54px;
  padding: 0 16px;
  background: var(--lcwl-wa);
  color: #07160d;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.lcwl-whatsapp-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.lcwl-whatsapp-button:hover,
.lcwl-whatsapp-button:focus-visible {
  background: #20bd5a;
  color: #07160d;
}

.lcwl-lead-trigger:hover,
.lcwl-lead-trigger:focus-visible {
  background: #30343a;
}

.lcwl-lead-trigger:focus-visible,
.lcwl-whatsapp-button:focus-visible,
.lcwl-close:focus-visible,
.lcwl-submit:focus-visible,
.lcwl-success a:focus-visible {
  outline: 3px solid #c7a464;
  outline-offset: 3px;
}

.lcwl-modal[hidden] {
  display: none;
}

.lcwl-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.lcwl-modal.is-open {
  opacity: 1;
}

.lcwl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 11, 0.74);
  backdrop-filter: blur(7px);
}

.lcwl-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--lcwl-paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  color: var(--lcwl-ink);
  transform: translateY(12px);
  transition: transform 180ms ease;
}

.lcwl-modal.is-open .lcwl-dialog {
  transform: translateY(0);
}

.lcwl-close {
  position: absolute;
  top: 13px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: #6c7278;
  font-size: 29px;
  line-height: 1;
}

.lcwl-dialog-header {
  max-width: 600px;
  padding-right: 35px;
}

.lcwl-kicker {
  margin: 0 0 10px;
  color: var(--lcwl-green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.lcwl-dialog h2,
.lcwl-success h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 500;
  line-height: 1.04;
}

.lcwl-dialog-header > p:last-child,
.lcwl-success > p {
  margin: 0;
  color: var(--lcwl-muted);
  font-size: 14px;
  line-height: 1.65;
}

.lcwl-form {
  display: grid;
  gap: 15px;
  margin-top: 25px;
}

.lcwl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.lcwl-form label:not(.lcwl-consent) {
  display: grid;
  gap: 7px;
}

.lcwl-form label > span:first-child {
  color: #4f565d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lcwl-form input[type="text"],
.lcwl-form input[type="email"],
.lcwl-form input[type="tel"],
.lcwl-form textarea {
  width: 100%;
  border: 1px solid var(--lcwl-line);
  border-radius: 0;
  background: #fff;
  color: var(--lcwl-ink);
  font: inherit;
  font-size: 14px;
}

.lcwl-form input[type="text"],
.lcwl-form input[type="email"],
.lcwl-form input[type="tel"] {
  height: 46px;
  padding: 0 12px;
}

.lcwl-form textarea {
  min-height: 94px;
  padding: 11px 12px;
  resize: vertical;
}

.lcwl-form input:focus,
.lcwl-form textarea:focus {
  border-color: var(--lcwl-green);
  outline: 2px solid rgba(29, 107, 82, 0.13);
}

.lcwl-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  color: #596168;
  font-size: 11px;
  line-height: 1.55;
}

.lcwl-consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
}

.lcwl-consent a,
.lcwl-success a {
  color: var(--lcwl-green);
  font-weight: 800;
}

.lcwl-form-note,
.lcwl-form-status {
  margin: 0;
  color: #747b82;
  font-size: 11px;
  line-height: 1.5;
}

.lcwl-form-status.is-error {
  color: #a22727;
  font-weight: 700;
}

.lcwl-submit,
.lcwl-success a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  cursor: pointer;
  background: var(--lcwl-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.lcwl-submit:hover,
.lcwl-success a:hover {
  background: #30343a;
  color: #fff;
}

.lcwl-submit:disabled {
  cursor: wait;
  opacity: 0.66;
}

.lcwl-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.lcwl-success {
  padding: 45px 0 18px;
}

.lcwl-success a {
  margin-top: 22px;
}

body.lcwl-modal-open {
  overflow: hidden;
}

.lcwl-privacy-notice {
  margin-top: 30px;
}

@media (max-width: 900px) {
  body.single-product .lcwl-contact-dock,
  body.watch-product-v2 .lcwl-contact-dock {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .lcwl-contact-dock {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .lcwl-lead-trigger {
    min-width: 126px;
    padding: 9px 12px;
  }

  .lcwl-lead-trigger span {
    font-size: 10px;
  }

  .lcwl-lead-trigger small {
    display: none;
  }

  .lcwl-whatsapp-button {
    width: 54px;
    height: 54px;
    min-width: 54px;
    padding: 0;
    border-radius: 50%;
  }

  .lcwl-whatsapp-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .lcwl-modal {
    align-items: end;
    padding: 0;
  }

  .lcwl-dialog {
    width: 100%;
    max-height: 92vh;
    padding: 27px 20px calc(24px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }

  .lcwl-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lcwl-modal,
  .lcwl-dialog {
    transition: none;
  }
}
