/* Persian Fonts for Golden Plain Saffron Shop */

/* Yekan Font Face */
@font-face {
    font-family: 'Yekan';
    src: url('../fonts/Yekan.eot');
    src: url('../fonts/Yekan.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Yekan.woff') format('woff'),
         url('../fonts/Yekan.woff2') format('woff2'),
         url('../fonts/Yekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Apply Yekan font to text elements only */
body, p, h1, h2, h3, h4, h5, h6, span, div, label, input, textarea, select, button, a {
    font-family: 'Yekan', 'Tahoma', 'Arial', sans-serif !important;
}

/* Exclude Font Awesome icons from font family override */
.fas, .far, .fab, .fal, .fad, .fa, [class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome", sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Specific font weights for different elements */
.navbar-brand h2 {
    font-weight: bold;
}

.btn, .form-control {
    font-weight: 500;
}

.card-title, h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.text-muted, small {
    font-weight: 400;
}

/* Persian Number Support */
.persian-numbers {
    font-family: 'Yekan', 'Tahoma', sans-serif;
}

/* Price formatting */
.price {
    font-family: 'Yekan', 'Courier New', monospace;
    direction: ltr;
    text-align: left;
}

/* Admin panel specific */
.admin-font {
    font-family: 'Yekan', 'Tahoma', sans-serif !important;
}
