.hyphon-seat-grid {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: visible;
  padding: 6px 2px 12px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}

/* Make the public ticket prices read as clear selectable products. */
.hyphon-ticket-lines {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

/* Keep the booking steps visually distinct. The selected-performance summary
   belongs to step one and must never appear to run into ticket selection. */
.hyphon-performance-label + .hyphon-ticket-picker {
  clear: both;
  margin-top: 30px !important;
}

.hyphon-performance-label {
  isolation: isolate;
}

.hyphon-qty-line {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 82px;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #d5d9dd;
  border-radius: 10px;
  background: #f8fafb;
}

.hyphon-qty-line > span {
  display: grid;
  gap: 3px;
}

.hyphon-qty-line b {
  color: #17212b;
  font-size: 17px;
  line-height: 1.2;
}

.hyphon-qty-line small {
  color: #7b1736;
  font-size: 15px;
  font-weight: 800;
}

.hyphon-qty-line input[type="number"] {
  box-sizing: border-box;
  width: 82px !important;
  min-height: 44px;
  margin: 0 !important;
  border: 2px solid #17212b;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

/* Keep discount entry visible as part of ticket selection instead of hiding it
   behind a small disclosure link. */
.hyphon-coupon-box {
  margin: 18px 0 !important;
  padding: 16px !important;
  border: 2px solid #e0ad2d !important;
  border-radius: 10px !important;
  background: #fff8df !important;
}

.hyphon-coupon-toggle {
  display: block !important;
  width: 100%;
  padding: 0 !important;
  color: #17212b !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  text-align: left;
  text-decoration: none !important;
  pointer-events: none;
}

.hyphon-coupon-toggle::after {
  content: " (optional)";
  color: #5f6368;
  font-weight: 600;
}

.hyphon-coupon-entry {
  display: block !important;
  margin-top: 10px !important;
}

.hyphon-coupon-row input {
  min-height: 42px;
  text-transform: uppercase;
}

.hyphon-apply-coupon {
  min-height: 42px;
  font-weight: 800 !important;
}

.hyphon-public-seat-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 5px;
  width: max-content;
  min-width: max-content;
  margin: 0 auto 6px;
}

.hyphon-public-aisle {
  display: inline-block;
  flex: 0 0 auto;
}

.hyphon-public-row-label {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 28px;
  min-width: 28px;
  height: 40px;
  flex: 0 0 28px;
  margin-right: 5px;
  color: #17212b;
  font-weight: 900;
  line-height: 1;
}

.hyphon-seat,
.hyphon-public-no-seat {
  box-sizing: border-box !important;
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 40px !important;
  flex: 0 0 34px !important;
}

.hyphon-seat {
  padding: 7px 0 0 !important;
  margin: 0 !important;
  background: #e8f7ed !important;
  border: 2px solid #23824b !important;
  color: #155c35 !important;
}

.hyphon-seat.is-selected { background:#1769aa !important; border:3px solid #0b2840 !important; color:#fff !important; }
.hyphon-seat.is-sold { background:#b42335 !important; border-color:#7b1020 !important; color:#fff !important; opacity:.92; }
.hyphon-seat.is-held { background:#f5c451 !important; border-color:#9a6b00 !important; color:#352600 !important; opacity:.92; }
.hyphon-seat-legend{display:flex;justify-content:center;gap:9px 16px;flex-wrap:wrap;margin:4px 0 12px;padding:10px;border:1px solid #d9d9d9;border-radius:9px;background:#fafafa}.hyphon-seat-legend span{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800}.hyphon-seat-key{display:inline-block;width:18px;height:18px;border:2px solid;border-radius:5px}.hyphon-seat-key.available{background:#e8f7ed;border-color:#23824b}.hyphon-seat-key.selected{background:#1769aa;border-color:#0b2840}.hyphon-seat-key.sold{background:#b42335;border-color:#7b1020}.hyphon-seat-key.held{background:#f5c451;border-color:#9a6b00}

.hyphon-seat.is-unavailable .hyphon-chair-label {
  font-size: 9px !important;
  color: #6b7280;
  word-break: normal;
}

@media (max-width: 600px) {
  .hyphon-performance-label + .hyphon-ticket-picker {
    margin-top: 22px !important;
  }

  .hyphon-qty-line {
    grid-template-columns: minmax(0, 1fr) 68px;
    gap: 8px;
    padding: 9px !important;
  }

  .hyphon-qty-line input[type="number"] {
    width: 68px !important;
  }

  .hyphon-public-seat-row {
    gap: 2px;
  }

  .hyphon-seat,
  .hyphon-public-no-seat {
    width: 32px !important;
    min-width: 32px !important;
    height: 36px !important;
    flex-basis: 32px !important;
  }

  .hyphon-chair-label {
    font-size: 7px !important;
  }

  .hyphon-public-row-label {
    width: 20px;
    min-width: 20px;
    height: 28px;
    flex-basis: 20px;
    margin-right: 2px;
    font-size: 11px;
  }

  .hyphon-public-aisle {
    max-width: 20px;
  }
}

/* v0.20.18: robust attendee form layout against theme-level label/input rules. */
form.hyphon-booking-form .hyphon-ticket-attendees,
form.hyphon-booking-form .hyphon-customer-fields {
  display: block !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}
form.hyphon-booking-form .hyphon-ticket-attendees > strong,
form.hyphon-booking-form .hyphon-customer-fields > strong {
  display: block !important;
  margin: 0 0 12px !important;
  line-height: 1.45 !important;
}
form.hyphon-booking-form .hyphon-ticket-attendees > p {
  display: block !important;
  margin: 0 0 16px !important;
  line-height: 1.55 !important;
}
form.hyphon-booking-form .hyphon-ticket-attendee-fields {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
}
form.hyphon-booking-form fieldset.hyphon-ticket-attendee {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px 14px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid #d7dce2 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}
form.hyphon-booking-form fieldset.hyphon-ticket-attendee legend {
  display: block !important;
  float: none !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 6px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}
form.hyphon-booking-form label.hyphon-ticket-attendee-field {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  box-sizing: border-box !important;
}
form.hyphon-booking-form label.hyphon-ticket-attendee-field input {
  display: block !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #b9c1cc !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #172033 !important;
  font: inherit !important;
  box-sizing: border-box !important;
}
form.hyphon-booking-form label.hyphon-ticket-attendee-field input:focus {
  outline: 2px solid #dba91f !important;
  outline-offset: 1px !important;
  border-color: #9a7411 !important;
}
/* Additional attendee questions are supplied by extensions; stack each label
   and control to prevent inherited theme styles from overlapping their text. */
form.hyphon-booking-form .hyphon-customer-fields > label:not(.hyphon-marketing-optin) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 14px !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  box-sizing: border-box !important;
}
form.hyphon-booking-form .hyphon-customer-fields > label:not(.hyphon-marketing-optin) input,
form.hyphon-booking-form .hyphon-customer-fields > label:not(.hyphon-marketing-optin) textarea,
form.hyphon-booking-form .hyphon-customer-fields > label:not(.hyphon-marketing-optin) select {
  display: block !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
@media (max-width: 520px) {
  form.hyphon-booking-form fieldset.hyphon-ticket-attendee {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 13px !important;
  }
}
