.wdpt {
  direction: rtl;
  text-align: right;
  font-size: 16px;
  line-height: 1.4;
  margin: 12px 0 0;
}

.wdpt__wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  background: #fff;
}

.wdpt__row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.wdpt__badge {
  display: inline-block;
  background: #e31e24;
  color: #fff;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 15px
}

.wdpt__note {
  color: #d00;
  font-weight: 700
}

.wdpt__note small {
  font-weight: 400;
  color: #444
}

.wdpt__timer {
  display: flex;
  align-items: center;
  gap: 10px
}

.wdpt__label {
  font-weight: 600;
  white-space: nowrap
}

.wdpt__digits {
  display: flex;
  gap: 6px;
  flex-direction: row-reverse;
}

.wdpt__box {
  min-width: 45px;
  text-align: center;
  border-radius: 10px;
  padding: 5px 0;
  background: #160041;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wdpt__num {
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 600;
  line-height: 1
}

.wdpt__unit {
  display: block;
  font-size: 12px;
  margin-top: 0
}

.wdpt--over .wdpt__box {
  background: #d8d8d8;
  color: #555
}

@media (max-width:480px) {
  .wdpt__box {
    min-width: 50px
  }

  .wdpt__num {
    font-size: 17px
  }
}

/* MINI TIMER — redesigned to match image */
.wdmt-mini {
  direction: rtl;
  text-align: right;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  padding: 6px 10px 7px;
  font-size: 13px;
  line-height: 1.4;
  color: #111;
  width: auto;
  position: static;
}

/* "מבצע לזמן מוגבל" — red label on top */
.wdmt-mini .wdmt-top-label {
  font-size: 13px;
  font-weight: 700;
  color: #e31e24;
  text-align: right;
  margin-bottom: 2px;
}

/* countdown row — single horizontal line, LTR so colons stay correct in RTL pages.
   DOM order: s → m → h → d (left=seconds, right=days) reads naturally RTL. */
.wdmt-mini .wdmt-digits {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  direction: ltr;
  /* prevents bidi from flipping colons */
  unicode-bidi: embed;
  justify-content: flex-end;
}

/* each "<number><unit>" group */
.wdmt-mini .wdmt-unit-group {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  flex-direction: row-reverse;
}

/* the number — red */
.wdmt-mini .wdmt-unit-group b {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #e31e24;
  margin-left: 1px;
}

/* the unit label (ימים / שעות / דקות / שניות) */
.wdmt-mini .wdmt-unit-label {
  font-weight: 600;
  font-size: 12px;
  margin-right: 4px;
  color: #1D2C66;
}

/* colon separator */
.wdmt-mini .wdmt-sep {
  font-weight: 700;
  margin: 0 3px;
  color: #444;
}

/* variants line */
.wdmt-mini .wdmt-variants {
  font-size: 11px;
  color: #555;
  margin-top: 2px;
}

@media (max-width: 480px) {
  .wdmt-mini {
    font-size: 12px;
    padding: 5px 8px 6px;
  }

  .wdmt-mini .wdmt-top-label {
    font-size: 12px;
  }

  .wdmt-mini .wdmt-digits {
    font-size: 12px;
  }
}


span.wd-sale-limit-label {
  font-size: 11px;
  background: #06EAC9;
  font-weight: 600;
  padding: 0 4px;
}

span.wd-sale-limit-label.wd-sale-placeholder {
  visibility: hidden;
}

/* Banner Overlay Base Styles */
.wd-banner-overlay {
  position: absolute;
  display: flex;
  flex-direction: column;
  z-index: 2;
  transform: translate(var(--wd-trans-x, 0), var(--wd-trans-y, 0));
  /* Defaults matching the widget default (Right / Bottom) */
  left: auto;
  right: 0;
  top: auto;
  bottom: 0;
  align-items: flex-end;
}

.wdmt-mini {
  margin-top: 10px;
}