:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 500;
	--wd-text-color: rgb(30,30,30);
	--wd-text-font-size: 16px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 500;
	--wd-title-color: rgb(35,35,35);
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: rgb(45,45,45);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: iranyekan;
	--wd-widget-title-font: iranyekan;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(84,84,84);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: iranyekan;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(110,73,18);
	--wd-alternative-color: rgb(25,20,20);
	--btn-default-bgcolor: rgb(247,247,247);
	--btn-default-bgcolor-hover: rgb(239,239,239);
	--btn-accented-bgcolor: rgb(245,154,87);
	--btn-accented-bgcolor-hover: rgb(223,140,79);
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(69,150,71);
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(30,115,190);
	--wd-link-color-hover: rgb(39,123,249);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgba(255,255,255,0);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 1000px;
}
: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;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-family: "IRANSans", Arial, Helvetica, sans-serif;
	font-size: 14px;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-weight: 600;
	font-size: 17px;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(119,119,119);
	--wd-form-placeholder-color: rgb(119,119,119)7;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1300px;
--wd-form-brd-radius: 30px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 5px;
}

@media (min-width: 1300px) {
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: iranyekan !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: iranyekan !important;
}

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

.footer-column
{
	margin-bottom:0px !important;
}
.footer-sidebar
{
	padding-top: 0px !important;
    padding-bottom: 0px !important;
}




.main-page-wrapper
{
	padding-bottom: 40px;
}
[class*=title-line-] .product-grid-item .wd-entities-title
{
	font-family:IRANSansXFaNum !important;
	font-weight:600;
}
.wpcf7-form  label
{
	text-align:right;
}
.blogwatch .blog-post-loop .entry-header
{
	padding: 18px;
    padding-top: 30px;
    background-color: white;
    border-radius: 15px 15px 0px 0px;
}
.preefooter .wd-sub-menu li>a
{
	color:white !important;
}
.mc4wp-form-fields table label
{
	color:white;

}
.mc4wp-form-fields table
{
	margin-bottom:0px;
}
.mc4wp-form-fields table td
{
	border:0px;
	padding:5px ;
}
.mc4wp-form-fields table input
{
	    background-color: #6e6e6ea6 !important;
	
	margin-top: 5px;
}
.categorywatch .category-grid-item .wd-entities-title
{
	color:#e5e5e5
}
.categorywatch .category-grid-item .more-products
{
	color:#e5e5e5;
	padding-top:7px;
}


.wd-timer
{
	direction:ltr;
}
.labels-rectangular .product-label
{
	direction:rtl;
}
.product-image-summary .wd-product-countdown
{
	direction:ltr;
	text-align:right;
}
 .blog-post-loop .entry-header
    {
            padding: 18px;
    padding-top: 30px;
    }
    .blog-design-masonry.blog-style-shadow .article-body-container
    {
        border-radius: 0px 0px 15px 15px;
    margin-top: -10px;
    }
    .slide-post .entry-header:before
    {
            content: " ";
    position: absolute;
    width: 150px;
    top: 0px;
    left: 27%;
    border-radius: 0px 0px 10px 10px;
    height: 8px;
    background:#bd8585;
    }
    .blog-design-masonry.blog-style-shadow .article-inner
    {
        border-radius: 15px;
        box-shadow: 0 0 9px rgb(0 0 0 / 20%);
    }
    .blog-post-loop .entry-thumbnail img, .post-img-wrapp
    {
        border-radius: 20px !important;
    }
/*کد افکت برق زدن لوگو*/
.wd-logo.wd-main-logo {
    position: relative !important;
    display: inline-block !important;
    overflow: hidden !important;
}

.wd-logo.wd-main-logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.5) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    /* انیمیشن با اولویت بالا */
    animation: shine-effect 4s infinite linear !important;
    z-index: 2;
}

@keyframes shine-effect {
    0% {
        left: -150%;
    }
    25% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

.wd-logo.wd-main-logo img {
    position: relative;
    z-index: 1;
    display: block;
}

/*کد ظاهر فیلد سرچ بار /*

/*کد مخفی سازی منوی ابزار در صفحه محصول و نمایش دکمه افزوددن به سبد خرید و قیمت*/

@media (max-width: 1024px) {

    /* ----- ۱. مخفی‌سازی منوی پایین وودمارت ----- */
    .single-product .wd-toolbar {
        display: none !important;
    }

    /* ----- ۲. فاصله بدنه ----- */
    body.single-product {
        padding-bottom: 120px !important;
    }

    /* ----- ۳. کانتینر اصلی استیکی ----- */
    .ar-sticky-footer {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        z-index: 99999 !important;
        direction: rtl !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
        padding: 10px 16px !important;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
        border-top: 1px solid #eee !important;
        display: none;
    }

    .single-product .ar-sticky-footer {
        display: block !important;
    }

    /* ----- ۴. پیام موجودی ----- */
    .ar-stock-bar {
        margin-bottom: 8px;
        display: none;
    }

    .ar-stock-bar.active {
        display: flex !important;
        justify-content: flex-end !important;
    }

    .ar-stock-msg {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        background: #fef3f2 !important;
        color: #e53935 !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        padding: 4px 14px !important;
        border-radius: 20px !important;
        direction: rtl !important;
    }

    .ar-stock-icon {
        width: 18px !important;
        height: 18px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #e53935 !important;
        color: #fff !important;
        border-radius: 50% !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        flex-shrink: 0 !important;
    }

    /* ----- ۵. ردیف اصلی (قیمت چپ / دکمه راست) ----- */
    .ar-sticky-content {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    /* ستون راست (اولین فرزند در RTL): دکمه */
    .ar-sticky-right {
        flex: 0 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    /* ستون چپ (دومین فرزند در RTL): قیمت */
    .ar-sticky-left {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 2px !important;
    }

    /* =============================================
     *  دکمه افزودن به سبد خرید
     * ============================================= */

    .ar-sticky-atc {
        width: 100% !important;
        min-width: 130px !important;
        height: 42px !important;
        background: #f59a57 !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-family: inherit !important;
        text-transform: none !important;
        padding: 0 16px !important;
        letter-spacing: 0 !important;
        line-height: 1 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        transition: opacity 0.2s !important;
    }

    .ar-sticky-atc:active {
        opacity: 0.85 !important;
    }

    .ar-sticky-atc.disabled,
    .ar-sticky-atc:disabled {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
        background: #999 !important;
    }

    /* =============================================
     *  قیمت — ساختار سفارشی
     *  ردیف بالا: قیمت قدیم + badge (در RTL badge سمت چپ)
     *  ردیف پایین: قیمت فروش + تومان
     * ============================================= */

    .ar-sticky-price del {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        text-decoration: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    .ar-sticky-price del .onsale {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: #e53935 !important;
        color: #ffffff !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        padding: 2px 7px !important;
        border-radius: 4px !important;
        white-space: nowrap !important;
        line-height: 1.5 !important;
        position: static !important;
        transform: none !important;
        border: none !important;
        box-shadow: none !important;
        min-width: auto !important;
        min-height: auto !important;
    }

    .ar-sticky-price del .onsale::before,
    .ar-sticky-price del .onsale::after {
        display: none !important;
    }

    .ar-sticky-price del .woocommerce-Price-amount.amount {
        font-size: 11px !important;
        color: #81858b !important;
        opacity: 0.5 !important;
        text-decoration: line-through !important;
        font-weight: 400 !important;
        background: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .ar-sticky-price ins {
        display: block !important;
        text-decoration: none !important;
        background: none !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        margin-top: 2px !important;
    }

    .ar-sticky-price ins .woocommerce-Price-amount.amount {
        font-size: 30px !important;
        font-weight: 700 !important;
        color: #0D860B !important;
        line-height: 1.3 !important;
        background: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* تومان فقط در ردیف پایین */
    .ar-sticky-price .woocommerce-Price-currencySymbol {
        font-size: 15px !important;
        font-weight: 400 !important;
        opacity: 0.7 !important;
        color: #063d2f !important;
    }
}
/*کد تغییر ظاهر و نمایش بج تخفیف در لیست محصولات صفحه دسته بندی + نمایش درصد تخفیف و مقدار موجودی باقی مانده محصول + تغییر استایل آیتم های محصولات*/
/* =============================================
   موبایل 320px تا 425px – لیست افقی دیجیکالایی
   فقط صفحات آرشیو محصولات
   ============================================= */
@media only screen and (max-width: 425px) {

  .woocommerce-page.archive .elements-grid {
    --wd-prod-bg: transparent !important;
    --wd-prod-shadow: none !important;
    background: transparent !important;
    gap: 0 !important;
  }

  .woocommerce-page.archive .elements-grid .wd-product.product-grid-item {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 22px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-bottom: 1px solid #e8e8e8 !important;
  }

  .woocommerce-page.archive .elements-grid .wd-product-wrapper.product-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }

  /* تصویر: سمت راست */
  .woocommerce-page.archive .elements-grid .wd-product-thumb.product-element-top {
    flex: 0 0 118px !important;
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    order: 1 !important;
    position: relative !important;
    margin: 0 0 0 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }

  .woocommerce-page.archive .elements-grid .wd-product-thumb.product-element-top a {
    display: block !important;
    line-height: 0 !important;
    background: transparent !important;
  }

  .woocommerce-page.archive .elements-grid .wd-product-thumb.product-element-top img {
    width: 118px !important;
    height: 118px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .woocommerce-page.archive .elements-grid .wd-product-img-hover {
    display: none !important;
  }

  /* بخش اطلاعات: سمت چپ، ارتفاع کامل */
  .woocommerce-page.archive .elements-grid .product-element-bottom {
    flex: 1 !important;
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    height: 118px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }

  .woocommerce-page.archive .elements-grid .wd-product-header {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    flex-shrink: 0 !important;
  }

  /* عنوان */
  .woocommerce-page.archive .elements-grid .wd-entities-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    margin: 0 0 4px 0 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    color: #404040 !important;
  }

  .woocommerce-page.archive .elements-grid .wd-entities-title a {
    color: #404040 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  /* موجودی کم */
  .woocommerce-page.archive .elements-grid .custom-low-stock {
    font-size: 11px !important;
    color: #e53935 !important;
    font-weight: 600 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.5 !important;
    width: 100% !important;
    flex-shrink: 0 !important;
  }

  /* قیمت: پایین سمت چپ */
  .woocommerce-page.archive .elements-grid .wrap-price {
    margin-top: auto !important;
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    flex-shrink: 0 !important;
  }

  .woocommerce-page.archive .elements-grid .price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #404040 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
  }

  .woocommerce-page.archive .elements-grid .price ins {
    text-decoration: none !important;
    color: #404040 !important;
    font-weight: 700 !important;
  }

  .woocommerce-page.archive .elements-grid .price del {
    font-size: 12px !important;
    color: #9e9e9e !important;
    font-weight: 400 !important;
    display: block !important;
    width: 100% !important;
    margin-top: -2px !important;
  }

  /* بج تخفیف زیر تصویر */
  .woocommerce-page.archive .elements-grid .product-labels {
    position: absolute !important;
    top: auto !important;
    bottom: -24px !important;
    left: 0 !important;
    right: auto !important;
    z-index: 2 !important;
    background: transparent !important;
  }

  .woocommerce-page.archive .elements-grid .product-labels .onsale {
    background: #e53935 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    line-height: 1.5 !important;
    border: none !important;
  }

  /* مخفی کردن دکمه‌ها */
  .woocommerce-page.archive .elements-grid .wd-product-footer,
  .woocommerce-page.archive .elements-grid .wd-buttons,
  .woocommerce-page.archive .elements-grid .wd-add-btn,
  .woocommerce-page.archive .elements-grid .wd-action-buttons,
  .woocommerce-page.archive .elements-grid .wd-compare-btn,
  .woocommerce-page.archive .elements-grid .wd-wishlist-btn,
  .woocommerce-page.archive .elements-grid .wd-buttons.wd-pos-r-t {
    display: none !important;
  }

}
/*عدم نمایش تگ H1 صفحه */
.H1TAG {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
