/* Progreso checkout — cargado explícitamente desde tickets.html */
.checkout-rail {
  position: sticky;
  top: var(--topbar-h, 56px);
  z-index: 30;
  margin: 0 0 1.75rem;
  padding: 1rem 0 1rem;
  background: var(--void, #000);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.checkout-rail-track {
  position: relative;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 1rem;
  overflow: hidden;
}

.checkout-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: #f5f5f5;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.checkout-steps {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.checkout-steps::-webkit-scrollbar {
  display: none;
}

.checkout-steps > li,
.checkout-steps > .checkout-step {
  flex: 1 1 0;
  min-width: 4.25rem;
}

button.checkout-step,
.checkout-step {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  display: block;
  background: transparent !important;
  border: none;
  border-top: 2px solid transparent;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0.7rem 0.4rem 0.15rem;
  margin: 0;
  text-align: left;
  color: #8a8a8a;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  transition: color 0.2s, border-color 0.25s, opacity 0.2s;
}

button.checkout-step:disabled,
.checkout-step:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  color: #8a8a8a;
}

button.checkout-step.is-reachable:not(:disabled),
.checkout-step.is-reachable:not(:disabled) {
  cursor: pointer;
  opacity: 1;
}

button.checkout-step.is-reachable:not(:disabled):hover,
.checkout-step.is-reachable:not(:disabled):hover {
  color: #f5f5f5;
  border-top-color: rgba(255, 255, 255, 0.45);
}

button.checkout-step.is-done:not(:disabled),
.checkout-step.is-done:not(:disabled) {
  border-top-color: rgba(232, 197, 71, 0.55);
  color: rgba(245, 245, 245, 0.72);
  opacity: 1;
}

button.checkout-step.is-done:not(:disabled):hover,
.checkout-step.is-done:not(:disabled):hover {
  color: #e8c547;
  border-top-color: #e8c547;
}

button.checkout-step.is-active,
.checkout-step.is-active {
  color: #f5f5f5;
  border-top-color: #f5f5f5;
  opacity: 1;
  cursor: default;
}

.checkout-step-idx {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}

.checkout-step-name {
  display: block;
  margin-top: 0.35rem;
  font-family: "Barlow", sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .checkout-step-name {
    letter-spacing: 0.08em;
    font-size: 0.52rem;
  }

  .checkout-steps > li,
  .checkout-steps > .checkout-step {
    min-width: 3.6rem;
  }

}
