/* foodys: βιτρίνα πελάτη. Μία στήλη, σχεδιασμένη πρώτα για το κινητό. */

.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 64px; padding: 0 1.25rem; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px);
}
.brand { font-weight: 800; font-size: var(--t-l); letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.where {
  display: inline-flex; align-items: center; gap: .45rem; min-width: 0; max-width: 58%; height: 40px; padding: 0 .9rem 0 .7rem;
  border: 0; border-radius: var(--round); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: var(--t-s); font-weight: 600; cursor: pointer;
}
.where svg { flex: none; width: 18px; height: 18px; color: var(--accent); }
.where span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

main { max-width: 680px; margin: 0 auto; padding: 0 1.25rem calc(8rem + var(--safe-b)); }
.made { display: flex; align-items: baseline; justify-content: center; gap: .4rem; padding: 0 0 calc(7rem + var(--safe-b)); color: var(--muted); font-size: var(--t-s); }
.made .wordmark { font-size: 1.15rem; color: var(--melitzana); }

/* ════════ Αρχική: «Φέρτε το στο …» ════════ */
.start { padding: 3.5rem 0 2rem; }
.start .hello { font-size: var(--t-m); font-weight: 600; color: var(--muted); margin-bottom: 1.25rem; }
.sentence { font-size: var(--t-3xl); font-weight: 800; letter-spacing: -0.045em; line-height: .98; }
.sentence .lead { display: block; }
.sentence form { display: block; margin-top: .15em; }
.sentence .blank { display: flex; align-items: center; gap: .3em; }
.sentence .blank > span { flex: none; }
.sentence input {
  flex: 1; min-width: 0; min-height: 0; height: 1.12em; padding: 0 0 .04em; border-radius: 0; background: transparent;
  font: inherit; letter-spacing: -0.03em; color: var(--accent);
  box-shadow: inset 0 -.07em 0 0 var(--ink);
}
.sentence input::placeholder { color: color-mix(in srgb, var(--ink) 22%, transparent); }
.sentence input:focus { box-shadow: inset 0 -.09em 0 0 var(--accent); }
.start .go { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.start .go .btn { min-width: 9rem; }
.locate-me { display: inline-flex; align-items: center; gap: .45rem; }
.locate-me svg { width: 20px; height: 20px; }
.switch-mode { margin-top: 3rem; padding-top: 1.5rem; border-top: 1.5px solid var(--line); font-size: var(--t-m); color: var(--muted); }
.switch-mode .link { color: var(--ink); }
.found { margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--r-m); background: var(--ntomata-soft); color: var(--ntomata); font-weight: 550; }
.found .link { color: var(--ink); }

.pick { display: grid; gap: .5rem; margin-top: 2rem; }
.pick button {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .1rem 1rem; width: 100%; padding: 1.1rem 1.25rem;
  border: 0; border-radius: var(--r-m); background: var(--surface); text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent;
  transition: box-shadow .15s;
}
.pick button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pick strong { font-size: var(--t-l); font-weight: 750; letter-spacing: -0.02em; }
.pick .addr { grid-column: 1; color: var(--muted); font-size: var(--t-s); }
.pick .tag { grid-row: 1 / span 2; grid-column: 2; }

/* ════════ Μενού ════════ */
.store-head { padding: 2.25rem 0 .5rem; }
.store-head h1 { font-size: var(--t-2xl); letter-spacing: -0.04em; }
.facts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.note { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-m); background: var(--krokos-soft); color: #5C3F00; font-weight: 550; }
.note.closed { background: var(--ntomata-soft); color: var(--ntomata); }

.cats {
  position: sticky; top: 64px; z-index: 20; display: flex; gap: 1.5rem; overflow-x: auto; scrollbar-width: none;
  margin: 1.25rem -1.25rem 0; padding: 0 1.25rem; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: inset 0 -1.5px 0 var(--line);
}
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; padding: .9rem 0 .8rem; text-decoration: none; font-weight: 600; color: var(--muted); white-space: nowrap; box-shadow: inset 0 -3px 0 transparent; transition: color .15s, box-shadow .15s; }
.cats a.on { color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }

.cat { padding-top: 2.5rem; scroll-margin-top: 120px; }
.cat h2 { display: flex; align-items: baseline; gap: .6rem; font-size: var(--t-xl); letter-spacing: -0.035em; margin-bottom: .5rem; }
.cat h2 small { font-size: var(--t-s); font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* Ένα πιάτο στο μενού: όνομα ··· τιμή, και η φωτογραφία ως πιάτο */
.item {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 1.1rem; align-items: center; width: 100%;
  padding: 1.15rem 0; border: 0; background: none; text-align: left; cursor: pointer;
  box-shadow: inset 0 -1px 0 var(--line);
}
.item:last-child { box-shadow: none; }
.item .head { display: flex; align-items: baseline; gap: .5rem; }
.item .name { font-family: var(--serif); font-variation-settings: 'opsz' 24; font-size: 1.25rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.005em; }
.item .lead { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted color-mix(in srgb, var(--ink) 28%, transparent); transform: translateY(-.3em); }
.item .price { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.item .price small { font-weight: 500; color: var(--muted); }
.item .desc { margin: .35rem 0 0; font-family: var(--serif); font-variation-settings: 'opsz' 14; font-size: var(--t-s); line-height: 1.45; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .count { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem; border-radius: var(--round); background: var(--accent); color: var(--accent-ink); font-family: var(--sans); font-size: .8rem; font-weight: 750; align-self: center; }
.plate { position: relative; width: 88px; height: 88px; flex: none; }
.plate img, .plate .blank-plate { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--surface); box-shadow: 0 0 0 5px var(--surface), 0 0 0 6.5px var(--line); }
.plate .blank-plate { display: block; background: radial-gradient(circle, var(--asvestis) 52%, var(--surface) 53%); }
.plate .add { position: absolute; right: -6px; bottom: -6px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 3px var(--bg); }
.plate .add svg { width: 16px; height: 16px; }
.item:hover .plate .add { transform: scale(1.08); }
.item.off { cursor: default; }
.item.off .name, .item.off .plate { opacity: .4; }
.item.off .price { color: var(--muted); font-weight: 500; }

/* ════════ Φύλλο πιάτου ════════ */
.dish-sheet { text-align: left; }
.dish-sheet .hero-plate { width: 168px; height: 168px; margin: .25rem auto 1.25rem; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 8px var(--surface), 0 0 0 10px var(--line); }
.dish-sheet .hero-plate img { width: 100%; height: 100%; object-fit: cover; }
.dish-sheet h2 { font-family: var(--serif); font-variation-settings: 'opsz' 48; font-weight: 650; font-size: 2rem; letter-spacing: -0.01em; padding-right: 52px; }
.dish-sheet .about { font-family: var(--serif); font-variation-settings: 'opsz' 16; color: var(--muted); margin: .6rem 0 1.25rem; font-size: 1.05rem; line-height: 1.5; }
.group { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.group legend { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; width: 100%; padding: 0 0 .5rem; font-weight: 750; font-size: var(--t-l); letter-spacing: -0.02em; }
.group legend small { font-size: var(--t-xs); font-weight: 650; letter-spacing: 0; padding: .2em .65em; border-radius: var(--round); background: var(--asvestis); color: var(--muted); white-space: nowrap; }
.group legend small.need { background: var(--krokos-soft); color: #6B4A00; }
.group legend small.bad { background: var(--ntomata-soft); color: var(--ntomata); }
.opt { display: flex; align-items: center; gap: .9rem; min-height: 56px; margin: 0; cursor: pointer; box-shadow: inset 0 -1px 0 var(--asvestis); }
.opt span { flex: 1; font-weight: 500; }
.opt em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; font-size: var(--t-s); }
.opt.off { cursor: not-allowed; }
.opt.off span { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.add-row {
  position: sticky; bottom: calc(-1.5rem - var(--safe-b)); z-index: 2; display: flex; gap: .75rem;
  margin: 1.25rem -1.25rem calc(-1.5rem - var(--safe-b)); padding: 1rem 1.25rem calc(1rem + var(--safe-b));
  background: linear-gradient(to top, var(--surface) 80%, transparent);
}
@media (min-width: 760px) { .add-row { margin: 1.25rem -2rem -2rem; padding: 1rem 2rem 2rem; bottom: -2rem; } }
.add-row .btn { flex: 1; justify-content: space-between; }
.stepper { display: inline-flex; align-items: center; height: 52px; border-radius: var(--round); box-shadow: inset 0 0 0 1.5px var(--line); }
.stepper button { width: 46px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.4rem; font-weight: 500; border-radius: var(--round); }
.stepper output { min-width: 1.6ch; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.stepper.sm { height: 38px; }
.stepper.sm button { width: 36px; font-size: 1.15rem; }

/* ════════ Μπάρα καλαθιού ════════ */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 1rem 1.25rem calc(1rem + var(--safe-b)); pointer-events: none; }
.cartbar button {
  pointer-events: auto; display: flex; align-items: center; gap: .9rem; width: 100%; max-width: 640px; margin: 0 auto;
  height: 64px; padding: 0 1.4rem 0 .6rem; border: 0; border-radius: var(--round); cursor: pointer;
  background: var(--melitzana); color: #fff; font-weight: 650; font-size: var(--t-m);
  box-shadow: 0 12px 32px -12px rgba(43, 22, 48, .55);
}
.cartbar .stack { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; box-shadow: 0 0 0 3px var(--melitzana), 0 0 0 5px color-mix(in srgb, var(--accent) 60%, transparent); }
.cartbar .label { flex: 1; text-align: left; }
.cartbar .sum { font-variant-numeric: tabular-nums; font-weight: 750; }
.cartbar.bump .stack { animation: plop .35s var(--ease); }
@keyframes plop { 40% { transform: scale(1.22); } }

/* ════════ Καλάθι & ολοκλήρωση ════════ */
.lines { list-style: none; padding: 0; margin: 1rem 0; }
.lines li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1rem 0; box-shadow: inset 0 -1px 0 var(--line); }
.lines .name { font-family: var(--serif); font-variation-settings: 'opsz' 20; font-size: 1.15rem; font-weight: 600; }
.lines .extra { grid-column: 1 / -1; color: var(--muted); font-size: var(--t-s); }
.lines .stepper { grid-column: 1; justify-self: start; margin-top: .4rem; }
.sums { display: grid; gap: .45rem; margin: 1.25rem 0; font-variant-numeric: tabular-nums; }
.sums div { display: flex; justify-content: space-between; }
.sums .total { margin-top: .4rem; padding-top: .8rem; border-top: 2px solid var(--ink); font-size: var(--t-l); font-weight: 800; letter-spacing: -0.02em; }
.issue { padding: .85rem 1.1rem; border-radius: var(--r-m); background: var(--krokos-soft); color: #5C3F00; font-weight: 550; margin-bottom: .75rem; }
.step-title { font-size: var(--t-l); font-weight: 750; letter-spacing: -0.02em; margin: 2rem 0 1rem; }
.pay { display: grid; gap: .5rem; margin-bottom: 1rem; }
.pay label { display: flex; align-items: center; gap: .9rem; min-height: 60px; margin: 0; padding: 0 1.1rem; border-radius: var(--r-m); background: var(--asvestis); cursor: pointer; font-weight: 600; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s; }
.pay label:has(input:checked) { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.fineprint { margin-top: .9rem; text-align: center; color: var(--muted); font-size: var(--t-s); }

/* ════════ Παρακολούθηση ════════ */
.track { padding: 2.75rem 0 1rem; }
.track .order-no { font-weight: 650; color: var(--muted); }
.track .status { margin-top: .5rem; font-size: clamp(2.25rem, 9vw, 3.75rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.journey { list-style: none; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: .35rem; padding: 0; margin: 2.25rem 0 .75rem; }
.journey li { height: 8px; border-radius: 8px; background: var(--line); position: relative; }
.journey li.done { background: var(--vasilikos); }
.journey li.now { background: linear-gradient(90deg, var(--vasilikos) 0 40%, var(--line) 40%); }
.journey li.now::after { content: ''; position: absolute; left: 40%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--vasilikos); box-shadow: 0 0 0 4px var(--bg); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px var(--bg), 0 0 0 9px color-mix(in srgb, var(--vasilikos) 25%, transparent); } }
.journey-label { display: flex; justify-content: space-between; color: var(--muted); font-size: var(--t-s); margin-bottom: 2rem; }
.receipt { background: var(--surface); border-radius: var(--r-m); padding: .5rem 1.25rem 1.25rem; margin-bottom: 1.25rem; }
.store-line { display: grid; gap: .15rem; color: var(--muted); font-size: var(--t-s); margin-bottom: 1.5rem; }
.store-line strong { color: var(--ink); font-size: var(--t-m); }

/* ════════════════════════════════════════════════════════════════
   Μενού: hero καταστήματος, κάρτες, πλαϊνό καλάθι (desktop)
   ════════════════════════════════════════════════════════════════ */
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; max-width: 1320px; margin: 0 auto; }
.top-links { display: none; }
.top-links a { font-weight: 600; text-decoration: none; color: var(--muted); }
.top-links a:hover { color: var(--ink); }

body.menu main { max-width: 1320px; padding: 0 1.25rem calc(8rem + var(--safe-b)); }
.store-hero { position: relative; margin: 0 -1.25rem; }
.store-hero .cover { height: 168px; background: var(--melitzana) center/cover no-repeat; }
.store-hero .card {
  position: relative; margin: -48px 1.25rem 0; padding: 1.25rem 1.25rem 1.1rem; border-radius: var(--r-l);
  background: var(--surface); box-shadow: 0 18px 40px -24px rgba(43, 22, 48, .35);
}
.store-hero .mark { position: absolute; top: -34px; left: 1.25rem; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 1.6rem; letter-spacing: -0.04em; box-shadow: 0 0 0 5px var(--surface); }
.store-hero h1 { font-size: var(--t-2xl); letter-spacing: -0.04em; margin-top: 1.5rem; }
.store-hero .facts { margin-top: .75rem; }
.store-hero .stats { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 1rem; padding-top: 1rem; box-shadow: inset 0 1px 0 var(--line); }
.store-hero .stats div { display: grid; }
.store-hero .stats b { font-size: var(--t-m); font-weight: 750; font-variant-numeric: tabular-nums; }
.store-hero .stats span { color: var(--muted); font-size: var(--t-xs); font-weight: 600; }

.menu-layout { display: block; }
.cat-rail, .cart-panel { display: none; }
.items { display: block; }

@media (min-width: 1100px) {
  .top { height: 72px; }
  .top-links { display: flex; gap: 1.5rem; margin-left: 2rem; }
  /* Βιτρίνα καταστήματος: εξώφυλλο, λογότυπο που «πατάει» στο κάτω χείλος, στοιχεία σε μία γραμμή */
  .store-hero { margin: 1rem 0 0; }
  .store-hero .cover { height: 280px; border-radius: var(--r-l); }
  .store-hero .card {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .5rem 2.5rem;
    margin: 0; padding: 1.25rem 0 1.75rem calc(112px + 2.5rem); background: none; box-shadow: 0 1px 0 var(--line); border-radius: 0;
  }
  .store-hero .mark { width: 112px; height: 112px; top: -56px; left: 1.75rem; font-size: 2.4rem; box-shadow: 0 0 0 6px var(--bg), 0 12px 28px -14px rgba(43, 22, 48, .45); }
  .store-hero h1 { font-size: 2.6rem; margin: 0; line-height: 1.05; }
  .store-hero .facts { grid-column: 1; margin-top: .6rem; }
  .store-hero .stats { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; box-shadow: none; gap: 2.25rem; flex-wrap: nowrap; }
  .store-hero .stats div { max-width: 16ch; }
  .store-hero .stats b { white-space: nowrap; }
  .store-hero .note { grid-column: 1 / -1; }

  .menu-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr) 340px; gap: 2.5rem; align-items: start; margin-top: 2rem; }
  .cats { display: none; }
  .cat-rail { display: grid; gap: .1rem; position: sticky; top: 96px; }
  .cat-rail a { padding: .55rem .9rem; border-radius: var(--round); text-decoration: none; font-weight: 600; color: var(--muted); transition: color .15s, background .15s; }
  .cat-rail a:hover { color: var(--ink); }
  .cat-rail a.on { background: var(--ink); color: var(--surface); }
  .cat { padding-top: 0; margin-bottom: 2.5rem; scroll-margin-top: 96px; }
  .cat h2 { font-size: var(--t-xl); margin-bottom: 1rem; }

  /* Κάρτες πιάτων σε δύο στήλες, φωτογραφία δεξιά */
  .items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .menu-search { margin-bottom: 1.75rem; }
  .item { grid-template-columns: 1fr auto; align-items: stretch; padding: 1.1rem 1.1rem 1.1rem 1.25rem; border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, transform .15s var(--ease); min-height: 148px; }
  .item:last-child { box-shadow: inset 0 0 0 1px var(--line); }
  .item:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
  .item > span:first-child { display: flex; flex-direction: column; }
  .item .head { flex-wrap: wrap; }
  .item .lead { display: none; }
  .item .name { font-size: 1.2rem; width: 100%; }
  .item .head .price { order: 3; margin-top: auto; }
  .item .desc { -webkit-line-clamp: 2; margin-bottom: .75rem; }
  .item > span:first-child > .desc + * { margin-top: auto; }
  .item .card-price { margin-top: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
  .item .card-price small { font-weight: 500; color: var(--muted); }
  .item .head .price { display: none; }
  .plate { width: 116px; height: 116px; align-self: center; }
  .plate img, .plate .blank-plate { border-radius: var(--r-m); box-shadow: none; }
  .plate .add { right: 6px; bottom: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }

  /* Καλάθι πάντα ορατό δεξιά */
  .cart-panel { display: block; position: sticky; top: 96px; max-height: calc(100dvh - 120px); overflow: auto; padding: 1.5rem; border-radius: var(--r-l); background: var(--surface); box-shadow: 0 18px 40px -28px rgba(43, 22, 48, .35); }
  .cart-panel h2 { font-size: var(--t-l); letter-spacing: -0.02em; margin-bottom: .25rem; }
  .cart-panel .mode-line { color: var(--muted); font-size: var(--t-s); margin-bottom: .5rem; }
  .cart-panel .empty-cart { display: grid; place-items: center; text-align: center; gap: .75rem; padding: 2rem 0 1rem; color: var(--muted); }
  .cart-panel .empty-cart i { width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle, var(--asvestis) 50%, var(--surface) 51%); box-shadow: 0 0 0 1.5px var(--line); }
  .cart-panel .lines li { padding: .8rem 0; }
  .cart-panel .lines .name { font-size: 1.05rem; }
  .cartbar { display: none !important; }
  .made { padding-bottom: 3rem; }
}

/* ════════ Αναζήτηση στο μενού ════════ */
.menu-search { position: relative; display: block; margin: 1rem 0 .5rem; }
.menu-search svg { position: absolute; left: 1rem; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.menu-search input { padding-left: 2.9rem; border-radius: var(--round); min-height: 52px; }
.cat[hidden], .item[hidden] { display: none !important; }

/* ════════ Λογαριασμός ════════ */
.acct { display: inline-flex; align-items: center; gap: .5rem; flex: none; height: 40px; padding: 0 .35rem; border: 0; border-radius: var(--round);
  background: none; color: var(--ink); font-weight: 650; font-size: var(--t-s); cursor: pointer; }
.acct svg { width: 22px; height: 22px; }
.acct:hover { background: var(--surface); }
.acct-name { display: none; }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--melitzana); color: var(--krokos); font-weight: 800; font-size: .8rem; letter-spacing: -0.02em; }
.avatar.lg { width: 60px; height: 60px; font-size: 1.3rem; }
@media (min-width: 700px) { .acct { padding: 0 .9rem 0 .35rem; } .acct-name { display: inline; } .acct > svg { margin-left: .5rem; } }
.top-in .where { margin-left: auto; }

.seg { display: flex; gap: .25rem; padding: .25rem; margin: 0 0 1.25rem; border-radius: var(--round); background: var(--asvestis); }
.seg button { flex: 1; min-height: 42px; border: 0; border-radius: var(--round); background: none; font-weight: 650; color: var(--muted); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(43, 22, 48, .14); }
.auth .sheet-title { margin-bottom: .75rem; }
.auth form > label, .addr-new label, #prof label { margin-bottom: .9rem; }
.auth .btn.primary { margin-top: .5rem; }

.acc-head { display: flex; align-items: center; gap: 1rem; padding-right: 52px; margin-bottom: 1.25rem; }
.acc-head h2 { font-size: var(--t-xl); letter-spacing: -0.03em; }
.acc-head p { color: var(--muted); font-size: var(--t-s); }

.history { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.history li { padding: 1rem 1.1rem; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); }
.h-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.h-items { margin: .45rem 0 .2rem; font-family: var(--serif); }
.h-meta { color: var(--muted); font-size: var(--t-s); }
.h-meta b { color: var(--ink); font-variant-numeric: tabular-nums; }
.h-actions { display: flex; gap: .5rem; margin-top: .8rem; }

.addr-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.addr-list li { display: grid; grid-template-columns: 22px 1fr auto; gap: .9rem; align-items: start; padding: .9rem 0; box-shadow: inset 0 -1px 0 var(--line); }
.addr-list svg { width: 20px; height: 20px; margin-top: .15rem; color: var(--accent); }
.addr-list small { display: block; color: var(--muted); font-size: var(--t-s); }
.addr-list em { display: inline-block; margin-top: .3rem; font-style: normal; font-size: var(--t-xs); font-weight: 700; color: var(--vasilikos); }
.row-actions { display: flex; gap: 1rem; font-size: var(--t-s); }
.link.danger { color: var(--ntomata); }
.addr-new { padding-top: .25rem; }

/* Αποθηκευμένες διευθύνσεις στην αρχή */
.saved { margin-top: 2rem; display: grid; gap: .5rem; max-width: 560px; }
.saved-title { font-weight: 700; margin-bottom: .25rem; }
.saved button { display: flex; align-items: center; gap: .9rem; min-height: 60px; padding: .7rem 1.1rem; border: 0; border-radius: var(--r-m); background: var(--surface);
  text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .15s; font: inherit; color: inherit; }
.saved button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.saved svg { flex: none; width: 20px; height: 20px; color: var(--accent); }
.saved small { display: block; color: var(--muted); font-size: var(--t-s); }

.signed-as { margin-top: .5rem; color: var(--muted); font-size: var(--t-s); }
.signed-as strong { color: var(--ink); }
.keep { display: flex; gap: .75rem; align-items: flex-start; margin: .5rem 0 1rem; cursor: pointer; }
.keep input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: .1rem; accent-color: var(--ink); }
.keep span { margin: 0; font-weight: 500; }

/* ════════ Πού να το φέρουμε: πεδίο με προτάσεις + χάρτης ════════ */
.start .ask { font-size: clamp(2.25rem, 7vw, 3.75rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.start .ask + .hello { margin: 1rem 0 1.75rem; max-width: 46ch; font-weight: 500; }
.addr-box { position: relative; display: flex; align-items: center; max-width: 640px; height: 64px; padding: 0 .5rem 0 1.1rem;
  border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line), 0 14px 30px -22px rgba(43, 22, 48, .4); }
.addr-box:focus-within { box-shadow: inset 0 0 0 2px var(--ink), 0 14px 30px -22px rgba(43, 22, 48, .4); }
.addr-box > svg { flex: none; width: 22px; height: 22px; color: var(--accent); }
.addr-box input { flex: 1; min-width: 0; height: 100%; padding: 0 .8rem; border: 0; background: none; box-shadow: none !important; font-size: 1.125rem; font-weight: 550; }
.addr-box .locate { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: var(--r-s); background: var(--asvestis); color: var(--ink); cursor: pointer; }
.addr-box .locate:hover { background: var(--line); }
.addr-box .locate svg { width: 22px; height: 22px; }
.addr-box .locate.busy svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sugg { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: .35rem; list-style: none;
  border-radius: var(--r-m); background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 22px 44px -18px rgba(43, 22, 48, .35); }
.sugg li { display: grid; padding: .7rem .85rem; border-radius: var(--r-s); cursor: pointer; }
.sugg li:hover, .sugg li[aria-selected="true"] { background: var(--asvestis); }
.sugg small { color: var(--muted); font-size: var(--t-s); }

.pin-card { display: grid; max-width: 640px; margin-top: 1.25rem; border-radius: var(--r-l); overflow: hidden; background: var(--surface); box-shadow: 0 18px 40px -26px rgba(43, 22, 48, .4); }
.pin-card .map { height: 300px; background: var(--asvestis); }
.map-loading { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: var(--t-s); }
.pin-info { padding: 1.1rem 1.25rem 1.25rem; }
.pin-addr strong { display: block; font-size: var(--t-l); letter-spacing: -0.02em; }
.pin-addr span { color: var(--muted); }
.pin-hint { margin-top: .5rem; font-size: var(--t-s); }
.cover { margin: .9rem 0 1rem; padding: .7rem .9rem; border-radius: var(--r-s); background: var(--asvestis); font-size: var(--t-s); font-weight: 600; }
.cover.ok { background: var(--vasilikos-soft); color: var(--vasilikos); }
.cover.no { background: var(--ntomata-soft); color: var(--ntomata); }
.cover .link { color: var(--ink); }
.pin-icon { color: var(--accent); filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.pin-icon svg { width: 44px; height: 44px; fill: var(--surface); }
.leaflet-container { font: inherit; }
@media (min-width: 900px) { .pin-card { grid-template-columns: 1.4fr 1fr; } .pin-card .map { height: 340px; } .pin-info { display: flex; flex-direction: column; } .pin-info .btn { margin-top: auto; } }
