.ez-cdtm-expired-placeholder {
  text-align: center;
  color: #5f6368;
  font-size: 15px;
  padding: 20px;
}

/* ===== Premium Frontend Polish Layer ===== */
.ez-cdtm-timer-shell {
  --ez-front-text: #0f172a;
  --ez-front-muted: #64748b;
  --ez-front-border: #dbe3ee;
  --ez-front-shadow: 0 10px 28px rgba(2, 8, 23, 0.08);
  max-width: 100%;
}

.ez-cdtm-modern-container,
.ez-cdtm-classic-container {
  border-radius: 14px;
  border: 1px solid var(--ez-front-border);
  background: #ffffff;
  box-shadow: var(--ez-front-shadow);
  padding: 18px;
}

.ez-cdtm-title {
  color: var(--ez-front-text);
  letter-spacing: -0.01em;
}

.ez-cdtm-timer-wrapper {
  color: var(--ez-front-muted);
}

.ez-cdtm-ring-canvas {
  filter: drop-shadow(0 4px 14px rgba(30, 41, 59, 0.12));
}

.ez-cdtm-time-value {
  color: var(--ez-front-text);
  font-weight: 700;
}

.ez-cdtm-time-label {
  color: var(--ez-front-muted);
  font-weight: 600;
  letter-spacing: .02em;
}

@media (max-width: 768px) {
  .ez-cdtm-modern-container,
  .ez-cdtm-classic-container {
    padding: 14px;
    border-radius: 12px;
  }

  .ez-cdtm-title {
    font-size: 1.15rem;
  }
}
.ez_cdtm-countdown {
    font-size: 18px;
    font-weight: bold;
    color: #333;
     background-color: transparent;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    margin-top: 10px;
    width: auto; 
    display: flex;
    width: fit-content;
    flex-wrap: wrap;
    padding: 0px;
}

.ez_cdtm-countdown span {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

body .ez_cdtm-countdown span b {
  font-size: 12px !important;
  font-weight: 400;
  text-transform: uppercase;
}

/*---------------------------------------------------*/
.ezblnd_cdtm-countdown-wrapper{
  display: grid;
}

.ezblnd_cdtm-countdown-wrapper > div {
  position: relative;
  width: fit-content;
  height: fit-content;
  padding: 0;
  margin: 0;
  overflow: visible;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 30;
}

.ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-left > div,
.ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-center > div,
.ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-right > div {
  width: 100%;
}

.ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-left > div {
  justify-content: flex-start;
}

.ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-center > div {
  justify-content: center;
}

.ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-right > div {
  justify-content: flex-end;
}

.ezblnd_cdtm-countdown-wrapper canvas {
  width: 100% !important;
  height: 100%;
}

.ez-cdtm-timer-shell-plain .ez-cdtm-plain-cont {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--ez-cdtm-segment-spacing, 12px);
  flex-wrap: wrap;
  width: 100%;
}

.ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-left .ez-cdtm-plain-cont {
  justify-content: flex-start;
}

.ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-center .ez-cdtm-plain-cont {
  justify-content: center;
}

.ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-right .ez-cdtm-plain-cont {
  justify-content: flex-end;
}

.ez-cdtm-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--ez-cdtm-segment-padding-y, 10px) var(--ez-cdtm-segment-padding-x, 10px);
  border-radius: var(--ez-cdtm-box-radius, 10px);
  border: var(--ez-cdtm-border-size, 1px) solid var(--ez-cdtm-border-color, rgba(0, 0, 0, 0.08));
  background: var(--ez-cdtm-card-bg, #fff);
}

.ez-cdtm-value {
  font-size: var(--ez-cdtm-font-size, 18px);
  color: var(--ez-cdtm-text-color, #111);
  line-height: 1;
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: center;
  white-space: nowrap;
}

.ez-cdtm-label {
  margin: 8px 0 0;
  font-size: var(--ez-cdtm-label-size, 12px);
  letter-spacing: .04em;
  color: var(--ez-cdtm-label-color, #666);
}

.ez-cdtm-label-hidden {
  visibility: hidden;
}

.ez-cdtm-display-numbers .ez-cdtm-label {
  display: none;
}

.ez-cdtm-display-numbers .ez-cdtm-segment {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0 8px;
  min-width: auto;
}

.ez-cdtm-display-numbers.ez-cdtm-numbers-colon .ez-cdtm-segment {
  position: relative;
  padding: 0;
}

.ez-cdtm-display-numbers_text.ez-cdtm-numbers-colon .ez-cdtm-segment {
  position: relative;
}

.ez-cdtm-display-numbers.ez-cdtm-numbers-colon .ez-cdtm-plain-cont,
.ez-cdtm-display-numbers_text.ez-cdtm-numbers-colon .ez-cdtm-plain-cont {
  gap: var(--ez-cdtm-colon-gap, 10px);
}

.ez-cdtm-display-numbers.ez-cdtm-numbers-colon .ez-cdtm-segment:not(:last-child)::after,
.ez-cdtm-display-numbers_text.ez-cdtm-numbers-colon .ez-cdtm-segment:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(100% + (var(--ez-cdtm-colon-gap, 10px) / 2));
  bottom: 55%;
  transform: translateX(-50%);
  width: calc(var(--ez-cdtm-colon-dot-size, 4px) + 2px);
  height: calc(var(--ez-cdtm-colon-dot-size, 4px) * 3);
  background:
    radial-gradient(circle at 50% calc(var(--ez-cdtm-colon-dot-size, 4px) / 2), var(--ez-cdtm-text-color, #111) calc(var(--ez-cdtm-colon-dot-size, 4px) / 2), transparent calc(var(--ez-cdtm-colon-dot-size, 4px) / 2 + 0.2px)),
    radial-gradient(circle at 50% calc(var(--ez-cdtm-colon-dot-size, 4px) * 2.5), var(--ez-cdtm-text-color, #111) calc(var(--ez-cdtm-colon-dot-size, 4px) / 2), transparent calc(var(--ez-cdtm-colon-dot-size, 4px) / 2 + 0.2px));
}

.ez-cdtm-display-numbers_text .ez-cdtm-label {
  white-space: nowrap;
}

.ez-cdtm-display-numbers_text .ez-cdtm-segment {
  width: max(var(--ez-cdtm-box-size, 92px), calc(var(--ez-cdtm-font-size, 18px) * 2.1));
  min-width: max(var(--ez-cdtm-box-size, 92px), calc(var(--ez-cdtm-font-size, 18px) * 2.1));
  min-height: max(var(--ez-cdtm-box-size, 92px), calc(var(--ez-cdtm-font-size, 18px) * 1.7));
  height: auto;
  box-sizing: border-box;
  justify-content: flex-start;
}

/* Prevent theme CSS bleed on timer outer wrappers */
.ezblnd_cdtm-countdown-wrapper,
.ezblnd_cdtm-countdown-wrapper > div,
.ez-cdtm-timer-shell,
.ez-cdtm-timer-shell-plain {
  border: none !important;
  outline: none !important;
}

@media screen and (max-width: 900px) {
  .ez_cdtm-count-cont > div h4 {
    font-size: 14px;
  }

  .ez_cdtm-count-cont span {
    font-size: 30px !important;
  }
}

@media screen and (max-width: 800px) {
  .ez_cdtm-count-cont > div h4 {
    font-size: 12px;
  }

  .ez_cdtm-count-cont span {
    font-size: 25px !important;
  }
}

@media screen and (max-width: 450px) {
  .ez_cdtm-count-cont > div h4 {
    font-size: 10px;
  }

  .ez_cdtm-count-cont span {
    font-size: 17px !important;
  }
}

@media screen and (max-width: 320px) {
  .ez_cdtm-count-cont > div h4 {
    font-size: 8px;
  }

  .ez_cdtm-count-cont span {
    font-size: 14px !important;
  }
}

@media screen and (max-width: 240px) {
  .ez_cdtm-count-cont > div h4 {
    font-size: 5px;
  }

  .ez_cdtm-count-cont span {
    font-size: 10px !important;
  }
}

.ez-cdtm-heading > *:first-child {
  margin-top: 0;
}

.ez-cdtm-heading > *:last-child {
  margin-bottom: 0;
}

.ez-cdtm-heading p {
  margin: 0;
}

.ez-cdtm-heading h1,
.ez-cdtm-heading h2,
.ez-cdtm-heading h3,
.ez-cdtm-heading h4,
.ez-cdtm-heading h5,
.ez-cdtm-heading h6,
.ez-cdtm-heading p,
.ez-cdtm-heading div,
.ez-cdtm-heading span,
.ez-cdtm-heading strong,
.ez-cdtm-heading em,
.ez-cdtm-heading a,
.ez-cdtm-heading small {
  font-size: inherit !important;
  color: inherit !important;
  line-height: inherit !important;
}

.ez-cdtm-heading h1,
.ez-cdtm-heading h2,
.ez-cdtm-heading h3,
.ez-cdtm-heading h4,
.ez-cdtm-heading h5,
.ez-cdtm-heading h6,
.ez-cdtm-heading p,
.ez-cdtm-heading div {
  margin: 0;
}
