/* Bonobo — εκδοχή Β «Σφραγίδα» (στο ύφος του Ανθόγαλα): λευκό βαμβακερό χαρτί, μεγάλο στενό όνομα,
   ένα μόνο χρώμα, το μαύρο του λογοτύπου τους. Η σφραγίδα του εξωφύλλου κλείνει μέσα τον πίθηκο,
   οι τιμές πατιούνται σαν σφραγίδα δίπλα στις φωτογραφίες τους. */
:root {
  --paper: #F0EDE8;
  --ink: #16171B;
  --ink-2: #4A4B52;
  --ink-3: #7C7D84;
  --line: #CFCDC6;
  --mark: #16171B;
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --ui: "Sofia Sans", "Segoe UI", system-ui, sans-serif;
  --text: "Piazzolla", "Iowan Old Style", Georgia, 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .3 0 0 0 0 .32 0 0 0 .05 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(--text);
  font-kerning: normal;
}
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: 600 14px var(--ui); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--mark); 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 {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: center;
  padding: calc(40px + env(safe-area-inset-top, 0px)) 16px 120px;
}
.cover__in { max-width: var(--col); width: 100%; margin: 0 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stamp { position: relative; width: 140px; height: 140px; color: var(--mark); transform: rotate(-9deg); margin-bottom: 20px; }
.stamp svg { width: 100%; height: 100%; }
.stamp__t { font: 700 16px var(--display); fill: currentColor; }
.stamp .emb { position: absolute; left: 50%; top: 50%; width: 60px; height: 68px; margin: -35px 0 0 -30px; transform: rotate(9deg); }
.cover__name {
  margin: 0; color: var(--mark); font: 800 clamp(72px, 26vw, 150px)/.86 var(--display);
  text-transform: uppercase; letter-spacing: .01em;
}
.cover__sub { margin: 14px 0 0; font-style: italic; font-size: 21px; color: var(--ink-2); }
.hours {
  list-style: none; margin: 26px 0 0; padding: 12px 0; width: 100%; max-width: 340px;
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  font: 500 14px/1.3 var(--ui); font-variant-numeric: tabular-nums;
}
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 2px; }
.hours b { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; }
.hours span { color: var(--ink-2); }
.cover__blend { margin: 16px 0 0; font-style: italic; font-size: 19px; color: var(--ink-2); }
.cover__table { margin: 22px 0 0; padding: 7px 16px; border: 1.5px solid var(--mark); color: var(--mark); border-radius: 999px; font: 700 13px var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.cover__hint {
  position: absolute; left: 0; right: 0; bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 24px;
  text-decoration: none; font-style: italic; font-size: 16px; color: var(--ink-2); text-align: center; text-wrap: balance;
}
.cover__hint .ic { width: 22px; height: 22px; color: var(--mark); }
@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(240, 237, 232, .9);
  -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid rgba(22, 23, 27, .14);
}
.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: 7px; text-decoration: none; color: var(--mark); font: 800 24px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.bar__brand .emb { width: 24px; height: 27px; margin-top: -3px; }
.bar__table { font: 600 12px var(--ui); letter-spacing: .08em; color: var(--mark); padding: 3px 9px; border: 1px solid var(--mark); border-radius: 999px; }
.lang { margin-left: auto; display: flex; border: 1px solid var(--ink-3); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: none; padding: 6px 11px; min-height: 32px; font: 700 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: 2px; overflow-x: auto; scrollbar-width: none;
  padding: 2px 10px 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 11px; min-height: 40px; display: flex; align-items: center;
  font: 700 13px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 2px solid transparent;
}
.bar__tabs a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--mark); }

/* ---------- κατηγορίες ---------- */
main { max-width: var(--col); margin: 0 auto; }
.cat { padding: 48px 0 6px; }
.cat__h { margin: 0 0 22px; padding: 0 20px; text-align: center; }
.cat__n { display: none; }
.cat__k { display: block; font: 700 12px var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.cat__t { display: block; margin-top: 4px; font: 800 52px/.9 var(--display); text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
.cat__h::after { content: ""; display: block; width: 28px; height: 2px; margin: 12px auto 0; background: var(--mark); }

/* ---------- είδος με φωτογραφία ---------- */
.dish { text-align: center; padding: 0 0 46px; }
.dish__frame { margin: 0 16px; }
.dish__stage {
  position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 auto; overflow: hidden; border-radius: 3px;
  background: #16171B center / cover no-repeat;
  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 .9s 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: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(22, 23, 27, .3);
  background: rgba(246, 245, 241, .9); color: var(--mark); cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.dish__replay svg { width: 18px; height: 18px; }
.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 { position: relative; padding: 0 24px; }
.dish__p {
  position: relative; z-index: 2; display: inline-block; margin: -18px 0 0; padding: 6px 13px 5px; transform: rotate(-3deg);
  background: var(--paper); border: 1.5px solid var(--mark); border-radius: 3px; color: var(--mark);
  font: 700 20px/1.1 var(--ui); font-variant-numeric: lining-nums tabular-nums; letter-spacing: .02em;
}
.dish__body { display: flex; flex-direction: column; align-items: center; }
.dish__p { order: -1; }
.dish__n { margin: 12px 0 0; font: 800 34px/.95 var(--display); text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
.dish__d { margin: 8px auto 0; max-width: 31ch; text-wrap: balance; font-style: italic; font-size: 17.5px; line-height: 1.4; color: var(--ink-2); }
.dish__o { margin: 6px 0 0; font: 600 12.5px var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- τα υπόλοιπα της κατηγορίας ---------- */
.list { padding: 0 22px; }
.list--after { margin-top: -14px; }
.list ul { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.list li { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; }
.list li + li { border-top: 1px solid rgba(22, 23, 27, .09); }
.list .nm { min-width: 0; font-size: 19px; line-height: 1.3; }
.list .nm small { display: block; font-style: italic; font-size: 15px; color: var(--ink-3); }
.list .nm small.opt { font: 600 11.5px var(--ui); font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.list .dots { flex: 1; min-width: 16px; border-bottom: 1.5px dotted var(--ink-3); transform: translateY(-5px); opacity: .55; }
.list .pr { font: 600 16px var(--ui); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

/* ---------- νομικά ---------- */
.legal { margin: 40px 16px 0; padding: 28px 20px 24px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); text-align: center; }
.legal h2 { margin: 0 0 14px; font: 800 30px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.legal h3 { margin: 26px 0 8px; font: 700 12px var(--ui); letter-spacing: .18em; 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: 700 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: 44px 20px calc(40px + env(safe-area-inset-bottom, 0px)); 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: 36px; height: 41px; margin: 0 auto 6px; color: var(--mark); }
.ftr__name { font: 800 30px/1 var(--display); text-transform: uppercase; color: var(--mark); letter-spacing: .02em; }
.ftr__demo { margin-top: 16px !important; font: 500 12px/1.6 var(--ui); letter-spacing: .06em; color: var(--ink-3); }

@media (min-width: 700px) {
  .dish { padding-bottom: 60px; }
  .dish__n { font-size: 38px; }
  .stamp { width: 156px; height: 156px; }
}

/* ?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; }
