.checkoutPage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  direction: rtl;
  font-family: var(--font-fa);
  /* Soften brand color in page wash — keep primary accents, less saturated bg */
  background-color: #f8f6f6;
  background-image:
    radial-gradient(ellipse 520px 520px at calc(100% - 40px) -60px, rgba(var(--primary-rgb) / 0.1), transparent 72%),
    radial-gradient(ellipse 420px 420px at 18% calc(100% + 20px), rgba(var(--primary-rgb) / 0.07), transparent 72%),
    radial-gradient(ellipse 320px 320px at -40px 42%, rgba(var(--primary-rgb) / 0.05), transparent 72%),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--primary-light) 22%, #ffffff) 0%,
      color-mix(in srgb, var(--primary-light) 10%, #ffffff) 50%,
      #fafafa 100%
    );
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 16px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.brandLink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.brandLink:hover {
  opacity: 0.85;
}

.brandText {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: start;
}

.brandTitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  background: transparent;
}

.logoFallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.18);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 24px 48px;
}

.container {
  width: 60%;
  max-width: none;
  min-width: 320px;
}

@media (max-width: 900px) {
  .container {
    width: 90%;
  }
}

.card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(31, 38, 135, 0.12);
  padding: 28px 28px 24px;
}

@media (max-width: 480px) {
  .header {
    padding: 12px 16px;
  }

  .main {
    padding: 20px 16px 32px;
  }

  .card {
    padding: 22px 18px 20px;
  }
}
