#ab-marketing-capture {
  display: none;
  position: fixed;
  left: 50%;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 9500;
  width: min(420px, calc(100vw - 32px));
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(16, 24, 33, 0.18);
  border: 1px solid #e5e7eb;
  padding: 20px 20px 18px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

#ab-marketing-capture.is-visible {
  display: block;
  animation: abMarketingSlideUp 0.35s ease;
}

@keyframes abMarketingSlideUp {
  from { transform: translateX(-50%) translateY(16px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.ab-marketing-capture__title {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
  color: #111827;
  font-weight: 600;
  padding-right: 28px;
}

.ab-marketing-capture__form {
  display: flex;
  gap: 8px;
}

.ab-marketing-capture__form input[type=email] {
  flex: 1;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}

.ab-marketing-capture__form button {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 14px;
  white-space: nowrap;
  cursor: pointer;
}

.ab-marketing-capture__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
}

@media (max-width: 480px) {
  .ab-marketing-capture__form {
    flex-direction: column;
  }
}
