/* Bonobo — εκδοχή Α «Χαρτί» (στο ύφος της Αρμυρήθρας): ζεστό χαρτί, κλασικά γράμματα, διπλό πλαίσιο.
   Οι φωτογραφίες του μαγαζιού μπαίνουν σε πασπαρτού, σαν τυπωμένες πάνω στον κατάλογο. */
:root {
  --paper: #E7DDCF;
  --paper-hi: #F1EBE0;
  --ink: #2A251F;
  --ink-2: #5F564B;
  --ink-3: #8A7F71;
  --line: #B9A88D;
  --gold: #A0814F;
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --ui: "Ysabeau Office", "Segoe UI", system-ui, sans-serif;
  --col: 560px;
  --bar-h: 100px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background-color: var(--paper);
  /* λεπτός κόκκος χαρτιού */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .29 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font: 400 18px/1.45 var(--serif);
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
img, video, svg, canvas { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.ic { width: 1em; height: 1em; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 4px; font: 500 14px var(--ui); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* το σήμα του μαγαζιού (ο πίθηκος με τα ακουστικά) στο χρώμα του μελανιού */
.emb { display: block; background: currentColor; -webkit-mask: url("../shared/emblem-big.png") center / contain no-repeat; mask: url("../shared/emblem-big.png") center / contain no-repeat; }

/* ---------- εξώφυλλο ---------- */
.cover { min-height: 100vh; min-height: 100svh; padding: max(14px, env(safe-area-inset-top)) 14px 14px; display: grid; grid-template-columns: minmax(0, 1fr); }
.cover__frame {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 16px 104px; min-width: 0;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--line);
  max-width: var(--col); width: 100%; margin: 0 auto;
}
.cover__frame::before, .cover__frame::after {
  content: ""; position: absolute; width: 22px; height: 22px; border: 1px solid var(--line);
  transform: rotate(45deg); background: var(--paper); left: 50%; margin-left: -11px;
}
.cover__frame::before { top: -11px; }
.cover__frame::after { bottom: -11px; }
.cover__emb { width: 92px; height: 104px; color: var(--ink); margin-bottom: 22px; }
.cover__name {
  margin: 0; font-weight: 500; font-size: clamp(34px, 11vw, 64px); line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; padding-left: .16em;
}
.cover__sub {
  display: flex; align-items: center; gap: 10px; margin: 16px 0 0; white-space: nowrap;
  font: 500 12.5px/1.3 var(--ui); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2);
}
.cover__sub::before, .cover__sub::after { content: ""; width: 26px; height: 1px; background: var(--line); }
.cover__loc { margin: 14px 0 0; font-style: italic; font-size: 19px; color: var(--ink-2); }
.cover__hours { margin: 4px 0 0; font: 500 13px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.cover__hours b { font-weight: 600; color: var(--ink); letter-spacing: .06em; font-variant-numeric: lining-nums; }
.cover__table { margin: 26px 0 0; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font: 500 13px var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.cover__hint {
  position: absolute; left: 0; right: 0; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; font-style: italic; font-size: 16.5px; color: var(--ink-2); padding: 0 24px; text-wrap: balance;
}
.cover__hint .ic { width: 22px; height: 22px; color: var(--gold); }
@media (prefers-reduced-motion: no-preference) { .cover__hint .ic { animation: nudge 2.2s ease-in-out infinite; } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- σταθερή μπάρα ---------- */
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(231, 221, 207, .9);
  -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid rgba(185, 168, 141, .55);
}
.bar__row { max-width: var(--col); margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 9px 16px 4px; }
.bar__brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; }
.bar__brand .emb { width: 22px; height: 25px; }
.bar__table { font: 500 12px var(--ui); letter-spacing: .08em; color: var(--ink-2); padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; }
.lang { margin-left: auto; display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: none; padding: 6px 11px; min-height: 32px; font: 600 12px var(--ui); letter-spacing: .08em; color: var(--ink-2); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.bar__tabs {
  max-width: var(--col); margin: 0 auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding: 2px 12px 8px; scroll-snap-type: x proximity;
}
.bar__tabs::-webkit-scrollbar { display: none; }
.bar__tabs a {
  flex: none; scroll-snap-align: start; text-decoration: none; padding: 8px 12px; min-height: 40px; display: flex; align-items: center;
  font: 500 13px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1.5px solid transparent;
}
.bar__tabs a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------- κατηγορίες ---------- */
main { max-width: var(--col); margin: 0 auto; }
.cat { padding: 44px 0 8px; }
.cat__h { text-align: center; margin: 0 0 26px; padding: 0 20px; }
.cat__n { display: none; }
.cat__k { display: block; font-style: italic; font-weight: 400; font-size: 17px; color: var(--ink-3); }
.cat__t { display: block; margin-top: 2px; font-weight: 500; font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); padding-left: .3em; }
.cat__h::after { content: ""; display: block; width: 7px; height: 7px; margin: 12px auto 0; background: var(--gold); transform: rotate(45deg); }

/* διακοσμητικό ── ◆ ── όπως στον έντυπο κατάλογο */
.orn { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 10px auto; }
.orn::before, .orn::after { content: ""; width: 64px; height: 1px; background: var(--line); }
.orn > i { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* ---------- είδος με φωτογραφία ---------- */
.dish { text-align: center; padding: 0 0 46px; }
/* πασπαρτού: λεπτή γραμμή, ανοιχτό περιθώριο, ξανά γραμμή */
.dish__frame { margin: 0 22px; padding: 8px; background: var(--paper-hi); border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(42, 37, 31, .06), 0 14px 26px -18px rgba(42, 37, 31, .45); }
.dish__stage {
  position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 auto; overflow: hidden;
  background: #2A251F center / cover no-repeat; outline: 1px solid rgba(185, 168, 141, .7); outline-offset: 3px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.dish__v, .dish__a, .dish__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dish__v { background: transparent; }
.dish__still { opacity: 0; }
/* το animation καρέ-καρέ σε canvas, όπου δεν παίζει το video (Messenger κ.λπ., βλ. menu.js) */
.dish__a { opacity: 0; }
.anim-img .dish__v { display: none; }
.dish.is-anim .dish__a, .dish.is-end .dish__still { opacity: 1; }
.dish.is-still .dish__v { display: none; }
.dish.is-still .dish__still { opacity: 1; }
.dish.is-still.is-pop .dish__still { animation: pop 1.1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pop {
  0% { opacity: 0; transform: scale(1.08); filter: blur(8px); }
  60% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1); }
}
.dish__replay {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(160, 129, 79, .45);
  background: rgba(241, 235, 224, .88); color: var(--ink-2); cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.dish__replay svg { width: 17px; height: 17px; }
.dish.is-done .dish__replay { opacity: 1; visibility: visible; }
.dish.is-still:not(.can-play) .dish__replay { display: none; }
.dish.is-wait .dish__still { opacity: 0; }
.dish__body { padding: 0 24px; margin-top: 22px; }
.dish__n { margin: 0; font-weight: 500; font-size: 27px; line-height: 1.15; letter-spacing: .005em; text-wrap: balance; }
.dish__d { margin: 4px auto 0; max-width: 31ch; text-wrap: balance; font-style: italic; font-size: 18px; line-height: 1.4; color: var(--ink-2); }
.dish__p { margin: 10px 0 0; font-size: 21px; font-weight: 500; font-variant-numeric: lining-nums; letter-spacing: .02em; }
.dish__o { margin: 2px 0 0; font: 500 13px var(--ui); letter-spacing: .04em; color: var(--ink-3); }

/* ---------- τα υπόλοιπα της κατηγορίας: λίστα με τελείες ---------- */
.list { padding: 0 24px; }
.list--after { margin-top: -10px; padding-top: 18px; }
.list--after::before { content: ""; display: block; width: 64px; height: 1px; margin: 0 auto 10px; background: var(--line); }
.list ul { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; }
.list li + li { border-top: 1px dotted rgba(185, 168, 141, .7); }
.list .nm { min-width: 0; font-weight: 500; font-size: 20px; line-height: 1.25; }
.list .nm small { display: block; margin-top: 2px; font-weight: 400; font-style: italic; font-size: 16px; line-height: 1.35; color: var(--ink-2); }
.list .nm small.opt { font: 500 12.5px var(--ui); font-style: normal; letter-spacing: .04em; color: var(--ink-3); }
.list .dots { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--ink-3); transform: translateY(-5px); opacity: .6; }
.list .pr { font-size: 19px; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

/* ---------- νομικά ---------- */
.legal { margin: 40px 16px 0; padding: 30px 20px 26px; border: 1px solid var(--line); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px rgba(185, 168, 141, .6); text-align: center; }
.legal .orn { margin-top: 0; }
.legal h2 { margin: 6px 0 14px; font-weight: 500; font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.legal h3 { margin: 26px 0 8px; font-weight: 500; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); }
.legal__notes { list-style: none; margin: 0; padding: 0; font-size: 16.5px; line-height: 1.45; color: var(--ink-2); }
.legal__notes li + li { margin-top: 8px; }
.legal__p { margin: 0 0 12px; font-size: 16px; font-style: italic; color: var(--ink-2); }
.legal__receipt { margin: 24px 0 0; padding: 14px 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 600 11.5px/1.5 var(--ui); letter-spacing: .04em; }
.legal__receipt p { margin: 0; }
.legal__receipt p + p { margin-top: 6px; color: var(--ink-2); font-weight: 500; }
.legal__meta { margin: 14px 0 0; font: 500 12.5px/1.6 var(--ui); color: var(--ink-3); }

/* ---------- υποσέλιδο ---------- */
.ftr { text-align: center; padding: 46px 20px calc(40px + env(safe-area-inset-bottom)); font-size: 16px; color: var(--ink-2); }
.ftr p { margin: 4px 0; }
.ftr a { text-decoration: none; border-bottom: 1px solid var(--line); }
.ftr__emb { width: 34px; height: 38px; margin: 0 auto 8px; color: var(--ink); }
.ftr__name { font-weight: 500; font-size: 17px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.ftr__demo { margin-top: 16px !important; font: 500 12px/1.6 var(--ui); letter-spacing: .06em; color: var(--ink-3); }

@media (min-width: 700px) {
  .cover { padding: 28px; }
  .dish { padding-bottom: 64px; }
  .dish__n { font-size: 30px; }
}

/* ?diag=1: τι βλέπει το κινητό (menu.js) */
.diag { position: fixed; z-index: 99; left: 8px; right: 8px; bottom: 8px; max-height: 45vh; overflow: auto; margin: 0; padding: 8px 10px; font: 11px/1.4 ui-monospace, Menlo, monospace; white-space: pre-wrap; word-break: break-all; background: #fff; color: #000; border: 1px solid #000; }
