/* Custom styles for timer and badge */

/* استایل تایمر دیجیکالایی */
.wrfs-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  background: none;
  box-shadow: none;
  padding: 0;
  margin: 8px 0;
}
.wrfs-timer-box {
    background: #aa7f41;
    color: #f9ddc3;
    border-radius: 8px;
    min-width: 38px;
    min-height: 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    position: relative;
    padding: 5px 6px;
}
.wrfs-timer-label {
  font-size: 11px;
  color: #000000;
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.2px;
}
.wrfs-timer-sep {
  color: #222;
  font-size: 22px;
  font-weight: bold;
  margin: 0 2px;
  user-select: none;
}
@media (max-width: 600px) {
      .wrfs-timer-box {
        min-width: 38px;
        min-height: 30px;
        font-size: 24px;
    }
  .wrfs-timer-label { font-size: 9px; }
  .wrfs-timer-sep { font-size: 16px; }
	
	.wrfs-timer {
  gap: 12px;
}
}

/* استایل بج تخفیف */
.wrfs-badge {
    background: #e96f1e;
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.12);
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

/* استایل سفارشی تنظیمات با اولویت بالا */
.wrfs-timer, .wrfs-badge {
  /* استایل سفارشی از تنظیمات با !important اضافه می‌شود */
}

/* افکت و استایل Shimmer برای نمایش تخفیف */
.wrfs-shimmer {
	color: #181717;
    font-size: 1.2rem;
  display: inline-block;
  position: relative;
  overflow: hidden;
  font-weight: bold;
}
.wrfs-shimmer:before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
  animation: wrfs-shimmer 1.2s infinite;
}
.wrfs-shimmer span {
  position: relative;
  z-index: 1;
}
@keyframes wrfs-shimmer {
  100% { left: 125%; }
}