/* CHECKOUT PAGE THEME (same white card style) */

body.checkout-page {
  background: #0c0c0c;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

/* header */
.checkout-header {
  text-align: center;
  padding: 40px 10px 10px;
}
.checkout-header h1 {
  font-size: 2.2rem;
  margin-bottom: 6px;
}
.checkout-header p {
  color: #ccc;
}

/* layout */
.checkout-wrapper {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

@media (max-width: 900px) {
  .checkout-wrapper {
    grid-template-columns: 1fr;
  }
}

/* left form */
.form-card {
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.form-card h2 {
  margin-top: 0;
  margin-bottom: 15px;
}

.form-card label {
  display: block;
  font-weight: 600;
  margin-top: 12px;
}
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}
textarea {
  resize: vertical;
  height: 90px;
}

/* right summary */
.checkout-summary {
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.checkout-summary h2 {
  margin-top: 0;
  margin-bottom: 15px;
}

/* each item */
.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

/* total */
.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  margin-top: 16px;
  padding-top: 10px;
}

/* button */
.place-order-btn {
  width: 100%;
  margin-top: 18px;
  background: #000;
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

/* SUCCESS BOX (ORDER CONFIRMATION) */

.success-box {
  background: #fff;
  color: #111;
  max-width: 600px;
  text-align: center;
  margin: 50px auto;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.25);
  display: none;
}

.success-box.hidden {
  display: none;
}

.success-box h1 {
  margin-bottom: 12px;
  font-size: 28px;
}

.back-home-btn {
  margin-top: 20px;
  padding: 14px 26px;
  border: none;
  background: #000;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}
