/* Γραμματοσειρές τοπικά (όχι Google Fonts, για να μη φεύγει η IP του επισκέπτη στη Google) */
@font-face { font-family: Commissioner; src: url(/assets/fonts/commissioner.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Ubuntu Mono"; src: url(/assets/fonts/ubuntu-mono.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ubuntu Mono"; src: url(/assets/fonts/ubuntu-mono-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Didot; src: url(/assets/fonts/didot-greek.woff2) format("woff2"); unicode-range: U+0370-03FF, U+1F00-1FFF; font-display: swap; }
@font-face { font-family: Didot; src: url(/assets/fonts/didot-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; font-display: swap; }

/* ---------- θέματα: φωτεινό (default, χαρτί και μελάνι), σκοτεινό ---------- */
:root {
  --bg: #e7dfd2;
  --bg-admin: #efe8dd;
  --card: #f1ebe1;
  --card-border: #d6cbbb;
  --field: #f7f2ea;
  --surface-2: #e8e0d3;
  --hover: #e2d8c9;
  --line: #d6cbbb;
  --line-2: #b9ad9c;
  --text: #151210;
  --muted: #6b6157;
  --soft: #4a433b;
  --dim: #b5a998;
  --gold: #8b1e2b;
  --gold-2: #731723;
  --gold-text: #8b1e2b;
  --gold-bg: #f3e3e1;
  --on-gold: #ffffff;
  --ink: #151210;
  --on-ink: #f1ebe1;
  --btn-off-bg: #d9cfc0;
  --btn-off-text: #8f8476;
  --note-bg: #e9e1d4;
  --err-bg: #f6e1df;
  --err-line: #dfb1ac;
  --danger: #8b1e2b;
  --track: #d6cbbb;
  --grid-line: #e4dbcd;
  --hatch-a: #e9e1d4;
  --hatch-b: #f1ebe1;
  --appt: #f3e3e1;
  --appt-hover: #ecd2cf;
  --block-bg: rgba(241, 235, 225, .94);
  --block-line: #a99c8b;
  --toast-bg: #151210;
  --toast-text: #f1ebe1;
  color-scheme: light;
  --radius: 0px;
}
:root[data-theme="dark"] {
  --bg: #0b0a08;
  --bg-admin: #110f0d;
  --card: #15120f;
  --card-border: #2a241e;
  --field: #1c1814;
  --surface-2: #221d18;
  --hover: #2a241e;
  --line: #2f2822;
  --line-2: #4a4036;
  --text: #efe6d8;
  --muted: #a3978a;
  --soft: #c9bfb1;
  --dim: #5c5248;
  --gold: #a3283a;
  --gold-2: #b8344a;
  --gold-text: #e08592;
  --gold-bg: #2a1518;
  --on-gold: #ffffff;
  --ink: #efe6d8;
  --on-ink: #15120f;
  --btn-off-bg: #2a241e;
  --btn-off-text: #6f6458;
  --note-bg: #1c1814;
  --err-bg: #2a1518;
  --err-line: #5a2a30;
  --danger: #f0a3ab;
  --track: #2f2822;
  --grid-line: #1f1b17;
  --hatch-a: #1a1612;
  --hatch-b: #15120f;
  --appt: #2a1a1b;
  --appt-hover: #382224;
  --block-bg: rgba(28, 24, 20, .92);
  --block-line: #5c5248;
  --toast-bg: #efe6d8;
  --toast-text: #15120f;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: #0b0a08;
  --bg-admin: #110f0d;
  --card: #15120f;
  --card-border: #2a241e;
  --field: #1c1814;
  --surface-2: #221d18;
  --hover: #2a241e;
  --line: #2f2822;
  --line-2: #4a4036;
  --text: #efe6d8;
  --muted: #a3978a;
  --soft: #c9bfb1;
  --dim: #5c5248;
  --gold: #a3283a;
  --gold-2: #b8344a;
  --gold-text: #e08592;
  --gold-bg: #2a1518;
  --on-gold: #ffffff;
  --ink: #efe6d8;
  --on-ink: #15120f;
  --btn-off-bg: #2a241e;
  --btn-off-text: #6f6458;
  --note-bg: #1c1814;
  --err-bg: #2a1518;
  --err-line: #5a2a30;
  --danger: #f0a3ab;
  --track: #2f2822;
  --grid-line: #1f1b17;
  --hatch-a: #1a1612;
  --hatch-b: #15120f;
  --appt: #2a1a1b;
  --appt-hover: #382224;
  --block-bg: rgba(28, 24, 20, .92);
  --block-line: #5c5248;
  --toast-bg: #efe6d8;
  --toast-text: #15120f;
  color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: Commissioner, system-ui, -apple-system, Segoe UI, sans-serif; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; }
a { color: var(--gold-text); }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.shell { min-height: 100dvh; display: flex; justify-content: center; padding: 0; }
@media (min-width: 520px) { .shell { padding: 32px 16px; } }
.card { position: relative; width: 100%; max-width: 440px; background: var(--card); display: flex; flex-direction: column; min-height: 100dvh; }
@media (min-width: 520px) { .card { min-height: 760px; border: 1px solid var(--card-border); } }
.serif { font-family: Didot, "GFS Didot", Georgia, serif; font-weight: 400; }

.theme-toggle { all: unset; cursor: pointer; position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.theme-toggle:hover { color: var(--text); }

/* κεφαλίδα: logo, διπλές γραμμές όπως στο logo, τίτλος */
.brand { padding: 30px 26px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.brand .logo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.rule2 { height: 7px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); margin: 0 26px; }
.brand + .rule2 { margin-top: 22px; }
.headline { padding: 20px 26px 18px; text-align: center; }
.headline h1 { margin: 0; font-family: Didot, Georgia, serif; font-weight: 400; font-size: 31px; line-height: 1.05; letter-spacing: .06em; text-transform: uppercase; }
.headline .city { margin-top: 8px; font-size: 13px; color: var(--muted); }

.steps { padding: 16px 26px 6px; display: flex; justify-content: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.steps b { color: var(--text); }

/* βήματα 2-3: πίσω + τι διάλεξες */
.topbar { padding: 22px 72px 0 26px; }
.back { all: unset; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 8px 0; }
.back:hover { color: var(--text); }
.chosen { margin: 12px 26px 4px; border: 1.5px solid var(--ink); padding: 12px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.chosen .a { font-family: Didot, Georgia, serif; font-size: 20px; }
.chosen .b { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.icon-btn { all: unset; cursor: pointer; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text); }
.icon-btn:hover { background: var(--hover); }
.icon-btn:disabled { opacity: .25; cursor: default; background: none; }

.section-title { padding: 18px 26px 8px; margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.body { padding: 0 26px; display: flex; flex-direction: column; }
.grow { flex: 1; }
.footer { padding: 22px 26px 18px; position: sticky; bottom: 0; background: linear-gradient(transparent, var(--card) 28%); }

/* υπηρεσίες σαν τιμοκατάλογος */
.svc { all: unset; cursor: pointer; display: flex; align-items: baseline; gap: 8px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.svc:hover .name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.svc .info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.svc .name { font-family: Didot, Georgia, serif; font-size: 21px; line-height: 1.15; }
.svc .dur { font-size: 12px; color: var(--muted); }
.svc .en { font-size: 13px; font-style: italic; color: var(--soft); }
.svc.sel .en { color: var(--dim); }
.svc .info { flex-shrink: 1; }
.svc .dots { flex: 1; min-width: 24px; border-bottom: 1.5px dotted var(--line-2); transform: translateY(-6px); }
.svc .price { font-family: Didot, Georgia, serif; font-size: 21px; white-space: nowrap; }
.svc.sel { background: var(--ink); color: var(--on-ink); border-color: var(--ink); padding: 15px 12px; margin: 0 -8px; }
.svc.sel .dur { color: var(--dim); }
.svc.sel .dots { border-color: var(--muted); }
.svc.sel:hover .name { text-decoration: none; }

.btn { all: unset; cursor: pointer; box-sizing: border-box; width: 100%; text-align: center; padding: 17px; background: var(--gold); color: var(--on-gold); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.btn:hover { background: var(--gold-2); color: var(--on-gold); }
.btn:disabled { background: var(--btn-off-bg); color: var(--btn-off-text); cursor: default; }
.btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--hover); }

/* ημερολόγιο */
.month { padding: 18px 20px 8px 26px; display: flex; align-items: center; justify-content: space-between; }
.month .label { font-family: Didot, Georgia, serif; font-size: 23px; letter-spacing: .06em; text-transform: uppercase; }
.month .nav { display: flex; gap: 2px; }
.cal { padding: 0 20px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 4px; text-align: center; }
.cal .wd { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; color: var(--muted); padding: 6px 0; text-transform: uppercase; }
.cal .day { all: unset; width: 40px; height: 40px; margin: auto; display: flex; align-items: center; justify-content: center; font-family: Didot, Georgia, serif; font-size: 18px; border-radius: 50%; }
.cal .day.off { color: var(--dim); text-decoration: line-through; }
.cal .day.on { cursor: pointer; }
.cal .day.on:hover { background: var(--hover); }
.cal .day.sel { background: var(--ink); color: var(--on-ink); }
.cal.loading { opacity: .4; pointer-events: none; }

.slots-title { margin: 18px 26px 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.slots { padding: 0 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot { all: unset; cursor: pointer; height: 44px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); font-size: 15px; font-weight: 500; }
.slot:hover { background: var(--hover); }
.slot.sel { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.empty { padding: 0 26px; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* στοιχεία */
.form { padding: 16px 26px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { height: 48px; padding: 0 14px; border-radius: 0; border: 1.5px solid var(--line-2); background: var(--field); color: var(--text); font: inherit; font-size: 16px; width: 100%; }
.field textarea { height: 84px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.privacy { margin: 0 26px; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.55; color: var(--soft); }
.privacy svg { flex-shrink: 0; margin-top: 1px; color: var(--muted); }
.privacy a { color: var(--text); }

.error { margin: 12px 26px 0; padding: 12px 14px; background: var(--err-bg); border-left: 3px solid var(--gold); color: var(--danger); font-size: 14px; line-height: 1.5; }

/* επιβεβαίωση */
.done { padding: 0 0 24px; display: flex; flex-direction: column; flex: 1; }
.done .rule2 { margin-top: 22px; }
.done .lead { padding: 0 26px; margin: 0; font-size: 14px; color: var(--soft); text-align: center; line-height: 1.55; }
.rows { margin: 22px 26px 0; display: flex; flex-direction: column; }
.rows div { display: flex; align-items: baseline; gap: 8px; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.rows div:first-child { border-top: 1px solid var(--line); }
.rows span:first-child { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.rows i { flex: 1; border-bottom: 1.5px dotted var(--line-2); transform: translateY(-4px); }
.rows span:last-child { font-family: Didot, Georgia, serif; font-size: 18px; text-align: right; }
.done .call { margin: 18px 26px 0; font-size: 13.5px; line-height: 1.55; color: var(--soft); text-align: center; }
.done .call a { color: var(--text); font-weight: 600; white-space: nowrap; }
.actions { padding: 22px 26px 0; display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.link { text-align: center; font-size: 14px; padding: 12px; }
.link.small { all: unset; cursor: pointer; text-align: center; text-decoration: none; font-size: 13px; padding: 8px 12px; color: var(--muted); }
.link.small:hover { color: var(--text); }

.credit { padding: 6px 24px 22px; display: flex; justify-content: center; }
.credit a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: "Ubuntu Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.credit .sc-box { padding: 2px 5px; border-radius: 2px; background: var(--text); color: var(--card); font-weight: 700; letter-spacing: 0; }
.credit .sc-name { color: var(--text); font-weight: 700; letter-spacing: 1px; }
.credit a:hover .sc-tag { color: var(--text); }

.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--ink); animation: spin .8s linear infinite; margin: 24px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* πρώτη ελεύθερη ώρα */
.first { all: unset; cursor: pointer; box-sizing: border-box; margin: 10px 26px 0; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; background: var(--ink); color: var(--on-ink); }
.first .k { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.first .v { grid-row: 2; font-family: Didot, Georgia, serif; font-size: 19px; margin-top: 3px; }
.first .arr { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 20px; transition: transform .15s; }
.first:hover .arr { transform: translateX(3px); }

/* διεύθυνση και τηλέφωνο που πατιούνται */
a.tap { color: inherit; text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a.tap:hover { color: var(--text); }

/* δύο ισότιμα κουμπιά ημερολογίου */
.cal-k { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 4px; }
.cal-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cal-btns .btn { padding: 15px 8px; }
.cal-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }

/* μηνύματα στα πεδία */
.field-err { font-size: 13px; color: var(--danger); }
.field input[aria-invalid="true"] { border-color: var(--gold); }
