/**
 * Styles for the jixaw Event Detail block + the shared active/greyed Tickets
 * button. Self-contained (no build); inherits signature-theatre v2.0.2.
 * Headings use theme .wp-block-heading.has-heading-N-font-size; this file is
 * layout-only glue plus the shared theme-matched Tickets button (kept in sync
 * with calendar.css).
 */
.jixaw-event {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 0;
}
.jixaw-event__media img {
  width: 100%;
  height: auto;
  border-radius: 0;
  margin-bottom: 1.5rem;
}
.jixaw-event__title {
  margin: 0 0 0.5rem;
  overflow-wrap: anywhere;
}
.jixaw-event__dates {
  margin: 0 0 0.4rem;
  font-weight: 700;
}
/* Venue / run / running-time — muted supporting lines. */
.jixaw-event__meta {
  margin: 0 0 0.4rem;
  font-size: 14px;
  color: #8d8a83;
}
.jixaw-event__pricing {
  margin: 1.25rem 0;
}
.jixaw-event__price {
  margin: 0 0 0.5rem;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-weight: 700;
  font-size: 1.15rem;
}
/* Per-tier price breakdown — square, flat, hairline-separated rows. */
.jixaw-event__tiers {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 18rem;
}
.jixaw-event__tiers li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(27, 22, 18, 0.12);
}
.jixaw-event__tiers li:last-child {
  border-bottom: 0;
}
.jixaw-event__tier-price {
  font-weight: 600;
}
.jixaw-event__cta {
  margin: 0.5rem 0 1.5rem;
}
/* Description (fallback / event-level view only) set off by a hairline. */
.jixaw-event__writeup {
  margin: 2rem 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(27, 22, 18, 0.15);
}
.jixaw-event__perf-heading {
  margin: 2rem 0 0.75rem;
}
.jixaw-event__perf {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jixaw-event__perf li {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(27, 22, 18, 0.15);
}
.jixaw-event__perf-date {
  min-width: 14rem;
}
.jixaw-event__empty {
  padding: 2rem 0;
  text-align: center;
}

/* Active / greyed Tickets button (shared visual; must match calendar.css exactly). */
.jixaw-tickets{display:inline-block;padding:13px 30px;border:2px solid #1b1612;background:transparent;color:#1b1612;font-family:var(--font-display,"Space Grotesk",sans-serif);font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:0;text-decoration:none;border-radius:0;transition:background-color .15s ease,color .15s ease;}
.jixaw-tickets--active:hover{background:#1b1612;color:#fffef4;}
.jixaw-tickets--disabled{border-color:#8d8a83;color:#8d8a83;pointer-events:none;}

/* ---------- "Buy Tickets" basket widget (flag-on path) ---------- */
/* Quantity selector + add-to-basket button. Square, flat, brand-matched. The
   button reuses .jixaw-tickets so it matches the link buttons exactly. */
.jixaw-buy {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.jixaw-buy__qty {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.jixaw-buy__qty-label {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #1b1612;
}
.jixaw-buy__qty-select {
  border: 2px solid #1b1612;
  border-radius: 0;
  background: #fffef4;
  color: #1b1612;
  font: inherit;
  padding: 11px 14px;
  min-width: 4.5rem;
}
.jixaw-buy__submit {
  cursor: pointer;
}
.jixaw-buy__submit[disabled] {
  opacity: 0.6;
  cursor: default;
}
.jixaw-buy__error {
  flex-basis: 100%;
  margin: 0.25rem 0 0;
  color: #b91c1c;
  font-size: 14px;
}
/* In the event-level performances list, push the per-performance buy link to the
   right and shrink it so the row stays compact. */
.jixaw-event__perf li {
  align-items: center;
}
.jixaw-event__perf-buy {
  margin-left: auto;
  padding: 7px 18px;
  font-size: 12px;
}
.jixaw-event__cta-hint {
  margin: 0.5rem 0 0;
  color: #1b1612;
}

/* State badges + accessibility chips (square, flat, monochrome; must match calendar.css exactly). */
.jixaw-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px;}
.jixaw-badge{display:inline-block;font-size:10px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;padding:2px 8px;border:1px solid #1b1612;border-radius:0;line-height:1.5;color:#1b1612;background:transparent;}
.jixaw-badge--almost_sold_out{background:#1b1612;color:#fffef4;}
.jixaw-badge--sold_out,.jixaw-badge--on_sale_soon{border-color:#8d8a83;color:#8d8a83;}
.jixaw-badge--cancelled{border-color:#8d8a83;color:#8d8a83;text-decoration:line-through;}
.jixaw-chip{display:inline-block;font-size:10px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;padding:2px 6px;border:1px solid #1b1612;border-radius:0;line-height:1.5;color:#1b1612;}
/* Patron upsell next to sold-out / almost-sold-out performances (client request). */
.jixaw-upsell{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.02em;color:#1b1612;text-decoration:underline;text-underline-offset:2px;margin-left:.35rem;white-space:nowrap;}
