html.lote-countdown-off [data-lote-countdown],
html.lote-countdown-off .lote-countdown-bar,
html.lote-countdown-off .lote-night-bar,
html.lote-countdown-off .lote-night-dialog,
html:not(.lote-last-day) [data-lote-hero],
html:not(.lote-last-day) .v2-offer__kicker,
html:not(.lote-last-day) .v2-plan__next,
html.lote-hold .v2-offer__price s,
html.lote-hold .v2-offer__loss,
html.lote-hold .v2-plan__next {
  display: none !important;
}

html.lote-countdown-bar-on {
  --lote-countdown-bar-h: 64px;
}

html.lote-countdown-bar-on body {
  padding-bottom: calc(var(--lote-countdown-bar-h) + env(safe-area-inset-bottom));
}

.lote-countdown-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  min-height: var(--lote-countdown-bar-h, 64px);
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
  color: #ffffff;
  background: linear-gradient(90deg, #1b123d 0%, #3a1a0a 55%, #5a2a08 100%);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.32);
}

.lote-countdown-bar[hidden] {
  display: none !important;
}

.lote-countdown-bar__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin: 0;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.lote-countdown-bar__label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 600;
}

.lote-countdown-bar__timer {
  color: #28e5ee;
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
}

.lote-countdown-bar__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 6px;
  color: #1b123d;
  background: #f49e12;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.lote-countdown-bar__cta:hover,
.lote-countdown-bar__cta:focus-visible {
  color: #1b123d;
  background: #ffb53a;
}

html.lote-countdown-bar-on .es-wa,
html.lote-countdown-bar-on typebot-bubble,
html.lote-countdown-bar-on typebot-standard {
  bottom: calc(var(--lote-countdown-bar-h) + 16px + env(safe-area-inset-bottom)) !important;
}

@media (max-width: 767px) {
  html.lote-countdown-bar-on {
    --lote-countdown-bar-h: 108px;
  }

  .lote-countdown-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    text-align: center;
  }

  .lote-countdown-bar__copy {
    flex: 1 1 100%;
    justify-content: center;
    font-size: 15px;
  }

  .lote-countdown-bar__label {
    font-size: 14px;
  }

  .lote-countdown-bar__timer {
    font-size: 17px;
  }

  .lote-countdown-bar__cta {
    flex: 1 0 100%;
    min-height: 44px;
  }
}

@media (min-width: 768px) {
  .lote-countdown-bar__timer {
    font-size: 20px;
  }

  .lote-countdown-bar__cta {
    min-height: 44px;
    padding-inline: 20px;
  }
}

html.lote-night-bar-on {
  --lote-night-top-h: 52px;
}

html.lote-night-bar-on .site-header {
  top: var(--lote-night-top-h);
}

html.lote-night-bar-on .language-switcher:not(.language-switcher--inline) {
  top: calc(var(--lote-night-top-h) + 116px + env(safe-area-inset-top));
}

.lote-night-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  min-height: var(--lote-night-top-h, 52px);
  padding: 10px 16px;
  color: #1b123d;
  background: #f49e12;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.lote-night-bar[hidden] {
  display: none !important;
}

.lote-night-bar__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lote-night-bar__copy {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.lote-night-bar__timer {
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.lote-night-bar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 6px;
  color: #ffffff;
  background: #1b123d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.lote-night-bar__cta:hover,
.lote-night-bar__cta:focus-visible {
  color: #ffffff;
  background: #5219d6;
}

.lote-night-dialog {
  inset: 0;
  width: min(calc(100% - 32px), 460px);
  height: fit-content;
  max-height: min(calc(100dvh - 32px), calc(100vh - 32px));
  margin: auto;
  padding: 28px 24px 24px;
  overflow: auto;
  border: 0;
  border-radius: 14px;
  color: #1b123d;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.lote-night-dialog:not([open]) {
  display: none;
}

.lote-night-dialog::backdrop {
  background: rgba(12, 7, 28, 0.72);
}

.lote-night-dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #1b123d;
  background: transparent;
  font-size: 28px;
  line-height: 1;
}

.lote-night-dialog__close:hover,
.lote-night-dialog__close:focus-visible {
  color: #ffffff;
  background: #5219d6;
}

.lote-night-dialog__eyebrow {
  margin: 0 0 10px;
  color: #c98500;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lote-night-dialog__title {
  margin: 0;
  font-size: clamp(22px, 4.4vw, 28px);
  font-weight: 900;
  line-height: 1.15;
}

.lote-night-dialog__text {
  margin: 12px 0 0;
  color: #3a3650;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.lote-night-dialog__timer {
  margin: 18px 0 0;
  color: #5219d6;
  font-size: 28px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  text-align: center;
}

.lote-night-dialog__enroll {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 22px;
  padding: 12px 16px;
  border-radius: 8px;
  color: #ffffff;
  background: #5219d6;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.lote-night-dialog__enroll:hover,
.lote-night-dialog__enroll:focus-visible {
  color: #ffffff;
  background: #6b45d9;
}

[data-lote-hero] {
  width: min(100%, 520px);
  margin: 18px auto 0;
  text-align: center;
}

[data-lote-hero] .hero-lote__kicker {
  margin: 0 0 8px;
  color: #f49e12;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.hero-section [data-lote-hero] .ingressos-countdown {
  margin-top: 0;
}

.hero-section [data-lote-hero] .ingressos-countdown__label,
.hero-section [data-lote-hero] .ingressos-countdown__caption {
  color: rgba(247, 244, 255, 0.82);
}

.hero-section [data-lote-hero] .ingressos-countdown__num {
  color: #1b123d;
  background: rgba(247, 244, 255, 0.94);
}

.hero-section [data-lote-hero] .ingressos-countdown__sep {
  color: #f49e12;
}

@media (max-width: 767px) {
  html.lote-night-bar-on {
    --lote-night-top-h: 96px;
  }

  .lote-night-bar {
    gap: 6px 10px;
    text-align: center;
  }

  .lote-night-bar__copy {
    flex: 1 1 100%;
    font-size: 13px;
  }

  .lote-night-bar__cta {
    flex: 1 0 100%;
    min-height: 40px;
  }
}
