.ticket-selection-page > header { margin-bottom: 32px; }
.ticket-selection-page main { max-width: 1080px; padding: clamp(20px, 4vw, 44px); }
.ticket-selection-page h1 { font-size: clamp(36px, 6vw, 50px); letter-spacing: -.055em; text-transform: uppercase; margin: 0 0 12px; }
.preview-notice { font-size: 12px; margin: 0 0 28px; }
.resume-notice { background: var(--color-yellow); border: 2px solid var(--color-ink); padding: 12px; margin: 0 0 24px; font-size: 14px; }
.resume-notice a { color: var(--color-ink); font-weight: 700; }
.performance-picker h2, .selection-options h2 { font-size: 21px; margin: 0 0 14px; }
.performance-options { display: flex; flex-wrap: wrap; gap: 12px; }
.performance-options a { display: block; flex: 1 1 160px; color: var(--color-ink); padding: 16px 20px; border: 2px solid var(--color-ink); background: var(--color-paper); text-decoration: none; }
.performance-options strong { display: block; font-size: 24px; font-weight: 900; }
.performance-options small { display: block; font-size: 13px; }
.performance-options a[aria-current] { color: var(--color-paper); background: var(--color-ink); box-shadow: 4px 4px 0 var(--color-yellow); }
.performance-options a:hover { background: var(--color-yellow); color: var(--color-ink); }
.selection-help { font-size: 13px; line-height: 1.5; margin: 8px 0 16px; }
.discount-banner { border: 2px solid var(--color-ink); background: var(--color-yellow); padding: 14px 18px; margin: 24px 0; }
.discount-banner strong { display: block; font-size: 15px; }
.discount-banner span { display: block; font-size: 12px; margin-top: 4px; }
.selection-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 28px; }
.selection-options { min-width: 0; }
.offer-list { display: grid; gap: 12px; }
.offer-card { border: 2px solid var(--color-ink); padding: 16px; }
.offer-card--vip { border-top-width: 5px; background: #fff5ce; }
.offer-topline { display: flex; justify-content: space-between; gap: 14px; }
.offer-card h3 { font-size: 20px; margin: 2px 0 8px; }
.offer-card p { font-size: 13px; margin: 4px 0; }
.offer-topline > div:first-child { min-width: 0; }
.offer-description { overflow-wrap: anywhere; }
.offer-price { text-align: right; font-size: 23px; font-weight: 900; white-space: nowrap; }
.offer-price small { display: block; font-size: 11px; font-weight: 500; }
.offer-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; }
.offer-controls > label { font-size: 13px; font-weight: 700; }
.quantity-control { display: flex; align-items: stretch; }
.quantity-control button { display: none; min-width: 44px; min-height: 44px; padding: 0; border: 2px solid var(--color-ink); background: var(--color-paper); font-size: 23px; }
.selection-enhanced .quantity-control button { display: block; }
.quantity-control button:hover { background: var(--color-yellow); }
.ticket-selection-form input[type=number] { width: 62px; min-height: 44px; margin: 0; padding: 4px; border: 2px solid var(--color-ink); border-radius: 0; text-align: center; background: white; }
.ticket-selection-form label { font-weight: 700; }
.ticket-selection-form input[type=text], .ticket-selection-form input[type=email] { width: 100%; padding: 12px; border: 2px solid var(--color-ink); background: white; border-radius: 0; font: inherit; margin-top: 8px; }
.voucher-entry { font-size: 16px; }
.voucher-input { display: flex; align-items: stretch; gap: 8px; margin-top: 8px; }
.voucher-input input[type=text] { min-width: 0; margin: 0; }
.voucher-input button, .added-vouchers button { border: 2px solid var(--color-ink); background: var(--color-yellow); padding: 8px 14px; font-weight: 700; }
.added-vouchers { list-style: none; padding: 0; margin: 12px 0; }
.added-vouchers li { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid var(--color-ink); padding: 8px 0; font-size: 16px; }
.added-vouchers span { overflow-wrap: anywhere; min-width: 0; }
.added-vouchers button { background: var(--color-paper); padding: 8px; min-height: 44px; flex-shrink: 0; }
.voucher-feedback { color: #8b1515; font-size: 13px; margin-top: 8px; }
.voucher-feedback:empty { display: none; }
.voucher-entry, .buyer-details { margin-top: 24px; }
.voucher-entry label, .buyer-details label { font-size: 14px; }
.voucher-entry label span { font-weight: 400; }
.selection-enhanced .quote-fallback { display: none; }
.price-summary { position: sticky; top: 24px; border: 3px solid var(--color-ink); padding: 24px; background: var(--color-yellow); box-shadow: 5px 5px 0 var(--color-ink); }
.price-summary h2 { text-transform: uppercase; font-size: 28px; letter-spacing: -.04em; margin: 0 0 16px; }
.summary-performance { border-block: 2px solid var(--color-ink); padding: 12px 0; font-size: 13px; }
.summary-empty { font-size: 14px; margin: 24px 0; }
.summary-lines { padding: 0; margin: 18px 0; list-style: none; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0; font-size: 13px; }
.summary-lines li > strong { white-space: nowrap; }
.summary-lines small { display: block; font-size: 12px; margin-top: 4px; }
.summary-totals { border: 0; border-top: 2px dashed var(--color-ink); padding: 12px 0 0; }
.summary-totals > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.summary-totals dt { font-weight: 500; }
.summary-totals dd { white-space: nowrap; }
.summary-totals .grand-total { border-top: 2px solid var(--color-ink); padding-top: 16px; margin-top: 16px; font-size: 29px; }
.grand-total dt, .grand-total dd { font-weight: 900; }
.grand-total small { display: block; font-size: 11px; font-weight: 500; }
.admission-count, .summary-note, .voucher-notice { font-size: 12px; }
.summary-note { border-top: 1px solid var(--color-ink); padding-top: 14px; margin-bottom: 0; }
.bundle-tip { background: var(--color-paper); border: 2px solid var(--color-ink); padding: 14px; font-size: 13px; margin-top: 20px; }
.selection-error, .quote-feedback { color: #8b1515; background: var(--color-paper); border: 2px solid #8b1515; padding: 12px; font-size: 13px; }
.selection-error { margin-bottom: 16px; }
.selection-error ul { padding-left: 16px; }
.price-summary.is-stale .quoted-result { opacity: .45; }
.ticket-selection-page [hidden] { display: none !important; }
@media (max-width: 800px) {
  .selection-grid { grid-template-columns: minmax(0, 1fr); }
  .price-summary { position: static; }
}
@media (max-width: 480px) {
  .ticket-selection-page { padding: 18px 14px 36px; }
  .ticket-selection-page main { padding: 20px 16px; }
  .performance-options { gap: 8px; }
  .performance-options a { flex-basis: 100px; padding: 12px; }
  .performance-options strong { font-size: 23px; }
  .performance-options small { font-size: 11px; }
  .offer-card { padding: 14px; }
  .offer-topline { gap: 10px; }
  .offer-card h3 { font-size: 18px; }
  .offer-price { font-size: 21px; }
  .price-summary { padding: 20px; }
}

/* Ticket picker heel: the card crops the leg like a comic panel; the shoe stands on the show options.
   Title stays at the top and the show times sit towards the bottom, leaving room for the shoe. */
.ticket-picker-page { --heel-h: clamp(220px, min(66vw, 70svh), 430px); }
.ticket-picker-page main { overflow: clip; }
.ticket-picker-page .performance-picker { padding-top: max(0px, calc(var(--heel-h) * .5 - 70px)); }
.ticket-picker-page .performance-picker h2 { padding-right: calc(var(--heel-h) * .52); }
.ticket-picker-page .performance-options { position: relative; }
.ticket-heel { display: none; }
.ticket-picker-page .ticket-heel {
  display: block;
  position: absolute;
  z-index: 1;
  right: 4%;
  /* Image bottom sits just below the stiletto tip (99.25%); sink 1px into the options' top border. */
  bottom: calc(100% - 1px - var(--heel-h) * .0075);
  height: var(--heel-h);
  aspect-ratio: 1898 / 3437;
  pointer-events: none;
}
.ticket-heel img {
  display: block;
  width: 100%;
  height: 100%;
  /* Level the sole on the options and pivot taps on the stiletto tip. */
  transform: rotate(-6.4deg);
  transform-origin: 75% 99.25%;
}
/* Impatient taps while hovering the picker; a single tap per pick on touch (selection.js). */
@keyframes heel-tap {
  0%, 36%, 100% { transform: rotate(-6.4deg); }
  6%, 18%, 30% { transform: rotate(.5deg); }
  12%, 24% { transform: rotate(-6.4deg); }
}
@keyframes heel-tap-once {
  0%, 100% { transform: rotate(-6.4deg); }
  40% { transform: rotate(.5deg); }
}
@media (hover: hover) {
  .performance-picker:hover .ticket-heel img { animation: heel-tap 1.5s cubic-bezier(.3, 0, .3, 1) infinite; }
}
.performance-options:focus-within .ticket-heel img { animation: heel-tap 1.5s cubic-bezier(.3, 0, .3, 1) infinite; }
.ticket-heel img.is-tapping { animation: heel-tap-once 320ms cubic-bezier(.3, 0, .3, 1); }
@media (max-width: 600px) { .ticket-picker-page .ticket-heel { right: 1%; } }
@media (max-width: 360px) { .ticket-picker-page .ticket-heel { right: -14px; } }
@media (prefers-reduced-motion: reduce) { .ticket-heel img { animation: none !important; } }
