/* WeUpsell Checkout — storefront overlay styles (served from Cloudflare with popup) */

#tco-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2147483646;
  animation: tco-fade-in 0.2s ease;
}

#tco-wrap {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

#tco-iframe {
  width: 100%;
  max-width: 480px;
  height: 95vh;
  border: none;
  border-radius: 16px 16px 0 0;
  background: #fff;
  pointer-events: all;
  display: none;
  animation: tco-slide-up 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.18);
}

@keyframes tco-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes tco-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
