/* ================================
   Amin Site Global Font
   Vazir FD-WOL - Persian Digits
================================ */

/* 100 - Thin */
@font-face {
    font-family: "AminVazir";
    src: url("../fonts/Vazir-Thin-FD-WOL.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* 300 - Light */
@font-face {
    font-family: "AminVazir";
    src: url("../fonts/Vazir-Light-FD-WOL.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* 400 - Regular */
@font-face {
    font-family: "AminVazir";
    src: url("../fonts/Vazir-FD-WOL.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* 500 - Medium */
@font-face {
    font-family: "AminVazir";
    src: url("../fonts/Vazir-Medium-FD-WOL.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* 700 - Bold */
@font-face {
    font-family: "AminVazir";
    src: url("../fonts/Vazir-Bold-FD-WOL.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --amin-site-font: "AminVazir", Tahoma, Arial, sans-serif;
}

/* ================================
   Apply Font To Main Site
================================ */

html,
body,
button,
input,
textarea,
select,
option {
    font-family: var(--amin-site-font) !important;
}

/* متن‌های عمومی سایت */
body :where(
    p,
    a,
    span,
    div,
    li,
    label,
    input,
    textarea,
    select,
    button,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    table,
    th,
    td,
    small,
    strong,
    b
) {
    font-family: var(--amin-site-font) !important;
}

/* بخش‌های اختصاصی سایت */
.amin-pro-nav,
.amin-pro-nav *,
.amin-home-hero,
.amin-home-hero *,
.amin-classes-wrap,
.amin-classes-wrap *,
.amin-course-tab-panels,
.amin-course-tab-panels *,
.amin-qna-wrap,
.amin-qna-wrap *,
.woocommerce,
.woocommerce *,
.elementor,
.elementor * {
    font-family: var(--amin-site-font) !important;
}

/* Tutor text areas - but icon fonts are restored later */
.tutor-wrap,
.tutor-wrap *,
.tutor-dashboard,
.tutor-dashboard * {
    font-family: var(--amin-site-font) !important;
}

/* Tutor course accordion */
.tutor-accordion,
.tutor-accordion *,
.tutor-mt-24,
.tutor-mt-24 * {
    font-family: var(--amin-site-font) !important;
}

/* ================================
   Suggested Weights
================================ */

body {
    font-weight: 400;
}

h1,
h2,
h3,
.amin-pro-brand-text strong {
    font-weight: 700 !important;
}

h4,
h5,
h6 {
    font-weight: 500 !important;
}

button,
.amin-pro-btn,
.amin-pro-menu a,
.tutor-btn,
.woocommerce button,
.woocommerce .button {
    font-weight: 700 !important;
}

/* ==================================================
   IMPORTANT: Protect Icon Fonts
   این بخش حتماً آخر فایل بماند
================================================== */

/* WordPress Dashicons */
.dashicons,
.dashicons-before::before,
[class^="dashicons-"],
[class*=" dashicons-"],
[class^="dashicons-"]::before,
[class*=" dashicons-"]::before {
    font-family: dashicons !important;
    font-weight: normal !important;
    font-style: normal !important;
}

/* Tutor LMS Icons */
[class^="tutor-icon-"],
[class*=" tutor-icon-"],
[class^="tutor-icon-"]::before,
[class*=" tutor-icon-"]::before,
.tutor-icon,
.tutor-icon::before,
.tutor-dashboard-menu-item-icon,
.tutor-dashboard-menu-item-icon::before,
.tutor-dashboard-menu li a i,
.tutor-dashboard-menu li a i::before {
    font-family: "tutor" !important;
    font-weight: normal !important;
    font-style: normal !important;
    speak: never;
}

/* Font Awesome 6 */
.fa-solid,
.fa-solid::before,
.fas,
.fas::before,
[class^="fa-solid"],
[class*=" fa-solid"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
}

.fa-regular,
.fa-regular::before,
.far,
.far::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 400 !important;
}

.fa-brands,
.fa-brands::before,
.fab,
.fab::before {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
    font-weight: 400 !important;
}

.fa,
.fa::before,
[class^="fa-"]::before,
[class*=" fa-"]::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
}

/* Elementor Icons */
.eicon,
.eicon::before,
[class^="eicon-"],
[class*=" eicon-"],
[class^="eicon-"]::before,
[class*=" eicon-"]::before {
    font-family: eicons !important;
    font-weight: normal !important;
    font-style: normal !important;
}

/* WooCommerce Icons */
.woocommerce .star-rating,
.woocommerce .star-rating::before,
.woocommerce .star-rating span::before,
.woocommerce p.stars a::before {
    font-family: WooCommerce !important;
}

/* جلوگیری از تحمیل فونت متن روی SVG */
svg,
svg * {
    font-family: initial !important;
}
/* =========================================================
   AminAbbasi.org — Global Vazir Font
========================================================= */

@font-face {
    font-family: "AminVazir";
    src: url("../fonts/Vazir-FD-WOL.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AminVazir";
    src: url("../fonts/Vazir-Bold-FD-WOL.woff2") format("woff2");
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --amin-site-font: "AminVazir", Tahoma, Arial, sans-serif;
}

/* بدنه اصلی سایت */
html,
body {
    font-family: var(--amin-site-font) !important;
}

/* متن‌ها و عناصر عمومی */
body p,
body span,
body strong,
body small,
body label,
body li,
body td,
body th,
body address,
body blockquote,
body figcaption,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body a,
body button,
body input,
body textarea,
body select,
body option {
    font-family: var(--amin-site-font);
}

/* فرم‌ها */
input,
textarea,
select,
button,
button[type="button"],
button[type="submit"],
input[type="submit"],
input[type="button"] {
    font-family: var(--amin-site-font) !important;
}

/* بخش‌های اختصاصی Amin */
[class^="amin-"],
[class*=" amin-"] {
    font-family: var(--amin-site-font);
}

/* Tutor LMS */
.tutor-wrap,
.tutor-container,
.tutor-course-details-page,
.tutor-dashboard,
.tutor-modal,
.tutor-form-control,
.tutor-btn,
.tutor-card,
.tutor-accordion-item,
.tutor-course-topic,
.tutor-course-content-list {
    font-family: var(--amin-site-font) !important;
}

/* WooCommerce و بلوک‌های جدید */
.woocommerce,
.woocommerce-page,
.wc-block-cart,
.wc-block-checkout,
.wc-block-components-sidebar-layout,
.wc-block-components-text-input input,
.wc-block-components-button,
.wc-block-components-product-name,
.wc-block-components-totals-item,
.woocommerce-order {
    font-family: var(--amin-site-font) !important;
}

/* منو و هدر */
.amin-pro-navbar,
.amin-pro-navbar a,
.amin-pro-navbar button,
.amin-mobile-bottom-nav,
.amin-mobile-bottom-nav a {
    font-family: var(--amin-site-font) !important;
}

/* فوتر */
.amin-footer,
.amin-footer a,
.amin-footer button {
    font-family: var(--amin-site-font) !important;
}

/* Elementor */
.elementor,
.elementor-widget,
.elementor-heading-title,
.elementor-button,
.elementor-field,
.elementor-field-label {
    font-family: var(--amin-site-font) !important;
}

/* جلوگیری از خراب‌شدن فونت آیکون‌ها */
.dashicons,
[class^="tutor-icon-"],
[class*=" tutor-icon-"],
.fa,
.fas,
.far,
.fal,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
[class^="eicon-"],
[class*=" eicon-"],
.woocommerce p.stars a {
    font-family: inherit;
}

/* فونت آیکون Tutor باید فونت اصلی خودش را حفظ کند */
[class^="tutor-icon-"]::before,
[class*=" tutor-icon-"]::before {
    font-family: "tutor" !important;
}

/* آیکون‌های وردپرس */
.dashicons,
.dashicons::before {
    font-family: dashicons !important;
}