/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 2.0.1
*/

@font-face {
    font-family: 'MyPlayfair';
    src: url('/wp-content/themes/hello-theme-child-master/playfair-display-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MyInter';
    src: url('/wp-content/themes/hello-theme-child-master/inter-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-heading-title * {
    font-family: 'MyPlayfair', serif !important;
}

body, p, span, div, li, a, button, input, textarea,
.elementor-widget-container,
.elementor-text-editor,
.elementor-text-editor *,
.elementor-button,
.elementor-button *,
.elementor-button-text,
.elementor-nav-menu a,
.elementor-nav-menu--main .elementor-item,
.elementor-icon-box-description,
.elementor-icon-box-description * {
    font-family: 'MyInter', sans-serif !important;
}

html[lang="fa-IR"] {
    direction: rtl;
    text-align: right;
}

html[lang="fa-IR"] body {
    direction: rtl;
}

/* Modern browsers — Chrome 121+, Edge 121+, Firefox, Safari 18.2+ */
* {
  scrollbar-width: 10px;
  scrollbar-color: #fb7185 #fff1f2;
}

/* Legacy WebKit — older Chrome/Edge/Safari, radius, borders & shadows */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background-color: #fff1f2;
  border-radius: 20px;
  padding: 2px;
}

*::-webkit-scrollbar-track:hover {
  background-color: #fecdd3;
}

*::-webkit-scrollbar-track:active {
  background-color: #fda4af;
}

*::-webkit-scrollbar-thumb {
  background-color: #fb7185;
  border-radius: 20px;
  min-height: 30px;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #a4747c;
}

*::-webkit-scrollbar-thumb:active {
  background-color: #be123c;
}

*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
* {
  scrollbar-width: 10px !important;
  scrollbar-color: #fb7185 #fff1f2 !important;
}

*::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
}
html, body, #page, .site {
  scrollbar-width: 10px !important;
  scrollbar-color: #fb7185 #fff1f2 !important;
}

.pll-parent-menu-item img,
.menu-item-language img {
    width: 22px !important;
    height: 16px !important;
    object-fit: cover;
    border-radius: 2px;
    display: inline-block !important;
    margin-right: 5px;
    opacity: 1 !important;
    visibility: visible !important;
}

.pll-parent-menu-item,
.menu-item-language {
    display: flex !important;
    align-items: center;
    visibility: visible !important;
}