/* Shared guest-widget rules (P5). Extracted verbatim from book.css so the
   booking page keeps its exact appearance: every selector below still names
   `.book`/`.book-*`, and the P5 pages (events, tickets, loyalty) opt in by
   using the `.widget`/`.widget-*` twin of the same selector. Nothing here is
   loaded by the home page - that is what keeps the fidelity test honest.

   Colours, fonts and buttons all come from the locked tokens in site.css. */

.book .page-inner,
.widget .page-inner { max-width: 60rem; }

.book-intro,
.widget-intro {
  margin: 1.2rem 0 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 46ch;
}

.book-panel,
.book-step,
.widget-panel {
  margin: 2rem 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 3px solid var(--paper);
  background: rgba(245,240,232,.04);
}

.book-panel h2,
.book-step h2,
.widget-panel h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: -.02em;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 1rem;
}

.book-hint,
.widget-hint { margin: -.4rem 0 1rem; opacity: .75; font-size: .9rem; }

.widget-chip {
  min-height: 3rem;
  padding: .65rem 1rem;
  border: 3px solid var(--paper);
  background: transparent;
  color: var(--paper);
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.widget-chip[aria-pressed="true"] {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--ink);
}

.widget-chip small { display: block; font-weight: 400; opacity: .8; }
.widget-chip:disabled { opacity: .35; cursor: not-allowed; }

.widget-chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.2rem; }

.book-check,
.widget-check { display: flex; align-items: center; gap: .6rem; font-weight: 400; }
.book-check input,
.widget-check input { width: 1.2rem; height: 1.2rem; }

.book-summary,
.widget-summary { margin: 0 0 1.2rem; }
.book-summary dt,
.widget-summary dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.book-summary dd,
.widget-summary dd { margin: 0 0 .9rem; font-size: 1.05rem; font-weight: 700; }

.book-done,
.widget-done {
  border-left: 4px solid var(--blue);
  padding: .8rem 1rem;
  background: rgba(25,200,255,.12);
}

.book-error,
.widget-error {
  border-left: 4px solid var(--pink);
  padding: .8rem 1rem;
  background: rgba(255,43,145,.12);
}

.book-contact,
.widget-contact { display: flex; flex-wrap: wrap; gap: .8rem; }

.book .row,
.widget .row { display: flex; flex-wrap: wrap; gap: 1rem; }
.book .row > label,
.widget .row > label { flex: 1 1 14rem; }

.book label,
.widget label {
  display: block;
  margin-bottom: .9rem;
  font-weight: 700;
}

.book input[type="text"],
.book input[type="email"],
.book input[type="tel"],
.book input[type="date"],
.book input[type="number"],
.book textarea,
.widget input[type="text"],
.widget input[type="email"],
.widget input[type="tel"],
.widget input[type="date"],
.widget input[type="number"],
.widget select,
.widget textarea {
  display: block;
  width: 100%;
  margin-top: .35rem;
  border: 3px solid var(--ink);
  background: white;
  color: var(--ink);
  min-height: 3.2rem;
  padding: .7rem;
  font-size: 1rem;
  font-weight: 400;
}

.book textarea,
.widget textarea { min-height: 5rem; }

/* P5 event cards: the what's-on list and its ticket tiers. */
.widget-list { display: grid; gap: 1.2rem; }
.widget-event { border-top: 3px solid var(--paper); padding-top: 1.2rem; }
.widget-event h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  margin: 0 0 .3rem;
}
.widget-when { margin: 0 0 .8rem; font-weight: 700; opacity: .8; letter-spacing: .04em; }
.widget-tiers { display: flex; flex-wrap: wrap; gap: .7rem; }
.widget-soldout { opacity: .7; font-weight: 700; }
.widget-codes { font-family: monospace; letter-spacing: .12em; }
