/* =========================
   CHECKOUT (Road Money)
   Uses your existing palette vibe
========================= */

.checkout {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 60px;
}

.checkout-head {
  padding: 20px 0 24px;
}

.checkout-head h1 {
  color: var(--accent);
  font-size: 2rem;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.checkout-head p {
  color: var(--muted);
}

/* Grid */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 18px;
  align-items: start;
}

/* Panels */
.panel {
  background: var(--card-bg);
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

.panel h2 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.section-title {
  margin-top: 18px;
}

/* Form */
.form .row {
  margin-bottom: 12px;
}

.row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.row.three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.field label {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(255, 107, 0, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.18);
}

/* Checkbox */
.check {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

/* Actions */
.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  gap: 12px;
}

.link {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.link:hover {
  color: var(--accent);
  border-bottom-color: rgba(255, 107, 0, 0.5);
}

.pay-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.pay-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* Fine print */
.fineprint {
  margin-top: 12px;
  color: #888;
  font-size: 0.9rem;
}

/* Summary */
.summary .summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.summary-left {
  display: flex;
  gap: 12px;
  align-items: center;
}

.thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,107,0,0.35), rgba(0,0,0,0.6));
  border: 1px solid rgba(255,255,255,0.10);
}

.name {
  color: #fff;
  font-weight: 700;
  margin: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.price {
  color: #fff;
  font-weight: 700;
}

.divider {
  border: 0;
  border-top: 1px solid #2a2a2a;
  margin: 10px 0;
}

.totals .line {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  padding: 6px 0;
}

.grand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #2a2a2a;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.badge {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 107, 0, 0.10);
  border: 1px solid rgba(255, 107, 0, 0.25);
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .row.two,
  .row.three {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pay-btn {
    width: 100%;
  }
}
