:root {
  --brand: #0f4c81;
  --brand-strong: #0b365c;
  --brand-ink: #ffffff;
  --ink: #14171f;
  --text: #252a35;
  --muted: #717784;
  --faint: #9aa1ad;
  --line: rgba(20, 23, 31, 0.1);
  --canvas: #f4f5f7;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --accent: #e9f2f9;
  --danger: #b42318;
  --success: #027a48;
  --shadow: 0 14px 34px rgba(20, 23, 31, 0.1);
  --shadow-soft: 0 8px 22px rgba(20, 23, 31, 0.07);
  --radius: 8px;
  --layout: 46rem;
  --bar: 4.75rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.42;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
  transition:
    transform 120ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    opacity 160ms ease;
}

button:active {
  transform: scale(0.98);
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(15, 76, 129, 0.22);
  outline-offset: 2px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 760;
}

h2 {
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 760;
}

.app {
  width: min(100%, var(--layout));
  margin: 0 auto;
  padding: 1rem 0.75rem calc(var(--bar) + 2rem);
}

.brand-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  background: rgba(244, 245, 247, 0.92);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand-ink);
  font-weight: 850;
}

.eyebrow {
  margin: 0 0 0.1rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.shop-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.875rem;
  align-items: center;
  padding: 0.875rem;
  margin-bottom: 0.75rem;
}

[hidden] {
  display: none !important;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 3rem 1rem;
  margin-top: 1.5rem;
  border: 1px dashed rgba(20, 23, 31, 0.18);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.empty-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand-ink);
  font-weight: 850;
}

.empty-state h2 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.empty-state p {
  max-width: 28rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.shop-empty-card {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 2.35rem 1.25rem;
  text-align: center;
}

.shop-empty-card-icon {
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--brand-strong);
}

.shop-empty-card-icon svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shop-empty-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.shop-empty-card p {
  max-width: 26rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.empty-form {
  display: grid;
  width: min(100%, 34rem);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}

.empty-form button {
  border: 0;
  border-radius: var(--radius);
  padding: 0 1rem;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 850;
}

.date-block {
  display: grid;
  width: 3.45rem;
  min-width: 3.45rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--accent);
  text-align: center;
}

.date-block span {
  padding: 0.25rem;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.date-block strong {
  padding: 0.4rem 0.25rem 0.45rem;
  color: var(--brand-strong);
  font-size: 1.25rem;
  line-height: 1;
}

.event-copy {
  min-width: 0;
}

.event-copy h2 {
  overflow: hidden;
  margin-bottom: 0.125rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-copy p {
  margin-bottom: 0.075rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.steps {
  position: sticky;
  top: 3.75rem;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(20, 23, 31, 0.06);
  backdrop-filter: blur(16px);
}

.step {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.3rem;
  border: 0;
  border-radius: 6px;
  padding: 0.55rem 0.4rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 120ms ease;
}

.step span {
  display: grid;
  width: 1.1rem;
  height: 1.1rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(20, 23, 31, 0.08);
  font-size: 0.68rem;
}

.step.is-active {
  background: var(--brand);
  color: var(--brand-ink);
}

.step.is-active span {
  background: rgba(255, 255, 255, 0.22);
}

.page {
  display: none;
}

.page.is-active {
  display: block;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes item-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes soft-pop {
  from {
    transform: scale(0.94);
  }

  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page.is-active {
    animation: page-enter 190ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .event-card,
  .order-bar {
    animation: page-enter 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .event-list > *,
  .ticket-list > *,
  .payment-list > *,
  .review-list > * {
    animation: item-enter 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .event-list > :nth-child(2),
  .ticket-list > :nth-child(2),
  .payment-list > :nth-child(2),
  .review-list > :nth-child(2) {
    animation-delay: 24ms;
  }

  .event-list > :nth-child(3),
  .ticket-list > :nth-child(3),
  .payment-list > :nth-child(3),
  .review-list > :nth-child(3) {
    animation-delay: 42ms;
  }

  .event-list > :nth-child(n + 4),
  .ticket-list > :nth-child(n + 4),
  .payment-list > :nth-child(n + 4),
  .review-list > :nth-child(n + 4) {
    animation-delay: 56ms;
  }

  .quantity output {
    animation: soft-pop 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
}

.section-card {
  padding: 0;
  margin-bottom: 1rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.section-card.compact {
  padding-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.section-heading p {
  max-width: 32rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.event-list,
.ticket-list,
.payment-list,
.review-list {
  display: grid;
  gap: 0.55rem;
}

.event-option,
.ticket-row,
.payment-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(20, 23, 31, 0.03);
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease,
    background-color 140ms ease;
}

.event-option:hover,
.ticket-row:hover,
.payment-row:hover {
  border-color: rgba(15, 76, 129, 0.28);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.event-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  padding: 0.8rem;
  color: var(--text);
  text-align: left;
}

.event-option.is-selected,
.payment-row.is-selected {
  border-color: var(--brand);
  background: var(--accent);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.event-option-date {
  display: grid;
  width: 3rem;
  overflow: hidden;
  border-radius: 6px;
  background: var(--accent);
  text-align: center;
}

.event-option-date span {
  padding: 0.22rem;
  background: var(--ink);
  color: var(--brand-ink);
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.event-option-date strong {
  padding: 0.3rem 0.25rem;
  color: var(--brand-strong);
  font-size: 1.05rem;
  line-height: 1;
}

.event-option-copy {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
}

.event-option-copy strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-option-copy span,
.event-option-meta,
.ticket-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.event-option-meta {
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  background: var(--surface-soft);
  color: var(--muted);
  white-space: nowrap;
}

.ticket-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.875rem;
}

.ticket-row h3 {
  margin-bottom: 0.15rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.ticket-row.is-muted {
  background: rgba(255, 255, 255, 0.62);
}

.ticket-row.is-muted h3,
.ticket-row.is-muted .price {
  color: var(--muted);
}

.ticket-meta {
  margin-bottom: 0;
}

.price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: baseline;
  margin-top: 0.45rem;
  color: var(--ink);
  font-weight: 850;
}

.price span {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 700;
}

.quantity {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.quantity button {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand-ink);
  font-weight: 850;
}

.quantity .seat-button {
  width: auto;
  min-width: 7.25rem;
  border-radius: 999px;
  padding: 0 0.85rem;
  background: var(--brand);
  font-size: 0.78rem;
  font-weight: 500;
}

.ticket-status-badge {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 0.8rem;
  background: rgba(20, 23, 31, 0.08);
  color: rgba(20, 23, 31, 0.56);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.quantity button:disabled {
  background: rgba(20, 23, 31, 0.12);
  color: rgba(20, 23, 31, 0.36);
  cursor: not-allowed;
}

.quantity button.is-pending {
  opacity: 0.62;
  pointer-events: none;
}

.quantity output {
  min-width: 1.25rem;
  text-align: center;
  font-weight: 850;
}

.terms-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.875rem;
  margin-top: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.8rem;
}

.terms-row input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  accent-color: var(--brand);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.form-grid .section-heading,
.span-2 {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
}

.field-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
}

.phone-control {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.42fr) minmax(0, 1fr);
  gap: 0.55rem;
}

.phone-control label {
  gap: 0.25rem;
}

.phone-control label span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metadata-fields {
  display: grid;
  gap: 0.75rem;
}

.metadata-field small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.metadata-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.metadata-check input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  accent-color: var(--brand);
}

.metadata-check small {
  grid-column: 2;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input:not([type]),
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.82rem 0.875rem;
  background: var(--surface);
  color: var(--text);
  outline: none;
  box-shadow: 0 1px 0 rgba(20, 23, 31, 0.03);
}

input:focus {
  border-color: var(--brand);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) 50%,
    calc(100% - 0.85rem) 50%;
  background-size:
    0.3rem 0.3rem,
    0.3rem 0.3rem;
  background-repeat: no-repeat;
}

.payment-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
}

.payment-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  background: var(--accent);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 850;
}

.payment-row h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 0.92rem;
}

.payment-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.review-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.875rem;
  border-bottom: 1px solid var(--line);
}

.review-row:last-child {
  border-bottom: 0;
}

.review-row span {
  color: var(--muted);
}

.review-row strong {
  color: var(--ink);
}

.order-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, var(--layout));
  margin: 0 auto;
  padding: 0.75rem 0.875rem calc(0.75rem + env(safe-area-inset-bottom));
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -12px 30px rgba(20, 23, 31, 0.12);
  backdrop-filter: blur(18px);
}

.cart-count,
.timer {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.79rem;
}

.timer strong {
  color: var(--danger);
}

.order-total {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.order-total span {
  min-width: 5.15rem;
  color: var(--ink);
  text-align: right;
  font-weight: 850;
}

.order-total button,
.result-card button {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1rem;
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 8px 18px rgba(15, 76, 129, 0.24);
  font-weight: 850;
}

.order-total button:disabled {
  background: rgba(20, 23, 31, 0.14);
  color: rgba(20, 23, 31, 0.45);
  box-shadow: none;
  cursor: not-allowed;
}

.result-dialog {
  width: min(100% - 2rem, 28rem);
  border: 0;
  padding: 0;
  background: transparent;
}

.seat-dialog {
  width: min(100% - 1rem, 72rem);
  height: min(100% - 1rem, 48rem);
  border: 0;
  padding: 0;
  background: transparent;
}

.result-dialog::backdrop,
.seat-dialog::backdrop {
  background: rgba(20, 23, 31, 0.62);
  backdrop-filter: blur(4px);
}

.seat-shell {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.seat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.seat-header h2 {
  margin-bottom: 0;
}

.seat-header button {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 23, 31, 0.08);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
}

.seat-chart {
  min-height: 26rem;
}

.result-card {
  padding: 1.75rem;
  text-align: center;
}

.success-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: rgba(2, 122, 72, 0.12);
  color: var(--success);
  font-size: 1.5rem;
  font-weight: 850;
}

.is-error {
  color: var(--danger);
}

@media (max-width: 620px) {
  :root {
    --bar: 5.25rem;
  }

  .app {
    padding: 0.5rem 0.5rem calc(var(--bar) + 1.75rem);
  }

  .brand-header {
    padding: 0.65rem 0;
  }

  .event-card {
    margin-bottom: 0.6rem;
  }

  .steps {
    top: 3.45rem;
    gap: 0.25rem;
    padding: 0.25rem;
  }

  .step {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.2rem;
    padding: 0.45rem 0.2rem;
    font-size: 0.68rem;
  }

  .event-option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .event-option-meta {
    grid-column: 2;
    justify-self: start;
  }

  .ticket-row {
    grid-template-columns: 1fr;
  }

  .quantity {
    justify-content: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .empty-form {
    grid-template-columns: 1fr;
  }

  .empty-form button {
    min-height: 2.75rem;
  }

  .phone-control {
    grid-template-columns: 1fr;
  }

  .order-bar {
    align-items: center;
  }

  .order-total {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
  }

  .order-total button {
    padding: 0.72rem 0.9rem;
  }
}

/* Weeztix-style ticket-first shop */
:root {
  --brand: #006aff;
  --brand-strong: #0054cc;
  --brand-ink: #ffffff;
  --ink: #111827;
  --text: #1f2937;
  --muted: #6b7280;
  --faint: #9ca3af;
  --line: #e5e7eb;
  --canvas: #f1f2f4;
  --surface: #ffffff;
  --accent: #f4f7fb;
  --shadow-soft: none;
  --radius: 0;
  --layout: 46rem;
  --bar: 6.25rem;
}

body.ot-document {
  background: var(--canvas);
  color: var(--text);
  font-family:
    "Suisse Intl", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body.ot-document button:focus-visible,
body.ot-document input:focus-visible,
body.ot-document select:focus-visible {
  outline-color: rgba(0, 106, 255, 0.24);
}

.app {
  width: min(100%, var(--layout));
  padding: 1rem 0.75rem calc(var(--bar) + 2rem);
}

.shop-topbar {
  display: grid;
  min-height: 3rem;
  grid-template-columns: 5rem 1fr 5rem;
  align-items: center;
  margin-bottom: 0.45rem;
}

.back-link {
  grid-column: 1;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.step-title {
  grid-column: 2;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 760;
  text-align: center;
  white-space: nowrap;
}

.step-title span {
  color: var(--muted);
  font-weight: 620;
}

.ticket-page {
  display: grid;
  gap: 0.75rem;
}

.live-status {
  min-height: 1.1rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.ticket-list {
  gap: 0.75rem;
}

.event-ticket-card {
  overflow: hidden;
  background: var(--surface);
}

.event-ticket-header {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.weeztix-date {
  display: grid;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}

.weeztix-date span {
  padding: 0.28rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
  text-transform: uppercase;
}

.weeztix-date strong {
  padding: 0.35rem 0.25rem 0.45rem;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
}

.event-ticket-copy {
  min-width: 0;
}

.event-ticket-copy h2 {
  margin: 0 0 0.18rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 760;
}

.event-ticket-copy p {
  margin: 0.08rem 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.event-ticket-copy button {
  border: 0;
  padding: 0.25rem 0 0;
  background: transparent;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
}

.event-ticket-rows {
  display: grid;
}

.ticket-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 5.5rem;
  gap: 0.85rem;
  align-items: center;
  padding: 0.88rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}

.ticket-row:last-child {
  border-bottom: 0;
}

.ticket-row:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.ticket-copy {
  min-width: 0;
}

.ticket-row h3 {
  margin: 0 0 0.22rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 720;
}

.ticket-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.ticket-description {
  margin: 0.2rem 0 0;
  color: var(--faint);
  font-size: 0.76rem;
  line-height: 1.35;
}

.quantity {
  gap: 0.5rem;
  justify-content: center;
}

.quantity button {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}

.quantity button:not(:disabled):hover {
  border-color: var(--brand);
  color: var(--brand);
}

.quantity button:disabled {
  background: #f3f4f6;
  color: #c4c7cc;
}

.quantity output {
  width: 1.65rem;
  min-width: 1.65rem;
  color: var(--ink);
  text-align: center;
  font-weight: 650;
}

.quantity .seat-button {
  min-width: 5.25rem;
  height: 2rem;
  border-radius: 64px;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 0.78rem;
  font-weight: 500;
}

.ticket-status-badge {
  min-height: 2rem;
  font-size: 0.78rem;
}

.ticket-line-total {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 720;
  text-align: right;
  white-space: nowrap;
}

.promo-row {
  display: grid;
  gap: 0.65rem;
  padding: 0.95rem 1rem;
  background: var(--surface);
}

.promo-row button {
  width: max-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 720;
}

.promo-row input {
  border-radius: 0;
}

.terms-row {
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0.95rem 1rem;
  background: var(--surface);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 520;
}

.terms-row input {
  accent-color: var(--brand);
}

.section-card {
  padding: 1rem;
  background: var(--surface);
}

.order-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  width: min(100%, var(--layout));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
  align-items: center;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.08);
  backdrop-filter: none;
}

.powered-by {
  grid-column: 1;
  color: var(--faint);
  font-size: 0.72rem;
  line-height: 1.2;
}

.powered-by strong {
  color: var(--muted);
  font-weight: 760;
}

.cart-count {
  display: none;
}

.timer {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.76rem;
}

.order-total {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 0.7rem;
  align-items: center;
}

.order-total span {
  min-width: 0;
  color: var(--ink);
  text-align: left;
  font-size: 0.95rem;
  font-weight: 760;
}

.order-total button {
  min-width: 6.5rem;
  border-radius: 64px;
  padding: 0.82rem 1.25rem;
  background: var(--brand);
  box-shadow: none;
  color: var(--brand-ink);
  font-weight: 760;
}

.order-total button:disabled {
  background: #d7dbe1;
  color: #ffffff;
}

@media (max-width: 620px) {
  :root {
    --bar: 7.2rem;
  }

  .app {
    padding: 0.55rem 0.55rem calc(var(--bar) + 1.1rem);
  }

  .shop-topbar {
    grid-template-columns: 4.25rem 1fr 4.25rem;
    min-height: 2.75rem;
  }

  .ticket-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ticket-line-total {
    grid-column: 1 / -1;
    text-align: right;
  }

  .order-bar {
    grid-template-columns: 1fr;
  }

  .order-total {
    grid-row: auto;
    grid-column: 1;
    grid-template-columns: auto 1fr auto;
    width: 100%;
  }

  .order-total span:nth-child(2) {
    text-align: right;
  }

  .order-total button {
    min-width: 5.75rem;
    padding: 0.78rem 1rem;
  }
}

/* Final Weeztix parity pass */
:root {
  --brand: #006aff;
  --ink: #000000;
  --text: #000000;
  --muted: #4d545d;
  --faint: #a0a5ad;
  --line: #edf0f2;
  --canvas: #f1f2f4;
  --surface: #ffffff;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.11), 0 10px 24px rgba(0, 0, 0, 0.04);
  --layout: 480px;
  --bar: 0rem;
}

html,
body.ot-document {
  background: var(--canvas);
}

body.ot-document {
  color: var(--ink);
  font-family:
    "Suisse Intl", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

body.ot-document button {
  letter-spacing: 0;
}

.app {
  width: min(100% - 24px, var(--layout));
  max-width: var(--layout);
  padding: 40px 0;
}

.shop-topbar {
  display: grid;
  height: 32px;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  margin: 0 0 24px;
}

.back-link {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(3px);
}

.back-link::before {
  content: "‹";
  margin-right: 6px;
  font-size: 32px;
  line-height: 0.7;
  transform: translateY(-3px);
}

.step-title {
  grid-column: 1 / -1;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.back-link:not([hidden]) + .step-title {
  grid-column: 2;
}

.step-title span {
  color: rgba(0, 0, 0, 0.45);
  font-weight: 400;
}

.page.is-active {
  display: grid;
  gap: 16px;
}

.ticket-page,
.ticket-list,
.event-ticket-rows,
.payment-list,
.review-list {
  display: grid;
  gap: 16px;
}

.event-switcher {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
}

.event-switcher-title {
  color: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.event-switcher-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.event-switcher-list button {
  display: grid;
  min-width: 150px;
  max-width: 190px;
  gap: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 7px;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  text-align: left;
  box-shadow: none;
}

.event-switcher-list button.is-selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.event-switcher-list button span {
  color: rgba(0, 0, 0, 0.58);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.event-switcher-list button strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-list {
  display: grid;
  gap: 16px;
}

.event-option {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  background: #fff;
  color: #000;
  text-align: left;
  box-shadow: var(--card-shadow);
}

.event-option-main {
  display: grid;
  min-width: 0;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  box-shadow: none;
}

.event-option-main:hover,
.event-option-main:active {
  transform: none;
}

.event-option:hover {
  border-color: rgba(0, 0, 0, 0.04);
  box-shadow: var(--card-shadow);
  transform: none;
}

.event-option.is-selected {
  border-color: rgba(0, 0, 0, 0.04);
  background: #fff;
  box-shadow: var(--card-shadow);
}

.event-option-date {
  display: grid;
  width: 44px;
  height: 47px;
  align-self: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #fff;
  text-align: center;
}

.event-option-date span {
  padding: 5px 3px 0;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.event-option-date strong {
  padding: 0 3px 6px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
}

.event-option-date.event-icon,
.weeztix-date.event-icon {
  height: 44px;
  border-radius: 4px;
  background: #e9edf3;
}

.event-option-date.event-icon img,
.weeztix-date.event-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.event-option-date.event-icon-fallback,
.weeztix-date.event-icon-fallback {
  place-items: center;
  color: rgba(0, 0, 0, 0.58);
  font-size: 13px;
  font-weight: 800;
}

.event-option-date.event-icon-fallback span,
.weeztix-date.event-icon-fallback span {
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  text-transform: uppercase;
}

.event-option-copy {
  display: grid;
  align-self: center;
  min-width: 0;
  gap: 3px;
}

.event-option-copy strong {
  overflow: hidden;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-option-copy span {
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  line-height: 1.35;
}

.event-location-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.045);
  color: rgba(0, 0, 0, 0.56);
  box-shadow: none;
}

.event-location-toggle[aria-expanded="true"] {
  background: rgba(0, 106, 255, 0.1);
  color: var(--brand);
}

.event-location-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.event-location-panel {
  display: grid;
  grid-column: 1 / -1;
  gap: 6px;
  margin-top: 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 12px;
  color: rgba(0, 0, 0, 0.58);
  font-size: 13px;
  line-height: 1.35;
}

.event-location-panel a {
  width: max-content;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.ticket-list {
  gap: 16px;
}

.shop-card,
.event-ticket-card {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.event-ticket-card {
  display: grid;
  gap: 0;
}

.event-ticket-header {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 20px 16px;
  border-bottom: 0;
}

.weeztix-date {
  width: 40px;
  height: 43px;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #fff;
}

.weeztix-date span {
  padding: 5px 3px 0;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.weeztix-date strong {
  padding: 0 3px 6px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
}

.event-ticket-copy h2 {
  margin: 0 0 4px;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.event-ticket-copy p {
  margin: 2px 0;
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  line-height: 1.35;
}

.event-ticket-location-toggle {
  align-self: center;
}

.event-ticket-location-panel {
  grid-column: 2 / -1;
  margin-top: -4px;
}

.event-description-frame {
  position: relative;
  width: calc(100% - 40px);
  height: 200px;
  margin: 0 20px;
  overflow: hidden;
  transition: height 180ms ease;
}

.event-ticket-card.is-expanded .event-description-frame {
  height: 315px;
}

.event-description-frame::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  content: "";
  pointer-events: none;
}

.event-ticket-card.is-expanded .event-description-frame::after {
  display: none;
}

.event-ticket-image {
  display: block;
  width: 100%;
  height: 315px;
  object-fit: cover;
}

.event-show-more {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 18px 0 28px;
  background: transparent;
  color: rgba(0, 106, 255, 0.62);
  font-size: 14px;
  font-weight: 700;
}

.event-show-more span {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.event-show-more[aria-expanded="true"] span {
  transform: translateY(3px) rotate(225deg);
}

.event-ticket-rows {
  gap: 0;
}

.ticket-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px 82px;
  column-gap: 12px;
  row-gap: 0;
  min-height: 79px;
  align-items: center;
  padding: 16px 20px;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.035);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.ticket-copy {
  display: grid;
  grid-column: 1;
  grid-row: 1 / span 2;
  gap: 2px;
  align-self: center;
}

.quantity {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.ticket-row:hover {
  border-top-color: rgba(0, 0, 0, 0.035);
  box-shadow: none;
  transform: none;
}

.ticket-row h3 {
  margin: 0;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.18;
}

.ticket-meta {
  color: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  line-height: 1.2;
}

.shop-loader {
  display: grid;
  min-height: 132px;
  place-items: center;
}

.shop-loader span {
  display: block;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: shop-loader-spin 720ms linear infinite;
}

@keyframes shop-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.ticket-description {
  display: none;
}

.quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.quantity button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  padding: 0 0 2px;
  background: var(--brand);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.quantity button[data-ticket-dec] {
  background: rgba(0, 0, 0, 0.15);
  color: var(--muted);
}

.quantity button:disabled {
  background: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.18);
}

.quantity output {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  min-width: 16px;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.ticket-line-total {
  display: grid;
  grid-column: 3;
  grid-row: 1 / span 2;
  gap: 2px;
  align-content: center;
  justify-content: flex-end;
  align-self: center;
  color: rgba(0, 0, 0, 0.08);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
  transition: color 140ms ease;
}

.ticket-line-total strong {
  color: inherit;
  font: inherit;
}

.ticket-line-unit {
  color: rgba(0, 0, 0, 0.48);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.1;
}

.ticket-row.has-quantity .ticket-line-total {
  color: #000;
  font-size: 15px;
  font-weight: 700;
}

.ticket-line-total.is-loading {
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ticket-line-loader {
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: shop-loader-spin 720ms linear infinite;
}

.terms-row {
  min-height: 60px;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  background: #fff;
}

.promo-row button {
  color: #000;
  font-size: 14px;
  font-weight: 400;
}

.promo-row button::before {
  content: "+";
  margin-right: 10px;
  color: rgba(0, 0, 0, 0.5);
}

.terms-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  cursor: pointer;
}

.terms-row a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.terms-row input {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-content: center;
  margin: 0;
  border: 1.5px solid rgba(0, 0, 0, 0.16);
  border-radius: 6px;
  appearance: none;
  background: #fff;
  transition:
    border-color 140ms ease,
    background-color 140ms ease,
    box-shadow 140ms ease;
}

.terms-row input::before {
  width: 11px;
  height: 7px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg);
}

.terms-row input:checked {
  border-color: var(--brand);
  background: var(--brand);
}

.terms-row input:checked::before {
  opacity: 1;
}

.terms-row input:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 106, 255, 0.16);
  outline: 0;
}

.shop-toast {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: 50%;
  width: min(calc(100vw - 24px), var(--layout));
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  background: var(--brand);
  box-shadow: 0 10px 28px rgba(0, 106, 255, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.shop-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.shop-toast.is-error {
  background: #df2f2f;
  box-shadow: 0 10px 28px rgba(223, 47, 47, 0.2);
}

.section-card {
  padding: 20px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.form-grid label,
.metadata-field,
.field-label {
  display: block;
  color: #000;
  font-size: 14px;
  font-weight: 500;
}

.form-grid label span {
  color: #ff6b6b;
  margin-left: 4px;
}

.form-grid input,
.metadata-field input,
.metadata-field select,
.phone-control {
  margin-top: 8px;
}

.form-grid input,
.form-grid select,
.metadata-field input,
.metadata-field select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input:not([type]),
select {
  height: 42px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 7px;
  padding: 9px 12px;
  background: transparent;
  color: #000;
  font-size: 16px;
  box-shadow: none;
}

.span-2,
.metadata-fields {
  grid-column: 1 / -1;
}

.phone-group {
  display: grid;
  gap: 4px;
}

.phone-group .field-label {
  margin-bottom: 0;
}

.phone-control {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 8px;
  margin-top: 0;
}

.phone-control select {
  margin-top: 0;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.025);
  color: #000;
  font-size: 14px;
  font-weight: 500;
}

.phone-control input {
  margin-top: 0;
  border-radius: 7px;
}

.phone-control--intl {
  display: block;
  margin-top: 0;
}

.phone-control--intl .iti {
  display: block;
  width: 100%;
}

.phone-control--intl .iti input,
.phone-control--intl input[type="tel"] {
  width: 100%;
  margin-top: 0;
  border-radius: 7px;
}

.phone-control--intl .iti__selected-country {
  border-radius: 7px 0 0 7px;
}

.phone-control--intl .iti__country-container {
  font-size: 14px;
}

.iti__dropdown-content,
.iti__country-list {
  z-index: 10000;
}

.iti--container {
  z-index: 10000;
}

.iti--detached-country-selector {
  z-index: 10000;
}

body[data-step="details"] .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: visible;
  border-radius: 7px;
  background: #fff;
}

body[data-step="details"] .shop-info-field,
body[data-step="details"] .form-grid > label,
body[data-step="details"] .metadata-field {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 15px 18px;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.055);
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
}

body[data-step="details"] .metadata-field:last-child,
body[data-step="details"] .metadata-fields .metadata-field:last-child {
  border-bottom: 0;
}

body[data-step="details"] .metadata-fields {
  display: grid;
  grid-column: 1 / -1;
  gap: 0;
}

body[data-step="details"] .field-label,
body[data-step="details"] .shop-info-field .field-label,
body[data-step="details"] .form-grid > label {
  color: rgba(0, 0, 0, 0.72);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

body[data-step="details"] .field-required {
  margin-left: 4px;
  color: #ff6b6b;
  font-weight: 500;
}

body[data-step="details"] .form-grid input,
body[data-step="details"] .form-grid select,
body[data-step="details"] .form-grid textarea,
body[data-step="details"] .shop-info-field input,
body[data-step="details"] .metadata-field input,
body[data-step="details"] .metadata-field select,
body[data-step="details"] .metadata-field textarea {
  width: 100%;
  min-height: 44px;
  margin: 0;
  border: 1.5px solid rgba(0, 0, 0, 0.105);
  border-radius: 7px;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  box-shadow: none;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

body[data-step="details"] .form-grid textarea,
body[data-step="details"] .metadata-field textarea {
  min-height: 92px;
  resize: vertical;
}

body[data-step="details"] .form-grid input:focus,
body[data-step="details"] .form-grid select:focus,
body[data-step="details"] .form-grid textarea:focus,
body[data-step="details"] .metadata-field input:focus,
body[data-step="details"] .metadata-field select:focus,
body[data-step="details"] .metadata-field textarea:focus {
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.08);
}

body[data-step="details"] .metadata-field select,
body[data-step="details"] .form-grid select {
  appearance: none;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(0, 0, 0, 0.45) 50%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.45) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

body[data-step="details"] .metadata-field small {
  margin-top: -2px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

body[data-step="details"] .metadata-check {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-radius: 0;
  background: #fff;
}

body[data-step="details"] .metadata-check input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 1px;
  border: 1.5px solid rgba(0, 0, 0, 0.16);
  border-radius: 4px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

body[data-step="details"] .metadata-check input::before {
  content: "";
  width: 9px;
  height: 5px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  opacity: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

body[data-step="details"] .metadata-check input:checked {
  border-color: var(--brand);
  background: var(--brand);
}

body[data-step="details"] .metadata-check input:checked::before {
  opacity: 1;
}

body[data-step="details"] .metadata-check input:focus-visible {
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.12);
}

body[data-step="details"] .metadata-check span {
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

body[data-step="details"] .metadata-check small {
  grid-column: 2;
}

body[data-step="details"] .phone-group {
  gap: 8px;
}

body[data-step="details"] .phone-control--intl,
body[data-step="details"] .phone-control--intl .iti {
  width: 100%;
}

body[data-step="details"] .phone-control--intl .iti input {
  padding-left: var(--iti-input-padding);
}

body[data-step="details"] .metadata-other-input[hidden] {
  display: none;
}

.payment-card {
  padding: 0;
}

.payment-list {
  gap: 0;
}

.payment-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 73px;
  padding: 16px 24px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 0;
  background: #fff;
}

.payment-row.is-selected {
  border-color: rgba(0, 0, 0, 0.04);
  background: rgba(0, 0, 0, 0.03);
  box-shadow: none;
}

.payment-icon {
  display: grid;
  width: 32px;
  height: 40px;
  place-items: center;
  border-radius: 0;
  background: transparent;
}

.payment-icon img {
  display: block;
  width: 32px;
  max-height: 32px;
  object-fit: contain;
}

.payment-row h3 {
  margin: 0;
  color: #000;
  font-size: 16px;
  font-weight: 700;
}

.ticket-recipient {
  margin: 0;
  padding: 16px 24px;
  color: rgba(0, 0, 0, 0.58);
  font-size: 12px;
}

.review-card {
  padding: 0;
}

.review-list {
  gap: 0;
  border: 0;
  border-radius: 0;
}

.cart-review {
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}

.cart-review-header {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  gap: 16px;
  align-items: center;
  border: 0;
  padding: 16px 18px;
  background: #fff;
  color: #000;
  text-align: left;
  cursor: pointer;
}

.cart-review-header-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cart-review-header-title strong {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.cart-review-header-title span {
  color: rgba(0, 0, 0, 0.48);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.cart-review-header-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 16px;
  gap: 8px;
  align-items: center;
  min-width: 0;
  justify-self: end;
}

.cart-review-total-label {
  max-width: 210px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  text-align: right;
}

.cart-review-total-label span {
  color: rgba(0, 0, 0, 0.64);
}

.cart-review-header-total strong {
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.cart-review-toggle-icon {
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(0, 0, 0, 0.32);
  border-bottom: 2px solid rgba(0, 0, 0, 0.32);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.cart-review.is-expanded .cart-review-toggle-icon {
  transform: rotate(225deg) translateY(-1px);
}

.cart-review-content {
  border-top: 1px solid rgba(0, 0, 0, 0.055);
}

.cart-review-event {
  display: grid;
  gap: 0;
}

.cart-review-event + .cart-review-event,
.cart-review-breakdown {
  border-top: 1px solid rgba(0, 0, 0, 0.055);
}

.cart-review-event-header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
}

.cart-review-event-icon {
  display: block;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.04);
}

.cart-review-event-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-review-event-icon.event-icon-fallback {
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.cart-review-event-header span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cart-review-event-header strong {
  overflow: hidden;
  color: #000;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-review-event-header small {
  color: rgba(0, 0, 0, 0.54);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.cart-review-ticket-list {
  border-top: 1px solid rgba(0, 0, 0, 0.055);
}

.cart-review-ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
}

.cart-review-ticket + .cart-review-ticket {
  border-top: 1px solid rgba(0, 0, 0, 0.055);
}

.cart-review-ticket-copy,
.cart-review-ticket-price {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cart-review-ticket-copy strong {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.cart-review-ticket-copy small,
.cart-review-ticket-price small {
  color: rgba(0, 0, 0, 0.48);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.cart-review-ticket-price {
  justify-items: end;
  text-align: right;
}

.cart-review-ticket-price strong {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.cart-review-breakdown {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
}

.cart-review-breakdown > span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.cart-review-breakdown small {
  color: rgba(0, 0, 0, 0.54);
  font-size: 13px;
  font-weight: 500;
}

.cart-review-breakdown em {
  font-style: normal;
}

.cart-review-breakdown strong {
  color: #000;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.cart-review-breakdown-total {
  margin-top: 3px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.055);
}

.cart-review-breakdown-total small {
  color: #000;
  font-size: 15px;
  font-weight: 700;
}

.cart-review-breakdown-total strong {
  font-size: 20px;
  font-weight: 700;
}

.review-heading,
.review-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}

.review-heading h2 {
  margin: 0;
  font-size: 18px;
}

.review-heading span,
.review-row span {
  color: rgba(0, 0, 0, 0.58);
}

.review-row {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.order-bar {
  position: static;
  display: grid;
  width: 100%;
  gap: 0;
  margin-top: 16px;
  margin-bottom: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--card-shadow);
  overflow: visible;
  position: relative;
}

.order-total {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  align-items: center;
  padding: 20px;
  width: 100%;
}

.order-total span:first-child {
  grid-column: 1;
  color: #000;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.order-total span:nth-child(2) {
  grid-column: 1;
  color: #000;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.order-total button {
  grid-row: 1 / span 2;
  grid-column: 2;
  min-width: 113px;
  height: 48px;
  border: 0;
  border-radius: 24px;
  padding: 0 22px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  box-shadow: none;
}

.order-total button::after {
  content: "›";
  margin-left: 10px;
  font-size: 28px;
  line-height: 0;
  vertical-align: -2px;
}

.order-total button:disabled {
  background: var(--brand);
  color: #fff;
  opacity: 0.45;
}

.timer {
  grid-column: 1 / -1;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding: 18px 20px;
  color: #000;
  font-size: 14px;
  text-align: center;
}

.shop-brand-footer {
  display: flex;
  width: max-content;
  margin: 26px auto 0;
  opacity: 0.76;
  transition: opacity 160ms ease;
}

.shop-brand-footer:hover {
  opacity: 1;
}

.shop-brand-footer img {
  display: block;
  width: 92px;
  height: auto;
}

body[data-step="payment"] .order-total {
  grid-template-columns: 1fr;
}

body[data-step="payment"] .order-total button {
  grid-row: auto;
  grid-column: 1;
  width: 100%;
  margin-top: 8px;
  border-radius: 3px;
}

body[data-step="events"] .order-bar {
  display: none;
}

@media (max-width: 620px) {
  .app {
    width: min(100% - 20px, var(--layout));
    padding: 32px 0;
  }

  .shop-topbar {
    grid-template-columns: 92px 1fr 92px;
    margin-bottom: 28px;
  }

  .ticket-row {
    grid-template-columns: minmax(0, 1fr) 104px 74px;
    column-gap: 8px;
    row-gap: 3px;
    padding: 16px;
  }

  .quantity {
    gap: 10px;
  }

  .ticket-line-total {
    grid-column: 3;
    grid-row: 1 / span 2;
    text-align: right;
  }

  .event-description-frame {
    width: calc(100% - 32px);
    height: 170px;
    margin: 0 16px;
  }

  .event-ticket-card.is-expanded .event-description-frame {
    height: 260px;
  }

  .event-ticket-image {
    height: 260px;
  }

  .event-option {
    padding: 18px 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cart-review-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cart-review-header-total {
    width: 100%;
    justify-self: stretch;
  }

  .cart-review-total-label {
    max-width: none;
    text-align: left;
  }

  .cart-review-ticket {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cart-review-ticket-price {
    justify-items: start;
    text-align: left;
  }

}
