/* Sticky CTA (v2) – used on a small set of high-intent review pages */
.atg-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--atg-sticky-offset, 0px);
  z-index: 9999;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(120%);
  transition: transform 180ms ease;
}

.atg-sticky-cta.is-visible {
  transform: translateY(0);
}

.atg-sticky-cta .inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.atg-sticky-cta .msg {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.25;
  color: #222;
}

.atg-sticky-cta .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.atg-sticky-cta .actions .btn {
  white-space: nowrap;
  padding: 10px 12px;
  font-size: 14px;
}

.atg-sticky-close {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.atg-sticky-close:hover {
  background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 520px) {
  /* Keep it compact on mobile */
  .atg-sticky-cta .msg {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atg-sticky-cta {
    transition: none;
  }
}

@media print {
  .atg-sticky-cta {
    display: none !important;
  }
}
