.customer-ui .customer-main.wrap {
  width: min(calc(100% - 32px), 1060px);
  padding-block: clamp(22px, 3.5vw, 42px) 36px;
}

.customer-ui .customer-back:hover,
.customer-ui .account-sidebar a:not(.primary):hover {
  text-decoration: underline;
}

.customer-heading {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-bottom: 22px;
}

body.customer-ui .customer-heading h1 {
  font-size: clamp(27px, 3.6vw, 40px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.customer-ui .customer-back,
.customer-ui .account-sidebar a:not(.primary) {
  color: var(--blue);
  font-weight: 650;
}

.customer-ui .account-saved-participants {
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-ui .account-saved-participants li {
  display: grid;
  gap: 2px;
  padding-block: 8px;
}

.customer-ui .account-saved-participants li + li {
  border-top: 1px solid var(--line);
}

.customer-ui .account-saved-participants summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.customer-ui .account-saved-participant-form {
  margin-top: 12px;
}

.customer-ui .customer-back {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 4px;
  font-size: 14px;
}

.customer-ui .checkout-layout,
.customer-ui .account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.customer-ui #checkout-content > .panel {
  max-width: 640px;
}

.customer-ui .step-list {
  --step-size: 2.25rem;
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  isolation: isolate;
  margin: 0;
  padding: 5px 0;
  list-style: none;
  color: var(--muted);
}

.customer-ui .step-list li {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  padding-inline: 4px;
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
}

.customer-ui .step-list li:not(:last-child)::after {
  position: absolute;
  top: calc(var(--step-size) / 2 - 1px);
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  content: '';
}

.customer-ui .step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: var(--step-size);
  height: var(--step-size);
  place-items: center;
  border-radius: 50%;
  background: var(--line);
}

.customer-ui .step-list [data-completed]::after {
  background: var(--blue);
}

.customer-ui .step-list [data-completed] .step-number {
  color: var(--blue);
  background: var(--accent-tint);
}

.customer-ui .step-list [aria-current="step"] {
  color: var(--blue);
  font-weight: 750;
}

.customer-ui .step-list [aria-current="step"] .step-number {
  color: #fff;
  background: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .customer-ui .step-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

body.customer-ui:is([data-page="checkout"], [data-page="orders"]) .customer-main {
  flex: 1 0 auto;
}

.customer-ui .orders-heading,
.customer-ui .orders-order-header,
.customer-ui .orders-ticket-header {
  display: flex;
  justify-content: space-between;
  gap: 10px 16px;
}

.customer-ui .orders-heading {
  align-items: center;
  flex-wrap: wrap;
}

.customer-ui .orders-heading h1 {
  margin: 0;
}

.customer-ui .orders-order-event,
.customer-ui .orders-order-summary,
.customer-ui .orders-ticket-identity {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 4px;
  overflow-wrap: anywhere;
}

.customer-ui .orders-order-event h2,
.customer-ui .orders-ticket-identity h4 {
  margin: 0;
}

.customer-ui .orders-order-event a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.customer-ui .orders-order-summary {
  justify-items: end;
  text-align: end;
  flex-shrink: 0;
}

.customer-ui .orders-order-total {
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
}

.customer-ui .orders-order-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.customer-ui .orders-order :is(h3, h4) {
  font-size: 1rem;
}

.customer-ui .orders-order .ticket-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.customer-ui .orders-ticket {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--quiet);
  overflow-wrap: anywhere;
}

.customer-ui .orders-ticket-header {
  align-items: start;
}

.customer-ui .orders-ticket-header .status-badge {
  flex-shrink: 0;
}

.customer-ui .orders-ticket-access.stack {
  gap: 8px;
}

.customer-ui .orders-ticket .qr-box {
  max-width: 100%;
  padding-inline: min(1rem, 3vw);
}

.customer-ui .orders-ticket canvas {
  max-width: 100%;
  height: auto;
}

.customer-ui .checkout-quantity {
  display: grid;
  grid-template-columns: 44px minmax(0, 4.5rem) 44px;
  align-items: center;
  gap: 6px;
}

.customer-ui .checkout-quantity .quiet {
  padding: 0;
  font-size: 1.25rem;
  color: var(--blue);
}

.customer-ui .checkout-quantity button:disabled {
  color: var(--slate);
  cursor: default;
}

.customer-ui .checkout-quantity input {
  appearance: textfield;
  text-align: center;
}

.customer-ui .checkout-quantity input::-webkit-inner-spin-button,
.customer-ui .checkout-quantity input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.customer-ui .checkout-coupon {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.customer-ui .checkout-coupon summary {
  width: fit-content;
  cursor: pointer;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.customer-ui .checkout-coupon > :not(summary) {
  margin-top: 8px;
}

.customer-ui .checkout-applied-coupon {
  display: flex;
  align-items: center;
  gap: 6px;
}

.customer-ui .checkout-summary dd { align-self: center; }

body.customer-ui .checkout-coupon-remove {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--slate);
  background: transparent;
}

body.customer-ui .checkout-coupon-remove:hover {
  color: var(--warn);
  border-color: currentColor;
}

.customer-ui .participant {
  padding: 14px;
  background: var(--quiet);
}

.customer-ui .participant .quiet,
.customer-ui .account-profile > button,
.customer-ui #checkout-content .panel > a.primary {
  justify-self: start;
}

.customer-ui .order-summary {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 9px 0;
  font-size: 14px;
}

.customer-ui .order-summary dt {
  padding-inline-end: 10px;
  color: var(--slate);
}

.customer-ui .order-summary .summary-total {
  color: var(--ink);
  font-size: 16px;
}

.customer-ui .account-identity {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.customer-ui :is(.account-identity, .billing-address) > :is(h2, p) {
  grid-column: 1 / -1;
}

.customer-ui .inline-actions {
  gap: 8px 14px;
}

.customer-ui .checkout-form .inline-actions {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

body.customer-ui .feedback[data-state="error"] {
  color: #992947;
  border-radius: 6px;
}

body.customer-ui .customer-heading + .feedback:not(:empty) {
  margin-bottom: 16px;
}

.customer-ui .catalog-main .search {
  padding: 0;
  background: none;
  border: 0;
  gap: 8px;
}

.customer-ui .catalog-main .search input {
  flex: 1;
  padding: 10px 12px;
  min-height: 44px;
  border: 1px solid #cbd6eb;
  border-radius: 10px;
  background: var(--white);
}

.customer-ui .catalog-main .search button {
  flex: none;
  padding-inline: 14px;
}

.customer-ui .catalog-main .event-card {
  border-radius: 17px;
}

.customer-ui .catalog-main .event-link:is(:hover, :focus-visible) h3 {
  color: var(--blue);
}

.customer-ui .catalog-main .event-date {
  color: var(--blue);
}

.customer-ui .catalog-main :is(.feedback:not(:empty), #retry) {
  margin-top: 16px;
}

@media (min-width: 701px) {
  .customer-ui .checkout-layout[data-step="review"] .checkout-summary {
    grid-area: 1 / 2;
  }

  .customer-ui .checkout-layout[data-step="review"] .checkout-form {
    grid-area: 1 / 1;
  }
}

@media (max-width: 700px) {
  .customer-ui .checkout-layout,
  .customer-ui .account-layout,
  .customer-ui .orders-order .ticket-list {
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (max-width: 460px) {
  .customer-ui .account-identity {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-ui .orders-order-header {
    flex-direction: column;
  }

  .customer-ui .orders-order-summary {
    grid-template-columns: 1fr auto;
    justify-items: start;
    text-align: start;
    column-gap: 8px;
  }

  .customer-ui .orders-order-total {
    grid-row: span 2;
    align-self: center;
  }
}

.customer-ui .participant-identity { min-width: 0; border: 0; padding: 0; margin: 0; }
.customer-ui .participant-contact { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 12px; }
.customer-ui .participant-contact .field { flex: 1 1 12rem; }
.customer-ui .participant-contact .quiet { min-height: 44px; }
.customer-ui .participant-gratuity { font-weight: 650; }
.customer-ui .checkout-address-fields { padding: 0; border: 0; background: transparent; }

.customer-ui .checkout-sign-in-main > button,
.customer-ui .checkout-sign-in > button {
  justify-self: start;
}

.customer-ui .checkout-sign-in-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
}

.customer-ui .questionnaire-answer {
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.customer-ui .questionnaire-answer legend {
  max-width: 100%;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.customer-ui .questionnaire-score-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
