.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  margin-top: 40px;
}

.back-link {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  font-size: 14px;
}

.page-title {
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.summary-card {
  background: var(--surface);
  padding: 24px;
  padding-bottom: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: fit-content;
}

.checkout-complete {
  margin-top: 10px;
}

.voucher-box {
  display: flex;
  gap: 8px;
  margin: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.voucher-box input {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.voucher-box button {
  padding: 0 16px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 800;
  font-size: 18px;
}

.order-discount-row {
  color: var(--accent);
}

.summary-product {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.summary-product img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.summary-product-info {
  flex: 1;
}

.summary-product-info h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.summary-product-info p {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
}

.summary-product-price {
  font-weight: 700;
  color: var(--accent);
}

.success-card {
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  margin-top: 40px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--bg);
  color: var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  font-size: 32px;
  font-weight: bold;
}

.success-actions {
  display: flex;
  gap: 20px;
}

.checkout-secondary {
  border: 1px solid var(--line);
  background: transparent;
}

.checkout-note {
  color: var(--ink-soft);
  margin-bottom: 12px;
}
