/* ============================================================
   Bestelformulier Eskerk — stijl overgenomen van de bestellijst-
   flyers (Bestellijst 1 & 2): coral accent, taupe merkvlak,
   crème/tan achtergrondzones, brede letterspatiëring in koppen.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root{
  --coral: #ff5050;
  --coral-dark: #e6413f;
  --taupe: #a4927c;
  --cream: #ece5db;
  --tan: #dad0c5;
  --ink: #2a1c12;
  --ink-soft: #6b5c4d;
  --line: #191009;
  --line-soft: rgba(25,16,9,0.18);
  --white: #fffdfb;
  --radius: 10px;
  --maxw: 760px;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  background: var(--tan);
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.page{
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--cream);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(25,16,9,0.08);
}

/* ---------- Merk-strook (taupe) ---------- */
.brandbar{
  background: var(--taupe);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
}
.brandbar img.logo{
  height: 220px;
  display: block;
}
.brandbar .datebadge{
  margin-left: auto;
  text-align: right;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1rem;
  line-height: 1.5;
  text-transform: uppercase;
}
.brandbar .datebadge .time{
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

/* ---------- Hero (crème) ---------- */
.hero{
  background: var(--cream);
  padding: 32px 24px 26px;
  text-align: center;
}
.hero h1{
  margin: 0 0 18px;
  color: var(--coral);
  font-weight: 800;
  letter-spacing: 0.22em;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  text-transform: uppercase;
}
.hero .sub{
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}
.hero .sub .time{
  display: block;
  margin-top: 2px;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.hero .meta{
  margin-top: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--coral);
  text-transform: uppercase;
  line-height: 1.7;
}
.hero .meta small{
  display: block;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
  font-size: 0.68rem;
}

/* ---------- Formulier-zone (tan) ---------- */
.form-zone{
  background: var(--tan);
  padding: 28px 20px 40px;
}

.section-title{
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
.section-title:not(:first-child){ margin-top: 30px; }

/* ---------- Producttabel (CSS grid, ziet eruit als de flyer-tabel) --- */
.ptable{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.ptable .thead, .ptable .row{
  display: grid;
  grid-template-columns: 1fr 82px 64px 84px;
  align-items: center;
}
.ptable .thead{
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  text-transform: uppercase;
  padding: 9px 10px;
}
.ptable .thead > div:not(:first-child){ text-align: right; }

.ptable .row{
  padding: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.86rem;
  gap: 4px;
}
.ptable .row .name{ padding-right: 6px; line-height: 1.35; }
.ptable .row .price{ text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.ptable .row .qty input{
  width: 100%;
  max-width: 64px;
  padding: 6px 4px;
  text-align: center;
  border: 1px solid var(--taupe);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  -moz-appearance: textfield;
}
.ptable .row .qty{ text-align: right; }
.ptable .row .lineTotal{
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ptable .tfoot{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--cream);
  border-top: 2px solid var(--line);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.ptable .tfoot .amount{
  color: var(--coral-dark);
  font-size: 1rem;
}

.grandtotal{
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.grandtotal .amount{ color: var(--coral); font-size: 1.3rem; letter-spacing: 0.02em; }

/* ---------- Contactvelden ---------- */
.contact-field{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.contact-field label{ font-weight: 600; font-size: 0.9rem; }
.contact-field input{
  flex: 1;
  max-width: 240px;
  padding: 8px 10px;
  border: 1px solid var(--taupe);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.92rem;
}

/* ---------- Ophaal-info ---------- */
.pickup-info{
  margin-top: 22px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.6;
}
.pickup-info strong{ color: var(--coral-dark); }

/* ---------- Verstuurknop ---------- */
button[type="submit"]{
  display: block;
  width: 100%;
  margin-top: 22px;
  background: var(--coral);
  color: var(--white);
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
button[type="submit"]:hover{ background: var(--coral-dark); }

/* ---------- Bevestigingspagina (verwerk.php) ---------- */
.confirm-box{
  padding: 30px 24px 40px;
  text-align: center;
}
.confirm-box h1{
  color: var(--coral);
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  text-transform: uppercase;
}
.confirm-box p{ font-size: 0.95rem; line-height: 1.6; max-width: 520px; margin: 14px auto; }

/* ---------- Bestellingen gesloten ---------- */
.closed-message{
  margin: 0 20px 40px;
  padding: 30px 24px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  text-align: center;
}
.closed-message h2{
  margin: 0 0 12px;
  color: var(--coral);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.2rem;
}
.closed-message p{
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Mobiel ---------- */
@media (max-width: 480px){
  .ptable .thead, .ptable .row{ grid-template-columns: 1fr 62px 52px 70px; }
  .ptable .thead{ font-size: 0.6rem; }
  .ptable .row{ font-size: 0.8rem; }
  .hero{ padding: 26px 16px 20px; }
  .form-zone{ padding: 22px 12px 32px; }
}