@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

.wtps-countdown {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--countdowncolor);
}

.wtps-countdown .wtps-countdown-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px;
}

.wtps-countdown .wtps-countdown-container .wtps-countdown-item {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Counter 1 */
.wtps-countdown-1 .wtps-countdown-container .wtps-countdown-item {
  position: relative;
}

.wtps-countdown-1
  .wtps-countdown-container
  .wtps-countdown-item:not(:last-child)::after {
  position: absolute;
  right: -13px;
  top: 19px;
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background-color: currentColor;
  border-radius: 50%;
}

.wtps-countdown-1 .wtps-countdown-container .wtps-countdown-number {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 600;
}

.wtps-countdown-1 .wtps-countdown-container .wtps-countdown-label {
  font-size: 16px;
  text-transform: uppercase;
}

/* Counter 2 */
.wtps-countdown-2
  .wtps-countdown-container
  .wtps-countdown-item:not(:last-child)::after {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  content: ":";
  display: block;
  color: currentColor;
}

.wtps-countdown-2 .wtps-countdown-container .wtps-countdown-number {
  font-size: 32px;
  font-weight: 500;
}

/* Counter 3 */
.wtps-countdown-3 .wtps-countdown-container .wtps-countdown-number {
  font-size: 36px;
  font-weight: 500;
}

.wtps-countdown-3 .wtps-countdown-container .wtps-countdown-label {
  font-size: 14px;
  font-weight: 200;
}

.wtps-countdown-3
  .wtps-countdown-container
  .wtps-countdown-item:not(:last-child)::after {
  position: absolute;
  right: -8px;
  top: 50%;
  height: 100%;
  transform: translateY(-50%);
  content: "";
  display: block;
  color: currentColor;
  width: 1px;
  background-color: currentColor;
  opacity: 0.4;
}

/* Counter 4 */
.wtps-countdown-4 .wtps-countdown-container .wtps-countdown-item {
  max-width: 100px;
  gap: 16px;
}

.wtps-countdown-4 .wtps-countdown-container .wtps-countdown-numbers {
  display: flex;
  gap: 4px;
}

.wtps-countdown-4 .wtps-countdown-container .wtps-countdown-number-wrapper {
  position: relative;
  font-size: 24px;
  font-weight: 200;
  width: 30px;
  height: 45px;
  background-color: currentColor;
  border-radius: 4px;
}

.wtps-countdown-4 .wtps-countdown-container .wtps-countdown-number {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--countdowncoloradditional);
}

.wtps-countdown-4 .wtps-countdown-container .wtps-countdown-number::after {
  position: absolute;
  content: "";
  display: block;
  top: 0;
  height: 50%;
  width: 100%;
  border-bottom: 2px solid rgba(0, 0, 0, 0.5);
}

.wtps-countdown-4 .wtps-countdown-container .wtps-countdown-label {
  font-size: 16px;
  font-weight: "400";
  text-align: center;
  opacity: 0.6;
}

/* Counter 7 */
.wtps-countdown-7 .wtps-countdown-container {
  gap: 4px;
}

.wtps-countdown-7 .wtps-countdown-container .wtps-countdown-item {
  max-width: 100px;
  border-radius: 4px;
  overflow: hidden;
  gap: 0;

  background-color: currentColor; /* css field */
}

.wtps-countdown-7 .wtps-countdown-container .wtps-countdown-number {
  width: 100%;
  display: flex;
  padding: 16px;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: var(--countdowncoloradditional);
}

.wtps-countdown-7 .wtps-countdown-container .wtps-countdown-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-transform: uppercase;
  color: var(--countdowncoloradditional);
}

/* Counter 9 */
.wtps-countdown-9 {
  --progress: 50;
  --size: 250px;
  --half-size: calc(var(--size) / 2);
  --stroke-width: 6px;
  --radius: calc((var(--size) - var(--stroke-width)) / 2);
  --circumference: calc(var(--radius) * pi * 2);
  --dash: calc((var(--progress) * var(--circumference)) / 100);
}
.wtps-countdown-9 .wtps-countdown-container {
  gap: 32px;
}

.wtps-countdown-9 .wtps-countdown-container .wtps-countdown-item {
  width: 100%;
}

.wtps-countdown-9 .wtps-countdown-container .wtps-countdown-number {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  padding: 16px;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  border-radius: 50%;

  color: inherit; /* css field */
}

.wtps-countdown-9 .wtps-countdown-container .wtps-countdown-number-track {
  position: absolute;
  width: 100%;
  height: 100%;
}

.wtps-countdown-9 circle {
  cx: var(--half-size);
  cy: var(--half-size);
  r: var(--radius);
  stroke-width: var(--stroke-width);
  fill: none;
  stroke-linecap: round;
}
.wtps-countdown-9 circle.bg {
  stroke: currentColor;
  stroke-width: 1px;
  opacity: 0.4;
}

.wtps-countdown-9 circle.fg {
  transform: rotate(-90deg);
  transform-origin: var(--half-size) var(--half-size);
  transition: stroke-dasharray 0.3s linear 0s;
  stroke: currentColor;
}

.wtps-countdown-9 .wtps-countdown-container .wtps-countdown-label {
  text-align: center;
  width: 100%;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;

  color: inherit; /* css field */
}

/* !*pendiente Mobile */
@media (max-width: 1024px) {
  .wtps-countdown .wtps-countdown-container .wtps-countdown-number {
    font-size: 20px;
  }

  .wtps-countdown-1 .wtps-countdown-container .wtps-countdown-label {
    font-size: 14px;
  }

  .wtps-countdown-1
  .wtps-countdown-container
  .wtps-countdown-item:not(:last-child)::after {
    top: 10px;
  }

  .wtps-countdown-2
  .wtps-countdown-container
  .wtps-countdown-item:not(:last-child)::after {
    top: 10px;
  }

  .wtps-countdown-9 .wtps-countdown-container {
    gap: 8px;
  }
  .wtps-countdown-9 .wtps-countdown-container .wtps-countdown-number {
    width: 70px;
    height: 70px;
  }
}
