/* Ticket detail shares the room layout, with a warm accent and compact booking fields. */
.tn-ticket-detail {
  --room-accent: var(--color-brand);
}
.tn-ticket-detail .tn-room-tabs a.is-active,
.tn-ticket-detail .tn-room-tabs a:hover {
  color: var(--room-accent);
  border-color: var(--room-accent);
}
.tn-ticket-detail .tn-ticket-label {
  color: var(--room-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.tn-ticket-detail .tn-room-booking-fields {
  margin-top: 18px;
  order: 2;
}
.tn-ticket-detail .tn-room-booking .tn-ticket-quantity-label {
  order: 0;
  margin: 0 0 5px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
}
.tn-ticket-detail .tn-room-booking .quantity {
  display: flex !important;
  align-items: stretch;
  order: 1;
  width: 156px;
  max-width: 100%;
  width: 100%;
  height: 48px;
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
}
.tn-ticket-detail .tn-room-booking .quantity .ux-quantity__button {
  display: flex !important;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  min-width: 48px;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--color-surface) !important;
  color: var(--color-text-muted) !important;
  font-size: 18px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}
.tn-ticket-detail .tn-room-booking .quantity .ux-quantity__button:hover {
  background: var(--color-background) !important;
  color: var(--room-accent) !important;
}
.tn-ticket-detail .tn-room-booking .quantity input.qty {
  flex: 1 1 100%;
  /* width: 58px !important; */
  max-width: unset !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: 1px solid var(--color-border) !important;
  border-left: 1px solid var(--color-border) !important;
  border-radius: 0 !important;
  background: var(--color-surface) !important;
  color: var(--color-text) !important;
  text-align: center;
  font-size: 16px !important;
  box-shadow: none !important;
}
.tn-ticket-detail .tn-room-booking .single_add_to_cart_button {
  order: 3;
}
.tn-ticket-detail .tn-room-booking-fields label {
  display: block;
  margin-bottom: 14px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
}
.tn-ticket-detail .tn-room-booking-fields input {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 6px;
  padding: 10px 13px;
  border: 1px solid var(--room-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 14px;
}
.tn-ticket-detail .tn-room-booking-fields input:focus {
  border-color: var(--room-accent);
  outline: 2px solid color-mix(in srgb, var(--color-border) 14%, transparent);
}
.tn-ticket-detail .tn-ticket-email-hint {
  display: block;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 400;
}
/* Display the original ticket photos without stretching or hover enlargement. */
.tn-ticket-detail .tn-room-photo img {
  object-fit: scale-down;
  transform: none;
  transition: none;
}
.tn-ticket-detail .tn-room-gallery[data-count="1"] {
  width: min(100%, var(--ticket-image-width, 100%));
  height: auto;
  grid-template-rows: auto;
  margin-inline: auto;
}
.tn-ticket-detail .tn-room-gallery[data-count="1"] .tn-room-photo {
  grid-row: auto;
  height: auto;
}
.tn-ticket-detail .tn-room-gallery[data-count="1"] img {
  width: 100%;
  height: auto;
}
