/* =========================================
   استایل اختصاصی سایت اصلی (بخش کاربری)
   ========================================= */

/* --- پیکربندی اولیه، فونت و متغیرها --- */
@font-face {
    font-family: 'Estedad';
    src: url('fonts/Estedad-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-primary: #212529;
    --text-muted: #6c757d;
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --border-color: #e9ecef;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --transition: all 0.3s ease;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Estedad', Tahoma, Arial, sans-serif;
    direction: rtl;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- ساختار اصلی: هدر، کانتینر، فوتر --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    mar1gin-bottom: 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav .btn { margin-left: 10px; }

.main-footer {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 60px 0 20px 0;
    margin-top: 60px;
    border-radius: 40px 40px 0 0;
}
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #94a3b8;
}

/* --- بخش‌های صفحه اصلی (لیست پاساژها) --- */
.page {
    padding: 15px;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* تنظیمات پیش‌فرض (موبایل و حالت عمومی) */
.hero-section { 
    text-align: center; 
    margin-bottom: 0px; 
    margin-top: 30px; 
    pad1ding: 10px; 
}

.hero-section h1 {
    /* font-size: clamp(حداقل سایز, سایز ایده‌آل, حداکثر سایز); */
    font-size: clamp(1rem, 5vw, 2.8rem);
    line-height: 2.2;
    margin-bottom: 15px;
}

.hero-section p {
    /* font-size: clamp(حداقل سایز, سایز ایده‌آل, حداکثر سایز); */
    font-size: clamp(0.5rem, 14px, 1.2rem);
    color: var(--text-muted); 
    margin-bottom: 25px; 
    line-height: 2.2;
}


/* برای تبلت (عرض بیشتر از 768 پیکسل) */
@media (min-width: 768px) {
    .hero-section h1 { 
        font-size: 2rem; 
    }
    .hero-section p { 
        font-size: 1.1rem; 
    }
}

/* برای دسکتاپ (عرض بیشتر از 1024 پیکسل) */
@media (min-width: 1024px) {
    .hero-section h1 { 
        font-size: 20px; /* بزرگ‌تر برای مانیتورهای بزرگ */
    }
    .hero-section p { 
        font-size: 18px; 
    }
}


.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
    padding: 15px;
}

.card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-content {
    p1adding: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-left: 10px;
    flex-grow: 1;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.card-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- صفحه جزئیات پاساژ (ساخته شده توسط app.js) --- */
#back-to-list-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--primary-color);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.mall-info-banner {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 30px;
}

.mall-info-text { flex: 1; }
.mall-info-banner h1 { font-size: 28px; margin-bottom: 15px; }
.mall-info-banner p { font-size: 16px; color: var(--text-muted); }

.mall-header-img {
    width: 250px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.business-card .card-title { font-size: 16px; }
.business-card .card-desc { font-size: 13px; margin-bottom: 8px; }

@media (max-width: 768px) {
    .mall-info-banner { flex-direction: column-reverse; text-align: center; }
    .mall-header-img { width: 100%; height: 200px; }
}

/* --- دکمه‌های عمومی (ورود، ثبت‌نام در هدر) --- */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.btn-login {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-login:hover { background-color: #f5f5f5; border-color: #ccc; }

.btn-register {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}
.btn-register:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); }



 /* ======================================= */
/* استایل‌های صفحه جزئیات پاساژ (mall.php) */
/* ======================================= */

/* باکس زیبای بالای صفحه */
.mall-hero-header {
    display: flex;
    align-items: center;
    gap: 30px; /* فاصله بین عکس و متن */
    padding: 25px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    overflow: hidden;
}

.mall-hero-image {
    flex-shrink: 0; /* جلوگیری از کوچک شدن عکس */
    width: 500px; /* اندازه عکس متوسط */
    height: 350px;
}

.mall-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* عکس کادربندی شود و دفرمه نشود */
    border-radius: 8px;
}

.mall-hero-info h1 {
     font-size: clamp(1rem, 5vw, 2.8rem);
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
   
}

.mall-hero-info .address {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
}

.mall-hero-info .description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

/* بخش لیست کسب‌وکارها */
.business-list-section {
    margin-bottom: 40px;
}


    
    .business-list-section h2 {
    bord1er-bottom: 2px solid #007bff;
    border-right: 4px solid #126ebe;
    padding-bottom: 10px;
    margin-bottom: 30px;
    disp1lay: inline-block;
    background: aliceblue;
    padding-top: 12px;
    padding-right: 20px;
    color: #1262a9;
    font-size: 18px;
border-radius: 8px;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    pad1ding: 15px;
}

.business-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.business-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.business-card-content {
    padding: 15px;
}

.business-card-content h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.business-card-content .category {
    background-color: #e7f3ff;
    color: #007bff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.business-card-content .phone {
    color: #555;
    font-size: 0.9rem;
}


    .back-link {
    display: inline-block;
    margin-top: 20px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    background: #ece8e866;
    padding: 15px;
    border-radius: 8px;

}
.back-link:hover {
    text-decoration: underline;
}

/* برای موبایل */
@media (max-width: 768px) {
    .mall-hero-header {
        flex-direction: column;
        text-align: center;
    }
    .mall-hero-image {
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
    }
}


/* ========================================= */
/* استایل‌های صفحه جزئیات کسب‌وکار (business.php) */
/* ========================================= */

.business-hero {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.business-image-lg {
    flex: 1; /* 1/3 of the width */
    max-width: 400px;
}

.business-image-lg img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.business-details {
    flex: 2; /* 2/3 of the width */
}

.business-details h1 {
    font-size: 2.5rem;
    margin-top: 5px;
    margin-bottom: 10px;
}

.business-details .category-tag {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
}

.business-details .location {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}
.business-details .location a {
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
}
.business-details .location a:hover {
    text-decoration: underline;
}

.business-details .description {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 30px;
}

.contact-info {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 1rem;
}
.contact-info i { /* For FontAwesome icons */
    margin-left: 8px;
    color: #007bff;
    width: 20px;
    text-align: center;
}

/* برای موبایل */
@media (max-width: 768px) {
    .business-hero {
        flex-direction: column;
    }
    .business-image-lg {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .business-details h1 {
        font-size: 2rem;
    }
}


/* =================================
   Styles for Card Footer
   این استایل‌ها بخش اطلاعات پایین کارت را زیبا می‌کنند
   ================================= */

/* 
  این دو قانون باعث می‌شوند فوتر همیشه به پایین کارت بچسبد،
  حتی اگر توضیحات پاساژ کوتاه باشد.
*/
.card {
    display: flex;
    flex-direction: column; /* چیدمان عناصر کارت را عمودی می‌کند */
}
.card-content {
    flex-grow: 1; /* باعث می‌شود این بخش تا جای ممکن رشد کند و فوتر را به پایین هل دهد */
}


.card-footer {
    display: flex; /* آیتم‌ها را در یک ردیف افقی قرار می‌دهد */
    justify-content: space-between; /* بین آیتم‌ها فاصله می‌اندازد */
    align-items: center;
    padding: 1rem; /* فاصله از لبه‌های داخلی */
    margin-top: 1rem; /* فاصله از محتوای بالایی */
    border-top: 1px solid #f0f0f0; /* یک خط جداکننده ظریف و زیبا */
}

.card .footer-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: #000000; /* یک رنگ آبی مدرن و جذاب */
}

/* وقتی موس روی کارت می‌رود، رنگ متن فوتر تغییر می‌کند */
.card:hover .footer-item {
    color: #2980b9;
}


/* 
  این کد، چیدمان اصلی فوتر را کنترل می‌کند.
  space-between باعث می‌شود آیتم‌ها به طرفین کارت بچسبند.
*/
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem; /* کمی پدینگ عمودی را کم کردم تا فشرده‌تر و شیک‌تر شود */
    margin-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

/* 
  این بخش جادویی، مشکل تراز نبودن را حل می‌کند!
*/
.footer-item {
    display: flex;         /* این خط، فلکس‌باکس را برای آیتم فعال می‌کند */
    align-items: center;   /* این خط، متن و آیکون داخل آیتم را کاملا هم‌تراز (عمودی) می‌کند */
    gap: 0.2rem;           /* یک فاصله استاندارد و زیبا بین متن و آیکون ایجاد می‌کند */
}

.footer-item span {
    font-size: 12px;
    font-weight: 600;
    color: #34495e; 
}

.footer-icon {
    width: 20px;
    height: 20px;
    stroke: #024776;
    /* این خط باعث می‌شود آیکون با تغییر رنگ متن، تغییر رنگ ندهد */
    stroke-width: 1.7; /* کمی ضخامت آیکون را برای خوانایی بیشتر کردم */
    margin-top: -1px;
}

.card:hover .footer-icon {
    stroke: #2980b9;
}




/* =========================================
   استایل برای فرم جستجوی هوشمند
   ========================================= */

.search-container {
    position: relative; /* لازم برای قرارگیری آیکون در داخل اینپوت */
    width: 80%;         /* عرض فرم جستجو */
    max-width: 600px;   /* حداکثر عرض برای نمایش بهتر در دسکتاپ */
    margin: 2rem auto;  /* فاصله از بالا و پایین و قرارگیری در وسط صفحه */
}

#searchInput {
    width: 100%;
    padding: 1rem 1.5rem;          /* پدینگ داخلی برای حس بهتر */
    padding-left: 4rem;            /* پدینگ بیشتر از چپ برای ایجاد فضا برای آیکون */
    font-size: 1rem;
    font-family: inherit;          /* ارث‌بری فونت از بدنه سایت */
    border: 1px solid #e0e0e0;     /* یک حاشیه بسیار ملایم */
    border-radius: 50px;           /* گرد کردن کامل گوشه‌ها برای ظاهری مدرن */
    outline: none;                 /* حذف حاشیه آبی پیش‌فرض هنگام کلیک */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* سایه بسیار نرم برای برجستگی */
    transition: all 0.3s ease;
}

/* افکت زیبا هنگام فوکوس (کلیک) روی اینپوت */
#searchInput:focus {
    border-color: #3498db;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.2);
}

.search-icon {
    position: absolute; /* قرارگیری شناور روی اینپوت */
    left: 1.5rem;       /* فاصله از لبه چپ */
    top: 50%;           /* قرارگیری در وسط عمودی */
    transform: translateY(-50%); /* تنظیم دقیق برای وسط‌چین شدن کامل */
    stroke: #aaa;       /* رنگ خاکستری ملایم برای آیکون */
    width: 22px;
    height: 22px;
    transition: stroke 0.3s ease;
}

/* تغییر رنگ آیکون همزمان با فوکوس روی اینپوت */
#searchInput:focus + .search-icon {
    stroke: #3498db;
}





/* =========================================
   استایل برای صفحات ورود و ثبت‌نام (SPA)
   ========================================= */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh; /* باعث می‌شود فرم همیشه وسط صفحه (عمودی) باشد */
    padding: 2rem 1rem;
     border-radius: 10px;
}

.auth-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.auth-card h2 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-subtitle {
    margin-bottom: 1.5rem;
    color: #666;
}

.form-container .form-group {
    text-align: right; /* لیبل‌ها در سمت راست قرار گیرند */
    margin-bottom: 1.25rem;
}

.form-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-container input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-container input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}




.form-container .btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #3498db;
    color: white;
    transition: background-color 0.3s;
    font-family: 'Estedad';
    
}

.form-container .btn:hover {
    background-color: #2980b9;
}

.form-footer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.form-footer a {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
}



/* =============================================== */
/* === کدهای استایل برای صفحات ورود و ثبت‌نام === */
/* =============================================== */

/* کانتینر اصلی برای قرار دادن کارت در وسط صفحه */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: calc(100vh - 150px); /* ارتفاع صفحه منهای هدر و فوتر تقریبی */
    background-color: #f4f7f6; /* یک پس‌زمینه خاکستری خیلی ملایم */
}

/* کارت سفیدرنگ که فرم در آن قرار دارد */
.auth-card {
    background-color: #ffffff;
    padding: 2.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 450px;
    text-align: center;
    border: 1px solid #e9ecef;
}

/* عنوان اصلی فرم (ورود/ثبت‌نام) */
.auth-card h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
    color: #333;
}

/* متن کوچک زیر عنوان */
.auth-card .form-subtitle {
    margin-bottom: 2rem;
    color: #6c757d;
    font-size: 1rem;
}

/* استایل کلی برای هر گروه از لیبل و اینپوت */
.form-group {
    margin-bottom: 1.5rem;
    text-align: right; /* لیبل‌ها راست‌چین باشند */
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

/* استایل برای تمام اینپوت‌های متنی، ایمیل و پسورد */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box; /* برای محاسبه درست عرض و پدینگ */
}

/* افکت زیبا هنگام فوکوس روی اینپوت */
.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

/* استایل دکمه اصلی فرم */
.auth-form .btn.btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
   
    border-radius: 8px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
     font-family: 'Estedad';
}

.auth-form .btn.btn-primary:hover {
    background-color: #0056b3;
}

/* بخش فوتر فرم برای لینک دادن به صفحه دیگر */
.form-footer {
    margin-top: 1.5rem;
    color: #6c757d;
}

.form-footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* استایل برای نمایش پیام‌های موفقیت و خطا */
.message {
    padding: 12px;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}






/* ======================================================= */
/* === استایل صفحه جزئیات کسب و کار (نسخه کامل و واکنش‌گرا) === */
/* ======================================================= */

/* کانتینر برای دکمه بازگشت */
.back-link-wrapper {
    margin-bottom: 1.5rem;
}
.btn.btn-outline {
    border: 1px solid #dee2e6;
    background-color: transparent;
    color: #495057;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn.btn-outline:hover {
    background-color: #f8f9fa;
    color: #212529;
    border-color: #adb5bd;
}

/* کارت اصلی نمایش جزئیات */
.business-card-large {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    padding: 2.5rem;
    overflow: hidden;
}

/* گرید برای چیدمان دو ستونه در دسکتاپ */
.business-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

/* ستون تصویر */
.business-image-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #f1f1f1;
}

/* ستون اطلاعات */
.business-info-container .category-badge {
    display: inline-block;
    background-color: #e7f3ff;
    color: #007bff;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.business-info-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-top: 0;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    word-break: break-word; /* جلوگیری از سرریز شدن عنوان‌های طولانی */
}

.business-info-container .location-link {
    font-size: 1.1rem;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}
.business-info-container .location-link a {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
}
.business-info-container .location-link a:hover {
    text-decoration: underline;
}

.business-info-container .description-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    border-top: 1px solid #edf2f7;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    text-align: justify;
}

/* باکس اطلاعات تماس */
.contact-details-box {
    margin-top: 2rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
}
.contact-details-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-details-box li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #2d3748;
    font-size: 1rem;
    word-break: break-word;
}
.contact-details-box li:not(:last-child) {
    margin-bottom: 1rem;
}
.contact-details-box li i {
    font-size: 1.1rem;
    color: #007bff;
    width: 20px;
    text-align: center;
}
.contact-details-box li strong {
    flex-shrink: 0;
}
.contact-details-box li a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}
.contact-details-box li a:hover {
    text-decoration: underline;
}


/* ================================== */
/* === بخش کلیدی: طراحی واکنش‌گرا === */
/* ================================== */

/* برای تبلت‌ها (کمتر از 992 پیکسل) */
@media (max-width: 992px) {
    .business-grid {
        /* چیدمان به تک ستونه تغییر می‌کند: عکس بالا، متن پایین */
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .business-card-large {
        padding: 1.5rem;
    }
    .business-info-container h1 {
        /* کاهش اندازه عنوان */
        font-size: 2.2rem;
    }
}

/* برای موبایل (کمتر از 576 پیکسل) */
@media (max-width: 576px) {
    .business-card-large {
        /* کاهش پدینگ برای فضای بیشتر */
        padding: 1rem;
        border-radius: 12px;
        box-shadow: none; /* حذف سایه در موبایل برای ظاهر تمیزتر */
        border: 1px solid #e9ecef;
    }

    .business-info-container h1 {
        font-size: 1.8rem;
    }

    .business-info-container .description-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .contact-details-box {
        padding: 1rem;
    }

    .contact-details-box li {
        font-size: 0.95rem;
    }

    .btn.btn-outline {
        /* دکمه بازگشت تمام عرض صفحه را می‌گیرد */
        width: 100%;
        justify-content: center;
    }
}








/* ========================================= */
/* === Styles for VERTICAL Social Links ==== */
/* ========================================= */

/* Container to make links vertical */
.social-links-vertical {
    display: flex;
    flex-direction: column; /* This is the key: stacks children vertically */
    align-items: flex-start; /* Aligns links to the right (start for RTL) */
    gap: 12px; /* Creates a nice space between the links */
}

/* The link style itself */
.social-link-text {
    display: block; /* Makes the link take up its own line */
    padding: 12px 24px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px; /* A modern, slightly rounded corner */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.25s ease-in-out;
    width: 100%; /* Make all buttons have the same width */
    max-width: 280px; /* Optional: set a max width */
    text-align: center; /* Center the text inside the button */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.social-link-text:hover {
    border-color: #007bff;
    color: #007bff;
    background-color: #f8f9fa;
    transform: translateY(-3px); /* A subtle lift effect */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}















/* =================================================================== */
/* ===           GLOBAL STYLES & VARIABLES (Pasaz Online)        === */
/* =================================================================== */

/* --- Global Resets & Body --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
   
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    direction: rtl;
}
a { color: var(--primary-color); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #005959; }

/* =================================================================== */
/* ===            BUSINESS DETAIL PAGE STYLES (business.php)     === */
/* =================================================================== */

.page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* --- Main Grid Layout --- */
.business-grid-container {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 25px;
    align-items: start;
}

/* --- Main Content (Right Column) --- */
.business-main-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
/* === Specific Cards in Main Content === */
.business-title-card {
    padding: 10px 15px;
    text-align: center;
}
.business-title-card h1 {
    font-size:18px;
    font-weight: 800;
}
.main-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}
.main-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}
.about-us-card .description {
    font-size: 1.05rem;
    color: var(--text-color-light);
    line-height: 2.2;
    text-align: justify;
  
}

/* --- Sidebar (Left Column) --- */
.business-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}


.content-card business-title-card{
     
    border-radius: 12px;
   
   
    border: 1px solid ;
    
    
}
/* --- Shared Card Style --- */
.content-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
  
    border: 1px solid var(--border-color);
}
.content-card.transparent {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    border: none;
}
.card-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-right: 15px;
    border-right: 4px solid var(--primary-color);
}
.card-title h2, .card-title h3 {
    font-size: 1.4rem;
}

/* === Specific Cards in Sidebar === */
.contact-info-card .contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-info-list li {
    display: flex;
    align-items: start;
    gap: 12px;
    font-weight: 500;
}
.contact-info-list svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 4px;
}
.social-media-card .social-timeline {
    position: relative;
    list-style: none;
    padding-right: 20px;
}
.social-timeline::before {
    content: '';
    position: absolute;
    top: 5px; bottom: 5px; right: 1px;
    width: 2px;
    background-color: var(--border-color);
}
.social-timeline li { position: relative; margin-bottom: 12px;padding-right: 0px; }
.social-timeline li:last-child { margin-bottom: 0; }
.social-timeline li::before {
    content: '';
    position: absolute;
    top: 50%; right: -28px;
    transform: translateY(-50%);
    width: 14px; height: 14px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 3px solid var(--primary-color);
    z-index: 1;
}
.social-timeline li a { font-weight: 500; }
.copy-link-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    border: 2px dashed var(--border-color);
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--text-color-light);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.copy-link-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.copy-link-button.copied {
    border-color: #2ecc71;
    color: #27ae60;
}
.copy-link-button svg { width: 20px; height: 20px; }


/* =================================================================== */
/* ===                      RESPONSIVE DESIGN                      === */
/* =================================================================== */

/* --- Tablet and smaller devices --- */
@media (max-width: 992px) {
    .business-grid-container {
        grid-template-columns: 1fr; /* Stacks the columns */
    }
    .business-sidebar {
        order: 2; /* Sidebar comes after main content on mobile */
    }
    .business-main-content {
        order: 1;
    }
}

/* --- Mobile phones --- */
@media (max-width: 576px) {
    .page-container { 
        padding: 0 15px; 
        margin: 20px auto; 
    }
    .business-title-card h1 { 
        font-size:0.9rem; 
        
    }
    .business-main-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
    .content-card { 
        padding: 10px; 
    }
    .card-title {
        padding-right: 10px;
    }
    .card-title h2, .card-title h3 {
        font-size: 1.2rem;
    }
    .business-title-card h1 {
    color: #000000; /* رنگ عنوان را به رنگ اصلی تم تغییر می‌دهد */
    
     text-align: right;
}
}
/* =================================================================== */
/* ===         EXAMPLE OF CUSTOMIZING INDIVIDUAL CARDS           === */
/* =================================================================== */

/* 
  این قانون فقط روی کادری که کلاس .about-us-card را دارد اعمال می‌شود 
  و روی بقیه کادرها بی‌اثر است.
*/
.about-us-card {
    background-color: #f0f8ff; /* رنگ پس زمینه آبی آسمانی روشن */
    border-color: #bde0fe;     /* تغییر رنگ حاشیه */
     padding: 25px;
}

/* 
  این قانون فقط روی کادری که کلاس .contact-info-card را دارد اعمال می‌شود.
  یک خط تزئینی زرد رنگ به بالای آن اضافه می‌کند.
*/
.contact-info-card {
    border-top: 6px solid #ffc107; /* یک خط بالای کادر با رنگ زرد */
     padding: 25px;
}

.social-media-card {
    border-top: 6px solid #ffc107; /* یک خط بالای کادر با رنگ زرد */
     padding: 25px;
}

/* 
  این قانون فقط روی کارت عنوان اصلی اعمال می شود
  و رنگ متن آن را تغییر می دهد.
*/
.business-title-card h1 {
    color: #000000; /* رنگ عنوان را به رنگ اصلی تم تغییر می‌دهد */
    
     text-align: right;
}


.card-title1 {
    display: flex;
    align-items: center;
   
    padding-right: 15px;
    border-right: 4px solid var(--primary-color);
}





    /* ===================================== */
    /* === استانداردسازی اندازه عکس کسب‌وکار === */
    /* ===================================== */

    .main-image-wrapper {
        /* یک نسبت ابعاد استاندارد (مثل 16:9) برای کادر عکس تعریف می‌کنیم */
        aspect-ratio: 16 / 8; 
        
        /* برای زیبایی بیشتر، گوشه‌های کادر را کمی گرد می‌کنیم (اختیاری) */
        border-radius: 8px; 
        overflow: hidden; /* این خط مهم است تا گوشه‌های گرد روی عکس اعمال شود */
        
        /* برای زیبایی و جدا شدن از پس‌زمینه (اختیاری) */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    }

    .main-image-wrapper img {
        /* عکس را مجبور می‌کنیم 100% عرض و ارتفاع کادر والد خود را پر کند */
        width: 100%;
        height: 100%;
        
        /* این خط جادویی است! */
        /* عکس را طوری تغییر اندازه می‌دهد که کل کادر را بپوشاند، نسبت ابعادش حفظ شود و قسمت‌های اضافی برش بخورد */
        object-fit: cover; 
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
    
    




/* ============================================== */
/* ===    استایل جدید کارت کسب‌وکار (طراحی سوم)    === */
/* ============================================== */

/* نگهدارنده گرید مثل قبل باقی می‌ماند */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 2.5rem;
}

/* کارت اصلی جدید */
.new-business-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.08);
    height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* کلید اصلی: محتوا را به پایین می‌چسباند */
    color: #333;
}

/* بخش هدر با عکس پس زمینه */
.card-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease-in-out;
}
.new-business-card:hover .card-header-bg {
    transform: scale(1.05); /* افکت زوم روی عکس */
}

/* یک لایه تیره گرادیان روی عکس برای خوانایی متن */
.card-header-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}

/* نگهدارنده تگ‌های روی عکس */
.card-pills {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

/* استایل هر تگ (pill) */
.pill {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.status-pill::before {
    content: ''; display: inline-block; width: 8px; height: 8px;
    border-radius: 50%; background-color: #4ade80; /* رنگ سبز */
    margin-left: 6px;
}

/* باکس سفید محتوا */
.card-content-box {
    position: relative;
    z-index: 1;
    background-color: white;
    padding: 20px;
    border-radius: 24px 24px 0 0;
    border-bottom: 4px solid #0077c2;
}

/* کد اصلاح شده برای نزدیک کردن آیتم‌ها */
.card-top-line {
    display: flex;
    justify-content: flex-start; /* << تغییر اول: آیتم‌ها را به راست می‌چسباند */
    gap: 70px;                   /* << تغییر دوم: یک فاصله 16 پیکسلی بینشان می‌گذارد */
    align-items: center;
    margin-bottom: 8px;
}

/* کد اصلاح شده */
.business-name, .business-floor {
    display: flex;
    /* این خط جدید ترتیب را برعکس می‌کند */
    flex-direction: row-reverse; 
    align-items: center;
    gap: 2px;
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
}

.business-floor svg, .business-name svg {
    color: #3b82f6; /* رنگ تیک آبی */
}

/* کد اصلاح شده برای چینش به راست */
.card-address-line {
    display: flex;
    justify-content: flex-start; /* << تغییر به این مقدار */
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
     padding: 8px;
}

.card-address-line span{
   font-size: 11px; 
    
}

/* بخش دکمه‌ها */
.card-actions {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* دکمه اصلی بزرگتر */
    gap: 12px;
}

.btn {
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: 300;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}
.btn-primary:hover {
    background-color: #2563eb;
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #334155;
    border: 1px dashed #103cb5;
}
.btn-secondary:hover {
    background-color: #e2e8f0;
}
/* برای موبایل */
@media (max-width: 768px) {
    .mall-hero-header {
        flex-direction: column;
        text-align: center;
    }
    .mall-hero-image {
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
    }
}














/* ================================================= */
/* ===      کد نهایی CSS برای مودال دو-لایه‌ای     === */
/* ================================================= */

/* لایه ۱: پس‌زمینه */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden; /* پنهان کردن کامل */
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible; /* نمایش دادن */
}

/* لایه ۲: کادر محتوا */
.phone-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1001; /* بالاتر از پس‌زمینه */
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 400px;
    opacity: 0;
    visibility: hidden; /* پنهان کردن کامل */
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.phone-modal.active {
    opacity: 1;
    visibility: visible; /* نمایش دادن */
    transform: translate(-50%, -50%) scale(1);
}

/* استایل‌های داخلی (دکمه، عنوان و...) */
.modal-close-btn { position: absolute; top: 10px; left: 10px; background: #f1f1f1; border: none; width: 30px; height: 30px; border-radius: 50%; font-size: 20px; line-height: 30px; text-align: center; cursor: pointer; color: #888; transition: all 0.2s; }
.modal-close-btn:hover { background-color: #e0e0e0; color: #333; }
.phone-modal h3 { text-align:center; margin-top: 10px; margin-bottom: 16px; font-size: 1.5rem; color: #333; }
.modal-phone-number { text-align:center; font-size: 1.7rem; font-weight: 500; color: #1a73e8; background-color: #f8f9fa; padding: 12px 20px; border-radius: 8px; margin-bottom: 24px; letter-spacing: 2px; user-select: all; direction: ltr; }
.modal-actions { display: flex; flex-direction: column; gap: 12px; }












/* --- Admin Panel & Modal Styles --- */
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.admin-table th, .admin-table td { border: 1px solid #ddd; padding: 12px; text-align: right; }
.admin-table th { background-color: #f2f2f2; }
.admin-table td .btn { margin-left: 5px; padding: 5px 10px; font-size: 0.9em; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; display: flex; align-items: center; justify-content: center; }
.modal-content { background: #fff; padding: 2rem 3rem; border-radius: 8px; width: 90%; max-width: 500px; }
.modal-actions { margin-top: 1.5rem; text-align: left; }









/* ===== کدهای تکمیلی برای هدر سه‌بخشی ===== */

/* این کلاس از قبل در هدر شما بود، ما آن را برای چیدمان سه بخش تنظیم می‌کنیم */
.header-content {
    display: flex;
    justify-content: space-between; /* سه بخش را با فاصله مساوی از هم پخش می‌کند */
    align-items: center;
    width: 100%;
}

/* استایل برای منوی داینامیک جدید (وسط) */
.main-menu {
    flex-grow: 1; /* فضای خالی وسط را پر می‌کند */
    text-align: center;
}

.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex; /* آیتم‌ها را در یک ردیف افقی قرار می‌دهد */
    gap: 30px; /* فاصله بین گزینه‌های منو */
}

.main-menu a {
    text-decoration: none;
    color: #333; /* رنگ پیش‌فرض متن منو */
    font-size: 1rem;
    padding: 5px;
    transition: color 0.2s ease-in-out;
}

.main-menu a:hover {
    color: #007bff; /* رنگ متن هنگام هاور */
}

/* بخش دکمه‌های کاربر (چپ) */
.user-actions {
    display: flex;
    align-items: center;
    gap: 10px; /* فاصله بین دکمه‌ها */
    flex-shrink: 0; /* جلوگیری از فشرده شدن دکمه‌ها */
}






/*.........کد css منوی آموزش.....*/

<style>
    /* ----- General Page Styling ----- */
    .tutorials-page {
        background-color: #f4f7f9; /* A soft, professional background color */
        padding: 50px 0;
        direction: rtl;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* A clean, modern font */
    }

    .tutorials-container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 15px;
    }

    /* ----- Page Header ----- */
    .page-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .page-header h1 {
        font-size: 36px;
        font-weight: 700;
        color: #2c3e50; /* A deep, professional blue-gray */
        margin-bottom: 10px;
    }

    .page-header p {
        font-size: 18px;
        color: #555;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
    }
    
    /* ----- Tutorial Grid Layout ----- */
    .tutorial-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two columns on desktop */
        gap: 30px;
    }

    /* ----- Tutorial Card Styling ----- */
    .tutorial-card {
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .tutorial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    }

    .card-header {
        background: linear-gradient(135deg, #007BFF, #0056b3); /* A rich blue gradient */
        color: #fff;
        padding: 25px;
        text-align: center;
    }

    .card-header h2 {
        margin: 0;
        font-size: 24px;
        font-weight: 600;
    }

    .card-body {
        padding: 30px;
    }
    
    /* ----- Step-by-Step Styling ----- */
    .step {
        display: flex;
        align-items: flex-start;
        margin-bottom: 25px;
    }

    .step:last-child {
        margin-bottom: 0;
    }

    .step-number {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        background-color: #e9f5ff; /* Light blue background for the number */
        border: 2px solid #007BFF;
        color: #007BFF;
        font-size: 18px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-left: 20px;
    }

    .step-content h4 {
        margin: 0 0 5px 0;
        font-size: 18px;
        font-weight: 600;
        color: #333;
    }

    .step-content p {
        margin: 0;
        color: #666;
        line-height: 1.7;
    }

    /* ----- Responsive Design for Mobile ----- */
    @media (max-width: 992px) {
        .tutorial-grid {
            grid-template-columns: 1fr; /* Single column on tablets and mobiles */
        }
        .tutorials-page {
            padding: 30px 0;
        }
    }

   /* ========================================= */
/* ===== Styles for Tutorial Intro Section ===== */
/* ========================================= */

.intro-section {
    margin-bottom: 60px;
}

.highlight-box {
    padding: 25px 30px;
    padding-right: 50px; /* Make space for the side border */
    border-radius: 12px;
    border: 1px solid;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

/* This creates the colored side-border effect inspired by your images */
.highlight-box::before { 
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 10px; /* The colored bar on the right */
}

/* A blue theme to match the rest of the page */
.highlight-box.highlight-blue {
    background-color: #f7fbff; /* A very light blue */
    border-color: #cce4ff; /* A light blue border */
    margin-top: 50px;
}

.highlight-box.highlight-blue::before {
    background-color: #007BFF; /* The main blue color */
}

.highlight-box h2 {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
}

.highlight-box p {
    font-size: 17px;
    color: #334;
    line-height: 1.8;
    margin-bottom: 15px;
}

.social-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 10px 0;
    column-count: 2; /* Display in two columns on desktop */
    column-gap: 20px;
}

.social-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 16px;
    color: #334;
}

/* A simple bullet point icon for the list */
.social-list li .icon {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background-color: #007BFF;
    border-radius: 50%;
    margin-left: 12px;
}

/* Responsive adjustment for the social media list */
@media (max-width: 768px) {
    .social-list {
        column-count: 1;
    }
}


/*.........پایان کد منوی آموزش.....*/



/* ========================================= */
/* ========= منو درباره ما css ========= */
/* ========================================= */

.about-page {
    background-color: #f9fafb; /* A very light gray background */
    padding: 60px 0;
    direction: rtl;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h1 {
    font-size: 38px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    margin-top: 50px;
}

.about-header .intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.9;
    color: #555;
}

.team-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    border-bottom: 3px solid #007BFF;
    d1isplay: inline-block;
    padding-bottom: 10px;
    /* Centering the title with border */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.team-grid {
    display: grid;
    /* This creates a responsive grid automatically */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.team-member-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* Circular images */
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 4px solid #f0f0f0;
}

.team-member-card h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.team-member-card h4 {
    margin: 0 0 15px 0;
    font-size: 15px;
    font-weight: 500;
    color: #007BFF; /* Blue color for the role */
}

.team-member-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}


/* ========================================= */
/* ========= منو تماس با ما css ========= */
/* ========================================= */


.contact-page {
    background-color: #fff;
    padding: 60px 0;
    direction: rtl;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 38px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    margin-top: 50px;
}

.contact-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.contact-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

/* Info Section (Right side) */
.contact-info-section {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-right: 5px solid #007BFF;
}

.info-icon-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #e6f2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

.info-icon-wrapper i {
    color: #007BFF;
    font-size: 22px;
}

.info-text h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
}

.info-text p {
    margin: 0;
    font-size: 16px;
    color: #555;
    direction: ltr; /* Good for emails and numbers */
    text-align: right;
}

/* Form Section (Left side) */
.contact-form-section {
    flex: 2;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form-section h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}
.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* Styles for disabled elements */
.form-group input:disabled,
.form-group textarea:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative; /* For tooltip */
}

.submit-btn:hover:not(:disabled) {
    background-color: #0056b3;
}

.submit-btn:disabled {
    background-color: #a0cfff;
    cursor: not-allowed;
}

/* Simple tooltip for the disabled button */
.submit-btn .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}
.submit-btn:disabled:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-content-wrapper {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}






/* ========================================= */
/* ========کد ریسپانسیو منو ========= */
/* ========================================= */

/* ========================================= */
/* ====== Final Responsive Header Styles ====== */
/* ========================================= */

:root {
    --header-height: 70px;
}

/* --- Base Header Layout --- */
.main-header {
    background: #fff;
    padding: 0 20px;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.main-header .container,
.header-content {
    height: 100%;
}

/* --- Desktop Layout --- */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* این برای موبایل است و در دسکتاپ بازنویسی می‌شود */
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

/* نگهدارنده منو و دکمه‌ها */
.nav-collapse {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.main-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}
.main-menu a:hover { color: #000; }

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-actions .btn {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}
.user-actions .btn-login { color: #007BFF; background-color: #f0f8ff; }
.user-actions .btn-login:hover { }
.user-actions .btn-register { background-color: #007BFF; color: #fff; }
.user-actions .btn-register:hover { background-color: #0056b3; }

/* --- Mobile-Specific Elements (Hidden on Desktop) --- */
.mobile-menu-toggle { display: none; }
.mobile-menu-header { display: none; }

/* =============================================== */
/* ============ DESKTOP CENTERING FIX ============ */
/* =============================================== */
/* ======================================================= */
/* ====== CORRECT DESKTOP 3-PART HEADER LAYOUT ====== */
/* ======================================================= */

@media (min-width: 993px) {

    /* 1. کانتینر اصلی را به یک توزیع‌کننده فضا تبدیل می‌کنیم */
    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between; /* کلید اصلی: آیتم‌ها را در سه نقطه پخش می‌کند */
    }

    /* 2. نگهدارنده منو و دکمه‌ها را "نامرئی" می‌کنیم تا فرزندانش مستقیم در flex قرار بگیرند */
    .nav-collapse {
        display: contents; /* این خاصیت جادویی، این div را از نظر چیدمان حذف می‌کند */
    }
    
    /* 3. منو و دکمه‌ها حالا دو آیتم جدا در flex هستند */
    .main-menu {
        /* برای اینکه منو دقیقا در وسط صفحه قرار بگیرد، به دو طرف فضا می‌دهیم */
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* اطمینان از اینکه لوگو و دکمه‌ها در جای خود هستند */
    .logo {
        /* این بخش به طور خودکار توسط space-between در سمت راست قرار می‌گیرد */
        /* نیازی به استایل خاصی ندارد */
    }

    .user-actions {
        /* این بخش به طور خودکار توسط space-between در سمت چپ قرار می‌گیرد */
        /* نیازی به استایل خاصی ندارد */
    }
}


/* ==================================================== */
/* =========== MOBILE RESPONSIVE STYLES =========== */
/* ==================================================== */

@media (max-width: 992px) {
    /* --- Hamburger Menu Button --- */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1020; /* بالاتر از همه چیز */
        position: relative; /* برای انیمیشن */
    }
    .mobile-menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 5px 0;
        transition: all 0.3s ease-in-out;
    }
    
    /* --- The Slide-out Panel --- */
    .nav-collapse {
        position: fixed;
        top: 0;
        right: -100%; /* شروع از خارج صفحه */
        width: 100%; /* تمام عرض */
        max-width: 320px; /* یک حداکثر عرض برای زیبایی */
        height: 100vh; /* تمام ارتفاع */
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        
        /* Flexbox for vertical layout */
        flex-direction: column;
        align-items: stretch; /* آیتم‌ها تمام عرض می‌شوند */
        justify-content: flex-start;
        padding: 20px;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        overflow-y: auto;
    }
    
    .nav-collapse.is-open {
        right: 0; /* نمایش پنل */
    }

    /* --- Hamburger to 'X' animation --- */
    .mobile-menu-toggle.is-open {
        position: fixed; /* دکمه X روی پنل ثابت می‌ماند */
        right: 20px;
        top: 22px;
    }
    .mobile-menu-toggle.is-open .bar:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .mobile-menu-toggle.is-open .bar:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.is-open .bar:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    /* --- Content inside the mobile menu --- */
    .mobile-menu-header {
        display: block;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
        text-align: center;
    }
    .mobile-menu-logo {
        font-size: 22px;
        font-weight: 700;
        color: #333;
    }
    
    .main-menu ul, .user-actions {
        flex-direction: column;
        align-items: stretch; /* آیتم‌ها تمام عرض می‌شوند */
        width: 100%;
        gap: 15px;
    }

    .main-menu a {
        display: block;
        padding: 10px 5px;
        font-size: 18px;
    }

    .user-actions {
        margin-top: auto; /* جادوی فلکس‌باکس: دکمه‌ها را به پایین هل می‌دهد */
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    .user-actions .btn {
        width: 100%; /* دکمه‌ها تمام عرض می‌شوند */
        text-align: center;
        padding: 12px;
        font-size: 16px;
    }
}







/* ========================================= */
/* ====== کد سی اس اس جستجوگر داخل صفحه لیست مغازهها ====== */
/* ========================================= */

/* ======================================================== */
/* ===  طراحی جدید و مدرن برای فیلترهای جستجوی کسب‌وکار   === */
/* ======================================================== */

/* کانتینر اصلی فیلتر با ظاهری شناور و تمیز */
.business-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 25px; /* کمی فاصله بیشتر بین فیلترها */
    padding: 25px; /* کمی پدینگ داخلی بیشتر */
    margin-bottom: 40px; /* فاصله بیشتر از لیست کارت‌ها */
    background-color: #ffffff; /* پس‌زمینه سفید خالص */
    border-radius: 12px; /* گوشه‌های نرم‌تر و مدرن‌تر */
    border: none; /* حذف بوردر قبلی */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06); /* سایه بسیار نرم برای ایجاد عمق */
    transition: all 0.2s ease-in-out;
}

/* گروه هر فیلتر (لیبل + اینپوت) */
.filter-group {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

/* لیبل‌های بالای هر فیلد */
.filter-group label {
    font-weight: 600; /* کمی ضخیم‌تر برای خوانایی بهتر */
    margin-bottom: 10px;
    font-size: 14px;
    color: #4a5568; /* رنگ خاکستری-آبی حرفه‌ای و ملایم */
}

/* استایل مشترک برای فیلد متنی و لیست کشویی */
.filter-group input[type="text"],
.filter-group select {
    width: 100%;
    border: 1px solid #e2e8f0; /* بوردر بسیار ملایم */
    border-radius: 8px;
    font-size: 16px;
    color: #2d3748; /* رنگ متن تیره‌تر برای کنتراست */
    background-color: #f7fafc; /* پس‌زمینه خیلی روشن برای تشخیص فیلد */
    transition: all 0.2s ease-in-out; /* انیمیشن نرم برای تمام تغییرات */
    -webkit-appearance: none; /* حذف ظاهر پیش‌فرض در سافاری */
    -moz-appearance: none;
    appearance: none;
}

/* === افزودن آیکن‌های زیبا به داخل فیلدها === */

/* فیلد جستجوی نام با آیکن "ذره‌بین" در سمت راست */
#name-filter {
    /* آیکن ذره‌بین به صورت کد SVG (بدون نیاز به فایل عکس) */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='11' cy='11' r='8'%3e%3c/circle%3e%3cline x1='21' y1='21' x2='16.65' y2='16.65'%3e%3c/line%3e%3c/svg%3e");
    background-repeat: no-repeat;
    font-family: 'Estedad';
  
    background-position: right 15px center; /* موقعیت آیکن در راست */
    padding: 8px 45px 7px 5px; /* ایجاد فاصله در سمت راست برای آیکن */
}

/* لیست کشویی طبقات با آیکن "فلش پایین" در سمت چپ */
#floor-filter {
    /* آیکن فلش پایین */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    font-family: 'Estedad';
   
    background-position: left 15px center; /* موقعیت آیکن در چپ (مناسب select) */
    padding: 12px 15px 12px 45px; /* ایجاد فاصله در سمت چپ برای آیکن */
}


/* === حالت فوکوس (وقتی کاربر روی فیلد کلیک می‌کند) === */
.filter-group input[type="text"]:focus,
.filter-group select:focus {
    outline: none; /* حذف حاشیه پیش‌فرض مرورگر */
    background-color: #fff;
    border-color: #4299e1; /* تغییر رنگ بوردر به رنگ اصلی سایت شما */
    /* سایه آبی زیبا برای نشان دادن حالت انتخاب */
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

/* پیام "نتیجه‌ای یافت نشد" با ظاهری بهتر */
.no-results-message {
    text-align: center;
    font-size: 1.1rem;
    color: #718096; /* رنگ ملایم‌تر */
    padding: 40px 20px;
    background-color: #f7fafc;
    border: 1px dashed #e2e8f0;
    border-radius: 12px;
    margin-top: 20px;
}















/* ============================================= */
/* ==   Business کد css صفحه مغازه ها (Single View) == */
/* ============================================= */

/* Main Layout & Container */
.business-layout-v2 {
  
    padding-top:rem;
    padding-bottom:rem;
}

.business-container {
    max-width: 1200px;
    margin: 0 auto;
    pa1dding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 340px; /* Main content and sidebar */
    gap: 2rem;
    align-items: flex-start;
}

.business-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.business-sidebar .sidebar-sticky-content {
    position: sticky;
    top: 2rem; /* Adjust based on your header height */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* General Card Style */
.card {
    background-color: #ffffff;
    border-radius: 12px;
   
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-top: 4px solid transparent; /* For cards that have a colored top border */
}

/* Specific card titles from the image */
.card-title-v2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-right: 12px;
    border-right: 4px solid #007bff; /* The blue line next to the title */
}

/* Image Card with Overlay Title */
.business-image-card {
    position: relative;
    padding: 0;
    overflow: hidden; /* Ensures the image respects the border-radius */
    border: none;
}

.business-image-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.image-title-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 40px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
}

.image-title-overlay h1 {
    font-size: 2rem;
    margin: 0;
    color: #fff;
}

/* About Us / Description Section */
.business-description {
    line-height: 1.8;
    color: #555;
    text-align: justify;
    line-height: 2.5;
}

/* Sidebar Info List */
.sidebar-sticky-content .card:first-child {
    border-top-color: #ffc107; /* Yellow top border for the info card */
}

.info-list, .social-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.info-list li, .social-links-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #333;
}

.info-list li svg, .social-links-list li a svg {
    width: 24px;
    height: 24px;
    fill: #007bff; /* Blue icons */
    flex-shrink: 0;
}

.info-list li a, .social-links-list li a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.info-list li a:hover, .social-links-list li a:hover {
    color: #0056b3;
}

/* Copy Link Button */
.copy-link-wrapper-v2 {
    margin-top: 0; /* No extra margin since it's part of the grid gap */
}

.copy-link-button-v2 {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    border: 2px dashed #d0d0d0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}

.copy-link-button-v2:hover {
    border-color: #007bff;
    color: #007bff;
}

.copy-link-button-v2 svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Style for when the link is copied */
.copy-link-button-v2.copied {
    background-color: #28a745; /* Green background */
    color: #fff;
    border-color: #28a745;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 992px) {
    .business-container {
        grid-template-columns: 1fr; /* Stack main content and sidebar */
    }

    .business-sidebar .sidebar-sticky-content {
        position: static; /* Disable sticky behavior on mobile */
    }
}

.card-about {
    /* مثال: تغییر رنگ پس زمینه و حاشیه بالا */
    backg1round-color: #f0f8ff; /* AliceBlue */
    border-top-color: #007bff; /* Blue */
     padding: 24px;
}

/* استایل اختصاصی برای کارت "اطلاعات" */
.card-info {
    /* این همان استایلی است که قبلا داشتید، اما حالا به کلاس خودش منتقل شده */
    border-top-color: #ffc107; /* Yellow */
     padding: 24px;
}

/* استایل اختصاصی برای کارت "ما را دنبال کنید" */
.card-social {
    /* مثال: تغییر رنگ حاشیه بالا */
    border-top-color: #28a745; /* Green */
     padding: 24px;
}

/* 
   کارت تصویر از قبل کلاس اختصاصی business-image-card را داشت
   و نیازی به تغییر ندارد.
*/
.business-image-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    border: none;
}






















/* ============================================= */
/* ==  Business Card V3 Styles (from image)   == */
/* ============================================= */

:root {
    --card-v3-primary-color: #5846f9; /* The purple from the image */
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.business-card-v3 {
    background-color: #ffffff;
    border-radius: 18px; /* Generous rounded corners */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.business-card-v3:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.card-v3-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    fi11lter: blur(1px); /* Slight blur like in the image */
}

.card-v3-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Space between elements */
}

.card-v3-title {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0;
    margin-top: -10px; /* Pull the title up a bit */
}

.card-v3-info-pills {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    gap: 10px;
}

.info-pill {
    flex: 1; /* Makes pills in a row share space */
    background-color: #f1f3f5;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #495057;
}

.info-pill.full-width {
    flex-basis: 100%;
}

.info-pill svg {
    width: 20px;
    height: 20px;
    fill: var(--card-v3-primary-color);
    flex-shrink: 0;
}

.card-v3-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}

.btn-v3 {
    width: 100%;
    padding: 9px;
    font-size: 12px;
    font-weight: 200;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary-v3 {
    background-color: var(--card-v3-primary-color);
    color: white;
}
.btn-primary-v3:hover {
    background-color: #4a3ac9;
}

.btn-secondary-v3 {
    background-color: #f1f3f5;
    color: var(--card-v3-primary-color);
    border-color: #e9ecef;
     font-family: 'Estedad';
}

.btn-secondary-v3:hover {
    background-color: #e9ecef;
}
/* ============================================= */
/* ==      Ellipsis محدود کردن متن ادرس در باکس مغازه ها داخل mall Address Text     == */
/* ============================================= */

/* 
  این استایل فقط روی متن آدرس در کارت کسب‌وکار اعمال می‌شود
  چون والد آن کلاس .full-width را دارد.
*/
.info-pill.full-width span {
    /* (مهم) جلوی رفتن متن به خط بعدی را می‌گیرد */
    white-space: nowrap;
    
    /* (مهم) متنی که از کادر بیرون زده را پنهان می‌کند */
    overflow: hidden;
    
    /* (مهم) سه نقطه (...) را به جای متن پنهان شده نمایش می‌دهد */
    text-overflow: ellipsis;
    
    /* 
      این خط برای اطمینان از عملکرد صحیح در ساختارهای flexbox لازم است.
      به المان اجازه می‌دهد کوچک‌تر از محتوای داخلی خود شود.
    */
    min-width: 0;
}







/* ============================================= */
/* ==      Mall Card V2 Styles (Index Page)   == */
/* ============================================= */

:root {
    --mall-card-primary-color: #007bff; /* A nice blue color */
}

/* Make sure the grid layout is still in place */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap:rem;
    padding-top: 1rem;
}

.mall-card-v2 {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mall-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.mall-card-v2-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.mall-card-v2-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mall-card-v2-title {
    font-size: 14px;
    font-weight: 800;
    color: #212529;
    margin: 0;
    position: relative;
    padding-right: 15px; /* Space for the blue bar */
}

/* The vertical blue bar next to the title */
.mall-card-v2-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 5px;
    bottom: 5px;
    width: 5px;
    background-color: var(--mall-card-primary-color);
    border-radius: 3px;
}

.mall-card-v2-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 7px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #495057;
}

.info-item svg {
    width: 22px;
    height: 22px;
    fill: #6c757d;
    flex-shrink: 0;
}

/* Style for limiting address text */
.mall-address-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}


.mall-card-v2-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    mar1gin-top: auto; /* Pushes buttons to the bottom */
    pa1dding-top: 10px;
}

/* New general button style */
.btn-v4 {
    width: 100%;
    padding: 6px;
    font-size:12px;
    font-weight: 300;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary-v4 {
    background-color: var(--mall-card-primary-color);
    color: white;
}
.btn-primary-v4:hover {
    background-color: #0056b3;
}
.btn-primary-v4 svg {
    fill: white;
}

.btn-secondary-v4 {
    background-color: white;
    color: var(--mall-card-primary-color);
    border-color: var(--mall-card-primary-color);
}
.btn-secondary-v4:hover {
    background-color: #e7f1ff;
}











/* ======================================================= */
/* ===  استایل‌های ریسپانسیو و سفارشی برای بخش فیلترها === */
/* ======================================================= */

/* 
   این کد کل بخش فیلترها (جستجوی نام و انتخاب طبقه) را مدیریت می‌کند.
   این کد جایگزین کدهای قبلی مربوط به Select2 می‌شود.
*/


/* --- بخش ۱: چیدمان ریسپانسیو (Mobile First) --- */

/* نگهدارنده اصلی فیلترها */
.filter-controls {
    display: flex;
    flex-direction: column; /* پیش‌فرض موبایل: فیلترها زیر هم قرار می‌گیرند */
    gap: 1rem; /* ۱۶ پیکسل فاصله بین فیلترها وقتی زیر هم هستند */
    margin-bottom: 2rem; /* فاصله از لیست کسب‌وکارها */
}

/* هر گروه فیلتر (شامل لیبل و اینپوت) */
.filter-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.filter-group label {
    margin-bottom: 0.5rem; /* فاصله لیبل از اینپوت */
    font-size: 0.9rem;
    font-weight: 500;
    color: #343a40;
}

/* استایل‌دهی به اینپوت متنی برای هماهنگی کامل */
#name-filter {
    height: 44px;
    border-radius: 8px !important; 
    border: 1px solid #dee2e6;
    padding: 0 1rem;
    font-size: 1rem;
    background-color: #f8f9fa;
    padding-right: 40px;
}

/* افکت فوکوس برای اینپوت متنی */
#name-filter:focus {
    outline: none;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}


/* --- بخش ۲: استایل‌های سفارشی Select2 --- */

.filter-controls .select2-container--default .select2-selection--single {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    height: 44px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; /* افزودن انیمیشن نرم */
}

/* **بهبود:** افکت فوکوس برای Select2 تا دقیقاً مثل اینپوت شود */
.filter-controls .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

.filter-controls .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #495057;
    line-height: 42px;
    padding-right: 1rem !important;
    padding-left: 2rem !important;
}

.filter-controls .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
}

.filter-controls .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
    position: absolute;
    top: 1px;
    left: 10px;
    right: auto;
    width: 20px;
}

.select2-dropdown {
    background-color: #fff;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    z-index: 9999;
}

.select2-results__option {
    padding-right: 1rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0d6efd;
    color: white;
}


/* --- بخش ۳: Media Query برای دسکتاپ و تبلت --- */

@media (min-width: 768px) {
    .filter-controls {
        flex-direction: row; /* در دسکتاپ: فیلترها کنار هم قرار می‌گیرند */
        align-items: flex-end; /* تراز کردن آیتم‌ها از پایین (برای هماهنگی لیبل‌ها) */
    }

    .filter-group {
        flex: 1; /* هر دو فیلتر عرض مساوی و کل فضای موجود را اشغال کنند */
    }
}
/* ========================================= */
/* ===   رفع مشکل فلش (FOUC) برای Select2   === */
/* ========================================= */

/* 
  این کد تگ select اصلی را از همان ابتدا پنهان می‌کند
  تا زمانی که کتابخانه Select2 آن را با نسخه زیبای خود جایگزین کند.
*/
#floor-filter {
    opacity: 0;
    visibility: hidden;
}
.select2-container--open {
    z-index: 10000 !important;
}

.filter-group .select2-container {
    width: 100% !important; 
}
















/* ============================================== */
/* ===    استایل‌های بخش پروفایل بالای صفحه پاساژ   === */
/* ============================================== */

/* --- کانتینر اصلی --- */
.mall-profile-banner {
    display: flex;
    direction: rtl;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-in-out;
}
.mall-profile-banner:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* --- بخش اطلاعات متنی (راست) --- */
.mall-profile-banner .profile-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- بخش تصویر (چپ) --- */
.mall-profile-banner .profile-image {
    flex-basis: 35%;
    min-width: 320px;
}
.mall-profile-banner .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- استایل عنوان اصلی --- */
.profile-info h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0d47a1;
    margin: 0;
    text-align: center;
}

/* --- خط جداکننده زیر عنوان --- */
.profile-info .title-divider {
    width: 90px;
    height: 3px;
    background-color: #cda434;
    margin: 0.75rem auto 2rem;
    border: none;
    border-radius: 2px;
}

/* --- هر ردیف از اطلاعات (آدرس، طبقات) --- */
.profile-info .info-row {
    display: flex;
    jus1tify-content: space-between;  /* <<< غلط املایی اینجا تصحیح شد */
    align-items: center;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #f0f0f0;
}

/* آخرین ردیف اطلاعاتی خط زیرین نداشته باشد */
.profile-info .description-row,
.profile-info .info-row:last-of-type {
    border-bottom: none;
}

.profile-info .info-row p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    text-align: right;
}

.profile-info .info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    flex-shrink: 0;
    margin-right: 1rem;
}
.profile-info .info-label svg {
    color: #888;
}

/* --- بخش توضیحات --- */
.profile-info .description-row {
    margin-top: 1.5rem;
}
.profile-info .description-row h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 0.5rem;
}
.profile-info .description-row p {
    font-size: 0.9rem;
    line-height: 2.2;
    color: #666;
    margin: 0;
    text-align: justify;
}
.info-item1 span1 {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 7px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #495057;
}

/* ============================================== */
/* ===       ریسپانسیو برای موبایل (اصلاح شده)   === */
/* ============================================== */
@media (max-width: 820px) {
    .mall-profile-banner {
        flex-direction: column;
        transform: none;
    }
    .mall-profile-banner:hover {
        transform: none;
    }

    /* --- استایل تصویر در موبایل --- */
    .mall-profile-banner .profile-image {
        order: 1; /* اول نمایش داده شود */
        width: 100%;
        flex-basis: auto;
        height: 200px; /* <<< ارتفاع دلخواه شما برای موبایل */
    }
    
    /* --- استایل اطلاعات در موبایل --- */
    .mall-profile-banner .profile-info {
        order: 2; /* دوم نمایش داده شود */
        padding: 1.5rem;
    }

    .profile-info h1 {
        font-size: 18px;
    }
    
}














/* =============================================
   Styles for Staticcss قوانین (Rules, About, etc.)
   ============================================= */

/* Main container for pages like rules, about us, etc. */
.static-page-container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    margin: 30px auto;
    max-width: 900px;
    text-align: right;
    border: 1px solid #e9ecef;
}

.static-page-container h1 {
    font-size: 2rem;
    color: #343a40;
    margin-bottom: 10px;
}

/* Using the existing title-divider for consistency */
.static-page-container .title-divider {
    margin-bottom: 25px;
}

.static-page-container .intro-text {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.8;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-right: 4px solid #007bff;
}

.static-page-container h2 {
    font-size: 1.6rem;
    color: #343a40;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f3f5;
}

.static-page-container p {
    line-height: 1.9;
    color: #495057;
    font-size: 1rem;
}

/* Styling for the rules list to make it look professional */
.rules-list {
    list-style: none; /* Remove default browser bullets */
    padding-right: 0;
}

.rules-list li {
    padding-right: 35px; /* Make space for custom icon */
    position: relative;
    font-size: 1rem;
    color: #343a40;
    margin-bottom: 18px;
    line-height: 1.8;
}

/* Custom "bullet" کد باکس سوال امنیتی list item */
.rules-list li::before {
    content: '✔'; /* You can use other characters like '•' or an SVG icon */
    position: absolute;
    right: 0;
    top: 3px;
    color: #28a745; /* A pleasant green color */
    font-size: 1.2rem;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
    /* سایر استایل‌های موجود در این بخش دست نخورده باقی بماند */
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    font-family: 'Estedad';
}


.form-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 450px; /* عرض فرم */
    margin: 50px auto; /* وسط‌چین کردن فرم */
    padding: 30px;
    border-radius: 8px; /* گوشه‌های گرد */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* سایه نرم */
    border: 1px solid #e0e0e0;
}

.form-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}



/*
=================================================
   استایل‌های صفحه ویرایش کسب و کار و کارت‌های آمار
=================================================
*/

/* استایل کارت‌های خلاصه آمار */
.dashboard-summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.summary-card {
    background-color: #fff;
    padding:5px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 5px solid;
    text-align: right;
}

.summary-card .stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.summary-card .stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.summary-card.total { border-color: #0d6efd; }
.summary-card.pending { border-color: #ffc107; }
.summary-card.approved { border-color: #198754; }

/* استایل کانتینر فرم ویرایش */
.edit-business-form-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.edit-business-form-container h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

/* استایل‌های عمومی فیلدهای فرم */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-sizing: border-box; /* برای محاسبه صحیح عرض */
    font-size: 1rem;
   font-family: 'Estedad';
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input[type="text"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: #0b5ed7;
}

/* ریسپانسیو برای کارت‌ها */
@media (max-width: 768px) {
    .dashboard-summary-cards {
        grid-template-columns: 1fr; /* تک ستونه در موبایل */
    }
}


/* ================================== */
/* === استایل دکمه پرسش از ربات === */
/* ================================== */

.btn-v3.btn-info-v3 {
    background-color: #0dcaf0; /* رنگ آبی فیروزه‌ای (Info) */
    color: white;
    display: inline-flex; /* برای تراز کردن آیکون و متن */
    align-items: center;
    justify-content: center;
}

.btn-v3.btn-info-v3:hover {
    background-color: #0b9ead; /* رنگ تیره‌تر برای هاور */
}






/* ==================================================== */
/* === گرادینت متحرک و جذاب برای دکمه پرسش از ربات === */
/* ==================================================== */
.btn-v4.btn-info-v4 {
    color: white;
    border: none; /* اطمینان از نبودن بوردر */

    /* 
      یک گرادینت زیبا از آبی فیروزه‌ای به آبی روشن.
      برای اینکه انیمیشن حرکت به خوبی کار کند، گرادینت را تکرار کرده‌ایم.
    */
    background: linear-gradient(to right, #0dcaf0, #3498db, #0dcaf0);
    
    /* 
      مهم: اندازه پس‌زمینه را دو برابر عرض دکمه تعریف می‌کنیم
      تا فضایی برای حرکت گرادینت وجود داشته باشد.
    */
    background-size: 200% auto;
    
    /* انیمیشن نرم برای حرکت پس‌زمینه */
    transition: background-position 0.5s ease-out;
}

/* وقتی ماوس روی دکمه می‌رود، گرادینت حرکت می‌کند */
.btn-v4.btn-info-v4:hover {
    /* موقعیت پس‌زمینه را به انتهای آن منتقل می‌کنیم تا گرادینت حرکت کند */
    background-position: -100% center;
}








