.checkoutPage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  direction: rtl;
  font-family: var(--font-ui);
  background-color: var(--bg-gradient-mid);
  background-image: linear-gradient(
    135deg,
    var(--bg-gradient-start) 0%,
    var(--bg-gradient-mid) 50%,
    var(--bg-gradient-end) 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: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  padding: 28px 28px 24px;
}

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

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

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