/* =========================
   FONT
========================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* =========================
   GLOBAL
========================= */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f7fa;
  margin: 0;
  padding: 0;
  color: #333;
}

/* =========================
   SECTION CHECKOUT
========================= */
.checkout-4 {
  max-width: 720px;
  margin: 30px auto;
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.checkout-4 h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
}

.checkout-4 h3 {
  margin-top: 30px;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

/* =========================
   HR
========================= */
.checkout-4 hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 18px 0;
}

/* =========================
   TEXT & LIST
========================= */
.checkout-item p,
.checkout-benefit p,
.checkout-price p,
.checkout-total p {
  margin: 6px 0;
}

.checkout-benefit ul {
  padding-left: 20px;
  margin-top: 10px;
}

.checkout-benefit li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.checkout-benefit li::marker {
  color: #2563eb;
}

/* =========================
   INVOICE STYLE BOX
========================= */
.checkout-item,
.checkout-price,
.checkout-voucher {
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  padding: 14px;
  border-radius: 12px;
}

.checkout-item p strong,
.checkout-price p strong,
.checkout-voucher label {
  font-weight: 600;
  color: #111827;
}

/* =========================
   PRICE
========================= */
.price-normal {
  text-decoration: line-through;
  color: #9ca3af;
  font-weight: 500;
}

.checkout-total {
  background: linear-gradient(135deg, #eff6ff, #f0f9ff);
  border: 1px solid #93c5fd;
  padding: 18px;
  border-radius: 14px;
}

.checkout-total .price-total {
  font-size: 26px;
  font-weight: 700;
  color: #1d4ed8;
}

/* =========================
   VOUCHER / DISCOUNT
========================= */
.checkout-voucher input {
  background: #f9fafb;
  font-weight: 600;
  color: #111827;
}

.discount-info {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  background: #dcfce7;
  color: #166534;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* =========================
   FORM INPUT
========================= */
input,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease;
  background: #fff;
}

input:focus,
select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

/* =========================
   ERROR STATE (MERAH)
========================= */
input.error,
select.error {
  border-color: #dc2626;
  background: #fef2f2;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.15);
}

input.error::placeholder {
  color: #dc2626;
}

/* =========================
   AGREEMENT
========================= */
.agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.agreement input {
  width: auto;
  margin-top: 3px;
}

.agreement a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.agreement a:hover {
  text-decoration: underline;
}

/* =========================
   BUTTON WHATSAPP
========================= */
.btn-wa {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(34,197,94,0.35);
}

.btn-wa:active {
  transform: scale(0.97);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 576px) {
  .checkout-4 {
    padding: 18px;
    margin: 20px 12px;
  }

  .checkout-total .price-total {
    font-size: 22px;
  }
}