/*
 * Dop & Kreef concept — the navigation and buttons agreed in the mock (Waldo, 7 Oct 2026), shared by / and /multi/:
 * the header with AF/EN, the icon bar at the bottom below 1024px, the buttons, the round
 * WhatsApp button and the phone's type sizes. Loaded after each page's own styles and touch.css, so it settles them.
 */

/* The header wrapper steps aside so the nav itself sticks. */
.topbars { display: contents; }

/* The header sticks on its own; anchors land just under it. Coming after the pages' own rules, these settle them. */
nav:not(.dock) { position: sticky; top: 0; z-index: 60; }
html { scroll-padding-top: 76px; }
@media (min-width: 1024px) { html { scroll-padding-top: 88px; } }

/* Below 1024px (phone and tablet) the header is the name and AF/EN; the links live in the bar at the bottom and
   booking is the hero's WhatsApp button (a site's menu sits at the bottom on a touch screen; Waldo, 7 Oct 2026). */
@media (max-width: 1023px) {
  nav:not(.dock) { padding: 10px 16px; flex-wrap: nowrap; }
  nav .brand, nav .brand > span { min-width: 0; }
  nav .brand small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  nav ul li.hide-m, nav ul li.book-item { display: none; }
}

/* From 1024px the header's right side is two groups: the page links, then AF/EN with Book, set apart by a wider gap
   (Waldo, 13 Oct 2026). Each link word sits centred in its AF/EN-wide box, so the gaps look even and the swap moves nothing. */
@media (min-width: 1024px) { nav ul .lang-item { margin-left: 18px; } }

/* On a phone the line under the name is just the place, a step smaller: the full line needs 223px and has 157 at 360px
   (Waldo, 13 Oct 2026). "Seekos & kroeg" is in the hero right below. */
@media (max-width: 767px) {
  nav .brand small { font-size: 9.5px; }
  nav .brand .brand-what { display: none; }
}

/* AF/EN: a 36px switch with the chosen language as a cream tab; its buttons keep a 44px tap area. */
nav .lang-item { display: flex; align-items: center; gap: 8px; }
/* the light/dark switch, quiet, left of AF/EN on every width; it shows the look it switches to (Waldo, 18 Nov 2026) */
.look-switch { width: 36px; height: 36px; flex: none; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg-2); color: var(--cream); cursor: pointer; }
.look-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.look-icon-moon, [data-look="light"] .look-icon-sun { display: none; }
[data-look="light"] .look-icon-moon { display: block; }
@media (hover: hover) { .look-switch:hover { border-color: var(--cream-2); } }
.lang { height: 36px; padding: 3px; gap: 2px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); align-items: stretch; }
.lang button, .lang button:first-child, .lang button:last-child { border-radius: 7px; padding: 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--cream-2); }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--bg); }
.lang button::after { inset: -8px -2px; }

/* The bar at the bottom: icons over short names, the current one with an amber line under its name only. */
.dock-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dock .name { position: relative; white-space: nowrap; }
.dock .name::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px; background: var(--amber); opacity: 0; transition: opacity 180ms ease-out; }
@media (max-width: 1023px) {
  body { padding-bottom: calc(65px + env(safe-area-inset-bottom)); }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); height: calc(64px + env(safe-area-inset-bottom)); padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); gap: 0; background: var(--bar); border-top: 1px solid var(--line); }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 0; padding: 0; font-size: 12.5px; font-weight: 800; color: var(--cream-2); box-shadow: none; }
  .dock a[aria-current] { color: var(--cream); box-shadow: none; }
  .dock a[aria-current] .name::after { opacity: 1; }
}

/* Buttons: one loud green one, the rest quiet, one shape family. Large 48px with 13px corners; the header's small
   36px with 10px corners and a 44px tap area. Depth from one light above: a fine top highlight and layered shadows in
   the page's own hues. Labels are one or two words (Waldo, 7 Oct 2026). */
.cta { min-height: 48px; padding: 0 20px; gap: 8px; justify-content: center; border-radius: 13px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--cream) 6%, transparent); color: var(--cream); font-size: 16px; font-weight: 700; letter-spacing: -.005em; line-height: 1; box-shadow: inset 0 1px 0 color-mix(in srgb, var(--cream) 7%, transparent), 0 1px 2px hsl(30deg 30% 4% / .45), 0 4px 10px hsl(30deg 30% 4% / .25); }
.cta.wa { background: linear-gradient(180deg, #23974F, var(--wa)); border-color: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 1px hsl(145deg 60% 8% / .5), 0 2px 4px hsl(145deg 60% 8% / .35), 0 6px 12px hsl(145deg 55% 12% / .3), 0 12px 24px -6px hsl(145deg 60% 30% / .35); }
nav .cta.small { min-height: 36px; padding: 0 14px; border-radius: 10px; font-size: 14px; position: relative; }
nav .cta.small::after { content: ""; position: absolute; inset: -4px 0; }
.cta .arrow { width: 18px; height: 18px; color: var(--amber); transition: transform 200ms ease-out; }
/* With a mouse only, a button lifts 1px and its shadow deepens (green on the green ones); a touch screen never sees
   it, and nothing around the button moves ("Nothing hops" allows hover transforms under hover: hover; Waldo, 7 Oct 2026). */
@media (hover: hover) {
  .cta:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--cream) 40%, transparent); background: color-mix(in srgb, var(--cream) 10%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--cream) 9%, transparent), 0 2px 4px hsl(30deg 30% 4% / .45), 0 8px 18px hsl(30deg 30% 4% / .35); }
  .cta.wa:hover { border-color: rgba(255,255,255,.06); background: linear-gradient(180deg, #27A257, #1E8E4C); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 2px 4px hsl(145deg 60% 8% / .45), 0 10px 22px hsl(145deg 60% 30% / .45); }
  .cta:hover .arrow { transform: translateX(3px); }
  .wa-round:hover, .wa-float:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(37,211,102,.25); }
}
@media (prefers-reduced-motion: reduce) { .cta .arrow, .dock .name::after, .wa-float { transition: none; } }

/* The hero's two buttons: as wide as the wider label, side by side; they stack only where two don't fit. */
.actions { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; margin: 0 0 18px; }
.actions > .cta { margin: 0; min-width: 9rem; }
@media (max-width: 340px) { .actions { grid-auto-flow: row; } }

/* The round WhatsApp button (Meta's glyph, unaltered): above the bar's right end below 1024px, shown once the page has
   stood still for a second and no other WhatsApp button is in view (bar.js). It only fades; nothing moves. */
.wa-float { display: none; }
@media (max-width: 1023px) {
  .wa-float { position: fixed; right: 14px; bottom: calc(79px + env(safe-area-inset-bottom)); z-index: 69; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 1px 2px hsl(30deg 30% 4% / .5), 0 6px 16px hsl(30deg 30% 4% / .45); opacity: 0; pointer-events: none; transition: opacity 180ms ease-out, transform 180ms ease, box-shadow 180ms ease, filter 180ms ease; }
  .wa-float .wa-glyph { width: 26px; height: 26px; }
  .wa-float.is-shown { opacity: 1; pointer-events: auto; }
  /* the button sits in the footer's own bottom space, not in extra room under the page */
  body:has(.wa-float) footer { padding-bottom: 80px; }
}

/* Hero facts: one size, on one line each; the labels 12px. */
.facts .v { white-space: nowrap; }
.facts .k { font-size: 12px; }

/* Phone type: 16px body and lead (the common floor; Apple's body is 17pt), headings unchanged (Waldo, 7 Oct 2026). */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .hero .lead { font-size: 16px; }
}
