:root {
	--wd-text-font: IRANSansXFaNum;
	--wd-text-font-weight: 500;
	--wd-text-color: rgb(81,81,81);
	--wd-text-font-size: 16px;
	--wd-title-font: IRANSansXFaNum;
	--wd-title-font-weight: 500;
	--wd-title-color: rgb(51,51,51);
	--wd-entities-title-font: IRANSansXFaNum;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: rgb(51,51,51);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: IRANSansXFaNum;
	--wd-widget-title-font: IRANSansXFaNum;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 14px;
	--wd-header-el-font: IRANSansXFaNum;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(221,51,51);
	--wd-alternative-color: rgb(226,87,52);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #ff9933;
	--btn-accented-bgcolor-hover: #E98C2F;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #ef394e;
	--wd-link-color-hover: #cc3064;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 280px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-image: url(https://parsianstock.com/wp-content/uploads/2022/07/motorcycle-footer-bg-opt.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
html .entry-summary .single_add_to_cart_button, .wd-single-add-cart .single_add_to_cart_button {
	background: rgb(221,51,51);
}
html .entry-summary .single_add_to_cart_button:hover, .wd-single-add-cart .single_add_to_cart_button:hover {
	background: rgb(221,51,51);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}

rs-slides :is([data-type=text],[data-type=button]) {
font-family: IRANSansXFaNum !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: IRANSansXFaNum !important;
}

.wd-page-title {
background-color: #0a0a0a;
}

/* حذف آیکون و دکمه جستجو + وسط‌چین کردن متن (دسکتاپ و موبایل) */

/* ۱. مخفی کردن دکمه و آیکون در هر دو حالت */
.wd-header-search-form .searchsubmit, 
.wd-header-search-form .wd-search-icon,
.wd-header-search-form .wd-search-text,
.wd-search-form .searchsubmit,
.wd-search-form::after {
    display: none !important;
}

/* ۲. وسط‌چین کردن متن ورودی در دسکتاپ */
.wd-header-search-form input[type="text"],
.wd-header-search-form input[type="search"] {
    text-align: center !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* ۳. وسط‌چین کردن متن ورودی در موبایل و سایدبار */
.wd-search-form input[type="text"],
.wd-search-form input[type="search"],
.mobile-pages-wrapper .searchform input[type="text"] {
    text-align: center !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* ۴. وسط‌چین کردن متن کم‌رنگ (Placeholder) */
.wd-header-search-form input::placeholder,
.wd-search-form input::placeholder {
    text-align: center !important;
}

@media (max-width: 767px) {
  /* ===== منو ===== */
  .wd-header-mobile-nav.wd-tools-element > a {
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    gap: 8px;
  }

  .wd-header-mobile-nav .wd-tools-icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 30px !important;
  }

  .wd-header-mobile-nav .wd-tools-icon::before {
    font-size: 30px !important;
  }

  .wd-header-mobile-nav .wd-tools-text {
    font-size: 14px !important;
  }

  /* ===== سبد خرید ===== */
  .wd-header-cart.wd-tools-element > a {
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    gap: 8px;
  }

  .wd-header-cart .wd-tools-icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 30px !important;
  }

  .wd-header-cart .wd-tools-icon::before {
    font-size: 30px !important;
  }

  /* badge سبد خرید */
  .wd-header-cart .wd-tools-count,
  .wd-header-cart .wd-cart-number {
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 18px;
  }
}

<!-- Floating Left Buttons -->
<div class="floating-contact-buttons">
  <a href="https://wa.me/989121019186" class="floating-btn floating-whatsapp" target="_blank" rel="noopener">
    <span class="floating-btn-icon">
      <svg viewBox="0 0 32 32" fill="currentColor" aria-hidden="true">
        <path d="M19.11 17.21c-.29-.14-1.7-.84-1.97-.93-.26-.1-.46-.14-.65.14-.19.29-.75.93-.91 1.12-.17.19-.34.22-.63.07-.29-.14-1.22-.45-2.33-1.43-.86-.77-1.44-1.72-1.61-2.01-.17-.29-.02-.44.12-.58.13-.13.29-.34.43-.51.14-.17.19-.29.29-.48.1-.19.05-.36-.02-.5-.07-.14-.65-1.57-.89-2.15-.24-.57-.48-.5-.65-.5h-.55c-.19 0-.5.07-.77.36-.26.29-1 1-1 2.45s1.03 2.84 1.17 3.04c.14.19 2.02 3.08 4.89 4.32.68.29 1.21.46 1.63.58.69.22 1.32.19 1.82.12.56-.08 1.7-.69 1.94-1.36.24-.67.24-1.24.17-1.36-.08-.12-.27-.19-.56-.34z"/>
        <path d="M16.02 3.2c-7.07 0-12.8 5.73-12.8 12.8 0 2.24.58 4.43 1.67 6.36L3.12 28.8l6.61-1.73c1.86 1.02 3.95 1.56 6.09 1.56h.01c7.06 0 12.8-5.74 12.8-12.8 0-3.42-1.33-6.64-3.75-9.05-2.42-2.42-5.63-3.75-9.06-3.75zm-.2 23.26h-.01c-1.89 0-3.74-.51-5.35-1.47l-.38-.22-3.92 1.03 1.05-3.82-.25-.39a10.58 10.58 0 0 1-1.62-5.65c0-5.85 4.76-10.61 10.62-10.61 2.83 0 5.49 1.1 7.49 3.11a10.52 10.52 0 0 1 3.11 7.5c0 5.85-4.76 10.62-10.61 10.62z"/>
      </svg>
    </span>
    <span class="floating-btn-text">واتساپ</span>
  </a>

  <a href="tel:09121019186" class="floating-btn floating-call">
    <span class="floating-btn-icon">
      <svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
        <path d="M6.62 10.79a15.46 15.46 0 0 0 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.07 21 3 13.93 3 5c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/>
      </svg>
    </span>
    <span class="floating-btn-text">تماس</span>
  </a>
</div>

<style>
.floating-contact-buttons {
  position: fixed;
  left: 14px;
  bottom: 90px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  direction: rtl;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  color: #fff !important;
  text-decoration: none !important;
  font-family: IRANYekan, sans-serif;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  opacity: 0.95;
}

.floating-btn-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
}

.floating-btn-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.floating-btn-text {
  line-height: 1;
  white-space: nowrap;
}

.floating-whatsapp {
  background: #25d366;
}

.floating-call {
  background: #e21e26;
}

@media (max-width: 767px) {
  .floating-contact-buttons {
    left: 10px;
    bottom: 80px;
    gap: 10px;
  }

  .floating-btn {
    min-width: 132px;
    height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 14px;
  }

  .floating-btn-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }

  .floating-btn-icon svg {
    width: 20px;
    height: 20px;
  }
}
</style>
.parsian-related-products {
  margin-top: 30px;
  width: 100%;
}

.parsian-related-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 8px;
  color: #333;
}
.price-unavailable {
    color: #e74c3c !important; /* رنگ قرمز برای هشدار */
    font-weight: 700;
    font-size: 16px;
    background: #fdf2f2;
    padding: 5px 15px;
    border-radius: 5px;
    display: inline-block;
}

/* برای اینکه مطمئن شویم در وودمارت تداخل ندارد */
.single-product-page .price .price-unavailable {
    border: 1px solid #e74c3c;
}
