:root {
  --bg: #F6F7F9;
  --paper: #FFFFFF;
  --ink: #1C2433;
  --muted: #5A6376;
  --line: #DCE0E6;
  --accent: #1E5B63;
  --accent-ink: #FFFFFF;
  --accent-soft: #E3EEEF;
  --danger: #A3322B;
  --ok: #2F6B3A;
  --r-s: 8px;
  --r-m: 14px;
  --font: "Commissioner", system-ui, sans-serif;
}
.kind-women { --accent: #8E3A59; --accent-soft: #F3E6EB; }
.kind-unisex { --accent: #4A3F7A; --accent-soft: #ECEAF4; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12161E; --paper: #1A202B; --ink: #E8EBF0; --muted: #A2AABA; --line: #2D3544;
    --accent-soft: #22303A;
  }
  :root:not([data-theme="light"]) .kind-men { --accent: #5AA7AF; --accent-ink: #0E1A1C; }
  :root:not([data-theme="light"]) .kind-women { --accent: #D98AA7; --accent-ink: #25101A; --accent-soft: #3A2530; }
  :root:not([data-theme="light"]) .kind-unisex { --accent: #A89BE0; --accent-ink: #18142B; --accent-soft: #2A2740; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.5 var(--font); font-variation-settings: "FLAR" 0;
}
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 520px; padding-top: 32px; padding-bottom: 48px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hp { position: absolute; left: -9999px; }

h1, h2, h3 { line-height: 1.15; margin: 0; }
.page-h { font-size: 28px; font-weight: 850; letter-spacing: -0.01em; margin-bottom: 12px; }

/* κουμπιά */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--r-s);
  background: var(--accent); color: var(--accent-ink); font: 600 16px var(--font);
  text-decoration: none; cursor: pointer;
}
.btn:disabled { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-light { background: #fff; color: #1C2433; }
.btn-danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-s { min-height: 36px; padding: 0 12px; font-size: 14px; }
.link { font-weight: 500; }

/* demo μπάρα */
.demo-bar {
  background: var(--ink); color: var(--bg); padding: 12px 16px;
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: center;
  font-size: 15px;
}
.demo-bar p { margin: 0; max-width: 520px; }

/* κεφαλίδα καταστήματος: η ταμπέλα */
.shop { background: var(--accent); color: var(--accent-ink); padding: 36px 0 28px; }
.shop-inner { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.shop-kind { margin: 0 0 6px; font-size: 15px; opacity: .85; }
.shop h1 { font-size: clamp(34px, 9vw, 52px); font-weight: 850; letter-spacing: -0.02em; font-stretch: 110%; }
.shop-meta { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
.shop-meta a { color: inherit; font-weight: 600; }

/* βήματα */
.step { padding: 28px 0 8px; }
.step h2 { font-size: 21px; font-weight: 750; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.n {
  width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 15px; font-weight: 750;
}
.notice { background: #FBEDEA; color: #7A2620; padding: 12px 14px; border-radius: var(--r-s); margin: 16px 0 0; }
.done { background: #E8F3EA; color: #234F2B; padding: 12px 14px; border-radius: var(--r-s); margin: 16px 0; }

.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline;
  padding: 15px 4px; border-bottom: 1px solid var(--line); cursor: pointer;
}
.svc input { position: absolute; opacity: 0; }
.svc-name { font-weight: 600; }
.svc-dur { color: var(--muted); font-size: 15px; }
.svc-price { font-weight: 600; min-width: 48px; text-align: right; }
.svc:has(input:checked) { box-shadow: inset 4px 0 0 var(--accent); padding-left: 14px; background: var(--accent-soft); }
.svc:has(input:focus-visible) { outline: 3px solid var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 500; }
.chip input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.day {
  flex: 0 0 58px; scroll-snap-align: start; display: grid; gap: 2px; justify-items: center;
  padding: 10px 0; border: 0; border-radius: var(--r-s); background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font: inherit; cursor: pointer;
}
.day .dw { font-size: 13px; color: var(--muted); }
.day .dd { font-size: 20px; font-weight: 750; }
.day[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.day[aria-pressed="true"] .dw { color: inherit; opacity: .8; }
.day-label { font-weight: 600; margin: 10px 0; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot-group { margin: 14px 0 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.slot-group:first-child { margin-top: 0; }
.slot {
  min-height: 46px; border: 0; border-radius: var(--r-s); background: var(--accent-soft); color: var(--ink);
  font: 600 16px var(--font); font-variant-numeric: tabular-nums; cursor: pointer;
}
.slot[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

.summary { font-weight: 600; margin: 0 0 14px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.form label small { font-weight: 400; color: var(--muted); }
.form input:not([type=radio]):not([type=checkbox]), .form select {
  min-height: 48px; padding: 0 12px; border-radius: var(--r-s); border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink); font: 400 17px var(--font); width: 100%;
}
.form input:focus, .form select:focus { border-color: var(--accent); outline: none; }
.form .check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.form .check input { width: 20px; height: 20px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.form legend { font-weight: 750; font-size: 19px; margin-bottom: 10px; }
.demo-end { background: var(--accent-soft); padding: 18px; border-radius: var(--r-m); }
.demo-end p { margin: 0 0 14px; }

.hours { margin: 32px 0; border-top: 1px solid var(--line); padding-top: 14px; }
.hours summary { cursor: pointer; font-weight: 600; }
.hours dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 20px; margin: 12px 0 0; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.badge-foot { text-align: center; padding: 24px 16px 40px; font-size: 14px; }
.badge-foot a { color: var(--muted); }

/* καρτελάκι ραντεβού */
.card-wrap { padding-top: 28px; padding-bottom: 48px; max-width: 480px; }
.apt {
  position: relative; background: var(--paper); border-radius: var(--r-m); padding: 26px 24px 22px;
  box-shadow: 0 1px 0 var(--line), 0 12px 32px -18px rgba(28, 36, 51, .35);
  border-top: 10px solid var(--accent);
}
.apt::before, .apt::after {  /* οπές σαν χάρτινο καρτελάκι */
  content: ""; position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--bg);
}
.apt::before { left: -9px; } .apt::after { right: -9px; }
.apt-shop { margin: 0; font-weight: 750; font-size: 18px; }
.apt-title { margin: 2px 0 18px; color: var(--muted); }
.apt-day { margin: 0; font-size: 20px; font-weight: 600; }
.apt-time { margin: 0 0 18px; font-size: 64px; line-height: 1; font-weight: 850; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--accent); }
.apt-lines { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; padding-top: 16px; border-top: 1.5px dashed var(--line); }
.apt-lines dt { color: var(--muted); }
.apt-lines dd { margin: 0; font-weight: 500; }
.apt.is-cancelled .apt-time, .apt.is-cancelled .apt-day { text-decoration: line-through; color: var(--muted); }
.apt-actions { display: grid; gap: 10px; margin-top: 22px; }
.apt-actions form { display: grid; }
.apt-actions .link { text-align: center; padding: 6px; }

/* πίνακας κομμωτή */
.topbar { background: var(--ink); color: var(--bg); padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.tb-name { color: inherit; font-weight: 750; text-decoration: none; }
.topbar nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 15px; }
.topbar nav a { color: inherit; opacity: .85; text-decoration: none; }
.topbar nav a:hover { opacity: 1; text-decoration: underline; }
.welcome { background: var(--accent-soft); border-radius: var(--r-m); padding: 18px 18px 6px; margin-top: 18px; }
.welcome h2 { font-size: 20px; margin-bottom: 8px; }
.welcome li { margin-bottom: 8px; }
.welcome a { word-break: break-all; }
.week { display: grid; grid-template-columns: 28px repeat(7, 1fr) 28px; gap: 4px; margin: 18px 0 8px; align-items: stretch; }
.wk-arrow { display: grid; place-items: center; text-decoration: none; font-size: 26px; color: var(--muted); }
.wk-day { display: grid; justify-items: center; padding: 8px 0 6px; border-radius: var(--r-s); text-decoration: none; color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.wk-day .dw { font-size: 12px; color: var(--muted); }
.wk-day .dd { font-weight: 750; font-size: 18px; }
.wk-day .cnt { font-size: 12px; min-height: 16px; color: var(--accent); font-weight: 700; }
.wk-day.is-today .dd { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.wk-day.is-on { background: var(--ink); color: var(--bg); box-shadow: none; }
.wk-day.is-on .dw, .wk-day.is-on .cnt { color: inherit; }
.day-h { font-size: 24px; font-weight: 850; margin: 18px 0 12px; }
.agenda { list-style: none; margin: 0 0 20px; padding: 0; }
.ag { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ag-time { font-weight: 750; font-variant-numeric: tabular-nums; display: grid; }
.ag-time small { font-weight: 400; color: var(--muted); }
.ag-main { display: grid; }
.ag-main span { color: var(--muted); font-size: 15px; }
.ag-act { display: flex; gap: 6px; }
.ag.src-online .ag-time { color: var(--accent); }
.ag.is-cancelled { opacity: .5; }
.ag.is-cancelled b { text-decoration: line-through; }
.ag.is-block { background: repeating-linear-gradient(-45deg, transparent 0 8px, var(--accent-soft) 8px 16px); }
.empty { color: var(--muted); padding: 16px 0; }
.panel { background: var(--paper); border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); padding: 14px 16px; margin-bottom: 12px; }
.panel summary { cursor: pointer; font-weight: 600; }
.panel .form { margin-top: 14px; }
@media (min-width: 560px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid2 .btn { grid-column: 1 / -1; } }
.hours-grid { display: grid; grid-template-columns: max-content 1fr 1fr; gap: 8px 10px; align-items: center; }
.hg-span { display: flex; align-items: center; gap: 4px; }
.hg-span input { min-height: 42px !important; padding: 0 6px !important; font-size: 15px !important; }
@media (max-width: 520px) { .hours-grid { grid-template-columns: 1fr 1fr; } .hg-day { grid-column: 1 / -1; font-weight: 600; margin-top: 6px; } }
.rows { display: grid; gap: 10px; }
.row3 { display: grid; grid-template-columns: 1fr 110px 90px auto; gap: 8px; align-items: center; }
.row3 .inline { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.row3 .inline input { min-width: 0; }
.row3 .del { font-size: 14px; color: var(--muted); }
@media (max-width: 560px) { .row3 { grid-template-columns: 1fr 1fr; } .row3 > input:first-child { grid-column: 1 / -1; } }

/* σελίδα παρουσίασης */
.landing { --accent: #1E5B63; --accent-soft: #E3EEEF; }
.l-hero { background: var(--ink); color: #F6F7F9; padding: 48px 0 56px; }
.l-hero-grid { display: grid; gap: 36px; align-items: center; max-width: 980px; }
@media (min-width: 820px) { .l-hero-grid { grid-template-columns: 1.15fr .85fr; } }
.l-hero h1 { font-size: clamp(32px, 6vw, 50px); font-weight: 850; letter-spacing: -0.02em; font-stretch: 105%; }
.lead { font-size: 19px; color: #C9CFDA; max-width: 34em; margin: 18px 0 26px; }
.l-hero .btn { background: #F6F7F9; color: #1C2433; }
.phone {
  margin: 0 auto; width: 260px; background: #F6F7F9; color: #1C2433; border-radius: 30px; padding: 0 0 18px;
  box-shadow: 0 0 0 8px #2C3547, 0 30px 60px -20px rgba(0,0,0,.6); overflow: hidden; font-size: 13px;
  transform: rotate(2deg);
}
.ph-head { background: #1E5B63; color: #fff; padding: 22px 16px 14px; display: grid; }
.ph-head b { font-size: 20px; font-weight: 850; }
.ph-svc { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; margin: 12px 12px 0; padding: 10px; border-radius: 8px; background: #E3EEEF; box-shadow: inset 3px 0 0 #1E5B63; font-weight: 600; }
.ph-days { display: flex; gap: 6px; margin: 12px 12px 0; }
.ph-days span { flex: 1; display: grid; justify-items: center; padding: 6px 0; border-radius: 6px; box-shadow: inset 0 0 0 1px #DCE0E6; color: #5A6376; }
.ph-days b { color: #1C2433; font-size: 15px; }
.ph-days .is-on { background: #1C2433; color: #fff; }
.ph-days .is-on b { color: #fff; }
.ph-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 12px 0; }
.ph-slots span { text-align: center; padding: 8px 0; border-radius: 6px; background: #E3EEEF; font-weight: 600; }
.ph-slots .is-on { background: #1E5B63; color: #fff; }
.ph-btn { margin: 12px 12px 0; background: #1E5B63; color: #fff; text-align: center; padding: 10px; border-radius: 8px; font-weight: 600; }
.l-sec { padding: 44px 0 0; }
.l-sec h2 { font-size: 26px; font-weight: 850; margin-bottom: 18px; }
.l-compare { display: grid; gap: 14px; }
@media (min-width: 640px) { .l-compare { grid-template-columns: 1fr 1fr; } }
.l-compare > div { background: var(--paper); border-radius: var(--r-m); padding: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.l-compare > div:last-child { box-shadow: inset 0 0 0 2px var(--accent); }
.l-compare h3 { font-size: 18px; margin-bottom: 8px; }
.l-compare ul { margin: 0; padding-left: 20px; }
.l-compare li { margin-bottom: 6px; }
.l-steps { padding-left: 22px; margin: 0; }
.l-steps li { margin-bottom: 12px; padding-left: 4px; }
.faq dt { font-weight: 700; margin-top: 16px; }
.faq dd { margin: 4px 0 0; color: var(--muted); }
.l-final { padding: 40px 0 60px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ticks { padding-left: 20px; }
.ticks li { margin-bottom: 6px; }
.kind-pick { display: flex !important; flex-wrap: wrap; gap: 8px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media (max-width: 480px) {
  .ag { grid-template-columns: 58px 1fr; }
  .ag-act { grid-column: 2; }
}
.landing main.wrap { max-width: 980px; }
