/*
Theme Name: Hello Elementor Child
Theme URI: https://korosheh.com/
Description: پوسته فرزند اختصاصی برای هلو المنتور توسعه داده شده توسط آژانس دیجیتال مارکتینگ کروشه. مجهز به سیستم کاتالوگ هدایای سازمانی B2B، پنل مدیریت مدرن Nexa، تقویم شمسی جلالی، درگاه پیامک چندگانه، ماژول تجزیه و تحلیل و سئو.
Author: کروشه (Korosheh)
Author URI: https://korosheh.com/
Template: hello-elementor
Version: 4.0.1.9
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ==========================================================================
   ۱. تعریف فونت‌های متغیر ایران یکان ایکس (IRANYEKANX VARIABLE FONTS)
   ========================================================================== */

@font-face {
    font-family: 'IRANYekanX';
    src: url('assets/fonts/IRANYekanXVF.woff2') format('woff2'),
         url('assets/fonts/IRANYekanXVF.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekanX';
    src: url('assets/fonts/IRANYekanXVF.woff2') format('woff2'),
         url('assets/fonts/IRANYekanXVF.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekan';
    src: url('assets/fonts/IRANYekanXVF.woff2') format('woff2'),
         url('assets/fonts/IRANYekanXVF.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanXFaNum';
    src: url('assets/fonts/IRANYekanXVFaNumVF.woff2') format('woff2'),
         url('assets/fonts/IRANYekanXVFaNumVF.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekanXFaNum';
    src: url('assets/fonts/IRANYekanXVFaNumVF.woff2') format('woff2'),
         url('assets/fonts/IRANYekanXVFaNumVF.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   ۲. MODERN CSS RESET & PERFORMANCE DEFAULTS
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
    tab-size: 4;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   ۳. CRITICAL ICON FONT PRESERVATION (ELEMENTOR, FONTAWESOME, TABLER, DASHICONS)
   ========================================================================== */

.eicon,
[class*="eicon-"],
[class^="eicon-"] {
    font-family: eicons !important;
}

.fa,
.fas,
.far,
.fal,
.fad,
.fab,
[class*="fa-"],
[class^="fa-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "FontAwesome" !important;
}

.dashicons,
[class*="dashicons-"],
[class^="dashicons-"] {
    font-family: dashicons !important;
}

.ti,
[class*="ti-"],
[class^="ti-"] {
    font-family: 'tabler-icons' !important;
}

/* ==========================================================================
   ۴. MEDIA & IMAGE OPTIMIZATIONS
   ========================================================================== */

img,
picture,
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

img:not([height]) {
    height: auto;
}

/* آیکون‌های SVG درون المنتور و قالب بدون شکست خط و با جریان طبیعی */
svg.e-font-icon-svg,
.elementor-icon svg,
.elementor-icon-box-icon svg,
.avin-slider-nav svg,
.site-navigation svg {
    display: inline-block;
    max-width: none;
    height: auto;
    vertical-align: middle;
}

iframe,
embed,
object {
    max-width: 100%;
    border: 0;
}

/* ==========================================================================
   ۵. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   ۶. ELEMENTOR FRONTEND FIXES & HERO SLIDER REFINEMENT
   ========================================================================== */

/* فیکس وکتور فوتر بدون تداخل با المان‌های فرزند */

/* تضمین شفافیت کامل اسلایدر و حذف هرگونه سایه و بک‌گراند مزاحم دور عکس‌های با لبه گرد */
.avin-hero-slider-wrapper,
.avin-hero-slider,
.avin-hero-track,
.avin-hero-slide,
.avin-hero-link,
.avin-hero-picture {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.avin-hero-img {
    width: 100% !important;
    height: auto !important;
    max-height: 560px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.avin-slider-nav,
button.avin-slider-nav,
.avin-hero-slider button.avin-slider-nav,
.avin-hero-slider-wrapper button.avin-slider-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #cf2f71 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 99999 !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
    line-height: 1 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.avin-slider-nav svg,
button.avin-slider-nav svg {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    fill: none !important;
    stroke: #cf2f71 !important;
    stroke-width: 3.5px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
    transition: transform 0.2s ease, stroke 0.2s ease !important;
}

.avin-slider-nav:hover svg,
button.avin-slider-nav:hover svg {
    transform: scale(1.18) !important;
    stroke: #a21a50 !important;
}

.avin-slider-nav:active svg,
button.avin-slider-nav:active svg {
    transform: scale(0.92) !important;
}

.avin-slider-prev,
button.avin-slider-prev {
    right: 0 !important;
}

.avin-slider-next,
button.avin-slider-next {
    left: 0 !important;
}

/* مهار ابعاد لوگوی سایت در هدر و فوتر بدون تداخل با اندازه‌های تنظیم‌شده در ویرایشگر المنتور */
.elementor-location-header .elementor-widget-theme-site-logo img,
.elementor-location-header .custom-logo-link img,
.elementor-location-footer .elementor-widget-theme-site-logo img,
.elementor-location-footer .custom-logo-link img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
