/* pilatesstudio-header-shell 1.0.0 · vanilla port van 21st.dev @jatin-yadav05/notch-nav (Tailwind-klassen vertaald
   naar gescopete CSS) in een eigen balk zonder vlak. Kleuren alleen via --m-*-tokens. */
.msm-pilatesstudio-header-shell {
  --pn-h: 72px;
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--pn-h);
  margin-bottom: calc(var(--pn-h) * -1);
  color: var(--m-ink, #28312e);
  font-family: var(--m-font-body, 'Albert Sans', ui-sans-serif, system-ui, sans-serif);
  background: transparent;
  box-shadow: inset 0 -1px 0 transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.msm-pilatesstudio-header-shell *,
.msm-pilatesstudio-header-shell *::before,
.msm-pilatesstudio-header-shell *::after { box-sizing: border-box; }
/* Na 8 px scrollen: --m-bg op 92 procent met een lijn van 1 px in --m-line. */
.msm-pilatesstudio-header-shell.is-scrolled,
.msm-pilatesstudio-header-shell.is-open {
  background: color-mix(in srgb, var(--m-bg, #ece9e1) 92%, transparent);
  box-shadow: inset 0 -1px 0 var(--m-line, #d9d6cf);
}
.msm-pilatesstudio-header-shell .pn-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 100%;
  max-width: 1464px;
  margin: 0 auto;
  padding: 0 16px;
}
.msm-pilatesstudio-header-shell .pn-brand {
  justify-self: start;
  font-family: var(--m-font-display, 'Marcellus', ui-serif, Georgia, serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--m-ink, #28312e);
  text-decoration: none;
  border-radius: 4px;
}
.msm-pilatesstudio-header-shell .pn-brand:focus-visible { outline: 2px solid var(--m-primary, #9e594b); outline-offset: 4px; }

/* De notch-nav: w-fit mx-auto; relative rounded-lg border bg-secondary; ul flex gap-1 p-1. */
.msm-pilatesstudio-header-shell .pn-nav { justify-self: center; width: fit-content; }
.msm-pilatesstudio-header-shell .pn-notch {
  position: relative;
  border: 1px solid var(--m-line, #d9d6cf);
  border-radius: 8px;
  background: var(--m-surface, #fbfaf6);
  color: var(--m-ink, #28312e);
}
.msm-pilatesstudio-header-shell .pn-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 4px;
  list-style: none;
}
.msm-pilatesstudio-header-shell .pn-link {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  color: color-mix(in srgb, var(--m-ink, #28312e) 70%, transparent);
  outline: none;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.msm-pilatesstudio-header-shell .pn-link:hover { color: var(--m-ink, #28312e); }
.msm-pilatesstudio-header-shell .pn-link[aria-current] { color: var(--m-primary, #9e594b); }
.msm-pilatesstudio-header-shell .pn-link:focus-visible { box-shadow: 0 0 0 2px var(--m-ink, #28312e); }
/* Notch-indicator: absolute, overflow-hidden rounded-sm, 10 px hoog op bottom -4 px, transition-all 300 ms. */
.msm-pilatesstudio-header-shell .pn-indicator {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 10px;
  overflow: hidden;
  border-radius: 2px;
  color: var(--m-primary, #9e594b);
  pointer-events: none;
  opacity: 0;
  will-change: transform, width, opacity;
  transition-property: transform, width, opacity;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.msm-pilatesstudio-header-shell .pn-indicator.is-ready { opacity: 1; }
.msm-pilatesstudio-header-shell .pn-indicator svg,
.msm-pilatesstudio-header-shell .pn-vindicator svg { display: block; width: 100%; height: 100%; }

.msm-pilatesstudio-header-shell .pn-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.msm-pilatesstudio-header-shell .pn-secondary {
  font-size: 14px;
  font-weight: 500;
  color: color-mix(in srgb, var(--m-ink, #28312e) 70%, transparent);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.15s ease;
}
.msm-pilatesstudio-header-shell .pn-secondary:hover { color: var(--m-ink, #28312e); }
.msm-pilatesstudio-header-shell .pn-secondary[aria-current] { color: var(--m-primary, #9e594b); }
.msm-pilatesstudio-header-shell .pn-secondary:focus-visible { outline: 2px solid var(--m-ink, #28312e); outline-offset: 4px; }
.msm-pilatesstudio-header-shell .pn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 9999px;
  background: var(--m-primary, #9e594b);
  color: var(--m-surface, #fbfaf6);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.msm-pilatesstudio-header-shell .pn-cta:hover { background: color-mix(in srgb, var(--m-primary, #9e594b) 86%, var(--m-ink, #28312e)); }
.msm-pilatesstudio-header-shell .pn-cta:focus-visible { outline: 2px solid var(--m-ink, #28312e); outline-offset: 2px; }
.msm-pilatesstudio-header-shell .pn-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--m-line, #d9d6cf);
  border-radius: 8px;
  background: var(--m-surface, #fbfaf6);
  color: var(--m-ink, #28312e);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.msm-pilatesstudio-header-shell .pn-toggle:focus-visible { outline: 2px solid var(--m-ink, #28312e); outline-offset: 2px; }
.msm-pilatesstudio-header-shell .pn-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.msm-pilatesstudio-header-shell .pn-icon--close,
.msm-pilatesstudio-header-shell .pn-toggle[aria-expanded="true"] .pn-icon--open { display: none; }
.msm-pilatesstudio-header-shell .pn-toggle[aria-expanded="true"] .pn-icon--close { display: block; }

/* Paneel onder 900 px: zakt van boven, links onder elkaar, dezelfde notch verticaal links van de actieve link. */
.msm-pilatesstudio-header-shell .pn-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--pn-h));
  overflow-y: auto;
  background: var(--m-surface, #fbfaf6);
  box-shadow: inset 0 1px 0 var(--m-line, #d9d6cf), 0 18px 36px -24px rgba(0, 0, 0, 0.35);
}
.msm-pilatesstudio-header-shell .pn-panel[hidden] { display: none; }
.msm-pilatesstudio-header-shell .pn-panel.is-opening { animation: pn-drop 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes pn-drop {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.msm-pilatesstudio-header-shell .pn-panel-nav { padding: 12px 16px 20px; }
.msm-pilatesstudio-header-shell .pn-vnotch { position: relative; padding-left: 16px; }
.msm-pilatesstudio-header-shell .pn-vlist { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.msm-pilatesstudio-header-shell .pn-vlink {
  display: block;
  padding: 12px 12px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  color: color-mix(in srgb, var(--m-ink, #28312e) 70%, transparent);
  outline: none;
  transition: color 0.15s ease;
}
.msm-pilatesstudio-header-shell .pn-vlink:hover { color: var(--m-ink, #28312e); }
.msm-pilatesstudio-header-shell .pn-vlink[aria-current] { color: var(--m-primary, #9e594b); }
.msm-pilatesstudio-header-shell .pn-vlink:focus-visible { box-shadow: 0 0 0 2px var(--m-ink, #28312e); }
.msm-pilatesstudio-header-shell .pn-vindicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 0;
  overflow: hidden;
  border-radius: 2px;
  color: var(--m-primary, #9e594b);
  pointer-events: none;
  opacity: 0;
  transition-property: transform, height, opacity;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.msm-pilatesstudio-header-shell .pn-vindicator.is-ready { opacity: 1; }
.msm-pilatesstudio-header-shell .pn-cta--panel { display: flex; width: 100%; height: 48px; margin-top: 16px; font-size: 15px; }

@media (min-width: 640px) {
  .msm-pilatesstudio-header-shell .pn-bar { padding: 0 24px; }
}
@media (min-width: 1024px) {
  .msm-pilatesstudio-header-shell .pn-bar { padding: 0 32px; }
}
@media (max-width: 899px) {
  .msm-pilatesstudio-header-shell .pn-bar { grid-template-columns: 1fr auto; }
  .msm-pilatesstudio-header-shell .pn-nav,
  .msm-pilatesstudio-header-shell .pn-secondary { display: none; }
  .msm-pilatesstudio-header-shell .pn-actions { gap: 10px; }
  .msm-pilatesstudio-header-shell .pn-toggle { display: inline-flex; }
}
@media (max-width: 379px) {
  .msm-pilatesstudio-header-shell .pn-bar > .pn-actions > .pn-cta { display: none; }
}
@media (min-width: 900px) {
  .msm-pilatesstudio-header-shell .pn-panel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .msm-pilatesstudio-header-shell,
  .msm-pilatesstudio-header-shell .pn-indicator,
  .msm-pilatesstudio-header-shell .pn-vindicator { transition-duration: 0s; }
  .msm-pilatesstudio-header-shell .pn-panel.is-opening { animation: none; }
}
