/* ==============================
   Global Persian Font
================================= */

html,
body {
    font-family: 'Vazirmatn', 'Poppins', sans-serif !important;
}

/* اعمال فونت فارسی روی کل سایت بدون تغییر جهت چیدمان */
body,
body * {
    font-family: 'Vazirmatn', 'Poppins', sans-serif !important;
    letter-spacing: 0 !important;
}


/* ==============================
   Header Top
================================= */

.header-top {
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
}

.header-top .container,
.header-top .row {
    direction: rtl !important;
    text-align: right !important;
}

.header-top .header-top-right,
.header-top .header-top-left {
    direction: rtl !important;
    text-align: right !important;
}

.header-top a {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0 !important;
    color: #ffffff;
}

.header-top .top-head-btn {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 15px;
    font-weight: 800;
    color: #222222 !important;
}


/* ==============================
   Glass Navigation Header Layout Fix
   لوگو سمت چپ، منو سمت راست
================================= */

/* ساختار کلی هدر را LTR نگه می‌داریم تا لوگو جابه‌جا نشود */
#header,
#header .container,
#header .main-menu,
.glass-nav {
    direction: ltr !important;
    font-family: 'Vazirmatn', sans-serif !important;
}

/* لوگو سمت چپ */
#logo {
    float: left !important;
    text-align: left !important;
    direction: ltr !important;
}

#logo a {
    display: inline-block;
}

/* ==============================
   Logo - Large & Clean
================================= */

#logo {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    direction: ltr !important;
    text-align: left !important;
}

#logo .logo-link,
#logo a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

/* نسخه اصلی لوگو در دسکتاپ */
#logo img {
    display: block !important;

    /* بزرگ‌تر و خواناتر */
    height: 58px !important;
    max-height: 58px !important;

    /* کشیده‌تر ولی بدون خراب شدن نسبت تصویر */
    width: auto !important;
    max-width: 190px !important;

    object-fit: contain !important;
}

/* کانتینر منو سمت راست */
#nav-menu-container {
    float: right !important;
    direction: rtl !important;
    text-align: right !important;
}


/* خود منو فارسی و راست‌چین */
.nav-menu {
    direction: rtl !important;
    text-align: right !important;
}

.nav-menu,
.nav-menu * {
    font-family: 'Vazirmatn', sans-serif !important;
}


/* آیتم‌های اصلی منو */
.nav-menu > li {
    float: right !important;
    direction: rtl !important;
    text-align: right !important;
}


/* لینک‌های منو */
.nav-menu > li > a {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.8;
    letter-spacing: 0 !important;
    color: #ffffff;
    text-shadow: none;
    direction: rtl !important;
    text-align: right !important;
}


/* آیتم فعال و حالت هاور */



/* ==============================
   Dropdown / Submenu
================================= */

.nav-menu ul {
    direction: rtl !important;
    text-align: right !important;
    right: 0;
    left: auto;
}

.nav-menu ul li {
    direction: rtl !important;
    text-align: right !important;
}

.nav-menu ul li a {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0 !important;
    text-align: right !important;
    direction: rtl !important;
}


/* اگر زیرمنوی چندسطحی دارید */
.nav-menu ul ul {
    right: 100%;
    left: auto;
}


/* ==============================
   Banner Title Font
================================= */

.banner-area h1,
.about-banner h1,
.blog-home-banner h1,
.about-content h1 {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 46px;
    font-weight: 900;
    line-height: 1.7;
    letter-spacing: -1px !important;
    color: #ffffff;
    text-align: center;
    direction: rtl;
}


/* متن زیر عنوان بنر */
.banner-area p,
.about-banner p,
.blog-home-banner p,
.about-content p {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 17px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0 !important;
    direction: rtl;
}


/* ==============================
   Breadcrumb
================================= */

.link-nav,
.link-nav a,
.link-nav span {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0 !important;
    direction: rtl;
}


/* ==============================
   Persian Content Areas
   فقط محتوای صفحات راست‌چین شود، نه ساختار هدر
================================= */

.blog-post,
.single-post,
.post-content-area,
.sidebar-widgets,
.comment-form,
.comments-area,
.section-title,
.blog-info,
.blog-pagination,
.single-widget,
.user-info-widget,
.popular-post-widget,
.category-widget,
.tag-cloud-widget {
    direction: rtl !important;
    text-align: right !important;
}


/* ==============================
   Forms
================================= */

input,
textarea,
select,
button {
    font-family: 'Vazirmatn', sans-serif !important;
}

input,
textarea {
    direction: rtl;
    text-align: right;
}


/* ==============================
   Responsive
================================= */

@media (max-width: 991px) {

    .nav-menu > li > a {
        font-size: 15px;
        font-weight: 700;
    }

    .banner-area h1,
    .about-banner h1,
    .blog-home-banner h1,
    .about-content h1 {
        font-size: 34px;
        line-height: 1.8;
    }

    #logo img {
        max-height: 38px;
    }
}


@media (max-width: 575px) {

    .header-top a {
        font-size: 13px;
    }

    .banner-area h1,
    .about-banner h1,
    .blog-home-banner h1,
    .about-content h1 {
        font-size: 28px;
    }

    #logo img {
        max-height: 34px;
    }
}
/* ==============================
   FINAL OVERRIDE - Bigger Logo
   این بخش حتما آخر فایل custom.css باشد
================================= */

.glass-nav {
    min-height: 96px !important;
    padding: 0 34px !important;
    display: flex !important;
    align-items: center !important;
}

/* باکس لوگو */
#logo {
    width: 180px !important;
    min-width: 180px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    float: left !important;
    direction: ltr !important;
}

/* لینک لوگو */
#logo a,
#logo .logo-link {
    width: 180px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* خود تصویر لوگو */
#logo img {
    width: 200px !important;
    max-width: 200px !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    object-fit: contain !important;
}
/* ==============================
   FINAL OVERRIDE - Header Top Buttons
================================= */

/* دکمه سایت محصولات */
.header-top .top-head-btn {
    background: #002147 !important;
    color: #ffffff !important;
    border: 1.5px solid #001a38 !important; /* دور سرمه‌ای */
    border-radius: 999px !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: none !important;
}

/* هاور دکمه سایت محصولات */
.header-top .top-head-btn:hover {
    background: #ffffff !important;
    color: #002147 !important;
    border: 1.5px solid #002147 !important;
}

/* لینک اعلام نیاز */
.header-top a:not(.top-head-btn) {
    color: #ffffff !important;
    border-radius: 999px !important;
    padding: 8px 14px !important;
    transition: all 0.25s ease-in-out !important;
}

/* هاور اعلام نیاز: روکش سفید کدر و خیلی شفاف */
.header-top a:not(.top-head-btn):hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}
/* ==============================
   FINAL OVERRIDE - Menu Hover Like "اعلام نیاز"
================================= */

/* حالت عادی منو */
.nav-menu > li > a {
    color: #ffffff !important;
    background: transparent !important;
    border-radius: 999px !important;
    padding: 8px 14px !important;
    transition: all 0.25s ease-in-out !important;
    border: 1px solid transparent !important;
}

/* حذف زرد از آیتم فعال و هاور */
.nav-menu > li.menu-active > a,
.nav-menu > li:hover > a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.20) !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}
/* =========================================================
   Home Video Banner
========================================================= */

.video-banner-area {
    position: relative !important;

    width: 100% !important;
    min-height: 100vh !important;

    overflow: hidden !important;

    display: flex !important;
    align-items: center !important;

    background: #000 !important;
}

/* خود ویدئو */
.video-banner-area .hero-video {
    position: absolute !important;

    top: 50% !important;
    left: 50% !important;

    width: 100% !important;
    height: 100% !important;

    min-width: 100% !important;
    min-height: 100% !important;

    transform: translate(-50%, -50%) !important;

    object-fit: cover !important;
    object-position: center center !important;

    z-index: 0 !important;
}

/* لایه تیره روی ویدئو برای خوانایی متن */
.video-banner-area .video-overlay {
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 100% !important;

    background: rgba(0, 0, 0, 0.45) !important;

    z-index: 1 !important;
}

/* محتوای روی ویدئو */
.video-banner-area .container {
    position: relative !important;
    z-index: 2 !important;
}

/* ارتفاع ردیف بنر */
.video-banner-area .fullscreen {
    min-height: 100vh !important;
}

/* متن بنر */
.video-banner-area .banner-left {
    direction: rtl !important;
    text-align: right !important;
}

.video-banner-area h1,
.video-banner-area h6,
.video-banner-area p {
    font-family: 'Vazirmatn', sans-serif !important;
    color: #ffffff !important;
    letter-spacing: 0 !important;
}

.video-banner-area h1 {
    font-size: 56px !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
}

.video-banner-area h6 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
}

.video-banner-area p {
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 2.1 !important;
    max-width: 620px !important;
}


/* موبایل */
@media (max-width: 768px) {
    .video-banner-area h1 {
        font-size: 34px !important;
    }

    .video-banner-area h6 {
        font-size: 15px !important;
    }

    .video-banner-area p {
        font-size: 14px !important;
        line-height: 2 !important;
    }

    .video-banner-area .banner-left {
        text-align: center !important;
    }
}
/* =========================================================
   Navbar Dropdown Hover Fix - Home & Blog
   جلوگیری از زرد یا سرمه‌ای شدن آیتم‌های منوی دسته‌بندی
========================================================= */

/* لینک‌های منوی اصلی و کشویی در حالت hover */
.nav-menu li:hover > a,
.nav-menu li.sfHover > a,
.nav-menu li.active > a,
.nav-menu ul li:hover > a,
.nav-menu ul li.sfHover > a,
.main-menu li:hover > a,
.main-menu li.active > a,
.main-menu ul li:hover > a,
.main-menu ul li.sfHover > a,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    color: #ffffff !important;
}

/* آیتم‌های داخل dropdown */
.nav-menu ul li a,
.main-menu ul li a,
.navbar-nav .dropdown-menu .dropdown-item {
    color: #ffffff !important;
}

/* هاور داخل dropdown: سفید کم‌رنگ، نه زرد نه سرمه‌ای */
.nav-menu ul li:hover,
.nav-menu ul li.sfHover,
.main-menu ul li:hover,
.main-menu ul li.sfHover,
.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.10) !important;
    color: #ffffff !important;
}

/* اگر قالب روی خود a پس‌زمینه می‌دهد */
.nav-menu ul li:hover > a,
.nav-menu ul li.sfHover > a,
.main-menu ul li:hover > a,
.main-menu ul li.sfHover > a,
.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.10) !important;
    color: #ffffff !important;
}

/* جلوگیری از زرد شدن آیتم فعال */
.nav-menu li.active > a,
.nav-menu li.current-menu-item > a,
.main-menu li.active > a,
.main-menu li.current-menu-item > a,
.navbar-nav .nav-link.active,
.navbar-nav .dropdown-item.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.10) !important;
}
::selection {
    background: rgba(0, 25, 75, 0.72) !important;
    color: #ffffff !important;
}

::-moz-selection {
    background: rgba(0, 25, 75, 0.72) !important;
    color: #ffffff !important;
}
/* ================================
   Citra Custom Footer - Final Pro
================================ */

.custom-footer {
    position: relative;
    width: 100%;
    background: #064a63;
    color: #ffffff;
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl;
    overflow: hidden;
}

/* خط فیروزه‌ای بالای فوتر */
.custom-footer .footer-top-line {
    width: 100%;
    height: 6px;
    background: #08c7d8;
}

/* همه اجزای فوتر با وزیرمتن */
.custom-footer,
.custom-footer * {
    font-family: 'Vazirmatn', sans-serif !important;
    box-sizing: border-box;
}

/* کانتینر اصلی */
.footer-container {
    max-width: 1720px;
    margin: 0 auto;
    padding: 105px 95px 95px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1.25fr 1.05fr;
    gap: 82px;
    align-items: flex-start;
}

/* ستون‌ها */
.footer-col {
    text-align: right;
}

/* عنوان ستون‌ها */
.footer-col h3 {
    position: relative;
    display: inline-block;
    margin: 0 0 40px;
    padding-bottom: 16px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: -0.3px;
}

/* خط زیر عنوان */
.footer-col h3::after {
    content: "";
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    bottom: 0;
    width: 76px;
    height: 3px;
    background: #14c8d9;
    border-radius: 20px;
}

/* رسالت ما */
.footer-about-col p {
    max-width: 470px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 19px;
    font-weight: 650;
    line-height: 2.25;
    text-align: justify;
}

/* دسترسی سریع */
.quick-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.quick-links li {
    margin-bottom: 26px;
}

.quick-links li:last-child {
    margin-bottom: 0;
}

.quick-links a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 19px;
    font-weight: 650;
    line-height: 1.9;
    text-decoration: none;
    transition: all 0.25s ease;
}

.quick-links a:hover {
    color: #18c7da;
    padding-right: 7px;
}

/* ارتباط با ما */
.contact-info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 27px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 19px;
    font-weight: 650;
    line-height: 2.05;
}

.contact-info li:last-child {
    margin-bottom: 0;
}

.contact-info i {
    min-width: 25px;
    margin-top: 8px;
    color: #12c9da;
    font-size: 22px;
    text-align: center;
}

/* تلفن‌ها */
.phone-li {
    align-items: flex-start;
}

.phone-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-title {
    color: rgba(255, 255, 255, 0.94);
    font-size: 19px;
    font-weight: 750;
}

.footer-phone {
    display: inline-block;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 18.5px;
    font-weight: 650;
    letter-spacing: 0.2px;
    direction: ltr;
    text-align: right;
    transition: color 0.25s ease;
}

.footer-phone:hover {
    color: #18c7da;
}

/* ایمیل */
.footer-email {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    direction: ltr;
    unicode-bidi: embed;
    font-size: 18.5px;
    font-weight: 650;
    transition: color 0.25s ease;
}

.footer-email:hover {
    color: #18c7da;
}

/* ستون لوگو */
.brand-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 7px;
}

/* لوگو */
.footer-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 55px;
}

.footer-logo {
    width: 215px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* متن زیر لوگو */
.brand-desc {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.9;
}

/* شبکه‌های اجتماعی */
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    direction: ltr;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-links a:hover {
    transform: translateY(-4px);
    opacity: 0.88;
}

.social-links img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

/* پایین فوتر */
.footer-bottom {
    max-width: 1720px;
    margin: 0 auto;
    padding: 34px 95px 38px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.8;
}

/* ================================
   Responsive
================================ */

@media (max-width: 1399px) {
    .footer-container {
        max-width: 1280px;
        padding: 92px 65px 82px;
        grid-template-columns: 1.05fr 0.8fr 1.15fr 1fr;
        gap: 60px;
    }

    .footer-col h3 {
        font-size: 26px;
        margin-bottom: 36px;
    }

    .footer-col h3::after {
        width: 70px;
    }

    .footer-about-col p,
    .quick-links a,
    .contact-info li,
    .brand-desc {
        font-size: 18px;
    }

    .phone-title {
        font-size: 18px;
    }

    .footer-phone,
    .footer-email {
        font-size: 17.5px;
    }

    .footer-logo {
        width: 200px;
    }

    .social-links img {
        width: 42px;
        height: 42px;
    }

    .footer-bottom {
        padding-right: 65px;
        padding-left: 65px;
    }

    .footer-bottom p {
        font-size: 17px;
    }
}

@media (max-width: 1199px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 65px 55px;
        padding: 82px 50px 72px;
    }

    .brand-col {
        align-items: flex-start;
        text-align: right;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        padding: 30px 50px 34px;
    }
}

@media (max-width: 767px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 62px 26px 52px;
    }

    .footer-col,
    .brand-col {
        text-align: center;
        align-items: center;
    }

    .footer-col h3 {
        margin-bottom: 28px;
        font-size: 24px;
    }

    .footer-col h3::after {
        width: 64px;
        height: 3px;
    }

    .footer-about-col p {
        max-width: 100%;
        text-align: center;
        font-size: 17px;
        font-weight: 600;
        line-height: 2.1;
    }

    .quick-links li {
        margin-bottom: 20px;
    }

    .quick-links a,
    .contact-info li,
    .brand-desc {
        font-size: 17px;
        font-weight: 600;
    }

    .contact-info li {
        justify-content: center;
        text-align: right;
        margin-bottom: 22px;
    }

    .contact-info i {
        font-size: 20px;
        margin-top: 7px;
    }

    .phone-title {
        font-size: 17px;
        font-weight: 700;
    }

    .footer-phone,
    .footer-email {
        font-size: 16.5px;
        font-weight: 600;
    }

    .footer-logo-link {
        margin-bottom: 36px;
    }

    .footer-logo {
        width: 175px;
    }

    .social-links {
        gap: 17px;
    }

    .social-links a {
        width: 42px;
        height: 42px;
    }

    .social-links img {
        width: 38px;
        height: 38px;
    }

    .footer-bottom {
        padding: 26px 26px 30px;
    }

    .footer-bottom p {
        font-size: 15.5px;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .footer-col h3 {
        font-size: 23px;
    }

    .footer-about-col p,
    .quick-links a,
    .contact-info li,
    .brand-desc {
        font-size: 16.5px;
    }

    .contact-info li {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .contact-info i {
        margin-top: 0;
    }

    .phone-container {
        align-items: center;
    }

    .footer-logo {
        width: 165px;
    }

    .social-links {
        gap: 14px;
    }

    .social-links img {
        width: 35px;
        height: 35px;
    }
}
/* =========================================================
   CITRA HEADER SEARCH BOX
   Search between logo and navigation
========================================================= */

.glass-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;

    min-height: 92px;
    padding: 14px 24px !important;

    direction: rtl;
}

/* Logo */
.cj-header-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.cj-header-logo .logo-link {
    display: inline-flex;
    align-items: center;
}

.cj-header-logo img {
    display: block;
    max-height: 72px;
    width: auto;
}

/* Search */
.cj-header-search {
    flex: 0 1 280px;

    height: 46px;
    min-width: 230px;
    max-width: 320px;

    display: flex;
    align-items: center;
    flex-direction: row-reverse;

    position: relative;
    overflow: hidden;

    border-radius: 999px;
    border: 1px solid rgba(202, 240, 248, 0.28);

    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055));

    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(14px) saturate(1.25);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);

    transition:
        border-color 220ms ease,
        box-shadow 220ms ease,
        background 220ms ease,
        transform 220ms ease;
}

.cj-header-search::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.16),
            transparent 42%,
            rgba(72, 202, 228, 0.12)
        );
}

.cj-header-search:focus-within {
    transform: translateY(-1px);
    border-color: rgba(144, 224, 239, 0.58);

    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.28), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(0, 180, 216, 0.085));

    box-shadow:
        0 18px 42px rgba(0, 119, 182, 0.24),
        0 0 0 5px rgba(0, 180, 216, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

/* Input */
.cj-header-search-input {
    position: relative;
    z-index: 2;

    flex: 1 1 auto;
    width: 100%;
    height: 100%;

    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;

    padding: 0 18px 0 8px;

    color: #ffffff;
    font-family: "Vazirmatn", sans-serif;
    font-size: 13px;
    font-weight: 600;

    direction: rtl;
    text-align: right;
}

.cj-header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
}

/* Search Button */
.cj-header-search-btn {
    position: relative;
    z-index: 3;

    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin-left: 4px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    outline: 0;
    border-radius: 50%;

    color: #ffffff;

    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.46), transparent 36%),
        linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);

    box-shadow:
        0 8px 18px rgba(0, 119, 182, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);

    cursor: pointer;

    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        background 200ms ease;
}

.cj-header-search-btn i {
    font-size: 14px;
    line-height: 1;
}

.cj-header-search-btn:hover {
    transform: scale(1.07);

    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.56), transparent 36%),
        linear-gradient(135deg, #21d9ff 0%, #0077b6 100%);

    box-shadow:
        0 10px 24px rgba(0, 180, 216, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.cj-header-search-btn:active {
    transform: scale(0.94);
}

/* Navigation sizing */
.cj-header-menu {
    flex: 1 1 auto;
    min-width: 0;
}

.cj-header-menu .nav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px;
    flex-wrap: nowrap;
}

/* جلوگیری از فشردگی بیش از حد لینک‌ها */
.cj-header-menu .nav-menu > li > a {
    white-space: nowrap;
}

/* =========================================================
   RESPONSIVE HEADER SEARCH
========================================================= */

@media (max-width: 1199px) {
    .glass-nav {
        gap: 16px !important;
        padding: 12px 18px !important;
    }

    .cj-header-search {
        flex-basis: 240px;
        min-width: 205px;
    }

    .cj-header-menu .nav-menu > li > a {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 13px;
    }

    .cj-header-logo img {
        max-height: 64px;
    }
}

@media (max-width: 991px) {
    .glass-nav {
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 12px !important;
    }

    .cj-header-logo {
        order: 1;
    }

    .cj-header-search {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 100%;
        height: 44px;
    }

    .cj-header-menu {
        order: 2;
        flex: 1 1 auto;
    }

    .cj-header-menu .nav-menu {
        justify-content: center !important;
        flex-wrap: wrap;
        row-gap: 6px;
    }
}

@media (max-width: 575px) {
    .glass-nav {
        padding: 10px 12px !important;
        border-radius: 18px !important;
    }

    .cj-header-logo img {
        max-height: 56px;
    }

    .cj-header-search {
        height: 42px;
        min-width: 100%;
    }

    .cj-header-search-input {
        font-size: 12px;
        padding-right: 14px;
    }

    .cj-header-search-btn {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .cj-header-search-btn i {
        font-size: 13px;
    }
}
/* =========================================================
   CITRA HEADER FINAL FIX
   Wide glass header + wider search + no blue search button
   این بخش حتماً آخر custom.css باشد
========================================================= */

/* جلوگیری از اسکرول افقی ناخواسته */
html,
body {
    max-width: 100%;
    overflow-x: hidden !important;
}

/* کانتینر هدر عریض‌تر شود تا همه آیتم‌ها داخل باکس جا شوند */
#header .container,
#header .container-fluid {
    width: min(100% - 56px, 1560px) !important;
    max-width: 1560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* خود هدر */
#header {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: visible !important;
}

/* باکس اصلی شیشه‌ای هدر */
.glass-nav {
    width: 100% !important;
    max-width: 100% !important;

    min-height: 112px !important;
    padding: 18px 48px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    /* فاصله کلی بین لوگو، سرچ و منو */
    gap: 0 !important;

    box-sizing: border-box !important;

    direction: ltr !important;

    border-radius: 10px !important;

    overflow: visible !important;
}

/* لوگو سمت چپ */
#logo,
.cj-header-logo {
    flex: 0 0 205px !important;
    width: 205px !important;
    min-width: 205px !important;
    height: 82px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    margin: 0 !important;
    padding: 0 !important;

    float: none !important;
    direction: ltr !important;
    text-align: left !important;
}

#logo a,
#logo .logo-link,
.cj-header-logo a,
.cj-header-logo .logo-link {
    width: 100% !important;
    height: 82px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

#logo img,
.cj-header-logo img {
    width: 200px !important;
    max-width: 200px !important;
    height: auto !important;
    max-height: none !important;

    display: block !important;
    object-fit: contain !important;
}

/* سرچ‌باکس کشیده‌تر با فاصله بیشتر از دو طرف */
.cj-header-search {
    flex: 0 0 470px !important;

    width: 470px !important;
    min-width: 470px !important;
    max-width: 470px !important;

    height: 54px !important;

    /* فاصله از لوگو و منو */
    margin-left: 38px !important;
    margin-right: 46px !important;

    display: flex !important;
    align-items: center !important;
    flex-direction: row-reverse !important;

    position: relative !important;

    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;

    background:
        radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.30), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.075)) !important;

    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;

    backdrop-filter: blur(16px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.2) !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* حذف کامل ته‌رنگ آبی از لایه داخلی سرچ */
.cj-header-search::before {
    content: "" !important;
    position: absolute !important;
    inset: 1px !important;
    border-radius: inherit !important;
    pointer-events: none !important;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.16),
            transparent 42%,
            rgba(255, 255, 255, 0.08)
        ) !important;
}

/* فوکوس سرچ بدون آبی */
.cj-header-search:focus-within {
    transform: translateY(-1px) !important;

    border-color: rgba(255, 255, 255, 0.42) !important;

    background:
        radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.36), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.10)) !important;

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.28),
        0 0 0 5px rgba(255, 255, 255, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

/* متن داخل سرچ */
.cj-header-search-input {
    position: relative !important;
    z-index: 2 !important;

    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;

    padding: 0 28px 0 14px !important;

    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;

    color: #ffffff !important;

    font-family: "Vazirmatn", sans-serif !important;
    font-size: 14px !important;
    font-weight: 650 !important;

    direction: rtl !important;
    text-align: right !important;
}

.cj-header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 550 !important;
}

/* دکمه سرچ: بدون آبی، شیشه‌ای و هماهنگ با هدر */
.cj-header-search-btn {
    position: relative !important;
    z-index: 3 !important;

    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;

    margin-left: 5px !important;
    margin-right: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    outline: 0 !important;

    color: #ffffff !important;

    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.46), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)) !important;

    box-shadow:
        0 9px 20px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.30) !important;

    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;

    cursor: pointer !important;

    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        background 200ms ease,
        border-color 200ms ease !important;
}

.cj-header-search-btn i {
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

/* هاور سرچ هم بدون آبی */
.cj-header-search-btn:hover {
    transform: scale(1.06) !important;

    border-color: rgba(255, 255, 255, 0.42) !important;

    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.56), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12)) !important;

    box-shadow:
        0 11px 24px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.36) !important;
}

.cj-header-search-btn:active {
    transform: scale(0.96) !important;
}

/* منو باید باقی عرض هدر را بگیرد */
#nav-menu-container,
.cj-header-menu {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;

    float: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    direction: rtl !important;
    text-align: right !important;
}

/* خود لیست منو */
.nav-menu,
.cj-header-menu .nav-menu {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 8px !important;

    flex-wrap: nowrap !important;

    margin: 0 !important;
    padding: 0 !important;

    direction: rtl !important;
    text-align: right !important;
}

/* آیتم‌های منو */
.nav-menu > li,
.cj-header-menu .nav-menu > li {
    float: none !important;
    flex: 0 0 auto !important;

    direction: rtl !important;
    text-align: right !important;
}

/* لینک‌های منو */
.nav-menu > li > a,
.cj-header-menu .nav-menu > li > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    white-space: nowrap !important;

    padding: 9px 13px !important;

    font-size: 15.5px !important;
    font-weight: 800 !important;

    color: #ffffff !important;
    line-height: 1.6 !important;

    border-radius: 999px !important;
    border: 1px solid transparent !important;

    background: transparent !important;
}

/* هاور منو */
.nav-menu > li.menu-active > a,
.nav-menu > li:hover > a,
.cj-header-menu .nav-menu > li.menu-active > a,
.cj-header-menu .nav-menu > li:hover > a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: rgba(255, 255, 255, 0.20) !important;

    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04) !important;

    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

/* =========================================================
   RESPONSIVE HEADER FIX
========================================================= */

@media (max-width: 1450px) {
    #header .container,
    #header .container-fluid {
        width: min(100% - 44px, 1400px) !important;
        max-width: 1400px !important;
    }

    .glass-nav {
        padding-left: 36px !important;
        padding-right: 36px !important;
    }

    #logo,
    .cj-header-logo {
        flex-basis: 185px !important;
        width: 185px !important;
        min-width: 185px !important;
    }

    #logo img,
    .cj-header-logo img {
        width: 180px !important;
        max-width: 180px !important;
    }

    .cj-header-search {
        flex-basis: 410px !important;
        width: 410px !important;
        min-width: 410px !important;
        max-width: 410px !important;

        margin-left: 30px !important;
        margin-right: 34px !important;
    }

    .nav-menu,
    .cj-header-menu .nav-menu {
        gap: 5px !important;
    }

    .nav-menu > li > a,
    .cj-header-menu .nav-menu > li > a {
        font-size: 14.5px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

@media (max-width: 1250px) {
    #header .container,
    #header .container-fluid {
        width: min(100% - 32px, 1180px) !important;
        max-width: 1180px !important;
    }

    .glass-nav {
        min-height: 104px !important;
        padding-left: 26px !important;
        padding-right: 26px !important;
    }

    #logo,
    .cj-header-logo {
        flex-basis: 160px !important;
        width: 160px !important;
        min-width: 160px !important;
    }

    #logo img,
    .cj-header-logo img {
        width: 155px !important;
        max-width: 155px !important;
    }

    .cj-header-search {
        flex-basis: 330px !important;
        width: 330px !important;
        min-width: 330px !important;
        max-width: 330px !important;

        height: 50px !important;

        margin-left: 22px !important;
        margin-right: 24px !important;
    }

    .cj-header-search-btn {
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px !important;
    }

    .nav-menu > li > a,
    .cj-header-menu .nav-menu > li > a {
        font-size: 13.5px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (max-width: 1050px) {
    .glass-nav {
        flex-wrap: wrap !important;
        row-gap: 14px !important;
    }

    #logo,
    .cj-header-logo {
        order: 1 !important;
    }

    #nav-menu-container,
    .cj-header-menu {
        order: 2 !important;
        flex: 1 1 calc(100% - 180px) !important;
    }

    .cj-header-search {
        order: 3 !important;

        flex: 1 1 100% !important;

        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .nav-menu,
    .cj-header-menu .nav-menu {
        justify-content: flex-end !important;
        flex-wrap: wrap !important;
        row-gap: 6px !important;
    }
}

@media (max-width: 768px) {
    #header .container,
    #header .container-fluid {
        width: calc(100% - 22px) !important;
    }

    .glass-nav {
        flex-direction: column !important;
        align-items: stretch !important;

        min-height: auto !important;

        padding: 16px !important;
        gap: 14px !important;
    }

    #logo,
    .cj-header-logo {
        width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;

        justify-content: center !important;
    }

    #logo a,
    #logo .logo-link,
    .cj-header-logo a,
    .cj-header-logo .logo-link {
        justify-content: center !important;
    }

    #logo img,
    .cj-header-logo img {
        width: 160px !important;
        max-width: 160px !important;
    }

    #nav-menu-container,
    .cj-header-menu {
        width: 100% !important;
        flex: 0 0 auto !important;
        justify-content: center !important;
    }

    .nav-menu,
    .cj-header-menu .nav-menu {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .cj-header-search {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        height: 48px !important;
    }
}
/* =========================================================
   FINAL HEADER CONTAINMENT FIX
   Prevent "صفحه اصلی" from escaping glass-nav
========================================================= */

.glass-nav {
    display: grid !important;
    grid-template-columns: 220px 470px minmax(0, 1fr) !important;
    align-items: center !important;

    column-gap: 38px !important;

    width: 100% !important;
    max-width: 100% !important;

    padding-left: 56px !important;
    padding-right: 56px !important;

    box-sizing: border-box !important;
    overflow: hidden !important;

    direction: ltr !important;
}

/* لوگو ستون اول */
#logo,
.cj-header-logo {
    grid-column: 1 !important;

    width: 220px !important;
    min-width: 0 !important;
    max-width: 220px !important;

    justify-self: start !important;
}

/* سرچ ستون دوم */
.cj-header-search {
    grid-column: 2 !important;

    width: 470px !important;
    min-width: 0 !important;
    max-width: 470px !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    justify-self: start !important;
}

/* منو ستون سوم */
#nav-menu-container,
.cj-header-menu {
    grid-column: 3 !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    justify-self: stretch !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    overflow: hidden !important;

    direction: rtl !important;
}

/* خود لیست منو داخل ستون خودش بماند */
.nav-menu,
.cj-header-menu .nav-menu {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    flex-wrap: nowrap !important;
    gap: 6px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    box-sizing: border-box !important;

    direction: rtl !important;
}

/* آیتم‌ها اجازه ندهند منو از ستون بیرون بزند */
.nav-menu > li,
.cj-header-menu .nav-menu > li {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: max-content !important;

    float: none !important;
}

/* لینک‌ها کمی جمع‌وجورتر شوند */
.nav-menu > li > a,
.cj-header-menu .nav-menu > li > a {
    max-width: 100% !important;

    padding: 9px 11px !important;

    font-size: 15px !important;
    white-space: nowrap !important;

    box-sizing: border-box !important;
}

/* مخصوص آیتم صفحه اصلی: نگذارد از سمت راست بیرون بزند */
.nav-menu > li:first-child > a,
.cj-header-menu .nav-menu > li:first-child > a {
    margin-right: 0 !important;
}

/* اگر قالب برای آخرین/اولین آیتم margin داده، خنثی شود */
.nav-menu > li:first-child,
.nav-menu > li:last-child,
.cj-header-menu .nav-menu > li:first-child,
.cj-header-menu .nav-menu > li:last-child {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* دکمه‌های بالای هدر نباید روی نوار اثر بگذارند */
#header .container,
#header .container-fluid {
    overflow: visible !important;
}

/* نسخه‌های کمی کوچک‌تر */
@media (max-width: 1450px) {
    .glass-nav {
        grid-template-columns: 190px 390px minmax(0, 1fr) !important;
        column-gap: 28px !important;

        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    #logo,
    .cj-header-logo {
        width: 190px !important;
        max-width: 190px !important;
    }

    .cj-header-search {
        width: 390px !important;
        max-width: 390px !important;
    }

    .nav-menu > li > a,
    .cj-header-menu .nav-menu > li > a {
        font-size: 14px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (max-width: 1200px) {
    .glass-nav {
        grid-template-columns: 170px minmax(260px, 340px) minmax(0, 1fr) !important;
        column-gap: 20px !important;

        padding-left: 28px !important;
        padding-right: 28px !important;
    }

    #logo,
    .cj-header-logo {
        width: 170px !important;
        max-width: 170px !important;
    }

    .cj-header-search {
        width: 100% !important;
        max-width: 340px !important;
    }

    .nav-menu,
    .cj-header-menu .nav-menu {
        gap: 3px !important;
    }

    .nav-menu > li > a,
    .cj-header-menu .nav-menu > li > a {
        font-size: 13px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}

@media (max-width: 1050px) {
    .glass-nav {
        display: flex !important;
        flex-wrap: wrap !important;
        overflow: visible !important;
    }

    #logo,
    .cj-header-logo {
        flex: 0 0 170px !important;
        width: 170px !important;
    }

    #nav-menu-container,
    .cj-header-menu {
        flex: 1 1 calc(100% - 190px) !important;
        overflow: visible !important;
    }

    .nav-menu,
    .cj-header-menu .nav-menu {
        flex-wrap: wrap !important;
        overflow: visible !important;
    }

    .cj-header-search {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        order: 3 !important;
    }
}
/* =========================================================
   FIX: mobile nav must not inherit desktop glass header styles
========================================================= */

/* فقط منوی دسکتاپ */
#nav-menu-container {
    grid-column: 3 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    direction: rtl !important;
    overflow: visible !important;
}

#nav-menu-container .nav-menu {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

#nav-menu-container .nav-menu > li {
    flex: 0 0 auto !important;
    float: none !important;
}

#nav-menu-container .nav-menu > li > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

/* ---------------------------------------------------------
   RESET COMPLETELY FOR MOBILE NAV
--------------------------------------------------------- */

#mobile-nav {
    position: fixed !important;
    top: 0 !important;
    right: -280px !important;

    width: 280px !important;
    max-width: 80vw !important;
    height: 100vh !important;

    display: block !important;

    padding: 18px 0 !important;
    margin: 0 !important;

    background: rgba(0, 0, 0, 0.88) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    z-index: 9998 !important;

    direction: rtl !important;

    /* ریست استایل‌های grid/flex هدر */
    grid-column: auto !important;
    justify-self: auto !important;
    align-self: auto !important;
    flex: none !important;
    min-width: auto !important;
    max-width: 80vw !important;
    column-gap: 0 !important;
    box-shadow: -8px 0 30px rgba(0,0,0,.35) !important;
    border-radius: 0 !important;
}

/* اگر پلاگین/JS منو را باز کرد */
body.mobile-nav-active #mobile-nav {
    right: 0 !important;
}

/* لیست داخل منوی موبایل */
#mobile-nav ul,
#mobile-nav .nav-menu {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#mobile-nav li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#mobile-nav li a {
    display: block !important;
    padding: 12px 20px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: right !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    white-space: normal !important;
}

/* لایه پشت منوی موبایل فقط وقتی active شد */
#mobile-body-overly {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 9997 !important;
}

body.mobile-nav-active #mobile-body-overly {
    display: block !important;
}
@media (min-width: 992px) {

    .glass-nav {
        max-width: 1720px !important;
        width: calc(100% - 80px) !important;

        /* تعادل دو طرف */
        padding-right: 34px !important;
        padding-left: 72px !important;

        box-sizing: border-box !important;
        overflow: visible !important;
    }

    #nav-menu-container {
        width: 100% !important;
        min-width: 0 !important;
        padding-right: 6px !important;

        display: flex !important;
        justify-content: flex-end !important;
        overflow: visible !important;
    }

    .glass-nav .site-logo,
    .glass-nav .logo,
    .glass-nav .navbar-brand {
        margin-left: 10px !important;
    }
}
/* =========================================================
   Reduce desktop search width by 25%
========================================================= */

@media (min-width: 992px) {

    .glass-nav {
        grid-template-columns: 220px minmax(260px, 330px) minmax(0, 1fr) !important;
        column-gap: 28px !important;
    }

    .header-search,
    .cj-header-search,
    .search-form,
    .header-search-form {
        width: 330px !important;
        max-width: 330px !important;
        min-width: 260px !important;
    }

    .header-search input,
    .cj-header-search input,
    .search-form input,
    .header-search-form input {
        width: 100% !important;
    }
}
/* =========================================================
   Search Results Page
========================================================= */

.cj-search-page {
    padding: 160px 0 90px;
    background: #f7fafc;
    min-height: 70vh;
}

.cj-search-head {
    text-align: center;
    margin-bottom: 35px;
}

.cj-search-head h1 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.cj-search-head p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.cj-search-page-form {
    max-width: 720px;
    margin: 0 auto 45px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 10px;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.cj-search-page-form input {
    flex: 1;
    height: 52px;
    border: none;
    outline: none;
    padding: 0 18px;
    font-size: 15px;
    color: #0f172a;
    background: transparent;
}

.cj-search-page-form button {
    height: 52px;
    border: none;
    outline: none;
    padding: 0 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.cj-search-page-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(20, 184, 166, 0.28);
}

.cj-search-results-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.cj-search-result-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 26px 28px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.07);
    border: 1px solid rgba(15, 23, 42, 0.07);
}

.cj-search-result-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.cj-search-result-meta span {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.1);
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
}

.cj-search-result-card h2 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.6;
}

.cj-search-result-card h2 a {
    color: #0f172a;
    text-decoration: none;
}

.cj-search-result-card h2 a:hover {
    color: #0f766e;
}

.cj-search-result-card p {
    color: #64748b;
    line-height: 2;
    font-size: 15px;
    margin-bottom: 18px;
}

.cj-search-result-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f766e;
    font-weight: 800;
    text-decoration: none;
}

.cj-search-result-link:hover {
    color: #115e59;
}

.cj-pagination {
    max-width: 920px;
    margin: 35px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.cj-pagination a,
.cj-pagination span {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 18px;
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
    text-decoration: none;
}

.cj-pagination a:hover {
    background: #0f766e;
    color: #ffffff;
}

@media (max-width: 767px) {
    .cj-search-page {
        padding: 130px 0 70px;
    }

    .cj-search-page-form {
        flex-direction: column;
        border-radius: 18px;
    }

    .cj-search-page-form input,
    .cj-search-page-form button {
        width: 100%;
    }

    .cj-search-result-card {
        padding: 22px 20px;
    }

    .cj-search-head h1 {
        font-size: 24px;
    }

    .cj-search-result-card h2 {
        font-size: 19px;
    }
}
/* بزرگ کردن نوشته‌های منوی هدر */
.glass-nav #nav-menu-container .nav-menu > li > a {
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* فقط فاصله بین "صفحه اصلی" و "ژورنال" */
.glass-nav #nav-menu-container .nav-menu > li.menu-active {
    margin-left: 14px !important;
}
/* فقط کشیدن نوار شیشه‌ای به سمت راست */
.glass-nav {
    width: calc(100% + 55px) !important;
    max-width: calc(100% + 45px) !important;
    margin-right: -55px !important;
    box-sizing: border-box !important;
}
