/**
 * Blanton — فونت سراسری یکان (به‌جز آیکون‌ها)
 * فقط blanton.store
 */

@font-face {
    font-family: "Yekan";
    src: url("/wp-content/plugins/_hamta_page_builder/assets/fonts/yekan/Yekan.woff2") format("woff2"),
         url("/wp-content/plugins/_hamta_page_builder/assets/fonts/yekan/Yekan.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Yekan";
    src: url("/wp-content/uploads/2024/06/YekanBakhFaNum-Regular.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Yekan";
    src: url("/wp-content/uploads/2024/06/YekanBakhFaNum-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Yekan";
    src: url("/wp-content/uploads/2024/06/YekanBakhFaNum-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Yekan";
    src: url("/wp-content/uploads/2024/06/YekanBakhFaNum-ExtraBold-1.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Yekan";
    src: url("/wp-content/uploads/2024/06/YekanBakhFaNum-ExtraBold-1.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --blanton-font: "Yekan", yekan, Tahoma, Arial, sans-serif;
    --hpb-font-family-primary: "Yekan", yekan, Tahoma, Arial, sans-serif;
    --hpb-font-primary: "Yekan", yekan, Tahoma, Arial, sans-serif;
    --wd-text-font: "Yekan", yekan, Tahoma, Arial, sans-serif;
    --wd-title-font: "Yekan", yekan, Tahoma, Arial, sans-serif;
    --wd-entities-title-font: "Yekan", yekan, Tahoma, Arial, sans-serif;
    --wd-widget-titles-font: "Yekan", yekan, Tahoma, Arial, sans-serif;
    --wd-navigation-font: "Yekan", yekan, Tahoma, Arial, sans-serif;
    --wd-price-font: "Yekan", yekan, Tahoma, Arial, sans-serif;
}

html,
html body,
body,
body .website-wrapper,
body .main-page-wrapper,
body .site-content,
body .wd-page-content,
body .wd-content-layout,
body .whb-header,
body .whb-main-header,
body .hamta-shop,
body .hamta-product-page,
body .hamta-single-product,
body .elementor,
body .elementor-widget-wrap,
body .entry-content {
    font-family: var(--blanton-font) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button,
input,
textarea,
select,
optgroup,
label,
.btn,
.hamta-btn,
.button,
a,
p,
span,
li,
td,
th,
h1, h2, h3, h4, h5, h6 {
    font-family: inherit !important;
}

b, strong, .product-title, h1, h2, h3 {
    font-weight: 800;
}

/* آیکون‌ها — یکان را override نکن */
body :is(.fa, .fas, .far, .fal, .fad, .fat, .fab, .fa-light, .fa-solid, .fa-regular, .fa-thin, .fa-duotone, .fa-brands),
body :is(.fa, .fas, .far, .fal, .fad, .fat, .fab, .fa-light, .fa-solid, .fa-regular, .fa-thin, .fa-duotone, .fa-brands)::before,
body :is(.fa, .fas, .far, .fal, .fad, .fat, .fab, .fa-light, .fa-solid, .fa-regular, .fa-thin, .fa-duotone, .fa-brands)::after {
    font-family: var(--fa-style-family, var(--fa-style-family-classic, "Font Awesome 6 Pro")) !important;
    font-style: normal;
}

body :is(.fa-light, .fal),
body :is(.fa-light, .fal)::before,
body :is(.fa-light, .fal)::after {
    font-weight: 300 !important;
}

body :is(.fab, .fa-brands)::before,
body :is(.fab, .fa-brands)::after {
    font-family: var(--fa-style-family-brands, "Font Awesome 6 Brands") !important;
    font-weight: 400;
}

body .dashicons::before,
body .dashicons-before::before {
    font-family: dashicons !important;
}

body .elementor-icon::before,
body .elementor-icon i::before {
    font-family: eicons !important;
}

body :is(.wd-icon, .wd-tools-icon, .wd-font-icon, .woodmart-font-icon, .whb-icon, .xts-icon)::before,
body :is(.wd-icon, .wd-tools-icon, .wd-font-icon, .woodmart-font-icon, .whb-icon, .xts-icon)::after {
    font-family: "woodmart-font", "woodmart-linear", woodmart-font !important;
}

/* اسکرول‌بار ثابت سبز سازمانی — بدون تغییر رنگ هنگام اسکرول */
:root {
    --hpb-scrollbar-size: 12px;
    --hpb-scrollbar-track: rgba(0, 169, 132, 0.08);
    --hpb-scrollbar-thumb: #00a984;
    --hpb-scrollbar-thumb-hover: #039172;
    --hpb-scrollbar-radius: 999px;
}

html,
body,
html.hpb-brand-scrollbar,
body.hpb-brand-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #00a984 rgba(0, 169, 132, 0.08);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
html.hpb-brand-scrollbar::-webkit-scrollbar,
body.hpb-brand-scrollbar::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
html.hpb-brand-scrollbar::-webkit-scrollbar-track,
body.hpb-brand-scrollbar::-webkit-scrollbar-track {
    background: rgba(0, 169, 132, 0.08);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
html.hpb-brand-scrollbar::-webkit-scrollbar-thumb,
body.hpb-brand-scrollbar::-webkit-scrollbar-thumb {
    background-color: #00a984 !important;
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: none !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
html.hpb-brand-scrollbar::-webkit-scrollbar-thumb:hover,
body.hpb-brand-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #039172 !important;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
    background: transparent;
}
