.checkout-body {
  background-color: var(--color-canvas);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.checkout-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface);
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 1rem 0; 
  width: 100%;
  max-width: 1100px;
}

.checkout-header__secure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.checkout-header__secure svg {
  color: #16A34A;
  flex-shrink: 0;
}


.checkout-main {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 3rem auto 4rem;
  padding: 0 1.5rem;
}

.checkout-h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}


.checkout-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.checkout-right {
  position: sticky;
  top: 6rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.checkout-section {
  background: var(--color-surface);
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.checkout-section__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}


#apps-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.app-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.app-block__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin: 0;
}

.app-block__remove {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-error, #DC2626);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.app-block__remove:hover {
  opacity: 1;
}

.add-app-btn {
  margin-top: 1.5rem;
  width: 100%;
  border: 1.5px dashed #CBD5E1;
  background: transparent;
  color: var(--color-text-body);
  transition: all 0.2s ease;
  
  
  padding: 0.75rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.4rem !important;
  letter-spacing: normal !important;
}

.add-app-btn svg {
  width: 16px;
  height: 16px;
}

.add-app-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(255, 122, 34, 0.04);
}

.plan-selector {
  border: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.plan-card {
  position: relative;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 1rem 0.75rem 0.875rem;
  cursor: pointer;
  transition:
    border-color 0.2s var(--transition-spring),
    background-color 0.2s var(--transition-spring),
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.plan-card:hover {
  border-color: rgba(255, 122, 34, 0.5);
  box-shadow: 0 2px 12px rgba(255, 122, 34, 0.1);
}


.plan-card:has(input:checked),
.plan-card.is-selected {
  border-color: var(--color-accent);
  background-color: rgba(255, 122, 34, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 122, 34, 0.1);
}

.plan-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}


.plan-card::after {
  content: '';
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  background: white;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.plan-card:has(input:checked)::after,
.plan-card.is-selected::after {
  border-color: var(--color-accent);
  background: var(--color-accent);
  box-shadow: inset 0 0 0 3px white;
}

.plan-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-accent);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 122, 34, 0.3);
}

.plan-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-top: 0.5rem; 
  padding-right: 1.5rem; 
}

.plan-card__count {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.2;
}

.plan-card__count span {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
}

.plan-card__price-cluster {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.plan-card__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-heading);
  letter-spacing: -0.01em;
}

.plan-card__original {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.plan-card__discount {
  font-size: 0.6rem;
  font-weight: 700;
  color: #16A34A; 
  background: #DCFCE7; 
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  align-self: center;
}


.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-body);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-required {
  color: var(--color-accent);
  font-size: 0.9em;
}

.form-input-wrap {
  position: relative;
}

.form-input {
  width: 100%;
  height: 48px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: 0 2.5rem 0 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text-heading);
  background: var(--color-surface);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.15s ease;
  appearance: none;
}

.form-input::placeholder {
  color: #94A3B8;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 34, 0.12);
}

.form-input.is-valid {
  border-color: #16A34A;
  background: #F0FDF4;
}

.form-input.is-error {
  border-color: #DC2626;
  background: #FFF5F5;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}


.form-input-icon {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
}

.form-input-icon.is-valid {
  opacity: 1;
  color: #16A34A;
}

.form-input-icon.is-error {
  opacity: 1;
  color: #DC2626;
}


.form-toggle-pw {
  position: absolute;
  right: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0.3rem;
  cursor: pointer;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
  line-height: 0;
}

.form-toggle-pw svg[hidden] {
  display: none !important;
}

.form-toggle-pw:hover {
  color: var(--color-text-body);
  background-color: #F1F5F9;
}

.form-toggle-pw:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.form-helper {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.form-error {
  font-size: 0.8rem;
  color: #DC2626;
  font-weight: 500;
  min-height: 1.2em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}




.checkout-error {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-left: 4px solid #DC2626;
  border-radius: 10px;
  font-size: 0.875rem;
  color: #B91C1C;
  animation: slideDown 0.25s ease;
}

.checkout-error[hidden] { display: none; }

.checkout-error svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.checkout-error strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #991B1B;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}


.checkout-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 10px;
  background-color: var(--color-accent);
  color: white;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  transition:
    background-color 0.2s ease,
    transform 0.2s var(--transition-spring),
    box-shadow 0.2s ease;
  box-shadow:
    0 4px 16px rgba(255, 122, 34, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  will-change: transform, box-shadow;
}


.checkout-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.checkout-cta:hover:not(:disabled)::before {
  left: 150%;
}

.checkout-cta:hover:not(:disabled) {
  background-color: var(--btn-primary-bg-hover);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(255, 122, 34, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.checkout-cta:active:not(:disabled) {
  background-color: var(--btn-primary-bg-active);
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 122, 34, 0.25);
}

.checkout-cta:disabled {
  background-color: var(--btn-primary-bg-disabled);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.checkout-cta__arrow {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.checkout-cta:hover:not(:disabled) .checkout-cta__arrow {
  transform: translateX(3px);
}


.checkout-cta__spinner {
  display: none;
  animation: spin 0.75s linear infinite;
  flex-shrink: 0;
}

.checkout-cta.is-loading .checkout-cta__text,
.checkout-cta.is-loading .checkout-cta__lock,
.checkout-cta.is-loading .checkout-cta__arrow {
  display: none;
}

.checkout-cta.is-loading .checkout-cta__spinner {
  display: block;
}

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

.checkout-legal {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.65;
}

.checkout-legal a {
  color: var(--color-text-muted);
  font-weight: 500;
  text-underline-offset: 3px;
}

.checkout-legal a:hover {
  color: var(--color-text-body);
}


.order-summary {
  background: var(--color-surface);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.order-summary__line-items {
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-line-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.summary-line-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-line-item__app {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.summary-line-item__price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.summary-line-item__plan {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.order-summary__features-dropdown {
  border-bottom: 1px solid #F1F5F9;
}

.order-summary__features-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-body);
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.15s ease;
}

.order-summary__features-toggle::-webkit-details-marker {
  display: none;
}

.order-summary__features-toggle:hover {
  background-color: #F8FAFC;
}

.order-summary__chevron {
  color: var(--color-text-muted);
  transition: transform 0.25s ease;
}

.order-summary__features-dropdown[open] .order-summary__chevron {
  transform: rotate(180deg);
}

.order-summary__features {
  padding: 0 1.5rem 1.25rem 1.5rem;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.order-summary__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-text-body);
  line-height: 1.4;
}

.order-summary__feature-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 122, 34, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.order-summary__pricing {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-summary__pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.order-summary__pricing-row.is-original .value {
  text-decoration: line-through;
}

.order-summary__pricing-row.is-discount {
  color: #16A34A;
  font-weight: 600;
}

.order-summary__pricing-row.is-promo {
  color: #16A34A;
  font-weight: 600;
  display: none;
}

.order-summary__pricing-row.is-promo.is-active {
  display: flex;
}

.order-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 1.5rem 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(255,122,34,0.06) 0%, rgba(255,122,34,0.02) 100%);
  border: 1px solid rgba(255, 122, 34, 0.22);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 122, 34, 0.05);
}

.order-summary__total-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-body);
}

.order-summary__total-amount {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-text-heading);
  letter-spacing: -0.035em;
  transition: opacity 0.15s ease, transform 0.15s ease;
}


.order-summary__total-amount.price-update {
  animation: priceFlash 0.3s ease;
}

@keyframes priceFlash {
  0%   { opacity: 1; transform: scale(1); }
  40%  { opacity: 0.6; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

.order-summary__billing-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 0 1.5rem 1.25rem;
  font-style: italic;
  text-align: right;
}

.order-summary__cta-wrap {
  padding: 0 1.5rem 1.5rem;
}

.order-summary__cta-wrap .checkout-cta {
  margin-top: 0;
}

.order-summary__cta-wrap .checkout-legal {
  margin: 0.875rem 0 0;
  text-align: center;
  font-size: 0.775rem;
  line-height: 1.45;
}

.order-summary__cta-wrap .checkout-error {
  margin-bottom: 1rem;
}

.order-summary__guarantee {
  margin: 1.25rem 0 0;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255,122,34,0.06) 0%, rgba(255,122,34,0.02) 100%);
  border: 1px solid rgba(255, 122, 34, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.order-summary__guarantee-icon {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 1px;
}

.order-summary__guarantee-text {
  font-size: 0.8rem;
  color: var(--color-text-body);
  line-height: 1.55;
}

.order-summary__guarantee-text strong {
  display: block;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}


.trust-signals {
  background: var(--color-surface);
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.25rem 1.25rem;
  border-right: 1px solid #F1F5F9;
}

.trust-item:last-child {
  border-right: none;
}

@media (max-width: 900px) {
  .trust-signals {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item:nth-child(2) {
    border-right: none;
  }
  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    border-top: 1px solid #F1F5F9;
  }
}

@media (max-width: 600px) {
  .trust-signals {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-right: none !important;
  }
  .trust-item + .trust-item {
    border-top: 1px solid #F1F5F9 !important;
  }
}

.trust-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item__icon--lock  { background: rgba(22, 163, 74, 0.1);  color: #16A34A; }
.trust-item__icon--check { background: rgba(255, 122, 34, 0.1); color: var(--color-accent); }
.trust-item__icon--shield{ background: rgba(29, 78, 140, 0.1);  color: #1D4E8C; }

.trust-item__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trust-item__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.trust-item__desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}


.checkout-footer {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid #E2E8F0;
  margin-top: auto;
  background: var(--color-surface);
}

.checkout-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.375rem 1.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.checkout-footer a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.checkout-footer a:hover {
  color: var(--color-text-body);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-footer__sep {
  opacity: 0.4;
}


.thankyou-main {
  flex: 1;
  max-width: 560px;
  width: 100%;
  margin: 1.75rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.thankyou-processing,
.thankyou-pending {
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
}

.thankyou-processing:not([hidden]),
.thankyou-pending:not([hidden]) {
  display: flex;
}

.thankyou-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #E2E8F0;
  border-top-color: var(--color-accent);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  animation: spin 0.75s linear infinite;
}

.thankyou-pending .btn {
  margin: 1rem 0 1.5rem;
}

.thankyou-hero {
  margin-bottom: 1.25rem;
}

.thankyou-check-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.625rem;
  animation: popIn 0.5s var(--transition-spring) both;
}

@keyframes popIn {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.thankyou-svg {
  width: 56px;
  height: 56px;
}

.thankyou-circle {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation: drawCircle 0.6s 0.15s ease forwards;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

.thankyou-checkmark {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: drawCheck 0.5s 0.65s ease forwards;
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.thankyou-h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 0.375rem;
}

.thankyou-desc {
  font-size: 0.9rem;
  color: var(--color-text-body);
  line-height: 1.5;
  max-width: 440px;
}

.thankyou-box {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.thankyou-box__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.85rem;
}

.thankyou-box__row + .thankyou-box__row {
  border-top: 1px solid #F1F5F9;
}

.thankyou-box__row span {
  color: var(--color-text-muted);
}

.thankyou-box__row strong {
  color: var(--color-text-heading);
  font-weight: 700;
}

.thankyou-account-setup {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-accent);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.thankyou-account-setup__heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin: 0 0 0.25rem;
}

.thankyou-account-setup__desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0 0 0.75rem;
}

.thankyou-account-setup__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.thankyou-steps {
  width: 100%;
  margin-bottom: 1.25rem;
  text-align: left;
}

.thankyou-steps__heading {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 0.625rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.thankyou-steps__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.625rem;
}

.thankyou-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  background: var(--color-surface);
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  text-align: center;
}

.thankyou-step__number {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 122, 34, 0.1);
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 800;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou-step__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-heading);
  line-height: 1.3;
}

.thankyou-support {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.thankyou-support a {
  color: var(--color-text-body);
  font-weight: 500;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


@media (max-width: 900px) {
  .checkout-header-wrap {
    top: 0;
    padding: 0 1rem;
  }

  .checkout-header {
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .checkout-main {
    margin: 2rem auto 3rem;
    padding: 0 1rem;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .checkout-right {
    display: flex;
    position: static;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0.5rem;
  }
}

@media (max-width: 600px) {
  .checkout-header {
    padding: 0.75rem 0;
    gap: 0.75rem;
  }

  .checkout-header__secure span {
    display: none; 
  }

  .checkout-h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .plan-selector {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .plan-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 1rem;
    padding-right: 3rem; 
  }

  .plan-card__name {
    margin-top: 0;
    flex: 1 1 100%;
    font-size: 1rem;
  }

  .plan-card__count {
    order: 3;
    width: auto;
    font-size: 0.8rem;
    color: var(--color-text-muted);
  }

  .plan-card__count span {
    font-size: 1rem;
  }

  .plan-card__price-cluster {
    order: 4;
    width: auto;
    margin-top: 0;
    align-items: center;
    margin-left: auto;
  }

  .plan-card__price {
    font-size: 1.1rem;
  }

  .plan-card__discount {
    display: inline-block;
  }

  .plan-card__badge {
    top: -10px;
    left: 1rem;
    right: auto;
    transform: none;
    font-size: 0.65rem;
  }

  .checkout-section {
    padding: 1.25rem;
  }

  .checkout-cta {
    height: 52px;
    font-size: 1rem;
  }

  .checkout-footer__inner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .checkout-footer__sep {
    display: none;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  .checkout-cta,
  .checkout-cta::before,
  .plan-card,
  .form-input,
  .stripe-element,
  .promo-field,
  .checkout-error,
  .thankyou-check-wrap,
  .thankyou-circle,
  .thankyou-checkmark {
    transition: none !important;
    animation: none !important;
  }

  .thankyou-circle  { stroke-dashoffset: 0; }
  .thankyou-checkmark { stroke-dashoffset: 0; }
}
