/* WebFusion Demo Channels v1 | modal demonstrativo compartilhado.
   Este arquivo afeta somente os canais de redes sociais/WhatsApp/Google:
   politicas juridicas, preferencias de cookies e lightbox permanecem independentes. */
.wf-demo-channel-modal .modal-card {
  width: min(500px, 100%);
  height: min(350px, calc(100dvh - 32px));
  max-height: calc(100dvh - 32px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
}
.wf-demo-channel-modal .modal-head {
  flex: 0 0 auto;
  padding: 18px 22px;
  border-radius: 22px 22px 0 0;
}
.wf-demo-channel-modal .modal-head h2 {
  font-size: clamp(1.18rem, 2.3vw, 1.48rem);
  line-height: 1.3;
}
.wf-demo-channel-modal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 19px 22px 12px;
  overscroll-behavior: contain;
}
.wf-demo-channel-modal .modal-body p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.68;
}
.wf-demo-channel-modal .wf-demo-actions {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 22px 22px;
  background: #fff;
  border-top: 1px solid var(--line, #e2e8e5);
}
.wf-demo-channel-modal .wf-demo-actions .btn {
  min-width: 0;
  min-height: 44px;
  text-align: center;
  justify-content: center;
  padding: 11px 13px;
  line-height: 1.35;
  white-space: normal;
}
.wf-demo-channel-modal .modal-close:focus-visible,
.wf-demo-channel-modal .wf-demo-actions .btn:focus-visible {
  outline: 3px solid var(--petrol, #255f59);
  outline-offset: 3px;
}
@media (max-width: 560px) {
  .wf-demo-channel-modal .modal-card {
    height: min(410px, calc(100dvh - 24px));
    max-height: calc(100dvh - 24px);
    border-radius: 20px;
  }
  .wf-demo-channel-modal .modal-head {
    padding: 14px 16px;
    border-radius: 20px 20px 0 0;
  }
  .wf-demo-channel-modal .modal-body { padding: 16px 17px 12px; }
  .wf-demo-channel-modal .modal-body p { font-size: .88rem; line-height: 1.62; }
  .wf-demo-channel-modal .wf-demo-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-height: 430px) {
  .wf-demo-channel-modal .modal-card { height: calc(100dvh - 20px); max-height: calc(100dvh - 20px); }
  .wf-demo-channel-modal .modal-head { padding-top: 8px; padding-bottom: 8px; }
  .wf-demo-channel-modal .modal-body { padding-top: 10px; padding-bottom: 8px; }
  .wf-demo-channel-modal .wf-demo-actions { padding-top: 8px; padding-bottom: 8px; }
}
