/* Checkout — matches the palette and type already used on the legal and
   programme pages (Brygada 1918 headings, Manrope body, gold accent).
   Loaded only on pages containing the [dns_checkout] shortcode. */

.dns-co {
  --gold:   #B08960;
  --ink:    #392E20;
  --black:  #0D0B07;
  --muted:  #705F4F;
  --line:   #D8CCC4;
  --cream:  #F7F1E8;
  --paper:  #FDFCFA;

  box-sizing: border-box;
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 40px 120px;
  background: var(--paper);
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}
.dns-co *, .dns-co *::before, .dns-co *::after { box-sizing: inherit; }

.dns-co-eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.dns-co h1 {
  font-family: 'Brygada 1918', serif; font-weight: 500;
  font-size: 40px; line-height: 1.15; letter-spacing: -.01em;
  color: var(--black); margin: 0 0 40px;
}
.dns-co h2 {
  font-family: 'Brygada 1918', serif; font-weight: 500;
  font-size: 22px; color: var(--black);
  margin: 48px 0 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.dns-co h2:first-of-type { margin-top: 0; }

/* order specification */
.dns-co-items { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.dns-co-items th, .dns-co-items td {
  text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.dns-co-items thead th {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; padding-top: 0;
}
.dns-co-items td:last-child, .dns-co-items th:last-child { text-align: right; white-space: nowrap; }
.dns-co-items td:nth-child(2), .dns-co-items th:nth-child(2) { text-align: center; width: 96px; }
.dns-co-items tfoot th {
  font-family: 'Brygada 1918', serif; font-size: 19px;
  color: var(--black); border-bottom: none; padding-top: 20px;
}
.dns-co-items input[type=number] {
  width: 62px; text-align: center; padding: 7px 8px;
  border: 1px solid var(--line); border-radius: 7px;
  font-family: inherit; font-size: 15px; background: #fff;
}
.dns-co-items input[readonly] { background: var(--cream); color: var(--muted); }

.dns-co-amend { font-size: 14px; margin: 0 0 8px; }
.dns-co-amend a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* fields */
.dns-co-field { margin-bottom: 18px; }
.dns-co-field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 7px; }
.dns-co-field input[type=text],
.dns-co-field input[type=email] {
  width: 100%; padding: 13px 15px; background: #fff;
  border: 1px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: 16px; color: var(--ink);
}
.dns-co-field input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176,137,96,.14);
}
.dns-co-row { display: grid; grid-template-columns: 1fr 200px; gap: 18px; }

/* payment method + card marks */
.dns-co-method {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 10px; padding: 18px 22px; margin-bottom: 10px;
}
.dns-co-method label { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.dns-co-accept { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

/* consents */
.dns-co-consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 14.5px; }
.dns-co-consent input[type=checkbox] {
  flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold);
}
.dns-co-consent a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* pay */
.dns-co-pay {
  width: 100%; margin-top: 26px; padding: 18px 28px;
  background: var(--gold); color: #fff; border: none; border-radius: 10px;
  font-family: inherit; font-size: 17px; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; transition: background .18s ease;
}
.dns-co-pay:hover { background: #9c7750; }
.dns-co-note { font-size: 13px; color: var(--muted); text-align: center; margin: 16px 0 0; }

/* product picker */
.dns-co-index { list-style: none; margin: 0; padding: 0; }
.dns-co-index li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.dns-co-index a { color: var(--black); text-decoration: none; font-size: 18px;
  font-family: 'Brygada 1918', serif; }
.dns-co-index a:hover { color: var(--gold); }
.dns-co-index em { color: var(--muted); font-size: 13px; font-style: normal; }
.dns-co-price { white-space: nowrap; color: var(--muted); }

@media (max-width: 782px) {
  .dns-co { padding: 64px 22px 80px; }
  .dns-co h1 { font-size: 30px; }
  .dns-co-row { grid-template-columns: 1fr; gap: 0; }
  .dns-co-items thead { display: none; }
}
