/* Original header artwork and dimensions; the floating state has brand contrast. */
body.updated-preview .preview-header {
  top: 0;
  width: 100%;
  max-width: none;
}
.updated-preview .preview-booking-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
body.updated-preview .preview-booking-actions .preview-header-cta {
  display: inline-flex;
  white-space: nowrap;
  justify-content: center;
  min-height: 40px;
  background: white;
  --control-fill: white;
  --control-stroke: white;
  color: var(--royal);
}
body.updated-preview .preview-booking-actions .preview-header-cta.has-zigzag { background: transparent; }
/* Desktop's legacy PDF mask is outline-only; use the filled contour at every width. */
body.updated-preview .preview-booking-actions .preview-header-cta.has-zigzag::before { display: none; }
body.updated-preview .preview-booking-actions .preview-header-cta.has-zigzag > .zigzag-contour { visibility: visible; }
body.updated-preview .preview-booking-actions .preview-header-cta--pilates { color: var(--green); }
body.updated-preview .preview-booking-actions .preview-header-cta--coworking:is(:hover,:focus-visible) {
  --control-fill: #ddedff;
  --control-stroke: #ddedff;
  color: var(--royal);
}
body.updated-preview .preview-booking-actions .preview-header-cta--pilates:is(:hover,:focus-visible) {
  --control-fill: #eaf0cb;
  --control-stroke: #eaf0cb;
  color: var(--green);
}
body.updated-preview .preview-booking-actions .preview-header-cta:focus-visible { outline: 3px solid white; outline-offset: 5px; }
.updated-preview .preview-menu-bookings {
  position: absolute;
  top: 28px;
  right: 144px;
}
@media (max-width: 1100px) {
  body.updated-preview .preview-header { padding-inline: 24px; }
  .updated-preview .preview-header-actions { gap: 20px; }
  .updated-preview .preview-booking-actions { gap: 10px; }
  .updated-preview .preview-booking-actions .preview-header-cta { padding-inline: 16px; font-size: 14px; }
}
@media (max-width: 900px) {
  /* Match the close control's mobile inset; desktop keeps its 72px inset. */
  .updated-preview .preview-menu-bookings { right: 88px; }
}
@media (max-width: 640px) {
  body.updated-preview .preview-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 54px 44px;
    gap: 10px 16px;
    height: 140px;
    padding: 16px;
    align-items: center;
  }
  .updated-preview .preview-header-actions { display: contents; }
  .updated-preview .preview-menu-button { grid-column: 2; grid-row: 1; }
  .updated-preview .preview-header .preview-booking-actions { grid-column: 1 / -1; grid-row: 2; }
  .updated-preview .preview-booking-actions { width: 100%; }
  .updated-preview .preview-booking-actions .preview-header-cta {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding-inline: 8px;
    font-size: clamp(11px, 3.3vw, 14px);
  }
  .updated-preview .preview-menu { padding-top: 166px; }
  .updated-preview .preview-menu-bookings { top: 88px; left: 16px; right: 16px; width: auto; }
}
body.updated-preview .preview-header[data-header-floating] {
  position: fixed;
  z-index: 180;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  background: var(--royal);
  transform: translateY(0);
  transition: none;
}
body.updated-preview .preview-header[data-header-floating][data-header-animated] {
  transition: transform 220ms ease;
}
body.updated-preview .preview-header[data-header-floating][data-header-hidden]:not(:focus-within) {
  transform: translateY(-100%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  body.updated-preview .preview-header[data-header-floating][data-header-animated] { transition: none; }
}
