/*
 * Yooz - Front-end styles
 * این فایل برای استایل‌های اختصاصی front (خارج از style.css اصلی) در نظر گرفته شده.
 * تمام کلاس‌ها با پیشوند yz- نام‌گذاری می‌شن و از متغیرهای --yz- تعریف‌شده در style.css استفاده می‌کنن.
 */
.elementor-button-text{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
.yz-layout {
    display: flex;
    align-items: flex-start;
    gap: var(--yz-space-xl);
}

.yz-primary {
    flex: 1;
    min-width: 0;
}

.yz-sidebar {
    width: 300px;
    flex-shrink: 0;
}

@media (max-width: 782px) {
    .yz-layout {
        flex-direction: column;
    }

    .yz-sidebar {
        width: 100%;
    }
}

body {
    font-family: var(--yz-font, var(--yz-font-family-base));
    overflow-x: hidden;
}

/* لینک پرش به محتوا: فقط با فوکوس کیبورد دیده می‌شود */
.yz-skip-link {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: calc(var(--yz-z-modal) + 1);
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--yz-color-primary);
    color: #fff;
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform .2s ease;
}
.yz-skip-link:focus { transform: translateY(0); color: #fff; }

/* =======================================================================
 * هدر شناور دو ردیفه
 * .yz-hd         → لایه‌ی چسبان (sticky) و شفاف که فاصله‌ی بالا/طرفین را می‌سازد
 * .yz-hd__shell  → خود هدر: عرض محدود، گوشه‌گرد، شیشه‌ای بسیار ملایم
 * .yz-hd__top    → ردیف بالا (لوگو + جستجو | اکشن‌ها)
 * .yz-hd__nav    → ردیف پایین (منوی اصلی) — فقط از ۱۰۲۴ پیکسل به بالا
 * ======================================================================= */
.yz-hd {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: var(--yz-z-header);
    padding: var(--yz-shell-gap) var(--yz-shell-gap) 0;
    pointer-events: none; /* فاصله‌ی شفاف اطراف هدر کلیک را نگیرد */
}

.yz-hd__shell {
    pointer-events: auto;
    max-width: var(--yz-shell-width);
    margin: 0 auto;
    border-radius: var(--yz-hd-radius);
    background: var(--yz-hd-bg);
    border: 1px solid var(--yz-hd-border);
    box-shadow: var(--yz-hd-shadow);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
    transition: box-shadow .25s ease, background-color .25s ease;
}
.yz-hd.is-scrolled .yz-hd__shell { box-shadow: var(--yz-hd-shadow-scrolled); }

/* مرورگرهای بدون backdrop-filter: پس‌زمینه تقریباً مات تا متن زیرش خوانا بماند */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .yz-hd__shell { background: var(--yz-hd-bg-solid); }
}

/* ---------- ردیف بالا ---------- */
.yz-hd__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: var(--yz-hd-top-h);
    padding-inline: 14px;
}

.yz-hd__start {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1 1 auto;
    min-width: 0;
}

.yz-hd__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* ---------- لوگو ---------- */
.yz-hd__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: var(--yz-color-heading);
    text-decoration: none;
}
.yz-hd__brand:hover { color: var(--yz-color-heading); }

.yz-hd__logo {
    display: block;
    width: auto;
    max-height: 40px;
}
.yz-hd__brand--sm .yz-hd__logo { max-height: 32px; }

.yz-hd__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    min-width: 0;
}
.yz-hd__title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.2px;
    white-space: nowrap;
}
.yz-hd__subtitle {
    font-size: 12px;
    font-weight: 500;
    color: var(--yz-color-text-muted);
    white-space: nowrap;
}

/* ---------- فرم جستجو ---------- */
.yz-hd-search {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    height: 42px;
    margin: 0;
    border-radius: 12px;
    background: var(--yz-hd-field);
    border: 1px solid transparent;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.yz-hd__start > .yz-hd-search { flex: 0 1 380px; }
.yz-hd-search:focus-within {
    background: var(--yz-color-bg);
    border-color: var(--yz-color-primary);
    box-shadow: 0 0 0 4px var(--yz-hd-ring);
}

.yz-hd-search__icon {
    display: grid;
    place-items: center;
    width: 40px;
    flex-shrink: 0;
    color: var(--yz-color-text-muted);
}
.yz-hd-search__icon svg { width: 18px; height: 18px; }

.yz-hd-search__input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 0 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--yz-color-text);
    font-size: 14px;
}
.yz-hd-search__input::placeholder { color: var(--yz-color-text-muted); opacity: .9; }
.yz-hd-search__input::-webkit-search-cancel-button { cursor: pointer; }

.yz-hd-search__kbd {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    margin-inline-end: 10px;
    border-radius: 6px;
    border: 1px solid var(--yz-hd-border-strong);
    background: var(--yz-color-bg);
    color: var(--yz-color-text-muted);
    font: 600 12px/1 var(--yz-font, var(--yz-font-family-base));
}
.yz-hd-search:focus-within .yz-hd-search__kbd { visibility: hidden; }

/* ---------- دکمه‌های آیکونی ---------- */
.yz-hd-btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--yz-color-gray-700);
    cursor: pointer;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
.yz-hd-btn:hover {
    background: var(--yz-hd-hover);
    color: var(--yz-color-heading);
}
.yz-hd-btn:focus-visible,
.yz-hd-cta:focus-visible,
.yz-desktop-nav a:focus-visible,
.yz-desktop-nav button:focus-visible,
.yz-mobile-nav a:focus-visible,
.yz-mobile-nav button:focus-visible {
    outline: 2px solid var(--yz-color-primary);
    outline-offset: 2px;
}
.yz-hd-btn svg { width: 20px; height: 20px; }

.yz-hd__profile.has-avatar { padding: 5px; }
.yz-hd__avatar {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

/* کلید حالت تاریک: ماه در حالت روشن، خورشید در حالت تاریک */
.yz-theme-toggle__sun { display: none; }
[data-theme="dark"] .yz-theme-toggle__moon { display: none; }
[data-theme="dark"] .yz-theme-toggle__sun { display: contents; }
.yz-theme-toggle__moon { display: contents; }

.yz-hd__burger { display: none; }

/* ---------- دکمه CTA ---------- */
.yz-hd-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    margin-inline-start: 6px;
    border-radius: 12px;
    background: var(--yz-color-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .2s ease;
}
.yz-hd-cta:hover { background: var(--yz-color-primary-dark); color: #fff; }
[data-theme="dark"] .yz-hd-cta,
[data-theme="dark"] .yz-hd-cta:hover { color: #0b1626; }
.yz-hd-cta svg { width: 17px; height: 17px; }
.yz-hd-cta--phone span { font-variant-numeric: tabular-nums; }
.yz-hd-cta--block { width: 100%; height: 46px; margin: 0; }

/* ---------- ردیف پایین: منوی اصلی ---------- */
.yz-hd__nav {
    display: flex;
    align-items: center;
    height: var(--yz-hd-nav-h);
    padding-inline: 10px;
    border-top: 1px solid var(--yz-hd-divider);
}

/* =======================================================================
 * منوی اصلی — ساختار از Yooz_Nav_Walker:
 * li.yz-menu-item[.yz-has-submenu][.yz-menu-item-current]
 *   > span.yz-menu-item-row > a.yz-menu-item-link + button.yz-submenu-toggle
 *   > ul.yz-submenu
 * باز/بسته شدن زیرمنو با کلاس is-open (front.js)
 * ======================================================================= */
.yz-submenu-toggle {
    display: inline-grid;
    place-items: center;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}
.yz-submenu-icon {
    width: 11px;
    height: 11px;
    fill: currentColor;
    opacity: .55;
    transition: transform .2s ease;
}
.yz-menu-item.is-open > .yz-menu-item-row .yz-submenu-icon { transform: rotate(180deg); }

/* ---------- دسکتاپ ---------- */
.yz-desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 100%;
}
.yz-desktop-nav .yz-menu-item { position: relative; }

.yz-desktop-nav > .yz-menu-item > .yz-menu-item-row {
    display: flex;
    align-items: center;
    height: 36px;
    border-radius: 10px;
    color: var(--yz-color-gray-700);
    transition: background-color .2s ease, color .2s ease;
}
.yz-desktop-nav > .yz-menu-item > .yz-menu-item-row:hover,
.yz-desktop-nav > .yz-menu-item.is-open > .yz-menu-item-row {
    background: var(--yz-hd-hover);
    color: var(--yz-color-heading);
}
.yz-desktop-nav > .yz-menu-item-current > .yz-menu-item-row {
    background: var(--yz-hd-current);
    color: var(--yz-color-primary);
}

.yz-desktop-nav > .yz-menu-item > .yz-menu-item-row > .yz-menu-item-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 14px;
    color: inherit;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.yz-desktop-nav > .yz-has-submenu > .yz-menu-item-row > .yz-menu-item-link { padding-inline-end: 4px; }
.yz-desktop-nav > .yz-has-submenu > .yz-menu-item-row > .yz-submenu-toggle {
    width: 26px;
    height: 100%;
    padding-inline-end: 6px;
}

/* زیرمنوی دسکتاپ (دراپ‌داون) */
.yz-desktop-nav .yz-submenu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 5;
    min-width: 220px;
    padding: 6px;
    border-radius: 14px;
    background: var(--yz-hd-pop-bg);
    border: 1px solid var(--yz-hd-border);
    box-shadow: 0 18px 40px -16px rgba(16, 24, 40, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.yz-desktop-nav .yz-menu-item.is-open > .yz-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease;
}
/* سطح سوم: کنار زیرمنوی والد (در RTL سمت چپ) */
.yz-desktop-nav .yz-submenu .yz-submenu {
    top: -7px;
    right: calc(100% + 8px);
}

.yz-desktop-nav .yz-submenu .yz-menu-item-row {
    display: flex;
    align-items: center;
    border-radius: 9px;
    color: var(--yz-color-gray-700);
}
.yz-desktop-nav .yz-submenu .yz-menu-item-row:hover {
    background: var(--yz-hd-hover);
    color: var(--yz-color-heading);
}
.yz-desktop-nav .yz-submenu .yz-menu-item-current > .yz-menu-item-row { color: var(--yz-color-primary); }
.yz-desktop-nav .yz-submenu .yz-menu-item-link {
    flex: 1;
    padding: 9px 12px;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.yz-desktop-nav .yz-submenu .yz-submenu-toggle { width: 32px; height: 36px; }
.yz-desktop-nav .yz-submenu .yz-submenu-icon { transform: rotate(90deg); }
.yz-desktop-nav .yz-submenu .yz-menu-item.is-open > .yz-menu-item-row .yz-submenu-icon { transform: rotate(-90deg); }

/* =======================================================================
 * کشوی منوی موبایل — از سمت راست، ۷۰٪ عرض صفحه
 * ======================================================================= */
.yz-drawer {
    position: fixed;
    inset: 0;
    z-index: var(--yz-z-modal);
}
.yz-drawer[hidden] { display: none; }

.yz-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 20, .38);
    opacity: 0;
    transition: opacity .3s ease;
}

.yz-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 70%;
    max-width: 440px;
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--yz-color-bg);
    border-radius: 22px 0 0 22px;
    box-shadow: -24px 0 60px -30px rgba(16, 24, 40, .45);
    outline: 0;
    transform: translateX(100%);
    transition: transform .34s cubic-bezier(.32, .72, 0, 1);
}

.yz-drawer.is-open .yz-drawer__backdrop { opacity: 1; }
.yz-drawer.is-open .yz-drawer__panel { transform: translateX(0); }

.yz-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
}
.yz-drawer__close { flex-shrink: 0; background: var(--yz-hd-field); }

.yz-hd-search--drawer { flex: 0 0 auto; width: 100%; height: 46px; }
.yz-hd-search--drawer .yz-hd-search__input { font-size: 16px; } /* جلوگیری از زوم خودکار iOS */

.yz-drawer__nav { flex: 1 0 auto; }
.yz-drawer__foot {
    padding-top: 14px;
    border-top: 1px solid var(--yz-color-border-soft);
}

/* منوی موبایل (آکاردئون) */
.yz-mobile-nav { display: flex; flex-direction: column; gap: 2px; }
.yz-mobile-nav .yz-menu-item-row {
    display: flex;
    align-items: center;
    min-height: 46px;
    border-radius: 12px;
    color: var(--yz-color-text);
}
.yz-mobile-nav .yz-menu-item-row:active { background: var(--yz-hd-hover); }
.yz-mobile-nav .yz-menu-item-current > .yz-menu-item-row {
    background: var(--yz-hd-current);
    color: var(--yz-color-primary);
}
.yz-mobile-nav .yz-menu-item-link {
    flex: 1;
    padding: 10px 12px;
    color: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.yz-mobile-nav .yz-submenu-toggle { width: 44px; height: 44px; }
.yz-mobile-nav .yz-submenu-icon { width: 12px; height: 12px; }

.yz-mobile-nav .yz-submenu {
    display: none;
    margin: 2px 12px 6px 0;
    padding-right: 10px;
    border-right: 2px solid var(--yz-color-border-soft);
}
.yz-mobile-nav .yz-menu-item.is-open > .yz-submenu { display: block; }
.yz-mobile-nav .yz-submenu .yz-menu-item-link { font-size: 14px; font-weight: 500; }
.yz-mobile-nav .yz-submenu .yz-menu-item-row { min-height: 40px; }

/* قفل اسکرول صفحه وقتی کشو باز است */
html.yz-scroll-lock,
html.yz-scroll-lock body { overflow: hidden; }

/* ---------- نقاط شکست هدر ---------- */
@media (max-width: 1199px) {
    .yz-hd__start { gap: 16px; }
    .yz-hd__start > .yz-hd-search { flex-basis: 300px; }
}

@media (max-width: 1023px) {
    .yz-hd__nav,
    .yz-hd__start > .yz-hd-search,
    .yz-hd__cta { display: none; }

    .yz-hd__burger { display: inline-grid; }
    .yz-hd__start { gap: 8px; }
    .yz-hd__top { padding-inline: 8px 10px; }
}

@media (max-width: 480px) {
    .yz-hd__subtitle { display: none; }
    .yz-hd__title { font-size: 16px; }
    .yz-hd__logo { max-height: 34px; }
    .yz-hd__actions { gap: 2px; }
}

/* =======================================================================
 * فوتر — عرض محدود، گوشه‌گرد، پس‌زمینه‌ی روشن
 * ======================================================================= */
.yz-ft {
    margin-top: 48px;
    padding: 0 var(--yz-shell-gap) var(--yz-shell-gap);
}

.yz-ft__shell {
    max-width: var(--yz-shell-width);
    margin: 0 auto;
    padding: 56px 52px 0;
    border-radius: var(--yz-ft-radius);
    background: var(--yz-ft-bg);
    color: var(--yz-color-gray-600);
    font-size: 14.5px;
    line-height: 1.9;
}
.yz-ft__shell p,
.yz-ft__heading { margin: 0; }
.yz-ft a { text-decoration: none; }

/* ---------- ردیف اصلی ---------- */
.yz-ft__main {
    display: grid;
    gap: 40px 48px;
    align-items: start;
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.35fr);
}
.yz-ft__main--m1 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.35fr); }
.yz-ft__main--m0 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.35fr); }
.yz-ft__main--m2.no-contact { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); }
.yz-ft__main--m1.no-contact { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.yz-ft__main--m0.no-contact { grid-template-columns: minmax(0, 1fr); }

.yz-ft__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--yz-color-heading);
}
.yz-ft__brand:hover { color: var(--yz-color-heading); }
.yz-ft__logo { display: block; width: auto; max-height: 38px; }
.yz-ft__name { font-size: 19px; font-weight: 800; letter-spacing: -.2px; }

.yz-ft__tagline {
    max-width: 38ch;
    margin-top: 14px !important;
}

.yz-ft__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}
.yz-ft__social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--yz-ft-card);
    border: 1px solid var(--yz-ft-line);
    color: var(--yz-color-gray-700);
    font-weight: 800;
    transition: border-color .2s ease, transform .2s ease;
}
.yz-ft__social a:hover { border-color: var(--yz-color-primary); transform: translateY(-2px); }
.yz-ft__social img { width: 20px; height: 20px; object-fit: contain; }

.yz-ft__heading {
    color: var(--yz-color-heading);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.6;
}
.yz-ft__col .yz-ft__heading { margin-bottom: 14px; }

.yz-ft__links { display: flex; flex-direction: column; gap: 6px; }
.yz-ft__links a {
    color: var(--yz-color-gray-600);
    transition: color .15s ease;
}
.yz-ft__links a:hover,
.yz-ft__links .current-menu-item > a { color: var(--yz-color-heading); }

/* کارت ارتباط با ما */
.yz-ft__contact {
    padding: 22px;
    border-radius: 20px;
    background: var(--yz-ft-card);
    border: 1px solid var(--yz-ft-line);
}
.yz-ft__contact-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 13px;
    background: var(--yz-hd-current);
    color: var(--yz-color-primary);
}
.yz-ft__contact-icon svg { width: 21px; height: 21px; }
.yz-ft__contact-desc { margin-top: 6px !important; font-size: 14px; }
.yz-ft__email {
    display: inline-block;
    margin-top: 14px;
    color: var(--yz-color-primary);
    font-weight: 700;
    word-break: break-all;
}
.yz-ft__email:hover { color: var(--yz-color-primary-dark); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- توضیحات سئو + مجوزها ---------- */
.yz-ft__info {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--yz-ft-line);
}
.yz-ft__desc {
    flex: 1;
    min-width: 0;
    font-size: 13.5px;
    line-height: 2.1;
    color: var(--yz-color-text-muted);
}
.yz-ft__desc p + p { margin-top: 8px; }
.yz-ft__desc a { color: var(--yz-color-gray-700); text-decoration: underline; text-underline-offset: 3px; }

.yz-ft__licenses {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}
.yz-ft__license {
    display: grid;
    place-items: center;
    min-width: 88px;
    min-height: 88px;
    padding: 8px;
    border-radius: 16px;
    background: #fff; /* نشان‌ها معمولاً تصویر با زمینه‌ی سفیدند؛ در حالت تاریک هم سفید می‌ماند */
    border: 1px solid var(--yz-ft-line);
}
.yz-ft__license img { max-width: 80px; max-height: 80px; width: auto; height: auto; }

/* ---------- ردیف پایین ---------- */
.yz-ft__bottom {
    display: flex;
    align-items: center;
    gap: 12px 24px;
    margin-top: 40px;
    padding: 20px 0 22px;
    border-top: 1px solid var(--yz-ft-line);
    font-size: 13.5px;
}
.yz-ft__copyright { flex: 1; min-width: 0; color: var(--yz-color-text-muted); }
.yz-ft__copyright p { margin: 0; }
.yz-ft__copyright a { color: var(--yz-color-gray-700); }

.yz-ft__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.yz-ft__legal a { color: var(--yz-color-text-muted); }
.yz-ft__legal a:hover { color: var(--yz-color-heading); }

.yz-ft__top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--yz-ft-card);
    border: 1px solid var(--yz-ft-line);
    color: var(--yz-color-gray-700);
    font-weight: 600;
    white-space: nowrap;
}
.yz-ft__top:hover { color: var(--yz-color-heading); border-color: var(--yz-hd-border-strong); }
.yz-ft__top svg { width: 15px; height: 15px; }

.yz-ft a:focus-visible { outline: 2px solid var(--yz-color-primary); outline-offset: 2px; border-radius: 6px; }

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 1100px) {
    .yz-ft__shell { padding: 44px 32px 0; }
    .yz-ft__main,
    .yz-ft__main[class*="yz-ft__main--m"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .yz-ft__about,
    .yz-ft__contact { grid-column: 1 / -1; }
    .yz-ft__main--m1 .yz-ft__col { grid-column: 1 / -1; }
    .yz-ft__contact { max-width: 520px; }
}

@media (max-width: 767px) {
    .yz-ft { margin-top: 32px; }
    .yz-ft__shell { padding: 32px 20px 0; border-radius: 22px; }
    .yz-ft__main,
    .yz-ft__main[class*="yz-ft__main--m"] { gap: 32px 20px; }
    .yz-ft__contact { max-width: none; }
    .yz-ft__info { flex-direction: column-reverse; gap: 20px; margin-top: 32px; }
    .yz-ft__bottom { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .yz-hd__shell,
    .yz-drawer__panel,
    .yz-drawer__backdrop,
    .yz-desktop-nav .yz-submenu,
    .yz-ft__social a { transition: none !important; }
}

/* =======================================================================
 * فرم جستجوی عمومی (searchform.php) — هر جای سایت (ویجت جستجو، صفحه‌ی
 * مقالات و ...). اندازه‌ی بزرگ: .yz-sf--hero در blog.css
 * ======================================================================= */
.yz-sf {
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 5px;
    padding-inline-start: 0;
    border: 1px solid var(--yz-hd-border-strong);
    border-radius: 14px;
    background: var(--yz-color-bg);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.yz-sf:focus-within {
    border-color: var(--yz-color-primary);
    box-shadow: 0 0 0 4px var(--yz-hd-ring);
}
.yz-sf__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    color: var(--yz-color-text-muted);
}
.yz-sf__icon svg { width: 19px; height: 19px; }
.yz-sf__input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 0 0 10px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--yz-color-text);
    font: inherit;
    font-size: 15px;
}
.yz-sf__input::placeholder { color: var(--yz-color-text-muted); }
.yz-sf__btn {
    flex-shrink: 0;
    height: 100%;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: var(--yz-color-primary);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s ease;
}
.yz-sf__btn:hover { background: var(--yz-color-primary-dark); }
[data-theme="dark"] .yz-sf__btn { color: #0b1626; }


.elementor-widget-accordion .elementor-accordion-title , .elementor .yz-pp-stat .elementor-counter-title{
 font-family: var(--yz-font, var(--yz-font-family-base)) !important;   
}