.mitose-float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mitose-float-actions a,
.mitose-popup-actions a,
.mitose-popup-actions button,
.mitose-popup-form button {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.mitose-float-actions a {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  color: #fff;
  min-width: 128px;
  padding: 13px 16px;
}

.mitose-float-call,
.mitose-popup-call {
  background: #111827;
}

.mitose-float-whatsapp,
.mitose-popup-whatsapp {
  background: #168f49;
}

.mitose-popup-overlay {
  align-items: center;
  background: rgba(17, 24, 39, 0.5);
  bottom: 0;
  display: none;
  justify-content: center;
  left: 0;
  padding: 18px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
}

.mitose-popup-overlay.is-visible {
  display: flex;
}

.mitose-popup {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  max-height: calc(100vh - 36px);
  max-width: 460px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.mitose-popup-close {
  background: #111827;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  height: 38px;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  z-index: 3;
}

.mitose-popup-body {
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 30px 26px 24px;
}

.mitose-popup-intro {
  min-width: 0;
}

.mitose-popup-kicker {
  color: #8f1f1f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.mitose-popup h3 {
  color: #111827;
  font-size: 24px;
  line-height: 1.18;
  margin: 0 44px 8px 0;
}

.mitose-popup p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 14px;
}

.mitose-popup-points {
  color: #374151;
  display: none;
  font-size: 14px;
  line-height: 1.45;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.mitose-popup-points li {
  margin-bottom: 9px;
  padding-left: 20px;
  position: relative;
}

.mitose-popup-points li::before {
  background: #b51d23;
  border-radius: 999px;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 8px;
  width: 7px;
}

.mitose-popup-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 10px;
}

.mitose-popup-actions a,
.mitose-popup-actions button {
  color: #fff;
  padding: 13px 12px;
}

.mitose-popup-callback {
  background: #8f1f1f;
  grid-column: 1 / -1;
}

.mitose-popup-form {
  border-top: 1px solid #e5e7eb;
  display: none;
  margin-top: 12px;
  padding-top: 12px;
}

.mitose-popup-form.is-visible {
  display: block;
}

.mitose-popup-form-title {
  color: #111827;
  display: none;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.mitose-popup-form input,
.mitose-popup-form textarea {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #111827;
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  padding: 10px 12px;
  width: 100%;
}

.mitose-popup-form textarea {
  min-height: 64px;
  resize: vertical;
}

.mitose-popup-form button {
  background: #111827;
  color: #fff;
  padding: 13px 18px;
  width: 100%;
}

.mitose-popup-consent {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
  margin: 6px 0 10px;
}

.mitose-popup-status {
  color: #166534;
  display: none;
  font-size: 14px;
  font-weight: 700;
  margin-top: 12px;
}

.mitose-popup-status.is-visible {
  display: block;
}

@media (min-width: 768px) {
  .mitose-popup {
    max-width: 780px;
  }

  .mitose-popup-body {
    display: grid;
    gap: 26px;
    grid-template-columns: 0.95fr 1.05fr;
    padding: 34px;
  }

  .mitose-popup-intro {
    background: linear-gradient(145deg, #111827 0%, #1f2937 58%, #8f1f1f 100%);
    border-radius: 8px;
    color: #fff;
    padding: 28px 24px;
  }

  .mitose-popup-kicker {
    color: #fca5a5;
  }

  .mitose-popup h3 {
    color: #fff;
    font-size: 28px;
    margin-right: 0;
  }

  .mitose-popup p,
  .mitose-popup-points {
    color: rgba(255, 255, 255, 0.86);
  }

  .mitose-popup-points {
    display: block;
  }

  .mitose-popup-points li::before {
    background: #fff;
  }

  .mitose-popup-actions {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }

  .mitose-popup-actions a,
  .mitose-popup-actions button {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }

  .mitose-popup-callback {
    display: none;
  }

  .mitose-popup-form {
    border-top: 0;
    display: block;
    margin-top: 0;
    padding-top: 0;
  }

  .mitose-popup-form-title {
    display: block;
  }

  .mitose-popup-form input,
  .mitose-popup-form textarea {
    margin-bottom: 10px;
    padding: 12px 13px;
  }

  .mitose-popup-form textarea {
    min-height: 86px;
  }

  .mitose-popup-status {
    grid-column: 2;
    margin-top: -12px;
  }
}

@media (max-width: 575px) {
  .mitose-float-actions {
    bottom: 10px;
    left: 10px;
    right: 10px;
    flex-direction: row;
  }

  .mitose-float-actions a {
    flex: 1;
    min-width: 0;
    padding: 13px 8px;
  }

  .mitose-popup-body {
    padding: 26px 18px 20px;
  }

  .mitose-popup h3 {
    font-size: 21px;
    margin-right: 42px;
  }

  .mitose-popup p {
    font-size: 14px;
  }

  .mitose-popup-actions {
    gap: 8px;
  }

  .mitose-popup-actions a,
  .mitose-popup-actions button {
    padding: 12px 8px;
  }
}

@media (max-height: 760px) {
  .mitose-popup-overlay {
    align-items: flex-start;
    padding-bottom: 12px;
    padding-top: 12px;
  }

  .mitose-popup,
  .mitose-popup-body {
    max-height: calc(100vh - 24px);
  }

  .mitose-popup-body {
    padding-bottom: 18px;
  }

  .mitose-popup h3 {
    font-size: 21px;
  }

  .mitose-popup p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .mitose-popup-form textarea {
    min-height: 54px;
  }
}
