/*
Theme Name:   Hello Elementor Child
Theme URI:    https://example.com/
Description:  Child theme for Hello Elementor.
Author:       Your Name
Author URI:   https://example.com/
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-elementor-child
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
*/

/* 
  Put your custom CSS below this line.
  Tip: Prefer Elementor's Site Settings for most styling.
*/

/*------------------اعمال فونت شبنم-------------------------*/

/* ۱. حذف تیتر فرم‌های گرویتی */
.gform_heading {
    display: none;
}

/* 2. اعمال فونت شبنم به تمام بخش‌ها */
body, h1, h2, h3, h4, h5, h6, p, label, input, button, select, div {
    font-family: 'shabnam', Tahoma, Arial, sans-serif !important;
}

/* ۳. استایل قیمت و واحد پولی ووکامرس */
.woocommerce-Price-amount {
    font-weight: 800;
    font-size: 22px !important;
}

.woocommerce-Price-currencySymbol {
    font-size: 13px;
    color: #9b9b9b;
    margin-right: 4px;
}

/* ۴. جلوگیری از اسکرول افقی ناخواسته */
html, body {
    overflow-x: hidden;
}

/* ۵. فارسی‌سازی اعداد (ویژه فونت‌هایی مثل شبنم که اعداد فارسی دارند) */
body, html, h1, h2, h3, h4, h5, h6, p, span, a, div, .elementor-counter-number {
    font-variant-numeric: tabular-nums;
    -moz-font-feature-settings: "ss01", "locl";
    -webkit-font-feature-settings: "ss01", "locl";
    font-feature-settings: "ss01", "locl";
}

/* ۶. جلوگیری از به‌هم‌ریختگی شماره تماس و اعداد انگلیسی ضروری */
.elementor-counter-number-wrapper, a[href^="tel:"], .ltr-fix {
    direction: ltr !important;
    display: inline-block;
    unicode-bidi: embed;
}


/*---------------استایل زبانه های صفحه تک محصول----------------*/

/* یکپارچه کردن نوار پس‌زمینه */
#my-tabs .e-n-tabs-heading {
    background-color: #ffffff; /* رنگ سفید یکدست */
    border-radius: 50px; /* گرد کردن گوشه‌ها */
    padding: 5px; /* ایجاد کمی فاصله برای دکمه‌های داخل */
    display: flex;
    justify-content: space-around;
    overflow: hidden;
}

/* استایل دکمه‌های تکی (آیتم‌ها) */
#my-tabs .e-n-tab-title {
    border-radius: 50px !important; /* گرد کردن خود دکمه‌ها */
    border: none !important; /* حذف خطوط اضافی */
}

/* استایل دکمه فعال */
#my-tabs .e-n-tab-title[aria-selected="true"] {
    background-color: #157559 !important; /* رنگ سبز برند شما */
    color: #ffffff !important;
}

/*-----------------استایل های سر تیتر های قالب پیلار تجاری----------------*/

/* استایل اختصاصی برای نوشته‌هایی که در دسته پیلار تجاری هستند */
.category-pillar-business .elementor-widget-theme-post-content h2,
.category-business-pillar .elementor-widget-theme-post-content h2,
.single-post.category-pillar-business h2 {
    font-family: 'Shabnam', sans-serif !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #2BA780 !important;
    line-height: 1.6 !important;
}

/*-----------------استایل های سر تیتر های قالب پیلار روزمره----------------*/

/* استایل اختصاصی برای نوشته‌های پیلار روزمره */
.category-pillar-daily .elementor-widget-theme-post-content h2,
.single-post.category-pillar-daily h2 {
    font-family: 'Shabnam', sans-serif !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #DBA002 !important; /* رنگ آ زرد برای تفکیک از بخش تجاری */
    line-height: 1.6 !important;
}
