:root {
	--wd-text-font: Yekanbakh;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: Yekanbakh;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: Yekanbakh;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: Yekanbakh;
	--wd-widget-title-font: Yekanbakh;
	--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: Yekanbakh;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(229,48,63);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(229,48,63);
	--btn-accented-bgcolor-hover: rgb(0,0,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: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 95px;
}
.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: 233px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(68,68,68);
	background-image: url(https://mrghate.com/wp-content/uploads/2021/09/footer-pat1.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right center;
}
.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: 1222px;
--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: 12px;
}

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

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

.woodmart-button-wrapper.inline-element {
    margin-bottom: 0px;
}
.product-grid-item .wd-product-countdown, .product-grid-item .wd-stock-progress-bar {
    margin-bottom: 10px;
}
.wd-hover-standard .wd-add-btn {
    margin-top: 5px;
    margin-bottom: 15px;
}
.promo-banner .promo-banner-image {
    border-radius: 15px;
}
.product-grid-item.woodmart-hover-tiled .hover-img img, .product-grid-item.woodmart-hover-tiled .product-image-link img {
    width: 100%;
    padding: 20px;
}
.woodmart-hover-tiled .product-wrapper {
    border-radius: 10px;
    overflow: hidden;
	background: #fff;
}
.labels-rectangular .product-label {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 15px;
    margin-right: 5px;
}
.product-grid-item.wd-hover-standard {
    text-align: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.blog-design-masonry .post-title {
    font-size: 16px !important;
}
.mrghate-price-update {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin: 14px 0 16px !important;
    padding: 8px 0 !important;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 13px;
    color: #777;
    line-height: 1.8;
    text-align: right;
    box-sizing: border-box;
}

.mrghate-price-update::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #22c55e;
    border-radius: 50%;
    margin-left: 8px;
    vertical-align: middle;
}

.mrghate-price-update strong {
    color: #333;
    font-weight: 700;
    margin-right: 5px;
}

.mrghate-expert-review {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 30px;
    text-align: right;
}

.mrghate-expert-review-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.mrghate-expert-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #e52b2b;
    margin-bottom: 5px;
}

.mrghate-expert-review h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.mrghate-expert-review p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 2;
}

.mrghate-expert-score {
    min-width: 105px;
    text-align: center;
}

.mrghate-stars {
    direction: ltr;
    white-space: nowrap;
    color: #f5a623;
    font-size: 17px;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 6px;
}

.mrghate-expert-score strong {
    font-size: 18px;
    color: #222;
}

.mrghate-expert-score small {
    font-size: 12px;
    color: #888;
}

.mrghate-expert-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    border-top: 1px solid #eee;
    margin-top: 16px;
    padding-top: 12px;
    color: #777;
    font-size: 12px;
}

.mrghate-expert-meta strong {
    color: #333;
}

.mrghate-expert-author {
    margin-top: 12px;
    font-size: 12px;
    color: #888;
}

.mrghate-expert-author strong {
    color: #333;
}

@media (max-width: 576px) {
	@media (max-width: 767px) {

    /* =========================
       بررسی کارشناسی
       ========================= */

    .mrghate-expert-review {
        padding: 18px !important;
    }

    .mrghate-expert-review-head {
        display: block !important;
    }

    .mrghate-expert-score {
        text-align: right !important;
        margin-top: 12px !important;
    }


    /* =========================
       گالری محصول
       ========================= */

    .single-product .woocommerce-product-gallery,
    .single-product .product-images,
    .single-product .woocommerce-product-gallery__wrapper,
    .single-product .woocommerce-product-gallery__image {
        min-height: 0 !important;
        height: auto !important;
    }

    .single-product .woocommerce-product-gallery,
    .single-product .product-images {
        margin-bottom: 10px !important;
    }

    .single-product .woocommerce-product-gallery__image img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: 390px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }


    /* =========================
       Summary محصول
       ========================= */

    .single-product .summary,
    .single-product .summary-inner,
    .single-product .summary.entry-summary {
        min-height: 0 !important;
        height: auto !important;
        margin-bottom: 0 !important;
    }

    .single-product .summary-inner {
        padding: 0 18px !important;
    }

    .single-product .product_title {
        font-size: 22px !important;
        line-height: 1.6 !important;
        margin-bottom: 8px !important;
    }

    .single-product .summary .price {
        font-size: 24px !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
    }

    .single-product .woocommerce-product-details__short-description {
        font-size: 14px !important;
        line-height: 2 !important;
        margin-bottom: 16px !important;
    }


    /* =========================
       افزودن به سبد
       ========================= */

    .single-product form.cart {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    .single-product form.cart .single_add_to_cart_button {
        flex: 1 !important;
        min-height: 48px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    .single-product form.cart .quantity {
        flex: 0 0 auto !important;
    }


    /* =========================
       برند کنار عنوان
       ========================= */

    .single-product .wd-product-brands {
        display: none !important;
    }


    /* =========================
       Meta محصول
       ========================= */

    .single-product .product_meta {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        gap: 6px !important;

        width: 100% !important;

        margin: 12px 0 12px !important;
        padding: 10px 0 8px !important;

        border-top: 1px solid #eee !important;
        border-bottom: 0 !important;
    }

    .single-product .product_meta > span {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        width: 100% !important;

        padding: 9px 12px !important;
        margin: 0 !important;

        background: #f8f8f8 !important;
        border-radius: 8px !important;

        box-sizing: border-box !important;
        text-align: right !important;
    }

    .single-product .product_meta .meta-label {
        font-weight: 700 !important;
        color: #333 !important;
        margin: 0 !important;
    }

    .single-product .product_meta a,
    .single-product .product_meta .sku {
        color: #666 !important;
        font-weight: 500 !important;
        margin: 0 !important;
    }


    /* =========================
       فاصله بین Summary و Tabs
       ========================= */

    .single-product .product-image-summary-wrap,
    .single-product .product-image-summary,
    .single-product .product-image-summary-inner {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
    }

    .single-product .product-tabs-wrapper,
    .single-product .product-tabs-wrapper > .container,
    .single-product .product-tabs-inner,
    .single-product .woocommerce-tabs,
    .single-product .wd-accordion,
    .single-product .tabs-layout-accordion {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .single-product .woocommerce-tabs > .wd-accordion-item:first-of-type,
    .single-product .wd-accordion-item:first-child {
        margin-top: 0 !important;
    }


    /* =========================
       توضیحات محصول
       ========================= */

    .single-product .woocommerce-Tabs-panel--description {
        padding: 0 18px 20px !important;
    }

    .single-product .woocommerce-Tabs-panel--description h2 {
        font-size: 22px !important;
        line-height: 1.6 !important;
        margin: 18px 0 12px !important;
    }

    .single-product .woocommerce-Tabs-panel--description h3 {
        font-size: 18px !important;
        line-height: 1.7 !important;
        margin: 20px 0 10px !important;
    }

    .single-product .woocommerce-Tabs-panel--description p {
        font-size: 14px !important;
        line-height: 2 !important;
        margin-bottom: 14px !important;
        color: #666 !important;
    }

    .single-product .woocommerce-Tabs-panel--description ul,
    .single-product .woocommerce-Tabs-panel--description ol {
        font-size: 14px !important;
        line-height: 2 !important;
        padding-right: 20px !important;
        margin-bottom: 16px !important;
    }


    /* =========================
       توضیحات تکمیلی
       ========================= */

    .single-product .woocommerce-product-attributes {
        width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 8px !important;
    }

    .single-product .woocommerce-product-attributes tbody {
        display: block !important;
        width: 100% !important;
    }

    .single-product .woocommerce-product-attributes tr {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;

        width: 100% !important;
        box-sizing: border-box !important;

        padding: 11px 14px !important;

        background: #f8f8f8 !important;
        border-radius: 9px !important;
    }

    .single-product .woocommerce-product-attributes th,
    .single-product .woocommerce-product-attributes td {
        display: block !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .single-product .woocommerce-product-attributes th {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #333 !important;
        text-align: right !important;
    }

    .single-product .woocommerce-product-attributes td {
        font-size: 13px !important;
        color: #666 !important;
        text-align: left !important;
    }

    .single-product .woocommerce-product-attributes .wd-term {
        display: inline !important;
    }
}


@media (max-width: 767px) {

    /* وقتی هنوز نظری وجود ندارد، خلاصه نمودار امتیازات را مخفی کن */
    .single-product .wd-rating-summary-wrap {
        display: none !important;
    }

    /* جمع کردن فاصله قبل از فرم نظر */
    .single-product #comments {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .single-product #review_form_wrapper {
        margin-top: 15px !important;
        padding-top: 0 !important;
    }

    .single-product .comment-reply-title {
        font-size: 16px !important;
        line-height: 1.8 !important;
        margin-bottom: 15px !important;
    }

    /* فرم نظر */
    .single-product .comment-form {
        margin-top: 10px !important;
    }

    .single-product .comment-form-rating {
        margin-bottom: 12px !important;
    }

    .single-product .comment-form-comment {
        margin-bottom: 12px !important;
    }

    .single-product .comment-form-comment textarea {
        min-height: 110px !important;
        border-radius: 8px !important;
    }
}



@media (max-width: 767px) {

    /* فاصله فرم */
    .single-product #review_form_wrapper {
        margin-top: 24px !important;
        padding-top: 0 !important;
    }

    /* عنوان فرم */
    .single-product .comment-reply-title {
        display: block !important;
        font-size: 16px !important;
        line-height: 1.9 !important;
        font-weight: 700 !important;
        margin-bottom: 18px !important;
    }

    /* فاصله اجزای فرم */
    .single-product .comment-form > p,
    .single-product .comment-form-rating {
        margin-bottom: 16px !important;
    }

    /* لیبل‌ها */
    .single-product .comment-form label {
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    /* ردیف امتیاز */
    .single-product .comment-form-rating {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex-wrap: wrap !important;
    }

    .single-product .comment-form-rating > label {
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    /* ستاره‌ها - بدون دستکاری ساختار خود WoodMart */
    .single-product .comment-form-rating .stars {
        margin: 0 !important;
        line-height: 1 !important;
    }

    .single-product .comment-form-rating .stars span {
        display: inline-flex !important;
        align-items: center !important;
    }

    /* کادر دیدگاه */
    .single-product .comment-form-comment textarea {
        width: 100% !important;
        min-height: 120px !important;
        padding: 14px !important;

        border: 1px solid #ddd !important;
        border-radius: 10px !important;

        background: #fff !important;

        font-size: 14px !important;
        line-height: 1.8 !important;

        box-sizing: border-box !important;
        resize: vertical !important;
    }

    .single-product .comment-form-comment textarea:focus {
        border-color: #ed2f3c !important;
        outline: none !important;
        box-shadow: none !important;
    }

    /* دکمه ثبت */
    .single-product .comment-form .form-submit {
        margin-top: 8px !important;
        margin-bottom: 0 !important;
    }

    .single-product .comment-form .submit {
        width: 100% !important;
        min-height: 48px !important;

        background: #ed2f3c !important;
        color: #fff !important;

        border: 0 !important;
        border-radius: 8px !important;

        font-size: 15px !important;
        font-weight: 700 !important;

        padding: 0 20px !important;
    }
}

@media (max-width: 767px) {
    .single-product .comment-reply-title {
        font-size: 15px !important;
        line-height: 1.8 !important;
    }
}


/* کارت محصولات فروشگاه */
.woocommerce-shop .product-grid-item .quantity {
    display: none !important;
}

/* دکمه افزودن به سبد */
.woocommerce-shop .product-grid-item .add-to-cart-loop,
.woocommerce-shop .product-grid-item .button {
    width: 100% !important;
    min-height: 42px !important;
    border-radius: 8px !important;
    text-align: center !important;
    justify-content: center !important;
}

/* نام محصول */
.woocommerce-shop .product-grid-item .wd-entities-title {
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* قیمت */
.woocommerce-shop .product-grid-item .price {
    font-size: 14px !important;
    font-weight: 700 !important;
}


.woocommerce-shop .product-grid-item .product-element-top {
    margin-bottom: 10px !important;
}

.woocommerce-shop .product-grid-item .product-element-top img {
    max-height: 230px !important;
    object-fit: contain !important;
}

.woocommerce-shop .product-grid-item .product-wrapper {
    padding-bottom: 8px !important;
}

.woocommerce-shop .product-grid-item .wd-entities-title {
    margin-bottom: 6px !important;
}

.woocommerce-shop .product-grid-item .price {
    margin-bottom: 10px !important;
}



/* =========================
   SHOP MOBILE CARDS
   ========================= */

.woocommerce-shop .products,
.tax-product_cat .products {
    gap: 8px !important;
}

/* خود کارت */
.woocommerce-shop .product-grid-item,
.tax-product_cat .product-grid-item {
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* بخش عکس */
.woocommerce-shop .product-grid-item .product-element-top,
.tax-product_cat .product-grid-item .product-element-top {
    margin-bottom: 8px !important;
}

/* جمع کردن ارتفاع ناحیه عکس */
.woocommerce-shop .product-grid-item .product-element-top img,
.tax-product_cat .product-grid-item .product-element-top img {
    width: 100% !important;
    height: auto !important;
    max-height: 220px !important;
    object-fit: contain !important;
}

/* محتوای کارت */
.woocommerce-shop .product-grid-item .product-wrapper,
.tax-product_cat .product-grid-item .product-wrapper {
    padding: 0 8px 8px !important;
}

/* عنوان */
.woocommerce-shop .product-grid-item .wd-entities-title,
.tax-product_cat .product-grid-item .wd-entities-title {
    font-size: 13px !important;
    line-height: 1.7 !important;
    min-height: 44px !important;
    margin: 0 0 4px !important;
}

/* قیمت */
.woocommerce-shop .product-grid-item .price,
.tax-product_cat .product-grid-item .price {
    font-size: 13px !important;
    font-weight: 700 !important;
    min-height: 24px !important;
    margin-bottom: 8px !important;
}

/* بخش پایین کارت */
.woocommerce-shop .product-grid-item .wd-add-btn,
.tax-product_cat .product-grid-item .wd-add-btn {
    width: 100% !important;
    margin-top: auto !important;
}

/* دکمه ساده و متغیر یک ارتفاع */
.woocommerce-shop .product-grid-item .button,
.tax-product_cat .product-grid-item .button {
    width: 100% !important;
    min-height: 42px !important;
    padding: 8px 6px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* کنترل تعداد را روی کارت فروشگاه حذف کن */
.woocommerce-shop .product-grid-item .quantity,
.tax-product_cat .product-grid-item .quantity {
    display: none !important;
}

/* فاصله کمتر بین ردیف‌ها */
.woocommerce-shop .product-grid-item,
.tax-product_cat .product-grid-item {
    margin-bottom: 4px !important;
}


/* حذف quantity از تمام کارت‌های Shop */
.woocommerce-shop .products .product .quantity,
.tax-product_cat .products .product .quantity {
    display: none !important;
}

/* فاصله واقعی بین کارت‌ها */
.woocommerce-shop .products,
.tax-product_cat .products {
    column-gap: 8px !important;
    row-gap: 10px !important;
}

/* یکسان کردن ناحیه دکمه پایین کارت */
.woocommerce-shop .product-grid-item .wd-add-btn,
.tax-product_cat .product-grid-item .wd-add-btn {
    min-height: 44px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
}

/* دکمه‌های خرید و انتخاب گزینه‌ها */
.woocommerce-shop .product-grid-item .wd-add-btn .button,
.tax-product_cat .product-grid-item .wd-add-btn .button {
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
}


/* حذف کنترل تعداد از کارت محصولات فروشگاه */
.woocommerce-shop .quantity:has(input.qty),
.tax-product_cat .quantity:has(input.qty) {
    display: none !important;
}

}

