:root {
	--wd-text-font: IRansansX;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 16px;
	--wd-title-font: IRansansX;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: IRansansX;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: IRansansX;
	--wd-widget-title-font: IRansansX;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: IRansansX;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(0,0,0);
	--wd-alternative-color: rgb(255,204,0);
	--btn-default-font-family: IRansansX;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(0,0,0);
	--btn-accented-bgcolor-hover: rgb(255,204,0);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(221,51,51);
	--wd-link-color-hover: #242424;
}
.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: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
body {
	font-family: IRansansX;	font-weight: 400;
	font-size: 16px;
	line-height: 35px;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1300px;
--wd-form-brd-radius: 35px;
--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: 8px;
}

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


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

/* =====================================================
   WoodMart Product Cards - Final Optimized CSS
   وسط‌چین عنوان و قیمت + حذف آیکون خرید روی تصویر
   عنوان حداکثر 2 خط + تراز شدن قیمت‌ها در یک ردیف
   ===================================================== */

:root {
    --hc-product-font-size: 15px;
    --hc-product-line-height: 28px;
    --hc-title-price-gap: 10px;
    --hc-title-lines: 2;
}


/* ==========================
   1. حذف آیکون خرید روی تصویر محصول
   ========================== */

:is(.wd-product, .product-grid-item) .product-element-top :is(
    .wd-buttons,
    .product-buttons,
    .wrap-buttons,
    .wrapp-buttons,
    .product-actions,
    .wd-add-btn,
    .add-to-cart-loop,
    .add_to_cart_button,
    .ajax_add_to_cart
) {
    display: none !important;
}


/* ==========================
   2. وسط‌چین شدن بخش اطلاعات محصول
   ========================== */

:is(.wd-product, .product-grid-item) .product-element-bottom {
    text-align: center !important;
}


/* ==========================
   3. عنوان محصول
   ارتفاع ثابت معادل 2 خط برای تراز شدن قیمت‌ها
   ========================== */

:is(.wd-product, .product-grid-item) .wd-entities-title {
    display: -webkit-box !important;
    -webkit-line-clamp: var(--hc-title-lines) !important;
    -webkit-box-orient: vertical !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;

    height: calc(var(--hc-product-line-height) * var(--hc-title-lines)) !important;
    min-height: calc(var(--hc-product-line-height) * var(--hc-title-lines)) !important;
    max-height: calc(var(--hc-product-line-height) * var(--hc-title-lines)) !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    text-align: center !important;
    font-size: var(--hc-product-font-size) !important;
    line-height: var(--hc-product-line-height) !important;
}


/* لینک داخل عنوان محصول */
:is(.wd-product, .product-grid-item) .wd-entities-title a {
    display: inline !important;
    text-align: center !important;
    font-size: var(--hc-product-font-size) !important;
    line-height: var(--hc-product-line-height) !important;
}


/* ==========================
   4. قیمت محصول
   ========================== */

:is(.wd-product, .product-grid-item) .price {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: baseline !important;

    width: 100% !important;
    margin-top: var(--hc-title-price-gap) !important;
    margin-bottom: 0 !important;

    text-align: center !important;
    white-space: nowrap !important;

    font-size: var(--hc-product-font-size) !important;
    line-height: var(--hc-product-line-height) !important;

    gap: 0 4px !important;
}


/* اجزای داخلی قیمت */
:is(.wd-product, .product-grid-item) .price :is(
    .amount,
    .woocommerce-Price-amount,
    .woocommerce-Price-currencySymbol,
    bdi,
    ins,
    del
) {
    font-size: var(--hc-product-font-size) !important;
    line-height: var(--hc-product-line-height) !important;
    white-space: nowrap !important;
}




/* =====================================================
تنظیمات فوتر سایت برای انتها قرار گرفتن
===================================================== */

html,
body {
    min-height: 100%;
}

body .website-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body .main-page-wrapper {
    flex: 1 0 auto;
}

body .footer-container {
    flex-shrink: 0;
    margin-top: auto;
}