/**
 * @file
 * Checkout page styles for VIP membership.
 */

/* ==================== PLAN CARD HEADER ==================== */
.plan-card-header {
  text-align: center;
  margin-bottom: 12px;
  padding-bottom: 0;
}

.plan-card-header-sub {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 4px 0;
}

.plan-card-header-main {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .plan-card-header-main {
    font-size: 18px;
  }
}

/* ==================== CHECKOUT WRAPPER ==================== */
.checkout-hero .banner-hero-content {
  padding-top: 40px;
  padding-bottom: 60px;
}

.checkout-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 968px) {
  .checkout-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
}

/* ==================== PLAN CARD (LEFT COLUMN) ==================== */
.checkout-plan-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

/* Plan Toggle */
.plan-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 44px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.2s ease;
}

.toggle-label.active {
  color: #1f2937;
}

.toggle-switch {
  position: relative;
  width: 56px;
  height: 28px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e5e7eb;
  transition: 0.3s;
  border-radius: 28px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #0000ff;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(28px);
}

/* Plan Header */
.plan-header {
  text-align: center;
  margin-bottom: 34px;
  padding-bottom: 0;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffc439;
  color: #003087;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0;
}

.plan-badge svg {
  width: 16px;
  height: 16px;
}

.plan-badge.plan-badge--large {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  min-height: 44px;
  font-size: 20px;
  padding: 0 20px;
  border-radius: 4px;
  box-sizing: border-box;
}

.plan-badge.plan-badge--large svg {
  width: 20px;
  height: 20px;
}

.plan-title {
  font-size: 32px;
  font-weight: 800;
  color: #1f2937;
  margin: 0 0 8px 0;
}

.plan-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

/* Plan Pricing */
.plan-pricing {
  text-align: center;
  margin-bottom: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 16px;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.price-currency-prefix {
  font-size: 18px;
  font-weight: 500;
  color: #6b7280;
  margin-right: 2px;
}

.price-currency {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
}

.price-amount {
  font-size: 56px;
  font-weight: 800;
  color: #1f2937;
  line-height: 1;
}

.price-period {
  font-size: 18px;
  font-weight: 500;
  color: #6b7280;
}

.price-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  margin-left: 8px;
  align-self: flex-end;
}

.price-was {
  font-size: 14px;
  color: #9ca3af;
  /* Red strikethrough line across the whole "Was $xx"; text stays grey (all currencies) */
  text-decoration: line-through;
  text-decoration-color: #dc2626;
  -webkit-text-decoration-color: #dc2626;
  text-decoration-thickness: 2px;
}

.price-was s,
#original-price {
  color: #9ca3af;
  text-decoration-color: #dc2626;
  -webkit-text-decoration-color: #dc2626;
  text-decoration-thickness: 2px;
}

.price-savings-row {
  margin-top: 8px;
  text-align: center;
}

.price-savings {
  font-size: 14px;
  font-weight: 600;
  color: #065f46;
  background: #d1fae5;
  padding: 4px 12px;
  border-radius: 12px;
}

/* Plan CTA */
.plan-cta {
  margin-top: 20px;
  margin-bottom: 24px;
}

.plan-cta .button--primary,
.card-payment-form .button--primary {
  width: 100%;
  justify-content: center;
}

.btn-find-parking {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0000ff;
  color: #ffffff;
  border: 3px solid #0000cc;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-find-parking:hover {
  background: #0000cc;
}

.guarantee-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
  margin-top: 12px;
}

.guarantee-text svg {
  color: #059669;
}

/* Plan Benefits */
.plan-benefits {
  margin-bottom: 0;
  padding-left: 0;
  margin-top: auto;
  text-align: center;
}

.plan-benefits h4 {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 16px 0;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-grid;
  gap: 12px;
  text-align: left;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #374151;
}

.benefits-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Plan Community */
.plan-community {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.plan-community p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.plan-community strong {
  color: #1f2937;
}

/* ==================== PAYMENT CARD (RIGHT COLUMN) ==================== */
.checkout-payment-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

/* Payment Card Header */
.payment-card-header {
  text-align: center;
  margin-bottom: 12px;
  padding-bottom: 0;
}

/* Checkout Action */
.checkout-action {
  text-align: center;
  padding: 20px 0;
}

.checkout-description {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 20px 0;
}

.checkout-note {
  font-size: 12px;
  color: #9ca3af;
  margin: 16px 0 0 0;
}

/* Embedded Commerce Checkout */
.commerce-checkout-embedded {
  padding: 20px 0;
}

.commerce-checkout-embedded form {
  width: 100%;
}

.commerce-checkout-embedded .form-item {
  margin-bottom: 16px;
}

.commerce-checkout-embedded .form-item label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

.commerce-checkout-embedded .form-text,
.commerce-checkout-embedded .form-email,
.commerce-checkout-embedded .form-select {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.commerce-checkout-embedded .form-text:focus,
.commerce-checkout-embedded .form-email:focus,
.commerce-checkout-embedded .form-select:focus {
  outline: none;
  border-color: #0000ff;
  box-shadow: 0 0 0 2px rgba(0, 0, 255, 0.1);
}

.commerce-checkout-embedded .button--primary {
  width: 100%;
  margin-top: 16px;
}

/* Stripe Checkout */
.stripe-checkout {
  padding: 0;
}

/* PayPal Element - Fixed Height */
.paypal-element {
  height: 44px;
  margin-bottom: 10px;
  overflow: hidden;
}

/* Divider spacing */
.payment-divider {
  margin: 10px 0;
}

.paypal-skeleton {
  height: 44px;
  border-radius: 4px;
}

/* Express Checkout (Apple/Google Pay) - Fixed Height */
.express-checkout-element {
  height: 44px;
  margin-bottom: 10px;
  overflow: hidden;
}

.express-checkout-element.hidden {
  visibility: hidden;
}

.express-skeleton {
  height: 44px;
  border-radius: 4px;
}

.express-skeleton.loaded {
  display: none;
}

/* Card Element */
.card-element {
  min-height: 300px;
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .card-element {
    min-height: 340px;
  }
}

.card-skeleton {
  height: 300px;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .card-skeleton {
    height: 340px;
  }
}


.payment-divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
  color: #6b7280;
  font-size: 14px;
}

.payment-divider::before,
.payment-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.payment-divider span {
  padding: 0 12px;
}

.payment-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
  padding: 20px;
  color: #999;
  text-align: center;
}

.payment-skeleton.loaded {
  display: none;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.paypal-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-height: 44px;
  padding: 0;
  background: #ffc439;
  color: #003087;
  font-size: 20px;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border-radius: 4px;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

.paypal-button:hover {
  background: #f0b430;
  color: #003087;
}

.paypal-logo {
  height: 22px;
  width: auto;
  margin-left: 8px;
  vertical-align: middle;
}

.money-back-guarantee {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

#payment-form .button--primary {
  width: 100%;
  margin-top: 0;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

.payment-card-header-sub {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 4px 0;
}

.payment-card-header-main {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  line-height: 1.3;
}

/* Express Checkout */
.express-checkout {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.payment-request-btn,
.paypal-btn-container {
  min-height: 48px;
  border-radius: 4px;
}

/* Skeleton loaders for payment buttons */
.payment-request-btn:empty,
.paypal-btn-container:empty {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

.payment-request-btn.loaded:empty {
  display: none;
  animation: none;
  background: none;
}

/* Payment Divider */
.payment-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

.payment-divider::before,
.payment-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.payment-divider span {
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
}

/* Card Payment Form */
.card-payment-form {
  margin-bottom: 20px;
}

.stripe-payment-element {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  margin-bottom: 16px;
}

.payment-message {
  padding: 12px 16px;
  border-radius: 8px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 14px;
  margin-bottom: 16px;
  text-align: center;
}

.payment-message.hidden {
  display: none;
}

.btn-subscribe {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0000ff;
  color: #ffffff;
  border: 3px solid #0000cc;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-subscribe:hover:not(:disabled) {
  background: #0000cc;
}

.btn-subscribe:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Loading Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner.hidden {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Card Brands */
.card-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.card-brands img {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.card-brands img:hover {
  opacity: 1;
}

/* Trust Badges */
.trust-badges {
  display: inline-grid;
  grid-template-columns: 1fr;
  gap: 12px;
  text-align: left;
  margin: 0;
  padding-left: 0;
  margin-top: auto;
  align-self: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #6b7280;
}

.trust-badge svg {
  color: #059669;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .trust-badges {
    grid-template-columns: 1fr;
  }
}

/* Terms Text */
.terms-text {
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

.terms-text a {
  color: #0000ff;
  text-decoration: none;
}

.terms-text a:hover {
  text-decoration: underline;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 640px) {
  .checkout-hero .banner-hero-content {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  
  .checkout-hero .container--lg {
    padding: 0;
  }
  
  .checkout-wrapper {
    padding: 0;
  }
  
  .checkout-plan-card,
  .checkout-payment-card {
    padding: 20px;
    border-radius: 16px;
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
  }
  
  .plan-title {
    font-size: 26px;
  }
  
  .price-amount {
    font-size: 48px;
  }
  
  .benefits-list li {
    font-size: 16px;
  }
  
  .plan-card-header-sub,
  .toggle-label,
  .price-savings,
  .plan-community p,
  .payment-card-header-sub,
  .trust-badge,
  .money-back-guarantee {
    font-size: 16px;
  }
  
  .paypal-button {
    font-size: 20px;
  }
  
  .express-checkout {
    gap: 8px;
    margin-bottom: 0;
  }
  
  .payment-request-btn:empty,
  .paypal-btn-container:empty {
    display: none;
  }
}

/* ==================== ACCORDION FIXES FOR SPECIAL PAGE ==================== */
.checkout-hero ~ .faq-home-cstm .accordion-cst-wrper {
  max-width: 800px;
  margin: 0 auto;
}

/* ==================== BUTTON STYLE OVERRIDES ==================== */
.checkout-hero ~ section .button--primary[data-href="#payment-section"] {
  background: #0000ff;
}

.checkout-hero ~ section .button--primary[data-href="#payment-section"]:hover {
  background: #0000cc;
}

/* Already-a-member state - top-packed to mirror the left plan card (right card only). */
.checkout-payment-card.is-member-mode #stripe-checkout-container {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}
.checkout-payment-card.is-member-mode .member-cluster {
  padding-top: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.checkout-payment-card.is-member-mode .member-check {
  font-size: 48px;
  line-height: 1;
}
.checkout-payment-card.is-member-mode .member-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}
.checkout-payment-card.is-member-mode .member-copy {
  margin: 0;
  color: #6b7280;
  max-width: 380px;
}
.checkout-payment-card.is-member-mode .member-nowrap {
  white-space: nowrap;
}
.checkout-payment-card.is-member-mode .member-cta {
  margin-top: 40px;
  margin-bottom: 24px;
}
.checkout-payment-card.is-member-mode .member-cta .button--primary {
  width: 100%;
  justify-content: center;
}
.checkout-payment-card.is-member-mode .trust-badges {
  margin-top: auto;
}

/* Push the subscribe 'Find VIP Parking Now' button down 50px (subscribe page only). */
.subscribe-find-parking { position: relative; top: 40px; }


/* first-load-polish-v1 */
/* Kill the shimmer everywhere: a calm static placeholder instead of the
   animated gradient (applies to card/express/paypal skeletons). */
.payment-skeleton {
  animation: none;
  background: #f6f7f9;
}

/* The card skeleton overlays its container (absolute) so it never adds flow
   height. Previously it sat in-flow at 300px, so while Stripe mounted its
   iframe the container held BOTH and then collapsed on load -> layout shift.
   As an overlay it just fades out on ready, revealing the mounted Element with
   no reflow. */
.card-element {
  position: relative;
}
.card-skeleton {
  position: absolute;
  inset: 0;
  height: auto;
  z-index: 2;
  transition: opacity .25s ease;
}
.card-skeleton.loaded {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


/* first-load-polish-v2 */
/* Card placeholder mimics the Stripe card form so the fade-in swap looks
   seamless / near-instant. White field boxes on a white card, top-aligned to
   match where the real Stripe fields render. */
.card-skeleton {
  background: #ffffff;
  padding: 4px 2px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-skeleton .sk-lbl {
  width: 90px;
  height: 10px;
  border-radius: 4px;
  background: #e9ebef;
}
.card-skeleton .sk-fld {
  height: 44px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e6e6e9;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .03);
}
.card-skeleton .sk-row {
  display: flex;
  gap: 12px;
}
.card-skeleton .sk-fld--h {
  flex: 1;
}


/* first-load-polish-v3 */
/* Express Checkout (Apple/Google Pay): collapsed by default so it never
   reserves a skeleton that then collapses on desktop (no wallets) -> that
   collapse was the big upward jump of the whole card form. It expands only
   when a wallet is actually available (mostly mobile / Safari). */
.express-checkout-element {
  height: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: height .18s ease, margin .18s ease;
}
.express-checkout-element.has-wallets {
  height: 44px;
  margin-bottom: 10px;
}


/* first-load-polish-v4 */
/* Restore the designed Apple/Google Pay slot spacing: always reserve it
   (blank when no wallet, button when available) so the layout is stable and
   never collapses. Overrides the v3 height:0 collapse. */
.express-checkout-element {
  height: auto;
  min-height: 44px;
  margin-bottom: 10px;
  overflow: hidden;
}
.express-checkout-element.has-wallets,
.express-checkout-element.no-wallets {
  height: auto;
  min-height: 44px;
  margin-bottom: 10px;
}


/* first-load-polish-v5 */
/* Reserve enough height for the full form so the real Element never grows the
   container (which would move the Subscribe button). */
.card-element { min-height: 322px; }
@media (max-width: 640px) { .card-element { min-height: 360px; } }

/* Fake Stripe card form (paints instantly; real fades in on top). Matches the
   Stripe 'stripe' theme: labels #30313d, white fields, #e6e6e6 border, gray
   placeholder text. */
.card-skeleton {
  background: #ffffff;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: #30313d;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.card-skeleton .fk-lbl {
  display: block;
  font-size: 13px;
  line-height: 1;
  color: #30313d;
  margin: 10px 0 5px;
}
.card-skeleton .fk-field {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .02);
  box-sizing: border-box;
}
.card-skeleton .fk-ph { font-size: 15px; color: #a3acb9; }
.card-skeleton .fk-ph--dark { color: #30313d; }
.card-skeleton .fk-row { display: flex; gap: 12px; }
.card-skeleton .fk-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card-skeleton .fk-cardnum .fk-icons {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 92px; height: 16px; opacity: .55; border-radius: 2px;
  background:
    linear-gradient(#1a1f71, #1a1f71) 0 0 / 26px 16px no-repeat,
    linear-gradient(#eb001b, #eb001b) 34px 0 / 26px 16px no-repeat,
    linear-gradient(#006fcf, #006fcf) 68px 0 / 24px 16px no-repeat;
}
.card-skeleton .fk-select::after {
  content: ''; position: absolute; right: 14px; top: 44%;
  width: 7px; height: 7px;
  border-right: 1.5px solid #6b7280; border-bottom: 1.5px solid #6b7280;
  transform: translateY(-50%) rotate(45deg);
}
.card-skeleton .fk-cvc {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 16px; background: #e8e8ec; border-radius: 2px;
}
.card-skeleton .fk-disc {
  height: 8px; border-radius: 3px; background: #eef0f3; margin-top: 14px;
}
.card-skeleton .fk-disc--short { width: 60%; margin-top: 6px; }


/* first-load-polish-v6 */
/* Fake PayPal button (matches the real yellow PayPal button; JS swaps in the
   identical real one). */
.paypal-skeleton {
  height: 44px;
  border-radius: 6px;
  background: #ffc439;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: none;
}
.paypal-skeleton::after {
  content: 'PayPal';
  font: italic 700 16px/1 system-ui, Arial, sans-serif;
  color: #003087;
}

/* Fake wallet button. Google Pay and Apple Pay both render as dark buttons, so
   a neutral dark rounded button reads correctly on either; the real express
   element swaps in the device-correct button (or leaves the reserved slot). */
.express-skeleton {
  height: 44px;
  border-radius: 6px;
  background: #000000;
  animation: none;
}


/* first-load-polish-v8 */
/* Hide the card fake instantly once the real fields have painted (no fade;
   fading revealed the blank mid-transition). */
.card-skeleton { transition: none; }
.card-skeleton.loaded { display: none; }


/* first-load-polish-v9 */
/* No speculative fake wallet button: the Apple/Google Pay slot stays blank
   (transparent over the white card) until the REAL button renders for a
   device that supports it. The designed 44px spacing is still reserved. */
.express-skeleton {
  background: transparent;
  animation: none;
}


/* card-loading-spinner-v14 */
/* Centered loading circle in the card's blank space while Stripe loads,
   matching the /parking-near-me spinner. */
.card-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.card-loading.loaded { display: none; }
.card-loading__dot {
  width: 40px;
  height: 40px;
  border: 4px solid #1769ff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: vc-spin 0.8s linear infinite;
}
@keyframes vc-spin { to { transform: rotate(360deg); } }

/* wallet-slot-v7: keep the 48px reservation (no shift when the real Apple/
   Google Pay button paints), placeholder removed — the real button lands fast
   enough that any placeholder just flashed. */
.express-checkout-element,
.express-checkout-element.has-wallets,
.express-checkout-element.no-wallets {
  min-height: 48px;
}

/* free-cta-outline: the Free plan CTA uses the base .button outline look
   (white fill, blue border + text) to de-emphasise it vs the solid-blue VIP
   primary CTA. Mirror the primary's full-width/centered footprint. */
.plan-cta .button--secondary {
  width: 100%;
  justify-content: center;
}
