/* The same ticket anatomy is used for the event preview and checkout radios. */
.event-ticket {
  --ticket-accent: #ef2436;
  --ticket-line: #e8e5e9;
  --ticket-muted: #89838d;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  min-width: 0;
  min-height: 88px;
  border: 1px solid var(--ticket-line);
  border-radius: 10px;
  background: #fff;
  color: #302b34;
  overflow: hidden;
}
.event-ticket-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 7px;
  padding: 16px 18px;
}
.event-ticket-copy > strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.event-ticket-copy > small {
  color: var(--ticket-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
.event-ticket-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  align-self: stretch;
  gap: 3px;
  min-width: 94px;
  max-width: 152px;
  margin: 14px 0;
  padding: 0 17px;
  border-left: 1px dashed #e2dce3;
  text-align: right;
}
.event-ticket-money {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 3px;
  max-width: 100%;
  color: var(--ticket-accent);
  font-variant-numeric: tabular-nums;
}
.event-ticket-price b {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.5px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.event-ticket-currency { font-size: 12px; font-weight: 500; }
.event-ticket-price .event-ticket-free { color: var(--ticket-accent); font-size: 18px; letter-spacing: 0; }
.event-ticket.is-sold-out { background: #f8f7f9; border-color: #eeebef; }
.event-ticket.is-sold-out :is(strong, b, .event-ticket-money) { color: #aaa4ad; }
.event-ticket.is-sold-out .event-ticket-copy > small { color: #9c959f; }

.event-ticket-options { display: grid; gap: 10px; margin: 0 0 20px; }
.event-ticket-options:empty { display: none; }
.event-ticket-option { min-height: 82px; }
.event-ticket-option[href] { text-decoration: none; transition: border-color .18s, background-color .18s; }
.event-ticket-option[href]:hover { border-color: var(--ticket-accent); background: #fff7f7; }
.event-ticket-option[href]:focus-visible { outline: 2px solid var(--ticket-accent); outline-offset: 3px; }
.event-ticket-option .event-ticket-copy { padding: 14px; }
.event-ticket-option .event-ticket-price { min-width: 90px; padding: 0 14px; }
.event-ticket-option .event-ticket-price b { font-size: 21px; }
.event-ticket-option .event-ticket-price .event-ticket-free { font-size: 17px; }

.checkout-tickets { min-width: 0; margin: 0 0 30px; padding: 0 0 30px; border: 0; border-bottom: 1px solid #ece8ed; }
.checkout-tickets > legend { width: 100%; margin: 0; padding: 0 0 20px; color: #302b34; font-size: 18px; font-weight: 600; line-height: 1.5; }
.checkout-ticket {
  position: relative;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  margin: 0;
  padding-left: 20px;
  cursor: pointer;
  transition: border-color .18s, background-color .18s, box-shadow .18s;
}
.checkout-ticket + .checkout-ticket { margin-top: 12px; }
.checkout-ticket > input {
  appearance: none;
  align-self: center;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1.5px solid #d4cdd6;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  cursor: inherit;
}
.checkout-ticket > input:checked { border: 6px solid var(--ticket-accent); }
.checkout-ticket > input:focus-visible { outline: none; }
.checkout-ticket:has(input:focus-visible) { outline: 2px solid #ef24365c; outline-offset: 3px; }
.checkout-ticket:not(.is-sold-out):hover { border-color: #c7b9c2; box-shadow: 0 3px 12px #34253206; }
.checkout-ticket:has(input:checked) { border-color: var(--ticket-accent); background: #fff7f7; box-shadow: 0 0 0 1px var(--ticket-accent) inset; }
.checkout-ticket:has(input:checked)::before { position: absolute; top: 18px; bottom: 18px; left: 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--ticket-accent); content: ""; }
.checkout-ticket:has(input:checked) .event-ticket-price { border-left-color: #eac7ce; }
.checkout-ticket.is-sold-out { cursor: not-allowed; }
.checkout-ticket.is-sold-out > input { border-color: #e1dce3; background: #f0edf2; }
@media (prefers-reduced-motion: reduce) {
  .checkout-ticket, .event-ticket-option[href] { transition: none; }
}
