:root {
  /* Brand palette sampled from ecohorizont.hu: the logo green plus the site's
     neutral greys. Keep these in sync if the website is restyled. */
  --green: #69b33b;
  --green-dark: #55952f;
  --green-soft: #f1f8ec;
  --ink: #393939;
  --muted: #666;
  --line: #e2e2e2;
  --bg: #fff;
  --soft: #f7f7f7;
  --warn: #b07d1a;
  --bad: #b3261e;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 18px 16px 40px; }
h1 { font-size: 22px; margin: 0 0 4px; }
h2 { font-size: 16px; margin: 24px 0 8px; }
.lead { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 14px; }
body.simple { padding: 24px 16px; }
body.simple .card { max-width: 560px; margin: 0 auto; }
.big { font-size: 20px; font-weight: 700; color: var(--green); }
.muted { color: var(--muted); font-size: 13px; }
.warn { color: var(--warn); font-weight: 600; }
.bad { color: var(--bad); }

.weeknav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.weeknav .range { font-weight: 600; }
.btn {
  display: inline-block; border: 0; border-radius: 8px; background: var(--green); color: #fff;
  padding: 10px 16px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--green-dark); }
.btn:disabled { background: #a9b4bd; cursor: not-allowed; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.small { padding: 6px 10px; font-size: 13px; }
.btn.danger { background: var(--bad); }

.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 700px) { .days { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .days { grid-template-columns: 1fr; } }
.day { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.day h3 { margin: 0; padding: 8px; background: var(--soft); font-size: 13px; text-align: center; }
.day h3 span { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.slots { padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.slot {
  border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 8px 0;
  font-size: 14px; font-weight: 600; cursor: pointer; color: var(--green);
}
.slot:hover { border-color: var(--green); background: var(--green-soft); }
.slot.off { color: #b4bcc4; border-color: #eef1f3; cursor: not-allowed; text-decoration: line-through; font-weight: 400; }
.slot.sel { background: var(--green); border-color: var(--green); color: #fff; }
.empty { padding: 10px; text-align: center; color: var(--muted); font-size: 13px; }

label { display: block; font-size: 13px; font-weight: 600; margin: 10px 0 4px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea {
  width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-family: inherit;
}
textarea { min-height: 80px; resize: vertical; }
.row2 { display: flex; gap: 10px; }
.row2 > * { flex: 1; }
@media (max-width: 520px) { .row2 { flex-direction: column; } }
.check { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0; font-size: 13px; font-weight: 400; }
.check input { margin-top: 3px; }
.hp { position: absolute; left: -9999px; }

.notice { border-left: 3px solid var(--green); background: var(--green-soft); padding: 10px 12px; border-radius: 0 8px 8px 0; font-size: 14px; }
.notice.bad { border-color: var(--bad); background: #fdecea; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
        background: #eef2f5; color: var(--muted); border-radius: 4px; padding: 2px 6px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 7px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* Brand header (text wordmark, same reading as the site logo) */
.brandbar { display: flex; align-items: center; gap: 10px; padding: 4px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.wordmark { font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.wordmark span { color: var(--green); }
.brandbar .tag { margin-left: auto; font-size: 12px; color: var(--muted); text-align: right; }
h1, h2, h3 { font-weight: 600; color: var(--ink); }
body { font-weight: 400; }
.day h3 { background: var(--soft); color: var(--ink); }

/* Consent bar for the analytics opt-in (2026-08-07). Fixed to the bottom so it
   never covers the slot grid at the top -- a banner that hides the thing the
   visitor came for costs bookings, and the measurement it enables is worth
   less than a booking. */
.consentbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--bg); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px -12px rgba(0, 0, 0, .35);
}
.consentbar-in {
  max-width: 860px; margin: 0 auto; padding: 14px 16px;
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.consentbar p { margin: 0; flex: 1 1 320px; font-size: 13px; color: var(--muted); }
.consentbar a { color: var(--green-dark); }
.consentbar-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.consentbar .btn { padding: 8px 14px; font-size: 14px; }
@media (max-width: 560px) {
  .consentbar-in { padding: 12px 14px; }
  .consentbar-btns { width: 100%; }
  .consentbar-btns .btn { flex: 1 1 auto; }
}

/* Footer with the mandatory privacy link. */
.pagefoot {
  margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); text-align: center;
}
.pagefoot a { color: var(--green-dark); }
