/* Lumin Ραντεβού: κοινό στυλ. Τα χρώματα του μαγαζιού έρχονται ως --brand και --accent. */
:root {
  --brand: #0a1a2f;
  --accent: #5ce1b8;
  --bg: #f6f5f2;
  --card: #ffffff;
  --line: #e7e4de;
  --fg: #1c1917;
  --fg-2: #57534e;
  --fg-3: #8a847c;
  --danger: #b42318;
  --ok: #067647;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 0, 0, 0.12);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.45;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; }
.wrap-wide { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Κεφαλίδα μαγαζιού */
.shop-head { background: var(--brand); color: #fff; padding: 22px 0 54px; }
.shop-head .wrap { display: flex; align-items: center; gap: 14px; }
.logo { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-weight: 700; font-size: 1.5rem; flex-shrink: 0; overflow: hidden; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.shop-name { margin: 0; font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.01em; }
.shop-sub { margin: 2px 0 0; color: rgba(255,255,255,.72); font-size: .92rem; }
.head-actions { margin-left: auto; display: flex; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; border: 0; }
.icon-btn svg { width: 20px; height: 20px; }

.main { margin-top: -36px; padding-bottom: 40px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 14px; }
.step-title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font-size: 1.2rem; letter-spacing: -0.01em; }
.step-num { font-size: .8rem; font-weight: 700; color: var(--fg-3); }
.muted { color: var(--fg-2); }
.small { font-size: .85rem; }
.tiny { font-size: .78rem; color: var(--fg-3); }

/* Υπηρεσίες */
.options { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.opt:hover { border-color: #cfc9bf; }
.opt[aria-pressed='true'] { border-color: var(--brand); box-shadow: 0 0 0 1.5px var(--brand) inset; }
.opt-name { font-weight: 600; }
.opt-meta { font-size: .85rem; color: var(--fg-3); }
.opt-price { font-weight: 700; white-space: nowrap; }

/* Chips (άτομα) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 15px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.chip[aria-pressed='true'] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Μέρες */
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.days::-webkit-scrollbar { height: 0; }
.day {
  flex: 0 0 64px; scroll-snap-align: start; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 8px 0;
  text-align: center; cursor: pointer; line-height: 1.15;
}
.day .dw { font-size: .75rem; color: var(--fg-3); text-transform: capitalize; }
.day .dn { font-size: 1.25rem; font-weight: 700; }
.day .dm { font-size: .7rem; color: var(--fg-3); }
.day[aria-pressed='true'] { background: var(--brand); border-color: var(--brand); color: #fff; }
.day[aria-pressed='true'] .dw, .day[aria-pressed='true'] .dm { color: rgba(255,255,255,.75); }
.day:disabled { opacity: .38; cursor: default; }

/* Ώρες */
.time-group { margin-top: 14px; }
.time-group h3 { margin: 0 0 8px; font-size: .8rem; font-weight: 700; color: var(--fg-3); text-transform: uppercase; letter-spacing: .06em; }
.times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 0; font-weight: 600; cursor: pointer; }
.time[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--brand); }
@media (max-width: 360px) { .times { grid-template-columns: repeat(3, 1fr); } }

/* Φόρμες */
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; }
.field small { font-weight: 400; color: var(--fg-3); }
.input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; font-size: 16px;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
textarea.input { resize: vertical; min-height: 70px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--fg-2); margin: 6px 0 14px; }
.check input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px;
  border: 0; background: var(--brand); color: #fff; font-weight: 700; cursor: pointer; text-decoration: none; font-size: 1rem;
}
.btn.block { width: 100%; }
.btn.light { background: #fff; color: var(--fg); border: 1.5px solid var(--line); }
.btn.accent { background: var(--accent); color: var(--brand); }
.btn.danger { background: #fff; color: var(--danger); border: 1.5px solid #f3c7c2; }
.btn.small { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.btn:disabled { opacity: .55; cursor: default; }
.btn svg { width: 18px; height: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }

.summary { background: color-mix(in srgb, var(--accent) 16%, #fff); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.summary strong { display: block; font-size: 1.05rem; }
.alert { border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; font-size: .92rem; }
.alert.error { background: #fef3f2; color: var(--danger); }
.alert.info { background: #f0f9ff; color: #075985; }
.alert.ok { background: #ecfdf3; color: var(--ok); }
.empty { color: var(--fg-3); font-size: .95rem; padding: 6px 0; }

.done { text-align: center; padding: 28px 20px; }
.done .tick { width: 64px; height: 64px; border-radius: 999px; background: var(--accent); color: var(--brand); display: grid; place-items: center; margin: 0 auto 14px; }
.done .tick svg { width: 32px; height: 32px; }
.done h2 { margin: 0 0 6px; font-size: 1.5rem; }

.demo-bar { background: #fff8e6; color: #7a5300; font-size: .85rem; text-align: center; padding: 8px 12px; }
.demo-bar a { font-weight: 700; }
.partner-bar { background: var(--brand-soft, #eef4ff); border: 1px solid var(--line, #e6e6e6); border-radius: 12px; padding: 10px 14px; font-weight: 600; margin-bottom: 12px; }
.foot { text-align: center; font-size: .8rem; color: var(--fg-3); padding: 10px 0 30px; }
.foot a { color: var(--fg-2); }

.skeleton { height: 46px; border-radius: 12px; background: linear-gradient(90deg, #f1efeb 25%, #e8e5df 37%, #f1efeb 63%); background-size: 400% 100%; animation: sk 1.2s ease infinite; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Ενσωμάτωση σε site πελάτη (?embed=1) */
body.embed { background: transparent; }
body.embed .shop-head { padding: 16px 0 44px; border-radius: var(--radius) var(--radius) 0 0; }
body.embed .foot { padding-bottom: 8px; }
/* Η φόρμα πιάνει όλο το πλάτος της στήλης του site */
html.embed .main.wrap, html.embed .shop-head .wrap { max-width: none; }
html.embed .main.wrap { padding: 0; }
html.embed .shop-head .wrap { padding: 0 20px; }
html.embed-font body { font-family: var(--font); }
html.embed-nohead .shop-head { display: none; }
html.embed-nohead .main { margin-top: 0; }
html.embed .demo-bar { border-radius: var(--radius); margin-bottom: 12px; }

/* ---------------- Πίνακας ιδιοκτήτη ---------------- */
.top { background: var(--brand); color: #fff; }
.top .wrap-wide { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.top h1 { font-size: 1.1rem; margin: 0; }
.top .spacer { flex: 1; }
.top a, .top button { color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: 999px; padding: 8px 14px; font-size: .85rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 12px; }
.datenav { display: flex; align-items: center; gap: 6px; }
.datenav button { width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; }
.datenav .label { font-weight: 700; font-size: 1.1rem; min-width: 190px; text-align: center; }
.seg { display: inline-flex; background: #ebe8e2; border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .88rem; cursor: pointer; }
.seg button[aria-pressed='true'] { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.stats { color: var(--fg-2); font-size: .92rem; margin: 0 0 14px; }

.day-group { margin-bottom: 18px; }
.day-group > h2 { font-size: 1rem; margin: 0 0 8px; color: var(--fg-2); }
.item {
  display: grid; grid-template-columns: 76px 1fr; gap: 12px; background: #fff; border-radius: 14px; padding: 14px; margin-bottom: 8px;
  box-shadow: var(--shadow); border-left: 4px solid var(--accent);
}
.item.block { border-left-color: #a8a29e; background: repeating-linear-gradient(-45deg, #fff, #fff 8px, #f7f6f3 8px, #f7f6f3 16px); }
.item.cancelled { opacity: .55; border-left-color: #f3c7c2; }
.item.cancelled .who { text-decoration: line-through; }
.item .t { font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.item .t small { display: block; font-weight: 500; color: var(--fg-3); font-size: .8rem; margin-top: 2px; }
.item .who { font-weight: 700; }
.item .what { color: var(--fg-2); font-size: .92rem; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #f1efeb; color: var(--fg-2); margin-left: 6px; vertical-align: 1px; }
.badge.web { background: color-mix(in srgb, var(--accent) 25%, #fff); color: var(--brand); }
.item .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.item .acts a, .item .acts button { font-size: .82rem; font-weight: 600; border-radius: 999px; padding: 6px 12px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; cursor: pointer; }
.item .acts .wa { background: #e7f8ee; border-color: #c6eed6; color: #0b6b37; }
.item .acts .del { color: var(--danger); border-color: #f3c7c2; }

.fab { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 999px; background: var(--brand); color: #fff; border: 0; font-size: 1.8rem; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); cursor: pointer; }
.sheet-bg { position: fixed; inset: 0; background: rgba(15, 12, 10, .45); display: flex; align-items: flex-end; justify-content: center; z-index: 20; }
.sheet { background: var(--bg); width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; border-radius: 22px 22px 0 0; padding: 18px 18px 28px; }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 22px; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet-head h2 { margin: 0; font-size: 1.2rem; }
.close { border: 0; background: #ebe8e2; width: 36px; height: 36px; border-radius: 999px; cursor: pointer; font-size: 1.2rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.login { max-width: 380px; margin: 60px auto; }

/* ---------------- Μεταφορές (σελίδα κράτησης διαδρομής) ---------------- */
.route { position: relative; }
.route-end { min-width: 0; }
.swap {
  display: block; margin: -4px auto 8px; width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-size: 1.15rem; cursor: pointer; color: var(--fg-2);
}
.swap:hover { border-color: var(--brand); color: var(--brand); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg-3) 50%), linear-gradient(135deg, var(--fg-3) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.counters { display: grid; gap: 4px; margin: 4px 0 12px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.counter:last-child { border-bottom: 0; }
.counter > span { font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 1.3rem; cursor: pointer; line-height: 1; }
.stepper button:active { background: #f1efeb; }
.stepper output { min-width: 34px; text-align: center; font-weight: 700; font-size: 1.1rem; }
.opt:disabled { opacity: .5; cursor: default; }
.min0 { min-width: 0; }
.price-line { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 2px; font-size: 1.05rem; }
.price-line strong { font-size: 1.35rem; }
.sum-price { display: block; margin-top: 8px; font-weight: 800; font-size: 1.25rem; color: var(--brand); }
.done-legs { display: grid; gap: 10px; margin: 16px 0 6px; text-align: left; }
.done-leg { display: grid; gap: 2px; background: #f7f6f3; border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
.done-leg span { font-size: .95rem; }
.sugg { list-style: none; margin: -6px 0 12px; padding: 4px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 260px; overflow: auto; }
.sugg button { display: grid; gap: 1px; width: 100%; text-align: left; border: 0; background: none; padding: 10px 10px; border-radius: 8px; cursor: pointer; min-height: 44px; }
.sugg button:hover, .sugg button:focus-visible { background: #f4f2ee; }
.sugg span { font-size: .85rem; color: var(--fg-3); }
.sub-title { margin: 16px 0 8px; font-size: .8rem; font-weight: 700; color: var(--fg-3); text-transform: uppercase; letter-spacing: .06em; }

/* ---------------- Διατάξεις φόρμας (shops.form_settings / data-layout) ---------------- */
/* Μπάρα αναζήτησης: μία γραμμή, μετά τα υπόλοιπα */
html.layout-bar .main.wrap, html.layout-split .main.wrap, html.layout-bar .shop-head .wrap, html.layout-split .shop-head .wrap { max-width: 980px; }
.bar-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 12px; align-items: end; }
.bar-row .field { margin-bottom: 0; }
.bar-row .route-end { align-self: start; }
.bar-row .route-end .field + .field, .bar-row .sugg { margin-top: 8px; }
.bar-row .counter { display: block; padding: 0; border: 0; }
.bar-row .counter > span { display: block; font-size: .85rem; margin-bottom: 5px; }
.bar-row .stepper { justify-content: space-between; border: 1.5px solid var(--line); border-radius: 12px; padding: 1px 2px; background: #fff; }
.bar-row .stepper button { border: 0; width: 40px; height: 44px; }
.bar-go { width: 100%; }
@media (min-width: 900px) { .bar-row { grid-template-columns: 1.3fr 1.3fr 1fr .8fr .9fr auto; } }

/* Δύο στήλες + σύνοψη */
@media (min-width: 820px) {
  html.layout-split .main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 16px; align-items: start; }
  html.layout-split .main > * { grid-column: 1; }
  html.layout-split .main > .side { grid-column: 2; grid-row: 1 / span 20; position: sticky; top: 16px; }
  html.layout-split #submit { display: none; }
}
@media (max-width: 819px) { html.layout-split .side-go { display: none; } }
.side-title { margin: 0 0 12px; font-size: 1.05rem; }
.side .summary { margin-bottom: 14px; }
html.layout-split #step-details .summary { display: none; }

/* Μία κάρτα βήμα-βήμα */
.wiz-head { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 20px; margin-bottom: 14px; }
.wiz-count { display: block; font-size: .85rem; font-weight: 700; color: var(--fg-2); margin-bottom: 8px; }
.wiz-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.wiz-bar span { display: block; height: 100%; width: 25%; background: var(--brand); border-radius: inherit; transition: width .25s ease; }
.wiz-nav { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.wiz-nav .btn { flex: 1; }
.wiz-nav #wiz-back[hidden] + #wiz-next { margin-left: 0; }
