@font-face { font-family: 'IRANSans'; src: url('/fonts/IRANSans/IRANSansWeb.woff2') format('woff2'), url('/fonts/IRANSans/IRANSansWeb.woff') format('woff'), url('/fonts/IRANSans/IRANSansWeb') format('truetype'); font-weight: normal; font-style: normal; font-display: swap; }

html, body {min-height: 100%;height: auto;}

body {font-size:14px;font-family:"IRANSans",system-ui,-apple-system,sans-serif;direction:rtl;background-color:#f9f9f9;-webkit-font-smoothing:antialiased;}


/* =====  Typography  ===== */
h1 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.7; margin-bottom: 14px; font-weight: 700; }
h2 { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.7; margin-bottom: 12px; font-weight: 600; }
h3 { font-size: clamp(16px, 1.9vw, 20px); line-height: 1.7; margin-bottom: 10px; font-weight: 600; }
h4 { font-size: 15px; line-height: 1.7; margin-bottom: 8px; font-weight: 500; }
h5 { font-size: 14px; line-height: 1.7; font-weight: 500; }
h6 { font-size: 13px; line-height: 1.7; font-weight: 500; }
p { font-size: clamp(15px, 1.6vw, 16px); line-height: 1.95; margin-bottom: 16px; }

/*----------------------بجای container برای صفحات اصلی   ------*/

.page-wrap {max-width: 1400px;margin-inline: auto;padding-inline: 12px;}

@media (min-width: 992px) {
  .page-wrap {
    padding-inline: 20px;
  }
}

/*----------------------صفحه اصلی   ------*/
/* منو بالای صفحه */
.navbar { padding: 0; background-color: #ffffff; border-bottom: 1px solid #ddd; }
.navbar-brand img { margin-right: -15px; }
.navbar .navbar-nav .nav-link { color: #333; font-size: 14px; margin-left: 15px; }
.navbar .navbar-nav .nav-link:hover { color: #007bff; }
/* تنظیم نوار جستجو */
.search-bar { position: relative; }
.search-bar input { border-radius: 30px; padding: 8px 20px; border: 1px solid #ddd; box-shadow: 0 2px 5px rgba(0,0,0,0.1); width: 100%; }
.search-bar button { position: absolute; top: 50%; left: 0; transform: translateY(-50%); border: none; background-color: #235d9b; color: #fff; padding: 9px 12px; border-radius: 20px 0 0 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); width: 45px; height: 42px; }
/* برای موبایل */
.navbar-nav { flex-direction: row; }
.navbar-collapse { flex-grow: 0; }
.search-bar.d-none { display: none; }

.breadcrumb-item.active { color: #000; }
[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before { float: right; padding-left: .5rem; padding-right: 0; }

@medi


/* ---------------- صفحه بازارگردی ---------------- */ 
/* کارت ها و جستجو */ 
.market-card-clean { transition: transform 0.3s ease, box-shadow 0.3s ease; border-radius: 15px; } 
.market-card-clean:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); } 
.market-card-clean img { width: 100px; height: 100px; object-fit: cover; border: 3px solid #f8f9fa; border-radius: 50%; } 
.search-inner-bazar { border: 2px solid #eee; border-radius: 30px; padding: 12px 25px; transition: all 0.3s; } 
.search-inner-bazar:focus { border-color: #ffc107; box-shadow: 0 0 10px rgba(255,193,7,0.2); outline: none; } 
.hero-mini { border-radius: 20px; padding: 30px 15px; background: #fdfdfd; } 
.bazar-hero-img { width: 100%; border-radius: 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); } 
.border-right-yellow { border-right: 4px solid #ffc107; padding-right: 15px; } 
/* بخش ویدیوها (Vlog) */ 
.vlog-scroll { display: flex !important; overflow-x: auto !important; gap: 15px; padding: 10px 5px; scrollbar-width: none; -webkit-overflow-scrolling: touch; } 
.vlog-scroll::-webkit-scrollbar { display: none; } 
.vlog-item { width: 250px; flex-shrink: 0; transition: 0.3s; } 
/* مدیریت نمایش شبکه ای (Grid) */ 
#gridContainer { overflow: hidden; transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1); position: relative; } 
#fadeOverlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 80px; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1)); pointer-events: none; } 
@keyframes fadeInItem { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } } 
.bazar-item:not(.d-none) { animation: fadeInItem 0.5s ease forwards; } 
.about-b { display: block; color: #777 !important; font-size: 12px; line-height: 1.5; margin: 0 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } 
.market-link-title { font-weight: 700; transition: color 0.2s; } 
.market-link-title:hover { color: #ffc107 !important; }

/* ---------------- صفحه نمایش اطلاعات هر دسته بندی ---------------- */

    /* تنظیمات کلی محتوا */
    .content-blog { line-height: 2; color: #333; font-size: 16px; text-align: justify; }
	@media (max-width: 768px) {.content-blog {font-size: 15px;padding: 5px;}}
    .cat-img { width: 100px; height: 100px; object-fit: cover; border-radius: 12px; }

    /* بخش لیست بازارها */
    .koja-markets-section { direction: rtl; }
    .koja-markets-title { font-weight: 700; font-size: 1.35rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid #0d6efd; color: #222; }
    .koja-market-row { border-bottom: 1px solid #eee; padding: 1.5rem 0; transition: background 0.3s; }
    .koja-market-row:hover { background-color: #fcfcfc; }

    /* چیدمان منعطف: تصویر راست، متن چپ */
    .koja-market-link { display: flex; align-items: flex-start; text-decoration: none; color: inherit; }
    .koja-market-image img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; border: 1px solid #ddd; margin-left: 1rem; }
    
    .koja-market-name { margin: 0 0 0.5rem 0; font-weight: 700; font-size: 1.1rem; color: #222; }

    /* کنترل تعداد خطوط توضیحات */
    .koja-market-desc { margin: .5rem 0; font-size: .95rem; line-height: 1.6; color: #666; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;-webkit-line-clamp: 2; /* پیش‌فرض دسکتاپ: ۲ خط */max-height: 3.2em; }
    .koja-market-more { font-size: 0.85rem; color: #0d6efd; font-weight: bold; }
    .koja-videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
    .koja-video-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: 0.3s; border: 1px solid #eee; display: flex; flex-direction: column; }
    .koja-video-thumb { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
    .koja-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .koja-video-body { padding: 10px; text-align: center; }
    .koja-video-title { font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; }
    .koja-platform-badge { position: absolute; top: 10px; right: 10px; padding: 2px 8px; border-radius: 4px; font-size: 0.65rem; color: #fff; z-index: 2; }
    .koja-platform-badge.insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
    .koja-platform-badge.youtube { background: #ff0000; }

    /* سایدبار */
    .koja-sticky-sidebar { position: relative; top: 0; }
    .koja-widget { background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 1.5rem; border: 1px solid #eee !important; }
    .koja-widget-header { background: #f8f9fa; padding: 12px 15px; border-bottom: 2px solid #0d6efd; font-weight: 800; font-size: 0.9rem; color: #333; }
    .koja-sidebar-item { display: flex; align-items: center; padding: 10px 15px; border-bottom: 1px solid #f5f5f5; transition: 0.2s; text-decoration: none !important; color: inherit; }
    .koja-sidebar-item img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; margin-left: 12px; border: 1px solid #eee; }
    .koja-sidebar-item p { margin: 0; font-size: 0.85rem; color: #333; font-weight: 600; }

    /* ریسپانسیو اختصاصی */
    @media (max-width: 768px) {
        .koja-market-image img { width: 90px; height: 90px; }
        .koja-market-desc { -webkit-line-clamp: 3;max-height: 6.4em;font-size: 14px; }
        .koja-videos-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
        .cat-img { width: 80px; height: 80px; }
    }


/* ---------------- سوالات متداول ---------------- */

.koja-faq-container { margin: 40px auto; direction: rtl; width: 100%; }
.faq-item { background: #fff; transition: all 0.3s ease; overflow: hidden; }
.faq-question { cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #06004d; user-select: none; line-height: 1.6; font-weight: normal; }
.faq-icon { width: 10px; height: 10px; border-right: 2px solid #aaa; border-bottom: 2px solid #aaa; transform: rotate(45deg); transition: all 0.3s ease; flex-shrink: 0; margin-left: 10px; }
.faq-item.active .faq-icon { transform: rotate(-135deg); border-color: #0d6efd; }
.faq-item.active .faq-question { color: #0d6efd; font-weight: 700; }
.faq-answer { display: none; color: #1e1e1e; line-height: 2; font-size: 0.95rem; text-align: justify; }

@media (max-width: 767px) {
    .koja-faq-container { padding: 0 15px; margin: 20px auto; }
    .faq-item { border-bottom: 1px solid #eee; border-radius: 0; }
    .faq-item:last-child { border-bottom: none; }
    .faq-question { padding: 15px 5px; font-size: 0.9rem; line-height: 1.8; align-items: flex-start; }
    .faq-question span:first-child { margin-left: 10px; }
    .faq-icon { margin-top: 8px; }
    .faq-answer { padding: 0 5px 15px; font-size: 0.85rem; }
}

@media (min-width: 768px) {
    .koja-faq-container { max-width: 850px; padding: 30px; background: #fcfcfc; border-radius: 20px; }
    .faq-item { margin-bottom: 12px; border: 1px solid #f0f0f0; border-radius: 12px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
    .faq-item:hover { border-color: #0d6efd; box-shadow: 0 5px 15px rgba(13,110,253,0.05); }
    .faq-question { padding: 22px 25px; font-size: 1.05rem; }
    .faq-answer { padding: 0 25px 22px; border-top: 1px dashed #f5f5f5; padding-top: 15px; }
}




/* ---------------- هدر دسکتاپ---------------- */

.nav-item.dropdown:hover .dropdown-menu { display: block; margin-top: 0; }
.dropdown-menu { background-color: #ffffff; border: 1px solid #ddd; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.dropdown-item { color: #333; padding: 8px 20px; transition: background 0.3s, color 0.3s; }
.dropdown-item:hover { background-color: #f2f2f2; color: #000; }
.dropdown-menu { text-align: right; direction: rtl; }
.dropdown-item { text-align: right; padding-right: 20px; padding-left: 10px; }


/* ---------------- هدر موبایل---------------- */

@media (max-width: 991px) { .navbar-collapse { position: fixed !important; top: 0; right: -100%; width: 80% !important; max-width: 300px; height: 100vh !important; background-color: #ffffff !important; z-index: 9999 !important; transition: all 0.3s ease-in-out !important; padding: 10px 0 20px 0 !important; box-shadow: -5px 0 15px rgba(0,0,0,0.1) !important; display: block !important; overflow-y: auto !important; } }
@media (max-width: 991px) { .navbar-collapse.show { right: 0 !important; } }
@media (max-width: 991px) { .btn-close { float: left; margin-left: 15px; margin-top: 10px; background-color: #f8f9fa; border-radius: 50%; padding: 10px; } }
@media (max-width: 991px) { .navbar-nav { flex-direction: column !important; width: 100% !important; padding-right: 0 !important; margin-right: 0 !important; margin-top: 50px; } }
@media (max-width: 991px) { .nav-item { width: 100% !important; border-bottom: 1px solid #eee; } }
@media (max-width: 991px) { .nav-link { text-align: right !important; padding: 15px 20px !important; width: 100%; } }
@media (max-width: 991px) { .dropdown-menu { position: relative !important; width: 100% !important; float: none !important; background-color: #f9f9f9 !important; border: none !important; padding-right: 20px !important; box-shadow: none !important; display: none !important; } }
@media (max-width: 991px) { .dropdown-menu.show { display: block !important; animation: slideLeft 0.3s ease-out; } }
@keyframes slideLeft { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.navbar-toggler { z-index: 10000 !important; }
@media (min-width: 992px) { .nav-item.dropdown:hover .dropdown-menu { display: block; margin-top: 0; } }
@media (min-width: 992px) { .dropdown-menu { background-color: #ffffff; border: 1px solid #ddd; box-shadow: 0 2px 8px rgba(0,0,0,0.15); text-align: right; direction: rtl; } }
@media (min-width: 992px) { .dropdown-item { color: #333; padding: 8px 20px; transition: background 0.3s, color 0.3s; text-align: right; padding-right: 20px; padding-left: 10px; } }
@media (min-width: 992px) { .dropdown-item:hover { background-color: #f2f2f2; color: #000; } }


/* ---------------- فوتر ---------------- */

:root{--mobile-nav-height:65px;}
main,footer{display:block;}
@media(max-width:991px){body{padding-bottom:calc(var(--mobile-nav-height) + 15px);}}

@media(min-width:992px){
.desktop-footer{display:flex;justify-content:space-between;align-items:flex-start;width:100%;background:#3e3e3e;border-top:1px solid #ddd;padding:20px 50px;height:300px;z-index:1000;color:#fff;}
.desktop-footer .footer-column{flex:1;margin:0 10px;}
.desktop-footer .footer-column h5{font-size:14px;margin-bottom:10px;color:#f78991;font-weight:700;}
.desktop-footer .footer-column p{font-size:13px;line-height:1.5;color:#fff;max-width:180px;}
.desktop-footer .footer-column ul{list-style:none;padding:0;margin:0;}
.desktop-footer .footer-column ul li{margin-bottom:6px;}
.desktop-footer .footer-column ul li a{color:#fff;text-decoration:none;transition:color .2s;}
.desktop-footer .footer-column ul li a:hover{color:#00bfff;}
.desktop-footer .footer-logos{display:flex;gap:10px;margin-bottom:10px;}
.desktop-footer .footer-logos img{max-width:50px;cursor:pointer;}
.desktop-footer .social-icons{display:flex;gap:10px;}
.desktop-footer .social-icons img{width:30px;height:30px;cursor:pointer;}
.desktop-footer .footer-brand img{max-width:150px;margin-bottom:10px;transition:transform .3s;}
.desktop-footer .footer-brand img:hover{transform:scale(1.05);}
}

@media(max-width:991px){
.desktop-footer{display:block;padding:20px 15px;text-align:center;background:#3e3e3e;color:#fff;}
.desktop-footer .footer-column{width:100%;margin:15px 0;}
.desktop-footer .footer-column h5{font-size:16px;margin-bottom:12px;color:#f78991;font-weight:700;}
.desktop-footer .footer-column p{font-size:14px;line-height:1.6;margin:0 auto 10px;}
.desktop-footer .footer-column ul li{margin-bottom:8px;}
.desktop-footer .footer-column ul li a{font-size:14px;color:#fff;text-decoration:none;}
.desktop-footer .footer-logos,.desktop-footer .social-icons{display:flex;justify-content:center;flex-wrap:wrap;gap:15px;margin-bottom:15px;}
.desktop-footer .footer-logos img{max-width:40px;}
.desktop-footer .social-icons img{width:28px;height:28px;}
}

.mobile-nav{position:fixed;bottom:0;left:0;right:0;height:var(--mobile-nav-height);background:#fff;border-top:1px solid #eee;display:none;justify-content:space-around;align-items:center;z-index:9998;box-shadow:0 -5px 20px rgba(0,0,0,.08);}
@media(max-width:991px){.desktop-footer{display:none!important;}.mobile-nav{display:flex;}}
.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;font-size:11px;color:#666;flex:1;transition:.2s;}
.mobile-nav svg,.mobile-nav img{width:22px;height:22px;margin-bottom:3px;}
.mobile-nav a.active{color:#001d75;font-weight:600;}
.mobile-nav a.active svg{fill:#001d75;}

.back-to-top{position:fixed;bottom:28px;right:28px;width:48px;height:48px;border:none;border-radius:50%;background:rgba(0,29,117,.56);backdrop-filter:blur(12px);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 25px rgba(0,0,0,.25);z-index:9999;opacity:0;pointer-events:none;transform:translateY(20px);transition:.35s;}
.back-to-top.show{opacity:1;pointer-events:auto;transform:translateY(0);}
.back-to-top:hover{background:rgba(255,255,255,.32);}
@media(max-width:991px){.back-to-top{bottom:calc(var(--mobile-nav-height) + 30px);}}

#pageLoader{position:fixed;inset:0;background:rgba(255,255,255,.75);backdrop-filter:blur(15px);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:10000;opacity:0;visibility:hidden;transition:.4s;}
#pageLoader.active{opacity:1;visibility:visible;}
.loader-progress-bar{position:absolute;top:0;left:0;height:3px;background:linear-gradient(90deg,#001d75,#0052cc);width:0;}
#pageLoader.active .loader-progress-bar{width:75%;animation:progress-wait 2s infinite linear;}
@keyframes progress-wait{0%{width:70%;opacity:1;}50%{width:85%;opacity:.5;}100%{width:70%;opacity:1;}}

.loader-content{width:100px;height:100px;display:flex;align-items:center;justify-content:center;position:relative;}
.main-pulse,.secondary-pulse{position:absolute;width:100%;height:100%;border-radius:50%;background:#001d75;opacity:.15;animation:pulse-out 1.5s infinite ease-out;}
.secondary-pulse{animation-delay:.5s;}
.loader-icon{z-index:2;animation:icon-float 2s infinite;}
.loader-text{margin-top:20px;font-size:13px;color:#001d75;font-weight:500;opacity:.8;}
@keyframes pulse-out{0%{transform:scale(.5);opacity:.5;}100%{transform:scale(1.5);opacity:0;}}
@keyframes icon-float{0%,100%{transform:translateY(0);}50%{transform:translateY(-8px);}}


/* lodding*/
.vue-app-loader {position: fixed;inset: 0;background: #fff;display: flex;align-items: center;justify-content: center;flex-direction: column;opacity: 1;visibility: visible;z-index: 9999;transition: opacity .4s ease, visibility .4s ease;}
.vue-app-loader.hide {opacity: 0;visibility: hidden;}



/* صفحه اصلی*/
.beautiful-market-grid .market-card{background:#fff;border-radius:15px;padding:18px;box-shadow:0 4px 12px rgba(0,0,0,0.08);transition:all .3s ease;border:1px solid #eee;overflow:hidden;position:relative;}
.market-card:hover{transform:translateY(-6px);box-shadow:0 10px 25px rgba(0,0,0,0.15);}
.market-link{text-decoration:none;color:inherit;}
.market-image-wrapper{width:100%;height:140px;display:flex;justify-content:center;align-items:center;margin-bottom:12px;}
.market-image-wrapper img{width:150px;height:150px;object-fit:cover;border-radius:50%;transition:transform .3s ease;border:2px solid #ddd;}
.market-card:hover img{transform:scale(1.12);border-color:#0d6efd;}
.market-title{font-size:.95rem;font-weight:600;margin-top:20px;margin-bottom:8px;color:#333;}
.market-view-text{font-size:.8rem;color:#6c757d;transition:color .3s ease;}
.market-card:hover .market-view-text{color:#0d6efd;}
.brand-highlight{color:#dc2626;font-weight:900;}
@media(max-width:576px){.brand-highlight{font-size:1.1rem;}}
.hero-section{padding:60px 20px 40px;}
.hero-title{font-size:2.2rem;font-weight:800;color:#1f2937;margin-bottom:15px;}
.hero-subtitle{font-size:1.1rem;color:#4b5563;line-height:1.9;margin-bottom:35px;}
@media(max-width:576px){.hero-subtitle{font-size:.9rem;line-height:1.6;margin-bottom:20px;}}

.sidebar-post-thumb{
    width:50px;
    height:50px;
    object-fit:cover;
    aspect-ratio:1/1;
    border-radius:6px; /* اختیاری */
}





/* Search */
.search-bar-wrapper{max-width:700px;margin:0 auto;}
.search-form{display:flex;background:#fff;border-radius:50px;overflow:hidden;box-shadow:0 10px 25px rgba(0,0,0,0.08);border:1px solid #e5e7eb;}
.search-form input{flex:1;border:none;padding:15px 20px;font-size:1rem;outline:none;}
.search-form input::placeholder{color:#9ca3af;}
.search-form button{background:#2563eb;border:none;padding:0 25px;cursor:pointer;transition:0.3s;}
.search-form button:hover{background:#1d4ed8;}
.search-form img{width:24px;height:24px;}

/* Responsive */
@media(max-width:768px){.hero-title{font-size:1.2rem;}}

/* دیته بندی ها */
.popular-searches{max-width:700px;width:100%;margin:15px auto 0;display:flex;flex-wrap:wrap;align-items:center;gap:3px;font-size:13px !important;}
.popular-label{color:#c7c7c7;font-size:13px;font-weight:400;flex-shrink:0;}
.popular-searches a{transition:.3s;color:#8c8c8c;font-size:13px !important;font-weight:400;text-decoration:none;}
.popular-searches a:hover{color:#2563eb;}
.category-title{font-size:1.25rem;font-weight:700;margin-bottom:0.4rem;color:#04287d;}
@media(max-width:576px){.category-title{font-size:1rem;}}
.category-intro{font-size:0.95rem;line-height:1.85;color:#555;margin-bottom:1.25rem;max-width:100%;margin-top:15px;}
@media(max-width:576px){.category-intro{font-size:0.85rem;line-height:1.6;}}








/* ===== Sidebar ===== */
.sidebar{border-right:1px solid #eee;border-top:none;border-bottom:none;border-left:none;}
@media(max-width:768px){.sidebar{border:none;}}

.sidebar-title{font-size:0.95rem;font-weight:700;margin-bottom:1rem;color:#04287d;}

/* لیست مطالب */
.sidebar-post-list{display:flex;flex-direction:column;gap:12px;padding:0;margin:0;list-style:none;}
.sidebar-post-item{border-bottom:1px solid #eee;padding-bottom:8px;}

/* لینک هر گزینه */
.sidebar-post-link{display:flex;align-items:center;gap:10px;text-decoration:none;color:#333;font-size:0.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* تصویر بندانگشتی */
.sidebar-post-thumb{width:50px;height:50px;object-fit:cover;border-radius:6px;flex-shrink:0;}

/* هاور لینک */
.sidebar-post-link:hover{color:#000;}

/* واکنش‌گرایی */
@media(max-width:768px){.sidebar-post-thumb{width:40px;height:40px;}.sidebar-post-link{font-size:0.8rem;}}
@media(max-width:576px){.sidebar-post-thumb{width:35px;height:35px;}.sidebar-post-link{font-size:0.75rem;}}

/* تیتر بنر */
.popular-banner-heading{font-size:22px;font-weight:700;color:#222;margin:20px 10px 14px;padding-right:12px;position:relative;line-height:1.4;}

/* خط تزئینی کنار تیتر */
.popular-banner-heading::before{content:"";position:absolute;right:0;top:6px;width:4px;height:70%;background:#111;border-radius:2px;}

/* موبایل */
@media(max-width:576px){.popular-banner-heading{font-size:17px;margin:14px 10px 10px;padding-right:10px;}.popular-banner-heading::before{width:3px;}}
/* بنر */
.popular-banner{display:flex;width:100%;height:220px;overflow:hidden;background:#fff;gap:2px;}
/* هر آیتم */
.popular-banner-item{position:relative;flex:1;overflow:hidden;}

/* تصویر */
.popular-banner-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.5s ease;}

/* hover */
.popular-banner-item:hover img{transform:scale(1.06);}

/* متن پایین تصویر */
.popular-banner-title{position:absolute;bottom:0;right:0;left:0;padding:12px 8px;text-align:center;font-weight:bold;font-size:15px;color:#fff;background:rgba(0,0,0,0.55);}

/* موبایل */
@media(max-width:576px){.popular-banner{height:170px;gap:1px;}.popular-banner-title{font-size:10px;}}








/* ===================== پروفایل ===================== */
.profile-card{background:#fff;border-radius:20px;padding:30px 20px;box-shadow:0 8px 24px rgba(149,157,165,.1);transition:transform .3s ease;}
.profile-img{width:110px;height:110px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.1);margin-bottom:15px;}
.profile-name{font-weight:700;font-size:1.2rem;color:#2b2b2b;margin-top:8px;}
.profile-meta{color:#6c757d;font-size:.9rem;line-height:1.6;background:#f8f9fa;padding:10px;border-radius:10px;margin-top:15px;}
.add-photo-text {position: absolute;bottom: 8px;left: 50%;transform: translateX(-50%);background: rgba(0,0,0,0.6);color: #fff;font-size: 11px;padding: 4px 8px;border-radius: 12px;white-space: nowrap;pointer-events: none;}

/* ===================== کارت‌ها ===================== */
.card-box{background:#fff;border-radius:20px;padding:25px;margin-bottom:25px;box-shadow:0 8px 24px rgba(149,157,165,.1);}
.card-title{display:flex;align-items:center;font-weight:700;color:#2b2b2b;font-size:1.1rem;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #f1f1f1;}
.card-title img{width:28px;margin-left:12px;}

/* ===================== گرید بازار و فروشگاه ===================== */
.card-number{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;}
.card-number .post{position:relative;border-radius:12px;overflow:hidden;}
.card-number .post a{display:block;width:100%;aspect-ratio:1/1;overflow:hidden;border-radius:12px;}
.card-number .post img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease;}
.card-number .post:hover img{transform:scale(1.08);}

/* ===================== دکمه افزودن ===================== */
.post-add-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;border:2px dashed #ced4da;border-radius:12px;color:#6c757d;text-decoration:none;font-weight:600;font-size:.9rem;transition:.3s;background:#f8f9fa;text-align: center;}


.post-add-btn .fs-4{font-size:1.8rem;line-height:1;margin-bottom:4px;}
.post-add-btn:hover{background:#e9ecef;border-color:#adb5bd;color:#343a40;}

/* ===================== دکمه‌ها ===================== */
.btn-custom{font-size:.95rem;font-weight:700;border-radius:12px;padding:12px 15px;transition:.3s;border:none;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:8px;}
.btn-custom::after{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,rgba(255,255,255,0)0%,rgba(255,255,255,.2)50%,rgba(255,255,255,0)100%);transition:left .5s;}
.btn-custom:hover::after{left:100%;}
.btn-custom:hover{transform:translateY(-3px);}
.btn-custom:active{transform:translateY(1px);}

/* دکمه ویرایش */





.btn-edit-profile{background:linear-gradient(135deg,#162b3d 0%,#869b9c 100%);color:#fff!important;box-shadow:0 6px 15px rgba(79,172,254,.4);}
.btn-edit-profile:hover{box-shadow:0 8px 20px rgba(79,172,254,.6);}

/* دکمه مدیریت فروشگاه */
.btn-action-store{background:linear-gradient(135deg,#162b3d 0%,#869b9c 100%);color:#fff!important;box-shadow:0 6px 15px rgba(43,45,66,.3);}
.btn-action-store:hover{box-shadow:0 8px 20px rgba(43,45,66,.5);}

/* دکمه دوره */
.btn-course{background:linear-gradient(135deg,#11998e 0%,#38ef7d 100%);color:#fff!important;box-shadow:0 6px 15px rgba(17,153,142,.4);}
.btn-course:hover{box-shadow:0 8px 20px rgba(17,153,142,.6);}

/* ===================== ریسپانسیو ===================== */
/* تبلت و موبایل */
@media(max-width:992px){.profile-card{text-align:center;padding:20px;}.card-box{padding:15px;}.card-number{grid-template-columns:repeat(3,1fr);gap:8px;}}








/* ===================== ticket ===================== */
/* لیست تیکت های کاربر */
.ticket-banner{background:#fff;padding:25px;border-radius:14px;box-shadow:0 4px 12px rgba(0,0,0,0.06);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;}
.ticket-banner h5{font-weight:700;margin:0 0 6px 0;}

.btn-ticket{background:#ffb400;border-radius:10px;padding:10px 20px;color:#212529;border:none;display:inline-flex;align-items:center;gap:6px;}
.btn-ticket:hover{background:#f1e8f4;color:#000;}

.ticket-tabs{background:#fff;margin-top:20px;padding:5px;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,0.06);}
.ticket-tabs .nav-link{color:#777;font-weight:600;cursor:pointer;border:none;border-bottom:2px solid transparent;padding:10px 15px;}
.ticket-tabs .nav-link.active{color:#000;background-color:transparent;border-bottom:2px solid #ffb400;}

.search-box{background:#f1f3f5;border-radius:10px;padding:10px;border:1px solid #e5e5e5;margin-top:15px;}

.ticket-table-desktop{background:#fff;border-radius:12px;padding:20px;margin-top:15px;box-shadow:0 4px 12px rgba(0,0,0,0.06);}

.status{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;display:inline-block;}
.status-open{background:#dcebff;color:#003876;}
.status-following{background:#FFF4B8;color:#8A6A00;}
.status-answered{background:#D7F9D7;color:#0B6B0B;}
.status-closed{background:#F2F1F1;color:#5D5B5B;}

.btn-view{background:#e7f0ff;color:#0066d4;padding:6px 15px;border-radius:8px;font-size:13px;font-weight:500;}

.ticket-cards-mobile{display:none;}

@media screen and (max-width:768px){
.ticket-table-desktop{display:none;}
.ticket-cards-mobile{display:block;margin-top:15px;}
.ticket-card{background:#fff;border-radius:12px;padding:15px;margin-bottom:15px;box-shadow:0 4px 12px rgba(0,0,0,0.06);border:1px solid #e9ecef;}
.ticket-card .card-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;font-size:14px;}
.ticket-card .card-row:not(:last-child){border-bottom:1px solid #f0f0f0;}
.ticket-card .card-label{color:#6c757d;}
.ticket-card .card-value{color:#212529;font-weight:500;text-align:left;}
.btn-view-mobile{display:block;width:100%;text-align:center;background-color:transparent;border:1px solid #0066d4;color:#0066d4;padding:8px;border-radius:8px;font-size:14px;font-weight:600;margin-top:10px;text-decoration:none;}
.btn-view-mobile:hover{background-color:#e7f0ff;}
.ticket-tabs .nav{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.ticket-tabs .nav-item{flex-shrink:0;}
}

.mobile-filter{display:none;border:1px solid #ddd;border-radius:8px;padding:8px;}
.mobile-filter summary{cursor:pointer;font-weight:bold;}
.mobile-filter ul{list-style:none;padding:8px 0 0;margin:0;}
.mobile-filter li{padding:6px 0;}

@media (max-width:768px){
.desktop-tabs{display:none;}
.mobile-filter{display:block;}}

@media (min-width:992px){.search-box{height:80%;}}
.ticket-icon{width:18px;height:18px;margin-left:6px;}

/* نمایش متن تیکت*/
.message-card { background:#ffffff; border:1px solid #e9ecef; border-radius:12px; padding:20px; margin-bottom:20px; box-shadow:0 4px 12px rgba(0,0,0,0.02); }
.message-user { border-right:5px solid #214d8d; }
.message-admin { border-right:5px solid #ab0010; background-color:#fffafb; }
.msg-header { border-bottom:1px solid #f1f3f5; padding-bottom:15px; margin-bottom:15px; }
.msg-avatar { width:25px; height:25px; object-fit:cover; }
.msg-content { line-height:1.8; color:#495057; font-size:0.95rem; white-space:pre-line; }
/* سایدبار وضعیت تیکت*/
.ticket-sidebar{background:#fff;padding:24px;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,0.05);height:100%;}
.ticket-title h5{color:#0a142f;font-weight:700;line-height:1.6;margin:0;}
.ticket-label{font-size:14px;color:#6b7280;display:block;margin-bottom:10px;}
.ticket-id{font-size:14px;color:#6b7280;display:block;margin-bottom:12px;}
.ticket-details{border:1px solid #f1f5f9;padding:16px;border-radius:14px;}
.ticket-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;}
.ticket-row-label{font-size:13px;color:#6b7280;}
.ticket-value{font-size:14px;font-weight:600;color:#0a142f;}
.ticket-details hr{border-color:#e2e8f0;opacity:.6;margin:0;}
.ticket-badge{padding:4px 12px;border-radius:30px;font-size:12px;font-weight:600;}
.badge-pending{background:#fef3c7;color:#d97706;}
.badge-answered{background:#dcfce7;color:#16a34a;}
.badge-closed{background:#F2F1F1;color:#5D5B5B;}
.badge-default{background:#e5e7eb;color:#374151;}

.ticket-actions{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:nowrap;}
.ticket-actions form{margin:0;}
.ticket-actions button{padding:8px 20px;white-space:nowrap;}
.btn-ticket-close{border:1px solid #d1d5db;background:#fff;color:#6b7280;padding:6px 14px;font-size:13px;border-radius:8px;transition:.2s;}
.btn-ticket-close:hover{background:#d8d8d8;color:#374151;border-color:#9ca3af;}




/* صفحه معرفی دوره و فروش*/

        .page-online-shop .accordion-button { font-weight: bold; background-color: #fdfdfd; }
        .page-online-shop .accordion-button:not(.collapsed) { color: #249d56; background-color: #f0fff4; }
        .page-online-shop .list-group-item-course { padding: 12px 20px; border-bottom: 1px solid #eee; display: flex; align-items: center; font-size: 0.95rem; color: #555; }
        .page-online-shop .fa-lock { color: #adb5bd; margin-left: 12px; font-size: 0.8rem; }
        .page-online-shop .course-icon { font-size: 1.2rem; margin-left: 10px; }
        .page-online-shop .content-blog h2, .page-online-shop .content-blog h4 { font-weight: 700; color: #222; margin-top: 1.5rem; }
        .page-online-shop .content-blog ul { padding-right: 0; list-style: none; }
        .page-online-shop .content-blog ul li { margin-bottom: 10px; line-height: 1.7; display: flex; align-items: flex-start; }
        .page-online-shop .content-blog ul li::before { margin-left: 8px; }
        .page-online-shop .course-intro-text { font-size: 1.1rem; line-height: 1.8; color: #444; }
        .cat-img { border-radius: 12px; }
        .koja-widget { background: #fff; border-radius: 10px; margin-bottom: 20px; padding: 15px; }
        .koja-widget-header { font-weight: bold; border-bottom: 2px solid #249d56; padding-bottom: 10px; margin-bottom: 15px; }
        .sticky-sidebar {  top: 20px; }
        
    .vue-loading-placeholder { padding: 10px; text-align: center; }
    .placeholder-video { 
        background: #333; height: 180px; border-radius: 10px; 
        display: flex; align-items: center; justify-content: center; color: #555; font-size: 3rem;
    }
    .placeholder-content { padding: 15px 0; }
    .placeholder-line { background: #eee; height: 15px; margin: 10px auto; border-radius: 5px; }
    .placeholder-line.short { width: 40%; }
    .placeholder-line.long { width: 80%; }
    .placeholder-button { 
        background: #249d56; height: 45px; border-radius: 50px; width: 100%; margin-top: 10px; opacity: 0.6;
        animation: pulse-placeholder 1.5s infinite;
    }
@keyframes pulse-placeholder { 0% { opacity: 0.5; } 50% { opacity: 0.3; } 100% { opacity: 0.5; } }
.course-main-wrapper { line-height: 1.8; color: #333; font-family: 'Tahoma', 'Arial', sans-serif; }
.course-header-title { color: #249d56; font-weight: 800; border-bottom: 3px solid #eee; padding-bottom: 15px; margin-bottom: 30px; }
.highlight-box { background-color: #f8f9fa; border-right: 5px solid #249d56; padding: 20px; margin: 25px 0; border-radius: 5px; }
.roadmap-section { background: #fff; border: 1px solid #e1e1e1; border-radius: 15px; padding: 30px; margin-top: 40px; }
.step-item { margin-bottom: 25px; padding: 15px; transition: all 0.3s ease; border-radius: 10px; }
.step-item:hover { background: #f0fff4; transform: translateX(-5px); }
.step-number { font-size: 1.2rem; font-weight: bold; color: #249d56; margin-left: 10px; }
.cta-banner { background: linear-gradient(135deg, #249d56 0%, #1c7a43 100%); color: #fff; border-radius: 15px; text-align: center; }
.btn-enroll { display: inline-block; background: #fff; color: #249d56; padding: 12px 35px; border-radius: 50px; font-weight: bold; text-decoration: none; margin-top: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: transform 0.2s; }
.btn-enroll:hover { transform: scale(1.05); color: #1c7a43; }
.text-danger-custom { color: #d9534f; font-weight: bold; }
ul.custom-list { list-style: none; padding-right: 0; }
ul.custom-list li { margin-bottom: 10px; position: relative; padding-right: 25px; }
ul.custom-list li::before { content: "•"; color: #249d56; font-weight: bold; position: absolute; right: 0; font-size: 1.5rem; line-height: 1; }
.pulse-button { transition: all 0.3s ease; border: none; background: linear-gradient(45deg, #28a745, #218838); }
.pulse-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3); color: #fff; }
.pulse-button { animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(40, 167, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); } }
.cta-banner { border-right: 5px solid #28a745 !important; background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%); }















