body,
.page-template-black-friday {
  direction: rtl;
  unicode-bidi: embed;
  text-align: right;
}

.row,
[class*="col-"] {
  flex-direction: row-reverse;
}

/* منو و هدر */
.back-website {
  float: left !important;
  text-align: left !important;
}
.right-links {
  float: left !important;
}
ul.nav-categories li.category-element {
  float: right !important;
}
ul.nav-categories li.category-element a, .mtbf-campaign-remaining-time {
  text-align: right !important;
}

.modeltheme-countdown, .mtbf-countdown {
  direction: ltr !important;
}

.woocommerce ul.products li.product .price,
.product .price,
.archive-product-title {
  text-align: right !important;
}
.woocommerce ul.products li.product .onsale {
  left: auto !important;
  right: 10px !important;
}

p, h1, h2, h3, h4, h5, h6, span {
  text-align: right;
}
.text-left {
  text-align: right !important;
}
.text-right {
  text-align: left !important;
}

.mtbf-product-sale-badge {
  right: auto !important;
  left: 10px !important;
  top: 10px !important;
  transform: scale(0.9) !important;
  transform-origin: top left !important;
}

.mtbf-product-sale-badge img {
  width: 60px !important;
  height: auto !important;
}

.mtbf-countdown div span {
  text-align: center !important;
}

.mtbf-campaign-remaining-time > div, .mtbf-campaign-remaining-time > div > p, .modeltheme-countdown, .mtbf-countdown{
    padding: 10px;
    text-align: center;
    border-radius: 10px !important;
}

.mtbf-campaign-remaining-time {
  background: #f5e8dc !important;
  color: #222 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1) !important;
  padding: clamp(10px, 1.8vw, 30px) clamp(12px, 2vw, 35px) !important;
  text-align: center !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: all 0.3s ease-in-out !important;
  line-height: 1 !important;
  height: auto !important;
  margin-bottom: 30px !important;
}

.mtbf-campaign-remaining-time:hover {
  background: #ecd6bf !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15) !important;
}

.modeltheme-countdown,
.mtbf-countdown {
  display: flex !important;
  justify-content: center !important;
  align-items: baseline !important;
  flex-wrap: nowrap !important;
  gap: clamp(2px, 0.8vw, 10px) !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}

.modeltheme-countdown span,
.mtbf-countdown span {
  font-size: clamp(15px, 2.5vw, 30px) !important;
  font-weight: 700 !important;
  color: #c25500 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  display: inline-block !important;
  vertical-align: baseline !important;
}

.mtbf-campaign-remaining-time p {
    color: #9b0d00 !important;
}

.modeltheme-countdown label,
.mtbf-countdown label {
  display: block !important;
  font-size: clamp(10px, 1vw, 14px) !important;
  color: #704214 !important;
  margin-top: clamp(2px, 0.4vw, 4px) !important;
  line-height: 1.2 !important;
}

.mtbf-campaign-remaining-time > div > p {
  color: #2c2c2c !important;
  font-weight: 500 !important;
  margin-bottom: clamp(5px, 0.8vw, 10px) !important;
  font-size: clamp(11px, 1.4vw, 16px) !important;
  line-height: 1.3 !important;
}

@font-face {
	font-family: IRANSansXFaNum;
	font-style: normal;
	font-weight: 400;
	src: url('fonts/woff/IRANSansXFaNum-Regular.woff') format('woff'),
	     url('fonts/woff2/IRANSansXFaNum-Regular.woff2') format('woff2');
}
.mtbf-products-content h3, .mtbf-categories-sidebar-wrapper h3, .mtbf-sidebar-category,
.mtbf-product-stock-badge, .mtbf-product-title, .mtbf-category-item, .mtbf-add-to-cart,
.mtbf-product-sale-price, .mtbf-right-links a, .mtbf-countdown div span, .mtbf-countdown div,
.mtbf-campaign-remaining-time p, .mtbf-see-more-products, .mtbf-product-prices, .mtbf-back-to-website,
.mtbf-product-actions, .mtbf-campaign-remaining-time > div, .mtbf-campaign-remaining-time > div > p, .modeltheme-countdown, .mtbf-countdown {
    font-family: "IRANSansXFaNum" !important;
}