/* FLIP menu — light & clean, brand colour RAL 5021 (water blue) */

:root {
  --brand: #07737a;        /* RAL 5021 */
  --brand-dark: #055a60;
  --brand-tint: #e7f2f2;
  --bg: #f5f8f8;
  --card: #ffffff;
  --text: #12272a;
  --muted: #586b6e;
  --line: #dfe8e9;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(18, 39, 42, .06), 0 6px 18px rgba(18, 39, 42, .06);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- header ---------- */

.site-header {
  background: var(--brand);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: 52px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, .35);
  line-height: 1.3;
}

.brand-text small {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .92;
}

.site-header :focus-visible { outline-color: #fff; }

.lang {
  display: flex;
  flex: none;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.lang button {
  min-width: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: #fff;
  color: var(--brand-dark);
}

/* ---------- home: category tiles ---------- */

.home { padding-top: 20px; padding-bottom: 20px; }

.home h1 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.home-sub { color: var(--muted); margin-top: 2px; }

.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--brand);
  box-shadow: var(--shadow);
  color: #fff;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 90, 96, .96) 0%, rgba(7, 115, 122, .7) 32%, rgba(7, 115, 122, 0) 68%);
}

.tile-label {
  position: absolute;
  left: 12px; right: 12px; bottom: 10px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.tile-label strong { font-size: 1.05rem; font-weight: 800; }
.tile-label small { font-size: .78rem; opacity: .92; }

@media (hover: hover) {
  .tile:hover img { transform: scale(1.05); }
}

/* A category without a photo (drinks): a full-width bar under the tiles */
.tile--plain {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  aspect-ratio: auto;
  padding: 14px 16px;
}

.tile--plain::after { content: none; }
.tile--plain .tile-label { position: static; }
.tile-icon { flex: none; display: grid; place-items: center; opacity: .95; }

/* ---------- category sections ---------- */

.cat {
  padding-top: 26px;
}

.cat:last-child { padding-bottom: 8px; }

.cat-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.cat-head h2 {
  position: relative;
  padding-left: 14px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.cat-head h2::before {
  content: "";
  position: absolute;
  left: 0; top: .2em; bottom: .2em;
  width: 5px;
  border-radius: 3px;
  background: var(--brand);
}

.cat-count { color: var(--muted); font-size: .85rem; }

.cat-note {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: .92rem;
  font-weight: 600;
}

/* ---------- items ---------- */

.items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.item {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 12px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

/* Phones: an inset thumbnail that always shows the whole 3:2 photo,
   however tall the text beside it gets. */
.item-img {
  align-self: start;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 10px;
  background: var(--brand-tint);
}

.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  gap: 4px;
  min-width: 0;
  padding: 2px 4px 2px 0;
}

.item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.item h3 {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.price {
  flex: none;
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.desc {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.4;
}

/* "See toppings" button on crepes, waffles, poffertjes */
.item-more {
  align-self: flex-start;
  margin-top: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
}

.item-more::after { content: " ›"; }

@media (hover: hover) {
  .item-more:hover { background: var(--brand-dark); }
}

/* ---------- plain lists (drinks) ---------- */

.groups {
  columns: 300px 3;
  column-gap: 16px;
}

.group {
  break-inside: avoid;
  margin-bottom: 12px;
  padding: 14px 16px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.group h3 {
  color: var(--brand);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rows {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.rows li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.rows li:first-child { border-top: 0; }

.row-name { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }

.row-detail {
  flex: none;
  color: var(--muted);
  font-size: .86rem;
  white-space: nowrap;
}

/* ---------- toppings panel ---------- */

html.sheet-open { overflow: hidden; }

.sheet {
  position: fixed;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  max-height: 88dvh;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px 20px 0 0;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 -8px 40px rgba(6, 40, 44, .3);
}

.sheet[open] {
  display: flex;
  flex-direction: column;
  animation: sheet-in .22s ease-out;
}

.sheet::backdrop { background: rgba(6, 40, 44, .55); }

@keyframes sheet-in {
  from { transform: translateY(24px); opacity: 0; }
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px 14px 18px;
  background: var(--brand);
  color: #fff;
}

.sheet-head h2 { font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.sheet-sub { margin-top: 2px; font-size: .85rem; opacity: .92; }

.sheet-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  cursor: pointer;
}

.sheet-close:focus-visible { outline-color: #fff; }

.sheet-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 4px 18px 22px;
}

.top-group { padding-top: 16px; }

.top-group h3 {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--brand-tint);
  font-size: .9rem;
  line-height: 1.35;
}

/* Compact cards (cocktails): photo on top, two per row on phones */
.items--compact { grid-template-columns: repeat(2, 1fr); }

.items--compact .item { display: flex; flex-direction: column; gap: 0; padding: 0; }
.items--compact .item-img { align-self: stretch; border-radius: 0; }
.items--compact .item-body { align-self: stretch; }
.items--compact .item-body { padding: 10px 12px 12px; }
.items--compact .item-top { flex-direction: column; align-items: flex-start; gap: 2px; }
.items--compact .item h3 { font-size: .98rem; }

/* ---------- footer & back-to-top ---------- */

.site-footer {
  margin-top: 36px;
  padding: 22px 0 84px; /* room for the back-to-top button */
  background: var(--brand);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(5, 90, 96, .35);
}

.to-top[hidden] { display: none; }

.noscript { padding-top: 24px; padding-bottom: 24px; color: var(--muted); }

/* ---------- larger screens ---------- */

@media (min-width: 620px) {
  .items { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
  .item { display: flex; flex-direction: column; gap: 0; padding: 0; }
  .item-img { align-self: stretch; border-radius: 0; }
  .item-body { align-self: stretch; justify-content: flex-start; padding: 14px 16px 16px; }
  .items--compact { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .item-more { margin-top: 10px; }
  .group { margin-bottom: 16px; }

  /* Toppings panel: a centred window instead of a bottom sheet */
  .sheet {
    top: 0;
    height: fit-content;
    max-height: 84vh;
    margin: auto;
    border-radius: 20px;
  }
}

@media (min-width: 760px) {
  .home { padding-top: 28px; padding-bottom: 28px; }
  .home h1 { font-size: 2rem; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tile-label { left: 16px; right: 16px; bottom: 14px; }
  .tile-label strong { font-size: 1.3rem; }
  .tile-label small { font-size: .85rem; }
  .brand-logo { height: 62px; }
  .brand-text small { font-size: .8rem; }
  .cat { padding-top: 36px; }
  .cat-head h2 { font-size: 1.65rem; }
  .site-footer { padding-bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img { transition: none; }
  .sheet[open] { animation: none; }
}
