/*

Theme Name: Hello Elementor Child

Description: Child theme for the Hello Elementor theme, customized for Negareshenik.

Author: Mohammad

Template: hello-elementor

Version: 1.0.0

*/



/* تنظیم عرض کلی کانتینرهای المنتور */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1220px !important;
}

/* فونت یکان‌بخ برای محتوای نوشته‌ها و آکاردئون‌ها */
.elementor-widget-text-editor,
.elementor-widget-text-editor * ,
.elementor-widget-theme-post-content,
.elementor-widget-theme-post-content *,
.elementor-accordion,
.elementor-accordion *,
.elementor-tab-content,
.elementor-tab-content *,
.entry-content,
.entry-content * {
    font-family: "yekan bakh", sans-serif !important;
}

/* استایل قفل محدودیت محتوا*/
/* باکس قفل عضویت - نسخه نهایی */
.elementor-element-00bb4a9 .woocommerce .woocommerce-info.wc-memberships-restriction-message {
    border: 0 !important;
    border-top: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* حذف آیکون/مربع پیش فرض ووکامرس */
.elementor-element-00bb4a9 .woocommerce .woocommerce-info.wc-memberships-restriction-message::before {
    display: none !important;
    content: none !important;
}
/* حذف پاراگراف اضافه ای که کروشه [...] را نشان می دهد */
.elementor-element-00bb4a9 > .elementor-widget-container > p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
}
/* حذف فاصله های اضافی دور باکس قفل */
.elementor-element-00bb4a9 .woocommerce {
    margin: 0 !important;
}
.elementor-element-00bb4a9 .elementor-77350,
.elementor-element-00bb4a9 .elementor-77350 .e-con-inner,
.elementor-element-00bb4a9 .elementor-77350 .elementor-element-674fa96 {
    margin: 0 !important;
    max-width: 100% !important;
}

/* حذف استایل ایتالیک فونت ها */
body,
p,
span,
a,
li,
strong,
em,
h1, h2, h3, h4, h5, h6,
.elementor-widget-container,
.elementor-heading-title,
.elementor-text-editor,
.elementor-post__title,
.elementor-post__title a {
    font-style: normal !important;
}

/* استایل پیغام تمدید اشتراک در صفحه حساب کاربری*/
.woocommerce-message {
    font-family: "Yekan Bakh", Tahoma, sans-serif !important;
    font-size: 17px !important;
    display: flex !important;
    align-items: center !important; /* تراز کردن عمودی متن و دکمه */
    justify-content: space-between !important; /* متن راست، دکمه چپ */
    padding: 15px 20px !important;
    line-height: 1.8 !important;
}
 .woocommerce-message::before {
                display: none !important;
    }

.woocommerce-message .button {
    font-family: "Yekan Bakh", Tahoma, sans-serif !important;
    color: #fff !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    margin-right: auto !important; /* هل دادن دکمه به سمت چپ */
    margin-left: 0 !important;
    white-space: nowrap !important; /* جلوگیری از شکستن متن دکمه */
}

.woocommerce-message .button:hover {
    background-color: #57ac3c !important;
    color: #ffffff !important;
}

@media (max-width: 767px) {
    /* ۱. وسط‌چین کردن کل محتوای باکس پیام و ریزتر کردن متن */
    .woocommerce-message {
        font-size: 15.5px !important; /* ریزتر شدن متن برای خوانایی بهتر در موبایل */
        text-align: center !important; /* وسط‌چین شدن متن */
        padding: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* وسط‌چین کردن آیتم‌ها به صورت عمودی */
        gap: 12px !important;
    }

    .woocommerce-message::before {
                display: none !important;
    }


