/**
 * PotentialTop Default Arabic & Custom Font ('ShebaRegular' / 'sheba-Regular')
 * Path: content/themes/ptshop/css/custom-fonts.css
 */

@font-face {
    font-family: 'ShebaRegular';
    src: url('../fonts/sheba-Regular.eot');
    src: url('../fonts/sheba-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sheba-Regular.woff2') format('woff2'),
         url('../fonts/sheba-Regular.woff') format('woff'),
         url('../fonts/sheba-Regular.otf') format('opentype'),
         url('../fonts/sheba-Regular.ttf') format('truetype'),
         url('../fonts/sheba-Regular.svg#ShebaRegular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'sheba-Regular';
    src: url('../fonts/sheba-Regular.eot');
    src: url('../fonts/sheba-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sheba-Regular.woff2') format('woff2'),
         url('../fonts/sheba-Regular.woff') format('woff'),
         url('../fonts/sheba-Regular.otf') format('opentype'),
         url('../fonts/sheba-Regular.ttf') format('truetype'),
         url('../fonts/sheba-Regular.svg#ShebaRegular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --pt-font-arabic: 'ShebaRegular', 'sheba-Regular', Tahoma, sans-serif;
}

/* Frontend, Admin, Editor & Installer Arabic / RTL Typography */
html[dir="rtl"] body,
html[lang^="ar"] body,
body.rtl,
body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6,
body.rtl p,
body.rtl a,
body.rtl span:not(.dashicons):not(.fa):not([class*="et-icon"]):not([class*="ptshop-icon"]),
body.rtl li,
body.rtl label,
body.rtl input,
body.rtl select,
body.rtl textarea,
body.rtl button,
body.rtl .button,
body.rtl .ptopcommerce-loop-product__title,
body.rtl .press-this a.wp-switch-editor,
body.wp-admin.rtl,
body.wp-core-ui.rtl,
.admin.rtl, #wpadminbar,
html[dir="rtl"] .edit-post-visual-editor.editor-styles-wrapper {
    font-family: 'ShebaRegular', 'sheba-Regular', Tahoma, sans-serif;
}

/* Keep icon fonts intact */
.dashicons,
.dashicons-before::before,
.fa,
.fas,
.far,
.fab,
[class*="et-icon"],
[class*="ptshop-icon"] {
    font-family: dashicons, FontAwesome, 'et-icon', 'ptshop-icons-light', 'ptshop-icons-bold' !important;
}
