/* =================================
   HOOSHA MARKET - IRANSANS X
================================= */

/* Font Weights */

@font-face {
    font-family: 'IRANSansX';
    src: url('/wp-content/uploads/fonts/iransans/IRANSansX-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('/wp-content/uploads/fonts/iransans/IRANSansX-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('/wp-content/uploads/fonts/iransans/IRANSansX-DemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('/wp-content/uploads/fonts/iransans/IRANSansX-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('/wp-content/uploads/fonts/iransans/IRANSansX-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('/wp-content/uploads/fonts/iransans/IRANSansX-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* Global Typography */

html,
body {
    font-family: 'IRANSansX', sans-serif !important;
    font-weight: 400;
    font-feature-settings: "ss02" 1;
}

/* Common Text Elements */

body p,
body a,
body li,
body label,
body input,
body textarea,
body select,
body button,
body .ct-menu-link,
body .ct-button,
body .elementor-widget-text-editor {
    font-family: 'IRANSansX', sans-serif !important;
    font-feature-settings: "ss02" 1;
}

/* Headings */

h1 {
    font-family: 'IRANSansX', sans-serif !important;
    font-weight: 800;
}

h2,
h3 {
    font-family: 'IRANSansX', sans-serif !important;
    font-weight: 700;
}

h4,
h5,
h6 {
    font-family: 'IRANSansX', sans-serif !important;
    font-weight: 600;
}

/* Homepage Hero */

.home h1 {
    font-weight: 900 !important;
}

/* Navigation */

.ct-menu-link {
    font-weight: 500 !important;
}

/* Buttons */

button,
input[type="submit"],
.elementor-button,
.ct-button {
    font-weight: 600 !important;
}

/* Product Titles */

.woocommerce-loop-product__title,
.woocommerce div.product .product_title {
    font-weight: 700 !important;
}

/* Body Text */

p,
.elementor-widget-text-editor {
    font-weight: 400;
}

/* Preserve Icon Fonts */

i,
svg,
svg *,
[class*="ct-icon"],
[class*="fa-"],
[class*="eicon"] {
    font-feature-settings: normal;
}

/* =====================================
   GLOBAL IRANSANS X ENFORCEMENT
===================================== */

body,
body *:not(i):not([class*="fa-"]):not([class*="eicon"]):not([class*="ct-icon"]):not([class*="icon"]) {
    font-family: 'IRANSansX', sans-serif !important;
    font-feature-settings: "ss02" 1 !important;
}

/* Global Typography Weights */

body {
    font-weight: 400 !important;
}

h1, .elementor-heading-title.elementor-size-xxl {
    font-weight: 900 !important;
}

h2, h3 {
    font-weight: 800 !important;
}

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

p, li, label, small {
    font-weight: 400;
}

strong, b {
    font-weight: 700 !important;
}

button, .elementor-button, .ct-button {
    font-weight: 600 !important;
}

/* Homepage Hero */

.home h1 {
    font-weight: 900 !important;
}

/* Preserve Icon Fonts */

i,
[class*="fa-"],
[class*="eicon"],
[class*="ct-icon"],
[class*="icon"] {
    font-family: inherit;
}

/* =========================================
   HOOSHA MARKET - TYPOGRAPHY SYSTEM
   IRANSansX | Weight Configuration
========================================= */

/* Default body text - Regular */
body,
body p,
body li,
body label,
body small,
.elementor-widget-text-editor {
    font-weight: 400 !important;
}

/* Main Hero - Black */
.home h1,
.home .hm-hero h1 {
    font-weight: 900 !important;
}

/* Section headings - ExtraBold */
h2,
.elementor-widget-heading h2.elementor-heading-title {
    font-weight: 800 !important;
}

/* Card and product headings - Bold */
h3,
h4,
h5,
h6,
.elementor-widget-heading h3.elementor-heading-title,
.woocommerce-loop-product__title,
.woocommerce div.product .product_title {
    font-weight: 700 !important;
}

/* Main navigation - Medium */
.ct-menu-link,
header nav a,
.ct-header [data-id] a {
    font-weight: 500 !important;
}

/* Buttons - DemiBold */
button,
input[type="submit"],
.elementor-button,
.ct-button,
.woocommerce a.button,
.woocommerce button.button {
    font-weight: 600 !important;
}

/* Product prices - Bold */
.woocommerce-Price-amount,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-weight: 700 !important;
}

/* Technical data and specifications - Medium */
.product_meta,
.sku,
.stock,
.woocommerce table.shop_table,
.elementor-counter-number,
.elementor-counter-title {
    font-weight: 500 !important;
}

/* Strong text */
strong,
b {
    font-weight: 700 !important;
}

