/* Checkout: reuse existing palette and spacing */

.checkout-hero {
  background:
    linear-gradient(rgba(70,90,70,0.75), rgba(130,160,110,0.75)),
    url("../images/hero/hero2.webp") center/cover no-repeat;
  padding: 120px 0 100px;
  text-align: center;
  color: #fff;
}

.checkout-hero h1,
.checkout-hero p { color: #fff; }

.checkout-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px;
  align-items: start;
}

.panel {
  background: var(--bg-white);
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  padding: 22px;
}

.panel h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-weight: 600;
  color: var(--text-dark);
}

.field input,
.field textarea {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  font-family: inherit;
}

.field textarea { resize: vertical; min-height: 110px; }

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--bg-light);
}

.summary-item strong { font-weight: 700; }

.totals {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.totals .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.totals .row.total {
  font-size: 1.05rem;
}

.checkout-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .field-grid { grid-template-columns: 1fr; }
}

