:root {
	--wd-text-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Yantramanav", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Yantramanav", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: var(--wd-text-font);
	--wd-widget-title-font: "Yantramanav", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(39,144,87);
	--wd-alternative-color: rgb(173,253,168);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(209,44,44);
	--btn-accented-bgcolor-hover: rgb(191,40,40);
	--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-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(30,115,190);
	background-image: url(https://haayat.ir/wp-content/uploads/2021/10/grocery-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
: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: rgb(25,147,69);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

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


.wd-page-title {
background-color: rgb(13,152,74);
}

.wd-nav-header li a {
   
	font-family: inherit !important;}

div.wpcf7 input[type=submit]{background-color: #0d984a !important;}
.wd-product.wd-hover-quick .wd-add-btn a{background-color:#199345 !important;}
@media (max-width: 768px) {
    .elementor-7033 .elementor-element.elementor-element-19589ec {
      margin-top:0px !important;
        --margin-bottom: 60px;
        --margin-left: 0px;
        --margin-right: 0px;
    }
}


.latest-posts-one-line .wd-entities-title,
.latest-posts-one-line .wd-post-title,
.latest-posts-one-line .entry-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.home .blog-post-loop .post-title,
.home .blog-post-loop .entry-title,
.home .blog-post-loop h3 {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    max-width: 100% !important;
}


.wd-post-read-more.wd-style-link{
	border: 2px solid #11873b;
	border-radius:4px !important;
padding-top:10px !important;
	padding-bottom:10px !important;
padding-left:15px !important;
padding-right:15px !important;

}



/* =========================
   Hayat Contact Form 7
========================= */

.hayat-contact-form {
    direction: rtl;
    width: 100%;
}

.hayat-contact-form .hayat-form-group {
    margin-bottom: 22px;
}

.hayat-contact-form .hayat-form-group label {
    display: block;
    margin: 0 0 9px;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    color: #0f100e;
}

.hayat-contact-form .hayat-field {
    position: relative;
    display: block;
    width: 100%;
}

.hayat-contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.hayat-contact-form input[type="text"],
.hayat-contact-form input[type="tel"],
.hayat-contact-form input[type="email"],
.hayat-contact-form textarea {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 52px 0 16px !important;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 10px;
    box-shadow: none;
    color: #0f100e;
    font-size: 14px;
    font-weight: 400;
    text-align: right;
    transition: .25s ease;
}

.hayat-contact-form input[type="text"],
.hayat-contact-form input[type="tel"],
.hayat-contact-form input[type="email"] {
    height: 54px;
}

.hayat-contact-form textarea {
    min-height: 155px;
    padding-top: 16px !important;
    resize: vertical;
}

.hayat-contact-form input::placeholder,
.hayat-contact-form textarea::placeholder {
    color: #aaa;
    opacity: 1;
    font-weight: 400;
}

.hayat-contact-form input:focus,
.hayat-contact-form textarea:focus {
    outline: none;
    border-color: #159447;
    box-shadow: 0 0 0 3px rgba(21, 148, 71, .08);
}

/* آیکون‌ها */
.hayat-contact-form .hayat-field::before {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 5;
    pointer-events: none;
}

.hayat-contact-form .hayat-message::before {
    top: 17px;
    transform: none;
}

/* نام */
.hayat-contact-form .hayat-name::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23159447' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.5 20.1a7.5 7.5 0 0115 0'/%3E%3C/svg%3E");
}

/* موبایل */
.hayat-contact-form .hayat-phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23159447' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 4.5A2.25 2.25 0 014.5 2.25h2.1a1.5 1.5 0 011.45 1.12l.75 2.8a1.5 1.5 0 01-.4 1.47L6.8 9.25a15 15 0 007.95 7.95l1.61-1.6a1.5 1.5 0 011.47-.4l2.8.75a1.5 1.5 0 011.12 1.45v2.1a2.25 2.25 0 01-2.25 2.25H18C9.3 21.75 2.25 14.7 2.25 6V4.5z'/%3E%3C/svg%3E");
}

/* موضوع */
.hayat-contact-form .hayat-subject::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23159447' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5.25H6.75A2.25 2.25 0 004.5 7.5v10.5a2.25 2.25 0 002.25 2.25h10.5a2.25 2.25 0 002.25-2.25V7.5a2.25 2.25 0 00-2.25-2.25H15M9 5.25A2.25 2.25 0 0111.25 3h1.5A2.25 2.25 0 0115 5.25M9 12h6m-6 4h6'/%3E%3C/svg%3E");
}

/* پیام */
.hayat-contact-form .hayat-message::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23159447' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.862 4.487z'/%3E%3C/svg%3E");
}

/* دکمه */
.hayat-contact-form .hayat-submit-wrap {
    margin-top: 6px;
}

.hayat-contact-form .hayat-submit {
    width: 100%;
    height: 50px;
    margin: 0 !important;
    border: 0;
    border-radius: 10px;
    background: #159447;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
}

.hayat-contact-form .hayat-submit:hover {
    background: #107b3b;
}

/* حذف فاصله‌های اضافه CF7 */
.hayat-contact-form p {
    margin: 0 !important;
}

.hayat-contact-form br {
    display: none;
}

.hayat-contact-form .wpcf7-spinner {
    position: absolute;
}

div.wpcf7 input[type=submit]{font-size:15px !important;}

/* موبایل */
@media (max-width: 767px) {
    .hayat-contact-form .hayat-form-group {
        margin-bottom: 17px;
    }

    .hayat-contact-form input[type="text"],
    .hayat-contact-form input[type="tel"],
    .hayat-contact-form input[type="email"] {
        height: 50px;
    }
}


input.wpcf7-form-control.wpcf7-submit.has-spinner.hayat-submit {
    border-radius: 10px;
}


.wd-product-cats {
    display: none !important;
}

span.woocommerce-Price-currencySymbol{/*display:none !important;*/}

/*آدرس ها در تماس */
.footer-address {
    display: flex;
    align-items: flex-start;
    direction: rtl;
    text-align: right;
    gap: 10px;
}

.footer-address i {
    margin-top: 6px;
    flex-shrink: 0;
}

.footer-address .address-text {
    line-height: 2;
}




/******فرم درخواست سازمانی ماسک حیات************/
.cf7-icon-field {
    position: relative;
    margin-bottom:5px;
}

.wpcf7-form p {
    margin: 0 !important;
    padding: 0 !important;
}

.cf7-icon-field {
    margin-bottom: 5px !important;
}

.cf7-icon-field input {
    margin-bottom: 0 !important;
}




.wpcf7 form p {
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7 form .cf7-icon-field {
    margin-bottom: -7px !important;
}

.wpcf7 form .cf7-icon-field:last-of-type {
    margin-bottom: 20px !important;
}
.wpcf7-form p {
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-form .cf7-icon-field {
    margin-bottom: 6px !important;
}

.wpcf7-form .cf7-icon-field:last-of-type {
    margin-bottom: 18px !important;
}

.wpcf7-form .cf7-icon-field input {
    margin: 0 !important;
}
.wpcf7-form .cf7-submit-btn {
    margin-top: 20px !important;
}



.cf7-icon-field input,
.cf7-icon-field textarea {
    width: 100%;
    border-radius: 12px !important;
    border: 1px solid #e5e5e5 !important;
    background: #fff;
    padding-right: 65px !important;
    direction: rtl;
    font-size: 14px;
}

.cf7-icon-field input {
    height: 55px;
}

.cf7-icon-field textarea {
    height: 140px;
    padding-top: 18px !important;
}

.cf7-icon {
    position: absolute;
    right: 12px;
        top: 65%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: #f0f8f3;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #159447;
    z-index: 2;
}

.textarea-field .cf7-icon {
    top: 33px;
    transform: none;
}

.cf7-icon i {
    font-size: 17px;
}
.wpcf7-submit {
    width: 250px !important;
    border-radius: 12px !important;
    height: 52px !important;
}

.box-with-icon .info-box-icon {
	margin-top: -12px !important;}

form.wpcf7-form.init {
    margin: unset !important;
}

@font-face {
    font-family: 'Nian';
    src: url('https://haayat.ir/wp-content/themes/woodmart/fonts/nian/Nian.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nian';
    src: url('https://haayat.ir/wp-content/themes/woodmart/fonts/nian/NianExtraBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
h1,h2,h3{font-family: 'Nian' !important;font-weight:700 !important;}

.section-title-modern {
    font-family: 'Nian', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #123d46;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    letter-spacing: -0.5px;
}

/* خط های دو طرف عنوان */
.section-title-modern::before,
.section-title-modern::after {
    content: "";
    width: 110px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #65bfa5);
    flex-shrink: 0;
}

.section-title-modern::after {
    background: linear-gradient(90deg, #65bfa5, transparent);
}
.product_list_widget>li .wd-entities-title {
	font-family: 'Vazirmatn';}
.wd-post .wd-post-meta{display:none !important;}


:root {
    
    --wd-brd-radius: 15px !important;
}


.contact-box{
    direction:rtl;
    background:#fff;
    border-radius:20px;
    font-family:inherit;
}


.contact-box h2{
    font-size:25px;
    font-weight:800;
    color:#111827;
    margin:0 0 15px;
}


/* Address */
.address-box{
    display:flex;
    gap:15px;
    align-items:flex-start;
    padding-bottom:15px;
}


.address-box p{
    margin:0;
    color:#555;
    font-size:15px;
    line-height:2;
}


.icon{
    width:40px;
    height:40px;
    min-width:40px;
    background:#e7f7ef;
    color:#009b55;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
}



/* Items */
.contact-item{
    height:58px;
    border-top:1px solid #eeeeee;
    display:flex;
    align-items:center;
    gap:15px;
}


.label{
    color:#555;
    font-size:15px;
    min-width:100px;
}


.value{
    margin-right:auto;
    direction:ltr;
    color:#333;
    font-size:15px;
}



/* Social */
.social{
    border-top:1px solid #eeeeee;
    margin-top:5px;
    padding-top:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}


.social-icons{
    display:flex;
    gap:12px;
}


.social-icons a{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#e7f7ef;
    color:#009b55;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
}
.contact-box a{
    color:inherit;
    text-decoration:none;
}

.contact-box a:hover{
    color:#009b55;
}

.post-title,
.entry-title,
.blog-post-title,
h2.post-title,
h3.post-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.wd-entities-title a {
    
    font-family: 'Vazirmatn' !important;
}
.title-after_title.reset-last-child.wd-fontsize-s {
    text-align: justify;
}

@media (max-width: 767px) {

    .whb-top-bar .whb-row {
        display: flex !important;
        align-items: center !important;
    }

    .whb-col-mobile {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        direction: ltr !important;
        height: 100% !important;
    }

    .whb-col-mobile .wd-info-box {
        margin-left: auto !important;
        margin-right: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .whb-col-mobile .info-box-content {
        display: flex !important;
        align-items: center !important;
    }
}
@media (max-width: 767px) {
    .whb-top-bar {
        display: flex !important;
        align-items: center !important;
    }

    .whb-top-bar .whb-row {
        min-height: 40px !important;
    }
}

.box-with-icon .info-box-icon{margin-top:0px !important;}
.single_add_to_cart_button{background-color:#279057 !important}
.shop_attributes tr {
	display: none !important;}


.summary-inner .wd-accordion+.product_meta{display:none !important;}
.wd-social-icons.wd-shape-circle {
	display: none;}
.wd select {
	text-align: right !important;}


.single_add_to_cart_button {
    border-radius: 5px !important;
}
input[type=email], input[type=date], input[type=search], input[type=number], input[type=text], input[type=tel], input[type=url], input[type=password], .wd textarea, .wd select{
    border-radius: 5px !important;
}


.wd-nav.wd-style-underline-reverse>li>a>.nav-link-text {
	font-family: 'Vazirmatn' !important;}
#reply-title{font-family: 'Vazirmatn' !important;}
.comment-form .submit{background-color:#199345 !important;border-radius:5px !important;}
.wd-before-product-tabs {
	display: none !important}
.wd-content-area:not([style*="col-lg:12;"]) .product-tabs-wrapper{
	/*display: none !important*/}
h1.product_title.entry-title.wd-entities-title {
    font-size: 32px !important;
}
#produc{border:1px solid #f6fbf7; border-radius:15px !important;background-color:#f6fbf7 !important;}
.price .amount{font-size:24px !important}
.discount-text {
    background-color: red !important;
    color: white !important;
    font-weight: 700;
    font-size: 14px;
    margin-right: 8px;
    padding: 8px;
    border-radius: 6px;
	float:left !important;
}
.elementor-widget-n-accordion .e-n-accordion-item[open]>.e-n-accordion-item-title {
	border-radius: 5px;background-color:#f6fbf7 !important;border-color:#f6fbf7 !important}
.elementor-widget-n-accordion .e-n-accordion-item-title {
	border-radius: 5px !important;background-color:#f6fbf7 !important;border-color:#f6fbf7 !important}
/*justify sefaresh sazmani*/
.elementor-103 .elementor-element.elementor-element-52c454c .info-box-title {
    text-align: justify !important;
}


.btn.btn-accent{background-color:#016c38 !important}
button[name=save_account_details], button[name=save_address]{background-color:#016c38 !important}
legend{font-family:'Vazirmatn' !important;}



/* =====================================================
   PRODUCT VARIATIONS - HAYAT
   رنگ و تعداد در یک ردیف + توزیع کامل عرض
===================================================== */

/* کل جدول ویژگی‌ها */
.single-product table.variations {
    width: 100% !important;
    margin-top: 18px;
}

/* هر ویژگی = یک ردیف */
.single-product table.variations tr {
    display: grid !important;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    width: 100%;
    margin-bottom: 16px;
}

/* عنوان: رنگ / تعداد */
.single-product table.variations th.label {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: right;
    white-space: nowrap;
    vertical-align: middle;
}

.single-product table.variations th.label label {
    display: block;
    margin: 0 !important;
    font-size: 14px;
    font-weight: 700;
    color: #17252f;
}


/* بخش گزینه‌های هر ویژگی */
.single-product table.variations td.value {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0;
}


/* کانتینر swatch ها */
.single-product .wd-swatches-product {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 10px !important;
}


/* =====================================================
   گزینه‌های متنی مثل:
   10 عدد / 25 عدد / 50 عدد / 100 عدد
===================================================== */

.single-product .wd-swatches-product .wd-swatch.wd-text {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 42px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    padding: 6px 8px !important;

    background: #fff !important;
    border: 1px solid #dfe5e2 !important;
    border-radius: 8px !important;

    color: #293832 !important;
    font-size: 13px !important;
    font-weight: 600 !important;

    text-align: center;
    white-space: nowrap;

    box-shadow: none !important;
    transition: all .2s ease;
}


/* متن داخل swatch */
.single-product .wd-swatch.wd-text .wd-swatch-text {
    width: 100%;
    text-align: center;
    color: inherit !important;
}


/* hover تعداد */
.single-product .wd-swatch.wd-text:hover {
    border-color: #07885f !important;
    color: #07885f !important;
    background: #f7fcfa !important;
}


/* تعداد انتخاب‌شده */
.single-product .wd-swatch.wd-text.wd-active {
    border-color: #07885f !important;
    background: #edf8f3 !important;
    color: #07885f !important;
    box-shadow: 0 0 0 1px #07885f !important;
}


/* حذف خط زیر استایل پیش‌فرض WoodMart */
.single-product .wd-swatch.wd-text:after,
.single-product .wd-swatch.wd-text:before {
    display: none !important;
}


/* =====================================================
   رنگ‌ها
===================================================== */

/* خود swatchهای رنگی */
.single-product .wd-swatches-product .wd-swatch.wd-bg {
    margin: 0 !important;
}


/* کاری می‌کند رنگ‌ها در کل فضای ردیف پخش شوند */
.single-product .wd-swatches-product .wd-swatch.wd-bg {
    flex: 1 1 0 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
}


/* دایره رنگ */
.single-product .wd-swatch.wd-bg .wd-swatch-bg {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px;
    border-radius: 50% !important;

    border: 2px solid #fff !important;
    box-shadow: 0 0 0 1px #d9dfdc;
}


/* رنگ انتخاب شده */
.single-product .wd-swatch.wd-bg.wd-active .wd-swatch-bg {
    box-shadow:
        0 0 0 2px #07885f,
        inset 0 0 0 1px #fff !important;
}


/* =====================================================
   لینک پاک کردن انتخاب
===================================================== */

.single-product .reset_variations {
    display: block;
    margin-top: 9px !important;
    font-size: 11px;
    color: #9a9a9a !important;
}


/* =====================================================
   موبایل
===================================================== */

@media (max-width: 767px) {

    .single-product table.variations tr {
        grid-template-columns: 62px minmax(0, 1fr);
        column-gap: 8px;
        margin-bottom: 14px;
    }

    .single-product table.variations th.label label {
        font-size: 13px;
    }

    .single-product .wd-swatches-product {
        gap: 6px !important;
    }

    .single-product .wd-swatches-product .wd-swatch.wd-text {
        height: 38px !important;
        padding: 5px 4px !important;
        font-size: 11px !important;
        border-radius: 7px !important;
    }

    .single-product .wd-swatch.wd-bg .wd-swatch-bg {
        width: 27px !important;
        height: 27px !important;
        min-width: 27px;
    }
}
/* =====================================================
   FIX COLOR SWATCH
   حذف بیضی و خط پیش‌فرض WoodMart روی رنگ انتخاب‌شده
===================================================== */

.single-product .wd-swatches-product .wd-swatch.wd-bg {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: auto !important;
    border-radius: 0 !important;
}

/* حذف افکت‌های پیش‌فرض WoodMart */
.single-product .wd-swatches-product .wd-swatch.wd-bg::before,
.single-product .wd-swatches-product .wd-swatch.wd-bg::after,
.single-product .wd-swatches-product .wd-swatch.wd-bg .wd-swatch-bg::before,
.single-product .wd-swatches-product .wd-swatch.wd-bg .wd-swatch-bg::after {
    display: none !important;
    content: none !important;
}


/* دایره رنگ */
.single-product .wd-swatches-product .wd-swatch.wd-bg .wd-swatch-bg {
    display: block !important;

    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;

    padding: 0 !important;
    margin: 0 auto !important;

    border-radius: 50% !important;

    border: 2px solid #fff !important;
    box-shadow: 0 0 0 1px #d8dfdb !important;
}


/* رنگ انتخاب شده */
.single-product .wd-swatches-product .wd-swatch.wd-bg.wd-active .wd-swatch-bg {
    box-shadow:
        0 0 0 2px #07885f !important;
}


/* =====================================================
   QUANTITY + ADD TO CART
   هرکدام نصف عرض
===================================================== */

.single-product .single_variation_wrap {
    width: 100%;
}


/* ردیف افزودن به سبد */
.single-product .woocommerce-variation-add-to-cart {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 10px;

    width: 100% !important;

    align-items: stretch;
}


/* ==========================
   Quantity
========================== */

.single-product .woocommerce-variation-add-to-cart .quantity {
    width: 100% !important;
    max-width: none !important;

    display: flex !important;

    margin: 0 !important;

    min-height: 48px;

    border: 1px solid #dfe5e2;
    border-radius: 8px;

    overflow: hidden;

    background: #fff;
}


/* عدد وسط */
.single-product .woocommerce-variation-add-to-cart .quantity input.qty {
    flex: 1 1 auto !important;

    width: 100% !important;
    max-width: none !important;

    height: 48px !important;

    border: 0 !important;

    text-align: center;

    background: #fff;
}


/* مثبت و منفی */
.single-product .woocommerce-variation-add-to-cart .quantity .plus,
.single-product .woocommerce-variation-add-to-cart .quantity .minus {
    width: 48px !important;
    min-width: 48px !important;

    height: 48px !important;

    border: 0 !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    background: #f8faf9;

    color: #37443f;
}


/* خط بین + و - و عدد */
.single-product .woocommerce-variation-add-to-cart .quantity .plus {
    border-right: 1px solid #e5e9e7 !important;
}

.single-product .woocommerce-variation-add-to-cart .quantity .minus {
    border-left: 1px solid #e5e9e7 !important;
}


/* ==========================
   Add to cart button
========================== */

.single-product .woocommerce-variation-add-to-cart
.single_add_to_cart_button {
    width: 100% !important;

    min-width: 0 !important;
    min-height: 48px !important;

    margin: 0 !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 8px !important;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
}


/* =====================================================
   SIMPLE PRODUCT
   اگر محصول ساده بود نه متغیر
===================================================== */

.single-product form.cart:not(.variations_form) {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 10px;

    width: 100%;
}

.single-product form.cart:not(.variations_form) .quantity {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.single-product form.cart:not(.variations_form)
.single_add_to_cart_button {
    width: 100% !important;
    margin: 0 !important;
}

/* =====================================================
   HAYAT PRODUCT VARIATIONS
===================================================== */


/* جدول ویژگی‌ها */
.single-product table.variations {
    width: 100% !important;
    margin-top: 18px;
}


/* هر ویژگی در یک ردیف */
.single-product table.variations tr {
    display: grid !important;
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    width: 100%;
    margin-bottom: 16px;
}


/* عنوان ویژگی: رنگ / تعداد */
.single-product table.variations th.label {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: right;
    white-space: nowrap;
}

.single-product table.variations th.label label {
    display: block;
    margin: 0 !important;
    font-size: 14px;
    font-weight: 700;
    color: #17252f;
}


/* بخش گزینه‌ها */
.single-product table.variations td.value {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0;
}


/* کانتینر Swatchها */
.single-product .wd-swatches-product {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 10px !important;
}


/* =====================================================
   گزینه‌های متنی مثل تعداد
===================================================== */

.single-product .wd-swatches-product .wd-swatch.wd-text {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    padding: 6px 8px !important;

    background: #fff !important;
    border: 1px solid #dfe5e2 !important;
    border-radius: 8px !important;

    color: #293832 !important;
    font-size: 13px !important;
    font-weight: 600 !important;

    text-align: center;
    white-space: nowrap;

    box-shadow: none !important;
    transition: all .2s ease;
}


/* متن داخل گزینه */
.single-product .wd-swatch.wd-text .wd-swatch-text {
    width: 100%;
    text-align: center;
    color: inherit !important;
}


/* Hover */
.single-product .wd-swatch.wd-text:hover {
    border-color: #07885f !important;
    color: #07885f !important;
    background: #f7fcfa !important;
}


/* گزینه انتخاب‌شده */
.single-product .wd-swatch.wd-text.wd-active {
    border-color: #07885f !important;
    background: #edf8f3 !important;
    color: #07885f !important;
    box-shadow: 0 0 0 1px #07885f !important;
}


/* حذف underline پیش‌فرض گزینه‌های متنی */
.single-product .wd-swatch.wd-text::before,
.single-product .wd-swatch.wd-text::after {
    display: none !important;
    content: none !important;
}


/* =====================================================
   رنگ‌ها
===================================================== */

.single-product .wd-swatches-product .wd-swatch.wd-bg {
    position: relative !important;

    flex: 1 1 0 !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    padding: 0 0 9px !important;
    margin: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}


/* خود دایره رنگ */
.single-product .wd-swatches-product
.wd-swatch.wd-bg .wd-swatch-bg {

    display: block !important;

    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    border-radius: 50% !important;

    border: 2px solid #fff !important;

    box-shadow:
        0 0 0 1px #d7dedb !important;
}


/* رنگ انتخاب شده */
.single-product .wd-swatches-product
.wd-swatch.wd-bg.wd-active .wd-swatch-bg {

    box-shadow:
        0 0 0 2px #07885f !important;
}


/* حذف بیضی اضافه WoodMart */
.single-product .wd-swatches-product
.wd-swatch.wd-bg::before {

    display: none !important;
    content: none !important;
}


/* خط زیر رنگ انتخاب‌شده */
.single-product .wd-swatches-product
.wd-swatch.wd-bg::after {

    content: "" !important;

    position: absolute !important;

    right: 50% !important;
    bottom: 0 !important;

    transform: translateX(50%) scaleX(0) !important;

    width: 32px !important;
    height: 2px !important;

    background: #222 !important;

    border-radius: 2px !important;

    opacity: 0 !important;

    transition: all .2s ease !important;
}


/* فقط برای رنگ انتخاب‌شده خط نمایش داده شود */
.single-product .wd-swatches-product
.wd-swatch.wd-bg.wd-active::after {

    transform: translateX(50%) scaleX(1) !important;
    opacity: 1 !important;
}


/* =====================================================
   لینک پاک کردن انتخاب
===================================================== */

.single-product .reset_variations {
    display: block;
    margin-top: 9px !important;
    font-size: 11px;
    color: #999 !important;
}


/* =====================================================
   QUANTITY + ADD TO CART
===================================================== */

.single-product .single_variation_wrap {
    width: 100% !important;
}


/* ردیف خرید */
.single-product .woocommerce-variation-add-to-cart {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 10px;

    width: 100% !important;

    align-items: stretch;
}


/* Quantity */
.single-product .woocommerce-variation-add-to-cart .quantity {
    width: 100% !important;
    max-width: none !important;

    display: flex !important;

    margin: 0 !important;

    min-height: 48px;

    border: 1px solid #dfe5e2;
    border-radius: 8px;

    overflow: hidden;

    background: #fff;
}


/* input تعداد */
.single-product .woocommerce-variation-add-to-cart .quantity input.qty {
    flex: 1 1 auto !important;

    width: 100% !important;
    max-width: none !important;

    height: 48px !important;

    border: none !important;

    text-align: center;

    background: #fff !important;
}


/* دکمه + و - */
.single-product .woocommerce-variation-add-to-cart .quantity .plus,
.single-product .woocommerce-variation-add-to-cart .quantity .minus {
    width: 48px !important;
    min-width: 48px !important;

    height: 48px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border: none !important;

    background: #f8faf9 !important;

    color: #37443f !important;
}


/* خطوط بین دکمه‌ها */
.single-product .woocommerce-variation-add-to-cart .quantity .plus {
    border-right: 1px solid #e5e9e7 !important;
}

.single-product .woocommerce-variation-add-to-cart .quantity .minus {
    border-left: 1px solid #e5e9e7 !important;
}


/* دکمه افزودن به سبد */
.single-product .woocommerce-variation-add-to-cart
.single_add_to_cart_button {

    width: 100% !important;

    min-width: 0 !important;
    min-height: 48px !important;

    margin: 0 !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 8px !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    white-space: nowrap;
}


/* =====================================================
   SIMPLE PRODUCT
===================================================== */

.single-product form.cart:not(.variations_form) {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 10px;

    width: 100% !important;
}


.single-product form.cart:not(.variations_form) .quantity {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}


.single-product form.cart:not(.variations_form)
.single_add_to_cart_button {

    width: 100% !important;
    margin: 0 !important;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .single-product table.variations tr {
        grid-template-columns: 55px minmax(0, 1fr);
        column-gap: 8px;
        margin-bottom: 14px;
    }

    .single-product table.variations th.label label {
        font-size: 13px;
    }

    .single-product .wd-swatches-product {
        gap: 6px !important;
    }

    .single-product .wd-swatches-product .wd-swatch.wd-text {
        height: 40px !important;
        padding: 5px 4px !important;
        font-size: 11px !important;
        border-radius: 7px !important;
    }

    .single-product .wd-swatches-product
    .wd-swatch.wd-bg .wd-swatch-bg {

        width: 27px !important;
        height: 27px !important;
        min-width: 27px !important;
    }

    .single-product .wd-swatches-product
    .wd-swatch.wd-bg::after {

        width: 29px !important;
    }

    .single-product .woocommerce-variation-add-to-cart {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px;
    }

    .single-product .woocommerce-variation-add-to-cart .quantity .plus,
    .single-product .woocommerce-variation-add-to-cart .quantity .minus {
        width: 38px !important;
        min-width: 38px !important;
    }

    .single-product .woocommerce-variation-add-to-cart
    .single_add_to_cart_button {

        font-size: 12px !important;
    }
}
table.variations {
	margin-bottom: 0px !important;}

.woocommerce-mini-cart__buttons .checkout{background-color:#12893d !important;}
.wd-checkout-steps {
	font-family: 'Vazirmatn' !important;}
#place_order{background-color:#12893d !important;}
.woocommerce-form-coupon .button{background-color:#12893d !important;}


/* =========================================
   مخفی کردن قیمت و تخفیف فقط در صفحه اصلی
========================================= */

/* قیمت محصولات */
body.home .product-grid-item .price,
body.home .wd-product .price,
body.home .products .product .price {
    display: none !important;
}


/* برچسب تخفیف / حراج */
body.home .product-grid-item .onsale,
body.home .wd-product .onsale,
body.home .products .product .onsale,
body.home .product-labels {
    display: none !important;
}




/* =========================================
   PRICE + DISCOUNT BADGE
   چیدمان:
   قیمت فعلی | قیمت قبلی | تخفیف
========================================= */

.single-product .summary .price {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;

    position: relative !important;
    direction: rtl !important;
}


/* قیمت فعلی */
.single-product .summary .price .ayudwp-lowest-price {
    order: 1 !important;
    position: static !important;
    float: none !important;
    margin: 0 !important;
}


/* قیمت قبلی خط‌خورده */
.single-product .summary .price del {
    order: 2 !important;

    position: static !important;
    float: none !important;

    margin: 0 !important;
}


/* باکس قرمز تخفیف */
.single-product .summary .price .discount-text {
    order: 3 !important;

    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;

    float: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;

    padding: 7px 10px !important;

    background: #ff2d2d !important;
    color: #fff !important;

    border-radius: 6px !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    white-space: nowrap !important;
}


/* لینک/متن داخل باکس تخفیف */
.single-product .summary .price .discount-text * {
    color: #fff !important;
}

/*حذف تخفیف از روی عکس محصول*/
.woocommerce-product-gallery .product-labels{display:none !important;}



/* =========================================
   وسط‌چین عمودی عنوان ویژگی‌های محصول
   رنگ / تعداد
========================================= */
/* =========================================
   وسط‌چین دقیق عنوان «تعداد»
========================================= */

.single-product table.variations tbody tr:last-child th.label.cell > label {
    position: relative !important;
    top: -11px !important;

    display: block !important;
    margin: 0 !important;
    padding: 0 !important;

    line-height: 1.5 !important;
}
/* =========================================
   تنظیم عنوان ویژگی‌ها در موبایل
========================================= */

@media (max-width: 767px) {

    .single-product table.variations tbody tr:last-child th.label.cell > label {
        position: relative !important;

        /* تنظیم عمودی مخصوص موبایل */
        top: -2px !important;

        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        line-height: 1.5 !important;
    }

}

/* کاهش فاصله بین گزینه‌های Variation و دکمه خرید در موبایل */
table.variations {
    margin-bottom: -24px !important;
}
@media (max-width: 767px) {

    table.variations {
        margin-bottom: 0px !important;
    }

}
@media (min-width: 768px) and (max-width: 1024px) {

    .single-product table.variations {
        margin-bottom: 0px !important;
    }

}


/*ارتفاع یکسان برای ویدیو و باکس کنارش در صفحه اصلی*/

@media (min-width: 1025px) {

    .hayat-production {
        align-items: stretch !important;
    }

    .hayat-production-video {
        aspect-ratio: 16 / 9;
    }

    .hayat-production-video .elementor-widget-video,
    .hayat-production-video .elementor-widget-video .elementor-widget-container,
    .hayat-production-video .elementor-wrapper {
        width: 100%;
        height: 100%;
    }

    .hayat-production-video iframe,
    .hayat-production-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hayat-production-content {
        align-self: stretch;
        justify-content: space-between;
        overflow: hidden;
    }
}










/* فرم ورود حساب کاربری حیات - Woodmart */

.woocommerce-account .woocommerce-form-login .form-row-wide{
    position:relative;
}


/* آیکون کاربر */

.woocommerce-account #username{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7' r='4' fill='none' stroke='%23079b49' stroke-width='2'/%3E%3Cpath d='M4 21c0-4 3.5-8 8-8s8 4 8 8' fill='none' stroke='%23079b49' stroke-width='2'/%3E%3C/svg%3E");

    background-repeat:no-repeat;
    background-position:right 18px center;

    padding-right:65px!important;
}


/* آیکون رمز */

.woocommerce-account #password{

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='11' rx='2' fill='none' stroke='%23079b49' stroke-width='2'/%3E%3Cpath d='M8 10V7a4 4 0 018 0v3' fill='none' stroke='%23079b49' stroke-width='2'/%3E%3C/svg%3E");

    background-repeat:no-repeat;
    background-position:right 18px center;

    padding-right:65px!important;

}


/* مربع سبز پشت آیکون */

.woocommerce-account #username,
.woocommerce-account #password{

    height:60px!important;

    border-radius:9px!important;

}