html.lote-countdown-off [data-lote-countdown],
html.lote-countdown-off .lote-countdown-bar {
  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;
  }
}
