/* escaperoom-header-shell 1.0.0 · eigen vanilla nabouw van 21st.dev @hurerag24/shifting-dropdown.
   Maten uit de bron: pills rounded-full px-3 py-1.5 text-sm met chevron 16 px (0,2 s), één gedeeld paneel w-96
   (hier tot 440 px), 24 px onder de rij met een brug van 24 px, nok 16 bij 16 px die in 0,25 s easeInOut
   meeschuift, inhoud die 100 px opzij binnenkomt (0,25 s easeInOut). Het mobiele paneel is een toevoeging. */
.msm-escaperoom-header-shell {
  --sn-ease: cubic-bezier(.42, 0, .58, 1);
  --sn-tw: cubic-bezier(.4, 0, .2, 1);
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: var(--m-bg, #14110e);
  border-bottom: 1px solid var(--m-line, #352d25);
  color: var(--m-ink, #ece4d4);
  font-family: var(--m-font-body, 'Spline Sans', ui-sans-serif, system-ui, sans-serif);
  font-size: 14px;
  line-height: 20px;
}
.msm-escaperoom-header-shell *,
.msm-escaperoom-header-shell *::before,
.msm-escaperoom-header-shell *::after { box-sizing: border-box; }
.msm-escaperoom-header-shell [hidden] { display: none !important; }
.msm-escaperoom-header-shell svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.msm-escaperoom-header-shell a { color: inherit; text-decoration: none; }
.msm-escaperoom-header-shell p { margin: 0; }
.msm-escaperoom-header-shell button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
.msm-escaperoom-header-shell a:focus-visible,
.msm-escaperoom-header-shell button:focus-visible { outline: 2px solid var(--m-primary, #c9973f); outline-offset: 2px; border-radius: 6px; }

.msm-escaperoom-header-shell .sn-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1400px;
  min-height: 64px;
  margin: 0 auto;
  padding: 10px 20px;
}
.msm-escaperoom-header-shell .sn-brand {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .25em;
  min-height: 44px;
  font-family: var(--m-font-display, 'Besley', Georgia, serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.msm-escaperoom-header-shell .sn-num { color: var(--m-primary, #c9973f); font-variant-numeric: tabular-nums; }
.msm-escaperoom-header-shell .sn-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }

/* De rij pills met het gedeelde paneel (relatief aan de rij, zoals de bron). */
.msm-escaperoom-header-shell .sn-tabs { position: relative; display: flex; gap: 8px; }
.msm-escaperoom-header-shell .sn-tab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  min-height: 32px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  color: var(--m-muted, #9c9080);
  transition: background-color .2s var(--sn-tw), color .2s var(--sn-tw), box-shadow .2s var(--sn-tw);
}
.msm-escaperoom-header-shell .sn-tab:hover { background: color-mix(in srgb, var(--m-surface, #1f1a16) 60%, transparent); color: var(--m-ink, #ece4d4); }
.msm-escaperoom-header-shell .sn-tab[aria-expanded="true"] { background: var(--m-surface, #1f1a16); color: var(--m-ink, #ece4d4); box-shadow: 0 1px 2px rgb(0 0 0 / .35); }
.msm-escaperoom-header-shell .sn-tab.is-current:not([aria-expanded="true"]) { color: var(--m-ink, #ece4d4); box-shadow: inset 0 -1px 0 var(--m-primary, #c9973f); border-radius: 999px 999px 4px 4px; }
.msm-escaperoom-header-shell .sn-chevron { width: 16px; height: 16px; color: var(--m-muted, #9c9080); transition: transform .2s var(--sn-tw), color .2s var(--sn-tw); }
.msm-escaperoom-header-shell .sn-tab[aria-expanded="true"] .sn-chevron { transform: rotate(180deg); color: var(--m-ink, #ece4d4); }

.msm-escaperoom-header-shell .sn-content {
  position: absolute;
  left: 0;
  top: calc(100% + 24px);
  width: 384px;
  max-width: calc(100vw - 32px);
  padding: 16px;
  border: 1px solid var(--m-line, #352d25);
  border-radius: 12px;
  background: var(--m-surface, #1f1a16);
  color: var(--m-ink, #ece4d4);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / .45), 0 8px 10px -6px rgb(0 0 0 / .4);
  display: none;
}
.msm-escaperoom-header-shell .sn-content.is-wide { width: 440px; }
/* Zonder JavaScript: het paneel opent bij aanwijzen of focus, met alle drie de inhouden onder elkaar. */
.msm-escaperoom-header-shell:not(.is-ready) .sn-tabs:is(:hover, :focus-within) .sn-content { display: block; width: 440px; }
.msm-escaperoom-header-shell:not(.is-ready) .sn-view + .sn-view { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--m-line, #352d25); }
.msm-escaperoom-header-shell:not(.is-ready) .sn-nub { display: none; }
.msm-escaperoom-header-shell.is-ready .sn-content.is-open { display: block; }
.msm-escaperoom-header-shell.is-ready .sn-view { display: none; overflow: hidden; }
.msm-escaperoom-header-shell.is-ready .sn-view.is-active { display: block; }
.msm-escaperoom-header-shell .sn-bridge { position: absolute; top: -24px; left: 0; right: 0; height: 24px; }
.msm-escaperoom-header-shell .sn-nub {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--m-line, #352d25);
  background: var(--m-surface, #1f1a16);
  box-shadow: 0 1px 2px rgb(0 0 0 / .3);
  clip-path: polygon(0 0, 100% 0, 50% 50%, 0% 100%);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: left .25s var(--sn-ease);
}

/* Paneel 1: drie kamerkolommen. */
.msm-escaperoom-header-shell .sn-cols { display: flex; gap: 24px; }
.msm-escaperoom-header-shell .sn-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; border-radius: 6px; }
.msm-escaperoom-header-shell .sn-col-title { margin-bottom: 4px; font-weight: 500; font-size: 14px; color: var(--m-ink, #ece4d4); }
.msm-escaperoom-header-shell .sn-col-line { font-size: 13px; color: var(--m-muted, #9c9080); font-variant-numeric: tabular-nums; }
.msm-escaperoom-header-shell .sn-col:hover .sn-col-title { text-decoration: underline; text-underline-offset: 3px; }
.msm-escaperoom-header-shell .sn-more {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 4px;
  margin: 16px 0 0 auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--m-primary, #c9973f);
}
.msm-escaperoom-header-shell .sn-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Paneel 2: drie tegels met scheidingslijnen. */
.msm-escaperoom-header-shell .sn-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.msm-escaperoom-header-shell .sn-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 0;
  font-size: 12px;
  color: var(--m-muted, #9c9080);
  transition: color .15s var(--sn-tw);
}
.msm-escaperoom-header-shell .sn-tile + .sn-tile { border-left: 1px solid var(--m-line, #352d25); }
.msm-escaperoom-header-shell .sn-tile svg { width: 20px; height: 20px; margin-bottom: 8px; color: var(--m-primary, #c9973f); stroke-width: 1.75; }
.msm-escaperoom-header-shell .sn-tile:hover { color: var(--m-ink, #ece4d4); }

/* Paneel 3: twee artikelkaarten. */
.msm-escaperoom-header-shell .sn-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.msm-escaperoom-header-shell .sn-card { display: block; border-radius: 6px; }
.msm-escaperoom-header-shell .sn-card img { display: block; width: 100%; height: 56px; margin-bottom: 8px; border-radius: 6px; object-fit: cover; }
.msm-escaperoom-header-shell .sn-card-title { display: block; margin-bottom: 2px; font-size: 14px; font-weight: 500; line-height: 18px; color: var(--m-ink, #ece4d4); }
.msm-escaperoom-header-shell .sn-card:hover .sn-card-title { text-decoration: underline; text-underline-offset: 3px; }
.msm-escaperoom-header-shell .sn-card-text { display: block; font-size: 12px; line-height: 16px; color: var(--m-muted, #9c9080); }

/* Rechts: de tekstlink en de knop. */
.msm-escaperoom-header-shell .sn-actions { flex: none; display: flex; align-items: center; gap: 20px; }
.msm-escaperoom-header-shell .sn-link { font-size: 14px; color: var(--m-muted, #9c9080); padding: 6px 0; transition: color .2s var(--sn-tw); }
.msm-escaperoom-header-shell .sn-link:hover,
.msm-escaperoom-header-shell .sn-link.is-current { color: var(--m-ink, #ece4d4); }
.msm-escaperoom-header-shell .sn-link.is-current { box-shadow: inset 0 -1px 0 var(--m-primary, #c9973f); }
.msm-escaperoom-header-shell .sn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--m-primary, #c9973f);
  color: var(--m-bg, #14110e);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color .2s var(--sn-tw);
}
.msm-escaperoom-header-shell .sn-cta:hover { background: color-mix(in srgb, var(--m-primary, #c9973f) 86%, var(--m-ink, #ece4d4)); }
.msm-escaperoom-header-shell .sn-cta:focus-visible { outline-color: var(--m-ink, #ece4d4); }

/* Onder 768 px: menuknop en paneel van rechts (toevoeging, de bron heeft geen mobiel menu). */
.msm-escaperoom-header-shell .sn-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--m-line, #352d25);
  border-radius: 6px;
}
.msm-escaperoom-header-shell .sn-burger svg,
.msm-escaperoom-header-shell .sn-close svg { width: 20px; height: 20px; }
.msm-escaperoom-header-shell .sn-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgb(0 0 0 / .6);
  opacity: 0;
  transition: opacity .3s var(--sn-ease);
}
.msm-escaperoom-header-shell .sn-overlay.is-open { opacity: 1; }
.msm-escaperoom-header-shell .sn-sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 51;
  display: flex;
  flex-direction: column;
  width: min(88vw, 384px);
  padding: 12px 20px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--m-surface, #1f1a16);
  border-left: 1px solid var(--m-line, #352d25);
  transform: translateX(100%);
  transition: transform .3s var(--sn-ease);
}
.msm-escaperoom-header-shell .sn-sheet.is-open { transform: none; }
.msm-escaperoom-header-shell .sn-sheet-head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-bottom: 8px; }
.msm-escaperoom-header-shell .sn-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 6px; }
.msm-escaperoom-header-shell .sn-sheet-body { flex: 1; }
.msm-escaperoom-header-shell .sn-acc { border-bottom: 1px solid var(--m-line, #352d25); }
.msm-escaperoom-header-shell .sn-acc-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  font-size: 16px;
  font-weight: 500;
}
.msm-escaperoom-header-shell .sn-acc-trigger[aria-expanded="true"] .sn-chevron { transform: rotate(180deg); color: var(--m-ink, #ece4d4); }
.msm-escaperoom-header-shell .sn-acc-panel { display: grid; gap: 2px; padding: 0 0 12px; overflow: hidden; transition: height .2s var(--sn-tw); }
.msm-escaperoom-header-shell .sn-acc-panel a { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 6px 12px; border-radius: 6px; }
.msm-escaperoom-header-shell .sn-acc-panel a:hover { background: var(--m-bg, #14110e); }
.msm-escaperoom-header-shell .sn-acc-panel strong { font-weight: 500; font-size: 15px; }
.msm-escaperoom-header-shell .sn-acc-panel small { font-size: 13px; color: var(--m-muted, #9c9080); }
.msm-escaperoom-header-shell .sn-sheet-link { display: flex; align-items: center; min-height: 52px; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--m-line, #352d25); }
.msm-escaperoom-header-shell .sn-sheet-cta { width: 100%; min-height: 48px; margin-top: 24px; font-size: 15px; }

@media (max-width: 767.98px) {
  .msm-escaperoom-header-shell .sn-bar { gap: 12px; padding: 8px 16px; min-height: 60px; }
  .msm-escaperoom-header-shell .sn-nav,
  .msm-escaperoom-header-shell .sn-actions { display: none; }
  .msm-escaperoom-header-shell .sn-burger { display: inline-flex; }
}
@media (min-width: 768px) and (max-width: 899.98px) {
  .msm-escaperoom-header-shell .sn-bar { gap: 14px; padding-inline: 16px; }
  .msm-escaperoom-header-shell .sn-tabs { gap: 2px; }
  .msm-escaperoom-header-shell .sn-actions { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .msm-escaperoom-header-shell .sn-nub { transition: none; }
  .msm-escaperoom-header-shell .sn-chevron { transition: none; }
  .msm-escaperoom-header-shell .sn-sheet { transform: none; opacity: 0; transition: opacity .15s linear; }
  .msm-escaperoom-header-shell .sn-sheet.is-open { opacity: 1; }
  .msm-escaperoom-header-shell .sn-overlay { transition: opacity .15s linear; }
  .msm-escaperoom-header-shell .sn-acc-panel { transition: none; }
}
