.rev-countdown-timer-clock {
  width: 100%;
  letter-spacing: -0.1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-4);
  color: var(--theme-fixed);
}

.rev-countdown-timer-cell {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  gap: var(--gap-6);
}

.rev-countdown-timer-value {
  position: relative;
  z-index: 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--font-size-1);
  font-size: max(14px, var(--font-size-1));
  padding: calc(var(--padding-1) - 6px);
  border-radius: var(--border-radius-large);
}

.rev-countdown-timer-value::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0.2;
  display: block;
  width: unset;
  height: unset;
  background-color: var(--base-1);
}

.rev-countdown-timer-label {
  text-align: center;
  font-size: var(--font-size-6);
  font-size: max(14px, var(--font-size-6));
}

.rev-countdown-timer-product.rev-campaign-container {
  border: none;
  gap: var(--cdt-product-page-gap-3-1);
  padding: var(--cdt-product-page-padding-1);
  border-radius: var(--cdt-product-page-border-radius-1);
  width: var(--cdt-product-page-width);
  background-color: var(--theme-color);
}

.rev-countdown-product-page-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: var(--cdt-product-page-gap-3-1);
}

.rev-countdown-product-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  letter-spacing: -0.1px;
  line-height: 1.2;
  font-size: var(--cdt-product-page-font-size-5);
  font-size: max(14px, var(--cdt-product-page-font-size-5));
  gap: var(--cdt-product-page-gap-6);
  color: var(--theme-fixed);
}

.rev-countdown-product-title {
  font-weight: 500;
  font-size: var(--cdt-product-page-font-size-3);
  font-size: max(14px, var(--cdt-product-page-font-size-3));
}

.rev-countdown-product-clock.rev-countdown-timer-clock {
  gap: var(--cdt-product-page-gap-4);
}

.rev-countdown-product-clock .rev-countdown-timer-cell {
  gap: var(--cdt-product-page-gap-6);
}

.rev-countdown-product-clock .rev-countdown-timer-value {
  font-size: var(--cdt-product-page-font-size-1);
  font-size: max(14px, var(--cdt-product-page-font-size-1));
  padding: calc(var(--cdt-product-page-padding-1) - 6px);
  border-radius: var(--cdt-product-page-border-radius-1);
}

.rev-countdown-product-clock .rev-countdown-timer-label {
  font-size: var(--cdt-product-page-font-size-6);
  font-size: max(14px, var(--cdt-product-page-font-size-6));
}

.rev-countdown-timer-inline.rev-campaign-container {
  background-color: transparent;
  align-items: center;
}
.rev-countdown-timer-inline.rev-campaign-container a.rev-admin-edit {
  right: unset;
  left: unset;
  top: -5px;
}

.rev-countdown-timer-container-inline {
  width: 100%;
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: var(--inline-gap-6);
}

.rev-countdown-inline-clock {
  position: relative;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.1px;
  font-size: var(--inline-font-size-6);
  font-size: max(14px, var(--inline-font-size-6));
  color: var(--theme-color);
}

.rev-countdown-progress .rev-progress-node {
  top: 50%;
  height: fit-content;
  width: fit-content;
  flex-shrink: 0;
  font-size: var(--inline-font-size-2);
  font-size: max(14px, var(--inline-font-size-2));
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1), right 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rev-countdown-progress .rev-progress-node[data-rev-state~=progress-no-transition],
.rev-countdown-progress .rev-progress-node.rev-progress-node--no-transition {
  transition: none;
}

.rev-countdown-timer-hellobar.rev-campaign-container {
  width: 100%;
  border-radius: 0;
  gap: 0;
  position: fixed;
  z-index: 999;
  left: 0;
  background-color: var(--theme-color);
}

.rev-countdown-top.rev-campaign-container {
  top: var(--revx-threshold-hellobar-stack-offset, 0px);
}

.rev-countdown-bottom.rev-campaign-container {
  bottom: var(--revx-threshold-hellobar-stack-offset, 0px);
}

.rev-countdown-timer-hellobar-content {
  width: 100%;
  border-radius: 0;
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cdt-hellobar-gap-1);
  padding: var(--cdt-hellobar-padding-container);
}

.rev-countdown-hellobar-mobile-header {
  display: none;
}

.rev-countdown-hellobar-header {
  width: fit-content;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  letter-spacing: -0.1px;
  line-height: 1.2;
  font-size: var(--cdt-hellobar-font-size-6);
  font-size: max(14px, var(--cdt-hellobar-font-size-6));
  gap: var(--cdt-hellobar-gap-6);
  color: var(--theme-fixed);
}

.rev-countdown-hellobar-title {
  font-weight: 500;
  font-size: var(--cdt-hellobar-font-size-5);
  font-size: max(14px, var(--cdt-hellobar-font-size-5));
}

.rev-countdown-hellobar-subtitle {
  letter-spacing: -0.1px;
  line-height: 1.2;
  font-size: var(--cdt-hellobar-font-size-6);
  font-size: max(14px, var(--cdt-hellobar-font-size-6));
  color: var(--theme-fixed);
}

.rev-countdown-hellobar-header .rev-countdown-hellobar-subtitle {
  display: none;
}

.rev-countdown-hellobar-clock.rev-countdown-timer-clock {
  gap: var(--cdt-hellobar-gap-4);
  max-width: var(--cdt-hellobar-clock-width);
}

.rev-countdown-hellobar-clock .rev-countdown-timer-cell {
  gap: var(--cdt-hellobar-gap-6);
}

.rev-countdown-hellobar-clock .rev-countdown-timer-value {
  font-size: var(--cdt-hellobar-font-size-2);
  font-size: max(14px, var(--cdt-hellobar-font-size-2));
  padding: calc(var(--cdt-hellobar-gap-6) * 2);
  border-radius: var(--cdt-hellobar-border-radius-1);
}

.rev-countdown-hellobar-clock .rev-countdown-timer-label {
  font-size: var(--cdt-hellobar-font-size-6);
  font-size: max(14px, var(--cdt-hellobar-font-size-6));
}

button.rev-countdown-action {
  width: fit-content;
  max-height: unset;
  min-height: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  border: none;
  line-height: 1.2;
  font-weight: 600;
  font-size: var(--cdt-hellobar-font-size-5);
  font-size: max(14px, var(--cdt-hellobar-font-size-5));
  min-width: var(--cdt-hellobar-action-min-width);
  border-radius: var(--cdt-hellobar-action-border-radius);
  padding: var(--cdt-hellobar-action-padding) calc(var(--cdt-hellobar-action-padding) * 2);
  color: var(--theme-color);
  background-color: var(--theme-fixed);
}

button.rev-countdown-action:hover {
  color: var(--theme-color);
  background-color: color-mix(in srgb, var(--theme-fixed) 50%, var(--base-4));
}

button.rev-countdown-action:active,
button.rev-countdown-action:focus,
button.rev-countdown-action:focus-visible {
  outline: none;
  box-shadow: none;
  border: none;
  color: var(--theme-color);
  background-color: var(--theme-fixed);
}

button.rev-countdown-close {
  text-decoration: none !important;
  border: none;
  border-radius: 0;
  width: fit-content;
  height: fit-content;
  min-width: unset;
  min-height: unset;
  max-height: unset;
  cursor: pointer;
  padding: 0;
  background-color: transparent;
  position: absolute;
  top: 4px;
  right: 4px;
  line-height: 0;
  font-size: var(--cdt-hellobar-close);
  font-size: max(14px, var(--cdt-hellobar-close));
  color: var(--theme-fixed);
}

button.rev-countdown-close:hover {
  background-color: transparent;
  color: var(--remove-color);
}

button.rev-countdown-close:active,
button.rev-countdown-close:focus,
button.rev-countdown-close:focus-visible {
  outline: none;
  box-shadow: none;
  border: none;
  background-color: transparent;
  color: var(--theme-fixed);
}

@container campaign (max-width: 630px) {
  .rev-countdown-timer-hellobar-content .rev-countdown-hellobar-subtitle {
    display: none;
  }
  .rev-countdown-hellobar-header .rev-countdown-hellobar-subtitle {
    display: block;
  }
}
@container campaign (max-width: 500px) {
  .rev-countdown-timer-hellobar-content {
    align-items: stretch;
    flex-direction: column;
  }
  .rev-countdown-hellobar-header {
    text-align: start;
    align-items: start;
  }
  button.rev-countdown-action,
  .rev-countdown-hellobar-header {
    display: none;
  }
  .rev-countdown-hellobar-mobile-header {
    gap: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .rev-countdown-hellobar-mobile-header.rev-no-cta {
    justify-content: center;
  }
  .rev-countdown-hellobar-mobile-header.rev-no-cta .rev-countdown-hellobar-header {
    text-align: center;
    align-items: center;
  }
  .rev-countdown-hellobar-mobile-header .rev-countdown-hellobar-header {
    display: flex;
  }
  .rev-countdown-hellobar-mobile-header button.rev-countdown-action {
    display: flex;
  }
  .rev-countdown-hellobar-clock.rev-countdown-timer-clock {
    max-width: 100%;
  }
  button.rev-countdown-close {
    top: 2px;
    right: 2px;
  }
}
