/* BOOK BAR: the dock that carries the price, the spots line and the Book button.
   Pinned to the bottom edge on a phone, rounded on top with a violet-tinted edge. On desktop each page turns it into
   a card in the sticky rail (below). Where the rail is and how the contents stack (flex column or grid) is the page's.
   Used by the booking, training and special pages.
   Opaque, not frosted: body text sliced in half behind a translucent bar reads as a glitch. The shadow is the palette's
   one violet-tinted family. The glow belongs to .bar .btn only, never to a bare .btn.
   Contents are a flex row by default. A page that needs a two-column grid (price and spots, button across) adds
   .bar--grid, and one that needs to wrap adds .bar--wrap. What goes in it is the page's. */
.bar{
  position:fixed;left:0;right:0;bottom:0;z-index:40;
  display:flex;align-items:center;gap:12px;
  padding:18px 16px calc(16px + env(safe-area-inset-bottom));
  background:var(--surface);
  border:1px solid rgb(var(--accent-rgb) / .30);border-bottom:0;border-radius:22px 22px 0 0;
  box-shadow:0 -12px 34px rgb(var(--accent-rgb) / .26),0 -2px 8px rgb(var(--accent-rgb) / .10);
}
.bar-info{flex:0 0 auto;min-width:0}
.bar-p{font-family:var(--mono);font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.2}
.bar-p span{font-family:var(--ui);font-size:13.5px;font-weight:400;color:var(--ink3);letter-spacing:0}
.bar-s{font-family:var(--mono);font-size:12.5px;color:var(--green);font-variant-numeric:tabular-nums}
.bar .btn{flex:1 1 auto;height:var(--ctl-lg);box-shadow:0 5px 16px rgb(var(--accent-rgb) / .40)}
.bar--grid{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 12px}
.bar--wrap{flex-wrap:wrap;row-gap:9px}

/* Desktop: the dock becomes a card in the rail. Roomier, soft violet lift, a big glowing button. */
@media(min-width:900px){
  .bar{
    position:sticky;top:22px;bottom:auto;left:auto;right:auto;
    padding:24px;border:1px solid var(--border);border-radius:20px;
    box-shadow:0 2px 14px rgb(var(--accent-rgb) / .07);
  }
  .bar:not(.bar--grid){flex-direction:column;align-items:stretch;gap:18px}
  .bar .btn{flex:none;width:100%;height:56px;padding:0;font-size:17px;box-shadow:0 8px 22px rgb(var(--accent-rgb) / .30)}
}
