/* Express-consent block — shared across package checkouts and homepage hosting PayPal. */
.checkout-consent {
  --consent-border: rgba(52, 211, 153, 0.42);
  --consent-glow: rgba(52, 211, 153, 0.12);
  display: block;
  max-width: min(720px, calc(100% - 2 * var(--page-gutter, 1.25rem)));
  margin: 1.5rem auto 1.35rem;
  padding: 1.15rem 1.2rem 1.05rem;
  border-radius: 14px;
  border: 1.5px solid var(--consent-border);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.08), rgba(0, 0, 0, 0.28));
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.06), 0 0 18px var(--consent-glow);
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-main, #ededed);
  animation: checkout-consent-breathe 5.6s ease-in-out infinite;
  box-sizing: border-box;
}
.checkout-consent.is-consented {
  animation: none;
  --consent-border: rgba(52, 211, 153, 0.55);
  --consent-glow: rgba(52, 211, 153, 0.08);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.1), rgba(0, 0, 0, 0.28));
}
.checkout-consent__heading {
  margin: 0 0 0.7rem;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ee7b7;
}
.checkout-consent__label {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  cursor: pointer;
  margin: 0;
}
.checkout-consent__label input {
  margin-top: 0.15rem;
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #34d399;
}
.checkout-consent__label span { color: var(--text-main, #ededed); }
.checkout-consent__terms {
  color: #6ee7b7 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.checkout-consent__terms:hover { color: #a7f3d0 !important; }
.checkout-consent-hint {
  margin: 0.75rem 0 0;
  text-align: left;
  font-size: 0.86rem;
  font-weight: 600;
  color: #fbbf24;
}
.checkout-consent-hint.is-hidden { display: none !important; }
.checkout-consent.is-consent-attention {
  animation: checkout-consent-attention 0.72s ease-out 1;
}
a.is-consent-blocked {
  cursor: pointer;
}
@keyframes checkout-consent-breathe {
  0%, 100% {
    border-color: rgba(52, 211, 153, 0.36);
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.04), 0 0 8px rgba(52, 211, 153, 0.05);
  }
  50% {
    border-color: rgba(52, 211, 153, 0.5);
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.08), 0 0 16px rgba(52, 211, 153, 0.11);
  }
}
@keyframes checkout-consent-attention {
  0% {
    transform: translateX(0);
    --consent-border: rgba(52, 211, 153, 0.85);
    --consent-glow: rgba(52, 211, 153, 0.35);
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.28), 0 0 28px rgba(52, 211, 153, 0.28);
  }
  18% { transform: translateX(-5px); }
  36% { transform: translateX(5px); }
  54% { transform: translateX(-3px); }
  72% { transform: translateX(3px); }
  100% {
    transform: translateX(0);
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.06), 0 0 18px rgba(52, 211, 153, 0.12);
  }
}
@media (max-width: 768px) {
  .checkout-consent {
    margin: 1.35rem auto 1.25rem;
    padding: 1.1rem 1rem 1rem;
    font-size: 0.95rem;
  }
  .checkout-consent__label { gap: 0.95rem; }
  .checkout-consent__label input {
    width: 1.35rem;
    height: 1.35rem;
  }
  .checkout-consent__terms { white-space: normal; }
}
