/* ========================================
   Persian Fonts - YekanBakh FaNum
   Full Theme Integration
   ======================================== */

/* Regular - 400 */
@font-face {
    font-family: 'YekanBakh';
    src: url('woff/YekanBakhFaNum-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* SemiBold - 600 */
@font-face {
    font-family: 'YekanBakh';
    src: url('woff/YekanBakhFaNum-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Bold - 700 */
@font-face {
    font-family: 'YekanBakh';
    src: url('woff/YekanBakhFaNum-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Black - 900 */
@font-face {
    font-family: 'YekanBakh';
    src: url('woff/YekanBakhFaNum-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   Global Font Application
   ======================================== */

/* Apply to everything */
html,
body,
input,
select,
textarea,
button {
    font-family: 'YekanBakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
}

/* ========================================
   Typography Optimizations for YekanBakh
   ======================================== */

/* Body text - better readability */
body {
    font-size: 15px;
    line-height: 1.85;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Headings - bold and clear */
h1, h2, h3, h4, h5, h6 {
    font-family: 'YekanBakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2rem;
    font-weight: 900;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

h5, h6 {
    font-size: 1rem;
    font-weight: 600;
}

/* Buttons - bold */
button,
.lc-btn,
.woocommerce-button,
input[type="submit"] {
    font-family: 'YekanBakh', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Navigation - medium weight */
.lc-nav-menu,
.lc-menu,
nav a {
    font-family: 'YekanBakh', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Form inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
textarea,
select {
    font-family: 'YekanBakh', sans-serif;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: -0.01em;
}

/* Prices - bold and clear */
.price,
.lc-product-price,
.lc-cart-price,
.woocommerce-Price-amount,
.amount {
    font-family: 'YekanBakh', sans-serif;
    font-weight: 700;
    font-feature-settings: "tnum";
    letter-spacing: -0.01em;
}

/* Numbers in Persian style */
.lc-persian-numbers,
.wc-block-components-formatted-money-amount {
    font-feature-settings: "tnum", "ss01";
}