/* ---------- Grid Layout ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;

  margin: 3rem 0;
}

/* ---------- Left Card: Summary Box ---------- */
.checkout-left {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.summary-box {
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(148,163,184,.25);
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Package Title */
.summary-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 0;
}

/* Price */
.summary-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--brand);
  text-align: center;
  margin-bottom: 0;
}

/* Delivery */
.summary-delivery {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 0;
}

/* Feature List */
.summary-features {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-features li {
  font-size: 0.95rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.summary-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 0.85rem;
}

/* ---------- Right Card: User Form ---------- */
.checkout-right {
  background: var(--card);
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid rgba(148,163,184,.35);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.right-header {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.right-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.right-label {
  font-weight: 600;
  color: var(--text);
}

.right-input,
.right-textarea,
select.right-input {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.3);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  min-height: 44px;
}

.right-textarea { resize: none; }

.right-btn {
  width: 100%;
  background: var(--brand);
  color: white;
  padding: 14px 0;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
}

.right-btn:hover {
  background: var(--brand-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10,92,255,0.4);
}

/* ---------- Responsive ---------- */
@media(max-width: 1023px) {
  .right-header {
    font-size: 1.5rem;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-left {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
  }
  .summary-box {
    max-width: 100%;
  }
}

@media(max-width: 767px) {

  .checkout-left, .checkout-right {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .right-header { font-size: 1.3rem; }
  .right-input, .right-btn, select.right-input {
    padding: 12px;
    font-size: 0.95rem;
  }
  .summary-box { padding: 1rem; }
}