/* ─────────────────────────────────────────────────────────
   Seletor de ingressos — réplica fiel do seletor Fever
   (card "Selecione a data e opção" + barra fixa de compra)
   ───────────────────────────────────────────────────────── */

.sel {
  border: 1px solid #e6e8ea;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 20, 24, .04);
}

.sel__head {
  padding: 14px 16px;
  border-bottom: 1px solid #e6e8ea;
}
.sel__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #0b1418;
}

.sel__body { padding: 12px 16px 16px; }

/* imagem de descrição no topo do card */
.sel__media {
  margin: 0 0 10px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f7fa;
}
.sel__media img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  object-position: center 35%;
}

/* faixa "Sem taxas de reserva" */
.sel__note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #eef6ff;
  color: #0b4a6f;
  font-size: 12px;
  font-weight: 500;
}
.sel__note svg { width: 13px; height: 13px; fill: currentColor; flex: 0 0 auto; }

/* ── níveis (data / horário / setor) ───────────────────── */
.sel__level {
  position: relative;
  margin-bottom: 12px;
}

.sel__track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px 1px;
}
.sel__track::-webkit-scrollbar { display: none; }

/* setas laterais */
.sel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border: 1px solid #e6e8ea;
  border-radius: 50%;
  background: #fff;
  color: #0b1418;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(11, 20, 24, .16);
  transition: opacity .15s ease;
}
.sel__arrow svg { width: 9px; height: 9px; fill: currentColor; }
.sel__arrow--prev { left: -10px; }
.sel__arrow--next { right: -10px; }
.sel__arrow.is-hidden { opacity: 0; pointer-events: none; }

/* chip de data — 3 linhas com check */
.sel__date {
  position: relative;
  flex: 0 0 auto;
  min-width: 88px;
  padding: 8px 10px 9px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
  color: #0b1418;
}
.sel__date.is-selected {
  border: 2px solid #0b1418;
  padding: 7px 9px 8px;
}
.sel__date .check {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 11px;
  height: 11px;
  fill: #0b1418;
  display: none;
}
.sel__date.is-selected .check { display: block; }

/* chip de horário */
.sel__time {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 74px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #0b1418;
}
.sel__time.is-selected { border: 2px solid #0b1418; }
.sel__time .check { width: 11px; height: 11px; fill: #0b1418; display: none; }
.sel__time.is-selected .check { display: block; }

/* chips de setor */
.sel__chip {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #0b1418;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.sel__chip:hover { border-color: #9aa7ad; }
.sel__chip.is-selected {
  background: #fff;
  border: 2px solid #0b1418;
  color: #0b1418;
  padding: 0 15px;
}
.sel__chip .check { width: 11px; height: 11px; fill: currentColor; display: none; }
.sel__chip.is-selected .check { display: block; }
.sel__chip.is-off {
  border-style: dashed;
  color: #93a3ab;
  background: #fafbfb;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ── linhas de tipo de ingresso ────────────────────────── */
.sel__rows {
  margin-top: 2px;
  border-top: 1px solid #e6e8ea;
}

.sel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 2px;
  border-bottom: 1px solid #e6e8ea;
  transition: background .15s ease;
}
.sel__row.is-active { background: #fafbfb; }
.sel__row:last-child { border-bottom: 0; }

.sel__info { min-width: 0; }
.sel__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0b1418;
}
.sel__price {
  display: block;
  margin-top: 3px;
  font-size: 16px;
  font-weight: 700;
  color: #0b1418;
  font-variant-numeric: tabular-nums;
}
.sel__price.is-off { color: #a40038; font-size: 13px; font-weight: 600; }

.sel__more {
  display: inline-block;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: #0079ca;
  cursor: pointer;
  text-decoration: underline;
}
.sel__desc {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #536b75;
  max-width: 34ch;
}

/* stepper */
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.stepper button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #d4d4d4;
  border-radius: 50%;
  background: #fff;
  color: #0b1418;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.stepper button svg { width: 12px; height: 12px; fill: currentColor; }
.stepper button:hover:not(:disabled) { background: #f5f7fa; border-color: #9aa7ad; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper .count {
  min-width: 22px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #0b1418;
}

/* ── urgência + CTA do card ────────────────────────────── */
.sel__urgency {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #fff1f5;
  color: #9b0034;
  font-size: 12px;
  font-weight: 600;
}
.sel__urgency svg { width: 13px; height: 13px; fill: currentColor; flex: 0 0 auto; }

.sel__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  background: #0079ca;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease;
}
.sel__cta:hover { background: #0068b0; }
.sel__cta[aria-disabled="true"] {
  background: #cfd8dd;
  color: #5b6c74;
  pointer-events: none;
}

.sel__fine {
  margin: 9px 0 0;
  font-size: 11px;
  color: #536b75;
  text-align: center;
}

/* ── barra fixa de compra ──────────────────────────────── */
.sel-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid #e6e8ea;
  box-shadow: 0 -8px 24px rgba(11, 20, 24, .12);
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sel-bar.is-visible { transform: translateY(0); }

.sel-bar__urgency {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 11px;
  color: #536b75;
}
.sel-bar__urgency strong { color: #eb0052; font-weight: 700; }
.sel-bar__urgency span { color: #b9c3c9; }

.sel-bar__main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sel-bar__price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.sel-bar__from {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #536b75;
}
.sel-bar__price strong {
  font-size: 17px;
  font-weight: 700;
  color: #0b1418;
  font-variant-numeric: tabular-nums;
}
.sel-bar__price .old {
  font-size: 11px;
  color: #536b75;
  text-decoration: line-through;
}

.sel-bar__cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #0079ca;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.sel-bar__cta[aria-disabled="true"] { background: #cfd8dd; color: #5b6c74; pointer-events: none; }

@media (min-width: 62rem) {
  .sel-bar { display: none; }
}

/* seletor inline (mobile) — no desktop vive no rail */
.ingressos-inline { margin-top: 22px; }
@media (min-width: 62rem) { .ingressos-inline { display: none; } }

.ingressos-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: #536b75;
}
.ingressos-note a { text-decoration: underline; }

/* alertas */
.alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}
.alert--error { background: #fff0f4; color: #8c0031; border: 1px solid #ffd0de; }
.alert--info { background: #e6f4ff; color: #0b3a56; border: 1px solid #c9e6ff; }

/* hero — pill de venda */
.banner b { font-weight: 700; color: #fff; }
@media (max-width: 30rem) {
  .banner { font-size: .75rem; padding: .6rem .85rem; }
}
